Subversion-Projekte lars-tiefland.ci

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
904 lars 1
<?php
2
 
3
	//$Id: artikel_bt.php 437 2012-06-14 11:07:55Z tiefland $
4
 
5
	/**
6
	 * @author Lars Tiefland <tiefland@weban.de>
7
	 * @copyright 2008 Webagentur Niewerth
8
	 * @package Content-management
9
	 * @version 1.0.0
10
	 * @license propietary
11
	 * @filesource
12
	 *
13
	 */
14
 
15
	/**
16
	 *
17
	 * @author Lars Tiefland <tiefland@weban.de>
18
	 * @copyright 2008 Webagentur Niewerth
19
	 * @package Content-management
20
  	 */
21
    require_once "../../Online-Shop/connect2.php";
22
    if($web_rechte["online_shop"]["directory"]["Buttonname"])
23
    {
24
        $text=$web_rechte["online_shop"]["directory"]["Buttonname"];
25
    }
26
    else
27
    {
28
        $text="Artikelstamm";
29
    }
30
  	$b_name=$_GET["img"];
31
	$img=imagecreatefromgif("$b_name");
32
	$color=ImageColorAllocate ($img, 0, 0, 0);
33
    imagettftext($img, 8, 0, 6, 38, $color, "../../fonts/arial.ttf", $text);
34
    header("Content-type:image/gif");
35
    imagegif($img);
36
?>