?
Path : /home/admin/public_html/old/membershop/ |
Current File : /home/admin/public_html/old/membershop/showfit.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <HTML> <HEAD> <title>Happy Korea</title> <meta http-equiv=Content-Type content="text/html; charset=utf-8"> <!--<SCRIPT TYPE="text/javascript"> function popup(mylink, windowname) { if (! window.focus)return true; var href; if (typeof(mylink) == 'string') href=mylink; else href=mylink.href; window.open(href, windowname, 'width=584,height=300,scrollbars=no'); return false; } </SCRIPT>//--> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-7104061-2']); _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> <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> </HEAD> <BODY> <table style="width: 100%;" align="center" border="0" bordercolor="#CCCCCC" cellpadding="0" cellspacing="0"> <tbody> <tr> <td><div style=" border-bottom:solid 1px #666;"><span style="font-family: Verdana, Geneva, sans-serif; font-size: 18pt; font-weight: bold; color: #06f;">Special Offer</span><br /> <span style="font-family: Verdana, Geneva, sans-serif; font-size: 14pt; font-weight: bold; color: #666;">จองโชว์</span></div><br></td> </tr> </tbody> </table> <?php include ("functions.php"); $cookie_read = explode("|", base64_decode($user)); $userid = $cookie_read[0]; //$result = $db->sql_query("SELECT * FROM ".$prefix."_fit ORDER BY modifydate DESC"); $result = $db->sql_query("SELECT * FROM ".$prefix."_fit ORDER BY country ASC, show_no ASC"); //echo "SELECT * FROM ".$prefix."_fit ORDER BY modifydate DESC"; ?> <table border="0" cellspacing="0" cellpadding="0" bordercolor="#CCCCCC" align="center"> <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','682','height','199','title','F.I.T.','src','bannerfit','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','bannerfit' ); //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="682" height="199" title="F.I.T."> <param name="movie" value="bannerfit.swf"> <param name="quality" value="high"> <param name="wmode" value="transparent"> <embed src="bannerfit.swf" width="682" type="application/x-shockwave-flash" height="199" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent"></embed> </object></noscript></td></tr> </table> <?php echo " <table align=\"center\" border=\"0\" width=\"100%\" id=\"table1\" cellpadding=\"0\" bordercolor=\"#C0C0C0\">"; $countno = "#ffffff"; $buff_korea=0; $buff_thai=0; while ($row=mysql_fetch_array ($result)) { if($countno=="#ffffff") $countno = "#e0f4fb"; else $countno = "#ffffff"; if($row[banner]<>""){$picbanner=$row[banner];} else{$picbanner="images/happykorealogo.jpg";} if($row[country]=="Korea" && $buff_korea==0){$buff_korea=1;echo '<tr><td colspan=5 style="background-color:#0099FF;color:#FFF;height:30px;font-weight:bold;"> Korea</td></tr>';} if($row[country]=="Thai" && $buff_thai==0){$buff_thai=1;echo '<tr><td colspan=5 style="background-color:#0099FF;color:#FFF; height:30px;font-weight:bold;"> Thailand</td></tr>';} echo "<tr bgcolor=\"".$countno."\"> <td align=\"center\"><img src=\"$picbanner\" width=\"120\" height=\"60\" BORDER=\"0\" /></td> <td align=\"center\"><font size=2 color=#404040><b>$row[fitname]</b></font></td>"; if($row[mp3]==""){ echo '<td align=\"center\"><font size=2 color=#404040> </font></td>'; }else{ echo '<td align=\"center\" width=\"100%\" valign=\"middle\";><object id="monFlash" type="application/x-shockwave-flash" data="../mp3_player/mp3player.swf" width="85" height="90"><param name="wmode" value="transparent" /><param name="movie" value="../mp3_player/mp3player.swf" /><param name="FlashVars" value="mp3='.$row[mp3].'" /></object></td>'; } echo " <td align=\"center\"><b><font size=2 color=#404040>Special Price<br>$row[fitpromotion]</font></b></td> <td align=\"center\"><font size=2 color=#404040><a href=fitdetail.php?fitid=$row[fitid]><IMG SRC=\"images/next_icon.gif\" WIDTH=\"32\" HEIGHT=\"32\" BORDER=\"0\"></a></font></td> </tr>"; } echo "</table><br/><br/>"; ?> <div style="text-align:center"><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.happytokorea.com/membershop/showfit.php" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe></div> </BODY> </HTML>