⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 info_custom_module.tpl

📁 渣渣网络商店系统ZZShop v1.0完整运行程序,MYSQL数据库,APACHE服务器
💻 TPL
字号:
<script language='javascript'>
<!--
	function checkValue()
	{
		var Obj = document.frmInfo;
		
		return true;
	}
	
//-->
</script>
<form action="{ACTION}" method='POST' name='frmInfo' onSubmit='return checkValue();' enctype='multipart/form-data'>
<table width="100%"  border="0"  cellspacing=0 cellpadding=5 class=adminform>
  <tr class='info_title'>
  	<td colspan=2><strong>修改固定模组显示样式设置</strong></td>
  </tr>
  <tr class='info_content'>
  	<td width=15%>选择要修改的样式</td>
  	<td>
  		<select name='Style'>
  			<!-- beginRow StyleList -->
  			<option value='{StyleList.Name}' {StyleList.default}>{StyleList.Title}</option>
  			<!-- endRow StyleList -->
  		</select>
  		<select name='Lang' onChange='if(this.options[this.selectedIndex].value) location="{CurrentURL}&Style=" + document.getElementById("Style").options[document.getElementById("Style").selectedIndex].value + "&Lang=" + this.options[this.selectedIndex].value;this.selectedIndex=0;'>
  			<option value=''>==选择要设置的语言目录==</option>
			<!-- beginRow LangList -->
			<option value='{LangList.name}' {LangList.default}>{LangList.descript}</option>
			<!-- endRow LangList -->
  		</select>
  	</td>
  </tr>
  <!-- beginRow DesignBlock1 -->
  <tr class=info_content>
  	<td>
  		选择要修改的模组
  	</td>
  	<td>
  		<select name='Module' onChange='if(this.options[this.selectedIndex].value) window.location="{CurrentURL}&Style=" + document.frmInfo.Style.options[document.frmInfo.Style.selectedIndex].value + "&Lang=" + document.frmInfo.Lang.options[document.frmInfo.Lang.selectedIndex].value + "&Module=" + this.options[this.selectedIndex].value'>
  			<option value=''>==选择要设置的模组==</option>
  			<option value='login_part.html'>未登录界面</option>
  			<option value='logined.html'>已登录界面</option>
  			<option value='search.html'>搜索模组</option>
  			<option value='category.html'>分类模组</option>
  			<option value='mycart.html'>购物车模组</option>
  		</select>
  	</td>
  </tr>
  <!-- endRow DesignBlock1 -->
  <!-- beginRow DesignBlock -->
  <tr class='info_content'>
    <td>内容:</td>
    <td>
    	<iframe scrolling=no width=640 height=400 src='../editor.htm?field=Content' frameborder=0 name='ifrmEditor' ID='Editor' scrolling=no></iframe>
    	<span style='display:none'><textarea name="Content" rows=1 cols=1 wrap=off>{Content}</textarea></span>
		<input name="btnSubmit" type="hidden" id="btnSubmit" value="1">
		
		[<a href='javascript: if(confirm("是否备份当前模组并替换以前的备份.")) location="{CurrentURL}&code=backup&Style=" + document.frmInfo.Style.options[document.frmInfo.Style.selectedIndex].value + "&Lang=" + document.frmInfo.Lang.options[document.frmInfo.Lang.selectedIndex].value + "&Module=" + document.frmInfo.Module.options[document.frmInfo.Module.selectedIndex].value;'>备份</a>]
		[<a href='javascript: if(confirm("是否原来备份过的模组(假如备份过)并替换以前的模组.")) location="{CurrentURL}&code=restore&Style=" + document.frmInfo.Style.options[document.frmInfo.Style.selectedIndex].value + "&Lang=" + document.frmInfo.Lang.options[document.frmInfo.Lang.selectedIndex].value + "&Module=" + document.frmInfo.Module.options[document.frmInfo.Module.selectedIndex].value;'>恢复</a>]
    </td>
  </tr>
  <tr align="center" class='info_bottom'>
    <td colspan=2>
		<input type="submit" value="设置">
		<input type="reset" value="重置">
	</td>
  </tr>
  <!-- endRow DesignBlock -->
</table>
</form>
<script language='javascript'>
	var defaultModule='{Module}';
	var Obj = document.frmInfo.Module;
	
	for(var i = 0; i < Obj.length; i++)
	{
		if(Obj.options[i].value == defaultModule)
		{
			Obj.options[i].selected = true;
			break;
		}
	}
	
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -