function title_table_month($year,$month,$month_last)
{
- $month_full=month_full($year,$month,$month_last);
- $base="img/eap-$year-$month_full";
- $name= "$year/$month_full";
- print("<a href=\"${base}.jpg\">"
- ."<img src=\"${base}s.jpg\" ".img_size(98,138)." alt=\"titulní stránka $name\" /></a><br />\n"
- ."<a href=\"obsah.php?year=$year&month=$month\">obsah $name</a>"
+ $month_a=month_a($year,$month,$month_last);
+ print("<a href=\"title.php?year=$year&month=$month\">"
+ ."<img src=\"".$month_a["icon"]."\" ".img_size($month_a["icon"])
+ ." alt=\"titulní stránka ".$month_a["name"]."\" /></a><br />\n"
+ ."<a href=\"obsah.php?year=$year&month=$month\">obsah ".$month_a["name"]."</a>"
);
}