<select name="excludes[]" multiple="multiple" style="min-width: 150px; height: 6.3em;"> <?php $trades = dir_read_files(DIR_TRADES); echo form_options_multi($trades, $item['excludes']); ?> </select> </span> </div> <div class="field"> <label>Send Method:</label> <span> <select name="send_method"> <?php $send_methods = array('Normal', 'Only to trades', 'To content if specified, otherwise to Traffic URL', 'Only to Traffic URL'); echo form_options_hash($send_methods, $item['send_method']); ?> </select> </span> </div> <div class="field"> <label>Traffic URL:</label> <span><input type="text" name="traffic_url" value="<?php echo $item['traffic_url']; ?> " size="80"></span> </div> </div> </div>
?> </select> </span> </div> <div class="field"> <label class="short">Requirement:</label> <div class="d-inline-block"> <?php for ($i = 0; $i < count($item['req_field']); $i++) { ?> <div style="margin: 2px 0px;"> <select name="req_field[]"> <option value=""></option> <?php echo form_options_hash($sorters, $item['req_field'][$i]); ?> </select> <select name="req_operator[]"> <option value=""></option> <?php $operators = array('>', '>=', '<', '<='); echo form_options($operators, $original['req_operator'][$i]); ?> </select> <input type="text" name="req_value[]" size="10" value="<?php echo $item['req_value'][$i]; ?> "/>
<select name="start_minute[]"> <?php $minutes = array(); foreach (range(0, 59) as $i) { $minutes[] = sprintf("%02d", $i); } echo form_options($minutes, $scheme['start_minute']); ?> </select> </span> <label class="short">End:</label> <span> <select name="end_day[]"> <?php echo form_options_hash($days, $scheme['end_day']); ?> </select> at <select name="end_hour[]"> <?php echo form_options($hours, $scheme['end_hour']); ?> </select> : <select name="end_minute[]"> <?php echo form_options($minutes, $scheme['end_minute']); ?> </select> </span> </div>