?
Path : /home/admin/public_html/old/happyezystyle/ |
Current File : /home/admin/public_html/old/happyezystyle/hotel.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Air_ticket</title> <style type="text/css"> <!-- body { background-color: #3DF3F6; } --> </style> <? include("header.php");?> <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script src="Scripts/swfobject_modified.js" type="text/javascript"></script> <link type="text/css" href="styles/bottom.css" rel="stylesheet" /> <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script> <script type="text/javascript" src="https://www.google.com/jsapi?key=AIzaSyByG2RZNWpxKyrywj1o_Os1MTWZHiqxUEU"></script> <script src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/src/googleearth-compiled.js" type="text/javascript"></script> s <script type="text/javascript" src=" https://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.js"></script> <script type="text/javascript" src="lib/jquery.jcarousel.min.js"></script> <script type="text/javascript" src="lib/jquery.pikachoose.js"></script> <script language="javascript"> $(document).ready( function (){ $("#pikame").PikaChoose({carousel:true}); }); </script> <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" /> <script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script> <script> $(function() { $( "#datepicker" ).datepicker(); }); </script> <script> $(function() { $( "#datepicker2" ).datepicker(); }); </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="0"> <tr> <td><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','982','height','261','src','images/banner_flash','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/banner_flash' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="982" height="261"> <param name="movie" value="images/banner_flash.swf" /> <param name="quality" value="high" /> <embed src="images/banner_flash.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="982" height="261"></embed> </object></noscript></td> </tr> <tr> <td valign="top"><table width="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td><img src="images/Banner_flash/banner_flash_04.jpg" width="489" height="189" border="0" /></td> <td><a href="airticket.html"><img src="images/Banner_flash/banner_flash_05.jpg" width="493" height="189" border="0" /></a></td> </tr> </table></td> </tr> <tr> <td bgcolor="#FFFFFF"><table width="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td><a href="index_fit.html"><img src="images/menu/menu_01.jpg" width="300" height="49" border="0" /></a></td> </tr> <tr> <td><img src="images/menu/menu_02.jpg" width="300" height="51" /></td> </tr> <tr> <td><img src="images/menu/menu_03.jpg" width="300" height="50" /></td> </tr> <tr> <td height="54"><img src="images/menu/menu_04.jpg" width="300" height="54" /></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> <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> </table></td> </tr> <tr> <td><img src="images/menu/menu_07.jpg" width="300" height="48" /></td> </tr> <tr> <td> </td> </tr> </table></td> <td valign="top"><table width="660" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="660" background="images/bgheadtab.jpg"><img src="images/headtab1.jpg" width="421" height="50" /></td> </tr> <tr> <td><p> <?php $sql_1="select * FROM product where id = '$_GET[id]'"; $db_query=mysql_db_query($db,$sql_1); $rows2=mysql_fetch_array($db_query); $idxxx =$rows2['id']; $p_name = $rows2['p_name']; $p_type =$rows2['p_type']; $pack_id =$rows2['pack_id']; $price =$rows2['price']; $expedia =$rows2['expedia']; $detail =$rows2['detail']; $show =$rows2['show']; $country =$rows2['country']; $sound =$rows2['sound']; $photo =$rows2['p_img']; $photo2 =$rows2['p_img2']; $photo3 =$rows2['p_img3']; $photo4 =$rows2['p_img4']; $photo5 =$rows2['p_img5']; $lat =$rows2['lat']; $lng =$rows2['lng']; ?> </p> <table width="660" height="28" border="0" bordercolor="#0066FF" align="center" cellpadding="0" cellspacing="0" > <tr> <td height="13" colspan="3" valign="top"><ul id="pikame" class="jcarousel-skin-pika"> <? if ($photo==""){ echo ""; }else echo "<li><img src='images/$photo' width='300' /><span></span></li>";?> <? if ($photo2==""){ echo ""; }else echo "<li><img src='images/$photo2' width='300'/><span></span></li>";?> <? if ($photo3==""){ echo ""; }else echo "<li><img src='images/$photo3' width='300'/><span></span></li>";?> <? if ($photo4==""){ echo ""; }else echo "<li><img src='images/$photo4' width='300'/><span></span></li>";?> <? if ($photo5==""){ echo ""; }else echo "<li><img src='images/$photo5' width='300'/><span></span></li>";?> </ul></td> </tr> <tr> <td height="13" colspan="3" valign="top"><div class="pikachoose"> </div></td> </tr> <tr> <td height="13" colspan="3" valign="top"></td> </tr> <tr> <td><div align="center" class="style4" style="font-size: 12px; font-weight: bold; color: #FF9900">ชือ</div></td> <td width="25%"><div align="right" class="style4 " style="font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif"> <div align="left"><strong><? echo "$p_name"; ?></strong></div> </div></td> <td width="62%" rowspan="6"><div id="map" style="width: 400px; height: 200px"> <script type="text/javascript"> var locations = [ ['<? echo $topic; ?>', <? echo $lat; ?>, <? echo $lng; ?>, 1] ]; var map = new google.maps.Map(document.getElementById('map'), { zoom: 13, center: new google.maps.LatLng(<? echo $lat; ?>, <? echo $lng; ?>), mapTypeId: google.maps.MapTypeId.ROADMAP }); var infowindow = new google.maps.InfoWindow(); var marker, i; for (i = 0; i < locations.length; i++) { marker = new google.maps.Marker({ position: new google.maps.LatLng(locations[i][1], locations[i][2]), map: map }); google.maps.event.addListener(marker, 'click', (function(marker, i) { return function() { infowindow.setContent(locations[i][0]); infowindow.open(map, marker); } }) (marker, i)); } </script> </div> </td> </tr> <tr> <td><div align="center" class="style4" style="font-size: 12px; font-weight: bold; color: #FF9900">ประเภท</div></td> <td><? $sql10="select * from type WHERE type_id=$p_type"; $result10=mysql_query($sql10); while($arr10 = mysql_fetch_array($result10)) { if ($arr10[type_id] != "0"){?> <?=$sty=$arr10[typename];?> <? if($arr10[type_id] == $pro){ echo ""; } ?> <? }} ?></td> </tr> <tr> <td><div align="center" class="style4" style="font-size: 12px; font-weight: bold; color: #FF9900">ราคา </div></td> <td><div align="right" class="style4 " style="font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif"> <div align="left"><strong><? echo "$price"; ?> </strong>บาท</div> </div></td> </tr> <tr> <td><div align="center" class="style4" style="font-size: 12px; font-weight: bold; color: #FF9900">เมือง</div></td> <td><div align="right" class="style4 " style="font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif"> <div align="left"><strong><? echo "$country"; ?></strong></div> </div></td> </tr> <tr> <td><div align="center" class="style4" style="font-size: 12px; font-weight: bold; color: #FF9900">รายละเอียด</div></td> <td><div id="morePhotosCnt"> <a id="photoMediaPreview_morePhotos" href="#photoPanel" class="trigger tooltip align-right" onclick="return false;"> ดูภาพถ่ายทั้งหมด </a> </div> </td> </tr> <tr> <td width="13%"> </td> <td align="left" valign="top"><div align="right" class="style4 " style="font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif"> <div align="left"><strong><? echo "$detail"; ?></strong></div> </div></td> </tr> <tr> <td colspan="3"> </td> </tr> </table></td> </tr> <tr> <td><form id="form1" name="form1" method="post" action="ContactSend.php"> <table width="562" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="2"><input name="idxxx" type="hidden" id="idxxx" value="<? echo "$idxxx";?>" /></td> </tr> <tr> <td colspan="2" background="images/menubg.gif"><div align="center" class="style4"><span style="font-size: 12pt"><span style="font-size: 12px"><span style="font-size: 12px"></span></span></span></div></td> </tr> <tr> <td colspan="2" class="style21"><div align="center" style="font-size: 10pt">จองโรงแรม หรือบริการของเราได้ง่ายๆ โดยกรอกฟอร์มด้านล่างนี้ </div></td> </tr> <tr> <td width="159" class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">ติดต่อ เรื่อง </div> </div></td> <td width="403"><span style="font-size: 12px"> <select name="contact_reason"> <option value="จอง">จอง</option> <option value="ขอข้อมูล">ขอข้อมูล</option> <option value="จองและขอข้อมูล">จองและขอข้อมูล</option> <option value="อื่นๆ">อื่นๆ</option> </select> </span></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">คำนำหน้า</div> </div></td> <td><span style="font-size: 12px"> <select name="contact_title"> <option value="">กรุณาเลือก</option> <option value="นาย">นาย</option> <option value="นาง">นาง</option> <option value="นางสาว">นางสาว</option> </select> </span></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">ชื่อ นามสกุล </div> </div></td> <td><span style="font-size: 12px"> <input type="text" name="name" maxlength="40" id="name" value=""> </span></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">โทรศัพท์</div> </div></td> <td> <span style="font-size: 12px"> <input type="text" name="phone" maxlength="40" id="phone" value=""> </span></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">Email</div> </div></td> <td> <span style="font-size: 12px"> <input type="text" name="email" maxlength="40" id="email" value=""> </span></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">วันที่เข้าพัก</div> </div></td> <td><input name="date_arr" type="text" id="datepicker" /></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">วันที่ออก</div> </div></td> <td><input name="date_send" type="text" id="datepicker2" /></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">ประเภทห้อง</div> </div></td> <td><span style="font-size: 12px"> <select name="room_type" id="room_type"> <option value="เดี่ยว">ห้องเดี่ยว</option> <option value="สวีท">ห้องสวีท</option> <option value="ห้องคู่">ห้องคู่</option> </select> </span></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">จำนวนห้อง</div> </div></td> <td><input name="room" type="text" id="datepicker3" /></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">จำนวนเด็ก (อายุต่ำกว่า12)</div> </div></td> <td><span style="font-size: 12px"> <select name="children" id="children"> <option value="0" selected="selected">ไม่มี</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> </select> </span></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">จำนวนผู้ใหญ่</div> </div></td> <td><span style="font-size: 12px"> <select name="adult" id="adult"> <option value="0" selected="selected">ไม่มี</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> </select> </span></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">เมือง</div> </div></td> <td><input name="city" type="text" id="datepicker4" /></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">ประเทศ</div> </div></td> <td><input name="country" type="text" id="datepicker5" /></td> </tr> <tr> <td class="style21"><div align="right" style="font-size: 12px; color: #FF9900; font-weight: bold"> <div align="center">รายละเอียด</div> </div></td> <td><span style="font-size: 12px"> <textarea name="detail" cols="50" rows="4" id="detail"></textarea> </span></td> </tr> <tr> <td> </td> <td> <div class="buttons"> <input class="btnbluesmall" id="btnbluesmall" type="submit" name="submit" value="Send"> <span class="tablesorter"> <input name="hdnuid" type="hidden" id="hdnuid" value="<? echo $idagent;?>" /><input name="p_id" type="hidden" id="p_id" value="<? echo $_GET[PrdID];?>" /> </span></td> </tr> <tr> <td><div align="right"></div></td> <td> </td> </tr> <tr> <td><div align="right"></div></td> <td> </td> </tr> </table> </form> </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>