Subversion-Projekte lars-tiefland.shop_ns

Revision

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

Revision 8 Revision 22
Zeile 48... Zeile 48...
48
            $this->name = $row["name"];
48
            $this->name = $row["name"];
49
            $this->beschreibung = $row["beschreibung"];
49
            $this->beschreibung = $row["beschreibung"];
50
            $this->father = $row["father"];
50
            $this->father = $row["father"];
51
            $this->kennung = $row["kennung"];
51
            $this->kennung = $row["kennung"];
52
            $this->ean = $row["ean"];
52
            $this->ean = $row["ean"];
-
 
53
            if ( $GLOBALS["INI"]["alias"] == 0 )
-
 
54
            {
53
            $this->link = "/index.php?item=" . $this->id;
55
                $this->link = "/index.php?item=" . $this->id;
-
 
56
            }
-
 
57
            else
-
 
58
            {
-
 
59
                $path = getPath( $this->father );
-
 
60
                foreach ( $path as $dir )
-
 
61
                {
-
 
62
                    $link[] = $dir->id . "-" . str2url( $dir->name );
-
 
63
                }
-
 
64
                $link[] = $this->id . "-" . str2url( $this->name ) . ".html";
-
 
65
                $link = "/" . implode( "/", $link );
-
 
66
                $this->link = $link;
-
 
67
            }
54
            $fd = new directory( $this->father );
68
            $fd = new directory( $this->father );
55
            $this->artikelstamm = $fd->artikelstamm;
69
            $this->artikelstamm = $fd->artikelstamm;
56
            $this->hersteller = new hersteller( $row["hersteller"] );
70
            $this->hersteller = new hersteller( $row["hersteller"] );
57
            $this->bilder = artikel_bild::Liste( $this->id );
71
            $this->bilder = artikel_bild::Liste( $this->id );
58
            $staffeln = preise::Liste( $this->id );
72
            $staffeln = preise::Liste( $this->id );