<?php include 'header.tpl.php';?>
<style>
.type_fields{float:left;}
.type_fields .td1{text-align:right;padding-right:5px}
.type_fields .td2{text-align:left}
</style>
<input type="hidden" name="type_class" value="<?php echo $get_type_class;?>">
<div class="pMenu">
<li><a href="javascript:frmExecute('');">管理</a></li>
<li class="sel"><a href="javascript:frmExecute('edit');">编辑</a></li>
<li class="info"><a href="javascript:inc_show_help(214);" style="color:#ff0000">帮助</a></li>
</div>
<div>
<?php if($str_type_class==""){?>
<table class='pEditTable'>
<tr><td class="pTabColName">内容：</td><td class="pTabColVal"><textarea name="type_fields" id="type_fields" cols="60" rows="5" style="display:none"><?php echo $arr_type["type_fields"];?></textarea><?=get_editor('type_fields','admin')?> </td></tr>
<tr><td colspan=2 class="pTabSubmit"><input type="button" name="subok" value="保存" class="pSubmit" onclick="frmExecute('save')"></td></tr>
</table>
<?php }else{ ?>
<table class='pEditTable'>
<tr class='pTabTitRow'><td class='pTabTitCol' colspan="2">接口：<?php echo $arr_type_class[$get_type_class];?></td></tr>
<?php echo $arr_type["type_fields"];?>
<tr><td colspan=2 class="pTabSubmit"><input type="button" name="subok" value="保存" class="pSubmit" onclick="frmExecute('save')"></td></tr>
</table>
<?php }?>
</div>
<?php include 'footer.tpl.php';?>		
