Subversion-Projekte lars-tiefland.em_wm

Revision

Revision 60 | Revision 64 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 60 Revision 61
Zeile 4... Zeile 4...
4
		var $u_id;
4
		var $u_id;
5
		var $u_name;
5
		var $u_name;
6
		var $u_password;
6
		var $u_password;
7
		var $u_type;
7
		var $u_type;
8
		var $u_email;
8
		var $u_email;
-
 
9
		var $u_lang;
Zeile 9... Zeile 10...
9
 
10
 
10
		function User($user)
11
		function User($user)
11
		{
12
		{
12
			global $db, $db_meld, $error, $meld;
13
			global $db, $db_meld, $error, $meld;
13
			if ($user=="")
14
			if ($user=="")
14
			{
15
			{
15
				$this->u_name="";
16
				$this->u_name="";
16
				$this->u_type=0;
17
				$this->u_type=0;
17
				$this->u_email="";
18
				$this->u_email="";
-
 
19
				$this->u_password=md5("");
18
				$this->u_password=md5("");
20
				$this->u_lang="de";
19
			}
21
			}
20
			else
22
			else
21
			{
23
			{
22
				$this->u_name=$user;
24
				$this->u_name=$user;
Zeile 35... Zeile 37...
35
					$this->u_id=$row["u_id"];
37
					$this->u_id=$row["u_id"];
36
					$this->u_name=$row["u_name"];
38
					$this->u_name=$row["u_name"];
37
					$this->u_type=$row["u_type"];
39
					$this->u_type=$row["u_type"];
38
					$this->u_email=$row["u_email"];
40
					$this->u_email=$row["u_email"];
39
					$this->u_password=$row["u_password"];
41
					$this->u_password=$row["u_password"];
-
 
42
					$this->u_lang=$row["u_lang"];
40
					return $this;
43
					return $this;
41
				}
44
				}
42
			}
45
			}
43
		} 
46
		} 
Zeile 96... Zeile 99...
96
				$this->u_id=$row["u_id"];
99
				$this->u_id=$row["u_id"];
97
				$this->u_name=$row["u_name"];
100
				$this->u_name=$row["u_name"];
98
				$this->u_email=$row["u_email"];
101
				$this->u_email=$row["u_email"];
99
				$this->u_type=$row["u_type"];
102
				$this->u_type=$row["u_type"];
100
				$this->u_password=$row["u_password"];
103
				$this->u_password=$row["u_password"];
-
 
104
				$this->u_lang=$row["u_lang"];
101
				return $this;
105
				return $this;
102
			}
106
			}
103
		}
107
		}
104
	}
108
	}
105
?>
109
?>