", $str); $str = ereg_replace(""", "\"", $str); $str = ereg_replace("&", "&", $str); return $str; } function fdate($date, $ln) { list( $year, $month, $day ) = split( '-', $date ); if($ln == "es") { $month_es = array(enero,febrero,marzo,abril,mayo,junio, julio,agusto,septiembre,octubre,noviembre,diciembre); return $d_es = (int)$day . " de " . $month_es[$month-1] . " de $year"; } else { return $d_en = date("F j, Y", mktime(0,0,0,$month,$day,$year)); } } ?> Chronology of Saving the Mint
Back to Restoration
 

Chronology of Saving the Mint

hyperlink: Project Goals
hyperlink: Proposed Layout execute($sql); while(!$rs->EOF) { $yr_sel[] = $rs->fields[0]; $rs->nextRow(); } rsort($yr_sel); if (!$yr) $yr = $yr_sel[0]; $yr .= "%"; // Get news items $sql = "SELECT * FROM news_item WHERE date LIKE '$yr' ORDER BY date DESC"; $rs = $db->execute($sql); echo "
"; echo "Select a year
\n"; echo ""; while(!$rs->EOF) { $t = $rs->fields["title_en"]; $d = $rs->fields["descr_en"]; $fd = fdate($rs->fields["date"], en); echo "\n"; $rs->nextRow(); } echo "
\n"; echo "

"; echo $fd . "
\n"; echo "

" . htmlprep($t) . "

\n"; echo "

" . htmlprep($d) . "

\n"; ?>