?
Path : /home/admin/public_html/old/membershop/ |
Current File : /home/admin/public_html/old/membershop/showfit.php_bak |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <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> <? 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"); //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"> <embed src="bannerfit.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="682" height="199"></embed> </object></noscript></td></tr> </table> <? echo " <table align=\"center\" border=\"0\" width=\"670\" id=\"table1\" cellpadding=\"0\" bordercolor=\"#C0C0C0\"> <tr> <td align=\"center\"><IMG SRC=\"images/headshop_02.gif\" BORDER=\"0\"></td> <td align=\"center\"><IMG SRC=\"images/headshop_03.gif\" BORDER=\"0\"></td> <td align=\"center\"><IMG SRC=\"images/headshop_04.gif\" BORDER=\"0\"></td> <td align=\"center\"><IMG SRC=\"images/headshop_05.gif\" BORDER=\"0\"></td> <td align=\"center\"><IMG SRC=\"images/headshop_06.gif\" BORDER=\"0\"></td> </tr>"; $countno = "#ffffff"; 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";} echo "<tr bgcolor=\"".$countno."\"> <td align=\"center\"><a href=fitdetail.php?fitid=$row[fitid]><img src=\"$picbanner\" width=\"120\" height=\"60\" BORDER=\"0\" /></a></td> <td align=\"center\"><font size=2 color=#404040><b>$row[fitname]</b></font></td> <td align=\"center\"><font size=2 color=#404040>$row[fitwebsite]</font></td> <td align=\"center\"><b><font size=2 color=#404040>$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/>"; ?> </BODY> </HTML>