forked from science-ation/science-ation
Sort the sponsorships list
This commit is contained in:
parent
48ee8ee629
commit
585510ad87
@ -71,7 +71,8 @@ require_once("../dialog.inc.php");
|
||||
FROM sponsorships
|
||||
JOIN sponsors ON sponsorships.sponsors_id=sponsors.id
|
||||
WHERE (sponsorships.fundraising_type='$r->type' $orsql)
|
||||
AND sponsorships.year='{$config['FAIRYEAR']}'");
|
||||
AND sponsorships.year='{$config['FAIRYEAR']}'
|
||||
ORDER BY status DESC, probability DESC, organization");
|
||||
while($sr=mysql_fetch_object($sq)) {
|
||||
echo "<tr id=\"sponsorships_$sr->id\" class=\"fundraising{$sr->status}\">";
|
||||
echo "<td><a title=\"".i18n("Edit sponsorship details")."\" onclick=\"return SFIABDialog(event,'fundraising_sponsorship.php?id=$sr->id&fundraising_type=$r->type',400,200)\" href=\"#\"><img border=\"0\" src=\"".$config['SFIABDIRECTORY']."/images/16/edit.".$config['icon_extension']."\"></a>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user