forked from science-ation/science-ation
remove brackets from subdivisions
change areas of expertise table to use class=summarytable
This commit is contained in:
parent
05a9ae0bf6
commit
abcd327e5a
@ -147,7 +147,7 @@
|
|||||||
echo "<hr />";
|
echo "<hr />";
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
echo "<h4>Areas of Expertise</h4>";
|
echo "<h4>Areas of Expertise</h4>";
|
||||||
echo "<table>";
|
echo "<table class=\"summarytable\">";
|
||||||
|
|
||||||
//grab the list of divisions, because the last fields of the table will be the sub-divisions
|
//grab the list of divisions, because the last fields of the table will be the sub-divisions
|
||||||
$q=mysql_query("SELECT * FROM projectdivisions ORDER BY id AND year='".$config['FAIRYEAR']."'");
|
$q=mysql_query("SELECT * FROM projectdivisions ORDER BY id AND year='".$config['FAIRYEAR']."'");
|
||||||
@ -178,14 +178,14 @@
|
|||||||
|
|
||||||
foreach($divs as $div)
|
foreach($divs as $div)
|
||||||
{
|
{
|
||||||
echo "<tr><td>".i18n($divnames[$div])."</td>";
|
echo "<tr><th>".i18n($divnames[$div])."</th>";
|
||||||
echo " <td>".$judge_divs[$div]."/5</td>";
|
echo " <td>".$judge_divs[$div]."/5</td>";
|
||||||
|
|
||||||
echo "<td>";
|
echo "<td>";
|
||||||
if(count($judge_subdivs[$div]))
|
if(count($judge_subdivs[$div]))
|
||||||
{
|
{
|
||||||
$divdata=implode(",",$judge_subdivs[$div]);
|
$divdata=implode(",",$judge_subdivs[$div]);
|
||||||
echo "($divdata)";
|
echo "$divdata";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
echo " ";
|
echo " ";
|
||||||
|
Loading…
Reference in New Issue
Block a user