From 2305a44d5729109fad5ca152858dbac25ebeb27d Mon Sep 17 00:00:00 2001 From: james Date: Fri, 23 Nov 2007 21:25:52 +0000 Subject: [PATCH] Rollover award description Rollover award prizes trophies --- config/rollover.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/config/rollover.php b/config/rollover.php index a7dc350..85f23a7 100644 --- a/config/rollover.php +++ b/config/rollover.php @@ -157,11 +157,12 @@ echo mysql_error(); while($r=mysql_fetch_object($q)) { - mysql_query("INSERT INTO award_awards (award_sponsors_id,award_types_id,name,criteria,presenter,`order`,year,excludefromac,cwsfaward) VALUES ( + mysql_query("INSERT INTO award_awards (award_sponsors_id,award_types_id,name,criteria,description,presenter,`order`,year,excludefromac,cwsfaward) VALUES ( '".mysql_escape_string($r->award_sponsors_id)."', '".mysql_escape_string($r->award_types_id)."', '".mysql_escape_string($r->name)."', '".mysql_escape_string($r->criteria)."', + '".mysql_escape_string($r->description)."', '".mysql_escape_string($r->presenter)."', '".mysql_escape_string($r->order)."', '".mysql_escape_string($newfairyear)."', @@ -196,7 +197,7 @@ echo mysql_error(); while($r2=mysql_fetch_object($q2)) { - mysql_query("INSERT INTO award_prizes (award_awards_id,cash,scholarship,`value`,prize,number,`order`,year,excludefromac) VALUES ( + mysql_query("INSERT INTO award_prizes (award_awards_id,cash,scholarship,`value`,prize,number,`order`,year,excludefromac,trophystudentkeeper,trophystudentreturn,trophyschoolkeeper,trophyschoolreturn) VALUES ( '".mysql_escape_string($award_awards_id)."', '".mysql_escape_string($r2->cash)."', '".mysql_escape_string($r2->scholarship)."', @@ -205,7 +206,12 @@ '".mysql_escape_string($r2->number)."', '".mysql_escape_string($r2->order)."', '".mysql_escape_string($newfairyear)."', - '".mysql_escape_string($r2->excludefromac)."')"); + '".mysql_escape_string($r2->excludefromac)."', + '".mysql_escape_string($r2->trophystudentkeeper)."', + '".mysql_escape_string($r2->trophystudentreturn)."', + '".mysql_escape_string($r2->trophyschoolkeeper)."', + '".mysql_escape_string($r2->trophyschoolreturn)."' + )"); } }