<table width="100%" class="topmenu">
	<tr><td>
		<a href="blocks.php" class="on"><em>自定义区块</em></a><span>|</span>
		<a href="block_file.php"><em>文件区块</em></a><span>|</span>
		<a href="block_sql.php"><em>SQL区块</em></a>
	</td></tr>
</table>
<table class="sgrid" width="100%" align="center">
  <tr>
    <td class="odd">
		模板调用：<span class="blue">&#123;?block classname="BlockSystemCustom" bid="bid"?}</span><br>
		参数说明：<span class="red">bid</span> - 自定义区块序号</td>
  </tr>
</table><br />
<div class="gridtop">
</div>
<table class="grid" width="100%" align="center">
  <tr>
    <th>序号</th>
    <th>区块名</th>
    <th>内容类型</th>
    <th>模板调用语句</th>
    <th>操作</th>
  </tr>
  {?section name=i loop=$blocks?}
  <tr class="rowbg">
    <td>{?$blocks[i].bid?}</td>
    <td>{?$blocks[i].blockname?}</td>
    <td>{?$blocks[i].contenttype?}</td>
    <td><input class="text" type="text" size="60" value='{?$blocks[i].temptext?}' onFocus="this.select()"></td>
    <td>{?$blocks[i].action?}</td>
  </tr>
  {?/section?}
  <tr>
    <td colspan="9" class="foot">&nbsp;</td>
  </tr>
</table>
<br /><a name="addblock"></a>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center">{?$form_addblock?}</td>
  </tr>
</table>
