include("common.php");
+ $head_css="
+th,td { padding: 3px }
+h3,h4,h5,h6 { color: aqua; background-color: transparent; }
+caption { color: aqua; background-color: transparent; }
+";
+
prepvar("year" ,"[0-9]+");
prepvar("month","[0-9]+");
prepvar("id" ,"[0-9]+",false/*required*/);
function print_article($row)
{
- print("<h2>".htmlspecialchars($row["name"])."</h2>\n".$row["contents"]);
+ print("<h2>".htmlspecialchars(ereg_replace("\\|.*\$","",$row["name"]))."</h2>\n".$row["contents"]);
}
if (isset($id))