?
Path : /home/admin/public_html/old/promice/ |
Current File : /home/admin/public_html/old/promice/index_kr.php |
<? include("header_kr.php");?> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript" src="coin-slider.js"></script> <link rel="stylesheet" href="coin-slider-styles.css" type="text/css" /> <style type="text/css"> <!-- .style1 { color: #FFFFFF; font-weight: bold; } --> </style> <td colspan="5" bgcolor="#FFFFFF"><div align="center"> <table width="1078" border="0" cellpadding="0" cellspacing="0" bgcolor="#D3D2B4"> <tr valign="top"> <td width="250" bgcolor="#FFFFFF"><? include("menu_2.php");?></td> <td width="827" bgcolor="#FFFFFF"><table width="794" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="2"></td> </tr> <tr> <td valign="top" align="center"><img src="space.jpg" width="58" height="5" /></td> <td valign="top"><img src="space.jpg" width="58" height="5" /></td> </tr> <tr> <td width="70%" valign="top" align="center"><div id="games"><? $pages = $_GET['pages']; $select_types="select * from article_kr order by id desc limit 1,4"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b>ยังไม่มีการเพิ่มข้อมูลค่ะ</b></center>"; }else{ $selects="select * from article_kr order by id desc limit 1"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * From flash_banner_index_kr order by id asc "; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $TitleImg = $rowss['TitleImg']; $PathImg = $rowss['PathImg']; $UrlLink = $rowss['UrlLink']; $detail = mb_substr($rowss[detail],0,150,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> <a href="<? echo "$UrlLink"; ?>" target="_blank"> <br /> <img src="images/images_flash_banner_index/<? echo "$PathImg"; ?>" width="565" height="290" border="0" /> <span> <b><? echo "$TitleImg"; ?></b><br /> <? echo "$detail"; ?> </span> </a> <? } } ?></div> <script> $('#games').coinslider(); </script> <table width="570" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="18" background="images/bgslide.jpg"><img src="images/bgleftslider.jpg" width="18" height="47" /></td> <td width="564" height="45" background="images/bgslide.jpg"><marquee behavior="scroll" direction="left"> <a href="magazine/index.html"> <? $pages = $_GET['pages']; $select_types="select * from article_kr order by id desc limit 6"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b>ยังไม่มีการเพิ่มข้อมูลค่ะ</b></center>"; }else{ $selects="select * from article_kr order by id desc limit 6"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * From article_kr order by id desc limit 6"; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $productsNameShow= mb_substr($rowss[subject],0,20,'UTF-8'); $imagespicture = $rowss['images']; $dates = $rowss['date']; $content = mb_substr($rowss[detail],0,100,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> </a><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=contentkr.php?id=$idxs>$productsNameShow</a>"; ?></span> <? } } ?> </marquee></td> <td width="17" background="images/bgslide.jpg"><img src="images/bgrightslider.jpg" width="18" height="47" /></td> </tr> </table></td> <td width="30%" rowspan="2" valign="top"><a href="http://www.happytokorea.com"></a> <table width="200" border="0" cellpadding="5" cellspacing="0" bordercolor="#C0C0C0"> <tr> <td><a href="http://www.happytokorea.com"> <iframe width="210" height="150" src="//www.youtube.com/embed/LJD7Gu3ivdM" frameborder="0" allowfullscreen="allowfullscreen"></iframe> </a></td> </tr> <tr> <td><a href="http://happythai.co.kr/" target="_blank"><img src="output_qNDhxq.gif" width="208" height="83" border="0" /></a></td> </tr> <tr> <td><div align="center"><a href="http://blog.naver.com/prologue/PrologueList.nhn?blogId=leekiza"></a><a href="http://www.coway.co.th" target="_blank"><img src="banner/Coway-Banner.gif" width="210" height="80" border="0" /></a></div></td> </tr> </table> <div align="center"><br /> </div> <div align="center"><br /> </div> <div align="left"> <table width="198" border="0" cellpadding="0" cellspacing="0" bordercolor="#C0C0C0"> <tr> <td width="198"><div align="center"> <table width="24" border="0" cellpadding="3" cellspacing="0" bordercolor="#C0C0C0"> <tr> <td><a href="http://a380.koreanair.com/" target="_blank"><img src="banner/output_WaEmNP.gif" width="154" height="64" border="0" /></a></td> </tr> <tr> <td><a href="http://www.twayair.com/" target="_blank"><img src="banner/output_4Lu0TS.gif" width="154" height="64" border="0" /></a></td> </tr> <tr> <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="154" height="64"> <param name="movie" value="banner/tomntom.swf" /> <param name="quality" value="high" /> <embed src="banner/tomntom.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="154" height="64"></embed> </object></td> </tr> <tr> <td height="66"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="154" height="64"> <param name="movie" value="banner/theFaceshop1.swf" /> <param name="quality" value="high" /> <embed src="banner/theFaceshop1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="154" height="64"></embed> </object></td> </tr> </table> </div></td> </tr> <tr> <td><div align="center"> <table width="90" height="138" border="0" cellpadding="2" cellspacing="0" bordercolor="#C0C0C0" id="AutoNumber1" style="BORDER-COLLAPSE: collapse"> <tr> <td height="46" valign="top"><img src="banner/Korean Res 1.png" width="90" height="46" /></td> </tr> <tr> <td height="46" valign="top"><a href="http://www.thebridgesmagazine.com/contentkr.php?id=401"><img src="banner/Korea Res 2.png" width="90" height="46" border="0" /></a></td> </tr> <tr> <td height="46" valign="top"><a href="http://www.dakgalbithailand.com/"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="90" height="37"> <param name="movie" value="banner/dakgalbi.swf" /> <param name="quality" value="high" /> <embed src="banner/dakgalbi.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="90" height="37"></embed></a> </object></td> </tr> </table> </div></td> </tr> </table> </div></td> </tr> <tr> <td><div align="center"> <table width="559" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="180" align="center" valign="top"><table width="180" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="20" align="center" valign="top" bgcolor="#F7941D"><div style="font-size: 12pt; color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif"><strong>News</strong></div></td> </tr> <tr> <td width="180" height="150" align="center" valign="top" bgcolor="#FFFFFF"><? $pages = $_GET['pages']; $select_types="select * from article_kr where article_category_id >= 32 AND article_category_id <= 42 order by id desc limit 1"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b>ยังไม่มีการเพิ่มข้อมูลค่ะ</b></center>"; }else{ $selects="select * from article_kr where article_category_id >= 32 AND article_category_id <= 42 order by id desc limit 1"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * from article_kr where article_category_id >= 32 AND article_category_id <= 42 order by id desc limit 1"; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $productsNameShow= mb_substr($rowss[subject],0,20,'UTF-8'); $imagespicture = $rowss['images']; $dates = $rowss['date']; $content = mb_substr($rowss[detail],0,100,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> <table width="180" border="0" cellspacing="1" cellpadding="1" > <tr> <td height="50" align="center" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"> <? if ($imagespicture==""){ echo " <img src='images/images_article/no_pic.jpg' WIDTH=150 HEIGHT=150 BORDER=0>"; }else { echo "<a href=contentkr.php?id=$idxs class=lightbox rel=flowers><img src='images/images_article/$imagespicture' WIDTH=188 HEIGHT=150 BORDER=0></a>" ; } ?> </span></td> </tr> <tr> <td height="50" align="center" valign="top"><div align="left"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=contentkr.php?id=$idxs>$productsNameShow</a>"; ?> </span><br /> <br /> </div></td> </tr> <tr> <td height="13" align="center" valign="top"><div align="right"><a href="contentkr.php?id=<? echo $idxs;?>"><img src="more.jpg" width="47" height="11" border="0" /></a></div></td> </tr> <tr> <td height="7"><div align="center" style="font-size: 8pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><img src="images/line.gif" width="170" height="5" /></div></td> </tr> </table> <? } } ?></td> </tr> </table></td> <td width="198" align="center" valign="top"><table width="180" border="0" cellpadding="0" cellspacing="0" > <tr> <td height="19" align="center" valign="top" bgcolor="#F7941D"><div style="font-size: 12pt; color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif"><strong>Entertain</strong></div></td> </tr> <tr> <td width="334" height="150" align="center" valign="top"><? $pages = $_GET['pages']; $select_types="select * from article_kr where article_category_id = 23 OR article_category_id = 24 OR article_category_id = 25 OR article_category_id = 11 order by id desc limit 1"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b></b></center>"; }else{ $selects="select * from article_kr where article_category_id = 23 OR article_category_id = 24 OR article_category_id = 25 OR article_category_id = 11 order by id desc limit 1"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * from article_kr where article_category_id = 23 OR article_category_id = 24 OR article_category_id = 25 OR article_category_id = 11 order by id desc limit 1"; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $productsNameShow= mb_substr($rowss[subject],0,20,'UTF-8'); $imagespicture = $rowss['images']; $dates = $rowss['date']; $content = mb_substr($rowss[detail],0,100,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> <table width="180" border="0" cellspacing="1" cellpadding="1" > <tr> <td height="50" align="center" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"> <? if ($imagespicture==""){ echo " <img src='images/images_article/no_pic.jpg' WIDTH=150 HEIGHT=150 BORDER=0>"; }else { echo "<a href=contentkr.php?id=$idxs class=lightbox rel=flowers><img src='images/images_article/$imagespicture' WIDTH=188 HEIGHT=150 BORDER=0></a>" ; } ?> </span></td> </tr> <tr> <td height="50" align="center" valign="top"><div align="left"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=contentkr.php?id=$idxs>$productsNameShow</a>"; ?> </span><br /> <br /> </div></td> </tr> <tr> <td height="13" align="center" valign="top"><div align="right"><a href="contentkr.php?id=<? echo $idxs;?>"><img src="more.jpg" width="47" height="11" border="0" /></a></div></td> </tr> <tr> <td height="7"><div align="center" style="font-size: 8pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><img src="images/line.gif" width="170" height="5" /></div></td> </tr> </table> <? } } ?></td> </tr> </table></td> <td width="181" align="center" valign="top"><table width="180" border="0" cellspacing="0" cellpadding="0" > <tr> <td width="180" align="center" bgcolor="#F7941D"><div style="font-size: 12pt; color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif"><strong>Culture</strong></div></td> </tr> <tr> <td height="150" align="center" valign="top"><? $pages = $_GET['pages']; $select_types="select * from article_kr where article_category_id >= 19 AND article_category_id <= 22 order by id desc limit 1"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b></b></center>"; }else{ $selects="select * from article_kr where article_category_id >= 19 AND article_category_id <= 22 order by id desc limit 1"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * from article_kr where article_category_id >= 19 AND article_category_id <= 22 order by id desc limit 1"; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $productsNameShow= mb_substr($rowss[subject],0,20,'UTF-8'); $imagespicture = $rowss['images']; $dates = $rowss['date']; $content = mb_substr($rowss[detail],0,100,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> <table width="176" border="0" cellspacing="1" cellpadding="1" > <tr> <td width="172" height="50" align="center" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"> <? if ($imagespicture==""){ echo " <img src='images/images_article/no_pic.jpg' WIDTH=150 HEIGHT=150 BORDER=0>"; }else { echo "<a href=contentkr.php?id=$idxs class=lightbox rel=flowers><img src='images/images_article/$imagespicture' WIDTH=188 HEIGHT=150 BORDER=0></a>" ; } ?> </span></td> </tr> <tr> <td height="50" align="center" valign="top"><div align="left"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=contentkr.php?id=$idxs>$productsNameShow</a>"; ?></span><br /> <br /> </div></td> </tr> <tr> <td height="13" align="center" valign="top"><div align="right"><a href="contentkr.php?id=<? echo $idxs;?>"><img src="more.jpg" width="47" height="11" border="0" /></a></div></td> </tr> <tr> <td height="7"><div align="center" style="font-size: 8pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><img src="images/line.gif" width="170" height="5" /></div></td> </tr> </table> <? } } ?></td> </tr> </table></td> </tr> <tr> <td align="center" valign="top"><table width="180" border="0" cellpadding="0" cellspacing="0" > <tr> <td width="180" align="center" bgcolor="#F7941D"><div style="font-size: 12pt; color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif"><strong>Travel</strong></div></td> </tr> <tr> <td height="150" align="center" valign="top"><? $pages = $_GET['pages']; $select_types="select * from article_kr where article_category_id >= 47 AND article_category_id <= 52 order by id desc limit 1"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b></b></center>"; }else{ $selects="select * from article_kr where article_category_id >= 47 AND article_category_id <= 52 order by id desc limit 1"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * from article_kr where article_category_id >= 47 AND article_category_id <= 52 order by id desc limit 1"; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $productsNameShow= mb_substr($rowss[subject],0,20,'UTF-8'); $imagespicture = $rowss['images']; $dates = $rowss['date']; $content = mb_substr($rowss[detail],0,100,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> <table width="180" border="0" cellspacing="1" cellpadding="1" > <tr> <td height="50" align="center" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"> <? if ($imagespicture==""){ echo " <img src='images/images_article/no_pic.jpg' WIDTH=150 HEIGHT=150 BORDER=0>"; }else { echo "<a href=contentkr.php?id=$idxs class=lightbox rel=flowers><img src='images/images_article/$imagespicture' WIDTH=188 HEIGHT=150 BORDER=0></a>" ; } ?> </span></td> </tr> <tr> <td height="50" align="center" valign="top"><div align="left"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=contentkr.php?id=$idxs>$productsNameShow</a>"; ?></span><br /> <br /> </div></td> </tr> <tr> <td height="13" align="center" valign="top"><div align="right"><a href="contentkr.php?id=<? echo $idxs;?>"><img src="more.jpg" width="47" height="11" border="0" /></a></div></td> </tr> <tr> <td height="7"><div align="center" style="font-size: 8pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><img src="images/line.gif" width="170" height="5" /></div></td> </tr> </table> <? } } ?></td> </tr> </table></td> <td align="center" valign="top"><table width="180" border="0" cellspacing="0" cellpadding="0" > <tr> <td width="204" align="center" bgcolor="#F7941D"><div style="font-size: 12pt; color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif"><strong>Cover Story</strong></div></td> </tr> <tr> <td height="150" align="center" valign="top" ><? $pages = $_GET['pages']; $select_types="select * from article_kr where article_category_id=53 order by id desc limit 1"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b></b></center>"; }else{ $selects="select * from article_kr where article_category_id=53 order by id desc limit 1"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * from article_kr where article_category_id=53 order by id desc limit 1"; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $productsNameShow= mb_substr($rowss[subject],0,20,'UTF-8'); $imagespicture = $rowss['images']; $dates = $rowss['date']; $content = mb_substr($rowss[detail],0,100,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> <table width="180" border="0" cellspacing="1" cellpadding="1" > <tr> <td height="50" align="center" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"> <? if ($imagespicture==""){ echo " <img src='images/images_article/no_pic.jpg' WIDTH=150 HEIGHT=150 BORDER=0>"; }else { echo "<a href=contentkr.php?id=$idxs class=lightbox rel=flowers><img src='images/images_article/$imagespicture' WIDTH=188 HEIGHT=150 BORDER=0></a>" ; } ?> </span></td> </tr> <tr> <td height="50" align="center" valign="top"><div align="left"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=contentkr.php?id=$idxs>$productsNameShow</a>"; ?></span><br /> <br /> </div></td> </tr> <tr> <td height="13" align="center" valign="top"><div align="right"><a href="contentkr.php?id=<? echo $idxs;?>"><img src="more.jpg" width="47" height="11" border="0" /></a></div></td> </tr> <tr> <td height="7"><div align="center" style="font-size: 8pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><img src="images/line.gif" width="170" height="5" /></div></td> </tr> </table> <? } } ?></td> </tr> </table></td> <td align="center" valign="top"><table width="180" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="180" align="center" bgcolor="#F7941D"><div style="font-size: 12pt; color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif"><strong>Event</strong></div></td> </tr> <tr> <td height="150" align="center" valign="top"><? $pages = $_GET['pages']; $select_types="select * from article_kr where article_category_id=6 or article_category_id=26 order by id desc limit 1"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b></b></center>"; }else{ $selects="select * from article_kr where article_category_id=6 or article_category_id=26 order by id desc limit 1"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * from article_kr where article_category_id=6 or article_category_id=26 order by id desc limit 1"; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $productsNameShow= mb_substr($rowss[subject],0,20,'UTF-8'); $imagespicture = $rowss['images']; $dates = $rowss['date']; $content = mb_substr($rowss[detail],0,100,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> <table width="180" border="0" cellspacing="1" cellpadding="1" > <tr> <td height="50" align="left" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"> <? if ($imagespicture==""){ echo " <img src='images/images_article/no_pic.jpg' WIDTH=150 HEIGHT=150 BORDER=0>"; }else { echo "<a href=contentkr.php?id=$idxs class=lightbox rel=flowers><img src='images/images_article/$imagespicture' WIDTH=188 HEIGHT=150 BORDER=0></a>" ; } ?> </span></td> </tr> <tr> <td height="50" align="left" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=contentkr.php?id=$idxs>$productsNameShow</a>"; ?></span></td> </tr> <tr> <td height="13" align="center" valign="top"><div align="right"><a href="contentkr.php?id=<? echo $idxs;?>"><img src="more.jpg" width="47" height="11" border="0" /></a></div></td> </tr> <tr> <td height="7"><div align="center" style="font-size: 8pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><img src="images/line.gif" width="170" height="5" /></div></td> </tr> </table> <? } } ?></td> </tr> </table></td> </tr> <tr> <td height="201" align="center" valign="top"><table width="180" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="180" align="center" bgcolor="#F7941D"><div style="font-size: 12pt; color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif"><strong>Society</strong></div></td> </tr> <tr> <td height="150" align="center" valign="top"><? $pages = $_GET['pages']; $select_types="select * from article_kr where article_category_id >= 43 AND article_category_id <=46 order by id desc limit 1"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b></b></center>"; }else{ $selects="select * from article_kr where article_category_id >= 43 AND article_category_id <= 46 order by id desc limit 1"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * from article_kr where article_category_id >= 43 AND article_category_id <= 46 order by id desc limit 1"; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $productsNameShow= mb_substr($rowss[subject],0,20,'UTF-8'); $imagespicture = $rowss['images']; $dates = $rowss['date']; $content = mb_substr($rowss[detail],0,100,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> <table width="180" border="0" cellspacing="1" cellpadding="1" > <tr> <td height="50" align="left" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"> <? if ($imagespicture==""){ echo " <img src='images/images_article/no_pic.jpg' WIDTH=150 HEIGHT=150 BORDER=0>"; }else { echo "<a href=contentkr.php?id=$idxs class=lightbox rel=flowers><img src='images/images_article/$imagespicture' WIDTH=188 HEIGHT=150 BORDER=0></a>" ; } ?> </span></td> </tr> <tr> <td height="50" align="left" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=contentkr.php?id=$idxs>$productsNameShow</a>"; ?></span></td> </tr> <tr> <td height="13" align="center" valign="top"><div align="right"><a href="contentkr.php?id=<? echo $idxs;?>"><img src="more.jpg" width="47" height="11" border="0" /></a></div></td> </tr> <tr> <td height="7"><div align="center" style="font-size: 8pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><img src="images/line.gif" width="170" height="5" /></div></td> </tr> </table> <? } } ?></td> </tr> </table></td> <td align="center" valign="top"><table width="180" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="180" align="center" bgcolor="#F7941D"><div style="font-size: 12pt; color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif"><strong>Event</strong></div></td> </tr> <tr> <td height="150" align="center" valign="top"><? $pages = $_GET['pages']; $select_types="select * from article_kr where article_category_id >= 11 AND article_category_id <= 18 or article_category_id=54 order by id desc limit 1"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b></b></center>"; }else{ $selects="select * from article_kr where article_category_id >= 11 AND article_category_id <= 18 or article_category_id=54 order by id desc limit 1"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * from article where article_category_id >= 11 AND article_category_id <= 18 or article_category_id=54 order by id desc limit 1"; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $productsNameShow= mb_substr($rowss[subject],0,20,'UTF-8'); $imagespicture = $rowss['images']; $dates = $rowss['date']; $content = mb_substr($rowss[detail],0,100,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> <table width="180" border="0" cellspacing="1" cellpadding="1" > <tr> <td height="50" align="left" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"> <? if ($imagespicture==""){ echo " <img src='images/images_article/no_pic.jpg' WIDTH=150 HEIGHT=150 BORDER=0>"; }else { echo "<a href=contentkr.php?id=$idxs class=lightbox rel=flowers><img src='images/images_article/$imagespicture' WIDTH=188 HEIGHT=150 BORDER=0></a>" ; } ?> </span></td> </tr> <tr> <td height="50" align="left" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=contentkr.php?id=$idxs>$productsNameShow</a>"; ?></span></td> </tr> <tr> <td height="13" align="center" valign="top"><div align="right"><a href="contentkr.php?id=<? echo $idxs;?>"><img src="more.jpg" width="47" height="11" border="0" /></a></div></td> </tr> <tr> <td height="7"><div align="center" style="font-size: 8pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><img src="images/line.gif" width="170" height="5" /></div></td> </tr> </table> <? } } ?></td> </tr> </table></td> <td align="center" valign="top"><table width="180" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="180" align="center" bgcolor="#F7941D"><div style="font-size: 12pt; color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif"><strong>Interview</strong></div></td> </tr> <tr> <td height="150" align="center" valign="top"><? $pages = $_GET['pages']; $select_types="select * from article_kr where article_category_id >= 27 AND article_category_id <= 31 order by id desc limit 1"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b></b></center>"; }else{ $selects="select * from article_kr where article_category_id >= 27 AND article_category_id <= 31 order by id desc limit 1"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * from article_kr where article_category_id >= 27 AND article_category_id <= 31 order by id desc limit 1"; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $productsNameShow= mb_substr($rowss[subject],0,20,'UTF-8'); $imagespicture = $rowss['images']; $dates = $rowss['date']; $content = mb_substr($rowss[detail],0,100,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> <table width="180" border="0" cellspacing="1" cellpadding="1" > <tr> <td height="50" align="left" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"> <? if ($imagespicture==""){ echo " <img src='images/images_article/no_pic.jpg' WIDTH=150 HEIGHT=150 BORDER=0>"; }else { echo "<a href=contentkr.php?id=$idxs class=lightbox rel=flowers><img src='images/images_article/$imagespicture' WIDTH=188 HEIGHT=150 BORDER=0></a>" ; } ?> </span></td> </tr> <tr> <td height="50" align="left" valign="top"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=contentkr.php?id=$idxs>$productsNameShow</a>"; ?></span></td> </tr> <tr> <td height="13" align="center" valign="top"><div align="right"><a href="contentkr.php?id=<? echo $idxs;?>"><img src="more.jpg" width="47" height="11" border="0" /></a></div></td> </tr> <tr> <td height="7"><div align="center" style="font-size: 8pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><img src="images/line.gif" width="170" height="5" /></div></td> </tr> </table> <? } } ?></td> </tr> </table></td> </tr> </table> </div></td> </tr> <tr> <td colspan="2" align="center"> </td> </tr> <tr> <td colspan="2"><img src="images/tab2.jpg" width="791" height="51" /></td> </tr> <tr> <td height="167" colspan="2"><table width="799" height="81" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="286" rowspan="4" align="center"><table width="249" border="0" cellspacing="0" cellpadding="0" > <tr> <td width="18"><img src="images/topleftframe.jpg" width="18" height="19" /></td> <td width="214" background="images/top.jpg"> </td> <td width="18"><img src="images/toprightframe.jpg" width="18" height="19" /></td> </tr> <tr> <td align="center" background="images/left.jpg"> </td> <td align="center" valign="top"><? $pages = $_GET['pages']; $select_types="select * from article_kr order by id desc limit 1,4"; $query_selects=mysql_query($select_types); $num_rowss=mysql_num_rows($query_selects); if($num_rowss<1){ echo "<br><br><center><b>ยังไม่มีการเพิ่มข้อมูลค่ะ</b></center>"; }else{ $selects="select * from article_kr order by id desc limit 1"; $q_rys = mysql_query($selects); $num_rowss=mysql_num_rows($q_rys); $pagesizes=10; $rts=$num_rowss%$pagesizes; if($rts!=0) { $totalpages=floor($num_rowss/$pagesizes)+1; } else { $totalpages=floor($num_rows/$pagesizes); $toppic_ids=1; } if(empty($pages)) { $pages=1; } mysql_free_result($q_rys); $gotos=($pages-1)*$pagesizes; $sql_select_mems="Select * From article_kr order by id desc limit 1"; $fects=mysql_query($sql_select_mems); if(!$fects) { ("µÔ´µèÍ°Ò¹¢éÍÁÙÅäÁèä´é".mysql_error()); exit; } $bgcounts=0; while($rowss=mysql_fetch_array($fects)) { $idxs =$rowss['id']; $productsNameShow = mb_substr($rowss[subject],0,30,'UTF-8'); $imagespicture = $rowss['images']; $dates = $rowss['date']; $contentb = mb_substr($rowss[detail],0,270,'UTF-8'); $stats = $rowss['stats']; $bgcounts=$bgcounts+1; $bgmods=$bgcounts%2; if($bgmods==0){ $bgcolors="#E9E9E8"; }else{ $bgcolors="#FFFFFF"; } ?> <table width="250" border="0" cellspacing="1" cellpadding="1" > <tr> <td height="23" align="center"><? if ($imagespicture==""){ echo " <a href=contentkr.php?id=$idxs target=_blank><img src='images/images_article/no_pic.jpg' WIDTH=200 HEIGHT=150 BORDER=0></a>"; }else { echo "<a href=contentkr.php?id=$idxs class=lightbox rel=flowers><img src='images/images_article/$imagespicture' WIDTH=240 BORDER=0></a>" ; } ?></td> </tr> <tr> <td height="23" align="center"><span style="font-size: 12pt; color: #f3a340; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo "<a href=contentkr.php?id=$idxs>$productsNameShow</a>"; ?></span></td> </tr> <tr> <td width="611" height="23" align="center"><div align="center"><span style="font-size: 10pt; color: #80808f; font-family: Verdana, Arial, Helvetica, sans-serif"><? echo strip_tags("$contentb..."); ?></span></div></td> </tr> <tr> <td height="7"> </td> </tr> </table> <? } } ?></td> <td align="center" background="images/right.jpg"><img src="images/space.jpg" width="1" height="400" /></td> </tr> <tr> <td><img src="images/buttonleft.jpg" width="18" height="19" /></td> <td background="images/button2.jpg"> </td> <td><img src="images/buttonright.jpg" width="18" height="19" /></td> </tr> </table></td> <td valign="top"><img src="images/topleftframe.jpg" width="18" height="19" /></td> <td valign="top" background="images/top.jpg"> </td> <td valign="top"><img src="images/toprightframe.jpg" width="18" height="19" /></td> </tr> <tr> <td rowspan="2" valign="top" background="images/left.jpg"> </td> <td valign="top"><table width="477" border="0"> <? $sqlpp="select * from article_kr order by id desc limit 1,8"; $checkpp=1; $resultpp=mysql_db_query($db,$sqlpp); while ($rspp=mysql_fetch_array($resultpp)) { if ($checkpp%4 ==1){ echo "<TR>"; } ?> <td width="471" height="20" align="center" valign="middle" ><? if ($rspp[images]==""){ echo " <a href=contentkr.php?id=$rspp[id] target=_blank><img src='images/images_article/no_pic.jpg' WIDTH=100 HEIGHT=100 BORDER=0></a>"; }else { $products_namepp = mb_substr($productsNameShow,0,20,'UTF-8'); $subject = mb_substr($rspp[subject],0,30,'UTF-8'); $subject=strip_tags($subject); echo " <a href=contentkr.php?id=$rspp[id] target=_blank><img src='images/images_article/$rspp[images]' Width=110 height=110 BORDER=0></a> <br><br><span style='color: #812D61; font-size: 9pt; font-weight: bold'> $subject </span> " ; } ?> </td> <? if ($checkpp % 4== 0) { echo "</TR>"; $checkpp=0; } $checkpp++; } ?> </table></td> <td rowspan="2" valign="top" background="images/right.jpg"> </td> </tr> <tr> <td height="19" valign="top"> </td> </tr> <tr> <td width="18" valign="top"><img src="images/buttonleft.jpg" width="18" height="19" /></td> <td width="477" valign="top" background="images/button2.jpg"> </td> <td width="18" valign="top"><img src="images/buttonright.jpg" width="18" height="19" /></td> </tr> </table></td> </tr> <tr> <td height="19" colspan="2" align="center" valign="middle"><table width="779" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4" rowspan="5" align="center"> </td> <td colspan="3" valign="top"><img src="images/tabbook.jpg" width="787" height="46" /></td> </tr> <tr> <td valign="top"><img src="images/topleftframe.jpg" width="18" height="19" /></td> <td valign="top" background="images/top.jpg"> </td> <td valign="top"><img src="images/toprightframe.jpg" width="18" height="19" /></td> </tr> <tr> <td valign="top" background="images/left.jpg"> </td> <td valign="top"><table width="739" border="0"> <? $sqlpp="select * from book order by id desc"; $checkpp=1; $resultpp=mysql_db_query($db,$sqlpp); while ($rspp=mysql_fetch_array($resultpp)) { if ($checkpp%4 ==1){ echo "<TR>"; } ?> <tr> <td width="733" height="20" align="center" valign="middle" ><div align="left"> <? if ($rspp[cover2]==""){ echo " <a href=book.php?id=$rspp[id] target=_blank><img src='images/images_article/no_pic.jpg' WIDTH=200 BORDER=0></a>"; }else { $title = mb_substr($rspp[title],0,20,'UTF-8'); $products_detail = mb_substr($rspp[message2],0,300,'UTF-8'); echo " <table width='597' border='0' cellspacing='0' cellpadding='0'> <tr> <td width='224' rowspan='2'><a href='book.php?id=$rspp[id]' target='_blank'><img src='$rspp[cover2]' width='200' border='0' /></a><br></td> <td height='27'> <span style='color: #812D61; font-size: 9pt; font-weight: bold'>$rspp[title] </span></td> </tr> <tr> <td width='373' align='left' valign='top'><span class='style2'>$products_detail... </span></td> </tr> </table> " ; } ?> </div></td> <? if ($checkpp % 4== 0) { echo "</TR>"; $checkpp=0; } $checkpp++; } ?> </tr> </table></td> <td valign="top" background="images/right.jpg"> </td> </tr> <tr> <td valign="top"><img src="images/buttonleft.jpg" width="18" height="19" /></td> <td align="right" valign="top" background="images/button2.jpg"> </td> <td valign="top"><img src="images/buttonright.jpg" width="18" height="19" /></td> </tr> <tr> <td width="18" valign="top"> </td> <td width="739" valign="top"> </td> <td width="18" valign="top"> </td> </tr> </table></td> </tr> <tr> <td height="19" colspan="2" align="center" valign="middle"><br /></td> </tr> <tr> <td height="19" colspan="2" align="center" valign="middle"><img src="images/galltabkr.jpg" width="800" height="51" /></td> </tr> <tr> <td height="167" colspan="2"><table width="748" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="13" rowspan="5" align="center"> </td> <td colspan="3" valign="top"> </td> </tr> <tr> <td valign="top"><img src="images/topleftframe.jpg" width="18" height="19" /></td> <td valign="top" background="images/top.jpg"> </td> <td valign="top"><img src="images/toprightframe.jpg" width="18" height="19" /></td> </tr> <tr> <td valign="top" background="images/left.jpg"> </td> <td valign="top"><table width="700" border="0"> <? $sqlpp="select * from gallery order by id desc limit 8"; $checkpp=1; $resultpp=mysql_db_query($db,$sqlpp); while ($rspp=mysql_fetch_array($resultpp)) { if ($checkpp%4 ==1){ echo "<TR>"; } ?> <td width="757" height="20" align="center" valign="middle" ><? if ($rspp[img1]==""){ echo " <a href=contentkr.php?id=$rspp[id] target=_blank><img src='images/images_article/no_pic.jpg' WIDTH=100 HEIGHT=100 BORDER=0></a>"; }else { $products_namepp = mb_substr($productsNameShow,0,20,'UTF-8'); $products_detail = mb_substr($rspp[detail],0,300,'UTF-8'); echo " <a href=media.php?id=$rspp[id] target=_blank><img src='images/gallery/$rspp[img1]' Width=110 height=110 BORDER=0></a> <br><span style='color: #812D61; font-size: 9pt; font-weight: bold'> $rspp[title] </span> " ; } ?> </td> <? if ($checkpp % 4== 0) { echo "</TR>"; $checkpp=0; } $checkpp++; } ?> </table></td> <td valign="top" background="images/right.jpg"> </td> </tr> <tr> <td valign="top"><img src="images/buttonleft.jpg" width="18" height="19" /></td> <td align="right" valign="top" background="images/button2.jpg"> </td> <td valign="top"><img src="images/buttonright.jpg" width="18" height="19" /></td> </tr> <tr> <td width="18" valign="top"> </td> <td width="700" valign="top"> </td> <td width="18" valign="top"> </td> </tr> </table></td> </tr> </table> <table width="630" border="0" cellspacing="0" cellpadding="0"> <tr> <td></td> </tr> </table></td> <td width="1" bgcolor="#FFFFFF"></td> </tr> </table> </div></td><!-- End : top right slide --> <DIV align="LEFT" style="position:fixed; top:10px; left:5px; width:154px; height:65px;"> <br/> <TABLE width=162 height=72 border=0 cellPadding=0 cellSpacing=0 bordercolor="#C0C0C0" id=AutoNumber1 style="BORDER-COLLAPSE: collapse"> <TR> <TD height="68" vAlign=top> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="154" height="64"> <param name="movie" value="banner/KTO.swf" /> <param name="quality" value="high" /> <embed src="banner/KTO.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="154" height="64"></embed> </object></TD> </TR> </TABLE> </DIV> <!-- End : top right slide --> <!-- End : top left slide --> <!-- End : top left slide --> <? include("footer.php");?> <? include("footer.php");?> </body> </html>