杏林同学录(二)

心在痛我自己受

心在痛我自己受

2016-01-29 14:28

杏林同学录(二),杏林同学录(二)
  成员主页:main.php
<?
session_start(); // 开始session
session_register("userregister");
$userregister=$username;
include "class/config.php";
$result = mysql_query("SELECT * FROM user where user='$username'",$db);
if (mysql_num_rows($result)==0){  //若返回列的数目为0,说明无此资料
echo "无此用户!";
exit;}
$userpsw=strtoupper(trim($userpsw));
$password=trim(mysql_result($result,0,'psw'));
$password=strtoupper($password);//取得密码,转换成大写
$userpsw=strtoupper($userpsw);
if (!($userpsw==$password)){
echo "密码错误!";
mysql_close($db);
exit;
}
$name=mysql_result($result,0,"name");
$count=mysql_result($result,0,"count")+1;//成员计数器加1
mysql_query("UPDATE user SET count=$count where user='$username'",$db);
?
<HTML
<HEAD
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"
<TITLE欢迎来到杏林同学录</TITLE
<style type="text/css"
<!--
.deepblue10 {  font-family: "宋体"; font-size: 10pt; color: #3333FF; text-decoration: none}
A.purple:hover {  font-size: 9pt; color: #3366FF; background-color: #99FFFF; text-decoration: none}
A.purple:link {  font-size: 10pt; text-decoration: none}
a:hover {  text-decoration: none}
a:visited {  text-decoration: none}
A.purple {  font-size: 10pt; color: #CC00FF; text-decoration: none}
.white12 {  font-size: 12pt; color: #FFFFFF; text-decoration: none}
.purple {  color: #CC00FF; text-decoration: none; font-size: 10pt}
.brown9 {  font-size: 10pt; color: #6600CC; text-decoration: none}
.black9 {  font-size: 9pt; text-decoration: none}
.yellow12 {  font-size: 12px; color: #9900CC; text-decoration: none; font-weight: normal}
.redlarge {  font-size: 18px; font-weight: bolder; color: #FF00CC}
.grey9 {  font-size: 9pt; color: #CCCCCC}
--
</style
</HEAD
<BODY BGCOLOR="#FFFFFF"
<table width="755" border="1" height="65" cellpadding="0" cellspacing="0" bordercolorlight="#FF33CC" bordercolordark="#FFFFFF"
  <tr  
    <td width="241"  
      <div align="right"<img src="http://img.jcwcn.com/attachment/portal/jcwcj/2005-12/10/05121010243235348.gif"" width="224" height="60" alt="同学录"  
      </div
    </td
    <td width="508" <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="478" height="60" align="right"
        <param name=movie value="class/image/2.swf"
        <param name=quality value=high
        <embed src="http://img.jcwcn.com/attachment/portal/jcwcj/2005-12/10/05121010243219553.swf"" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="478" height="60" align="right"
        </embed  
      </object</td
  </tr
</table
<table width="755" border="0" ce
展开更多 50%)
分享

猜你喜欢

杏林同学录(二)

PHP
杏林同学录(二)

杏林同学录(六)

PHP
杏林同学录(六)

s8lol主宰符文怎么配

英雄联盟 网络游戏
s8lol主宰符文怎么配

杏林同学录(七)

PHP
杏林同学录(七)

杏林同学录(四)

PHP
杏林同学录(四)

lol偷钱流符文搭配推荐

英雄联盟 网络游戏
lol偷钱流符文搭配推荐

杏林同学录(一)

PHP
杏林同学录(一)

杏林同学录(五)

PHP
杏林同学录(五)

lolAD刺客新符文搭配推荐

英雄联盟
lolAD刺客新符文搭配推荐

用Delphi实现动态获取版本信息

用Delphi实现动态获取版本信息

实时抓取YAHOO股票报价的代码

实时抓取YAHOO股票报价的代码
下拉加载更多内容 ↓