Subversion-Projekte lars-tiefland.em_wm

Revision

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

Revision 31 Revision 37
Zeile 65... Zeile 65...
65
						VALUES ('$this->g_name', $this->g_m1, $this->g_m2, $this->g_g1, $this->g_g2, $this->g_location, $this->g_date, $this->g_type)";
65
						VALUES ('$this->g_name', $this->g_m1, $this->g_m2, $this->g_g1, $this->g_g2, $this->g_location, $this->g_date, $this->g_type)";
66
					break;
66
					break;
67
				case "update":
67
				case "update":
68
					$sql="UPDATE games SET g_name='$this->g_name', g_m1=$this->g_m1, g_m2=$this->g_m2, g_g1=$this->g_g1, g_g2=$this->g_g2, g_location=$this->g_location, g_date=$this->g_date, g_type=$this->g_type WHERE g_id=$this->g_id";
68
					$sql="UPDATE games SET g_name='$this->g_name', g_m1=$this->g_m1, g_m2=$this->g_m2, g_g1=$this->g_g1, g_g2=$this->g_g2, g_location=$this->g_location, g_date=$this->g_date, g_type=$this->g_type WHERE g_id=$this->g_id";
69
					break;
69
					break;
70
				case "del":
70
				case "delete":
71
					$sql="DELETE FROM games WHERE g_id=$this->g_id";
71
					$sql="DELETE FROM games WHERE g_id=$this->g_id";
72
					break;
72
					break;
73
			}
73
			}
74
			return $db->query($sql);
74
			return $db->query($sql);
75
		}
75
		}