<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>模板文件管理</title>
<LINK href="<?=base_url()?>csdj/admin/images/admin.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/admin.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/label.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/ajaxrequest.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/dialog.js"></script>
<style type="text/css"> 
div,ul,ol,dl,li {margin:0;padding:0;}
li {list-style:none;}
#ParamLabel li,#TbLabel li{float:left;width:110px;height:18px;margin:1px;padding:1px; border: 1px #999999 solid;text-align:center;}
#LabelName li{margin-left:25px;list-style-image:url(Img/label4.gif);}
#FieldLabel li{float:left;height:18px;margin:1px;padding:1px 15px; border: 1px #FF6600 solid;text-align:center;}
#icon_open li{float:left;width:35px;height:12px;margin:3px;padding:5px;text-align:center;cursor:pointer}
</style>
</head>
<BODY style="margin:2px">
<table align="center" border=1 cellspacing=0 cellpadding=5 bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;"><tr><td align=center colspan=2 class="title"><?=$title?></td></tr><div id="icon_open" class="style1" style="display:none;text-align:left;position:absolute;z-index:3;overflow:hidden;" onclick="javascript:fnSmall('icon_open',800,80);"></div>
	<form method="post" Name="myform" action="<?=site_url('admin/skins/save/')?>">
	<input name="path" type="hidden" value="<?=$path?>"> 
    	<TR>
      		<TD width="10%"><input type="button" class="italk-st2" onclick="javascript:InsertFunctionLabel(0);" value="系统函数标签"></TD>
      		<TD width="90%"><div id="TbLabel">
			<li><a href="#" onclick="InsertCustomValue(1);">A标签</a></li>
			<li><a href="#" onclick="InsertCustomValue(2);">IMG标签</a></li>
			<li><a href="#" onclick="InsertValue('&lt;div&gt;&lt;/div&gt;');">DIV标签</a></li>
			<li><a href="#" onclick="InsertValue('&lt;ul&gt;&lt;/ul&gt;');">UL标签</a></li>
			<li><a href="#" onclick="InsertValue('&lt;li&gt;&lt;/li&gt;');">LI标签</a></li>
			<li><a href="#" onclick="InsertValue('&lt;span&gt;&lt;/span&gt;');">SPAN标签</a></li>
			<li><a href="#" onclick="InsertValue('<table align=&quot;center&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;>\n\n</table>');">Table标签</a></li>
			<li><a href="#" onclick="InsertValue('&lt;tr&gt;\n\n&lt;/tr&gt;');">TR标签</a></li>
			<li><a href="#" onclick="InsertValue('&lt;td&gt;&lt;/td&gt;');">TD标签</a></li>
			<li><a href="#" onclick="InsertValue('<input type=&quot;text&quot; style=&quot;width:350px&quot; name=&quot;输入框ID&quot; id=&quot;输入框ID&quot; value=&quot;默认值&quot;>');">INPUT文本框</a></li>
			<li><a href="#" onclick="InsertValue('<textarea style=&quot;width:600px;height:100px&quot; rows=&quot;5&quot; name=&quot;输入框ID&quot; id=&quot;输入框ID&quot;></textarea>');">TEXTAREA文本域</a></li>
		</div></TD>
    	</TR>
	<tr>
		<td>模板文件：</td><TD><input size="30" name="CS_Name" value="<?=$CS_Name?>" style="color:red;text-align:right;" onclick="chkinput(this,3,50)">.html
                    <?php if($title2=='新增'){ ?>&nbsp;&nbsp;&nbsp;&nbsp;<font color=#0000ff>模板类型：</font>
                               <label><input type="radio" name="CS_Mx" value="index" checked/>主站模板</label>&nbsp;&nbsp;
                               <label><input type="radio" name="CS_Mx" value="home"/>会员主页模板</label>&nbsp;&nbsp;
                               <label><input type="radio" name="CS_Mx" value="user"/>会员中心模板</label>
                    <?php } ?>
                 </TD>
	</tr>
	<tr>
		<td colspan=2><textarea name="CS_Neir" id="Content" style="width:99%;height:500px;font-family: Arial, Helvetica, sans-serif;font-size: 14px;" onclick="setPos()"><?=$CS_Neir?></textarea></td>
	</tr>
  	<tr>
    		<td height="36" colspan="2" align="center"><input type="submit" name="Submit" class="italk-bt" value=" <?=$title2?> "> <INPUT TYPE=BUTTON class="italk-bt" value=" 返 回 " onclick="history.back();"></td>
  	</tr></form>
	</table>
	
</body>
</html>

