Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1208 Revision 1209
Zeile 3... Zeile 3...
3
/**
3
/**
4
 *
4
 *
5
 * @package WebanOS CI
5
 * @package WebanOS CI
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
7
 * @copyright 2016
7
 * @copyright 2016
8
 * @version $Rev: 1208 $
8
 * @version $Rev: 1209 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Artikel_to_bestellung_model extends CI_Model
11
class Artikel_to_bestellung_model extends CI_Model
12
{
12
{
Zeile 23... Zeile 23...
23
				shops s
23
				shops s
24
			JOIN
24
			JOIN
25
				Bestellung b
25
				Bestellung b
26
			ON
26
			ON
27
				s.id=b.shops_ID
27
				s.id=b.shops_ID
-
 
28
			WHERE
-
 
29
				b.id=".$id."
28
		";
30
		";
29
		$res = $GLOBALS['order_db']->query($sql);
31
		$res = $GLOBALS['order_db']->query($sql);
30
		$row = $res->unbuffered_row('array');
32
		$row = $res->unbuffered_row('array');
31
		$database = $row['database'];
33
		$database = $row['database'];
32
		$artikel = array();
34
		$artikel = array();