<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>创力CMS 3.0 标签-公共标签(1)</title>
<script language="VBScript" src="label.vbs"></script>
<link href='label.css' rel='stylesheet' type='text/css'>
<script LANGUAGE="javascript">
function objectTag(type) {
var reval
for (var i=0;i<document.theform.clwangTag.length;i++){
	var clwang = document.theform.clwangTag[i];
	if (clwang.checked==true)
		reval = clwang.value
	}
if (type==1){
	dialogArguments.insertHTML(ShiftCharacter(reval));
	window.close();
}
else{
document.theform.outlabel.value=reval;
}
}

function CopyCode(textid) {
	var body = document.getElementById(textid);
	body.select();
	window.clipboardData.setData('Text',body.value);
}
</script> 
</head>

<body>

<form NAME="theform">
  <table width="250" cellpadding=0 cellspacing=1 Class="Border" align=center>
    <tr  class="title"><td colspan="2">
	创力CMS 3.0 标签-公共标签(1)</td></tr>
	<tr class="tdbg"><td width="250">
	<input name="clwangTag" type="radio" value="{%webname%}" checked>网站名称<br>
	<input name="clwangTag" type="radio" value="{%title%}">网站顶部标题<br>
	<input name="clwangTag" type="radio" value="{%description%}">网站描述<br>
	<input name="clwangTag" type="radio" value="{%keyword%}">网站关键字<br>
	<input name="clwangTag" type="radio" value="{%generator%}">网站生成商<br>
	<input name="clwangTag" type="radio" value="{%weburl%}">网站地址(后台设定)<br>
	<input name="clwangTag" type="radio" value="{%picurl%}">模板图片包路径<br>
	<input name="clwangTag" type="radio" value="{%width%}">网页设置的宽度<br>
	<input name="clwangTag" type="radio" value="{%webdir%}">网站安装目录<br>
	<input name="clwangTag" type="radio" value="{%channeldir%}">频道目录<br> 
	<input name="clwangTag" type="radio" value="{%uploaddir%}">上传文件目录<br>
	<input name="clwangTag" type="radio" value="{%downloaddir%}">上传软件目录<br>
	<input name="clwangTag" type="radio" value="{%webcss%}">风格文件名或风格内容<br>
	<input name="clwangTag" type="radio" value="{%stylename%}">风格名称<br>
	<input name="clwangTag" type="radio" value="{%runtime%}">页面执行时间<br>
	<input name="clwangTag" type="radio" value="{%channelid%}">频道ID<br>
	</td>
	<td width="250">
	<input name="clwangTag" type="radio" value="{%classid%}">栏目ID<br>
	<input name="clwangTag" type="radio" value="{%specialid%}">专题ID<br>
	<input name="clwangTag" type="radio" value="{%showchannelmenu({%channelid%})%}">频道菜单(有channelid参数)<br>
	<input name="clwangTag" type="radio" value="{%channelcount({%channelid%})%}">频道统计(有channelid参数)<br>
	<input name="clwangTag" type="radio" value="{%showclassmenu({%channelid%})%}">栏目菜单(有channelid参数)<br>
	<input name="clwangTag" type="radio" value="{%currentpath%}">当前位置<br>
	<input name="clwangTag" type="radio" value="{%showuserlogin%}">用户登录面板(要生成HTML时别用)<br>
	一般是用这个"&lt;script language="JavaScript" src="{%webdir%}ShowLogin.asp?ChannelID={%channelid%}"&gt;&lt;/script&gt;" <br>
	<input name="clwangTag" type="radio" value="{%webmastemail%}">网站管理员邮箱<br>
	<input name="clwangTag" type="radio" value="{%showdate%}">显示日期<br>
	<input name="clwangTag" type="radio" value="{%showvote({%channelid%})%}">显示投票<br>
	<input name="clwangTag" type="radio" value="{%copyright%}">版权信息<br>
	<input name="clwangTag" type="radio" value="{%showspecial({%channelid%})%}">显示专题<br>
	</td>
	</tr>
	<tr  class="title"><td colspan="2">
	创力3.0标签之<font color="red">会员(User)相关标签</font></td></tr>
	<tr class="tdbg"><td width="250">
	<input name="clwangTag" type="radio" value="{%userinfo%}" >{%userinfo%}用户信息[主模板8或9项]<br>
	<input name="clwangTag" type="radio" value="{%newincept%}">{%newincept%}短信息数量[主模板8或9项]<br>
	<input name="clwangTag" type="radio" value="{%username%}">{%username%}用户昵称<br>
	<input name="clwangTag" type="radio" value="{%userlevel%}">{%userlevel%}用户身份(等级)<br>
	<input name="clwangTag" type="radio" value="{%usermoney%}">{%usermoney%}用户金钱<br>
	<input name="clwangTag" type="radio" value="{%userpoint%}">{%userpoint%}用户点数<br>
	<input name="clwangTag" type="radio" value="{%uservalidday%}">{%uservalidday%}有效天数<br>
	<input name="clwangTag" type="radio" value="{%getcode%}">{%getcode%}登录验证码[主模板13]<br>
</td>
	<td width="250">
        Info.asp(Module_Index→Template.html(5))<br>
        <input name="clwangTag" type="radio" value="{%faceurl%}">{%faceurl%}会员头像图形地址<br>
        <input name="clwangTag" type="radio" value="{%usersex%}">{%usersex%}性别<br>
        <input name="clwangTag" type="radio" value="{%useremail%}">{%useremail%}E-mail<br>
        <input name="clwangTag" type="radio" value="{%userqq%}">{%userqq%}QQ号<br>
        <input name="clwangTag" type="radio" value="{%usermsn%}">{%usermsn%}MSN号<br>
        <input name="clwangTag" type="radio" value="{%userhomepage%}">{%userhomepage%}主页<br>
        <input name="clwangTag" type="radio" value="{%userjoindate%}">{%userjoindate%}注册日期<br>
	</td></tr>
	<tr class="tdbg" >
	<td colspan="2" align="center">
	<input TYPE="button" value=" 输出到下方 " onClick="objectTag(0)">&nbsp;&nbsp;<input type="button" name="copy" value="复制代码" onclick="CopyCode('outlabel')">&nbsp;&nbsp;<input TYPE="button" value="  取消  " onClick="window.close()"></td></tr> 
	   <tr class="tdbg" >
	<td colspan="2" align="center">
	<input name="outlabel" id="outlabel" type="text" size='80' value='点输出显示你配置的标签！'></td></tr> 
  </table>
</form>
</body>
</html>
