Subversion-Projekte lars-tiefland.content-management

Revision

Revision 1 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1 Revision 2
Zeile 3... Zeile 3...
3
    /**
3
    /**
4
     * @package   Content-management
4
     * @package   Content-management
5
     * @author    Lars Tiefland <tiefland@weban.de>
5
     * @author    Lars Tiefland <tiefland@weban.de>
6
     * @copyright 2010 Webagentur Niewerth
6
     * @copyright 2010 Webagentur Niewerth
7
     * @license   propietary http://www.weban.de
7
     * @license   propietary http://www.weban.de
8
     * @version   $Rev: 3361 $
8
     * @version   $Rev: 4112 $
9
     * @filesource
9
     * @filesource
10
     * 
10
     * 
11
     */
11
     */
Zeile 12... Zeile 12...
12
 
12
 
Zeile 15... Zeile 15...
15
     * @package   Content-management
15
     * @package   Content-management
16
     * @author    Lars Tiefland <tiefland@weban.de>
16
     * @author    Lars Tiefland <tiefland@weban.de>
17
     * @copyright 2010 Webagentur Niewerth
17
     * @copyright 2010 Webagentur Niewerth
18
     */
18
     */
Zeile 19... Zeile 19...
19
 
19
 
Zeile 20... Zeile 20...
20
    // SVN: $Id: preisagentur_editor.php 3361 2011-02-24 15:34:41Z tiefland $
20
    // SVN: $Id: preisagentur_editor.php 4112 2011-11-29 08:25:31Z tiefland $
21
 
21
 
22
    define( "modul_name", "online_shop" );
22
    define( "modul_name", "online_shop" );
23
    define( "tool_name", "directory" );
-
 
24
    require_once  "connect2.php";
23
    define( "tool_name", "directory" );
Zeile 25... Zeile -...
25
    require_once  "Weban_Smarty.class.php";
-
 
26
    session_start();
-
 
27
 
24
    require_once  "../toolbox/common.php";
28
    $GLOBALS["ui"] = new Weban_Smarty();
25
    session_start();
29
 
26
 
30
    if ( $_POST )
27
    if ( $_POST )
31
    {
28
    {
Zeile 76... Zeile 73...
76
        ";
73
        ";
77
        $res=mysql_query($sql);
74
        $res=mysql_query($sql);
78
        $row=mysql_fetch_assoc($res);
75
        $row=mysql_fetch_assoc($res);
79
        $GLOBALS["ui"]->assign("zeile", $row);    
76
        $GLOBALS["ui"]->assign("zeile", $row);    
80
    }
77
    }
-
 
78
    $GLOBALS["ui"]->compile_id="preisagentur";
81
    $GLOBALS["ui"]->assign( "user_rechte", $user_rechte );
79
    $GLOBALS["ui"]->assign( "user_rechte", $user_rechte );
82
    $GLOBALS["ui"]->assign( "web_rechte", $web_rechte );
80
    $GLOBALS["ui"]->assign( "web_rechte", $web_rechte );
83
    $GLOBALS["ui"]->assign( "webs", $webs );
81
    $GLOBALS["ui"]->assign( "webs", $webs );
84
    $GLOBALS["ui"]->display( "preisagentur_editor.tpl" );
82
    $GLOBALS["ui"]->display( "preisagentur_editor.tpl" );
85
?>
83
?>
86
84