Location: PHPKode > projects > O - OpenSource GroupWare > osgw/notebook/home.php
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   @Authors:	Ryan Thompson(hide@address.com)
$nb = new notebook;

<table width="100%" cellspacing="0">
<h2 class="home_header">
	<?php echo $O->create_link("/notebook", $nb->msg('service_name'), 'home_header')?>
	$db->query("SELECT note_id, title, posted FROM o_notebook
		WHERE user_id='". $user->user_id ."' ORDER BY posted LIMIT 10");
		if($class == "list_light")
			$class = "list_dark";
		} else {
			$class = "list_light";
		echo "<tr>";
		echo "<td class=\"$class\">";
		echo $O->create_link("/notebook/edit_note.php?id=". $db->record['note_id'], $db->record['title'],
			$class, "title=\"Posted: ". date($date->long_date, $db->record['posted']) ."\"");
		echo "</td>";
		echo "</tr>";

<td style="text-align:right">
<?php echo $O->create_link("/notebook/add_note.php", $nb->msg('add_note'), 'menu_link');?>
Return current item: O - OpenSource GroupWare