<!--#include file="conn.asp"-->
<!--#include file="inc/cookies_check.asp"-->
<!--#include file="../include/config.inc"-->
<!--#include file="../include/lebi_license/md5.asp"-->
<%
'*****************************************
'* 软件名称 乐彼网上开店软件(56770 EShop)
'* 软件开发 http://www.56770.com
'* 版权所有 http://www.56770.com
'* 文件名称 Admin_Config.asp
'* 最后更新 2013-08-15 by 56770.kingdge
'*****************************************
Dim admin_flag
admin_flag=",10.9,"
include "lang/"& LangFilePath &"/lang_sys.inc"
include "lang/"& LangFilePath &"/lang_menu.inc"
include "lang/"& LangFilePath &"/lang_config.inc"
CurrentId = 0
CurrentUrl = "Admin_Config.asp"
LB_Head()
LB_Menu()
%>
<div class="tabmenu mainwidth">
      <ul>
		<li><a href="admin_space.asp"><span><%=Lang_Menu(155)%></span></a></li>
		<li><a href="admin_license.asp"><span><%=Lang_Menu(61)%></span></a></li>
        <li class="current"><a href="Admin_Config.asp"><span><%=Lang_Menu(187)%></span></a></li>
        <li><a href="Admin_upgrade.asp"><span><%=Lang_Menu(190)%></span></a></li>
      </ul>
</div>
<%
Response.Write("<div class=""tab-mainbody"">")
Response.Write("<div class=""tab-mainbody2"">")
if Eshop_Lebi_name="" or instr(","&Eshop_Lebi_flag&",",admin_flag)=0 then
		adminflag()
End If
If OutSubmit = 1 Then CheckOutSubmit()
if request("action")="update" Then
        If OnlyRead = 1 Then OnlyReadMessage()
		Temp_Data = safereplace(request("login_logo")) &"|"& Trim(request("login_mes")) &"|"& safereplace(request("company")) &"|"& safereplace(request("sys_logo")) &"|"& Replace(safereplace(request("sys_plugin"))," ","") &"|"& Replace(safereplace(request("sys_url"))," ","") &"|"& safereplace(request("sys_news")) &"|"& safereplace(request("sys_soft")) &"|"& safereplace(request("sys_license")) &"|"& safereplace(request("web_license")) &"|||||||||||||||"
		Data = Updatelicense("56770eshop","key",Temp_Data)
		Select Case Data
		Case "0"
		Call Up_mes(Lang_sys(69),"·"& Lang_Config(16),0,"javascript:history.back()",0,0,5,0)
		Case "1"
		ManageLog Lang_Config(14)
		If Config_Lebi_Eshop(17)="1" Then
				Application.Contents.RemoveAll
		End If
		Call Up_mes(Lang_sys(69),"·"& Lang_sys(68),0,"?",0,0,2,1)
		End Select
Else
%>
<script language="javascript" type="text/javascript" src="inc/js/js_link.js"></script>
<script language="javascript" type="text/javascript" src="inc/js/dialog.js"></script>
<script language="javascript" src="Upfile/js/Upload_Other.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="classtable" id="config">
<form name="system" method="post" action="?action=update">
<tr>
	<td height="30" align="left" class="classhead"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
	<td align="right" class="classhead">
	<%=QuickMenu("admin_license.asp|"& Lang_Menu(61) &"","admin_upgrade.asp|"& Lang_Menu(190) &"")%>
	</td>
 </tr>
<tr>
<td height="30" colspan="2" class="classtop" height="30"><%=Lang_Config(1)%></td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Config(2)%></td>
<td width="85%" class="classrow" height="30">
<input type="text" id="login_logo" name="login_logo" size="35" value="<%=ArrData(0)%>" class="form"> <input type="button" id="Upload_login_logo" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('system','login_logo','logo')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=ArrData(0)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()">
</td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30" valign="top" style="padding-top:6px"><%=Lang_Config(3)%></td>
<td width="85%" class="classrow" height="30">
<textarea name="login_mes" rows="3" style="width:90%;font-size:12px" class="text"><%=ArrData(1)%></textarea><br />
<a href="javascript:u_Size(-5,'login_mes')"><img src="lang/<%=LangFilePath%>/images/tab/bt_close.gif" border='0'></a>
<a href="javascript:u_Size(5,'login_mes')"><img src="lang/<%=LangFilePath%>/images/tab/bt_open.gif" border='0'></a>
</td>
</tr>
<tr>
<td height="30" colspan="2" class="classtop" height="30"><%=Lang_Config(4)%></td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Config(11)%></td>
<td width="85%" class="classrow" height="30">
<input type="text" id="company" name="company" size="35" value="<%=ArrData(2)%>" class="form">
</td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Config(2)%></td>
<td width="85%" class="classrow" height="30">
<input type="text" id="sys_logo" name="sys_logo" size="35" value="<%=ArrData(3)%>" class="form"> <input type="button" id="Upload_sys_logo" name="Submit" value="<%=Lang_sys(52)%>" onclick="uploadpanel('system','sys_logo','logo')" class="btn_upload">
<img src='images/img.gif' align='absmiddle' onMouseover="javascript:ddrivetip('<img src=../<%=ArrData(3)%> width=100>', '#ffffff', '100')" onMouseout="hideddrivetip()">
</td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Config(12)%></td>
<td width="85%" class="classrow" height="30">
<input type="checkbox" value="1" <%=judge(ArrData(4),"1")%> name="sys_plugin"> <%=Lang_Menu(2)%>
<input type="checkbox" value="2" <%=judge(ArrData(4),"2")%> name="sys_plugin"> <%=Lang_Menu(3)%>
<input type="checkbox" value="3" <%=judge(ArrData(4),"3")%> name="sys_plugin"> <%=Lang_Menu(186)%>
<input type="checkbox" value="4" <%=judge(ArrData(4),"4")%> name="sys_plugin"> <%=Lang_Menu(189)%>
<input type="checkbox" value="5" <%=judge(ArrData(4),"5")%> name="sys_plugin"> <%=Lang_Menu(198)%>
</td>
</tr>
<tr class="classrow" style="display:none">
<td width="15%" class="classrow" height="30"><%=Lang_Config(13)%></td>
<td width="85%" class="classrow" height="30">
<input type="checkbox" value="1" <%=judge(ArrData(5),"1")%> name="sys_url"> 显示
<!--<input type="checkbox" value="2" <%=judge(ArrData(5),"2")%> name="sys_url"> 建站服务
<input type="checkbox" value="3" <%=judge(ArrData(5),"3")%> name="sys_url"> <%=Lang_Menu(66)%>
<input type="checkbox" value="4" <%=judge(ArrData(5),"4")%> name="sys_url"> <%=Lang_Menu(63)%>
<input type="checkbox" value="5" <%=judge(ArrData(5),"5")%> name="sys_url"> <%=Lang_Menu(64)%>-->
</td>
</tr>
<tr class="classrow" style="display:none">
<td width="15%" class="classrow" height="30"><%=Lang_Config(9)%></td>
<td width="85%" class="classrow" height="30">
<input type="radio" value="1" <%=judge(ArrData(6),"1")%> name="sys_news"> <%=Lang_Config(6)%>
<input type="radio" value="0" <%=judge(ArrData(6),"0")%> name="sys_news"> <%=Lang_Config(7)%>
</td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Config(10)%></td>
<td width="85%" class="classrow" height="30">
<input type="radio" value="1" <%=judge(ArrData(7),"1")%> name="sys_soft"> <%=Lang_Config(6)%>
<input type="radio" value="0" <%=judge(ArrData(7),"0")%> name="sys_soft"> <%=Lang_Config(7)%>
</td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Config(5)%></td>
<td width="85%" class="classrow" height="30">
<input type="radio" value="1" <%=judge(ArrData(8),"1")%> name="sys_license"> <%=Lang_Config(6)%>
<input type="radio" value="0" <%=judge(ArrData(8),"0")%> name="sys_license"> <%=Lang_Config(7)%>
</td>
</tr>
<tr>
<td height="30" colspan="2" class="classtop" height="30"><%=Lang_Config(8)%></td>
</tr>
<tr class="classrow">
<td width="15%" class="classrow" height="30"><%=Lang_Config(5)%></td>
<td width="85%" class="classrow" height="30">
<input type="radio" value="1" <%=judge(ArrData(9),"1")%> name="web_license"> <%=Lang_Config(6)%>
<input type="radio" value="0" <%=judge(ArrData(9),"0")%> name="web_license"> <%=Lang_Config(7)%>
</td>
</tr>
<tr>
  <td height="30" colspan="2" align="left" class="classfooter"><input name="submit" type="image" src="lang/<%=LangFilePath%>/images/bt_app.gif" title=" <%=Lang_sys(1)%> " align="absmiddle">&nbsp;<input type="image" src="lang/<%=LangFilePath%>/images/bt_res.gif" title=" <%=Lang_sys(2)%> " onclick="reset();return false;" align="absmiddle"></td>
 </tr>
</form>
</table>
<script>tdshow("config");</script>
<%
end If
Response.Write("</div>")
Response.Write("</div>")
LB_Footer()
%>