Implemented HTML-wrapped title viewing
authorshort <>
Thu, 16 Aug 2001 12:32:21 +0000 (12:32 +0000)
committershort <>
Thu, 16 Aug 2001 12:32:21 +0000 (12:32 +0000)
title.php [new file with mode: 0644]

diff --git a/title.php b/title.php
new file mode 100644 (file)
index 0000000..565c4cd
--- /dev/null
+++ b/title.php
@@ -0,0 +1,24 @@
+<?php $cvs_id='$Id$';
+
+       include("common.php");
+
+       prepvar("year" ,"[0-9]+");
+       prepvar("month","[0-9]+");
+
+       $month_a=month_a($year,$month);
+       $title_tail="Titulní strana èísla ".$month_a["name"];
+       heading();
+
+?>
+<table border="0" width="100%">
+<tr><td align="center"><table border="1">
+       <tr><th align="center"><?php print($title_tail); ?></th></tr>
+       <tr><td align="center"><?php
+       print("<img src=\"".$month_a["img"]."\" ".img_size($month_a["img"])
+                       ." alt=\"titulní stránka ".$month_a["name"]."\" />");
+?></td></tr>
+       </table></td></tr>
+</table>
+<?php
+       footer();
+?>