Subversion-Projekte lars-tiefland.openvz_admin

Revision

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

Revision 50 Revision 59
Zeile 20... Zeile 20...
20
				$sql="SELECT * FROM distributions WHERE dist_id=$dist";
20
				$sql="SELECT * FROM distributions WHERE dist_id=$dist";
21
				$res=$db->query($sql);
21
				$res=$db->query($sql);
22
				$row=$res->fetchRow();
22
				$row=$res->fetchRow();
23
				$this->id=$row["dist_id"];
23
				$this->id=$row["dist_id"];
24
				$this->dist_name=$row["dist_name"];
24
				$this->dist_name=$row["dist_name"];
25
				$this->template=$row["template_name"];
25
				$this->template=$row["dist_template"];
26
			}
26
			}
27
			else
27
			else
28
			{
28
			{
29
				$this->dist_name="";
29
				$this->dist_name="";
30
			}
30
			}