Server IP : 119.59.102.212 / Your IP : 3.133.157.170 Web Server : Apache/2 System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64 User : yangkam ( 1022) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/calendar/ |
Upload File : |
<?php session_start(); //include("../../function.php"); //admin_web_carlenda("index.php"); echo "<title>: : : ปฎิทินกิจกรรม : : :</title>"; echo"<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>"; echo"<link href='style.css' rel='stylesheet' type='text/css'>"; include("../../../$_SESSION[web_name]/connect.php"); import_request_variables('pG', 'p_'); if($p_date!="") { $date=trim($p_date); } if($p_month!="") { $month=trim($p_month); } if($p_year!="") { $year=trim($p_year); } if($p_id_dels!="") { $id_dels=trim($p_id_dels); } // ทำการลบ file ออกจากระบบ $sql="select file from cms_calendar where id='$id_dels'"; $result=mysql_query($sql); $data=mysql_fetch_row($result); if($data[0]!="") { unlink("../../../$_SESSION[web_name]/module_calendar/$data[0]"); } //loop delete calendar $sql2 = "delete from cms_calendar where id='$id_dels'"; $result2 = mysql_query($sql2); ?> <table width='100%' border='0' cellspacing='1' bgcolor='aaaaaa' align='center' cellpadding='0'> <tr> <td bgcolor="#FFFFFF" height="290" valign="top"> <? echo "<center><br><br><br><br><br>ข้อมูลได้ถูกลบเรียบร้อยแล้ว</center>"; echo"<meta http-equiv='refresh' content='0; url=showevent.php?date=$date&month=$month&year=$year'>"; ?> </td> </tr> </table>