1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| <?
header("Content-Type: text/vnd.wap.wml");
echo '<'.'?xml version="1.0" encoding="iso-8859-1"?'.'>';
?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card" title="MENU_PJ">
<p>
<b><big>Les PAGES JAUNES du SENEGAL.</big></b><br/><br/></p>
<p><b>Le service de renseignements sur les professionnelles du SENEGAL et du MALI<br/></b>
Veuillez selectionner SVP le pays selon lequel vous souhaitez éffectuer votre recherche:<br/>
<?php
include("connexionbase.php") ;
$db = mysql_select_db("sms");
// select information from wap db
$query = "select id_annuaire, ref_annuaire from annuaire_annuaires ";
$result = @mysql_query($query);
//print "<b>Abonné wap:</b> <br/>";
// if information fitting the query is found,
// format and display it to the screen.
if (mysql_num_rows($result) > 0) {
while ($row = mysql_fetch_array($result)) {
if ($row['ref_annuaire']=='SENEGAL')
echo '<a href="pjsen.php?id='.$row['id_annuaire'].'">'.$row['ref_annuaire'].'</a><br />';
if ($row['ref_annuaire']=='MALI')
echo '<a href="pjmali.php?id='.$row['id_annuaire'].'">'.$row['ref_annuaire'].'</a><br />';
}
}
?>
<br/><a href="first.php">RETOUR</a>
</p>
</card>
</wml> |
Partager