<!--#include file="../inc/DAL.asp"-->
<!--#include file="../inc/UC_Const.asp"-->
<!--#include file="Check.asp"-->
<%
if request.form("Method")="SetUC" then
	dim Re
	Re=Re&"<"&"%"&vbCrLf
	Re=Re&"Const UC_APPID = "&Request.form("UC_APPID")&""&vbCrLf
	Re=Re&"Const UC_KEY = """&Request.form("UC_KEY")&""""&vbCrLf
	Re=Re&"Const UC_IP = """&Request.form("UC_IP")&""""&vbCrLf
	Re=Re&"Const UC_API = """&Request.form("UC_API")&""""&vbCrLf
	Re=Re&"%"&">"&vbCrLf
	RW "<!--"
	CreatFile "/inc/UC_Const.asp",Re
	RW "-->"
    RW "<script>alert('修改成功!');location.href='SetUC.asp';</script>"
end if
%>
<!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>
<title>iShow Manage System</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="styles/layoutContent.css" rel="stylesheet" type="text/css" />
<link href="themes/blue/styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="contentcontainer">
    <div class="headings alt">
        <h2>UC设置</h2>
    </div>
    <div class="contentbox">
        <form action="#" method="post" >
            <table class="CB" width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="350">
                        <label for="UC_APPID"><strong>UCenter中此应用的ID号（数字）:</strong></label>
                        <input type="text" id="UC_APPID" name="UC_APPID" class="inputbox"  value="<%=UC_APPID%>"/>
                    </td>
                    <td>
                        <label for="UC_KEY"><strong>UCenter中此应用密钥:</strong></label>
                        <input type="text" id="UC_KEY" name="UC_KEY" class="inputbox"  value="<%=UC_KEY%>"/>
                    </td>
                </tr>
                <tr>
                    <td >
                        <label for="UC_IP"><strong>UCenter的IP地址:</strong></label>
                        <input type="text" id="UC_IP" name="UC_IP" class="inputbox"  value="<%=UC_IP%>"/>
                    </td>
                    
                    <td >
                        <label for="UC_API"><strong>UCenter的地址，末尾不要/，格式："http://bbs.xknet.net/uc_server":</strong></label>
                        <input type="text" id="UC_API" name="UC_API" class="inputbox"  value="<%=UC_API%>"/>
                    </td>
                </tr>
                
                <tr>
                    <td colspan="2">
                        <input type="hidden" value="SetUC" name="Method"/>
                        <input type="submit" value="提交" class="btn" />
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>
</body>
</html>
