社区交流网主页代码.docx
《社区交流网主页代码.docx》由会员分享,可在线阅读,更多相关《社区交流网主页代码.docx(14页珍藏版)》请在冰点文库上搜索。
社区交流网主页代码
社区交流网主页代码:
$loginFormAction=$_SERVER['PHP_SELF'];
if(isset($_GET['accesscheck'])){
$_SESSION['PrevUrl']=$_GET['accesscheck'];
}
if(isset($_POST['textfield2'])){
$loginUsername=$_POST['textfield2'];
$password=$_POST['textfield3'];
$MM_fldUserAuthorization="";
$MM_redirectLoginSuccess="cg.php";
$MM_redirectLoginFailed="sb.php";
$MM_redirecttoReferrer=false;
mysql_select_db($database_conn,$conn);
$LoginRS__query=sprintf("SELECTname,passwordFROMpanshuyingWHEREname='%s'ANDpassword='%s'",
get_magic_quotes_gpc()?
$loginUsername:
addslashes($loginUsername),get_magic_quotes_gpc()?
$password:
addslashes($password));
$LoginRS=mysql_query($LoginRS__query,$conn)ordie(mysql_error());
$loginFoundUser=mysql_num_rows($LoginRS);
if($loginFoundUser){
$loginStrGroup="";
//declaretwosessionvariablesandassignthem
$_SESSION['MM_Username']=$loginUsername;
$_SESSION['MM_UserGroup']=$loginStrGroup;
if(isset($_SESSION['PrevUrl'])&&false){
$MM_redirectLoginSuccess=$_SESSION['PrevUrl'];
}
header("Location:
".$MM_redirectLoginSuccess);
}
else{
header("Location:
".$MM_redirectLoginFailed);
}
}
?
>
DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN"
"http:
//www.w3.org/TR/html4/loose.dtd">
无标题文档
--
body{
background-image:
url(file:
///C|/DocumentsandSettings/panpan/桌面/参考(非旅游题材)/素材/插图/20070212090416783.gif);
}
-->
--
functionMM_reloadPage(init){//reloadsthewindowifNav4resized
if(init==true)with(navigator){if((appName=="Netscape")&&(parseInt(appVersion)==4)){
document.MM_pgW=innerWidth;document.MM_pgH=innerHeight;onresize=MM_reloadPage;}}
elseif(innerWidth!
=document.MM_pgW||innerHeight!
=document.MM_pgH)location.reload();
}
MM_reloadPage(true);
//-->
///C|/Documents%20and%20Settings/Administrator/桌面/qq.css"rel="stylesheet"type="text/css">
--
.style2{
font-family:
"华文新魏";
font-size:
x-large;
}
.style3{
font-family:
"华文新魏";
font-size:
medium;
}
.style4{font-family:
"华文新魏"}
#Layer2{
position:
absolute;
width:
200px;
height:
188px;
z-index:
6;
left:
924px;
top:
19px;
background-color:
#FFFFF7;
}
.style5{
font-size:
14px;
font-family:
"华文新魏";
}
.style6{
font-family:
"仿宋";
font-size:
16px;
}
#Layer9{
position:
absolute;
width:
894px;
height:
190px;
z-index:
11;
left:
16px;
top:
21px;
}
#Layer10{
position:
absolute;
width:
382px;
height:
109px;
z-index:
12;
left:
4px;
top:
347px;
}
.STYLE7{font-size:
x-large}
#Layer3{
position:
absolute;
width:
234px;
height:
123px;
z-index:
13;
left:
618px;
top:
345px;
}
.STYLE8{font-size:
xx-large}
.STYLE9{
font-size:
14px;
font-weight:
bold;
}
.STYLE10{font-size:
14px;font-family:
"华文新魏";font-weight:
bold;}
#Layer4{
position:
absolute;
width:
254px;
height:
104px;
z-index:
14;
left:
857px;
top:
348px;
}
#Layer11{
position:
absolute;
width:
250px;
height:
124px;
z-index:
15;
left:
360px;
top:
342px;
}
#Layer12{
position:
absolute;
width:
232px;
height:
103px;
z-index:
16;
left:
26px;
top:
343px;
}
-->
--DWLayoutTable-->
|
absolute;width:
530px;height:
48px;z-index:
9;left:
271px;top:
167px;">
|
absolute;width:
302px;height:
53px;z-index:
10;left:
804px;top:
126px;">
友情连接
|
|
absolute;width:
1097px;height:
120px;z-index:
3;left:
9px;top:
210px;background-color:
#FDFDF5;layer-background-color:
#FDFDF5;border:
1pxnone#000000;">
首页
贴示
订餐
社区论坛
公告
景区
|
absolute;width:
992px;height:
137px;z-index:
7;left:
66px;top:
1119px;">
///C|/AppServ/www/psy07/071018_09.jpg"width="984"height="52">
|
|
Copyright(c)2009山沟沟.Allrightsreserved. |