<?php
error_reporting(0);
global $db, $CcTvAi_com_userid;
if(!eregi($_SERVER['SERVER_NAME'], $_SERVER['HTTP_REFERER'])) {exit();}
?>
<form>
<div class="user_dialog_login">
	<input type="hidden" id="refer" value="<?php if($_SERVER['HTTP_REFERER']){echo $_SERVER['HTTP_REFERER'];}else{echo rewrite_url('space.php?do=home');} ?>" />
	<div class="left">
		<div class="left_line">
			<div class="message">
				<span id="errMessage"></span>
			</div>
		</div>
		<div class="left_line">
			<div class="dl_loginName"><input type="text" name="loginName" id="loginName" class="input_normal"  maxlength="70"></div>
		</div>
		<div class="left_line">
			<div class="dl_password"><input type="password" name="password" id="password" class="input_normal" maxlength="30"></div>
		</div>
		<div class="left_line">
			<div id="loginName" class="input">
				<input id="vCode" class="input_normal" type="text" style="width:81px;" name="rvCode" maxlength="4" value="请输入验证码">
			</div>
			<div class="vcode">
				<div class="noleft">
					<img id="authCode" align="absmiddle" title="看不清？点击更换" src="<?php echo cd_webpath; ?>user/source/ajax.php?ac=loginseccode">
				</div>
				<div class="reloadCode">
					<a id="changeAuthCode" href="javascript:;">看不清？换一张</a>
				</div>
			</div>
		</div>
		<div class="left_line">
			<div class="right">
				<a href="<?php echo cd_webpath?>user/lostpasswd.php">忘记密码?</a>
			</div>
			<label><input class="check_box" type="checkbox">&nbsp;下次自动登录</label>
		</div>
		<div class="style">
			<input class="home_btn" type="submit" id="submit2" value="登 录">
		</div>
	</div>
	<div class="right_line">
		<div class="title">还未开通？</div>
		<div class="reg">
			<p>赶快免费注册一个吧！</p>
			<a class="home_btn" href="<?php echo cd_webpath?>user/reg.php"></a>
		</div>
		<div class="partner">
			<p class="tit">通过合作网站登录</p>
					<?php
					error_reporting(0);
					include "../plug/qqhl/conf.inc.php";
					if(qqapp_open=="yes"){echo '<div class="qq"><a href="' . cd_webpath . 'plug/qqhl/index.php"><img src="'.cd_webpath.'plug/qqhl/qq.png"></a></div>';}
					?>
		</div>
	</div>
</div>
</form>
<script type="text/javascript">user.loginInit(1);</script>