Git Codebase - Sn0wlink IT
FredMin/modules
[...] Up Directory
add-sys-user.php
authlog.php
backup.php
cmd-line.php
cron-editor.php
debuglog.php
edit-hostname.php
edit-ip.php
file-explorer.php
foot.php
head.php
kernallog.php
logs.php
offsite-backup.php
passwd-change.php
phpinfo.php
remove-user.php
restart-apache.php
restart-mysql.php
restart-server.php
restart-ssh.php
smart.php
software.php
update.php
cron-editor.php
<?php // Page name $pagename ="Cronjob Editor"; // Include Files include ('./config/config.php'); include ('head.php'); include ('../functions.php'); // Open File $readfile = shell_exec('sudo cat /etc/cron.d/php'); echo " <form action='#' method='post'> <textarea rows='30' cols='140' name='text'> $readfile </textarea><br /> <input type='submit' name='submit' value='Save'> </form> "; $textarea = $_POST["textarea"]; if ($_POST != ""){ echo $textbox; } // Footer include ('foot.php'); ?>