<html>
<head>
<META content=ywnt,云网互动影视管理系统 name=keywords>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>云网互动影视6.0--登陆标签</title>
<LINK href="../css/css.css" type=text/css rel=stylesheet>
</head>
<BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0">
<script language="JavaScript" src="../YWNT_TMS_Inc/YWNT_TMS_Common.js"></script>
<table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" class="table">
    <tr>
      <td colspan="2" class="xingmu">会员登陆</td>
    </tr>
	<form action="" method="post" name="LoginlebForm">
    <tr>
      <td width="28%" align="right" class="hback">选择标签方式</td>
      <td width="72%" class="hback"><select name="LableType" id="LableType" onChange="SelectLOginType(this.options[this.selectedIndex].value);">
        <option value="0" selected="selected">固定样式</option>
        <option value="1">自定义样式</option>
      </select></td>
    </tr>
	<tr>
      <td width="28%" align="right" class="hback">显示方式</td>
      <td width="72%" class="hback"><select name="LoginDisStyle" id="LoginDisStyle">
        <option value="0">纵向</option>
        <option value="1">横向</option>
      </select>      </td>
    </tr>
	<tr id="Se_Style" style="display:none;">
      <td colspan="2" class="xingmu">
	  	<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0" class="table">
	    <tr>
			  <td width="25%" align="right" class="hback">登陆标签背景样式</td>
			  <td class="hback"><input name="BGStyle" type="text" id="BGStyle" value="">
			  <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.LoginlebForm.BGStyle.value=TempReturnValue;" class=Anbutc>
			  <span style="color:#ff0000;">可以为css样式名，也可以为图片</span></td>
			</tr>
			<tr>
			  <td align="right" class="hback">文本框样式</td>
			  <td class="hback"><input name="TextStyle" type="text" id="TextStyle" value=""></td>
			</tr>
			<tr>
			  <td align="right" class="hback">提交按钮样式</td>
			  <td class="hback"><input name="ButtonStyle" type="text" id="ButtonStyle" value="">
			  <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.LoginlebForm.ButtonStyle.value=TempReturnValue;" class=Anbutc>			  
			  <span style="color:#ff0000;">可以为css样式名，也可以为图片</span></td>
			</tr>
			<tr>
			  <td align="right" class="hback">注册连接字符样式</td>
			  <td class="hback"><input name="Reg_LinkCss" type="text" id="Reg_LinkCss" value="">
			  <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.LoginlebForm.Reg_LinkCss.value=TempReturnValue;" class=Anbutc>
			  <span style="color:#ff0000;">可以为css样式名，也可以为图片</span></td>
			</tr>
			<tr>
			  <td align="right" class="hback">取回密码连接字符样式</td>
			  <td class="hback"><input name="Get_PassCss" type="text" id="Get_PassCss" value="">
				<input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.LoginlebForm.Get_PassCss.value=TempReturnValue;" class=Anbutc>
			    <span style="color:#ff0000;">可以为css样式名，也可以为图片</span></td>
			</tr>
						<tr>
			  <td align="right" class="hback">退出连接字符样式</td>
			  <td class="hback"><input name="Out_LinkCss" type="text" id="Out_LinkCss" value="">
			  <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.LoginlebForm.Out_LinkCss.value=TempReturnValue;" class=Anbutc>
			  <span style="color:#ff0000;">可以为css样式名，也可以为图片</span></td>
			</tr>
			<tr>
			  <td align="right" class="hback">用户中心连接字符样式</td>
			  <td class="hback"><input name="Users_LinkCss" type="text" id="Users_LinkCss" value="">
				<input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.LoginlebForm.Users_LinkCss.value=TempReturnValue;" class=Anbutc>
			    <span style="color:#ff0000;">可以为css样式名，也可以为图片</span></td>
			</tr>
		</table>
	  </td>
	</tr>		
    <tr>
      <td colspan="2" align="center" class="hback"><input name="button" type="button" onClick="ok(this.form);" value="添加">      </td>
    </tr>
	</form>
  </table>
<script language="JavaScript" type="text/JavaScript">
<!--
function SelectLOginType(STRID)
{
	if (STRID == '0')
	{
		document.getElementById('Se_Style').style.display = 'none';
	}
	else
	{
		document.getElementById('Se_Style').style.display = '';
	}
}
function ok(obj)
{
		var retV = '{$UserLoginLeb(';
		retV+= obj.LableType.value + ',';
		retV+= obj.LoginDisStyle.value + ',';
		retV+= formvalue2(obj.BGStyle.value) + ',';
		retV+= formvalue2(obj.TextStyle.value) + ',';
		retV+= formvalue2(obj.ButtonStyle.value) + ',';
		retV+= formvalue2(obj.Reg_LinkCss.value) + ',';
		retV+= formvalue2(obj.Get_PassCss.value) + ',';
		retV+= formvalue2(obj.Out_LinkCss.value) + ',';
		retV+= formvalue2(obj.Users_LinkCss.value) + ')';
		retV+='}';
		InsertLabel(retV)
}
function formvalue2(namevalue2)
{
	if(namevalue2=="")
	{
		namevalue2='""';
	}
	else
	{
	namevalue2='"'+namevalue2+'"'
	}
		return namevalue2;
}
<%if Request.QueryString("text")=1 then%>
function InsertLabel(LabelContent)
{
	window.returnValue=LabelContent;
	window.close();
}
window.onunload=SetReturnValue;
function SetReturnValue()
{
	if (typeof(window.returnValue)!='string') window.returnValue='';
}
<%else%>
function InsertLabel(LabelContent)
{
	var obj=dialogArguments.oUtil.obj;
	obj.insertHTML(LabelContent)
	window.close();
}
<%end if%>
-->
</script>