<!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">
<!--
<?php
print <<<EOT
-->
<head>
<style type="text/css">
a {
	font-size: 13px;
	color: #1F3A87;
}
a:link {
	color: #1F3A87;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #1F3A87;
}
a:hover {
	text-decoration: underline;
	color: red;
}
a:active {
	text-decoration: none;
}
body, form, ul, li, p, dl, dd, dt ,h,td,th{
	margin: 0;
	padding: 0;
	font-size: 12px;
}
li,ul{
	list-style: none;
}
TD {
	font-size: 12px;
	color: #1F3A87;
	VERTICAL-ALIGN:  ;
}
body{
	background:#fff;
	color: #1F3A87;
}
#topTable{
	margin-top:1em;
	margin-bottom:1em;
	border-bottom:4px #000 solid;
}
#topTable td{
	padding-bottom:8px;
	color: #1F3A87;
}
#RightTable,#LeftTable{
	margin-top:20px;
	background:#F9F9F9;
	border:1px solid #E8E8E8;
}
#LeftTable{
	border-right:0px solid #E8E8E8;
}
#RightTable{
	border-left:0px solid #E8E8E8;
}
#LeftTable .L{
	background: url($webdb[www_url]/images/default/showerr.gif) no-repeat 80px 10px;
}
#MsgTable{
	margin:1em;
}
#MsgTable td{
	color:#333333;
}
#MsgTable td.title{
	font-size:13px;
	font-weight:bold;
	color:#666;
	text-align:left;
}
.post_bt{
	background:url($webdb[www_url]/images/default/post_bt.gif);
	height:23px;
	border:1px solid #1F3A87;
	color:#1F3A87;
}
.input_bt{
	border:1px solid #7F9DB9;
	width:130px;
	height:16px;
}
#footer td,#footer td a{
	color:#9A9A9A;
}
</style>
<title>$webdb[webname]                           powered by www.php168.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
 <SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/default/inc.js"></SCRIPT>
<table width="850" border="0" cellspacing="0" cellpadding="0" align="center" id="topTable">
  <tr>
    <td width="339"><a href="$webdb[www_url]/"><img src="$webdb[www_url]/images/default/logo.gif" border="0" onload="if(self!=top)this.style.display='none';"></a></td>
    <td width="511" align="right" valign="bottom"><a href="$webdb[www_url]/" style="text-decoration: underline;">网站首页</a> 
      | 


<!--
EOT;
if(!$lfjid){print <<<EOT
-->
	  <a href="$webdb[www_url]/do/login.php" style="text-decoration: underline;">登录</a> | <a href="$webdb[www_url]/do/reg.php" style="text-decoration: underline;">注册</a>
            <!--
EOT;
}else{print <<<EOT
--><a href="$webdb[www_url]/do/login.php?action=quit" style="text-decoration: underline;">退出</a>
	             <!--
EOT;
}print <<<EOT
--> 
	  </td>
  </tr>
</table>
<table width="850" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="572" height="296" valign="top">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" id="LeftTable">
        <tr>
          <td height="130" width="24%" class="L"></td>
          <td height="130" width="76%" align="left" valign="top"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" id="MsgTable">
              <tr>
                <td align="center" class='title'>信息提示:</td>
              </tr>
              <tr>
                <td style="line-height:150%;"><div style="border:0px dotted #ccc;width:92%;padding:5px;">$showerrMsg</div></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="12" cellpadding="12">
        <tr>
          <td align="center">
<SCRIPT LANGUAGE="JavaScript">
<!--
if(document.referrer==''&&window.self==window.top){
	document.write('<input type="button" name="Submit" value="点击关闭本网页" class="post_bt" onclick="window.self.close();"> <input type="button" name="Submit" value="返回网站首页" class="post_bt" onclick="top.location.href=\'$webdb[www_url]/\';"> ');
}else{
var num=0;
document.write('<input type="button" name="Submit" value="点击返回" class="post_bt" onclick="history.back(-1);if(num>0)top.location.href=\'$FROMURL\';num++;">');
}
//-->
</SCRIPT>
		  
		  
		  </td>
        </tr>
      </table>
    </td>
    <td width="229" height="296" valign="top">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="118" style="border:1px solid #AAAAAA;" id="CenterTable">
        <tr>
          <td bgcolor="#FFFFFF" height="274" align="left" valign="top">
<!--
EOT;
if(!$lfjid){print <<<EOT
-->
		  
            <table width="90%" border="0" cellspacing="0" cellpadding="0" style="margin:10px;">
              <form name="form1" method="post" action="$webdb[www_url]/do/login.php">
                <tr> 
                  <td><b><font  style="font-size:14px;color:#000000;">登录通行证</font></b></td>
                </tr>
                <tr> 
                  <td > 
                    <hr style="color:#ccc;width:100%" size=1>
                  </td>
                </tr>
                <tr> 
                  <td><b><font  style="font-size:14px;color:#BC2931;">请输入帐号和密码</font></b></td>
                </tr>
                <tr> 
                  <td height="32">帐 号: 
                    <input type="text" name="username" size="15" class="input_bt">
                  </td>
                </tr>
                <tr> 
                  <td height="32">密 码: 
                    <input type="password" name="password" size="15" class="input_bt">
                  </td>
                </tr>
                <tr> 
                  <td align="center"> 
                    <input type="submit" name="Submit2" value="  登 录  "  class="post_bt">
                  </td>
                </tr><input type="hidden" name="step" value="2">
      <input class="radio" type="hidden" name="cookietime" value="86400" >
                <tr> 
                  <td align="right" height="38"><a href="$webdb[www_url]/do/sendpwd.php" style="text-decoration: underline;">忘记密码,取回&gt;&gt;</a></td>
                </tr>
                <tr> 
                  <td align="right" > 
                    <hr style="color:#ccc;width:100%" size=1>
                  </td>
                </tr>
                <tr> 
                  <td align="left" height="32" > <font  style="font-size:14px;color:#BC2931;">还没有通行证?</font></td>
                </tr>
                <tr> 
                  <td align="center" > 
                    <input type="button" name="Submit22" value="  注 册  " class="post_bt" onClick="window.location.href='$webdb[www_url]/do/reg.php';">
                  </td>
                </tr>
                <tr>
                  <td align="center" height="32" >拥有通行证,整个网站畅通无阻!</td>
                </tr>
              </form>
            </table>
            <!--
EOT;
}else{
$lfjdb[icon]=tempdir($lfjdb[icon]);
$lfjdb[regdate]=date("Y-m-d H:i",$lfjdb[regdate]);
$lfjdb[money]=get_money($lfjdb[uid]);
print <<<EOT
-->
            <table width="90%" border="0" cellspacing="0" cellpadding="0" style="margin:10px;">
              <form name="form1" method="post" action="$webdb[www_url]/do/login.php">
                <tr> 
                  <td><b><font  style="font-size:14px;color:#000000;">我的资料</font></b></td>
                </tr>
                <tr> 
                  <td > 
                    <hr style="color:#ccc;width:100%" size=1>
                  </td>
                </tr>
                <tr> 
                  <td align="center"><a href="$webdb[www_url]/member/?uid=$lfjuid" target="_blank"><img src="$lfjdb[icon]" onload="makesmallpic(this,148,148);" width="148" height="148" border="0" onerror="this.src='$webdb[www_url]/images/default/noface.gif'"></a> 
                  </td>
                </tr>
                <tr> 
                  <td align="center" height="20"><a href="$webdb[www_url]/member/homepage.php?uid=$lfjuid" style="text-decoration: underline;" target="_blank">$lfjid</a></td>
                </tr>
                <tr> 
                  <td align="right" > 
                    <hr style="color:#ccc;width:100%" size=1>
                  </td>
                </tr>
                <tr> 
                  <td align="left" height="32" style="line-height:170%;">级别: <b><font color="#FF0000">{$ltitle[$lfjdb[groupid]]}</font></b><br>
                    积分: <img src="$webdb[www_url]/images/default/money.gif"> <b><font color="#0000FF">$lfjdb[money]</font></b> 
                        {$webdb[MoneyDW]}<br>
                    金币: <img src="$webdb[www_url]/images/default/moneycard.gif"> <b><font color="#FF0000">{$lfjdb[moneycard]}</font></b> 
                        个<br>
                    注册日期: $lfjdb[regdate]</td>
                </tr>
              </form>
            </table>
            <!--
EOT;
}print <<<EOT
-->   </td>
        </tr>
      </table>
    </td>
    <td width="49" height="296" valign="top">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" id="RightTable">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="850" border="0" cellspacing="0" cellpadding="0" align="center" id="footer">
  <tr> 
    <td height="33">&nbsp;</td>
  </tr>
  <tr> 
    <td>
      <hr style="color:#ccc;width:100%" size=1>
    </td>
  </tr>
  <tr>
    <td align="center">$webdb[copyright]<br>
      Copyright@{$webdb[www_url]} all rights reserved <a href="http://www.miibeian.gov.cn" target="_blank">{$webdb[miibeian_gov_cn]}</a> 
      <br>
      Powered by <a href="http://www.php168.com" target="_blank">PHP168 {$php168_Edition}</a> 
      Code &copy; 2003-07 <a href="http://www.php168.com/bbs" target="_blank">PHP168CMS</a> </td>
  </tr>
</table>
<SCRIPT LANGUAGE="JavaScript">
<!--
function set_Table(){
	h=document.getElementById("LeftTable").offsetHeight;
	if(window.ActiveXObject==null)h=h-20;
	document.getElementById("RightTable").style.height=h+'px';
}
set_Table()
//-->
</SCRIPT>
</body>
</html>
<!--
EOT;
?>
-->