?
Path : /home/admin/domains/happytokorea.com/public_html_bk/test3/hotel/ |
Current File : /home/admin/domains/happytokorea.com/public_html_bk/test3/hotel/wherebuy.php |
<?php session_start(); include ("config.php"); include ("category.php"); include ("toplink.php"); include("function.php"); @mysql_db_query($dbname,"update ".$fix."user set counter=(counter+1) where userid='1' "); $sql = "select * from ".$fix."where"; $result = @mysql_db_query($dbname,$sql); if(!@mysql_num_rows($result)) { $nofollow = true; themehead("The page cannot be found"); echo "<font color=red>"._LANG_36_3."</font>"; themefoot(); exit; } themehead(stripslashes($array[2])); echo "<table cellspacing=0 cellpadding=2 width=\"100%\"><tr><td valign=top align=center>"; echo "<IMG SRC=\"img/frame_wheretobuy.jpg\" WIDTH=\"640\" HEIGHT=\"167\" BORDER=\"0\">"; $queryshop = mysql_db_query($dbname,$sql); $number=1; echo "<div align=center class=main><table cellspacing=3 cellpadding=3 boder=\"1\" bodercolor=#000000 width=\"95%\">"; echo "<tr bgcolor=#FF80C0 align=center><td><b>#</b></td><td><b>Shop Name</b></td><td><b>Details</b></td></tr>"; while ($rowshop=mysql_fetch_array ($queryshop)) { echo "<tr align=center bgcolor=#F9F9F9><td>".$number."</td><td>".$rowshop[shopname]." </td><td><A HREF=\"wherebuyshow.php?buyid=$rowshop[ids]\">Details</A></td></tr>"; $number++; }//end while echo "</tr></table></div>"; echo "</td></tr></table>"; themefoot(); mysql_close($connection); ?>