<script language="javaScript" src="<?=$con[img_url]?>/postcode.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
function storeCaret(textEl) {if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();}
function HighlightAll(theField) {
	var tempval=eval("document."+theField)
	tempval.focus()
	tempval.select()
	therange=tempval.createTextRange()
	therange.execCommand("Copy")
}
function DoTitle(addTitle) {
	var revisedTitle;var currentTitle = document.FORM.intopictitle.value;revisedTitle = addTitle+currentTitle;document.FORM.intopictitle.value=revisedTitle;document.FORM.intopictitle.focus();
	return;
}
function checklength(theform){alert("<?=$lang[template][t0001]?>"+theform.content.value.length+"<?=$lang[template][t0002]?>");}
function enable(btn){btn.filters.gray.enabled=0;}
function disable(btn){btn.filters.gray.enabled=1;}
function showimage(){document.images.tus.src="<?=$con[img_url]?>/face/"+document.FORM.headportrait.options[document.FORM.headportrait.selectedIndex].value+".gif";}
function VerifyInput(){
	if (document.FORM.username.value == ""){
		alert("<?=$lang[template][t0003]?>");
		document.FORM.username.focus();
		return false;
	}
	if (document.FORM.content.value == ""){
		alert("<?=$lang[template][t0004]?>");
		document.FORM.content.focus();
		return false;
	}
return true;
}
</script>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0" class="content_table">
<form name="FORM" onsubmit="return VerifyInput();" action="<?=$myfile?>" method="post">
<input type=hidden name="menu" value="savedata" />
  <tr>
    <td height="20" bgcolor="#6B8294">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#D6DFE7" onmouseout="this.style.background='#D6DFE7'" onmouseover="this.style.background='#E3E9EE'"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="20%" height="20" align="center" class="content_td1"><?=$lang[template][t0005]?></td>
        <td width="80%" class="content_td2"><?=$lang[template][t0006]?><font color=#FF0000>*</font>
          <input type="text" name="username" />
          <?=$lang[template][t0007]?>
          <select name="usersex">
        <option value="0" selected><?=$lang[template][t0008]?></option>
        <option value="1"><?=$lang[template][t0009]?></option>
        <option value="2"><?=$lang[template][t0010]?></option>
              </select></td>
      </tr>
<!--
<?php
if($con[post_terseness]!=1){
?>
-->
      <tr>
        <td height="20" align="center" class="content_td1"><?=$lang[template][t0011]?></td>
        <td class="content_td2"><?=$lang[template][t0012]?>
          &nbsp;<input type="text" name="useremail" />
          <?=$lang[template][t0013]?>
          <input name="useroicq" type="text" size="10" maxlength="10" /></td>
      </tr>

      <tr>
        <td height="20" align="center" class="content_td1"><?=$lang[template][t0014]?></td>
        <td class="content_td2"><?=$lang[template][t0015]?>
          &nbsp;<input type="text" name="userhomepage" /></td>
      </tr>
      <tr>
        <td height="20" align="center" class="content_td1"><?=$lang[template][t0016]?></td>
        <td class="content_td2">&nbsp;
		<input name="posticon" type="radio" value="00.gif" checked="checked" /><img src="<?=$con[img_url]?>/posticons/00.gif" width="35" height="35" />
		<input type="radio" name="posticon" value="01.gif" /><img src="<?=$con[img_url]?>/posticons/01.gif" width="35" height="35" />
		<input type="radio" name="posticon" value="02.gif" /><img src="<?=$con[img_url]?>/posticons/02.gif" width="35" height="35" />
		<input type="radio" name="posticon" value="03.gif" /><img src="<?=$con[img_url]?>/posticons/03.gif" width="35" height="35" />
		<input type="radio" name="posticon" value="04.gif" /><img src="<?=$con[img_url]?>/posticons/04.gif" width="35" height="35" />
		<input type="radio" name="posticon" value="05.gif" /><img src="<?=$con[img_url]?>/posticons/05.gif" width="35" height="35" />
		<input type="radio" name="posticon" value="06.gif" /><img src="<?=$con[img_url]?>/posticons/06.gif" width="35" height="35" />
		<input type="radio" name="posticon" value="07.gif" /><img src="<?=$con[img_url]?>/posticons/07.gif" width="35" height="35" />
		
		</td>
      </tr>
      <tr>
        <td height="50" align="center" class="content_td1">『<a href=javascript:checklength(document.FORM);><?=$lang[template][t0017]?></a>』<br />
      『<a href=javascript:HighlightAll('FORM.content')><?=$lang[template][t0018]?></a>』<br />『<a href="javascript:replac()"><?=$lang[template][t0019]?></a>』
	  </td>
        <td class="content_td2">&nbsp;
                          <select onchange="showfont(this.options[this.selectedIndex].value)" size="1" name="font">
                            <option value="no" selected><?=$lang[template][t0020]?></option>
                            <option value="宋体">宋体</option>
                            <option value="楷体_GB2312">楷体</option>
                            <option value="新宋体">新宋体</option>
                            <option value="黑体">黑体</option>
                            <option value="隶书">隶书</option>
                            <option value="Arial">Arial</option>
                            <option value="Impact">Impact</option>
                            <option value="Tahoma">Tahoma</option>
                            <option value="Times New Roman">Times New Roman</option>
                            <option value="else">其他</option>
                          </select>
						  <select onchange="showsize(this.options[this.selectedIndex].value)" size="1" name="size">
                            <option selected><?=$lang[template][t0021]?></option>
                            <option value="9">9</option>
                            <option value="10">10</option>
                            <option value="11">11</option>
                            <option value="12">12</option>
                            <option value="18">18</option>
                            <option value="36">36</option>
                            <option value="72">72</option>
                            <option value="else">其他</option>
                          </select>
						  <select onchange="showcolor(this.options[this.selectedIndex].value)" size="1" name="color">
                            <option value="no" selected><?=$lang[template][t0022]?></option>
                            <option style="color: #000000; background-color: #000000" value="#000000">
                            #000000</option>
                            <option style="color: #ffffff; background-color: #ffffff" value="#FFFFFF">

                            #FFFFFF</option>
                            <option style="color: #ff0000; background-color: #ff0000" value="#FF0000">
                            #FF0000</option>
                            <option style="color: #00ff00; background-color: #00ff00" value="#00FF00">
                            #00FF00</option>
                            <option style="color: #0000ff; background-color: #0000ff" value="#0000FF">
                            #0000FF</option>
                            <option style="color: #00ffff; background-color: #00ffff" value="#00FFFF">
                            #00FFFF</option>
                            <option style="color: #ffebcd; background-color: #ffebcd" value="#FFEBCD">
                            #FFEBCD</option>
                            <option style="color: #5f9ea0; background-color: #5f9ea0" value="#5F9EA0">
                            #5F9EA0</option>
                            <option style="color: #6495ed; background-color: #6495ed" value="#6495ED">
                            #6495ED</option>
                            <option>其他</option>
                          </select>
                           <br />&nbsp;
						  <img onclick="bold()" alt="<?=$lang[template][t0023]?>" src="<?=$con[img_url]?>/wmbb/bold.gif" width="23" height="22" />
                          <img onclick="italicize()" alt="<?=$lang[template][t0024]?>" src="<?=$con[img_url]?>/wmbb/italicize.gif" width="23" height="22" />
                          <img onclick="underline()" alt="<?=$lang[template][t0025]?>" src="<?=$con[img_url]?>/wmbb/underline.gif" width="23" height="22" />
                          <img onclick="center()" alt="<?=$lang[template][t0026]?>" src="<?=$con[img_url]?>/wmbb/center.gif" width="23" height="22" />
                          <img onclick="hyperlink()" alt="<?=$lang[template][t0027]?>" src="<?=$con[img_url]?>/wmbb/url.gif" width="23" height="22" />
                          <img onclick="email()" alt="<?=$lang[template][t0028]?>" src="<?=$con[img_url]?>/wmbb/email.gif" width="23" height="22" />
                          <img onclick="image()" alt="<?=$lang[template][t0029]?>" src="<?=$con[img_url]?>/wmbb/image.gif" width="23" height="22" />
                          <img onclick="setswf()" alt="<?=$lang[template][t0030]?>" src="<?=$con[img_url]?>/wmbb/swf.gif" width="23" height="22" />
						  <img onclick="list()" alt="<?=$lang[template][t0031]?>" src="<?=$con[img_url]?>/wmbb/list.gif" width="23" height="22" />
						  <img onclick="showcode()" alt="<?=$lang[template][t0032]?>" src="<?=$con[img_url]?>/wmbb/code.gif" width="23" height="22" />
                          <img onclick="setfly()" alt="<?=$lang[template][t0033]?>" src="<?=$con[img_url]?>/wmbb/fly.gif" width="23" height="22" />
                          <img onclick="shadow()" alt="<?=$lang[template][t0034]?>" src="<?=$con[img_url]?>/wmbb/shadow.gif" width="23" height="22" />
		</td>
      </tr>
<!--
<?php
}
?>
-->
      <tr>
        <td align="center" class="content_td1"><img src="<?=$con[img_url]?>/face/01.gif" name="tus" /></td>
        <td align="center" valign="top" class="content_td2">
		<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="10" height="1" align="center"><font color="#FF0000">*</font></td>
    <td width="389" rowspan="2" valign="top"><textarea name="content" cols="70" rows="7" onkeydown="quickpost();" onfocus="getActiveText(this);" onclick="getActiveText(this);"  onchange="getActiveText(this);"></textarea>
	</td>
  </tr>
  <tr>
    <td>
	<?=$lang[template][t0035]?>
	</td>
  </tr>
</table>
		</td>
      </tr>
      <tr>
        <td height="20" align="center" class="content_td3">
		<select name="headportrait" size=1 onChange="showimage()">
		<option value="01"><?=$lang[template][t0036]?></option>
		<option value="01">01</option><option value="02">02</option><option value="03">03</option><option value="04">04</option><option value="05">05</option><option value="06">06</option><option value="07">07</option><option value="08">08</option><option value="09">09</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option>
          </select>
		  </td>
        <td align="center"><input type="submit" value="<?=$lang[template][t0037]?>" name="button" />
                          &nbsp;
            <input type="reset" name="Submit" value="<?=$lang[template][t0038]?>" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="20" bgcolor="#6B8294">&nbsp;</td>
  </tr>
  </form>
</table>
<br />