示例#1
0
//*********************Page Style *******************************//
// used to set page styles.  This should be used sparingly.  External css should be used instead.
$page_style = '';
$page->setPageStyle($page_style);
$page->displayPageTop();
// **********************Start html for content column ****************************//
$notify->Notify();
?>
<div id="content_column_header">
Manage Events
</div>
	<div class="data_list">
		<h3>Upcoming Dates</h3>
		<ul class="item_list">
		<?php 
$cal->view_event('', '', '#', 'full');
?>
		</ul>
	</div>

<?php 
// **********************Closes the Content Column and begins Info Column ****************************//
$page->printContentColumnEnd();
// **********************Start code for Info Column ****************************//
extract($_REQUEST);
switch ($index) {
    case 'Edit':
        ?>
					<div id="content_column_header">
						<h2>Edit Event</h2>
					</div>
示例#2
0
	<?php 
echo WELCOME_SCREEN_BODY;
?>
</div>

<div id="content_column_right">

	<?php 
if (EMAIL_SYSTEM == 'gmail') {
    ?>
	<div class="data_list">
		<h3>Upcoming Dates</h3>
		<a class="view_all_link" href="calendar.php">view all</a>
		<ul class="item_list">
		<?php 
    $cal->view_event('', 5, 'calendar.php');
    ?>
		</ul>
	</div>
	<?php 
}
if (PHONE_SYSTEM == "asterisk") {
    ?>
	<div class="data_list">
		<h3>Voice Mail</h3>
		<a class="view_all_link" href="read_news.php">view all</a>
		<ul class="item_list">
			<?php 
    $asterisk->display_mailbox($page->auth->Get_user_id(), 5);
    ?>
		</ul>