forked from science-ation/science-ation
Add judges languages to the judges list export
Fixes BR#84 http://www.sfiab.ca/bugtracker/view.php?id=84
This commit is contained in:
parent
82a45a9d26
commit
cbfb9809c0
@ -54,6 +54,7 @@ $table['header']=array( i18n("ID"),
|
|||||||
i18n("Phone Work"),
|
i18n("Phone Work"),
|
||||||
i18n("Phone Work Ext"),
|
i18n("Phone Work Ext"),
|
||||||
i18n("Phone Cell"),
|
i18n("Phone Cell"),
|
||||||
|
i18n("Languages"),
|
||||||
i18n("Organization"),
|
i18n("Organization"),
|
||||||
i18n("Address 1"),
|
i18n("Address 1"),
|
||||||
i18n("Address 2"),
|
i18n("Address 2"),
|
||||||
@ -178,6 +179,13 @@ while($r=mysql_fetch_object($q))
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//and finally, grab their languages
|
||||||
|
$langq=mysql_query("SELECT * FROM judges_languages WHERE judges_id='".$r->id."' ORDER BY languages_lang");
|
||||||
|
while($langr=mysql_fetch_object($langq))
|
||||||
|
$languages.=$langr->languages_lang."/";
|
||||||
|
//stip off the last /
|
||||||
|
$languages=substr($languages,0,-1);
|
||||||
|
|
||||||
// print_r($judge_divs);
|
// print_r($judge_divs);
|
||||||
// print_r($judge_subdivs);
|
// print_r($judge_subdivs);
|
||||||
|
|
||||||
@ -190,6 +198,7 @@ while($r=mysql_fetch_object($q))
|
|||||||
$r->phonework,
|
$r->phonework,
|
||||||
$r->phoneworkext,
|
$r->phoneworkext,
|
||||||
$r->phonecell,
|
$r->phonecell,
|
||||||
|
$languages,
|
||||||
$r->organization,
|
$r->organization,
|
||||||
$r->address,
|
$r->address,
|
||||||
$r->address2,
|
$r->address2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user