<!--#include file="../inc/Bll.asp"-->
<!--#include file="../inc/Constant.asp"-->

<%
Auto_Login2()
dim SumPay,SumIncome,CurrentPage,k,Re,RID,isManager,UID
if Request.QueryString("rid")="" then REND
if not IsNumeric(Request.QueryString("rid")) then REND
RID = Request.QueryString("rid")
Set RS=DB_CONN.EXECUTE("select a.*,b.* from [i_User_Info] a join [i_Sys_Room] b on a.[i_User_ID]=b.[i_Sys_Room_AdminUserID] where b.[i_Sys_Room_ID]="&RID)

%>
<!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" />
<title>iShow 直播秀,爱秀爱时尚</title>
<meta http-equiv="X-UA-Compatible" content="IE=8"/>
<meta content="edge" http-equiv="X-UA-Compatible">
<meta content="" name="keywords">
<meta content="" name="description">
<meta content="all" name="robots">
<link type="text/css" href="/i/v2/css/Base.css" rel="stylesheet" />
<link type="text/css" href="/i/v2/css/Level.css" rel="stylesheet" />
<link type="text/css" href="/i/v3/css/RoomBase.css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="/i/v2/js/Jq.js"></script>
<script language="javascript" type="text/javascript" src="/i/v2/js/Base.js"></script>
<style>
body{background:none;}
</style>
</head>

<body>
<script>
	function SetStyleTop(e)
	{
		parent.SetStyleTop(e);
	}
	function SetImg(e)
	{
		$("#RoomBg").attr({'value':e});
		parent.SetImg(e);
	}
	function EnsStatus()
	{
		parent.EnsStatus();
	}
	function DisStatus()
	{
		parent.DisStatus();
	}
	<%
	rw "parent.SetPay();"
	%>
</script>
<form action="/Handle/SetSkin.asp" method="post">
	<div id="skin_box" class="setSkin">
		<div class="skinArea">
			
			<!--房间线路-->
				<!--div style="display: block;" class="skinMod" id="CNC">
					<p class="modTit">
						根据自己的宽带类型设置房间线路：
					</p>
					<p class="modSelect">
						<input type="radio" <%if RS("i_Sys_Room_IDCType")="电信" then RW "checked=checked"%>  name="IDCType" id="IDCType1" checked="checked" value="电信" style="margin-top:0px;">
						<label for="IDCType1" class="styletopcheck">电信</label>
						<input type="radio" <%if RS("i_Sys_Room_IDCType")<>"电信" then RW "checked=checked"%> name="IDCType" id="IDCType2" value="网通" style="margin-top:0px;">
						<label for="IDCType2" class="styletopcheck">网通/联通</label>
					</p>
				</div-->
			<!--房间线路-->
			<!--背景图片-->
			
				<div style="display: block;" class="skinMod" id="SkinBg">
					<p class="modTit">
						你可以设置背景图片：
					</p>
					<p class="modSelect">
						<!--/.upform-->
						<span class="uploadPic">
							<input type="hidden" name="ac" value="y">
							<input type="hidden" name="RoomBg" id="RoomBg" value="<%=RS("i_Sys_Room_BackGround")%>">
							<iframe scrolling="no" frameborder="0" src="/inc/UserBgUpload.html" style="width:120px;height:22px;*height:20px;position: relative;top:5px;"></iframe>
							<img id="UpStatus" src="/images/pixel.gif">
						</span>
						<input type="button" onclick="SetImg('/images/pixel.gif');" value="使用空白背景">
						<em class="uploadInfo">
							支持gif、jpg、png格式，不超过2M
						</em>
						背景属性：
						<select id="BackgroundFix" name="BackgroundFix" class="attachment" onchange="$('body').css('background-attachment',this.value);">
							<option value="fixed" <%if Cstr(RS("i_Sys_Room_BackGroundFix"))="fixed" then RW "selected=selected"%> >
								当前固定
							</option>
							<option value="scroll" <%if Cstr(RS("i_Sys_Room_BackGroundFix"))="scroll" then RW "selected=selected"%> >
								翻屏滚动
							</option>
						</select>
					</p>
				</div>
			<!--背景图片-->
			<!--顶部高度-->
			<div style="display: none;" class="skinMod" id="SkinTop">
				<p class="modTit">
					你可以设置背景的顶部高度：
				</p>
				<p class="modSelect">
					<input type="radio" <%if Cstr(RS("i_Sys_Room_StyleTop"))="0" then RW "checked=checked"%>  name="StyleTop" id="StyleTop1" value="0" onclick="SetStyleTop(this.value)" style="margin-top:0px;">
					<label for="StyleTop1" class="styletopcheck">默认高度</label>
					<input type="radio" <%if Cstr(RS("i_Sys_Room_StyleTop"))="60" then RW "checked=checked"%>  name="StyleTop" id="StyleTop2" value="60" onclick="SetStyleTop(this.value)" style="margin-top:0px;">
					<label for="StyleTop2" class="styletopcheck">一倍高度</label>
					<input type="radio" <%if Cstr(RS("i_Sys_Room_StyleTop"))="120" then RW "checked=checked"%>  name="StyleTop" id="StyleTop3" value="120" onclick="SetStyleTop(this.value)" style="margin-top:0px;">
					<label for="StyleTop3" class="styletopcheck">两倍高度</label>
				</p>
			</div>
			<!--顶部高度-->
			<!--房间公告-->
			<div style="display: none;" class="skinMod" id="RoomNotice">
				<p class="modSelect" style="padding:0px;margin:0px;">
					<div style="float:left;width:440px;">
						<p class="modTit">
							设置房间的公聊公告和对应链接：
						</p>
						<textarea style="color:#ccc;width:420px;height:20px;overflow-y:auto;" maxlength="80" name="tPubNotice" id="tPubNotice"><%=vbsUnEscape(RS("i_Sys_Room_PubNotice"))%></textarea>
						<br>
						<input type="text" id="tPubNoticeHref" name="tPubNoticeHref" value="<%=RS("i_Sys_Room_PubNoticeHref")%>" class="input_text" style="color:#ccc;width:420px;padding:4px 4px 2px;border: 1px solid #CECECE;margin-top:3px;">
					</div>
					<div style="float:left;width:440px;">
						<p class="modTit">
							设置房间的私聊公告和对应链接：
						</p>
						<textarea style="color:#ccc;width:420px;height:20px;overflow-y:auto;" maxlength="80" name="tPriNotice" id="tPriNotice"><%=vbsUnEscape(RS("i_Sys_Room_PriNotice"))%></textarea>
						<br>
						<input type="text" id="tPriNoticeHref" name="tPriNoticeHref" value="<%=RS("i_Sys_Room_PriNoticeHref")%>" class="input_text" style="color:#ccc;width:420px;padding:4px 4px 2px;border: 1px solid #CECECE;margin-top:3px;">
					</div>
				</p>
			</div>
			<!--房间公告-->
			<!--房间密码-->
			<div style="display: none;" class="skinMod" id="RoomPass">
				<p class="modTit">
					设置房间密码（不修改请留空）：
				</p>
				<p style="padding-top: 20px;">
					<input type="text" id="Room_Pass" name="i_Sys_Room_Pass" value="" class="input_text" style="color:#ccc;width:200px;padding:4px 4px 2px;border: 1px solid #CECECE;margin-top:3px;">
					<input type="hidden" id="NonePass" name="NonePass" value="">
					<input id="CheckNonePass" type="checkbox" onclick="javascript:this.checked?$('#NonePass').attr('value','y'):$('#NonePass').attr('value','');">
					<label for="CheckNonePass">不设置房间密码</label>
				</p>
			</div>
			<!--房间密码-->
			<!--房间录像-->
			<div style="display: none;" class="skinMod" id="RoomRecord">
				<p class="modTit">
					设置房间录像（支持.FLV/.MP4格式，不修改请留空）：
				</p>
				<p style="padding-top: 20px;">
					<input type="text" id="Room_Record" name="i_Sys_Room_Record" value="<%=RS("i_Sys_Room_Record")%>" class="input_text" style="color:#ccc;width:600px;padding:4px 4px 2px;border: 1px solid #CECECE;margin-top:3px;">
					<input type="hidden" id="NoneRecord" name="NoneRecord" value="">
					<input id="CheckNoneRecord" type="checkbox" onclick="javascript:this.checked?$('#NoneRecord').attr('value','y'):$('#NoneRecord').attr('value','');">
					<label for="CheckNoneRecord">不设置房间录像</label>
				</p>
			</div>
			<!--房间录像-->
			<!--房间收费-->
			<div style="display: none;" class="skinMod" id="RoomPay">
				<p class="modTit">
					设置房间收费金额（留空默认不收费）（数字）（每分钟扣费金额）：
				</p>
				<p style="padding-top: 20px;">
					<input type="text" id="Room_Pay" name="i_Sys_Room_Pay" value="<%=RS("i_Sys_Room_Pay")%>" class="input_text" style="color:#ccc;width:100px;padding:4px 4px 2px;border: 1px solid #CECECE;margin-top:3px;">
				</p>
			</div>
			<!--房间收费-->
		</div>
		<!--/.skinCon-->
		<div class="skinTab">
			<ul id="ManagerNav" style="width:650px;">
				<!--li class="on" r="CNC">
					房间线路
				</li-->
				<li class="on" r="SkinBg">
					背景图片
				</li>
				<li class="" r="SkinTop">
					顶部高度
				</li>
				<li class="" r="RoomNotice">
					房间公告
				</li>
				<li class="" r="RoomPass">
					房间密码
				</li>
				<li class="" r="RoomRecord">
					房间录像
				</li>
				<li class="" r="RoomPay">
					房间计费
				</li>
			</ul>
			<p style="width:50px;">
				<input type="submit" value="确定" class="skinSave">
			</p>
		</div>
		<!--/.setSkin-->
	</div>
</form>

<script>
	$("#ManagerNav").find("li").click(function(){
		$("#ManagerNav").find("li.on")[0].className="";
		$(this)[0].className="on";
		$("#CNC").css("display","none");
		$("#SkinBg").css("display","none");
		$("#SkinTop").css("display","none");
		$("#RoomNotice").css("display","none");
		$("#RoomPass").css("display","none");
		$("#RoomRecord").css("display","none");
		$("#RoomPay").css("display","none");
		$("#"+$(this).attr("r")).show();
	});
</script>
</body>
</html>	