403Webshell
Server IP : 202.29.229.35  /  Your IP : 18.119.120.88
Web Server : Apache
System : Linux aapanel2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : www ( 1001)
PHP Version : 5.5.38
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/www.ivecr2.ac.th/stdcard/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/www.ivecr2.ac.th/stdcard/card_print_formback.php
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>

<?php 
//รูปแบบ วัดเดือน ปี เกิด
$today=getdate();
$curday=date("j");
$curmonth=date("n");
$curyear=$today["year"];
$thai_n=array("มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฏาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม");

$thai_e=array("January","February","March","April","May","June","July","August","September","October","November","December");

$c_month = $thai_n[$curmonth - 1];
$curdate=date("$curyear-$curmonth-$curday");
$cyear=$curyear+543;
$cdate=date("$curday/$curmonth/$cyear");
$datenull=date("0000-00-00");
$thai_day_arr=array("อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์");   
$eng_date = strtotime("$curyear-$curmonth-$curday");    
$startyear = 2000;
$endyear =  $curyear+5;
//   ตัวอย่าง การเรียกใช้     $thai_day =  $thai_day_arr[date("w",$eng_dat
		include("connect/connect.php");
		$isschool=$_GET['isschool'];//รหัสสถาศึกษาในสังกัด
		$sqlsc="select * from tbl_school where subscID='$isschool' ";
		$resultsc=mysql_query($sqlsc);
		$rssc=mysql_fetch_array($resultsc);
		$scname = $rssc['scName'];
?>	
<h1>&nbsp;</h1>
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
  <table width="100%" border="0" cellspacing="5" cellpadding="2">
    <tr>
      <td colspan="2" align="center" valign="top"><h1><?php echo $scname;?></h1>
      <h1>พิมพ์บัตรประจำตัวนักเรียนนักศึกษา</h1></td>
    </tr>
    <tr>
      <td width="200" align="right" valign="top">ค้นหาตามรหัสกลุ่ม :</td>
      <td width="300" align="left" valign="top"><label for="group_id"></label>
      <input name="group_id" type="text" id="group_id" size="25" /> 
      *เช่น 57210101</td>
    </tr>
    <tr>
      <td width="200" align="right" valign="top">ค้นหาตามรหัสประจำตัวนักศึกษา :</td>
      <td width="300" align="left" valign="top"><label for="student_id"></label>
      <input name="student_id" type="text" id="student_id" size="25" /> 
      *เช่น5721010001</td>
    </tr>
    <tr>
      <td colspan="2" align="center" valign="top"><input type="submit" name="button" id="button" value="Submit" />  <input type="reset" name="button2" id="button2" value="Reset" /></td>
    </tr>
    <tr>
      <td colspan="2" align="center" valign="top"><a href="index2.php">กลับหน้าหลัก</a></td>
    </tr>
  </table>
</form>
<?php 
 if($_REQUEST['student_id'] != '' || $_REQUEST['student_id'] != NULL || $_REQUEST['group_id'] !='' || $_REQUEST['group_id'] != NULL){
	 
?>
<center>
<iframe src="http://ivecr2.ac.th/stdcard/print_cardback.php?student_id=<?php echo $_REQUEST['student_id'];?>&group_id=<?php echo $_REQUEST['group_id'];?>&status=test&isschool=<?php echo $isschool;?>" style="width:500px; height:300px;"></iframe>
<br />
<a href="http://ivecr2.ac.th/stdcard/print_cardback.php?student_id=<?php echo $_REQUEST['student_id'];?>&group_id=<?php echo $_REQUEST['group_id'];?>&status=code&isschool=<?php echo $isschool;?>"><button type="button">Print</button></a></center>
<?php  }?>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit