View Single Post
ישן 25-05-06, 20:24   # 5
Light-Era.Net || Ronen
עסק רשום [?]
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 36
הודעות: 1,201

Light-Era.Net || Ronen לא מחובר  

PHP קוד:
<link href="rusia4ever.css" rel="stylesheet" type="text/css" />
<?
echo("<form action=\"login.php\" method=\"post\" dir=\"rtl\" class=sd>
  זיהוי: <input type=\"text\" name=\"id\"><br />
  סיסמא: <input type=\"password\" name=\"password\"><br />
  <input type=\"submit\" value=\"שלח\" class=chartablebutton2>
</form>"
);
?>
PHP קוד:
<link href="signon.css" rel="stylesheet" type="text/css" /> 
<?php

 $id 
$_POST['id'];
 
$password $_POST['password'];
 if ((!isset (
$password,$id)) OR (($password=="")AND($id="")))
 {
 include (
"connect.php");
 
$query mysql_query("SELECT * FROM members WHERE id=$id");
 
$row mysql_fetch_array($query);
 if (
$password == $row['password'])
 {
   echo(
"<frameset cols='*, 185' frameborder='no' border='0' framespacing='0'>
<frame name='body' noresize scrolling='auto' src='maincp.php'>
<frame name='menu' noresize scrolling='auto' src='../menu.php'>
</frameset><noframes></noframes>"
);
 }
 else
 { 
   echo(
"bad 
   <META HTTP-EQUIV=Refresh CONTENT=\"3; URL=up.php\">"
);
 }
 }
  else
 { 
   echo(
"<center><div class=sd2>Some details miss</div></center>   <META HTTP-EQUIV=Refresh CONTENT=\"3; URL=up.php\">");
 }
 
?>
  Reply With Quote