forked from science-ation/science-ation
Update front-end dates
This commit is contained in:
parent
b51b4420db
commit
b47b88ab9b
@ -26,8 +26,11 @@
|
|||||||
send_header("Important Dates",null,"important_dates");
|
send_header("Important Dates",null,"important_dates");
|
||||||
|
|
||||||
echo "<table>";
|
echo "<table>";
|
||||||
|
if($conference['id']) {
|
||||||
$q=mysql_query("SELECT *,UNIX_TIMESTAMP(date) AS udate FROM dates WHERE year='{$config['FAIRYEAR']}' ORDER BY date");
|
$q=mysql_query("SELECT *,UNIX_TIMESTAMP(date) AS udate FROM dates WHERE conferences_id='{$conference['id']}' ORDER BY date");
|
||||||
|
} else {
|
||||||
|
$q=mysql_query("SELECT *,UNIX_TIMESTAMP(date) AS udate FROM dates WHERE year='{$config['FAIRYEAR']}' ORDER BY date");
|
||||||
|
}
|
||||||
while($r=mysql_fetch_object($q))
|
while($r=mysql_fetch_object($q))
|
||||||
{
|
{
|
||||||
$trclass = ($trclass == 'odd') ? 'even' : 'odd';
|
$trclass = ($trclass == 'odd') ? 'even' : 'odd';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user