<?php

require_once("vistaprint.php");

$tux = imagecreatefrompng("/home/henning/Dropbox/Brugergrupper/AlsLUG/Tux-baggrund.png");

imagecopyresized($output,$tux,	20,20,		20,0*198,
				1155,1155,	imagesx($tux),imagesy($tux)-40-0*230);
imagefilledrectangle($output,imagesx($output)-$border,0,imagesx($output),imagesy($output),imagecolorallocate($output,255,255,255));
horiz_gradient	($output,	0,			$bar = 2250,
				imagesx($output),	$bar+100,
									100,240,100,240,255,255);

$stor = array(
										"size" => 40,
										);
$details = array(
										"size" => 20,
										);
foreach(array(
		"AlsLUG"						=> array(
										"fontfile" => "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf",
										"size" => 134,
										"x" => 30,
										"y" => 30,
										"color" => array("r" => 0, "g" => 0, "b" => 200),
										),
		"Alssund Linux Brugergruppe"				=> array("size" => 33),
//		"Alssund Linux"						=> array("size" => 37),
//		"Brugergruppe"						=> array(),
		""							=> array(
										"size" => 40,
										"y" => 260,
										"color" => array("r" => 0, "g" => 0, "b" => 0),
										),
		"Oplev den store"					=> $stor,
		"verden af frie og"					=> $stor,
		"gratis programmer"					=> $stor,
		"p&aring; DIN computer"					=> $stor,
		"- lagnt over 10000 programmer til"			=> $details,
		"    download - helt gratis"				=> $details,
		" "							=> $stor,
		"Pust nyt liv i"					=> $stor,
		"DIN computer"						=> $stor,
		"- ogs&aring; den gamle der er blevet"			=> $details,
		"    alt for langsom til windows"			=> $details,
/*
		"Vi holder installfest"					=> array(
										"size" => 45,
										"y" => $bar+20,),
		"2. l&oslash;rdag i hver m&aring;ned"			=> array(),
*/
		"Vi holder installfest 2. l&oslash;rdag i hver m&aring;ned" => array(
										"size" => 38,
										"y" => $bar+30,
										),
		"   "							=> array(),
		"Vi hj&aelig;lper dig med at installere Linux p&aring; DIN computer" => array(
										"color" => array("r" => 0, "g" => 0, "b" => 200),
										"size" => 29,
										),
		"Besøg os på Bakkensbro Aktivitets og Kultur Center"	=> array(),
		"i Ullerup. Se mere på www.alslug.dk"			=> array(),
		) AS $line => $options) print_text($line,$options);

$vistkort_brede = 58;
imagerectangle($output,imagesx($output)-$vistkort_brede*12,imagesy($output)-65*12,imagesx($output)-($vistkort_brede+3)*12	,imagesy($output),imagecolorallocate($output,255,0,0));
imagerectangle($output,imagesx($output)-$vistkort_brede*12,imagesy($output)-85*12,imagesx($output)				,imagesy($output),imagecolorallocate($output,255,0,0));
imagerectangle($output,imagesx($output)-$vistkort_brede*12,imagesy($output)-18*12,imagesx($output)				,imagesy($output),imagecolorallocate($output,255,0,0));

require_once("../output.php");

?>
