Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1138 Revision 1140
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: 1138 $
8
 * @version $Rev: 1140 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Bestelladresse_model extends CI_Model
11
class Bestelladresse_model extends CI_Model
12
{
12
{
Zeile 23... Zeile 23...
23
				nachname,
23
				nachname,
24
				strasse1,
24
				strasse1,
25
				str_nr1,
25
				str_nr1,
26
				plz,
26
				plz,
27
				ort,
27
				ort,
28
				".$coFeld." AS land
28
				co.`name-ger` AS land
-
 
29
			FROM
-
 
30
				besgtelladresse ba
-
 
31
			JOIN
-
 
32
				content_management.countries co
-
 
33
			ON
-
 
34
				co.id=ba.land
29
			WHERE
35
			WHERE
30
				id = ".$id."
36
				ba.id = ".$id."
31
		";
37
		";
32
		$res = $GLOBALS['order_db']->query($sql);
38
		$res = $GLOBALS['order_db']->query($sql);
33
		$adresse = $res->row_array();
39
		$adresse = $res->row_array();
34
		return $adresse;
40
		return $adresse;
35
	}
41
	}