X-Git-Url: http://git.jankratochvil.net/?p=www.energie.vellum.cz.git;a=blobdiff_plain;f=clanek.php;h=662c0a1f1a240c123fd88732d8c82674affc841b;hp=5465ab75c85b8809ebcc45e98ecb37645c296efb;hb=HEAD;hpb=afb7fcc2f8b4ce6ffc8ad2071adb63fa4cb9c322 diff --git a/clanek.php b/clanek.php index 5465ab7..662c0a1 100644 --- a/clanek.php +++ b/clanek.php @@ -2,6 +2,12 @@ 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*/); @@ -22,7 +28,7 @@ function print_article($row) { - print("

".htmlspecialchars($row["name"])."

\n".$row["contents"]); + print("

".htmlspecialchars(ereg_replace("\\|.*\$","",$row["name"]))."

\n".$row["contents"]); } if (isset($id))