Server IP : 202.29.229.35 / Your IP : 3.134.110.23 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/research/ |
Upload File : |
<?php @session_start(); //error_reporting(0); /*if($_SESSION['r_statuslogin'] != 1){ echo '<META HTTP-EQUIV="Refresh" CONTENT="0;URL=Loginadmin.php">'; exit(); } */ include("connect/connect.php"); ?> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script> $(document).ready(function() { $('#frm_grade').formValidation(); }); function chkdel(id){ if(confirm('คุณต้องการลบรายการนี้ [ใช่/ไม่]')){ return true; }else{ return false; } } $(document).on('click', '.confirm_delete', function(e) { var show = $(this).data('show'); e.preventDefault(); bootbox.confirm({ title:'ยืนยันการลบข้อมูล', //size: 'small', message: 'คุณต้องการลบรายการนี้ [ใช่/ไม่]', buttons: { confirm: { label:'ตกลง', className:'btn-success' }, cancel: { label:'ยกเลิก', className:'btn-danger' } }, callback: function(result){ if (result) { window.location.href = e.target.href; } } }); }); </script> <p> <!---<center>จำนวนนักเรียนทั้งหมด <?php echo number_format($totalstd);?> คน</center>-- แหล่งสืบค้นข้อมูลผลงานวิจัย นวัตกรรม สิ่งประดิษฐ์ภายนอก--> <hr /> <!------------------- <form name="studentForm" id="eduForm" method="post" action="" class="form-horizontal form-validate"> <div class="form-group"> <label class="control-label col-sm-2">ปีที่จัดทำ</label> <div class="col-sm-3"> <input type="text" name="studentcodeSearch" maxlength="300" value="" id="studentcodeSearch" class="form-control" > </div> </div> <div class="form-group"> <label class="control-label col-sm-2">ชื่อผลงาน</label> <div class="col-sm-3"> <input type="text" name="seachname" maxlength="300" value="" class="form-control"> </div> </div> <div class="form-group"> <div class="col-sm-3"></div> </div> <div class="form-group"> <label class="control-label col-sm-2"></label> <div class="col-sm-3"> <a href="?na=addstd"><button type="submit" class="btn btn-success" > <i class="fa fa-search" aria-hidden="true"> ค้นหา</i></button></a> <a href="?na=addstd"><button type="button" class="btn btn-default"><i class="fa fa-refresh" aria-hidden="true"> เริ่มใหม่</i></button></a> <input name="statuSubmit" type="hidden" id="statuSubmit" value="1" /> </div> </div> </form> ---------------> <?php /**/ $statuSubmit= $_REQUEST['statuSubmit']; $seachstdid =$_POST['studentcodeSearch']; $seachname =$_POST['seachname']; //if($statuSubmit == 1){ $sqlstdtitle="select * from research order by res_year DESC "; //$sqlstdtitle="select * from student "; //echo "==>".$sqlstdtitle; $resultstdtitle=mysqli_query($connect1,$sqlstdtitle); $totalstd=mysqli_num_rows($resultstdtitle); ?> <h3>ข้อมูลผลงานวิจัย นวัตกรรม สิ่งประดิษฐ์ <!---ทั้งหมด <?php //echo number_format($totalstd);?> ผลงาน--></h3> <!----------------ตารางแสดงข้อมูล------------ <table cellspacing="0" width="100%" class="table table-hover table-bordered table-gray">-----> <table cellspacing="0" width="100%" class="table table-hover table-bordered grid-hundred table-gray"> <thead> <tr> <th width="" class="text-center">ที่</th> <th width=""><div align="center">ปีที่จัดทำ</th> <th width=""><center>ชื่อผลงาน</center></th> <th width=""><div align="center">ผู้จัดทำ</div></th> </tr> </thead> <tbody> <?php $n=0; while($rsstdtitle=mysqli_fetch_assoc($resultstdtitle)){ $n++; // echo ">>".$rsstdtitle['res_name']; ?> <tr style="text-align:center"> <td align="center"><?php echo $n; ?></td> <td align="center"><?php echo $rsstdtitle['res_year']; ?></td> <?php if($rsstdtitle['res_file'] != ""){ ?> <td align="left"><a href="fileresearch/<?php echo $rsstdtitle['res_file']; ?>" target="_blank"><?php echo $rsstdtitle['res_name']; ?></a></td> <?php }else{ ?> <td align="left"><?php echo $rsstdtitle['res_name']; ?></td> <?php } ?> <td align="left"> <?php echo $rsstdtitle['res_per']; ?></td> </tr> <?php }//End while select student ?> </tbody> </table> <?php /* }else{//end if statusSubmit echo ""; } */ ?>>