| 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/del-configer.libsitelogo/ |
Upload File : |
<?
;
include("../inc/config.inc.php");
head();
//include("_REQPERM.php");
$_REQPERM="weboption-uploadlibsitelogo";
mn_lib();
$tbname="library_site_parent";
$c[5][text]="สีของเส้นขอบ::l::Border color";
$c[5][field]="bordergcol";
$c[5][fieldtype]="color";
$c[5][descr]="";
$c[5][defval]="";
$c[6][text]="สีของพื้นหลัง ส่วนแสดงผล::l::Webpage bg display background color";
$c[6][field]="fgcol";
$c[6][fieldtype]="color";
$c[6][descr]="";
$c[6][defval]="";
$c[7][text]="สีของพื้นหลัง ส่วนเข้ม::l::Webpage bg background";
$c[7][field]="bgcol";
$c[7][fieldtype]="color";
$c[7][descr]="";
$c[7][defval]="";
$c[8][text]="สีตัวอักษร::l::Font Color";
$c[8][field]="fontcol";
$c[8][fieldtype]="color";
$c[8][descr]="";
$c[8][defval]="";
$c[9][text]="สีตัวอักษรที่เน้น::l::Head Font Color";
$c[9][field]="headcol";
$c[9][fieldtype]="color";
$c[9][descr]="";
$c[9][defval]="";
//dsp
function local_uploadlogo($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/logo/libsite.logo-$wh[code].png")==true) {
$s.= "$dcrURL/_tmp/logo/libsite.logo-$wh[code].png";
} else {
$s.= "$dcrURL/neoimg/spacer.gif";
}
$s.="'></A>";
return $s;
}
function local_uploadhead($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/logo/libsite.head-$wh[code].png")==true) {
$s.= "$dcrURL/_tmp/logo/libsite.head-$wh[code].png";
} else {
$s.= "$dcrURL/neoimg/spacer.gif";
}
$s.="'></A>";
return $s;
}
function local_uploadmenubg($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/logo/libsite.menubg-$wh[code].png")==true) {
$s.= "$dcrURL/_tmp/logo/libsite.menubg-$wh[code].png";
} else {
$s.= "$dcrURL/neoimg/spacer.gif";
}
$s.="'></A>";
return $s;
}
$dsp[7][text]="ภาพโลโก้ที่แสดงที่เว็บเพจ";
$dsp[7][field]="id";
$dsp[7][width]="5%";
$dsp[7][filter]="module:local_uploadlogo";
$dsp[8][text]="บาร์ส่วนหัว";
$dsp[8][field]="id";
$dsp[8][width]="5%";
$dsp[8][filter]="module:local_uploadhead";
$dsp[9][text]="พื้นหลังเมนู";
$dsp[9][field]="id";
$dsp[9][width]="5%";
$dsp[9][filter]="module:local_uploadmenubg";
$dsp[3][text]="หน่วยงาน::l::Name";
$dsp[3][field]="name";
$dsp[3][width]="30%";
$dsp[5][text]="สีหน้าจอ";
$dsp[5][field]="code";
$dsp[5][align]="center";
$dsp[5][width]="10%";
$dsp[5][filter]="module:local_link";
function local_link($wh) {
global $startrow;
$s="<a href='index.php?mi=&fftmode=edit&ffteditid=$wh[id]&startrow=$startrow'>".getlang("จัดการ::l::Manage")."</a>";
return $s;
}
$o[undelete][field]="iscandel";
$o[undelete][value]="no";
$limit=" 1 ";
if (library_gotpermission("weboption-alllibsitelogo")!=true) {
$limit=tmq("select * from library_site where code='$LIBSITE' ",false);
$limit=tmq_fetch_array($limit);
$limit=" code='$limit[parent]' ";
}
fixform_tablelister($tbname," $limit ",$dsp,"no","no","no","mi=$mi",$c,"",$o);
?><CENTER><? echo getlang("คลิกที่ไอคอนเพื่ออัพโหลดภาพใหม่::l::Click on icon to upload new icon.");?></CENTER><?
foot();
?>