This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ?> \n"; $q=mysql_query("SELECT * FROM fundraising_campaigns WHERE fiscalyear='{$config['FISCALYEAR']}' ORDER BY name"); while($r=mysql_fetch_object($q)) { echo "

".htmlspecialchars($r->name)."

\n"; echo "
id}\">\n"; echo "
id}\" method=\"post\" action=\"{$_SERVER['PHP_SELF']}\" onsubmit=\"return campaigninfo_save($r->id)\">\n"; echo "id}\" />\n"; echo "\n"; display_campaign_form($r); ?>

">


">
fundraising_goal}' AND fiscalyear='{$config['FISCALYEAR']}'"); $goalr=mysql_fetch_object($goalq); $recq=mysql_query("SELECT SUM(value) AS received FROM fundraising_donations WHERE fundraising_campaigns_id='$r->id' AND fiscalyear='{$config['FISCALYEAR']}' AND status='received'"); echo mysql_error(); $recr=mysql_fetch_object($recq); $received=$recr->received; if($r->budget) $percent=round($received/$r->target*100,1); else $percent=0; $col=colour_to_percent($percent); echo "id)\">\n"; echo " \n"; echo " \n"; echo " \n"; echo " "; echo " "; echo " \n"; echo " \n"; echo " \n"; echo "\n"; } ?>
$r->name$r->type".format_date($r->startdate)."".format_date($r->enddate)."$goalr->name".format_money($r->target,false)."".format_money($received,false)."{$percent}%

$campaign->name\n"; ?>
overview tab
donations tab
prospects tab
communications tab
'committee_main.php', 'Administration' => 'admin/index.php', 'Fundraising' => 'admin/fundraising.php'), "fundraising" ); ?> startdate) $sd=$r->startdate; else $sd=date("Y-m-d"); ?> $ "; echo "\n"; while($fgr=mysql_fetch_object($fgq)) { if($r->fundraising_goal==$fgr->goal) $sel="selected=\"selected\""; else $sel=""; echo "\n"; } echo "\n"; ?>
Create/Modify Campaigns Campaign Management