<form action="clanwars.php?action=save" method="post" name="post">
  <table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="$border">
    <tr> 
      <td class="title" align="center" bgcolor="$bghead">new clanwar</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>Date:</td>
            <td><select name="day">$day
              
              </select> <select name="month">$month
              
              </select> <select name="year">$year
              
              </select></td>
            <td>Squad / Game:</td>
            <td><select name="squad">$squads
             
              </select> <select name="game">$games
             
              </select></td>
          </tr>
          <tr> 
            <td colspan="4"><hr noshade size="1" color="$border"></td>
          </tr>
          <tr> 
            <td>League:</td>
            <td><input name="league" type="text" value="$league" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
            <td>Homepage:</td>
            <td><input name="leaguehp" type="text" value="$leaguehp" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
            <tr>
            <td>Liga Match Link:</td>
            <td><input name="linkpage" type="text" value="$linkpage" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td colspan="4"><hr noshade size="1" color="$border"></td>
          </tr>
          <tr> 
            <td>Opponent:</td>
            <td><input name="opponent" type="text" value="$opponent" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"> 
            </td>
            <td>Clantag:</td>
            <td><input name="opptag" type="text" value="$opptag" size="8" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td>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>
            <td>Country:</td>
            <td><select name="oppcountry">$countries 
              </select></td>
          </tr>
          <tr> 
            <td colspan="4"><hr noshade size="1" color="$border"></td>
          </tr>
          <tr> 
            <td>Server:</td>
            <td><input name="server" type="text" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
            <td>HLTV-Server:</td>
            <td><input name="hltv" type="text" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td colspan="4"><hr noshade size="1" color="$border"></td>
          </tr>
          <tr> 
            <td valign="top">Home-Team:</td>
            <td valign="top"><select name="hometeam[]" size="8" multiple>$hometeam 
              </select> </td>
            <td valign="top">Opponent-Team:</td>
            <td valign="top"><input name="oppteam" type="text" size="35" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></td>
          </tr>
          <tr> 
            <td colspan="4"><hr noshade size="1" color="$border"></td>
          </tr>
					<tr>
						<td colspan="4">
							<table width="100%" id="maplist">
								<tr>
									<td width="15%">Map ID:</td>
									<td width="30%">Map:</td>
									<td width="20%">Score Home:</td>
									<td width="20%">Score Opponent:</td>
									<td>
										<a href="javascript:;" onClick="addRow();" title="add map"><img src="images/icons/expand.gif" border="0"></a>
										<a href="javascript:;" onClick="removeRow();" title="remove map"><img src="images/icons/collapse.gif" border="0"></a>
									</td>
								</tr>
							</table>
						</td>
					</tr>
          <tr> 
            <td colspan="4"><hr noshade size="1" color="$border"></td>
          </tr>
          <tr> 
            <td valign="top">Report:</td>
            <td colspan="3" valign="top"><textarea name="report" cols="110" rows="11" class="form_off" onFocus="this.className='form_on'" onBlur="this.className='form_off'"></textarea></td>
          </tr>
          <tr> 
            <td colspan="4"><hr noshade size="1" color="$border"></td>
          </tr>
          <tr>
            <td colspan="4" align="right"> <input name="news" type="checkbox" class="input" value="true" checked>
              Publish Clanwar News?
			  <select name="comments">
			  <option value="0">disable comments</option>
			  <option value="1">enable user comments</option>
			  <option value="2" selected>enable visitor comments</option>
			</select> 
              <input name="post" type="submit" value="save clanwar"> </td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>

