<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language=javascript>
function CheckForm()
{
  if (document.chkform.username.value==""){
	alert("请输入用户名！");
	document.chkform.username.focus();
	return false;
  }
  
  if (document.chkform.userpassword.value==""){
	alert("请输入密码！");
	document.chkform.userpassword.focus();
	return false;
  }
  if (document.chkform.verycode.value==""){
	alert("请输入验证码！");
	document.chkform.verycode.focus();
	return false;
  }
}
</script>
<table width=100% border=0 align=center cellpadding=0 cellspacing=0>
  <tr> 
    <td height=41 align="center"> 
        <%if session("userid")="" then%>
        <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
          <form name="chkform" method="post" action="loginchk.asp" onsubmit="return CheckForm();">
            <tr>
              <td height="30" colspan="2" align="center" class="fl_bg">用户信息</td>
            </tr>
            <tr> 
              <td colspan="2" align="center"><font color="#999999">您好，请先登录再继续操作</font></td>
            </tr>
            <tr> 
              <td width="63" align="right"><font class="font_log">用户名：</font> 
              </td>
              <td width="108"><input type="text" name="username" size="8" maxlength="10" class="input_log" id="dl"></td>
            </tr>
            <tr> 
              <td align="right"><font class="font_log">密　码：</font> 
              </td>
              <td><input type="password" name="userpassword" size="8" maxlength="10" class="input_log"></td>
            </tr>
            <tr>
              <td align="right"><font class="font_log">验证码：</font>
              </td>
              <td><input name="verycode" type="text" size="1" maxlength="10" class="input_log">
              <img src="getcode.asp"></td>
            </tr>
            <tr> 
              <td height="38" colspan="2" align="center"> 
                <input name="submit" type="image" value="登陆" src="images/dl.gif" alt="登陆" width="65" height="19"> <a href="reg.asp"><img src="images/zc.gif" width="60" height="19" border="0"></a>
              </td>
            </tr>
          </form>
		    <tr>
              <td height="1" colspan="2" align="center" bgcolor="#F6F6F6"></td>
            </tr>
		    <tr>
              <td colspan="2">&nbsp;&nbsp;<a href="reg.asp">立即注册</a>，<font class="font_log">获赠50积分！</font></td>
            </tr>
      </table>
		<%else
set rs=server.CreateObject("adodb.recordset")
sql ="Select * from kw_user where username='"&session("userid")&"'"
rs.open sql,conn,1,1
		%>
		<table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
            <tr>
              <td height="30" align="center" class="fl_bg">用 户 信 息</td>
            </tr>
            <tr> 
              <td align="center"><font color="#999999">您好，欢迎参与!</font></td>
            </tr>
            <tr> 
              <td>&nbsp;&nbsp;<font class="font_log">名称：</font><%=session("userid")%> 
              </td>
            </tr>
            <tr> 
              <td>&nbsp;&nbsp;<font class="font_log">积分：</font><%=rs("jifen")%>&nbsp;&nbsp;<font class="font_log">等级：</font><%=rs("dengji")%>
              </td>
            </tr>
            <tr> 
              <td>&nbsp;&nbsp;<font color="#009999">注册时间：<%=FormatDateTime(rs("regtime"),vbLongDate)%></font>
              </td>
            </tr>
            <tr> 
              <td height="1" bgcolor="#99CCCC"></td>
            </tr>
            <tr> 
              <td height="28" align="center" bgcolor="#F5F5F5">
			  <a href="user.asp?action=tw"><font color="#FF8C55">我的提问</font></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="userinfo.asp"><font color="#FF8C55">管理中心</font></a><br>
			  <a href="user.asp?action=hd"><font color="#FF8C55">我的回答</font></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="back.asp"><font color="#FF8C55">退出登陆</font></a>
              </td>
            </tr>
      </table>
        <%end if
		rs.close
		set rs=nothing
		%>
    </td>
  </tr>
</table>
	
	<table width="100%"  border="0" cellspacing="1" >
			    <tr> 
                  <td height="32" align="center" class="right_tw_bg"><input name=submit1 value="我要提问" type="button" onclick="location='myquestion.asp'" class=input1>
                  </td>
                </tr>
			    <tr> 
                  <td valign=bottom align=center><img src="images/hotpoint.jpg" width="168" height="81" border=0>
                  </td>
                </tr>
                <tr> 
                  <td height="40" valign=bottom>&nbsp;&nbsp;&nbsp;&nbsp;<a href="help/default.asp" target="_blank"><b><u>快问帮助</u> >></b></a> 
                  </td>
                </tr>
				<tr> 
                  <td height="40" valign=bottom>&nbsp;·&nbsp;<a href="help/ask_help.asp"><b>如何提问？</b></a> 
                  </td>
                </tr>
				<tr> 
                  <td>
				    <p style="line-height:190%">
				    &nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/default.asp">快问流程？</a> <br>
					&nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/ask_help.asp#1">高积分悬赏答案</a><br>
					&nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/ask_help.asp#3">将问题放在合适的分类中</a><br>
					&nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/ask_help.asp#5">提问后，可提交补充信息</a><br>
					&nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/ask_help.asp#6">提问中的注意要点</a><br></p>
                  </td>
                </tr>
                <tr> 
                  <td height="40" valign=bottom>&nbsp;·&nbsp;<a href="help/reply_help.asp"><b>如何回答问题？</b></a> 
                  </td>
                </tr>
				<tr> 
                  <td>
				    <p style="line-height:190%">
				    &nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/reply_help.asp#1">回答积分设置</a> <br>
					&nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/reply_help.asp#2">我的回答如何被采纳？</a><br>
					&nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/reply_help.asp#3">什么是回答采纳率？</a><br>
					&nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/reply_help.asp#4">分类排行榜 </a><br></p>
                  </td>
                </tr>
                <tr> 
                  <td height="40"  valign=bottom>&nbsp;·&nbsp;<a href="help/score.asp#url5"><b>从哪里获得积分？</b></a> 
                  </td>
                </tr>
				<tr> 
                  <td>
				    <p style="line-height:190%">
				    &nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/score.asp#url2">谁可以参加快秀积分计划？</a> <br>
					&nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/score.asp#url3"> 快秀积分有什么用处？ </a><br>
					&nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/score.asp#url5">从哪里获取（赢得）积分？</a><br> 
					&nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/score.asp#url6">会员等级制度（头衔）</a><br>
					&nbsp;&nbsp;&nbsp;·&nbsp;<a href="help/score.asp#url7">等级（头衔）设置表 </a><br></p>
                  </td>
                </tr>
                <tr> 
                  <td height="40" valign=bottom>&nbsp;·&nbsp;<b>欢迎光临快问 - 我知道</b></a> 
                  </td>
                </tr>
				<tr> 
                  <td>
				    <p style="line-height:190%">
				    &nbsp;&nbsp;&nbsp;·&nbsp;有问题立即注册提问； <br>
					&nbsp;&nbsp;&nbsp;·&nbsp;有答案马上共享<br></p>
                  </td>
                </tr>
                <tr align="right"> 
                  <td height="44"><a href="help/default.asp" target="_blank"><u>更详细的咨询帮助</u></font></a>&nbsp;&nbsp;&nbsp;&nbsp;</td>
                </tr>
				<tr><td height=12></td></tr>
</table>