Exemplo n.º 1
0
            }
            //echo date ( "D, m-d-Y H:i:s", $date ) . "<br />";
            print_date_entries(date("Ymd", $date), !empty($user) ? $user : $login, false, implode(',', $viewusers));
            print "</td>\n";
        } else {
            print "<td>&nbsp;</td>\n";
        }
    }
    print "</tr>\n";
}
?>
</table><br />

<?php 
echo $eventinfo;
display_unapproved_events($is_assistant || $is_nonuser_admin ? $user : $login);
?>

<br /> 

<?php 
if ($friendly == "1") {
    echo "<center><a href=\"#\" onClick=\"window.print();\"><img src=\"imprimante.gif\" border=\"0\" alt=\"Imprimer\"> <a href=\"#\" onClick=\"window.close();\"><img src=\"bouton_fermer.gif\" border=\"0\" alt=\"Fermer\"></center>\n";
} else {
    if ($thisyear) {
        $tmp .= "year={$thisyear}&amp;month={$thismonth}&amp;";
    }
    if (!empty($user)) {
        $tmp .= "user={$user}&amp;";
    }
    if (!empty($cat_id)) {
Exemplo n.º 2
0
?>
</td><td>
			<?php 
display_small_month(11, $year, False);
?>
</td><td>
			<?php 
display_small_month(12, $year, False);
?>
		</td></tr>
	</table>
</div>

<br />
<?php 
display_unapproved_events($login);
?>
<br />
<a title="<?php 
etranslate("Generate printer-friendly version");
?>
" class="printer" href="#" onClick="popup('year.php?<?php 
if ($thisyear) {
    echo "year={$thisyear}&amp;";
}
if ($user != $login && !empty($user)) {
    echo "user={$user}&amp;";
}
?>
friendly=1', '850', '650');"><img src="imprimante.gif" alt="imprimer" border="0"></a>