by

otherwise IE takes the default font instead of the required one (Thanks Michel) cleanup in the images organization v2.3 (27 July 2003) : added direct jump to pages (by Nicolas Alves and Laurent Duveau) upgraded WriteMailTo() function for better SPAM protection (thanks Michel) v2.4 (24 September 2003) : added section icon in central boxes added ReadDoc() function added GetCurrentDateTime() and FormatDate() function to ease various date and time formatings reviewed all Files Read & Write functions secured transfered parameters created $typ_[name] variables v4.0 (06 December 2004) : added page title (by Jean-Mi) added alt tags to img and removed border tag for non-linked img, replaced & by & for better compliance to standards (by Isa) added new appearance (by Icare) added new navigation and optionnal quick admin (by Nicolas Alves) */ header("Pragma: no-cache"); $chemin = ""; include("inc/includes.inc"); if ($serviz[12] != "on") { exit($web143); } $pg = strip_tags($pg); $id = strip_tags($id); if (!empty($pg)) { if (count(SelectDBFields($typ_guestbk,"a",$pg)) != 0) { $dbwork = SelectDBFields($typ_guestbk,"a",$pg); } else { $dbwork = array(); } } else { $dbwork = SelectDBFields($typ_guestbk,"a",""); } @rsort($dbwork); if ($lng == $lang[0]) { $i = 0; } else { $i = 10; } $topmess = $nom[$i+9]; if ($page[9] != "") { $topmess = "\"guestbook.gif\"".$topmess; } include("inc/hpage.inc"); htable($topmess, "100%"); echo "

"; if ($members[0]=="on" && $userprefs[1]=="" && $members[12]=="on") { echo "

".$web342."


"; echo "

[ ".$web343." ]


"; } else { ?>


".$author.""; } echo " ".$web7." ".FormatDate($creadate); if ($fieldb1 != "") { echo "
\"  ".$fieldb1.""; } ?>

<? echo $web308; ?> <? echo $web333; ?> <? echo $web324; ?>

"; } } } if (count($dbwork)>$serviz[7]) { $nbrceil=(ceil(count($dbwork)/ $serviz[7])); ?>
1) { if ($nbrceil >= 3) { ?> "; $nbrpages = 1; $debpg = floor($id/10)*10; $finpg = ceil($id/10)*10; if($debpg==$finpg) { $debpg=($finpg-10); } if($id >$debpg && $id <= $finpg) { $debdeca = $debpg; $findeca = $finpg; if ($nbrceil >= $findeca) { $paq = 10; } else { $paq = $nbrceil-$debdeca; } } if($id >= 11 && $debdeca < $nbrceil) { if(($nbrceil-10+$findeca)>10) { $restpgdeb=10; } else { $restpgdeb=($nbrceil-10+$findeca); } if($restpgdeb > 1) { $txtrestpgdeb = $web340; } else { $txtrestpgdeb = $web341; } ?> <? echo $restpgdeb." title="" border="0"> [ $id) { ?> ] 10) { $restpgfin=10; } else { $restpgfin=($nbrceil-10-$debdeca); } if($restpgfin>1) { $txtrestpgfin = $web337; } else { $txtrestpgfin = $web336; } ?> <? echo $restpgfin." title="" border="0">"; if ($id < $nbrceil) { ?> = 3) { ?>
<? echo $web339; ?> <? echo $web32; ?> <? echo $web34; ?> <? echo $web338; ?>