<< ".i18n("Back to Configuration")."
"; if($_POST['action']=="save") { if($_POST['savedates']) { foreach($_POST['savedates'] as $key=>$val) { mysql_query("UPDATE dates SET date='".mysql_escape_string(stripslashes($val))."' WHERE year='".$config['FAIRYEAR']."' AND id='$key'"); } } echo happy(i18n("Dates successfully saved")); } $q=mysql_query("SELECT * FROM dates WHERE year=0 ORDER BY var"); echo "
"; echo "\n"; echo ""; echo ""; $q=mysql_query("SELECT * FROM dates WHERE year='".$config['FAIRYEAR']."' ORDER BY date"); while($r=mysql_fetch_object($q)) { echo ""; } echo "

".i18n("Dates for fair year %1",array($config['FAIRYEAR']))."

$r->name".i18n($r->description)."id]\" value=\"$r->date\" />
"; echo "\n"; echo "
"; send_footer(); ?>