Subversion-Projekte lars-tiefland.content-management

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
    /**
4
     * @package   Content-management
5
     * @author    Webagentur Niewerth <tiefland@weban.de>
6
     * @copyright 2011 Webagentur Niewerth
7
     * @license   propietary http://www.weban.de
8
     * @version   $Rev: 811 $
9
     * @filesource
10
     *
11
     */
12
 
13
    /**
14
     *
15
     * @package   Content-management
16
     * @author    Webagentur Niewerth <tiefland@weban.de>
17
     * @copyright 2011 Webagentur Niewerth
18
     */
19
 
20
    // SVN: $Id: get_desc.php 811 2011-11-02 15:26:29Z tiefland $
21
 
22
    require_once "../toolbox/common.php";
23
 
24
    $item_id = Weban_Utils::clean_get_input( "item", "int" );
25
    $sql = "SELECT
26
            id,
27
            beschreibung
28
        FROM
29
            artikel
30
        WHERE
31
            id=$item_id
32
        AND
33
            Language='" . DEFAULT_LANG . "'
34
    ";
35
    $res = mysql_query( $sql );
36
    $item = mysql_fetch_assoc( $res );
37
    $GLOBALS["ui"]->assign( "item", $item );
38
    $GLOBALS["ui"]->assign( "user_rechte", $user_rechte );
39
    $GLOBALS["ui"]->display( "edit_desc.tpl" );
40
?>