<?php include 'header.tpl.php';?>
<div class="pMenu">
<li><a href="javascript:frmExecute('');">管理</a></li>
<li class="sel"><a href="javascript:frmExecute('add');">添加</a></li>
<li class="info"><a href="javascript:inc_show_help(220);" style="color:#ff0000">帮助</a></li>
</div>
<div>
<table class='pEditTable'>
<tr class='pTabTitRow'>
	<td class='pTabTitCol' colspan="2"></td></tr>
<tr><td class="pTabColName">类&nbsp;型：</td><td class="pTabColVal"><select name="link_type">
<?php
foreach($arr_type as $item=>$key){
	echo "<option value='".$key."'>".$item."</option>";
}
?>
</select></td></tr>
<tr><td class="pTabColName">名&nbsp;称：</td><td class="pTabColVal"><input type="input" name="link_name" value="" size=50></td></tr>
<tr><td class="pTabColName">链&nbsp;接：</td><td class="pTabColVal"><input type="input" name="link_url" value="" size=50></td></tr>
<tr><td class="pTabColName">图&nbsp;片：</td><td class="pTabColVal"><input type="input" name="link_pic" value="" size=50>&nbsp;<input type="button" name="btnpic" value="选择" style="border:1px #000000 solid" onclick="dialog_winPic('link_pic');"><br><iframe name="frm_upload_pic" src="<?php echo WEB_URL;?>/plus/dialog/upload_attatch.php?obj_id=link_pic" width="230px" height="60px" frameborder=0 scrolling="no"></iframe></td></tr>
<tr><td class="pTabColName">状&nbsp;态：</td><td class="pTabColVal"><select name="link_state">
<?php
foreach($arr_state as $item=>$key){
	echo "<option value='".$key."'>".$item."</option>";
}
?>
</select></td></tr>
<tr><td class="pTabColName">排　序：</td><td class="pTabColVal"><input type="input" name="link_sort" value="" size=5></td></tr>
<tr><td colspan=2 class="pTabSubmit"><input type="button" name="dosubmit" value="保存" class="pSubmit" onclick="frmExecute('save')"></td></tr>
</table>
</div>
<?php include 'footer.tpl.php';?>		