| 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/root.library/ |
Upload File : |
<?
include("../inc/config.inc.php");
head();
mn_root("libsiteman");
$tbname="library_site";
pagesection("หน่วยงานของเจ้าหน้าที่");
$c[1][text]="รหัส::l::Code";
$c[1][field]="code";
$c[1][fieldtype]="text";
$c[1][descr]="";
$c[1][defval]="";
$c[1][unediton]="code,main";
$c[2][text]="ชื่อห้องสมุด::l::Campus name";
$c[2][field]="name";
$c[2][fieldtype]="text";
$c[2][descr]="";
$c[2][defval]="";
$c[4][text]="เป็นสาขาหลักหรือไม่::l::Is default campus";
$c[4][field]="isdef";
$c[4][fieldtype]="switchsingle";
$c[4][descr]="";
$c[4][defval]="no";
$c[5][text]="เป็นฝ่ายย่อยของ";
$c[5][field]="parent";
$c[5][fieldtype]="foreign:$dbname,library_site_parent,code,name";
$c[5][descr]="";
$c[5][defval]="";
//dsp
$dsp[2][text]="ชื่อห้องสมุด::l::Campus name";
$dsp[2][field]="name";
$dsp[2][width]="30%";
$dsp[5][text]="เป็นฝ่ายย่อยของ";
$dsp[5][field]="parent";
$dsp[5][filter]="foreign:$dbname,library_site_parent,code,name";
$dsp[5][width]="30%";
$dsp[4][text]="เป็นสาขาหลักหรือไม่::l::Is default campus";
$dsp[4][field]="isdef";
$dsp[4][filter]="switchsingle";
$dsp[4][width]="30%";
$o[undelete][field]="code";
$o[undelete][value]="main";
$o[addlink][] = "parent.php::หน่วยงานหลัก";
fixform_tablelister($tbname," 1 ",$dsp,"yes","yes","yes","mi=$mi",$c,"",$o);
foot();
?>