?
Path : /home/admin/domains/happytokorea.com/public_html_bk/promice/ |
Current File : /home/admin/domains/happytokorea.com/public_html_bk/promice/content3.php |
<? include("header.php");?> <div align="center"> <table width="1017" border="0" align="center" cellpadding="0" cellspacing="0"> <!-- fwtable fwsrc="Untitled" fwbase="home.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" --> <tr> <td width="423"><img src="images/spacer.gif" width="423" height="1" border="0" alt=""></td> <td width="16"><img src="images/spacer.gif" width="16" height="1" border="0" alt=""></td> <td width="225"><img src="images/spacer.gif" width="225" height="1" border="0" alt=""></td> <td width="315"><img src="images/spacer.gif" width="315" height="1" border="0" alt=""></td> <td width="21"><img src="images/spacer.gif" width="21" height="1" border="0" alt=""></td> <td width="17"><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td> </tr> <tr> <td colspan="5" bgcolor="#FFFFFF"><div align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="269"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td><div align="center"> <? echo "$showmember"; ?></div></td> </tr> <tr> <td><img src="images/index_09.jpg" width="241" height="49" alt=""></td> </tr> </table></td> <td width="731"><table width="771" height="451" border="0" align="center" cellpadding="0" cellspacing="0" class="content_txt"> <tr> <td width="771" height="29" valign="top"><img src="images/tab1.gif" width="776" height="33" /></td> </tr> <tr> <td height="173" valign="top"><br> <br> <? $eid=$_GET[id]; $tb="article"; 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); $date=$result[date]; $title=$result[subject]; $images=$result[images]; $content=$result[detail]; ?> <table width="89%" height="56" border="0" align="center" cellpadding="0" cellspacing="0" > <tr> <td height="17" valign="top" class="bold1"><?=$title;?> </td> </tr> <tr> <td height="13" valign="top"><?=$date;?> </td> </tr> <tr> <td height="13" valign="top"><img src='images/images_article/<?=$result[images];?>' width="300" /></td> </tr> <tr> <td height="13" valign="top"><?=$content;?></td> </tr> </table> <? $a++; } mysql_close(); ?></td> </tr> </table></td> </tr> </table> </div></td> <td><img src="images/spacer.gif" width="1" height="25" border="0" alt=""></td> </tr> </table></div><? include("footer.php");?> </body> </html>