Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1745 Revision 1759
Zeile 54... Zeile 54...
54
		$sql .= implode(",", $felder);
54
		$sql .= implode(",", $felder);
55
		$sql .= "
55
		$sql .= "
56
			WHERE
56
			WHERE
57
				id=".$this->input->post('ID')."
57
				id=".$this->input->post('ID')."
58
		";
58
		";
59
		$res = $GLOBALS["order_db"]->query($sql);
59
		$res = $this->db->query($sql);
60
		if ($res)
60
		if ($res)
61
		{
61
		{
62
			echo "Daten wurden erfolgreich geändert!";
62
			echo "Daten wurden erfolgreich geändert!";
63
		}
63
		}
64
		else
64
		else
Zeile 69... Zeile 69...
69
		$preise = $this->input->post('preise');
69
		$preise = $this->input->post('preise');
70
		$auispraegungen = $this->input->post('auspraegung');
70
		$auispraegungen = $this->input->post('auspraegung');
71
		$optionen = $this->input->post('optionen');
71
		$optionen = $this->input->post('optionen');
72
		$this->metatags->save($meta, 'artikel');
72
		$this->metatags->save($meta, 'artikel');
73
	}
73
	}
-
 
74
 
-
 
75
	public function del($id)
-
 
76
	{
-
 
77
		$sql = "UPDATE
-
 
78
				artikel
-
 
79
			SET
-
 
80
				father=-2,
-
 
81
				letzte_aenderung_von='".$_SESSION["username"]."'
-
 
82
			WHERE
-
 
83
				id=".$id."
-
 
84
		";
-
 
85
		$res = $this->db->query($sql);
-
 
86
	}
74
}
87
}