} else { echo ">"; } if ($can_add) { echo "<a title=\"" . translate("New Entry") . "\" href=\"edit_entry.php?" . $u_url . "date=" . date("Ymd", $days[$d]) . "\"><img src=\"new.gif\" class=\"new\" alt=\"" . translate("New Entry") . "\" /></a>\n"; } echo "<a title=\"" . $header[$d] . "\" href=\"day.php?" . $u_url . "date=" . date("Ymd", $days[$d]) . "{$caturl}\">" . $header[$d] . "</a></th>\n</tr>\n"; print "<tr>\n<td"; if ($date == date("Ymd", $today)) { echo " class=\"today\">"; } elseif ($is_weekend) { echo " class=\"weekend\">"; } else { echo ">"; } print_det_date_entries($date, $user, true); echo " "; echo "</td></tr>\n"; } ?> </table> </center> <?php echo $eventinfo; ?> <br /> <a title="<?php etranslate("Generate printer-friendly version"); ?> " class="printer" href="week_details.php?<?php
$hclass = "tableheader"; $color = $CELLBG; } } echo "<tr><th width=\"100%\" bgcolor=\"{$hcolor}\" class=\"{$hclass}\">"; if (empty($friendly) && $can_add) { echo "<a href=\"edit_entry.php?" . $u_url . "date=" . date("Ymd", $days[$d]) . "\">" . "<img src=\"new.gif\" width=\"10\" height=\"10\" alt=\"" . translate("New Entry") . "\" border=\"0\" align=\"right\">" . "</a>"; } echo "<a href=\"day.php?" . $u_url . "date=" . date("Ymd", $days[$d]) . "{$caturl}\" class=\"{$hclass}\">" . $header[$d] . "</a></th></tr>"; print "<tr><td valign=\"top\" height=\"75\" "; if ($date == date("Ymd")) { echo "bgcolor=\"{$color}\">"; } else { echo "bgcolor=\"{$color}\">"; } print_det_date_entries($date, $user, $hide_icons, true); echo " "; echo "</td></tr>\n"; } ?> </tr> </table> </td></tr></table></center> <?php if (empty($friendly)) { echo $eventinfo; ?> <P> <A CLASS="navlinks" HREF="week_details.php?<?php