<!--#include file="../../../lib/base.asp"-->
<!--#include file="../../../theme.asp"-->
<%
''' EYCMS 新浪微博登录配置
''' ==================================================================
%>
<script language="jscript" runat="server">function toobject(json){eval("var o="+json);return o;}</script>
<%
	dim apidb:apidb=eycms.getsys("weibo.login")
	dim apiarr:apiarr=eval(apidb)
	if eycms.strlen(apidb)<=0 then
		eycms.echo "&#24212;&#29992;&#31243;&#24207;&#26410;&#23433;&#35013;"
		eycms.die
	end if
	if apiarr(1)="" or apiarr(2)="" then
		eycms.echo "&#21442;&#25968;&#27809;&#26377;&#37197;&#32622;"
		eycms.die
	end if
	dim weibo_appid:weibo_appid=apiarr(1)
	
	dim weibo_appkey:weibo_appkey=apiarr(2)
	
	dim callbackurl:callbackurl=weburl&webroot&"api/login/weibo/callback.asp"
		callbackurl=server.urlencode(callbackurl)
%>
