@qingjieshouliang M1n1 Shira0ka

M1n1 Shira0ka File Manager

Current Path : /www/wwwroot/eblliwsm.com/c8efb1c6/Tpl/List/
Upload File :
Current File : /www/wwwroot/eblliwsm.com/c8efb1c6/Tpl/List/addlist.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<load href="../Public/css/index.css"/>
<load href="../Public/js/quickView.js"/>
<title>添加栏目</title>
    <if condition="$type eq 'page'"> 
      <include file='Public:kinde'/>
    </if>
<SCRIPT language=javaScript>
function CheckJob()
{
	if (document.myform.name.value.length==""){
		alert ("栏目名称不能为空!");
		document.myform.name.focus();
		return false;
	}
	var number = document.getElementById('sort').value;
	var reg = /^\d+$/;
	if (!number.match(reg)){
		alert ("排序号必须为数字!");
		document.myform.sort.focus();
		return false;
	}
 }
</SCRIPT>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="LineRightBlue1">
      <table width="95%" border="0" cellpadding="0" cellspacing="0" style="margin-left:20px;">
      <tr>
        <td width="88%" height="24">
        <if condition="$pid eq 0">
        添加【<{$name}>】
        <else/>
        添加【<{$name}>】的子栏目
        </if>
        【<a href="<{:U('List/index')}>">返回栏目列表</a>】
        </td>
        <td width="12%" align="right" class="bt_add"></td>
      </tr>
    </table>
    </td>
  </tr>
</table>

<form action="<{:U('savelist')}>" method="post" name="myform" id="myform"  onSubmit="return CheckJob()">
<DIV class="PageContent">
<table width="90%" border="0" style="margin:20px;" class="ListCategory">
  <tr>
    <td width="9%">栏目名称:</td>
    <td width="91%" height="35"><input name="name" type="text" class="FormSmall"><span style="color:#F00; font-size:12px;">*必填</span></td>
  </tr>
  <if condition="$pid eq 0 && $type !='page' && $type !='link'">
  <tr>
    <td>栏目模型:</td>
    <td height="35">
      <select name="type" style="height:28px;">
          <option value="product">产品模型</option>
          <option value="new">新闻模型</option>
          <option value="photo">图片模型</option>
          <option value="download">下载模型</option>
      </select>
    </td>
  </tr>
  <else/>
  <input name="type" type="hidden" value="<{$type}>">
  </if>
  
  <tr>
    <td>导航菜单:</td>
    <td height="35">
    <select name="nav" style="height:28px;">
        <option value="1">显示</option>
        <option value="0">隐藏</option>
    </select>
    </td>
  </tr>
  
  <tr>
    <td>排序ID:</td>
    <td height="35"><input name="sort" id="sort" type="text" class="FormSmall" style="width: 50px;"><span style="color:#F00; font-size:12px;">*必填</span></td>
  </tr>
  
  <neq name="type" value="link">
  <tr>
    <td>URL优化:</td>
    <td height="35"><input name="url" type="text" class="FormSmall"> <a title='URL只能是字母、数字或-'style="margin-left: 5px;" href="#"><img src="../Public/images/help.gif"></a></td>
  </tr>
  <tr>
    <td>SEO标题:</td>
    <td height="35"><input name="title" type="text" class="FormSmall" style="width: 320px;"></td>
  </tr>
  <tr>
    <td>SEO关键字:</td>
    <td height="35"><input name="keywords" type="text" class="FormSmall" style="width: 320px;"></td>
  </tr>
  <tr>
    <td>SEO描述:</td>
    <td height="110"><textarea name="description" class="FormSmall" style="width: 450px; height: 80px;"></textarea>
    <input name="pid" type="hidden" value="<{$pid}>">
    </td>
  </tr>
  <else/>
  <tr>
    <td>链接地址:</td>
    <td height="35"><input name="link" type="text" class="FormSmall" style="width: 320px;">
      <a title='(1)站内链接:如 /aaa/<br>(2)站外链接:需以http://开头'style="margin-left: 5px;" href="#"><img src="../Public/images/help.gif"></a>
    </td>
  </tr>
  <tr>
  </neq>
  

  
<if condition="$type eq 'page'">  
  <tr>
    <td>单页内容:</td>
    <td>
    <textarea name="contents" style="width:670px; height:290px; margin:8px 0;visibility:hidden;"></textarea>
    </td>
  </tr>
</if>

  <tr>
    <td height="55" align="center">
    </td>
    <td height="55" align="left">
    <input type="submit" value="提交" class="bginput">&nbsp;&nbsp;
    <input name="reset" type="reset"  class="bginput" value="重置" />
    </td>
    </tr>
</table>
</DIV>
</form>
</body>
</html>

GO Party By You