			<tr>
				<th width=120>频道扩展</th>
				<th></th>
			</tr>
			<!--{if $extends}-->
			<!--{loop $extends $val}-->
			<tr>
				<td class=tablerowl <!--{if $val['need']}-->style="color:red"<!--{/if}-->>{$val['name']}</td>
				<td class=tablerow><table border=0 width=100%>
						<tr>
							<td width=70%><!--{echo extend::get_instance()->build($val, $_output['ext_' . $val['ext']], $action);}--> </td>
							<td width=30%>{$val['description']}</td>
						</tr>
					</table></td>
			</tr>
			<!--{/loop}-->
			<!--{else}-->
			<tr>
				<td class='tablerow' colspan=2><p style="margin:25px;text-align:center;color:green;font-size:14px;"> 该频道所属模型没有扩展信息，<a href="system.php?sys=extend&action=manage">模型管理</a> </p></td>
			</tr>
			<!--{/if}-->
			<tr>
				<th>私有扩展</th>
				<th style="text-align:left"><input type="button" value="添加私有扩展" onclick="addPrivateExtend();"  /> (前台访问键值 doc_<font color="green">Key</font>)</th>
			</tr>
			<tr>
				<td class=tablerowl></td>
				<td class='tablerow'>
					<table border=0 width=100% id="extdata">
					<!--{if $action=='edit' && $_output['extdata']}-->
					<!--{loop $_output['extdata'] $k $v}-->
						<tr>
							<td width="180" style="vertical-align:top"><label class="f-label" style="width:40px">Key：</label><input name="extdata[key][]" type="text" value="{$v[key]}" class="f-text" size="15" /></td>
							<td width="410" style="vertical-align:top"><label class="f-label" style="width:60px">Value：</label><textarea id="extdata_{$k}" name="extdata[value][]" class="f-text" style="width:325px;height:50px;">{$v[value]}</textarea></td>
							<td style="vertical-align:top">
								<input type="button" value="上传" onclick="qmeCms.dialogView.iframe('上传','system.php?sys=upload&id=extdata_{$k}&channelid={$channelid}&file_type=all',{type:'abs'});" />
								<input type="button" value="删除" onclick="$('extdata').deleteRow(this.parentNode.parentNode.rowIndex)" />
							</td>
						</tr>
					<!--{/loop}-->
					<!--{else}-->
						<tr>
							<td width="180" style="vertical-align:top"><label class="f-label" style="width:40px">Key：</label><input name="extdata[key][]" type="text" value="" class="f-text" size="15" /></td>
							<td width="410" style="vertical-align:top"><label class="f-label" style="width:60px">Value：</label><textarea id="extdata_0" name="extdata[value][]" class="f-text" style="width:325px;height:50px;"></textarea></td>
							<td style="vertical-align:top">
								<input type="button" value="上传" onclick="qmeCms.dialogView.iframe('上传','system.php?sys=upload&id=extdata_0&channelid={$channelid}&file_type=all',{type:'abs'});" />
								<input type="button" value="删除" onclick="$('extdata').deleteRow(this.parentNode.parentNode.rowIndex)" />
							</td>
						</tr>
					<!--{/if}-->
					</table>
				</td>
			</tr>