Mini-XML Home Page"); print("
"); html_start_table(array("Quick Info"), "100%", "100%"); html_start_row(); print(" | "
." "
."Stable Release: v2.1 Mini-XML is a small XML parsing library that you can use to " ."read XML and XML-like data files in your application without " ."requiring large non-standard libraries. Mini-XML only requires " ."an ANSI C compatible compiler (GCC works, as do most vendors' " ."ANSI C compilers) and a 'make' program. \n" ."Mini-XML provides the following functionality: \n" ."
| ");
html_end_row();
html_end_table();
$poll = get_recent_poll();
if ($poll > 0)
{
html_start_table(array("Current Poll [ "
."Show All ]"));
html_start_row();
print(""); show_poll($poll); print(" | "); html_end_row(); html_end_table(); } print("" ." | "
."Recent Articles [ Show All" ." ]\n"); $result = db_query("SELECT * FROM article WHERE is_published = 1 " ."ORDER BY modify_date DESC LIMIT 8"); $count = db_count($result); if ($count == 0) print("No articles found. \n"); else { while ($row = db_next($result)) { $id = $row['id']; $title = htmlspecialchars($row['title'], ENT_QUOTES); $abstract = htmlspecialchars($row['abstract'], ENT_QUOTES); $create_user = sanitize_email($row['create_user']); $date = date("H:i M d, Y", $row['modify_date']); $count = count_comments("articles.php_L$id"); if ($count == 1) $count .= " comment"; else $count .= " comments"; print("$title\n" ."$date by $create_user, $count |