'; // If we are on the frontpage, write out welcome message along with flags if ($catid==0 AND !$special_mode) { // echo "

$name_of_site

"; // echo formatString($welcome_message, array("$name_of_site")); // include "templates/flags_frontpage.html"; ?>

Les dernieres annonces                                annonce.jpg (18721 bytes)   Acces ici au Site Web de toutes les petites annonces

"; // Print out categories // include("catcol.php"); // This is the column containing special ads if (!empty($set_special) AND !isset($_REQUEST["catid"])) { print ""; include "special.php"; print ""; } // Print out ad-listings include("bjlinks.php"); // Counter (if activated from admin area) $frontpage=1; if (isset($set_count_dynamic)) { $str = ""; if (isset($validation)) { if ($validation<>"") $str = " where valid=1"; } $row = mysql_fetch_array(mysql_query("select count(ad_username) from $ads_tbl $str")); $upd_ads = $row["count(ad_username)"]; $row = mysql_fetch_array(mysql_query("select count(email) from $usr_tbl")); $upd_users = $row["count(email)"]; $row = mysql_fetch_array(mysql_query("select sum(sitehits) from $ads_tbl $str")); $upd_sitehits = $row["sum(sitehits)"]; if (!$upd_sitehits) $upd_sitehits = 0; $la_s_bar = formatString($la_s_bar, array("$upd_users","$upd_ads","$upd_sitehits")); $show_bar = 1; } print "\n"; print ""; ?>