?
Path : /home/admin/public_html/old/membershop/ |
Current File : /home/admin/public_html/old/membershop/showmembershop.php |
<!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."_shop ORDER BY modifydate DESC"); ?> <table border="0" cellspacing="0" cellpadding="0" bordercolor="#CCCCCC" align="center"> <tr><td rowspan="2"><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','515','height','198','title','Membershop Promotion','src','bannermembershop','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','bannermembershop' ); //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="515" height="198" title="Membershop Promotion"> <param name="movie" value="bannermembershop.swf"> <param name="quality" value="high"> <embed src="bannermembershop.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="515" height="198"></embed> </object></noscript></td><td><A HREF="http://www.happytokorea.com/membershop/coupon.html" target="_blank"><img src="images/headermembercoupon.jpg" alt="coupon" border="0" ></A></td></tr> <tr><td><a href="http://www.happytokorea.com/index.php?option=com_kunena&Itemid=69&func=showcat&catid=10" target="_blank"><img src="images/headermemberreview.jpg" alt="review" border="0"></a></td></tr> </table> <br/> <table border="1" width="677" id="table1" height="263" cellspacing="0" cellpadding="0" bordercolor="#CCCCCC" align="center"> <tr height="159"> <td valign="top" width="167" align="center"><a href="showdetail.php?shopid=22" style="text-decoration:none"> <img border="0" src="list_member/park.jpg" width="167" height="159"></a></td> <td valign="top" width="160" align="center"><a href="showdetail.php?shopid=18" style="text-decoration:none"> <img border="0" src="list_member/myeongga.jpg" width="160" height="159"></a></td> <td valign="top" width="162" align="center"><a href="showdetail.php?shopid=19" style="text-decoration:none"> <img border="0" src="list_member/drum.jpg" width="162" height="159"></a></td> <td valign="top" width="167" align="center"><a href="showdetail.php?shopid=4" style="text-decoration:none"> <img border="0" src="list_member/jobang.jpg" width="167" height="159"></a></td> </tr> <tr> <td height="19" valign="top" bgcolor="#D9E6E6" width="167" align="center"> <p style="margin: 2px"><b><font face="Tahoma" size="2"><a href="showdetail.php?shopid=22" style="text-decoration:none;color:#000000">Park & Bomb Hair Shop</a></font></b></td> <td height="19" valign="top" bgcolor="#D9E6E6" width="167" align="center"> <p style="margin: 2px"><b><font face="Tahoma" size="2"><a href="showdetail.php?shopid=18" style="text-decoration:none;color:#000000">MyeongGa Restaurant</a></font></b></td> <td height="19" valign="top" bgcolor="#D9E6E6" width="167" align="center"> <p style="margin: 2px"><b><font face="Tahoma" size="2"><a href="showdetail.php?shopid=19" style="text-decoration:none;color:#000000">Drum B.B.Q Restaurant</a></font></b></td> <td height="19" valign="top" bgcolor="#D9E6E6" width="167" align="center"> <p style="margin: 2px"><b><font face="Tahoma" size="2"><a href="showdetail.php?shopid=4" style="text-decoration:none;color:#000000">JoBangNak JI Restaurant </a></font></b></td> </tr> <tr> <td height="64" valign="top" width="167" align="center"> <p style="margin: 2px"><font face="Tahoma"><font size="2">박엔범 헤어샵</font><b> </b></font><font size="2" face="Tahoma"><br> รับส่วนลดทันที 5%<b><br> Tel: 02-7269114-5</b></font></td> <td height="64" valign="top" width="167" align="center"> <p style="margin: 2px"><font size="2" face="Tahoma">명가식당<br> ส่วนลดค่าอาหาร 5%<b><br> Tel: 02-229-4658</b></font></td> <td height="64" valign="top" width="167" align="center"> <p style="margin: 2px"><font face="Tahoma" size="2">드럼통 바베큐<br> ส่วนลดค่าอาหาร 5%<b><br> Tel: 02-275-4551</b></font></td> <td height="64" valign="top" width="167" align="center"> <p style="margin: 2px"><font face="Tahoma" size="2">조방낙지 식당<br> ส่วนลดค่าอาหาร 10%<b><br> Tel: 02-653-3936</b></font></td> </tr> </table> <br/> <? 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=showdetail.php?shopid=$row[shopid]><img src=\"$picbanner\" width=\"120\" height=\"60\" BORDER=\"0\" /></a></td> <td align=\"center\"><font size=2 color=#404040><b>$row[shopname]</b></font></td> <td align=\"center\"><font size=2 color=#404040>$row[mainmenu]</font></td> <td align=\"center\"><b><font size=2 color=#404040>$row[promotion]</font></b></td> <td align=\"center\"><font size=2 color=#404040><a href=showdetail.php?shopid=$row[shopid]><IMG SRC=\"images/next_icon.gif\" WIDTH=\"32\" HEIGHT=\"32\" BORDER=\"0\"></a></font></td> </tr>"; } echo "</table><br/><br/>"; ?> </BODY> </HTML>