<form action="calendar.php?action=savewar" method="post">
  <table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="$border">
    <tr> 
      <td class="title" align="center" bgcolor="$bghead">new upcoming war</td>
    </tr>
    <tr> 
      <td bgcolor="$pagebg"></td>
    </tr>
    <tr> 
      <td bgcolor="$bg1"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="0" class="formtable">
          <tr> 
            <td align="right">Date - Time:</td>
            <td><select name="day">$day
              </select> <select name="month">$month
              </select> <select name="year">$year
              </select>
              - 
              <input name="hour" type="text" value="$hours" size="2" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'">
              : 
              <input name="minute" type="text" value="$minutes" size="2" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td align="right">Squad:</td>
            <td><select name="squad">$squads
              </select></td>
          </tr>
          <tr> 
            <td align="right">League:</td>
            <td><input name="league" type="text" value="$ds[league]" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td align="right">League-Homepage</td>
            <td><input name="leaguehp" type="text" value="http://" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td align="right">Opponent:</td>
            <td><input name="opponent" type="text" value="$ds[opponent]" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"> </td>
          </tr>
          <tr> 
            <td align="right">Opponent Clantag:</td>
            <td><input name="opptag" type="text" size="8" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td align="right">Opponent-Country:</td>
            <td><select name="oppcountry">$countries
              </select></td>
          </tr>
          <tr> 
            <td align="right">Opponent-Homepage</td>
            <td><input name="opphp" type="text" value="$opphp" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td align="right">Maps:</td>
            <td><input name="maps" type="text" value="$ds[map]" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td align="right">Server:</td>
            <td><input name="server" type="text" value="$ds[server]" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td align="right" valign="top">Information:</td>
            <td><textarea name="warinfo" cols="45" rows="7" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'">$ds[info]</textarea></td>
          </tr>
          <tr> 
            <td align="right">&nbsp;</td>
            <td><input name="messages" class="input" type="checkbox" value="true" checked>
              send messages to all players of squad<br>
			  <input type="hidden" name="chID" value="$chID">
			  <input type="hidden" name="userID" value="$userID">
              <input name="post" type="submit" value="save upcoming war"></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>

