} else { if ($_POST['action'] == 'delete_reminder') { delete_cron($_POST['id']); view_pending_cron(); } if ($_POST['action'] == 'show_schedule') { show_schedule(); } if ($_POST['action'] == 'delete_schedule') { delete_schedule($_POST['id']); update_schedule(); show_schedule(); } if ($_POST['action'] == 'update_schedule') { update_schedule(); show_schedule(); } if ($_POST['action'] == 'new_schedule') { new_schedule(); } if ($_POST['action'] == 'save_new_schedule') { save_new_schedule($_POST); update_schedule(); } if ($_POST['action'] == 'day' || $_POST['action'] == 'hour' || $_POST['action'] == 'week' || $_POST['action'] == 'month' || $_POST['action'] == 'year') { view_pending_cron_unitwise($_POST['action']); } if ($_POST['action'] == 'save_cron') { save_cron($_POST); view_pending_cron_unitwise($_POST['unit']); }
<input type="hidden" name="backupid" value="<?php echo $_REQUEST['backupid']; ?> "> <table> <?php Show_Backup_Options($_REQUEST['backupid']); ?> </table> <h5><?php echo _("Run Schedule"); ?> </h5> <table> <?php show_schedule("yes", "{$_REQUEST['backupid']}"); ?> <tr> <td colspan="5" align="center"><input name="Submit" type="submit" value="Submit Changes" ></td> </tr> </table> </form> <?php } else { if ($action == 'upload') { ?> <h3><?php echo _("Upload Backup:"); ?> </h3>