CMS AMETYS

Bienvenue dans l'interface d'accès aux sites du CMS AMETYS.



"; $con = mysql_connect("localhost", "root", "B@ka042"); if (!$con) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db("cmsinfo", $con); $sql = "SELECT * FROM site WHERE prod < 99 order by prod, title"; $result = mysql_query($sql,$con); $count = 0; while ($row = mysql_fetch_assoc($result)) { extract($row); echo "

"; echo "$title [$code]
"; echo ""; echo "$title1
"; echo "$title2
"; // echo "$lastlog
"; echo "
"; echo "

"; $count++; } echo ""; echo "
total : $count sites
"; ?>