{?set jieqi_blocks_module = "system"?}
{?set jieqi_blocks_config = "userblocks"?}
<div id="tabreport" style="padding:10px;">
 <div class="tablist">
     <ul>
	     {?section name=i loop=$rsortrows?}
         <li><a href="javascript:void(0)" onClick="selecttab(this)"{?if $i['index'] == 0?} class="selected"{?/if?}>{?$rsortrows[i].caption?}</a></li>
		 {?/section?}
    </ul>
  </div>
  <div class="tabcontent">
     {?section name=i loop=$rsortrows?}
     <div class="tabvalue"{?if $i['index'] > 0?} style="display:none"{?/if?}>
	 <form name="frmreport" action="{?$jieqi_url?}/report.php?do=submit" method="post">
	<table class="hide" width="100%" align="center">
      <tr valign="middle" align="left">
        <td class="odd" width="25%">类型：<span class="hottext">(必填)</span></td>
        <td class="even">
		{?section name=j loop=$i['value']['types']?}
		<input type="radio" class="radio" name="reporttype" id="reporttype" value="{?$j['key']?}" />{?$j['value']?} 
		{?/section?}
		<input name="reporttype" type="radio" class="radio" id="reporttype" value="0" checked="checked" />
		其他
	    </td>
            </tr>
            <tr valign="middle" align="left">
              <td class="odd" width="25%">标题：<span class="hottext">(必填)</span></td>
              <td class="even"><input type="text" class="text" name="reporttitle" id="reporttitle" size="60" maxlength="250" value="" /></td>
            </tr>
            <tr valign="middle" align="left">
              <td class="odd" width="25%">内容：<span class="hottext">(必填)</span>
			  </td>
              <td class="even"><textarea class="textarea" name="reporttext" id="reporttext" rows="12" cols="60"></textarea></td>
            </tr>   
            <tr valign="middle" align="left">
              <td class="odd" width="25%">&nbsp;</td>
              <td class="even">
			  <input type="submit" class="button" name="submit1"  id="submit1" value=" 提 交 " />
			  <input type="hidden" name="action" id="action" value="post" />
			  <input type="hidden" name="reportsort" id="reportsort" value="{?$i['key']?}" />
			  </td>
            </tr>
          </table>
	 </form>
	 </div>
	 {?/section?}
  </div>
</div>