?
Path : /home/admin/public_html/old/happyezystyle/ |
Current File : /home/admin/public_html/old/happyezystyle/head.php |
<? @session_start(); ob_start(); $usermem = $_SESSION["usermem"]; require_once "include/connectdb.php"; require_once "include/connect.php"; require_once "include/tdate.php"; if(empty($usermem)) { $showmember = " <table width=100% border=0 align=center cellpadding=1 cellspacing=1> <form method=post action=SignIn.php><tr> <td width=32% align=right>Username:</td> <td width=68%><input name=usermem type=text size=15></td> </tr> <tr> <td align=right>Password:</td> <td><input name=passmem type=password size=15></td> </tr> <tr> <td> </td> <td><input name=submit type=submit class=submit value=Login!></td> </tr> <tr> <td><a href=Member.php>Register</a></td> <td>! <a href=ForgetPass.php>Forgot Pass</a></td> </tr></form> </table> "; }else{ $sql="select * from member where usermem='$usermem'"; $db_query=mysql_db_query($db,$sql); $result=mysql_fetch_array($db_query); $idxx=$result[id]; $usename=$result[name]; $user_mem=$result[usermem]; $pass_mem=$result[passmem]; $showmember = " <div align=center><img src=images/user.gif width=25 height=15>ยินดีต้อนรับ :$usename <br>[ <a href=CheckMyOrder.php>ประวัติสั่งซื้อสินค้า</a> ] <br>[ <a href=ChangePass.php>เปลี่ยนรหัสผ่าน</a> ] <br>[ <a href=Profiles.php>ข้อมูลส่วนตัว</a> ] <br>[<a href=Logout.php>ออกจากระบบ</a>] </div> "; $myorder = "<a href=CheckMyOrder.php><img src=images/myorder.gif border=0><a>"; } $sqlcc="update counter set count = count+1 where id=1"; $db_query=mysql_db_query($db,$sqlcc); ?> <html> <head> <title><? echo "$headtxt_web"; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="css/instyle.css" rel="stylesheet" type="text/css"> <link href="css/style1.css" rel="stylesheet" type="text/css"> <link href="css/style.css" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> <script src="css/jquery-latest.pack.js" type="text/javascript"></script> <script src="css/jquery.lightbox.js" type="text/javascript"></script> <script src="Scripts/swfobject_modified.js" type="text/javascript"></script> <script> $(document).ready(function(){ $(".lightbox").lightbox(); }); </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32435362-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <LINK href="css/contentslider2.css" type=text/css rel=stylesheet> <!-- jQuery library --> <script type="text/javascript" src="lib/jquery-1.4.2.min.js"></script> <!-- jCarousel library --> <script type="text/javascript" src="lib/jquery.jcarousel.min.js"></script> <!-- jCarousel skin stylesheet --> <link rel="stylesheet" type="text/css" href="skins/tango/skin.css" /> <script type="text/javascript"> function mycarousel_initCallback(carousel) { // Disable autoscrolling if the user clicks the prev or next button. carousel.buttonNext.bind('click', function() { carousel.startAuto(0); }); carousel.buttonPrev.bind('click', function() { carousel.startAuto(0); }); // Pause autoscrolling if the user moves with the cursor over the clip. carousel.clip.hover(function() { carousel.stopAuto(); }, function() { carousel.startAuto(); }); }; jQuery(document).ready(function() { jQuery('#mycarousel').jcarousel({ auto: 2, wrap: 'last', initCallback: mycarousel_initCallback }); }); </script> <script language="JavaScript" type="text/JavaScript"> <!-- 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_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_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> <style> .jc{ position:relative; } </style> <script language="JavaScript1.2"> var ns6=document.getElementById&&!document.all var ie=document.all var customcollect=new Array() var i=0 function jiggleit(num){ if ((!document.all&&!document.getElementById)) return; customcollect[num].style.left=(parseInt(customcollect[num].style.left)==-1)? customcollect[num].style.left=1 : customcollect[num].style.left=-1 } function init(){ if (ie){ while (eval("document.all.jiggle"+i)!=null){ customcollect[i]= eval("document.all.jiggle"+i) i++ } } else if (ns6){ while (document.getElementById("jiggle"+i)!=null){ customcollect[i]= document.getElementById("jiggle"+i) i++ } } if (customcollect.length==1) setInterval("jiggleit(0)",80) else if (customcollect.length>1) for (y=0;y<customcollect.length;y++){ var tempvariable='setInterval("jiggleit('+y+')",'+'100)' eval(tempvariable) } } window.onload=init </script><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32435362-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <table width="981" border="0" align="center" cellpadding="0" cellspacing="0"> <!-- fwtable fwsrc="Untitled" fwbase="home.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" --> <tr> <td width="981"><img src="images/spacer.gif" width="315" height="1" border="0" alt=""></td> </tr> <tr> <td bgcolor="#EAECEB"><table width="981" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="981" height="19"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="982" height="261"> <param name="movie" value="flash/banner_flash.swf"> <param name="quality" value="high"> <param name="wmode" value="opaque"> <param name="swfversion" value="9.0.45.0"> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. --> <param name="expressinstall" value="Scripts/expressInstall.swf"> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="flash/banner_flash.swf" width="982" height="261"> <!--<![endif]--> <param name="quality" value="high"> <param name="wmode" value="opaque"> <param name="swfversion" value="9.0.45.0"> <param name="expressinstall" value="Scripts/expressInstall.swf"> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> <div> <h4>Content on this page requires a newer version of Adobe Flash Player.</h4> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p> </div> <!--[if !IE]>--> </object> <!--<![endif]--> </object></td> </tr> </table></td> </tr> <tr> <td><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> </tr> </table> <script type="text/javascript"> swfobject.registerObject("FlashID"); </script>