<!--#include file="../conn/conn.asp" -->
<!--#include file="admin_check.asp" -->
<!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=gb2312" />
<title>Flash后台管理</title>
<style>
html,body,div,span,p,a,img,ul,li,dl,dt,dd,ol,form,label,form{ margin:0; padding:0; border:0; outline:0; font-size:100%;}
body{ font-size:12px;font-family:微软雅黑; line-height:150%; background-color:#eeeeee}
a{ font-size:12px; color:#000000; text-decoration:none;}
a:link{ color:#000000;}
a:visited{ color:#000000;}
a:hover{ text-decoration:underline; color:#FF6600;}
a:active{ color:#FF6600;}

a img {
	border:none;
}
.container{ width:1000px; margin:0 auto;}
.title{width:1010px; height:30px; margin-top:10px; background-image:url(img/untitled.png);}
.content{width:990px; background-color:#FFFFFF; padding-left:10px; padding-top:10px;padding-bottom:10px;padding-right:10px; line-height:200%}
.input1 {border-top:1px solid #ABADB3;border-left:1px solid #ABADB3;border-right:1px solid #ddd;border-bottom:1px solid #ddd;height:24px;width:400px;padding:0 5px;}
.input2 {border:1px solid #FFB334;outline:2px solid #ffdc97;*border:2px solid #FFB334;*padding:2px 5px;height:24px;width:400px;padding:0 5px;}
.right{width:150px;float:left}
.left{width:800px; padding-right:10px; float:left}
.submit{ width:131px;height:34px; border:hidden; font-family:"微软雅黑";color:#FFFFFF;background-image:url(img/btn.png);cursor:hand;font-size:15px}
.submit2{ width:131px;height:34px; border:hidden; font-family:"微软雅黑";color:#FFFFFF;background-image:url(img/btn2.png);cursor:hand;font-size:15px}
/********光标说明**************/
#pltsTipLayer
{
	FILTER: alpha(opacity=100);
	opacity: 1;
	background: #ffffff;
	color: #ff6600;
	border: 1px solid #dddddd;
	width:500px;
}
.Bttd
{
	font-size:12px;
	width:500px;
	border:0;
	padding-top:5px;
	padding-left:5px;
	padding-bottom:5px;
}



</style>
<script language="javascript" src="news.js"></script>
<script language="javascript" src="inc/getcolour.js"></script>
</head>
<body>
<!--#include file="left.asp" -->
<div class="container">
<div class="title"><img src="img/orange.png" style="margin-left:10px; margin-top:5px; margin-right:10px;"><b>网站设置</b> >> <a href="config.asp">基本设置</a> | <font color="#FF6600"><u>风格设置</u></font> | <a href="slide_list.asp">幻灯列表</a> | <a href="slide_add.asp">增加幻灯</a></div>
<div class="content">
<h2>风格设置</h2><hr>
<%

action=Request.QueryString("action")
if action="edit" then
S_menufont=Request.Form("S_menufont")
S_menubg=Request.Form("S_menubg")
S_titlefont=Request.Form("S_titlefont")
S_titlebg=Request.Form("S_titlebg")
S_contentfont=Request.Form("S_contentfont")
S_contentbg=Request.Form("S_contentbg")
S_footerbg=Request.Form("S_footerbg")
S_footerAlpha=Request.Form("S_footerAlpha")
S_footerfont=Request.Form("S_footerfont")
S_menubg2=Request.Form("S_menubg2")
S_menufont2=Request.Form("S_menufont2")
S_vcontentfont=Request.Form("S_vcontentfont")
S_vcontentbg=Request.Form("S_vcontentbg")
S_vtitlefont=Request.Form("S_vtitlefont")
S_vtitlebg=Request.Form("S_vtitlebg")

S_htmlbg=Request.Form("S_htmlbg")
S_contactbg=Request.Form("S_contactbg")
S_htmlAlpha=Request.Form("S_htmlAlpha")
S_contactAlpha=Request.Form("S_contactAlpha")

sql="Select * from style"
		set rs=Server.CreateObject("ADODB.RecordSet")
		rs.open sql,conn,1,3
		if not rs.eof then
		rs("S_menufont")=S_menufont
		rs("S_menubg")=S_menubg
		rs("S_titlefont")=S_titlefont
		rs("S_titlebg")=S_titlebg
		rs("S_contentfont")=S_contentfont
		rs("S_contentbg")=S_contentbg
		rs("S_footerbg")=S_footerbg
		rs("S_footerAlpha")=S_footerAlpha
		rs("S_footerfont")=S_footerfont
		rs("S_menubg2")=S_menubg2
		rs("S_menufont2")=S_menufont2
		rs("S_vcontentfont")=S_vcontentfont
		rs("S_vcontentbg")=S_vcontentbg
		rs("S_vtitlefont")=S_vtitlefont
		rs("S_vtitlebg")=S_vtitlebg
		rs("S_htmlbg")=S_htmlbg
		rs("S_contactbg")=S_contactbg
		rs("S_htmlAlpha")=S_htmlAlpha
		rs("S_contactAlpha")=S_contactAlpha
		rs.update
		rs.close
		end if
Response.Write"<script>alert('修改网站设置成功!');window.location='style.asp';</script>"
end if

sql="select * from style"
		set rs=Server.CreateObject("ADODB.RecordSet")
		rs.open sql,conn,1,1
		S_menufont=rs("S_menufont")
		S_menubg=rs("S_menubg")
		S_titlefont=rs("S_titlefont")
		S_titlebg=rs("S_titlebg")
		S_contentfont=rs("S_contentfont")
		S_contentbg=rs("S_contentbg")
		S_footerbg=rs("S_footerbg")
		S_footerAlpha=rs("S_footerAlpha")
		S_footerfont=rs("S_footerfont")
		S_menubg2=rs("S_menubg2")
		S_menufont2=rs("S_menufont2")
		S_vcontentfont=rs("S_vcontentfont")
		S_vcontentbg=rs("S_vcontentbg")
		S_vtitlefont=rs("S_vtitlefont")
		S_vtitlebg=rs("S_vtitlebg")
		S_htmlbg=rs("S_htmlbg")
		S_contactbg=rs("S_contactbg")
		S_htmlAlpha=rs("S_htmlAlpha")
		S_contactAlpha=rs("S_contactAlpha")
rs.close
set rs=nothing
%>
<form id="form" name="form1" method="post" action="style.asp?action=edit" onsubmit="return check();">
<table width="100%" bgcolor="#ffffff">
<tr bgcolor="#eeeeee"><td width="15%">菜单背景色：</td><td><input type="text" id="BgColor1" name="S_menubg"  value="<%=S_menubg%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_menubg%>;" id="1" title="选取颜色!" onClick="Getcolor(this.id,'BgColor1');"></td></tr>
<tr><td width="15%">菜单文字色：</td><td><input type="text" id="BgColor2" name="S_menufont" value="<%=S_menufont%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_menufont%>;" id="2" title="选取颜色!" onClick="Getcolor(this.id,'BgColor2');"></td></tr>
<tr bgcolor="#eeeeee"><td width="15%">菜单活动背景色：</td><td><input type="text" id="BgColor3" name="S_menubg2" value="<%=S_menubg2%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_menubg2%>;" id="3" title="选取颜色!" onClick="Getcolor(this.id,'BgColor3');"></td></tr>
<tr><td width="15%">菜单活动文字色：</td><td><input type="text" id="BgColor4" name="S_menufont2" value="<%=S_menufont2%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_menufont2%>;" id="4" title="选取颜色!" onClick="Getcolor(this.id,'BgColor4');"></td></tr>

<tr bgcolor="#eeeeee"><td width="15%">底部背景色：</td><td><input type="text" id="BgColor5" name="S_footerbg" value="<%=S_footerbg%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_footerbg%>;" id="5" title="选取颜色!" onClick="Getcolor(this.id,'BgColor5');"></td></tr>
<tr><td width="15%">底部文字色：</td><td><input type="text" id="BgColor6" name="S_footerfont" value="<%=S_footerfont%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_footerfont%>;" id="6" title="选取颜色!" onClick="Getcolor(this.id,'BgColor6');"></td></tr>
<tr bgcolor="#eeeeee"><td width="15%">底部背景透明度：</td><td><input type="text" name="S_footerAlpha" value="<%=S_footerAlpha%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> 范围：0-1 </td></tr>

<tr><td width="15%">照片介绍标题文字色：</td><td><input type="text" id="BgColor7" name="S_titlefont" value="<%=S_titlefont%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_titlefont%>;" id="7" title="选取颜色!" onClick="Getcolor(this.id,'BgColor7');"></td></tr>
<tr bgcolor="#eeeeee"><td width="15%">照片介绍标题背景色：</td><td><input type="text" id="BgColor8" name="S_titlebg" value="<%=S_titlebg%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_titlebg%>;" id="8" title="选取颜色!" onClick="Getcolor(this.id,'BgColor8');"></td></tr>
<tr><td width="15%">照片介绍内容文字色：</td><td><input type="text" id="BgColor9" name="S_contentfont" value="<%=S_contentfont%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_contentfont%>;" id="9" title="选取颜色!" onClick="Getcolor(this.id,'BgColor9');"></td></tr>
<tr bgcolor="#eeeeee"><td width="15%">照片介绍内容背景色：</td><td><input type="text" id="BgColor10" name="S_contentbg" value="<%=S_contentbg%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_contentbg%>;" id="10" title="选取颜色!" onClick="Getcolor(this.id,'BgColor10');"></td></tr>

<tr><td width="15%">视频介绍标题文字色：</td><td><input type="text" id="BgColor11" name="S_vtitlefont" value="<%=S_vtitlefont%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_vtitlefont%>;" id="11" title="选取颜色!" onClick="Getcolor(this.id,'BgColor11');"></td></tr>
<tr bgcolor="#eeeeee"><td width="15%">视频介绍标题背景色：</td><td><input type="text" id="BgColor12" name="S_vtitlebg" value="<%=S_vtitlebg%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_vtitlebg%>;" id="12" title="选取颜色!" onClick="Getcolor(this.id,'BgColor12');"></td></tr>
<tr><td width="15%">视频介绍内容文字色：</td><td><input type="text" id="BgColor13" name="S_vcontentfont" value="<%=S_vcontentfont%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_vcontentfont%>;" id="13" title="选取颜色!" onClick="Getcolor(this.id,'BgColor13');"></td></tr>
<tr bgcolor="#eeeeee"><td width="15%">视频介绍内容背景色：</td><td><input type="text" id="BgColor14" name="S_vcontentbg" value="<%=S_vcontentbg%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_vcontentbg%>;" id="14" title="选取颜色!" onClick="Getcolor(this.id,'BgColor14');"></td></tr>

<tr><td width="15%">简介模块背景色：</td><td><input type="text" id="BgColor15" name="S_htmlbg" value="<%=S_htmlbg%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_htmlbg%>;" id="15" title="选取颜色!" onClick="Getcolor(this.id,'BgColor15');"></td></tr>
<tr bgcolor="#eeeeee"><td width="15%">联系模块背景色：</td><td><input type="text" id="BgColor16" name="S_contactbg" value="<%=S_contactbg%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> <img src="img/rect.gif" border=0 style="cursor:pointer;background-Color:<%=S_contactbg%>;" id="16" title="选取颜色!" onClick="Getcolor(this.id,'BgColor16');"></td></tr>
<tr><td width="15%">简介模块透明度：</td><td><input type="text" name="S_htmlAlpha" value="<%=S_htmlAlpha%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> 范围：0-1 </td></tr>
<tr bgcolor="#eeeeee"><td width="15%">联系模块透明度：</td><td><input type="text" name="S_contactAlpha" value="<%=S_contactAlpha%>" class="input1" onfocus="this.className='input2'" onblur="this.className='input1'"/> 范围：0-1 </td></tr>

<tr><td width="15%"></td><td><input name="Submit" type="submit" class="submit" onmouseover="this.className='submit2'" onmouseout="this.className='submit'"  value="确 认" /></td></tr></table>
</form>
</div>


</body>
<SCRIPT src="js/prototype.lite.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/moo.fx.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/moo.fx.pack.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/moo.fx.oao.js" type=text/javascript></SCRIPT>
</html>