diff --git a/admin/fundraising.php b/admin/fundraising.php index cda239f..bdaefde 100644 --- a/admin/fundraising.php +++ b/admin/fundraising.php @@ -196,16 +196,20 @@ if(mysql_num_rows($q)) {

Upcoming Proposals

=NOW() ORDER BY fundingselectiondate LIMIT 5"); +$q=mysql_query("SELECT * FROM sponsors WHERE fundingselectiondate>=NOW() OR proposalsubmissiondate>=NOW() ORDER BY fundingselectiondate LIMIT 5"); echo mysql_error(); if(mysql_num_rows($q)) { echo ""; echo ""; echo " \n"; echo " \n"; + echo " \n"; echo "\n"; while($r=mysql_fetch_object($q)) { - echo "\n"; + echo ""; + echo ""; + echo ""; + echo "\n"; } echo "
".i18n("Name")."".i18n("Funding Selection Date")."".i18n("Proposal Submission Date")."
$r->organization".format_date($r->fundingselectiondate)."
$r->organization".format_date($r->fundingselectiondate)."".format_date($r->proposalsubmissiondate)."
\n"; } else {