//FILE 1 * @link http://www.cmx-networks.net * @since March 10, 2006 * @version $Revision: 1.0 $ * @package CodeName : Source * */ $filename = "/home/aristot/public_html/docs/TODO"; if($_POST['Submit']) { $open = fopen("$filename","w+"); $text = $_POST['update']; $text = str_replace("\\", "", $text); fwrite($open, $text); fclose($open); echo "File updated.'$filename'.
"; } else { $file = file("$filename"); echo "
"; echo "
\n"; echo "
"; } ?> // INDEX.PHP Case Include /* RSS/XML */ switch ($_GET['action']) { default: include('/home/aristot/public_html/admin/edit_files/main.php'); break; case "edit-st_news": include("/home/aristot/public_html/admin/edit_files/rss/st_news.php"); break; case "edit-qotd": include("/home/aristot/public_html/admin/edit_files/rss/qotd.php"); break; /* Download Manager */ case "edit-rsssync_1.0.121706": include("/home/aristot/public_html/admin/edit_files/downloadmanager/rsssync_1.0.121706.php"); break; case "edit-supportsuit_3.00.32": include("/home/aristot/public_html/admin/edit_files/downloadmanager/supportsuit_3.00.32.php"); break; /* MySpeed */ case "ms-view_by_ip": include("/home/aristot/public_html/admin/edit_files/myspeed/view_by_ip.php"); break; case "ms-view_by_name": include("/home/aristot/public_html/admin/edit_files/myspeed/view_by_name.php"); break; /* Documentation */ case "edit-todo": include("/home/aristot/public_html/admin/edit_files/docs/todo.php"); break; } ?>