From 2c0fb0f90d5869489ff293455c803d6f3d032e24 Mon Sep 17 00:00:00 2001 From: james Date: Fri, 14 Jan 2005 20:41:22 +0000 Subject: [PATCH] add logo to reports --- admin/reports_checkin.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/admin/reports_checkin.php b/admin/reports_checkin.php index 63c4548..f212949 100644 --- a/admin/reports_checkin.php +++ b/admin/reports_checkin.php @@ -6,7 +6,11 @@ $catq=mysql_query("SELECT * FROM projectcategories WHERE year='".$config['FAIRYE if($catr=mysql_fetch_object($catq)) { - $pdf=new lpdf(i18n($config['fairname']),i18n("Checkin List")." - ".i18n($catr->category)); + $pdf=new lpdf( i18n($config['fairname']), + i18n("Checkin List")." - ".i18n($catr->category), + $_SERVER['DOCUMENT_ROOT'].$config['SFIABDIRECTORY']."/data/logo-200.gif" + ); + $pdf->newPage(); $q=mysql_query("SELECT registrations.id AS reg_id, registrations.num AS reg_num,