<select name="hour"><?php echo get_hour(); ?> </select> : <select name="minute"><?php echo get_minute(); ?> </select> </div> <div id="delayoption" class="hidden"> <select name="delayhour"><?php echo get_hour(); ?> </select> Hour <select name="delayminute"><?php echo get_minute(); ?> </select> Minutes </div> </td> </tr> <tr> <td align="right" class="label"><?php echo lang('kalkun_sms_mode') . ":"; ?> </td> <td><input type="checkbox" id="sms_mode" name="sms_mode" value="1" class="left_aligned" /> <label for="sms_mode">Send as Flash SMS</label> </td> </tr>
$smarty->assign('page_list', $page_list); $smarty->display('cron_edit.htm'); } elseif ($_POST['step'] == 2) { $links[] = array('text' => $_LANG['back_list'], 'href' => 'cron.php?act=list'); if (empty($_POST['cron_id'])) { sys_msg($_LANG['cron_not_available'], 0, $links); } $cron_config = array(); if (isset($_POST['cfg_value']) && is_array($_POST['cfg_value'])) { $temp = count($_POST['cfg_value']); for ($i = 0; $i < $temp; $i++) { $cron_config[] = array('name' => trim($_POST['cfg_name'][$i]), 'type' => trim($_POST['cfg_type'][$i]), 'value' => trim($_POST['cfg_value'][$i])); } } $cron_config = serialize($cron_config); $cron_minute = get_minute($_POST['cron_minute']); if ($_POST['ttype'] == 'day') { $cron_day = $_POST['cron_day']; $cron_week = ''; } elseif ($_POST['ttype'] == 'week') { $cron_day = ''; $cron_week = $_POST['cron_week']; } else { $cron_day = $cron_week = ''; } if ($cron_week == 7) { $cron_week = 0; } $_POST['alow_files'] = isset($_POST['alow_files']) ? implode(' ', $_POST['alow_files']) : ""; !isset($_POST['cron_run_once']) && ($_POST['cron_run_once'] = 0); //$_POST['cron_run_once'] = (int)$_POST['cron_run_once'];