Server IP : 180.180.241.3 / Your IP : 216.73.216.127 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/configer.displaycontrol/ |
Upload File : |
<? ; include("../inc/config.inc.php"); head(); //include("_REQPERM.php"); $_REQPERM="configer-displaycontrol"; mn_lib(); $tbname="dbfulltext_cate"; $c[2][text]="Code::l::Code"; $c[2][field]="code"; $c[2][fieldtype]="text"; $c[2][descr]=""; $c[2][defval]=""; $c[3][text]="ชื่อประเภท::l::Name"; $c[3][field]="name"; $c[3][fieldtype]="text"; $c[3][descr]=""; $c[3][defval]=""; $c[4][text]="ข้อความเพิ่มเติม::l::Description"; $c[4][field]="descr"; $c[4][fieldtype]="text"; $c[4][descr]=""; $c[4][defval]=""; $c[5][text]="รูปแบบการแสดงผล::l::Display code"; $c[5][field]="dsp"; $c[5][fieldtype]="longtext"; $c[5][descr]="ใช้ [[url]] เพื่อแทน URL ไฟล์ ,[[urlencode]]::l::Use [[url]] replacing file's URL, [[urlencode]]"; $c[5][defval]=""; $c[7][text]="ตัวเลือกการแนบข้อมูล::l::Attatch information options"; $c[7][field]="attatchtype"; $c[7][fieldtype]="list:none,text,thumbimg"; $c[7][descr]=""; $c[7][defval]="none"; //dsp function local_upload($wh) { global $dcrs; global $dcrURL; $s="<A HREF='upload.php?mediatypemanage=$wh[code]'><img border=0 width=48 height=48 src='"; if (file_exists("$dcrs/_tmp/mediatype/$wh[code].png")==true) { $s.= "$dcrURL/_tmp/mediatype/$wh[code].png"; } else { $s.= "$dcrURL/_tmp/mediatype.png"; } $s.="'></A>"; return $s; // } $dsp[7][text]="Icon"; $dsp[7][field]="id"; $dsp[7][width]="5%"; $dsp[7][filter]="module:local_upload"; $dsp[2][text]="Code::l::Code"; $dsp[2][field]="code"; $dsp[2][width]="15%"; $dsp[3][text]="ชื่อประเภท::l::Name"; $dsp[3][field]="name"; $dsp[3][width]="30%"; $dsp[4][text]="ข้อความเพิ่มเติม::l::Description"; $dsp[4][field]="descr"; $dsp[4][width]="30%"; $dsp[5][text]="ประเภทไฟล์::l::Extensions"; $dsp[5][field]="code"; $dsp[5][align]="center"; $dsp[5][width]="30%"; $dsp[5][filter]="module:local_link"; function local_link($wh) { $s="<a href='dspcon.sub.php?pid=$wh[code]'>".getlang("จัดการ::l::Manage")."</a>"; return $s; } $o[undelete][field]="iscandel"; $o[undelete][value]="no"; fixform_tablelister($tbname," 1 ",$dsp,"yes","yes","yes","mi=$mi",$c,"",$o); ?><CENTER><? echo getlang("คลิกที่ไอคอนเพื่ออัพโหลดภาพใหม่::l::Click on icon to upload new icon.");?></CENTER><? foot(); ?>