| Server IP : 180.180.241.3 / Your IP : 216.73.216.25 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/umedia3/ |
Upload File : |
<?php
$s=tmq("select * from cate_sub where id='$cateid' order by name ",false);
if (tmq_num_rows($s)==0) {
html_dialog("category $cateid not found");
die();
}
$r=tmq_fetch_array($s);
$smain=tmq("select * from cate where id='$r[pid]' ",false);
$smain=tmq_fetch_array($smain);
echo index_sepper("<img src='./neoimg/collectionicon/$smain[icon]' width=16 align=absmiddle> ".getlang("ดูในหมวดหมู่ ::l:: View in category ").getlang($smain[name]));;
?><TABLE width=100% border=0 cellpadding=0 cellspacing=0 class=mediabox style="background-color: white; background-image:none;">
<TR>
<TD> <? echo $smain[descr]?></TD>
</TR>
</TABLE><?
echo index_sepper("<img src='./neoimg/collectionicon/$r[icon]' width=16 align=absmiddle> ".getlang("ในหมวดหมู่ย่อย ::l:: View in sub category ").getlang($r[name]));;
$showcase="select * from media where cate='$cateid' ";
if ($acadtoviewLIMIT!="") {
$showcase.=" $acadtoviewLIMIT ";
}
$showcase=tmqp($showcase." order by lastactive desc","http://copper.msu.ac.th/umedia3/index.php?mode=viewcategory&cateid=$cateid");
if (tmq_num_rows($showcase)!=0) {
?><TABLE width=100% border=0 cellpadding=0 cellspacing=0 class=mediabox>
<? echo $_pagesplit_btn_var;?>
<TR>
<TD style='padding-left: 30'><?
$cateidformaplist="";
while ($r=tmq_fetch_array($showcase)) {
$cateidformaplist.=" or mid='$r[randid]' ";
show_mediaicon_long(barcodeval_get("webpage-dspctrl-searchresult"),$r[randid],"show","yes",100,150);
}
?></TD>
</TR>
<? echo $_pagesplit_btn_var;?>
<TR>
<TD><TABLE width=100% align=center cellpadding=0 cellspacing=0>
<TR>
<TD><IMG SRC="<?echo $dcrURL;?>/neoimg/spacer.gif" WIDTH="140" HEIGHT="12" BORDER="0" ALT="" align=absmiddle><BR>
<IMG SRC="<?echo $dcrURL;?>/neoimg/feed-icon-14x14.png" WIDTH="14" HEIGHT="14" BORDER="0" ALT="" align=absmiddle> <B style="color:<? echo $fontcolor?>" class=smaller2>Feed :</B> <A HREF="getfeed.php?feed=category&categoryid=<? echo $cateid;?>" style="color:<? echo $fontcolor?>" class=smaller2 target=_blank><IMG SRC="<?echo $dcrURL;?>/neoimg/feed-icon-10x10.png" WIDTH="10" HEIGHT="10" BORDER="0" ALT="" align=absmiddle> รายการล่าสุดของหัวข้อนี้</A></TD>
</TR>
</TABLE></TD>
</TR>
</TABLE>
<?
}
if (barcodeval_get("webpage-o-gmapenable")=="yes") {
$s="select * from dc_coverage where f3<>'' and (0 $cateidformaplist )";
$s=tmq($s);
if (tmq_num_rows($s)!=0) {
echo "<CENTER><iframe width=750 height=400 src='$dcrURL/_gmapdisplaycate.php?catelist=".urlencode($cateidformaplist)."'></iframe></CENTER>";
}
}
?>