Current Path : /web/htdocs/www.entinoprofit.org/home/database/make/
Upload File :
Current File : /web/htdocs/www.entinoprofit.org/home/database/make/tl.php

<?php
include_once("../include/config.php");
include_once("../include/auth.lib.php");


list($status, $user) = auth_get_status();

if($status == AUTH_LOGGED & auth_get_option("TRANSICTION METHOD") == AUTH_USE_LINK){
	$link = "?uid=".$_GET['uid'];
}else	$link = '';


$id = $_GET['id'];
$query = "SELECT * FROM utenti WHERE id = '$id'";
$risultato = mysql_query($query) or die("Query 1 failed");

$array = mysql_fetch_array($risultato, MYSQL_BOTH);


$image_info = array(
    'image'    => 'TL.gif'
);

$denominazione = strtoupper($array['name']);

$indirizzo = strtoupper($array['indirizzo'] );
$presidente = strtoupper($array['nome1'] .' '. $array['cognome1']);

$club = $array['club'];


$image_text = array(

	array(  //
        'x'     => 200,
        'y'     => 615,
        'color' => array(103, 103, 103),
        'font'  => 1,
		'size' => 40,
        'text'  => $id
    ),
	array(  //
        'x'     => 460,
        'y'     => 818,
        'color' => array(103, 103, 103),
        'font'  => 1,
		'size' => 23,
        'text'  => $denominazione
    ),
	array( //
        'x'     => 220,
        'y'     => 750,
        'color' => array(103, 103, 103),
        'font'  => 1,
		'size' => 20,
        'text'  => $presidente
    ),
		array(  //
        'x'     => 466,
        'y'     => 1316,
        'color' => array(103, 103, 103),
        'font'  => 1,
		'size' => 23,
        'text'  => 'Valida fino al 30.09.2013'
    ),
	array(  //
        'x'     => 931,
        'y'     => 581,
        'color' => array(103, 103, 103),
        'font'  => 1,
		'size' => 23,
        'text'  => 'Anno'
    ),
	array(  //
        'x'     => 901,
        'y'     => 611,
        'color' => array(103, 103, 103),
        'font'  => 1,
		'size' => 23,
        'text'  => $annoAssL
	),
	array( //
        'x'     => 280,
        'y'     => 888,
        'color' => array(103, 103, 103),
        'font'  => 1,
		'size' => 23,
        'text'  => $indirizzo
    )
	
);

include('./includes/dynamic_gd_image.php');


?>