<!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=utf-8" />
<title><?php echo $cfg_softname." ".$cfg_version; ?></title>
<link href="images/style.css" rel="stylesheet" type="text/css" />
<script src="/images/js/j.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
function changeAuthCode() {
	var num = 	new Date().getTime();
	var rand = Math.round(Math.random() * 10000);
	num = num + rand;
	$('#ver_code').css('visibility','visible');
	if ($("#vdimgck")[0]) {
		$("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
	}
	return false;	
}
</script>
</head>
<body>
<div id="container">
  <div id="header">
    <h1></h1>
    <ul class="nav">
    </ul>
  </div>
  <div id="content">
    <div class="left_main">
      <h2>渠道信息</h2>
      <ul class="news" id="qdkb_html" style="color:#FFFFFF;">
        &nbsp;&nbsp;&nbsp;&nbsp;欢迎使用专业的PHP网站管理系统，轻松建站的首选利器 -- <?php echo $cfg_softname; ?><?php echo $redmsg; ?>
      </ul>
      <div class="help_center">
        <h3><a href="http://www.g.com.cm/" target="_blank">帮助中心</a></h3>
        <p><strong>提供专业的技术问题解答</strong></p>
      </div>
      <div class="bbs">
        <h3><a href="http://www.namecms.com/" target="_blank">技术论坛</a></h3>
        <p><strong>发布新产品信息,技术问题解答,资源更新等信息</strong></p>
      </div>
    </div>
    <form name="form1" method="post" action="login.php">
      <input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo $gotopage;?>" />
      <input type="hidden" name="dopost" value="login" />
      <input name='adminstyle' type='hidden' value='newdedecms' />
      <fieldset class="right_main">
      <legend>用户登录</legend>     
      <dl class="setting">
        <dt>
          <label>用户名</label>
        </dt>
        <dd><span class="text_input"><input type="text" name="userid" id="username"/></span></dd>
        <dt>
          <label>密　码</label>
        </dt>
        <dd><span class="text_input"><input type="password" name="pwd" id="userpass" /></span></dd>
        <?php
        	if(preg_match("/6/",$safe_gdopen))
        	{
        ?>
        <dt>
          <label>验证码</label>
        </dt>
        <dd><span class="short_input"><input  id="vdcode" type="text" style="text-transform: uppercase;" name="validate"/></span>
          <span class="yzm"><img id="vdimgck" align="absmiddle" onClick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清？点击更换" src="../include/vdimgck.php"/></span></dd>
       <?php
					}
					?>
        <dd>
          <input type="submit" name="sm1" onclick="this.form.submit();"  class="login_btn" value=""/>
        </dd>
      </dl>
      </fieldset>
    </form>
  </div>
  <div id="footer"><?php echo $cfg_powerby; ?></div>
</div>
</body>
</html>
