<table border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td class="body" nowrap>Time Of Day:</td>
  </tr>
  <tr>
    <td colspan="2" class="body">
      <ul><select class="object" name="scm_hour">
        <option value="1" <%if scm_hour eq '1'%>selected<%endif%>>1 (1 AM)</option>
        <option value="2" <%if scm_hour eq '2'%>selected<%endif%>>2 (2 AM)</option>
        <option value="3" <%if scm_hour eq '3'%>selected<%endif%>>3 (3 AM)</option>
        <option value="4" <%if scm_hour eq '4'%>selected<%endif%>>4 (4 AM)</option>
        <option value="5" <%if scm_hour eq '5'%>selected<%endif%>>5 (5 AM)</option>
        <option value="6" <%if scm_hour eq '6'%>selected<%endif%>>6 (6 AM)</option>
        <option value="7" <%if scm_hour eq '7'%>selected<%endif%>>7 (7 AM)</option>
        <option value="8" <%if scm_hour eq '8'%>selected<%endif%>>8 (8 AM)</option>
        <option value="9" <%if scm_hour eq '9'%>selected<%endif%>>9 (9 AM)</option>
        <option value="10" <%if scm_hour eq '10'%>selected<%endif%>>10 (10 AM)</option>
        <option value="11" <%if scm_hour eq '11'%>selected<%endif%>>11 (11 AM)</option>
        <option value="12" <%if scm_hour eq '12'%>selected<%endif%>>12 (12 AM)</option>
        <option value="13" <%if scm_hour eq '13'%>selected<%endif%>>13 (1 PM)</option>
        <option value="14" <%if scm_hour eq '14'%>selected<%endif%>>14 (2 PM)</option>
        <option value="15" <%if scm_hour eq '15'%>selected<%endif%>>15 (3 PM)</option>
        <option value="16" <%if scm_hour eq '16'%>selected<%endif%>>16 (4 PM)</option>
        <option value="17" <%if scm_hour eq '17'%>selected<%endif%>>17 (5 PM)</option>
        <option value="18" <%if scm_hour eq '18'%>selected<%endif%>>18 (6 PM)</option>
        <option value="19" <%if scm_hour eq '19'%>selected<%endif%>>19 (7 PM)</option>
        <option value="20" <%if scm_hour eq '20'%>selected<%endif%>>20 (8 PM)</option>
        <option value="21" <%if scm_hour eq '21'%>selected<%endif%>>21 (9 PM)</option>
        <option value="22" <%if scm_hour eq '22'%>selected<%endif%>>22 (10 PM)</option>
        <option value="23" <%if scm_hour eq '23'%>selected<%endif%>>23 (11 PM)</option>
        <option value="24" <%if scm_hour eq '24'%>selected<%endif%>>24 (12 PM)</option>
      </select> :
      <select class="object" name="scm_minute">
        <option value="0" <%ifnot scm_minute%>selected<%endif%>>0</option>
        <option value="5" <%if scm_minute eq '5'%>selected<%endif%>>5</option>
        <option value="10" <%if scm_minute eq '10'%>selected<%endif%>>10</option>
        <option value="15" <%if scm_minute eq '15'%>selected<%endif%>>15</option>
        <option value="20" <%if scm_minute eq '20'%>selected<%endif%>>20</option>
        <option value="25" <%if scm_minute eq '25'%>selected<%endif%>>25</option>
        <option value="30" <%if scm_minute eq '30'%>selected<%endif%>>30</option>
        <option value="35" <%if scm_minute eq '35'%>selected<%endif%>>35</option>
        <option value="40" <%if scm_minute eq '40'%>selected<%endif%>>40</option>
        <option value="45" <%if scm_minute eq '45'%>selected<%endif%>>45</option>
        <option value="50" <%if scm_minute eq '50'%>selected<%endif%>>50</option>
        <option value="55" <%if scm_minute eq '55'%>selected<%endif%>>55</option>
      </select>
    </td>
  </tr>
  <tr class="body">
    <td valign="top" class="body">Frequency:</td>
  </tr>
  <tr>
    <td class="body"><ul>
      <table cellpadding="3" cellspacing="0">
        <tr>
          <td class="body" width="1"><input type="radio" name="scm_type" <%if scm_type == 1%>checked<%endif%> value="1"></td>
          <td class="body"><nobr>Once on
            <input type="text" name="opt_date" size="10" maxlength="10" value="<%if opt_date%><%opt_date%><%endif%>" class="object"> <font size=1><%GList::language('SYS_DATE_FORMAT')%></font>
          </td>
        </tr>
        <tr>
          <td class="body"><input type="radio" name="scm_type" <%if scm_type == 2%>checked<%endif%> value="2"></td>
          <td class="body">Daily</td>
        </tr>
        <tr>
          <td class="body"><input type="radio" name="scm_type" <%if scm_type == 3%>checked<%endif%> value="3"></td>
          <td class="body"><nobr>Weekly on
            <select name="opt_weekly" class="object">
              <option value="">---</option>
              <option <%if opt_weekly eq 'Monday'%>selected<%endif%> value="Monday">Monday</option>
              <option <%if opt_weekly eq 'Tuesday'%>selected<%endif%> value="Tuesday">Tuesday</option>
              <option <%if opt_weekly eq 'Wednesday'%>selected<%endif%> value="Wednesday">Wednesday</option>
              <option <%if opt_weekly eq 'Thursday'%>selected<%endif%> value="Thursday">Thursday</option>
              <option <%if opt_weekly eq 'Friday'%>selected<%endif%> value="Friday">Friday</option>
              <option <%if opt_weekly eq 'Saturday'%>selected<%endif%> value="Saturday">Saturday</option>
              <option <%if opt_weekly eq 'Sunday'%>selected<%endif%> value="Sunday">Sunday</option>
            </select>
          </td>
        </tr>
        <tr>
          <td class="body"><input type="radio" name="scm_type" value="4" <%if scm_type == 4%>checked<%endif%>></td>
          <td class="body">Monthly 
            <select class="object" name="opt_monthly">
              <option value="">---</option>
              <option <%if opt_monthly eq '1'%>selected<%endif%>>1</option>
              <option <%if opt_monthly eq '2'%>selected<%endif%>>2</option>
              <option <%if opt_monthly eq '3'%>selected<%endif%>>3</option>
              <option <%if opt_monthly eq '4'%>selected<%endif%>>4</option>
              <option <%if opt_monthly eq '5'%>selected<%endif%>>5</option>
              <option <%if opt_monthly eq '6'%>selected<%endif%>>6</option>
              <option <%if opt_monthly eq '7'%>selected<%endif%>>7</option>
              <option <%if opt_monthly eq '8'%>selected<%endif%>>8</option>
              <option <%if opt_monthly eq '9'%>selected<%endif%>>9</option>
              <option <%if opt_monthly eq '10'%>selected<%endif%>>10</option>
              <option <%if opt_monthly eq '11'%>selected<%endif%>>11</option>
              <option <%if opt_monthly eq '12'%>selected<%endif%>>12</option>
              <option <%if opt_monthly eq '13'%>selected<%endif%>>13</option>
              <option <%if opt_monthly eq '14'%>selected<%endif%>>14</option>
              <option <%if opt_monthly eq '15'%>selected<%endif%>>15</option>
              <option <%if opt_monthly eq '16'%>selected<%endif%>>17</option>
              <option <%if opt_monthly eq '17'%>selected<%endif%>>17</option>
              <option <%if opt_monthly eq '18'%>selected<%endif%>>18</option>
              <option <%if opt_monthly eq '19'%>selected<%endif%>>19</option>
              <option <%if opt_monthly eq '20'%>selected<%endif%>>20</option>
              <option <%if opt_monthly eq '21'%>selected<%endif%>>21</option>
              <option <%if opt_monthly eq '22'%>selected<%endif%>>22</option>
              <option <%if opt_monthly eq '23'%>selected<%endif%>>23</option>
              <option <%if opt_monthly eq '24'%>selected<%endif%>>24</option>
              <option <%if opt_monthly eq '25'%>selected<%endif%>>25</option>
              <option <%if opt_monthly eq '26'%>selected<%endif%>>26</option>
              <option <%if opt_monthly eq '27'%>selected<%endif%>>27</option>
              <option <%if opt_monthly eq '28'%>selected<%endif%>>28</option>
              <option <%if opt_monthly eq '29'%>selected<%endif%>>29</option>
              <option <%if opt_monthly eq '30'%>selected<%endif%>>30</option>
              <option <%if opt_monthly eq '31'%>selected<%endif%>>31</option>
            </select>
          </td>
        </tr>
        <tr>
            <td class="body" colspan="2">Update text part with content from the following URL
              <input type="text" name="scm_text_url" class="object"  value="<%if scm_text_url%><%scm_text_url%><%endif%>" size="50">
            </td>
        </tr>
        <tr>
            <td class="body" colspan="2">Update html part with content from the following URL
              <input type="text" name="scm_html_url" class="object" value="<%if scm_html_url%><%scm_html_url%><%endif%>" size="50">
            </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
