?
Path : /home/admin/domains/happytokorea.com/public_html_bk/promice/ |
Current File : /home/admin/domains/happytokorea.com/public_html_bk/promice/content.php |
<? include("header.php");?> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <td colspan="5" bgcolor="#FFFFFF"><div align="center"> <table width="967" border="0" cellpadding="0" cellspacing="0" bgcolor="#D3D2B4"> <tr valign="top"> <td width="967" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="98%" height="50" bgcolor="#0076FA"> <? $eid=$_GET[id]; $tb="products"; mysql_connect( $host,$user,$pw) or die ("µÔ´µè͡Ѻ°Ò¹¢éÍÁÙÅ Mysql äÁèä´é "); mysql_select_db($dbname) or die("àÅ×Í¡°Ò¹¢éÍÁÙÅäÁèä´é"); /* ·Ó¡ÒÃàÅ×Í¡°Ò¹¢éÍÁÙÅ¡è͹ */ $sql="Select * From $tb where id='$eid'"; $db_query=mysql_db_query($dbname,$sql); $num_rows=mysql_num_rows($db_query); /* ¹Ñº Reccord ·Õ辺 */ $a=0; while($a < $num_rows) { $result = mysql_fetch_array($db_query); $title=$result[productsname]; $images=$result[productsphoto]; $content=$result[productsdetail]; ?> <title><? echo "$title"; ?></title> </td> </tr> <tr> <td align="left" valign="top"><table width="1024" height="99" border="0" align="center" cellpadding="0" cellspacing="0" > <tr> <td width="4%" valign="top" class="bold1"><img src="images/corner1.jpg" /></td> <td width="92%" height="17" valign="top" class="bold1" background="images/topcorner.jpg" > </td> <td width="4%" valign="top" class="bold1"><img src="images/corner2.jpg" width="30" height="30" /></td> </tr> <tr> <td valign="top" class="bold1" background="images/leftcorner.jpg"> </td> <td height="17" valign="top" class="bold1"><span style="font-size: 14pt; color: #00ADEF; font-family: Verdana, Arial, Helvetica, sans-serif"> <?=$title;?> </span> </td> <td valign="top" class="bold1" background="images/rightcorner.jpg"> </td> </tr> <tr> <td valign="top" background="images/leftcorner.jpg"> </td> <td height="13" valign="top"><div align="center"> <img src='images/images_article/<?=$images;?>' width='500' /> </div></td> <td valign="top" background="images/rightcorner.jpg"> </td> </tr> <tr> <td valign="top" background="images/leftcorner.jpg"><div align="center"></div></td> <td height="13" valign="top"><div align="center"></div></td> <td valign="top" background="images/rightcorner.jpg"> </td> </tr> <tr> <td valign="top" background="images/leftcorner.jpg"> </td> <td height="13" valign="top"><?=$content;?> </td> <td valign="top" background="images/rightcorner.jpg"> </td> </tr> <tr> <td valign="top" background="images/leftcorner.jpg"> </td> <td height="13" valign="top"> </td> <td valign="top" background="images/rightcorner.jpg"> </td> </tr> <tr> <td valign="top"><span class="bold1"><img src="images/corner3.jpg" /></span></td> <td height="13" valign="top" background="images/bottoncorner.jpg"> </td> <td valign="top"><span class="bold1"><img src="images/corner4.jpg" /></span></td> </tr> </table> <? $a++; } mysql_close(); ?> </td> </tr> </table></td> </tr> </table> </div></td><? include("footer.php");?> </body> </html>