Subversion-Projekte lars-tiefland.laravel_shop

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php
        
        //$Id: artikel_bt.php 2 2020-10-23 07:10:35Z tiefland $

        /**
         * @author Lars Tiefland <tiefland@weban.de>
         * @copyright 2008 Webagentur Niewerth
         * @package Content-management
         * @version 1.0.0
         * @license propietary
         * @filesource
         * 
         */

        /**
         * 
         * @author Lars Tiefland <tiefland@weban.de>
         * @copyright 2008 Webagentur Niewerth
         * @package Content-management
         */
    require_once "../../Online-Shop/connect2.php";
    if($web_rechte["online_shop"]["directory"]["Buttonname"])
    {
        $text=$web_rechte["online_shop"]["directory"]["Buttonname"];
    }
    else
    {
        $text="Artikelstamm";
    }
        $b_name=$_GET["img"];
        $img=imagecreatefromgif("$b_name");
        $color=ImageColorAllocate ($img, 0, 0, 0);
    imagettftext($img, 8, 0, 6, 38, $color, "../../fonts/arial.ttf", $text);
    header("Content-type:image/gif");
    imagegif($img);
?>