From: short <>
Date: Wed, 19 Dec 2001 20:30:52 +0000 (+0000)
Subject: title_icons_table_month(): rewritten
X-Git-Url: https://git.jankratochvil.net/?p=www.energie.vellum.cz.git;a=commitdiff_plain;h=22a4058cb135366061add810df74e635a32dbea3
title_icons_table_month(): rewritten
- Articles are now listed each separately (requested)
- title image has now separate list item, image is no longer ctive
- each table cell has now its own heading
title_icons(): split value changed 6->4 (now the table has 4x3 cells)
- needed for 800x600 browser compatibility
---
diff --git a/common.php b/common.php
index d1b2412..e4587c1 100644
--- a/common.php
+++ b/common.php
@@ -221,11 +221,19 @@ function title_icons_table_month($year,$month,$month_last,$sequential)
global $tb_clanek;
$month_a=month_a($year,$month,$month_last,$sequential);
- print(""
- .img($month_a["icon"],"titulní stránka ".$month_a["name_full"])."
"
- ."obsah ".$month_a["name"]."");
- if (db_item("select count(*) from $tb_clanek where year=$year and month=$month"))
- print("
ukázka èlánkù");
+ print("
".$month_a["name"]." |
---|
" + .img($month_a["icon"],"titulní stránka ".$month_a["name_full"])." |
\n"
+ ."• titulní strana \n" + ."• obsah \n"); + $result=db_query("select name,id from $tb_clanek where year=$year and month=$month order by id"); + while ($row=mysql_fetch_array($result)) + print("• " + .htmlspecialchars($row["name"])." \n"); + mysql_free_result($result); + print(" |