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/root/ |
Upload File : |
<? // ; // print_r($_SESSION); include("../inc/config.inc.php"); head(); mn_root("mainadmin"); function local_menu($text,$url,$descr,$img="") { global $dcr; ?><table width = "550" align=center border = "0" cellspacing = "0" cellpadding = "0"> <tr> <td rowspan = "2" valign=middle width=35><? if ($img!="") { echo "<img src='../neoimg/misc/$img'>"; } ?> </td> <td width = "525"> <a class = stupidmenu href = "<? echo $url;?>"> <font size = "5" class = stupidmenu style="font-size: 18px;"><? echo $text;?></font></a></font></td> </tr> <tr> <td width = "525"> <font size = "2" style="font-size: 12px;"> <? echo $descr;?></font></td> </tr> <tr> <td colspan = "2" height = "2"> <font size = "2" > <img src = "/<? echo "$dcr"; ?>/images/spacer.gif" width = "1" height = "5"></font></td> </tr> </table> <? } ?><BR> <TABLE width=650 align=center> <TR> <TD> <FIELDSET> <LEGEND style="color: #484F84"><? echo getlang("สิทธิ์การเข้าใช้งาน::l::Authenticate Control");?></LEGEND> <? local_menu(getlang("จัดการรายชื่อผู้ดูแลระบบ::l::Administrator login"),"../root.userroot/",getlang("จัดการรายชื่อเจ้าหน้าที่สูงสุด::l::Manage administrator login"),"LTWORKSP.GIF"); local_menu(getlang("ฝ่ายย่อยของเจ้าหน้าที่::l::Officer's Office"),"../root.library/",getlang("ฝ่ายของเจ้าหน้าที่::l::Officer's Office"),"LTWORKSP.GIF"); local_menu(getlang("จัดการรายชื่อเจ้าหน้าที่::l::Officer's login"),"../root.userlibrary/",getlang("จัดการรายชื่อและการอนุญาตของเจ้าหน้าที่ที่จะล็อกอินเข้ามาทำงาน::l::Manage officer's login"),"LTWORKSP.GIF"); ?> </FIELDSET> <FIELDSET> <LEGEND style="color: #484F84"><? echo getlang("โครงสร้างข้อมูล::l::Data Structure");?></LEGEND><? local_menu(getlang("โครงสร้างข้อมูล::l::Database structure"),"../root.bkedit/",getlang("กำหนดโครงสร้าง กำหนดตัวเลือกการสืบค้น::l::View marc structure, edit marc template and indexing rules"),"LTDATASH.GIF"); local_menu(getlang("โครงสร้างการ Index::l::Indexing structure"),"../root.bkeditindex/media_type.php",getlang("กำหนดโครงสร้างสำหรับการ Index เพื่อการสืบค้น::l::View Indexing structure, edit indexing rules"),"LTDATASH.GIF"); //local_menu("ค่าตัวแปรระบบ","../root.val/media_type.php","","LTSURVEY.GIF"); //local_menu("ความต้องการของระบบ","./function_req.php","ตรวจสอบว่าเซิร์ฟเวอร์ของท่านมีฟังก์ชันหลัก ๆ ครบถ้วนหรือไม่","LTTASK.GIF"); ?></FIELDSET> <? local_menu(getlang("สำรองข้อมูล::l::Backup"),"../root.backup/index.php",getlang("ทำการสำรองข้อมูลทั้งหมดในฐานข้อมูล::l::Backup entire database"),"ITDLP.GIF"); ?> </TD> </TR> </TABLE><? function local_smallmenucss($text,$url) { global $dcr; ?><li><a href="<? echo $url;?>" ><? echo $text;?></a></li><? } function local_smallmenu($text,$url) { global $dcr; ?><a href = "<? echo $url;?>"> <IMG SRC="../neoimg/Burn.gif" WIDTH="16" HEIGHT="16" BORDER="0" ALT="" align=absmiddle> <font size = "5" class = stupidmenu style="font-size: 14px;"><? echo $text;?></font></a></font><BR> <? } ?><BR> <style type="text/css"> /*Credits: Dynamic Drive CSS Library */ /*URL: http://www.dynamicdrive.com/style/ */ .markermenu{ width: 100%; /*width of menu*/ } .markermenu ul{ list-style-type: none; margin: 5px 0; padding: 0; border: 1px solid #9A9A9A; } .markermenu ul li a{ background: white url(./arrow-list.gif) no-repeat 2px center; font: bold 14px Tahoma; color: #800000; display: block; width: auto; padding: 3px 0; padding-left: 20px; text-decoration: none; border-bottom: 1px solid #B5B5B5; } * html .markermenu ul li a{ /*IE only. Actual menu width minus left padding of LINK (20px) */ width: 100%; } .markermenu ul li a:visited, .markermenu ul li a:active{ color: #800000; } .markermenu ul li a:hover{ color: black; background-color: #ffffcb; background-image:url(./arrow-list-red.gif); /*onMouseover image change. Remove if none*/ } </style> <? $submenubg="#39629F";?> <TABLE width=600 align=center border=0 cellpadding=10 cellspacing=1 bgcolor=000000> <TR bgcolor="<? echo $submenubg?>"> <TD align=center><B style="color: white"><? echo getlang("ค่าตัวแปรระบบ::l::System variables"); ?></B></TD> <TD align=center><B style="color: white"><? echo getlang("การตั้งค่าระบบเสริม::l::Additional Modules Setting"); ?></B></TD> </TR> <TR valign=top> <TD bgcolor=white width=50%> <div class="markermenu"> <ul><? local_smallmenucss(getlang("ค่าตัวแปรระบบ-ทั่วไป::l::System variables-General"),"../root/sys_var.gen.php","","LTSURVEY.GIF"); local_smallmenucss(getlang("ค่าตัวแปรระบบ-การยืมคืน::l::System variables-Circulation"),"../root/sys_var.cir.php","","LTSURVEY.GIF"); local_smallmenucss(getlang("ค่าตัวแปรระบบ-Web::l::System variables-Web"),"../root/sys_var.web.php","","LTSURVEY.GIF"); //local_smallmenu("สำรองข้อมูล","../root.backup/index.php","ทำการสำรองข้อมูลทั้งหมดในฐานข้อมูล","ITDLP.GIF"); ?></ul> </div> </TD> <TD bgcolor=white width=50%> <div class="markermenu"> <ul><? //local_smallmenucss(getlang("ตั้งค่ารูปสมาชิก::l::Member photo setting"),"../root.memberspic/"); local_smallmenucss(getlang("ตรวจสอบความต้องการของระบบ::l::System requirement"),"./function_req.php"); local_smallmenucss(getlang("ปิด/รีบูทเซิร์ฟเวอร์::l::Shutdown/reboot server"),"../root.svboot/"); local_smallmenucss("Log files","../root.logbrowser/"); ?></ul> </div></TD></TR> <TR bgcolor="<? echo $submenubg?>"> <TD align=center><B style="color: white"><? echo getlang("เครื่องมือเกี่ยวกับตัวช่วยการสืบค้น::l::Search assistant related"); ?></B></TD> <TD align=center><B style="color: white"><? echo getlang("Tools::l::Tools"); ?></B></TD> </TR> <TR valign=top> <TD bgcolor=white width=50%><div class="markermenu"> <ul><? // local_smallmenucss(getlang("re-Index ฐานข้อมูลวัสดุสารสนเทศ::l::re-index material database"),"../root.index_reindex/"); local_smallmenucss("U-Soundex","../root.usoundex_map/index.php"); local_smallmenucss("Stop Words","../root.ignoreword/"); local_smallmenucss(getlang("Stop Words ที่นำเข้ามาแล้ว::l::Imported Stop Words"),"../root.ignorewordimportid/"); local_smallmenucss(getlang("ตัวช่วยนำเข้า Stop Words::l::Stop Words Importer"),"../root.importer_ignoreword/"); local_smallmenucss("Words","../root.indexword/"); local_smallmenucss(getlang("Words ที่นำเข้าและทำ usounddex::l::Imported Words and usoundex"),"../root.indexwordimportid/"); local_smallmenucss(getlang("ตัวช่วยนำเข้า Words::l::Words importer"),"../root.importer_indexword/"); ?></ul> </div></TD> <TD bgcolor=white width=50%><div class="markermenu"> <ul><? local_smallmenucss(getlang("บำรุงรักษาฐานข้อมูล::l::DB miantainience "),"../root.dbmantain/index.php","","ITDLP.GIF"); local_smallmenucss(getlang("ไฟล์เครื่องมืออื่น ๆ::l::Utility file"),"../root.utils/"); local_smallmenucss(getlang("กระดาษเตือนความจำ::l::Reminder sheet"),"./remindersheet.php"); ?></ul> </div></TD></TR> <TR bgcolor="<? echo $submenubg?>"style="height: 1"> <TD align=center colspan=2 style="height: 1"></TD> </TR> <TR valign=top> <TD bgcolor=white colspan=2 align=center valign=middle style="font-size:10px; padding-left:0px; color: #777777"> <? echo getval("SYSCONFIG","credits"); ?> </TD></TR> </TABLE> <CENTER><A HREF="javascript:void(0)" onclick="loadMyMenu_NotYou();" style="color: #FFC980; font-size: 10px;">Expanded Configuration and tools </a></CENTER> <SCRIPT LANGUAGE="JavaScript"> <!-- function loadMyMenu_NotYou() { tmp=getobj('MyMenu_NotYou'); if (tmp.style.display=="block") { tmp.style.display="none" } else { tmp.style.display="block" } } //--> </SCRIPT> <span id="MyMenu_NotYou" style="display: none; "> <TABLE width=600 align=center border=0 cellpadding=2 cellspacing=1 bgcolor=000000> <TR bgcolor=#800000> <TD align=center><B style="color: white"><? echo getlang("เครื่องมือสำหรับเจ้าหน้าที่ระบบ::l::Super Administrative Mod."); ?></B></TD> <TD align=center><B style="color: white"><? echo getlang("เครื่องมือดูแลรักษาระบบ::l::System maintainience"); ?></B></TD> </TR> <TR valign=top> <TD bgcolor=white width=50% style="font-size:10px; padding-left: 15px; color: #484848" valign=middle align=left> These tools are commonly used by Ulibm's Developer team only. And use once at first time to setup (or re-install) Ulibm. All customers has no any neccessary to use these functions. Because some function can destroy your databas easily, and all damanage done by customers won't be any resiponsible to Ulibm's Developer team </TD> <TD bgcolor=white width=50%><? local_smallmenu(getlang("ค่าตัวแปรทั้งหมดของระบบ::l::All System variables"),"../root.val/media_type.php","","LTSURVEY.GIF"); local_smallmenu("phpinfo();","phpinfo.php"); local_smallmenu(getlang("ข้อมูลเซิร์ฟเวอร์::l::Server Information"),"../root.shellinfo/index.php"); local_smallmenu(getlang("การตั้งค่าทั่วไปของระบบ::l::Base system configuration"),"../root/configinfo.php"); local_smallmenu(getlang("ตัวจัดการฐานข้อมูล::l::DB Manager"),"../admin.tb_editor/list.php"); ?><BR></TD></TR> <TR bgcolor=#800000> <TD align=center><B style="color: white"><B></B></B></TD> <TD align=center><B style="color: white"><? echo getlang("ปรับแต่งค่าแสดงผลสำหรับผู้ดูแลระบบ::l::Administration Display Setting"); ?></B></TD> </TR> <TR valign=top> <TD bgcolor=white width=50%> <? local_smallmenu("Cache Browser","../root.cachebrowser/"); local_smallmenu(getlang("ตัวทำคำสั่ง SQL::l::SQL Executor"),"../root.sqlexec/index.php","","ITDLP.GIF"); local_smallmenu(getlang("อัพเกรดตาราง::l::Table Upgrade"),"../root.upgrade_table/index.php","","ITDLP.GIF"); local_smallmenu(getlang("ฟื้นคืนข้อมูลแบ็คอัพ::l::Restore from backup"),"../root.upgrade_restore/index.php","","ITDLP.GIF"); ?> </TD> <TD bgcolor=white width=50%><? local_smallmenu(getlang("เมนูของเจ้าหน้าที่::l::Officer's menu"),"../root.librarymenu/index.php"); ?><BR></TD></TR> </TABLE> </span> <BR><TABLE width=650 align=center> <TR> <TD><? echo getlang("<B>หมายเหตุ</B> โปรแกรม ULIBm สนับสนุนการทำงานทั้งภาษาไทยและภาษาอังกฤษ โดยในส่วนการตั้งค่า จะมีฟิลด์จำนวนมาก (แต่ไม่ใช่ทุกฟิลด์) ที่สามารถกำหนดตัวเลือกให้ใช้ได้ทั้งสองภาษา ดังตัวอย่าง ::l::<B>Note</B> ULIBm support bi-language system (Thai-English). In Administrator System administrator can set many fields in database to work with bi-language system as an example"); ?> <BR><BR><B>ภาษาไทย::l::English</B><BR><BR><? echo getlang("ใช้สัญลักษณ์ ::l::Use symbol "); ?> <B>::l:: </B><? echo getlang("แยกระหว่างทั้งสองภาษา::l::to seperate between 2 language"); ?> (<? echo getlang("colon-colon-L ตัวพิมพ์เล็ก-colon-colon::l::colon-colon-L in lower case-colon-colon"); ?>)<BR> <? echo getlang("โดยหากไม่ต้องการระบุทั้งสองภาษา หรือ มีการระบุแค่ภาษาเดียว ก็ไม่ต้องอาศัยสัญลักษณ์ดังกล่าว ระบบจะแสดงค่าที่ป้อนออกมาให้ทันที::l::If, need to use only 1 language, just type in what you want without language seperator. system will show your text immediately."); ?> <BR><BR></TD> </TR> </TABLE><BR> <? /////////////////////////////////////////////////// //fmod check at footer $local_modchk_help= Array(); function local_modchk($wh,$cate="") { global $local_modchk_help; global $dcrs; $b=@chmod($wh,0777); if (!$b) { echo "<B>".getlang("มีปัญหาเกี่ยวกับการเปลี่ยนโหมดโฟลเดอร์::l::Folder mode problem")."</B> [$cate] [$wh]<BR>"; $tmpd=trim($wh,'.'); $tmpd=trim($tmpd,'/'); $tmpd=$dcrs.$tmpd; $local_modchk_help[].="chown apache '$tmpd' -R;"; $local_modchk_help[].="chgrp apache '$tmpd' -R;"; } $x=fso_listfile($wh); foreach ($x as $i) { $b=@chmod($wh.$i,0777); if (!$b) { echo "<B>".getlang("มีปัญหาเกี่ยวกับการเปลี่ยนโหมดไฟล์::l::File mode problem")."</B> [$cate] [$wh]<BR>"; $tmp=trim($wh,'.'); $tmp=trim($tmp,'/'); $tmp=$dcrs.$tmp; $local_modchk_help[].="chown apache '$tmp' -R;"; $local_modchk_help[].="chgrp apache '$tmp' -R;"; // $local_modchk_help[].="chmod 777 '$tmp';"; } } } ?> <BR> <BR> <BLOCKQUOTE><CENTER><? local_modchk("../_logs/",getlang("ล็อกไฟล์::l::Log file storage")); local_modchk("../_cache/",getlang("Cache โฟลเดอร์::l::Cache Folder")); local_modchk("../_tmp/logo/",getlang("อัพโหลดไฟล์โลโก้::l::Upload Logo")); local_modchk("../_fulltext/",getlang("ที่เก็บฟูลเท็กซ์::l::Fulltext's files place")); local_modchk("../_session/",getlang("Session file holder")); local_modchk("../_globalupload/",getlang("GlobalUpload's files place")); local_modchk("../_input/",getlang("GlobalUpload's files place")); local_modchk("../css/",getlang("CSS files place")); local_modchk("../_idx.presentation/cache/",getlang("Resized for presentation files place")); ?></CENTER></BLOCKQUOTE><? //printr($local_modchk_help); if (count($local_modchk_help)!=0) { $local_modchk_help=array_unique($local_modchk_help); $local_modchk_help=join($local_modchk_help,"<BR>"); ?><TABLE class=table_border width=500 align=center> <TR> <TD class=table_head><? echo getlang("หากคุณเป็นผู้ดูแลระบบเซิร์ฟเวอร์บนระบบปฏิบัติการ Linux::l::If you are server administrator (Linux) ");?></TD> </TR> <TR> <TD class=table_td><? echo $local_modchk_help;?></TD> </TR> </TABLE><? } ?><TABLE width=500 align=center cellpadding="0" cellspacing=0> <TR> <TD align=center>Server time : <? echo ymd_datestr(time());?></TD> </TR> </TABLE><? foot(); ?>