Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 872 Revision 883
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: 872 $
8
 * @version $Rev: 883 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Weban_backend
11
class Weban_backend
12
{
12
{
13
	public function __construct()
13
	public function __construct()
14
	{
14
	{
15
		$CI = &get_instance();
15
		$CI = &get_instance();
16
		$web_rechte = array();
16
		$web_rechte = array();
17
		$user_rechte = array();
17
		$user_rechte = array();
-
 
18
		$sql = "SELECT
-
 
19
				*
-
 
20
			FROM
-
 
21
				webs
-
 
22
			WHERE
-
 
23
				domain='".__SHOP__."'
-
 
24
		";
-
 
25
		$res = $GLOBALS["db_red"]->query($sql);
-
 
26
		$GLOBALS["webs"] = $res->row_array();
-
 
27
 
18
		$sql = "SELECT
28
		$sql = "SELECT
19
				modules.interner_name AS m_name,
29
				modules.interner_name AS m_name,
20
				tools.button_name AS t_name,
30
				tools.button_name AS t_name,
21
				properties.interner_name AS p_name,
31
				properties.interner_name AS p_name,
22
				webs_properties.Bezeichnung
32
				webs_properties.Bezeichnung