?
Path : /home/admin/public_html/old/happyezystyle/ |
Current File : /home/admin/public_html/old/happyezystyle/show.php |
<? require_once "../happyezystyle/include/connectdb.php"; ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Hot Shows ในเกาหลี</title> <link rel="stylesheet" type="text/css" href="style.css"/> <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> </head> <body onLoad="MM_preloadImages('images/home_over_01.gif','images/menu_over02.gif','images/menu_over03.gif','images/menu_over04.gif')"> <table width="100" border="0" align="center" cellpadding="0" cellspacing="5"> <tr> <td width="982"><img src="images/banner_main.jpg" width="100%"></td> </tr> <tr> <td valign="top" align="center"> <table width="942" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td width="480"><a href="package.php"><img src="images/Banner_flash/3.jpg" width="461" height="171" border="0"></a></td> <td width="462"><a href="http://www.happytokorea.com/ข้อมูลเกาหลี/เที่ยวเกาหลี/4984-happy-melon-ตะลอนฟินที่เกาหลี"><img src="images/BannerMelonTicket.gif" width="462" height="170" border="0"></a></td> </tr> </tbody></table> </td> </tr> <tr> <td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="200"><table width="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td><a href="index.html"><img src="images/menu/menu_01.jpg" width="300" height="49" border="0" /></a></td> </tr> <tr> <td><a href="http://www.happytokorea.com/index.php/ข้อมูลเกาหลี/ข้อมูลเที่ยวเกาหลี"><img src="images/menu/menu_02.jpg" width="300" height="51" border="0" /></a></td> <tr> <td height="54"><a href="payment.html"><img src="images/menu/menu_04.jpg" width="300" height="54" border="0" /></a></td> </tr> <tr> <td height="54"><a href="contact_us.html"><img src="images/menu/menu_05.jpg" width="300" height="51" border="0" /></a></td> </tr> <td height="54"><a href="https://www.facebook.com/happy.ezystyle"><img src="images/menu/menu_06.jpg" width="300" height="56" border="0" /></a></td> </tr> <tr> <td><img src="images/menu/menu_07.jpg" width="300" height="48" /></td> </tr> </table></td> <td valign="top"><table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="100%"><h1 style="font-family: 'Arial Black', Gadget, sans-serif;">Hot Shows ในเกาหลี</h1></td> </tr> <tr> <td> <? $sql="SELECT * FROM shows ORDER BY id"; $fects=mysqli_query($connection,$sql) or die(mysqli_error($connection)); while($rowss=mysqli_fetch_array($fects)) { $id=$rowss['id']; $name=$rowss['name']; $image=$rowss['s_img']; $province=$rowss['province']; $price=$rowss['price']; $sprice=$rowss['sp_price']; ?> <a class="linkshow" href="showdetail.php?id=<? echo $id;?>"><div class="space"> <div style="width:200px;height:250px;float:left;overflow:hidden;border:1px solid #CCC;"> <img src="<? echo $image;?>" <? list($width, $height, $type, $attr) = getimagesize("$image"); if ($height-$width<50) echo "height='100%' style='margin-right:auto;'"; else echo "width='100%' style='margin-bottom:auto;'"; ?> alt="<? echo $name;?>"></div> <div style="margin:5px 5px 5px 5px;"> <p style="text-align:center;margin-top:5px; margin-bottom:5px;"><strong><? echo $name;?></strong><p> <span style="font-weight:bold;">สถานที่:</span> <? echo $province;?><br> <span style="font-weight:bold;">ราคา:</span> <? echo $price;?><br> <span style="font-weight:bold;">ราคาพิเศษ:</span> <? echo $sprice;?><br> </div> </div></a> <? } ?></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><img src="images/fit01_20.jpg" width="982" height="86" /></td> </tr> </table> </body> </html>