?
Path : /home/admin/public_html/old/hotel/ |
Current File : /home/admin/public_html/old/hotel/wherebuyshow.php |
<?php session_start(); include ("config.php"); include ("category.php"); include ("toplink.php"); include("function.php"); $sql = "select * from ".$fix."where where ids='".$_GET["buyid"]."'"; $query = mysql_db_query($dbname,$sql); $array = mysql_fetch_array($query); themehead(stripslashes($array[1])); echo "<table cellspacing=0 cellpadding=2 width=\"90%\" align=center><tr><td valign=top align=center>"; echo "<IMG SRC=\"img/frame_wheretobuy.jpg\" WIDTH=\"640\" HEIGHT=\"167\" BORDER=\"0\">"; echo "</td></tr></table>"; echo "<table cellspacing=0 cellpadding=2 width=\"100%\"><tr><td valign=top>"; if($array[4]) { $imarray = explode("@",$array[4]); $imageall = 0; for($i=0; $i<count($imarray); $i++) { if($imarray[$i]) { $im_data[] = "<table bgcolor=\"$color3\" cellspacing=1 cellpadding=2 width=$thumbwidth height=$thumbwidth><tr><td align=center bgcolor=white>".showthumb_catalog("$folder/thumb_$imarray[$i]")."</td></tr></table>"; $imageall++; } } if($imageall==1) echo "<td valign=top align=center width=\"50%\">$im_data[0]<br></td>"; } echo "$imagealls"; echo "<td valign=top width=\"50%\">"; echo stripslashes($array[5]); echo "<br/><table cellspacing=0 cellpadding=4 width=\"100%\"> <tr><td><font color=\"#ef6799\"><b>Shop Name </font>".stripslashes($array[1])."</b><div class=\"hr\"><hr /></div></td></tr> <tr><td><font color=\"#ef6799\"><b>Address </b></font>".stripslashes($array[2])."<div class=\"hr\"><hr /></div></td></tr> <tr><td><font color=\"#ef6799\"><b>Tel </b></font>".stripslashes($array[3])."<div class=\"hr\"><hr /></div></td></tr> <tr><td align=right><input type=button value=\"Back\" onclick=history.back()> </td></tr>"; echo "</table>"; echo "</td></tr></table>"; themefoot(); mysql_close($connection); ?>