<?php

/*
'**************************************************************************************************
' 程序名称: CCTVAI开源音乐管理系统
' 官方网站: http://www.cctvai.com
' 联系 Q Q: 1542367792
' QQ交流群：136687984
' 版本：(终结版)
' 备注：未经书面授权，不得向任何第三方提供本软件系统！
' 功能，模板，插件，扩展，定制请联系QQ：1542367792
'**************************************************************************************************
*/
error_reporting(0);
include "../include/cctvai.conn.php";
include "../include/cctvai.inc.php";
include "source/function_common.php";
$error="会员登录功能已关闭！";
if(cd_userlogin=="no"){exit(include _cctvai_root_ . "/include/error/content_error.php");}
$login_referer=SafeRequest("login_referer", "get");
setcookie("login_referer", $login_referer, time()+900, cd_cookiepath);
?>
<!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>会员登录</title> 
  <link rel="stylesheet" type="text/css" href="<?php echo cd_webpath?>user/static/space/css/common.css" /> 
  <link rel="stylesheet" type="text/css" href="<?php echo cd_webpath?>user/static/space/css/passport.css" /> 
  <script type="text/javascript" src="<?php echo cd_webpath?>user/static/space/js/lib.js"></script> 
  <link href="<?php echo cd_webpath?>plug/asynctips/asynctips.css" rel="stylesheet" type="text/css" /> 
  <script type="text/javascript" src="<?php echo cd_webpath?>plug/asynctips/jquery.min.js"></script> 
  <script type="text/javascript" src="<?php echo cd_webpath?>plug/asynctips/asyncbox.v1.4.5.js"></script> 
  <script type="text/javascript">
var site_domain="<?php echo cd_webpath?>";
var zone_domain="<?php echo cd_webpath?>user/";
var home_url="<?php if($login_referer){echo $login_referer;}else{echo rewrite_url('space.php?do=home');}?>";
$ = function(em) {
    if (document.getElementById){ return document.getElementById(em); }
    else if (document.all){ return document.all[em]; }
    else if (document.layers){ return document.layers[em]; }
    else{ return null; }
}
function seccode() {
	var img = zone_domain+'source/ajax.php?ac=loginseccode&rand='+Math.random();
	document.writeln('<img id="img_seccode" src="'+img+'" align="absmiddle" />');
}
function updateseccode() {
	var img = zone_domain+'source/ajax.php?ac=loginseccode&rand='+Math.random();
	if($('img_seccode')) {
		$('img_seccode').src = img;
	}
}
</script> 
 </head> 
 <body> 
  <div class="header"> 
   <div class="header_con"> 
    <div class="logo"> 
    </div> 
    <div class="right"> 
     <a class="home" href="<?php echo cd_webpath?>">网站首页</a> 
     <p>|</p> 
     <a class="help" href="<?php echo cd_webpath?>user/">会员中心</a> 
    </div> 
   </div> 
  </div> 
  <div class="login_body"> 
   <div class="login_title">
    会员登录
   </div> 
   <div class="login_box"> 
    <div class="login_box_left"> 
     <form method="get" onsubmit="login();return false;"> 
      <div class="center">
       <span id="Re_Msg"></span>
      </div> 
      <div class="site"> 
       <div class="info_list"> 
        <div class="username"> 
         <input type="text" id="ReI_1" class="input" /> 
        </div> 
       </div> 
       <div class="info_list"> 
        <div class="password"> 
         <input type="password" id="ReI_2" class="input" /> 
        </div> 
       </div> 
       <div class="info_list"> 
        <div class="input"> 
         <input type="text" id="ReI_3" style="width:60px;" maxlength="4" class="input_normal" autocomplete="off" /> 
        </div> 
        <div class="vcode"> 
         <div class="noleft"> 
          <script type="text/javascript">seccode();</script> 
         </div> 
         <div class="reloadCode"> 
          <a href="javascript:updateseccode()">看不清？换一张</a> 
         </div> 
        </div> 
       </div> 
       <div class="info_list"> 
        <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" value="登 录" />
       </div> 
      </div> 
     </form> 
    </div> 
    <div class="login_box_right"> 
     <div class="title">
      您还不是本站用户？
     </div> 
     <div class="reg"> 
      <p>注册后，即可寻觅您的音乐知音、发现嗨友分享好的music音乐！</p> 
      <a href="<?php echo cd_webpath?>user/reg.php" class="home_btn"></a> 
     </div> 
     <div class="partner"> 
      <p class="tit">通过合作网站登录</p> 
	  <?php
	  error_reporting(0);
	  include "../plug/qqhl/conf.inc.php";
	  if(qqapp_open=="yes"){echo '<a href="' . cd_webpath . 'plug/qqhl/index.php"><img src="'.cd_webpath.'plug/qqhl/qq.png" alt="QQ登录"></a>';}
	  ?>
     </div> 
     <ul class="clearfix"> 
      <li>邂逅各个城市夜店中美丽的女孩</li> 
      <li>和你身边的美女帅哥成为朋友</li> 
      <li>用照片和说说记录生活，展示自我</li> 
      <li>寻找音乐知音，了解他们的最新动态</li> 
      <li>找到喜欢的专区，参加有趣的活动</li> 
      <li>与大家分享好听的音乐</li> 
     </ul> 
    </div> 
   </div> 
  </div> 
  <div class="bottom"> 
   <div class="content">
<a href="mailto:<?php echo cd_webemail?>">本站所有音乐均来自互联网搜集，版权为原作者所有，如有侵犯权益，请联系我们删除！</a> - 
<a href="http://www.miitbeian.gov.cn/" target="_blank"><?php echo cd_webicp?></a> 
<br />Copyright &copy; 2015 
<a href="http://<?php echo cd_weburl?>" target="_blank"><?php echo cd_weburl?></a> .All Rights Reserved. 
<a href="http://<?php echo cd_weburl?>" target="_blank"><?php echo cd_webname?></a> 版权所有 
<?php
global $db;
$sql="Select cd_cnzz from " . tname('system') . "";
$row=$db->getrow($sql);
echo str_decode($row['cd_cnzz']);
?>
   </div> 
  </div>  
 </body>
</html>