Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1298 Revision 1555
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: 1298 $
8
 * @version $Rev: 1555 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Weban_backend
11
class Weban_backend
12
{
12
{
Zeile 39... Zeile 39...
39
			WHERE
39
			WHERE
40
				domain='".__SHOP__."'
40
				domain='".__SHOP__."'
41
		";
41
		";
42
		$res = $GLOBALS["db_red"]->query($sql);
42
		$res = $GLOBALS["db_red"]->query($sql);
43
		$GLOBALS["webs"] = $res->row_array();
43
		$GLOBALS["webs"] = $res->row_array();
-
 
44
		$base = $_SERVER["DOCUMENT_ROOT"]."/backend";
-
 
45
		$extra = "/".__SHOP__."/";
-
 
46
		$file = "jquery-ui.custom.css";
-
 
47
		$css_file = $base.$extra.$file;
-
 
48
		if (!file_exists($css_file))
-
 
49
		{
-
 
50
			$css_file = $base."/start/".$file;
-
 
51
		}
-
 
52
		$CI->smarty->assign("jquery-ui_css", $css_file);
44
		$CI->smarty->assign("webs", $GLOBALS["webs"]);
53
		$CI->smarty->assign("webs", $GLOBALS["webs"]);
Zeile 45... Zeile 54...
45
 
54
 
46
		$sql = "SELECT
55
		$sql = "SELECT
47
				modules.interner_name AS m_name,
56
				modules.interner_name AS m_name,