<?php include_once "include_db.php"; include_once "include_functions.php"; checkUserSessionandCookie(); include_once "include_header.php"; $username = $_SESSION["uname"]; ?> <SCRIPT> var localajaxinit = function(){ My_JsLibrary.selectMainTab('recurringtasks.php'); $($.date_input.initialize); }; // End of localajaxinit </SCRIPT> <div style='display:block !important; height: 20px !important; margin: -18px 0 0 !important;padding: 0 !important; position: fixed !important; top: 45% !important; width: 17px; z-index: 100000 ; right:0; background-color: #ECECEC ;' onclick="My_JsLibrary.windowReload();" TITLE="Reload Page"> <img src='images/icon_refresh.gif' border=0> <span id='span_refreshcountdown'></span> </div> <?php // List Recurring Tasks $RTreport = new taskReports(); $RTreport->listReccuringTasks(); include "include_footer.php";
<li><a href="#maintasks_inprogresstasks">In Progress</a></li> <li><a href="#maintasks_completed">Completed</a></li> </ul> <ul id="scheduledtasks" title="Scheduled"> <li><a href='#scheduled_tasks'>Scheduled On Date</a></li> </ul> <?php $ureport = new taskReports(); $ureport->showOnlyMyTasks = false; //$ureport->PersonalTasks = false; $ureport->doNotIncludePersonalCondition = true; $ureport->listWorks_iPhone($DE_GLOBALS_WORK_NEW, 'maintasks_newtasks', 'New'); $ureport->listWorks_iPhone($DE_GLOBALS_WORK_PROGRESS, 'maintasks_inprogresstasks', 'InProgress'); $ureport->listWorks_iPhone($DE_GLOBALS_WORK_COMPLETED, 'maintasks_completed', 'Completed'); // $ureport_personal = new taskReports(); // $ureport_personal->showOnlyMyTasks = false; // $ureport_personal->PersonalTasks = true; // $ureport_personal->listWorks_iPhone($DE_GLOBALS_WORK_NEW, 'personal_newtasks', 'New' ); // $ureport_personal->listWorks_iPhone($DE_GLOBALS_WORK_PROGRESS, 'personal_inprogresstasks', 'InProgress'); // $ureport_personal->listWorks_iPhone($DE_GLOBALS_WORK_COMPLETED, 'personal_completed', 'Completed'); $ureport_scheduled = new taskReports(); $ureport_scheduled->showOnlyMyTasks = false; $ureport_scheduled->listWorks_iPhone($DE_GLOBALS_WORK_SCHEDULED, 'scheduled_tasks', 'Schld OnDate'); // * TODO * global $DE_GLOBALS_WORK_TASKONTASK; $manageUsers = new manageUsers(); $manageUsers->getUnreadCommentsiPhone($_SESSION["uname"]); ?> </body> </html>
<div style='padding:3px; float:left; margin-left:20px;'> <input type='checkbox' id='reschedule_chk_afterTask' onclick=" if( _$('reschedule_chk_afterTask').checked ) { _$('reschedule_daysb4').disabled = true; _$('reschedule_afterTask').disabled = false; _$('reschedule_chk_daysb4').checked = false; }"> Appear in task list after completion of task <input type='text' id='reschedule_afterTask' size=5 value='' disabled> </div> <div style='clear:both;'></div> <div style='padding:3px; margin-left:auto; margin-right:auto; margin-bottom: 10px;'> <span class='bluebuttonSmall' onclick='ManageTasksJsFunction.rescheduleTask();'>Reshcedule</span> </div> </div> <?php include "include_addnewtaskform.php"; $qa_report = new taskReports(); $qa_report->doNotIncludePersonalCondition = true; $qa_report->showOnlyMyTasks = true; $qa_report->listQuickEmailTasks(); $ureport = new taskReports(); if (get_GET_var('list') == 'ptasks') { $ureport->PersonalTasks = true; } else { $ureport->PersonalTasks = false; } $ureport->showOnlyMyTasks = false; $sortBy = get_GET_var('sortby'); if ($sortBy) { $ureport->orderbyfield = $sortBy; } $clTasksPeriod = get_GET_var('ctperiod') ? get_GET_var('ctperiod') : 'thismonth'; $ureport->closedTasks($clTasksPeriod); $ureport->list4sections(); include "include_footer.php";
callback:function(a){ if(a){ $("TR.STT_TR_" + workid).hide(); My_JsLibrary.showfbmsg( "Task moved back to 'New Tasks' Queue !", 'green'); }else{ My_JsLibrary.showErrMsg() ; } } }); }); }; // End of localajaxinit </SCRIPT> <div style='display:block !important; height: 20px !important; margin: -18px 0 0 !important;padding: 0 !important; position: fixed !important; top: 45% !important; width: 17px; z-index: 100000 ; right:0; background-color: #ECECEC ;' onclick="My_JsLibrary.windowReload();" TITLE="Reload Page"> <img src='images/icon_refresh.gif' border=0> <span id='span_refreshcountdown'></span> </div> <?php // List Scheduled Tasks $ureport = new taskReports(); $ureport->doNotIncludePersonalCondition = true; $ureport->showOnlyMyTasks = false; $sortBy = get_GET_var('sortby'); if ($sortBy) { $ureport->orderbyfield = $sortBy; } $ureport->listWorksScheduled(); include "include_footer.php";