<?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' => 'RCT.gif'
);
$denominazione = strtoupper($array['name']);
$indirizzo = strtoupper($array['indirizzo'] );
$club = $array['club'];
$image_text = array(
array( //
'x' => 200,
'y' => 615,
'color' => array(103, 103, 103),
'font' => 1,
'size' => 40,
'text' => $id
),
array( //
'x' => 340,
'y' => 750,
'color' => array(103, 103, 103),
'font' => 1,
'size' => 23,
'text' => $denominazione
),
array( //
'x' => 466,
'y' => 1278,
'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' => 290,
'y' => 820,
'color' => array(103, 103, 103),
'font' => 1,
'size' => 23,
'text' => $indirizzo
)
);
include('includes/dynamic_gd_image.php');
?>