rendered paste body// File 1<? /** * filename.php * * Main file for CMX-Networks * * @author Phillip Tanner <ptanner@cmx-networks.net> * @link http://www.cmx-networks.net * @since March 10, 2006 * @version $Revision: 1.0 $ * @package CodeName : Source * */$filename = "/home/aristot/public_html/admin/edit_files/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'.<br />"; }else{ $file = file("$filename"); echo "<form action=\"".$PHP_SELF."\" method=\"post\">"; echo "<pre><textarea Name=\"update\" cols=\"100\" rows=\"40\">"; foreach($file as $text) echo $text; echo "</textarea></pre>\n"; echo "<input name=\"Submit\" type=\"submit\" value=\"Save\" /></form>";} ?>// 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;}?>