Subversion-Projekte lars-tiefland.shop_ns

Revision

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

Revision 34 Revision 37
Zeile 18... Zeile 18...
18
    {
18
    {
Zeile 19... Zeile 19...
19
 
19
 
20
        public static function Liste( $aktion )
20
        public static function Liste( $aktion )
21
        {
21
        {
22
            $sql = "SELECT
22
            $sql = "SELECT
23
                    artikel_id
23
                    artikel
24
                FROM
24
                FROM
25
                    artikel_2_Aktionen
25
                    artikel_2_Aktionen
26
                WHERE
26
                WHERE
27
                    akion_id = $aktion
27
                    Aktionen = $aktion
28
            ";
28
            ";
29
            $res = $GLOBALS["db"]->query( $sql );
29
            $res = $GLOBALS["db"]->query( $sql );
30
            $ow = $res->fetcrow();
30
            $ow = $res->fetcrow();
31
            $ret[] = new artikel( $row["artikel_id"] );
31
            $ret[] = new artikel( $row["artikel_id"] );