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 : |
<!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> </h1> <table width="100%" border="0" cellspacing="5" cellpadding="2"> <tr> <td width="500" align="center" valign="top"><h1><?php echo $scname;?></h1> <h1>พิมพ์บัตรประจำตัวนักเรียนนักศึกษา</h1></td> </tr> <tr> <td align="center" valign="top"><a href="index2.php">กลับหน้าหลัก</a></td> </tr> </table> <p> </p> <?php if($_REQUEST['student_id'] != '' || $_REQUEST['student_id'] != NULL || $_REQUEST['group_id'] !='' || $_REQUEST['group_id'] != NULL){ ?> <center> <iframe src="http://lbtech.ac.th/stdcard/print_cardShow.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://lbtech.ac.th/stdcard/print_card.php?student_id=<?php echo $_REQUEST['student_id'];?>&group_id=<?php echo $_REQUEST['group_id'];?>&status=code&isschool=<?php echo $isschool;?>" target="_blank"><button type="button">Print</button></a></center> <hr /> <center> <iframe src="http://lbtech.ac.th/stdcard/print_cardbackShow.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://lbtech.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;?>" target="_blank"><button type="button">Print</button></a></center> <?php }?> <p> </p> <p> </p> </body> </html>