?> <div class="task"> <div class="headline10"><?php echo $do_task->formated_date; ?> </div> <?php $do_task_completed->getAllCompletedTasks($do_task->formated_date); while ($do_task_completed->next()) { ?> <span id="t<?php echo $do_task->idtask; ?> " class="task_item"> <span class="task_category"><?php echo $do_task_category->getTaskCategoryName($do_task_completed->category); ?> </span> <span class="task_desc"><a href="#"><?php echo $do_task_completed->task_description; ?> </a></span> </span><br /> <?php } ?> </div> <?php } } ?>
<div class="pad20"> <span class="headline14">Welcome</span> </div> </div> <div class="contentfull"> Welcome back <?php // print_r($_SESSION['do_User']); echo $_SESSION['do_User']->firstname; $do_task->getAllTasksOverdue(); if ($do_task->getNumRows()) { ?> <div class="task"> <div class="headline10" style="color: #ff0000;">Your Overdue taks</div> <?php while ($do_task->next()) { $category = $do_task_category->getTaskCategoryName($do_task->category); ?> <span id="t<?php echo $do_task->idtask; ?> " class="task_item"> <input type="checkbox" name="c<?php echo $do_task->idtask; ?> " class="task_checkbox" onclick="fnTaskComplete('<?php echo $do_task->idtask; ?> ')" /> <?php if ($category != '') { ?>
// Copyright 2008 - 2010 all rights reserved, SQLFusion LLC, info@sqlfusion.com /** Ofuz Open Source version is released under the GNU Affero General Public License, please read the full license at: http://www.gnu.org/licenses/agpl-3.0.html **/ $pageTitle = 'Ofuz'; $Author = 'SQLFusion LLC'; $Keywords = 'Keywords for search engine'; $Description = 'Description for search engine'; $background_color = 'white'; include_once 'config.php'; include_once 'includes/ofuz_check_access.script.inc.php'; include_once 'includes/header.inc.php'; // $do_notes = new ContactNotes($GLOBALS['conx']); // $do_contact = new Contact($GLOBALS['conx']); // $do_company = new Company($GLOBALS['conx']); // $do_task = new Task($GLOBALS['conx']); // $do_task_category = new TaskCategory($GLOBALS['conx']); // $do_contact_task = new Contact(); // $do_notes->sessionPersistent("ContactNotesEditSave", "index.php", 3600); $tmp_task = new Task(); $tmp_task_cat = new TaskCategory(); $tmp_task_update = new Task(); $tmp_task->getAll(); while ($tmp_task->next()) { if ($tmp_task->category) { $category = $tmp_task_cat->getTaskCategoryName($tmp_task->category); $tmp_task_update->tmpUpdateTaskCat($tmp_task->idtask, $category); } } ?> Hello </body> </html>