📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: process_schedule.php
<?php define('INCLUDE_CHECK',true); include_once 'connect.php'; $key=trim($_REQUEST['key']); #display all un assign process priority. if($key==1) { $eid=trim($_REQUEST['eid']); $res=mysql_query("select priority from process_schedule where status=0 order by 1 limit 1",$link1); if(mysql_num_rows($res)==0) { echo "<font color='brown'>Sorry, Maximum Scheduled process is reached.</font>";exit; } $rows=mysql_fetch_array($res); /*while($row=mysql_fetch_array($res)) { $schedule_opt.="<option value='$row[priority]'>$row[priority]</option>"; } $schedule_opt.="</select>";*/ $schedule_opt="Priority : $rows[0] <input type='hidden' id='priority' name='priority' value='$rows[0]'>"; #get last started running process id $running_process=select1("select process_id from wmail.mprocess where flag in (1,2) and emp_id='$eid' order by process_id desc limit 1"); if(empty($running_process[0])){ echo "<font color='brown' >Sorry, No running process found pls first submit a process..</font>";exit; } $row=select1("select status from process_schedule where priority=1"); if($row[0]==0) { echo "<font color='#000' >Prv Process ID : </font><input name='prv_process_id' id='prv_process_id' style='width:105px;height:27px;background:#F9F9F9;border-radius:4px;border: 1px solid #ccc;' value='$running_process[0]' > $schedule_opt"; exit; }else { $row=select1("SELECT process_id,prv_process_id FROM `process_schedule` where status =1 order by process_id desc limit 1"); echo $schedule_opt."<input type='hidden' name='prv_process_id' id='prv_process_id' value='$row[process_id]'>"; } exit; } #kill the scheduled process.. if($key==2) { $pid=trim($_REQUEST['pid']); $eid=trim($_REQUEST['eid']); #check any scheduled process depends on this process id $resp=mysql_query("SELECT process_id FROM WebXmail.process_schedule where status=1 and prv_process_id = '$pid'" ,$link1); if(mysql_num_rows($resp) > 0 ) { #get previous scheduled process id. $prev_pid=select1("SELECT process_id FROM WebXmail.process_schedule where status=1 and process_id < '$pid' order by process_id desc limit 1"); #scheduled previous id is not found means get last started running process id. if(empty($prev_pid)) { $prev_pid=select1("SELECT process_id FROM wmail.mprocess where flag=2 and emp_id='$eid' order by process_id desc limit 1"); } mysql_query("update WebXmail.process_schedule set prv_process_id=$prev_pid[process_id] where status=1 and prv_process_id = '$pid'" ,$link1); } $off=mysql_query("update WebXmail.process_schedule set status=0 where process_id='$pid'",$link1); $off1=mysql_query("update wmail.mprocess set flag='3' where process_id='$pid'",$link1); if($off==true && $off1==true) { echo "<span class='label label-important'>Killed</span>"; }else { echo "<span class='label label-important'>Failed</span>"; } exit; } ?>
Save