$comptListTasks = count($listTasks->tas_id); $block0 = new block(); $block0->openContent(); $block0->contentTitle($strings["report_results"]); if ($comptListTasks == "0") { $block0->contentRow("", "0 " . $strings["matches"] . "<br>" . $strings["no_results_report"]); } if ($comptListTasks == "1") { $block0->contentRow("", "1 " . $strings["match"]); } if ($comptListTasks > "1") { $block0->contentRow("", $comptListTasks . " " . $strings["matches"]); } $block0->closeContent(); // set up the header string $block1->headingForm($strings['reportsoverdue'] . ': ' . ($comptListTasks == 1 ? "{$comptListTasks} {$strings['match']}" : "{$comptListTasks} {$strings['matches']}")); if ($comptListTasks != "0") { $block1->openResults($checkbox = "false"); $block1->labels($labels = array(0 => $strings["task"], 1 => $strings["project"], 2 => $strings["status"], 3 => $strings["completion"], 4 => $strings["due_date"], 5 => $strings["assigned_to"], 6 => $strings["priority"]), "true"); for ($i = 0; $i < $comptListTasks; $i++) { if ($listTasks->tas_due_date[$i] == "") { $listTasks->tas_due_date[$i] = $strings["none"]; } $idStatus = $listTasks->tas_status[$i]; $idPriority = $listTasks->tas_priority[$i]; $complValue = $listTasks->tas_completion[$i] > 0 ? $listTasks->tas_completion[$i] . "0 %" : $listTasks->tas_completion[$i] . " %"; $block1->openRow(); $block1->checkboxRow($listTasks->tas_id[$i], $checkbox = "false"); $block1->cellRow(buildLink("../tasks/viewtask.php?id=" . $listTasks->tas_id[$i], $listTasks->tas_name[$i], LINK_INSIDE)); $block1->cellRow(buildLink("../projects/viewproject.php?id=" . $listTasks->tas_project[$i], $listTasks->tas_pro_name[$i], LINK_INSIDE)); $block1->cellRow($status[$idStatus]);
* 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. */ $projectSite = "true"; $checkSession = true; require_once "../includes/library.php"; $bouton[2] = "over"; $titlePage = $strings["team_tasks"]; require_once "include_header.php"; $tmpquery = "WHERE tas.project = '" . $_SESSION['projectSession'] . "' AND tas.assigned_to != '0' AND tas.published = '0' AND tas.milestone <> '0' AND mem.organization = '1' ORDER BY tas.name"; $listTasks = new request(); $listTasks->openTasks($tmpquery); $comptListTasks = count($listTasks->tas_id); $block1 = new block(); $block1->headingForm($strings["team_tasks"]); if ($comptListTasks != "0") { if ($activeJpgraph == "true") { // show the expanded or compact Gantt Chart if ($_GET['base'] == 1) { echo "<a href='showallteamtasks.php'>expand</a><br>"; } else { echo "<a href='showallteamtasks.php?base=1'>compact</a><br>"; } echo "<img src=\"graphtasks.php?project=" . $projectDetail->pro_id[0] . '&base=' . $_GET['base'] . "\" alt=\"\"><br>\r\n<span class=\"listEvenBold\">Powered by <a href=\"http://www.aditus.nu/jpgraph/\" target=\"_blank\">JpGraph</a></span><br><br>"; } echo "<table cellspacing=\"0\" width=\"90%\" border=\"0\" cellpadding=\"3\" cols=\"4\" class=\"listing\">\r\n<tr><th class=\"active\">" . $strings["name"] . "</th><th>" . $strings["description"] . "</th><th>" . $strings["status"] . "</th><th>" . $strings["due"] . "</th></tr>"; for ($i = 0; $i < $comptListTasks; $i++) { if (!($i % 2)) { $class = "odd"; $highlightOff = $block1->oddColor;
break; case 'delete': if (isset($_GET['id'])) { $idlist = explode('**', $_GET['id']); save_translation($_GET['language'], '', $idlist); } else { echo text('Internal_Error'); } break; } $topblock->headingForm_close(); $topblock->block_close(); echo "<BR>"; } $block1 = new block(); $block1->headingForm(text('administration')); // Language Selection Form $block1->form = "langsel"; $block1->openForm("../administration/edit_language.php?offset=" . $offset); $block1->openContent(); $block1->contentTitle(text('language_intro')); echo "<TR><TD ALIGN='center'>"; // build up language select list asort($langValue); reset($langValue); $select = ""; foreach ($langValue as $key => $language) { $select .= "<option value='" . $key . "'" . ($sellang == $key ? " SELECTED" : "") . ">" . $language . "</option>"; } echo text("Choose_Language") . ": <SELECT name='sellang' onChange='submit();'>" . $select . "</SELECT>"; echo "</TD></TR>";
$projectDetail->openProjects($tmpquery); $tmpquery = "WHERE mee.id = '{$meeting}'"; $meetingDetail = new request(); $meetingDetail->openMeetings($tmpquery); //--- header ---- $breadcrumbs[] = buildLink("../projects/listprojects.php?", $strings["projects"], LINK_INSIDE); $breadcrumbs[] = buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], LINK_INSIDE); $breadcrumbs[] = buildLink("../meetings/listmeetings.php?project=" . $projectDetail->pro_id[0], $strings["meetings"], LINK_INSIDE); $breadcrumbs[] = buildLink("../meetings/viewmeeting.php?id=" . $meetingDetail->mee_id[0], $meetingDetail->mee_name[0], LINK_INSIDE); $breadcrumbs[] = $strings["unlink_files"]; require_once "../themes/" . THEME . "/header.php"; //--- content ---- $block1 = new block(); $block1->form = "saC"; $block1->openForm("../meetings/deletefiles.php?project={$project}&meeting={$meeting}&action=delete&id={$id}&sendto={$sendto}"); $block1->headingForm($strings["unlink_files"]); $block1->openContent(); $block1->contentTitle($strings["delete_following"]); $id = str_replace("**", ",", $id); $tmpquery = "WHERE mat.id IN({$id}) ORDER BY mat.name"; $listFiles = new request(); $listFiles->openMeetingsAttachment($tmpquery); $comptListFiles = count($listFiles->mat_id); for ($i = 0; $i < $comptListFiles; $i++) { echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td>" . $listFiles->mat_name[$i] . "</td></tr>"; } echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td><input type=\"SUBMIT\" value=\"" . $strings["delete"] . "\"> <input type=\"BUTTON\" value=\"" . $strings["cancel"] . "\" onClick=\"history.back();\"></td></tr>"; $block1->closeContent(); $block1->headingForm_close(); $block1->closeForm(); require_once "../themes/" . THEME . "/footer.php";
} //--- header --- $breadcrumbs[] = buildLink("../clients/listclients.php?", $strings["clients"], LINK_INSIDE); $breadcrumbs[] = buildLink("../clients/viewclient.php?id=" . $clientDetail->org_id[0], $clientDetail->org_name[0], LINK_INSIDE); $breadcrumbs[] = $strings["add_client_user"]; $bodyCommand = "onLoad=\"document.client_user_addForm.un.focus();\""; require_once "../themes/" . THEME . "/header.php"; //--- content --- $block1 = new block(); $block1->form = "client_user_add"; $block1->openForm("../users/addclientuser.php?organization={$organization}&action=add"); if ($error != "") { $block1->headingError($strings["errors"]); $block1->contentError($error); } $block1->headingForm($strings["add_client_user"]); $block1->openContent(); $block1->contentTitle($strings["enter_user_details"]); $block1->contentRow($strings["user_name"], "<input size=\"24\" style=\"width: 250px;\" maxlength=\"16\" type=\"text\" name=\"un\" value=\"{$un}\">"); $block1->contentRow($strings["full_name"], "<input size=\"24\" style=\"width: 250px;\" maxlength=\"64\" type=\"text\" name=\"fn\" value=\"{$fn}\">"); $block1->contentRow($strings["title"], "<input size=\"24\" style=\"width: 250px;\" maxlength=\"64\" type=\"text\" name=\"tit\" value=\"{$tit}\">"); $selectOrganization = "<select name=\"clod\">"; $tmpquery = "WHERE org.id != '1' ORDER BY org.name"; $listOrganizations = new request(); $listOrganizations->openOrganizations($tmpquery); $comptListOrganizations = count($listOrganizations->org_id); for ($i = 0; $i < $comptListOrganizations; $i++) { if ($organization == $listOrganizations->org_id[$i]) { $selectOrganization .= "<option value=\"" . $listOrganizations->org_id[$i] . "\" selected>" . $listOrganizations->org_name[$i] . "</option>"; } else { $selectOrganization .= "<option value=\"" . $listOrganizations->org_id[$i] . "\">" . $listOrganizations->org_name[$i] . "</option>";
// Call mantis function to remove user require_once "../mantis/user_delete.php"; } header("Location: ../users/listusers.php?msg=delete"); exit; } //--- header ----- $breadcrumbs[] = buildLink("../administration/admin.php?", $strings["administration"], LINK_INSIDE); $breadcrumbs[] = buildLink("../users/listusers.php?", $strings["user_management"], LINK_INSIDE); $breadcrumbs[] = $strings["delete_users"]; require_once "../themes/" . THEME . "/header.php"; //--- content ----- $block1 = new block(); $block1->form = "user_delete"; $block1->openForm("../users/deleteusers.php?action=delete"); $block1->headingForm($strings["delete_users"]); $block1->openContent(); $block1->contentTitle($strings["delete_following"]); $id = str_replace("**", ",", $id); $tmpquery = "WHERE mem.id IN({$id}) ORDER BY mem.name"; $listMembers = new request(); $listMembers->openMembers($tmpquery); $comptListMembers = count($listMembers->mem_id); for ($i = 0; $i < $comptListMembers; $i++) { echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td>" . $listMembers->mem_login[$i] . " (" . $listMembers->mem_name[$i] . ")</td></tr>"; } $tmpquery = "SELECT pro.id FROM " . $tableCollab["projects"] . " pro WHERE pro.owner IN({$id})"; compt($tmpquery); $totalProjects = $countEnregTotal; $tmpquery = "SELECT tas.id FROM " . $tableCollab["tasks"] . " tas WHERE tas.assigned_to IN({$id})"; compt($tmpquery);
* (at your option) any later version. */ $checkSession = true; require_once "../includes/library.php"; $bouton[6] = "over"; $titlePage = $strings["support"]; require_once "include_header.php"; $tmpquery = "WHERE mem.id = '" . $_SESSION['idSession'] . "'"; $userDetail = new request(); $userDetail->openMembers($tmpquery); $tmpquery = "WHERE sr.member = '" . $_SESSION['idSession'] . "' AND sr.project = '{$project}'"; $listRequests = new request(); $listRequests->openSupportRequests($tmpquery); $comptListRequests = count($listRequests->sr_id); $block1 = new block(); $block1->headingForm($strings["my_support_request"]); if ($comptListRequests != "0") { echo "<table cols=\"4\" class=\"listing\">\r\n<tr><th width=1% class=\"active\">" . $strings["id"] . "</th><th>" . $strings["subject"] . "</th><th>" . $strings["priority"] . "</th><th>" . $strings["status"] . "</th><th>" . $strings["project"] . "</th><th>" . $strings["date_open"] . "</th><th>" . $strings["date_close"] . "</th></tr>"; for ($i = 0; $i < $comptListRequests; $i++) { if (!($i % 2)) { $class = "odd"; $highlightOff = $block1->oddColor; } else { $class = "even"; $highlightOff = $block1->evenColor; } $comptSta = count($requestStatus); for ($sr = 0; $sr < $comptSta; $sr++) { if ($listRequests->sr_status[$i] == $sr) { $currentStatus = $requestStatus[$sr]; }
connectSql($tmpquery11); $tmpquery12 = 'DELETE FROM ' . $tableCollab['tasks_time'] . ' WHERE project IN(' . $id . ')'; connectSql($tmpquery12); // if mantis bug tracker enabled if ($enableMantis == 'true') { // call mantis function to delete project require_once '../mantis/proj_delete.php'; } header('Location: ../projects/listprojects.php?msg=delete'); exit; } //--- header ---- $breadcrumbs[] = buildLink('../projects/listprojects.php?', $strings['projects'], LINK_INSIDE); $breadcrumbs[] = $strings['delete_projects']; $pageSection = 'projects'; require_once '../themes/' . THEME . '/header.php'; //--- content --- $block1 = new block(); $block1->form = 'saP'; $block1->openForm('../projects/deleteproject.php?action=delete&id=' . $id); $block1->headingForm($strings['delete_projects']); $block1->openContent(); $block1->contentTitle($strings['delete_following']); for ($i = 0; $i < $comptListProjects; $i++) { $block1->contentRow('#' . $listProjects->pro_id[$i], $listProjects->pro_name[$i]); } $block1->contentRow('', '<input type="submit" name="delete" value="' . $strings['delete'] . '"> <input type="button" name="cancel" value="' . $strings['cancel'] . '" onClick="history.back();">'); $block1->closeContent(); $block1->headingForm_close(); $block1->closeForm(); require_once '../themes/' . THEME . '/footer.php';
if ($teamMember == "false" && $projectsFilter == "true") { header("Location:../general/permissiondenied.php"); exit; } // ---- header ------------------------------ $breadcrumbs[] = buildLink("../projects/listprojects.php?", $strings["projects"], LINK_INSIDE); $breadcrumbs[] = buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], LINK_INSIDE); $breadcrumbs[] = buildLink("../meetings/listmeetings.php?project=" . $projectDetail->pro_id[0], $strings["meetings"], LINK_INSIDE); $breadcrumbs[] = buildLink("../meetings/viewmeeting.php?id=" . $meetingDetail->mee_id[0], $meetingDetail->mee_name[0], LINK_INSIDE); $breadcrumbs[] = $strings["delete_meeting_time"]; require_once "../themes/" . THEME . "/header.php"; // ---- content ------------------------------ $block1 = new block(); $block1->form = 'saP'; $block1->openForm("../meetings/deletemeetingtime.php?meeting={$meeting}&action=delete&id={$id}"); $block1->headingForm($strings["delete_meeting_time"]); $block1->openContent(); $block1->contentTitle($strings["delete_following"]); $id = str_replace("**", ",", $id); $tmpquery = "WHERE mti.id IN({$id}) ORDER BY mti.id"; $listMeetingTime = new request(); $listMeetingTime->openMeetingTime($tmpquery); $comptListMeetingTime = count($listMeetingTime->mti_id); for ($i = 0; $i < $comptListMeetingTime; $i++) { echo "<tr class='odd'><td valign='top' class='leftvalue'>#" . $listMeetingTime->mti_id[$i] . "</td><td> : " . $strings['worked_hours'] . " = " . $listMeetingTime->mti_hours[$i] . ", " . $listMeetingTime->mti_comments[$i] . "</td></tr>"; } echo "\r\n<tr class='odd'>\r\n <td valign='top' class='leftvalue'> </td>\r\n <td><input type='submit' name='delete' value='" . $strings['delete'] . "'> \r\n <input type='button' name='cancel' value='" . $strings['cancel'] . "' onClick='history.back();'></td></tr>"; $block1->closeContent(); $block1->headingForm_close(); $block1->closeForm(); require_once "../themes/" . THEME . "/footer.php";
$id = str_replace("**", ",", $id); $tmpquery1 = "DELETE FROM " . $tableCollab["reports"] . " WHERE id IN({$id})"; connectSql($tmpquery1); header("Location: ../general/home.php?msg=deleteReport"); exit; } //--- header --- $breadcrumbs[] = buildLink("../reports/listreports.php?", $strings["my_reports"], LINK_INSIDE); $breadcrumbs[] = $strings["delete_reports"]; $pageSection = 'reports'; require_once "../themes/" . THEME . "/header.php"; //--- content --- $block1 = new block(); $block1->form = "saS"; $block1->openForm("../reports/deletereports.php?action=delete&id={$id}"); $block1->headingForm($strings["delete_reports"]); $block1->openContent(); $block1->contentTitle($strings["delete_following"]); $id = str_replace("**", ",", $id); $tmpquery = "WHERE rep.id IN({$id}) ORDER BY rep.name"; $listReports = new request(); $listReports->openReports($tmpquery); $comptListReports = count($listReports->rep_id); for ($i = 0; $i < $comptListReports; $i++) { $block1->contentRow("#" . $listReports->rep_id[$i], $listReports->rep_name[$i]); } $block1->contentRow("", "<input type=\"submit\" name=\"delete\" value=\"" . $strings["delete"] . "\"> <input type=\"button\" name=\"cancel\" value=\"" . $strings["cancel"] . "\" onClick=\"history.back();\">"); $block1->closeContent(); $block1->headingForm_close(); $block1->closeForm(); require_once "../themes/" . THEME . "/footer.php";
$breadcrumbs[] = buildLink("../administration/admin.php?", $strings["administration"], LINK_INSIDE); $breadcrumbs[] = buildLink("../administration/support.php?", $strings["support_management"], LINK_INSIDE); } } $breadcrumbs[] = buildLink("../support/listrequests.php?id=" . $requestDetail->sr_project[0], $strings["support_requests"], LINK_INSIDE); $breadcrumbs[] = $requestDetail->sr_subject[0]; require_once "../themes/" . THEME . "/header.php"; //--- content --- $block1 = new block(); $block1->form = "sdt"; $block1->openForm(""); if ($error != "") { $block1->headingError($strings["errors"]); $block1->contentError($error); } $block1->headingForm($strings["support_request"] . " : " . $requestDetail->sr_subject[0]); if ($teamMember == "true" || $_SESSION['profilSession'] == "0") { $block1->openPaletteIcon(); $block1->paletteIcon(0, "edit", $strings["edit_status"]); $block1->paletteIcon(1, "remove", $strings["delete"]); $block1->closePaletteIcon(); } else { $block1->headingForm_close(); } $block1->openContent(); $block1->contentTitle($strings["info"]); $comptSupStatus = count($requestStatus); for ($i = 0; $i < $comptSupStatus; $i++) { if ($requestDetail->sr_status[0] == $i) { $status = $requestStatus[$i]; }
if (@file_exists('../languages/lang_' . $k[0] . '.php')) { $langDefault = $k[0]; break; } $langDefault = 'en'; } } else { $langDefault = 'en'; } } else { $langDefault = 'en'; } } require_once '../languages/lang_' . $langDefault . '.php'; $block1 = new block(); $block1->headingForm('NetOffice : Error'); $block1->openContent(); if ($_GET['type'] == 'myserver') { if ($databaseType == 'mysql') { $block1->contentTitle('MySQL Error'); } $block1->contentRow('', $strings['error_server']); } if ($_GET['type'] == 'mydatabase') { if ($databaseType == 'mysql') { $block1->contentTitle('MySQL Error'); } $block1->contentRow('', $strings['error_database']); } if ($_GET['type'] == 'phpversion') { $block1->contentTitle('PHP Version Error');
$organization = "1"; require_once "../teams/noti_removeprojectteam.php"; } header("Location: ../projects/viewproject.php?id={$project}&msg={$msg}"); exit; } //--- header --- $breadcrumbs[] = buildLink("../projects/listprojects.php?", $strings["projects"], LINK_INSIDE); $breadcrumbs[] = buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], LINK_INSIDE); $breadcrumbs[] = $strings["remove_team"]; require_once "../themes/" . THEME . "/header.php"; //--- content --- $block1 = new block(); $block1->form = "crM"; $block1->openForm("../teams/deleteusers.php?project={$project}&action=delete&id={$id}"); $block1->headingForm($strings["remove_team"]); $block1->openContent(); $block1->contentTitle($strings["remove_team_info"]); $id = str_replace("**", ",", $id); $tmpquery = "WHERE mem.id IN({$id}) ORDER BY mem.name"; $listMembers = new request(); $listMembers->openMembers($tmpquery); $comptListMembers = count($listMembers->mem_id); for ($i = 0; $i < $comptListMembers; $i++) { $block1->contentRow("#" . $listMembers->mem_id[$i], $listMembers->mem_login[$i] . " (" . $listMembers->mem_name[$i] . ")"); } $block1->contentRow("", "<input type=\"SUBMIT\" value=\"" . $strings["remove"] . "\"> <input type=\"BUTTON\" value=\"" . $strings["cancel"] . "\" onClick=\"history.back();\">"); $block1->closeContent(); $block1->headingForm_close(); $block1->closeForm(); require_once "../themes/" . THEME . "/footer.php";
if ($action == "delete") { $id = str_replace("**", ",", $id); $tmpquery1 = "DELETE FROM " . $tableCollab["notes"] . " WHERE id IN({$id})"; connectSql("{$tmpquery1}"); header("Location: ../projects/viewproject.php?id={$project}&msg=delete"); exit; } //--- header --- $breadcrumbs[] = buildLink("../projects/listprojects.php?", $strings["projects"], LINK_INSIDE); $breadcrumbs[] = $strings["delete_note"]; require_once "../themes/" . THEME . "/header.php"; //--- content --- $block1 = new block(); $block1->form = "saP"; $block1->openForm("../notes/deletenotes.php?project={$project}&action=delete&id={$id}"); $block1->headingForm($strings["delete_note"]); $block1->openContent(); $block1->contentTitle($strings["delete_following"]); $id = str_replace("**", ",", $id); $tmpquery = "WHERE note.id IN({$id}) ORDER BY note.subject"; $listNotes = new request(); $listNotes->openNotes($tmpquery); $comptListNotes = count($listNotes->note_id); for ($i = 0; $i < $comptListNotes; $i++) { $block1->contentRow("#" . $listNotes->note_id[$i], $listNotes->note_subject[$i]); } $block1->contentRow("", "<input type=\"submit\" name=\"delete\" value=\"" . $strings["delete"] . "\"> <input type=\"button\" name=\"cancel\" value=\"" . $strings["cancel"] . "\" onClick=\"history.back();\">"); $block1->closeContent(); $block1->headingForm_close(); $block1->closeForm(); require_once "../themes/" . THEME . "/footer.php";
$breadcrumbs[] = buildLink('../administration/admin.php?', $strings['administration'], LINK_INSIDE); $breadcrumbs[] = $strings['company_details']; $bodyCommand = 'onLoad="document.adminDForm.cn.focus();"'; $pageSection = 'admin'; require_once '../themes/' . THEME . '/header.php'; //---- content ------- $blockPage = new block(); $block1 = new block(); echo '<a name="' . $block1->form . 'Anchor"></a>'; echo '<form accept-charset="UNKNOWN" method="POST" action="../administration/mycompany.php?action=update" name="adminDForm" enctype="multipart/form-data">'; echo '<input type="hidden" name="MAX_FILE_SIZE" value="100000000">'; if ($error != '') { $block1->headingError($strings['errors']); $block1->contentError($error); } $block1->headingForm($strings['company_details']); $block1->openContent(); $block1->contentTitle($strings['company_info']); $block1->contentRow($strings['name'], '<input size="44" value="' . $cn . '" style="width: 400px" name="cn" maxlength="100" type="TEXT">'); $block1->contentRow($strings['address'], '<textarea rows="3" style="width: 400px; height: 50px;" name="add" cols="43">' . $add . '</textarea>'); $block1->contentRow($strings['phone'], '<input size="32" value="' . $wp . '" style="width: 250px" name="wp" maxlength="32" type="TEXT">'); $block1->contentRow($strings['url'], '<input size="44" value="' . $url . '" style="width: 400px" name="url" maxlength="2000" type="TEXT">'); $block1->contentRow($strings['email'], '<input size="44" value="' . $email . '" style="width: 400px" name="email" maxlength="2000" type="TEXT">'); $block1->contentRow($strings['comments'], '<textarea rows="3" style="width: 400px; height: 50px;" name="c" cols="43">' . $c . '</textarea>'); $block1->contentRow($strings['logo'] . $blockPage->printHelp('mycompany_logo'), '<input size="44" style="width: 400px" name="upload" type="file">'); if (file_exists('../logos_clients/1.' . $clientDetail->org_extension_logo[0])) { $block1->contentRow('', '<img src="../logos_clients/1.' . $clientDetail->org_extension_logo[0] . '" border="0" alt="' . $clientDetail->org_name[0] . '"><input name="extensionOld" type="hidden" value="' . $clientDetail->org_extension_logo[0] . '"> <input name="logoDel" type="checkbox" value="on"> ' . $strings['delete']); } $block1->contentRow('', '<input type="SUBMIT" value="' . $strings['save'] . '">'); $block1->closeContent(); $block1->headingForm_close();
if ($viewCalend == 0) { echo " selected"; } echo ">" . $strings['cal_personal'] . "</option>"; for ($t = 0; $t < $comptTeamList; $t++) { echo "<option value=\"" . $teamList->tea_project[$t] . "\""; if ($viewCalend == $teamList->tea_project[$t]) { echo " selected"; } echo ">" . $strings['project'] . ":" . $teamList->tea_pro_name[$t] . "</option>"; } echo "</select></td></tr>"; $block9->closeForm(); //--- content ----- $block2 = new block(); $block2->headingForm("{$monthName} {$year}"); $block2->openContent(); echo "<tr><td>"; echo "<table border=0 cellpadding=0 cellspacing=2 width=100% class=listing><tr>"; for ($daynumber = 1; $daynumber < 8; $daynumber++) { echo "<td width=14% class=calendDays> {$dayNameArray[$daynumber]}</td>"; } echo "</tr>"; // Print the calendar echo "<tr>"; if ($viewCalend == 0) { $tmpquery = "WHERE tas.assigned_to = '" . $_SESSION['idSession'] . "' ORDER BY tas.name"; } else { $tmpquery = "WHERE tas.project = '{$viewCalend}' ORDER BY tas.name"; } $listTasks = new request();
} if ($comptListProjects == "1") { $blockPage->contentRow("", "1 " . $strings["match"]); } if ($comptListProjects > "1") { $blockPage->contentRow("", $comptListProjects . " " . $strings["matches"]); } $block0->closeContent(); $block0->block_close(); if ($comptListProjects != "0") { for ($j = 0; $j < $comptListProjects; $j++) { $projectTitle = $listProjects->pro_name[$j]; $projectId = $listProjects->pro_id[$j]; $projectPriority = $listProjects->pro_priority[$j]; $blockProject = new block(); $blockProject->headingForm(buildLink("../projects/viewproject.php?id=" . $projectId, $projectTitle, LINK_INSIDE)); $blockProject->openContent(); // correct order???? $blockProject->contentTitle($strings["details"]); $blockProject->contentRow($strings["priority"], "<img src=\"../themes/" . THEME . "/gfx_priority/" . $projectPriority . ".gif\" alt=\"\"> " . $priority[$projectPriority]); $blockProject->contentRow($strings["created"], createDate($listProjects->pro_created[$j], $_SESSION['timezoneSession'])); $blockProject->contentRow($strings["modified"], createDate($listProjects->pro_modified[$j], $_SESSION['timezoneSession'])); if ($listProjects->pro_org_id[$j] == "1") { $blockProject->contentRow($strings["organization"], $strings["none"]); } else { $blockProject->contentRow($strings["organization"], buildLink("../clients/viewclient.php?id=" . $listProjects->pro_org_id[$j], $listProjects->pro_org_name[$j], LINK_INSIDE)); } $blockProject->contentRow($strings["status"], $status[$listProjects->pro_status[$j]]); $queryTask = " WHERE tas.project = '{$projectId}'"; $tmpqueryTask = "{$queryTask} ORDER BY tas.due_date"; $blockProject->closeContent();
} $block5->closeRow(); } $block5->closeResults(); $block5->bornesFooter("5", $blockPage->bornesNumber, "", "searchfor={$searchfor}&heading={$heading}"); $block5->closeToggle(); $block3->headingForm_close(); $block5->closeFormResults(); /*$block5->openPaletteScript(); $block5->paletteScript(0,"export","../projects/exportproject.php?languageSession=" . $_SESSION['languageSession'] . "&type=project","false,true,false",$strings["export"]); $block5->closePaletteScript($comptListTopics,$listTopics->top_id);*/ } if ($comptListNotes != "0") { $block6->form = "notesForm"; $block6->openForm("../search/resultssearch.php?searchfor={$searchfor}&heading={$heading}#" . $block6->form . "Anchor"); $block6->headingForm($strings["search_results"] . " : " . $strings["notes"] . " ({$block6->recordsTotal})"); /*$block6->openPaletteIcon(); $block6->paletteIcon(0,"export",$strings["export"]); $block6->closePaletteIcon();*/ $block6->openResults(); if ($comptTopic != "0") { $block6->labels($labels = array(0 => $strings["subject"], 1 => $strings["topic"], 2 => $strings["date"], 3 => $strings["owner"], 4 => $strings["published"]), "true"); } else { $block6->labels($labels = array(0 => $strings["subject"], 1 => $strings["date"], 2 => $strings["owner"], 3 => $strings["published"]), "true"); } for ($i = 0; $i < $comptListNotes; $i++) { $idPublish = $listNotes->note_published[$i]; $block6->openRow($listNotes->note_id[$i]); $block6->checkboxRow($listNotes->note_id[$i]); $block6->cellRow(buildLink("../notes/viewnote.php?id=" . $listNotes->note_id[$i], $listNotes->note_subject[$i], LINK_INSIDE)); if ($comptTopic != "0") {
//---- content ----- $block1 = new block(); if ($id == "") { $block1->form = "user_edit"; $block1->openForm("../users/edituser.php?id={$id}&action=add#" . $block1->form . "Anchor"); } if ($id != "") { $block1->form = "user_edit"; $block1->openForm("../users/edituser.php?id={$id}&action=update#" . $block1->form . "Anchor"); } if ($error != "") { $block1->headingError($strings["errors"]); $block1->contentError($error); } if ($id == "") { $block1->headingForm($strings["add_user"]); } if ($id != "") { $block1->headingForm($strings["edit_user"] . " : " . $detailUser->mem_login[0]); } $block1->openContent(); if ($id == "") { $block1->contentTitle($strings["enter_user_details"]); } if ($id != "") { $block1->contentTitle($strings["edit_user_details"]); } $block1->contentRow($strings["user_name"], "<input size=\"24\" style=\"width: 250px;\" maxlength=\"16\" type=\"text\" name=\"un\" value=\"{$un}\"><input type=\"hidden\" name=\"unOld\" value=\"{$un}\">"); $block1->contentRow($strings["full_name"], "<input size=\"24\" style=\"width: 250px;\" maxlength=\"64\" type=\"text\" name=\"fn\" value=\"{$fn}\">"); $block1->contentRow($strings["title"], "<input size=\"24\" style=\"width: 250px;\" maxlength=\"128\" type=\"text\" name=\"tit\" value=\"{$tit}\">"); $block1->contentRow($strings["email"], "<input size=\"24\" style=\"width: 250px;\" maxlength=\"128\" type=\"text\" name=\"em\" value=\"{$em}\">");
$block1->form = 'epD'; $block1->openForm('../projects/editproject.php?action=add&#' . $block1->form . 'Anchor'); } // case update or copy project if ($id != '') { $block1->form = 'epD'; $block1->openForm('../projects/editproject.php?id=' . $id . '&action=update&cpy=' . $cpy . '&#' . $block1->form . 'Anchor'); echo '<input type="hidden" value="' . $projectDetail->pro_published[0] . '" name="projectPublished">'; } if ($error != '') { $block1->headingError($strings['errors']); $block1->contentError($error); } // case add project if ($id == '') { $block1->headingForm($strings['add_project']); } else { if ($cpy == 'true') { $block1->headingForm($strings['copy_project'] . ' : ' . $projectDetail->pro_name[0]); } else { $block1->headingForm($strings['edit_project'] . ' : ' . $projectDetail->pro_name[0]); } } $block1->openContent(); $block1->contentTitle($strings['details']); echo '<tr class="odd"><td valign="top" class="leftvalue">' . $strings['name'] . ' :</td><td><input size="44" value="'; // case copy project if ($cpy == 'true') { echo $strings['copy_of']; } echo "{$pn}\" style=\"width: 400px\" name=\"pn\" maxlength=\"100\" type=\"text\"></td></tr>\n<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\">" . $strings['priority'] . ' :</td><td><select name="pr">';
<?php // $Revision: 1.7 $ /* vim: set expandtab ts=4 sw=4 sts=4: */ /** * $Id: license.php,v 1.7 2004/12/23 16:17:19 madbear Exp $ * * Copyright (c) 2003 by the NetOffice developers * * 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. */ $checkSession = false; require_once '../includes/library.php'; $pageSection = 'license'; $notLogged = true; require_once '../themes/' . THEME . '/header.php'; $block1 = new block(); $block1->headingForm('NetOffice : License'); $block1->openContent(); $block1->contentTitle('License'); $buf = "<div class=license>"; $buf .= recupFile('../docs/copying.txt'); $buf .= "</div>"; $block1->contentRow('', $buf); $block1->closeContent(); $block1->headingForm_close(); require_once '../themes/' . THEME . '/footer.php';
* 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. */ $checkSession = true; require_once "../includes/library.php"; if ($_SESSION['profilSession'] != 0) { header('Location: ../general/permissiondenied.php'); exit; } $breadcrumbs[] = buildLink('../administration/admin.php', $strings['administration'], LINK_INSIDE); $breadcrumbs[] = $strings['holidays']; $pageSection = 'admin'; require_once '../themes/' . THEME . '/header.php'; $block1 = new block(); $block1->headingForm($strings['delete_holidays']); $block1->openContent(); $block1->contentTitle($strings["delete_following"]); $block1->form = 'hoP'; $block1->openForm("../administration/listholidays.php?action=delete&id={$id}"); $id = str_replace("**", ",", $id); $tmpquery = "WHERE hol.id IN({$id}) ORDER BY hol.comments"; $listHoliday = new request(); $listHoliday->openHoliday($tmpquery); $comptListHoliday = count($listHoliday->hol_id); for ($i = 0; $i < $comptListHoliday; $i++) { echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\">#" . $listHoliday->hol_id[$i] . "</td><td>" . $listHoliday->hol_comments[$i] . "</td></tr>"; } echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td><input type=\"submit\" name=\"delete\" \nvalue=\"" . $strings["delete"] . "\"> <input type=\"button\" name=\"cancel\" value=\"" . $strings["cancel"] . "\" \nonClick=\"history.back();\"></td></tr>"; $block1->closeForm(); $block1->closeContent();
$breadcrumbs[] = buildLink("../tasks/viewtask.php?id=" . $taskDetail->tas_id[0], $taskDetail->tas_name[0], LINK_INSIDE); if ($type == "1") { $breadcrumbs[] = $strings["updates_task"]; } $pageSection = 'projects'; require_once "../themes/" . THEME . "/header.php"; //--- content ---- $block1 = new block(); $block1->form = "tdP"; $block1->openForm(""); if ($error != "") { $block1->headingError($strings["errors"]); $block1->contentError($error); } if ($type == "1") { $block1->headingForm($strings["task"] . " : " . $taskDetail->tas_name[0]); } $block1->openContent(); $block1->contentTitle($strings["details"]); $tmpquery = "WHERE upd.type='{$type}' AND upd.item = '{$item}' ORDER BY upd.created DESC"; $listUpdates = new request(); $listUpdates->openUpdates($tmpquery); $comptListUpdates = count($listUpdates->upd_id); for ($i = 0; $i < $comptListUpdates; $i++) { if (ereg("\\[status:([0-9])\\]", $listUpdates->upd_comments[$i])) { preg_match("|\\[status:([0-9])\\]|i", $listUpdates->upd_comments[$i], $matches); $listUpdates->upd_comments[$i] = ereg_replace("\\[status:([0-9])\\]", "", $listUpdates->upd_comments[$i] . "<br>"); $listUpdates->upd_comments[$i] .= $strings["status"] . " " . $status[$matches[1]]; } if (ereg("\\[priority:([0-9])\\]", $listUpdates->upd_comments[$i])) { preg_match("|\\[priority:([0-9])\\]|i", $listUpdates->upd_comments[$i], $matches);
$mail->AddAddress($userDetail->mem_email_work[0], $userDetail->mem_name[0]); $mail->Send(); $mail->ClearAddresses(); // redirect to login page with message header('Location: ../general/login.php?msg=emailpwd'); exit; } else { $error = $strings['no_email']; } } $send = 'on'; } $notLogged = true; $bodyCommand = 'onLoad="document.sendForm.loginForm.focus();"'; require_once '../themes/' . THEME . '/header.php'; $block1 = new block(); $block1->form = 'send'; $block1->openForm('../general/sendpassword.php?action=send'); if ($error != '') { $block1->headingError($strings['errors']); $block1->contentError($error); } $block1->headingForm('NetOffice : ' . $strings['password']); $block1->openContent(); $block1->contentTitle($strings['enter_login']); $block1->contentRow('* ' . $strings['user_name'], '<input style="width: 125px" maxlength="16" size="16" value="' . $loginForm . '" type="text" name="loginForm">'); $block1->contentRow('', '<input type="submit" name="send" value="' . $strings['send'] . '">'); $block1->closeContent(); $block1->headingForm_close(); $block1->closeForm(); require_once '../themes/' . THEME . '/footer.php';
$hr = null; $comm = null; // successful insert $msgLabel = '<b>' . $strings['success'] . '</b> : ' . $strings['hours_updated']; } } $tmpquery1 = "SELECT sum(hours) FROM " . $tableCollab['meetings_time']; $blockPage = new block(); $blockPage->bornesNumber = "1"; // get actual time for meeting $meetingActualTime = new request(); $actualTime = $meetingActualTime->getMeetingTime($id); $block1 = new block(); $block1->form = "saM"; $block1->openForm("../meetings/addmeetingtime.php?id={$id}&project=" . $projectDetail->pro_name[0] . "&action=add#" . $block1->form . "Anchor"); $block1->headingForm($strings["add_meeting_time"] . " : " . $meetingDetail->mee_name[0]); $block1->openContent(); $block1->contentTitle($strings["info"]); $block1->contentRow($strings["project"], $projectDetail->pro_name[0]); $block1->contentRow($strings["meetings"], $meetingDetail->mee_name[0]); $block1->contentRow($strings["me_agenda"], nl2br($meetingDetail->mee_agenda[0])); $block1->contentRow($strings["actual_time"], $actualTime . " " . $strings["hours"]); $block1->contentTitle($strings["add_meeting_time"]); $tmpquery = "WHERE tea.project = '" . $projectDetail->pro_id[0] . "' ORDER BY mem.name"; $projmem = new request(); $projmem->openTeams($tmpquery); $comptProjmem = count($projmem->tea_mem_id); echo "\r\n<tr class='odd'>\r\n <td valign='top' class='leftvalue'>" . $strings['owner'] . " :</td>\r\n <td><select name='owner'>"; // get project team listing for owner select lists, default to logged user for ($i = 0; $i < $comptProjmem; $i++) { $clientUser = '';
$comptHolidayList = count($holidayList->hol_id); $tmpquery = "DELETE FROM " . $tableCollab["holiday"] . " WHERE id IN({$id})"; connectSql("{$tmpquery}"); if ($comptHolidayList != "0") { #reschedule($holidayList->hol_date[0]); } $msg = 'delete'; } } $breadcrumbs[] = buildLink('../administration/admin.php', $strings['administration'], LINK_INSIDE); $breadcrumbs[] = $strings['holidays']; $pageSection = 'admin'; require_once '../themes/' . THEME . '/header.php'; //--- content ----- $block1 = new block(); $block1->headingForm($strings['new_holiday']); $block1->openContent(); $block1->form = 'hoT'; $block1->openForm("../administration/listholidays.php?action=add&d=" . $d . "&c=" . $c . "#" . $block1->form . "Anchor"); $block1->contentRow($strings["date"], "<input type=\"text\" style=\"width: 150px;\" name=\"d\" id=\"sel1\" size=\"20\" value=\"{$sd}\"><button type=\"reset\" id=\"trigger_a\">...</button><script type=\"text/javascript\">Calendar.setup({ inputField:\"sel1\", button:\"trigger_a\" });</script>"); $block1->contentRow($strings["comments"], "<textarea rows=\"10\" style=\"width: 400px; height: 160px;\" name=\"c\" cols=\"47\">{$c}</textarea>"); echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td><input type=\"SUBMIT\" value=\"" . $strings["save"] . "\"></td></tr>"; $block1->closeContent(); $block1->heading($strings["holidays"]); $block1->openPaletteIcon(); $block1->paletteIcon(1, "remove", $strings["delete"]); $block1->closePaletteIcon(); $tmpquery = " ORDER BY hol.date DESC"; $holidayList = new request(); $holidayList->openHoliday($tmpquery); $comptHolidayList = count($holidayList->hol_id);
$block3->closeContent(); $block3->headingForm_close(); $block3->closeFormResults(); } } // Update file Block if ($fileDetail->mat_owner[0] == $_SESSION['idSession']) { $block4 = new block(); $block4->form = "filedetails"; echo "<a name=\"filedetailsAnchor\"></a>"; echo "<form accept-charset=\"UNKNOWN\" method=\"POST\" action=\"../meetings/viewfile.php?action=update&id=" . $fileDetail->mat_id[0] . "#filedetailsAnchor\" name=\"filedetailsForm\" enctype=\"multipart/form-data\"><input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"100000000\"><input type=\"hidden\" name=\"maxCustom\" value=\"" . $projectDetail->pro_upload_max[0] . "\">"; if ($error4 != "") { $block4->headingError($strings["errors"]); $block4->contentError($error4); } $block4->headingForm($strings["ifc_update_file"]); $block4->openContent(); $block4->contentTitle($strings["details"]); echo "\r\n\t<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"></td><td class=\"odd\">" . $strings["version_increm"] . "<br>\r\n\t<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n\t<tr><td align=\"right\">0.01</td><td width=\"30\" align=\"right\"><input name=\"change_file_version\" type=\"radio\" value=\"0.01\"></td></tr>\r\n\t<tr><td align=\"right\">0.1</td><td width=\"30\" align=\"right\"><input name=\"change_file_version\" type=\"radio\" value=\"0.1\" checked></td></tr>\r\n\t<tr><td align=\"right\">1.0</td><td width=\"30\" align=\"right\"><input name=\"change_file_version\" type=\"radio\" value=\"1.0\"></td></tr>\r\n\t</table>\r\n\t</td></tr>"; echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\">" . $strings["status"] . " :</td><td><select name=\"statusField\">"; $comptSta = count($statusFile); for ($i = 0; $i < $comptSta; $i++) { if ($i == "2") { echo "<option value=\"{$i}\" selected>{$statusFile[$i]}</option>"; } else { echo "<option value=\"{$i}\">{$statusFile[$i]}</option>"; } } echo "</select></td></tr>"; echo "<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\">* " . $strings["upload"] . " :</td><td><input size=\"44\" style=\"width: 400px\" name=\"upload\" type=\"FILE\"></td></tr>\r\n\t<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\">" . $strings["comments"] . " :</td><td><textarea rows=\"3\" style=\"width: 400px; height: 50px;\" name=\"c\" cols=\"43\">{$c}</textarea></td></tr>\r\n\t<tr class=\"odd\"><td valign=\"top\" class=\"leftvalue\"> </td><td><input type=\"SUBMIT\" value=\"" . $strings["ifc_update_file"] . "\"></td></tr>"; $block4->closeContent();
require_once "../teams/noti_removeprojectteam.php"; } header("Location: ../projects/viewprojectsite.php?id={$project}&msg=removeClientToSite"); exit; } //--- header --- $breadcrumbs[] = buildLink("../projects/listprojects.php?", $strings["projects"], LINK_INSIDE); $breadcrumbs[] = buildLink("../projects/viewproject.php?id=" . $projectDetail->pro_id[0], $projectDetail->pro_name[0], LINK_INSIDE); $breadcrumbs[] = buildLink("../projects/viewprojectsite.php?id=" . $projectDetail->pro_id[0], $strings["project_site"], LINK_INSIDE); $breadcrumbs[] = $strings["remove_team_client"]; require_once "../themes/" . THEME . "/header.php"; //--- content ---- $block1 = new block(); $block1->form = "crM"; $block1->openForm("../teams/deleteclientusers.php?project={$project}&action=delete&id={$id}"); $block1->headingForm($strings["remove_team_client"]); $block1->openContent(); $block1->contentTitle($strings["remove_team_info"]); $id = str_replace("**", ",", $id); $tmpquery = "WHERE mem.id IN({$id}) ORDER BY mem.name"; $listMembers = new request(); $listMembers->openMembers($tmpquery); $comptListMembers = count($listMembers->mem_id); for ($i = 0; $i < $comptListMembers; $i++) { $block1->contentRow("#" . $listMembers->mem_id[$i], $listMembers->mem_login[$i] . " (" . $listMembers->mem_name[$i] . ")"); } $block1->contentRow("", "<input type=\"SUBMIT\" value=\"" . $strings["delete"] . "\"> <input type=\"BUTTON\" value=\"" . $strings["remove"] . "\" onClick=\"history.back();\">"); $block1->closeContent(); $block1->headingForm_close(); $block1->closeForm(); require_once "../themes/" . THEME . "/footer.php";
$id = str_replace('**', ',', $id); $tmpquery1 = 'DELETE FROM ' . $tableCollab['bookmarks'] . ' WHERE id IN(' . $id . ')'; connectSql($tmpquery1); header('Location: ../bookmarks/listbookmarks.php?view=my&msg=delete'); exit; } //--- header --- $breadcrumbs[] = buildLink('../bookmarks/listbookmarks.php?view=all', $strings['bookmarks'], LINK_INSIDE); $breadcrumbs[] = $strings['delete_bookmarks']; $pageSection = 'bookmarks'; require_once '../themes/' . THEME . '/header.php'; //--- content ------ $block1 = new block(); $block1->form = 'saP'; $block1->openForm('../bookmarks/deletebookmarks.php?action=delete&id=' . $id); $block1->headingForm($strings['delete_bookmarks']); $block1->openContent(); $block1->contentTitle($strings['delete_following']); $id = str_replace('**', ',', $id); $tmpquery = 'WHERE boo.id IN(' . $id . ') ORDER BY boo.name'; $listBookmarks = new request(); $listBookmarks->openBookmarks($tmpquery); $comptListBookmarks = count($listBookmarks->boo_id); for ($i = 0; $i < $comptListBookmarks; $i++) { $block1->contentRow('#' . $listBookmarks->boo_id[$i], $listBookmarks->boo_name[$i]); } $block1->contentRow('', '<input type="submit" name="delete" value="' . $strings['delete'] . '"> <input type="button" name="cancel" value="' . $strings['cancel'] . '" onClick="history.back();">'); $block1->closeContent(); $block1->headingForm_close(); $block1->closeForm(); require_once '../themes/' . THEME . '/footer.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. */ $checkSession = true; require_once "../includes/library.php"; $bouton[4] = "over"; $titlePage = $strings["document_list"]; require_once "include_header.php"; $tmpquery = "WHERE fil.project = '" . $_SESSION['projectSession'] . "' AND fil.published = '0' AND fil.vc_parent = '0' ORDER BY fil.name"; $listFiles = new request(); $listFiles->openFiles($tmpquery); $comptListFiles = count($listFiles->fil_id); $block1 = new block(); $block1->headingForm($strings["document_list"]); if ($comptListFiles != "0") { echo "<table cellspacing=\"0\" border=\"0\" cellpadding=\"3\" cols=\"4\" class=\"listing\">\n<tr><th class=\"active\">" . $strings["name"] . "</th><th>" . $strings["topic"] . "</th><th>" . $strings["date"] . "</th><th width=\"1%\" >" . $strings["approval_tracking"] . "</th></tr>"; for ($i = 0; $i < $comptListFiles; $i++) { if (!($i % 2)) { $class = "odd"; $highlightOff = $block1->oddColor; } else { $class = "even"; $highlightOff = $block1->evenColor; } $idStatus = $listFiles->fil_status[$i]; echo "<tr class=\"{$class}\" onmouseover=\"this.style.backgroundColor='" . $block1->highlightOn . "'\" onmouseout=\"this.style.backgroundColor='" . $highlightOff . "'\"><td>"; if ($listFiles->fil_task[$i] != "0") { echo "<a href=\"clientfiledetail.php?id=" . $listFiles->fil_id[$i] . "\">" . $listFiles->fil_name[$i] . "</a>"; $folder = $listFiles->fil_project[0] . "/" . $listFiles->fil_task[0];