$s .= '<td>' . $row['dept_name'] . '</td>'; $s .= '</tr>'; } } $AppUI->getModuleJS('contacts'); ?> <table border="0" cellpadding="7" cellspacing="0" width="100%" class="infopanel"> <tr> <td class="status">Total:</td> <td><?php echo $total; ?> contacts</td> <td width="100%" align="right"> <?php echo showButton($AppUI->_('New contact'), 'js:doEditCard(0, \'&company_id=' . $company_id . '\')'); ?> </td> </tr> </table> <table width="100%" border=0 cellpadding="2" cellspacing="0" class="list"> <tr> <th width="16"> </td> <th><?php echo $AppUI->_('Name'); ?> </td> <th><?php echo $AppUI->_('Email'); ?> </td>
$level = $level + 1; $n = count($tarr); for ($x = 0; $x < $n; $x++) { if ($tarr[$x]['dept_parent'] == $parent && $tarr[$x]['dept_parent'] != $tarr[$x]['dept_id']) { showchilddept_comp($tarr[$x], $level); findchilddept_comp($tarr, $tarr[$x]['dept_id'], $level); } } } ?> <table border="0" cellpadding="7" cellspacing="0" width="100%" class="infopanel"> <tr> <td> <?php if ($canEdit) { showButton($AppUI->_('new department'), 'index.php?m=departments&a=addedit&company_id=' . $company_id); } ?> </td> </tr> </table> <table width="100%" border="0" cellpadding="2" cellspacing="0" class="list"> <tr><th> </th><th width="100%"><?php echo $AppUI->_('Name'); ?> </th><th><?php echo $AppUI->_('Users'); ?> </th></tr> <tr class="second"> <?php
<table cellspacing="0" cellpadding="7" border="0" width="100%" class="infopanel"> <tr> <td> <input type="button" value="<?php echo $AppUI->_('Save'); ?> " class="button" onClick="doSaveEvent()"> <input type="button" value="<?php echo $AppUI->_('Cancel'); ?> " class="button" onclick="history.back();"> </td> <td align="right"> <?php if ($event_id) { showButton('view this event', 'index.php?m=calendar&a=view&event_id=' . $event_id); } ?> </td> </tr> </table> <table cellspacing="0" cellpadding="0" border="0" width="100%" class="subinfopanel"> <tr> <td valign="top"> <table cellspacing="0" cellpadding="3" border="0" width="100%"> <tr> <td align="right" nowrap="nowrap"><?php echo $AppUI->_('Title'); ?> :</td>
} else { if ($where) { $where = $q->quote("%{$where}%"); $q->addWhere("(UPPER(user_username) LIKE {$where} or UPPER(contact_first_name) LIKE {$where} OR UPPER(contact_last_name) LIKE {$where})"); } } $q->addGroup('user_id'); $q->addOrder($orderby); $users = $q->loadList(); $canLogin = !isset($_REQUEST['inactive']) || $_REQUEST['inactive'] == 'false'; ?> <table cellpadding="7" cellspacing="0" border="0" width="100%" class="infopanel"> <tr> <td> <?php showButton('New User', '?m=admin&a=addedituser'); ?> </td> <td align="right"> <table class="internal"> <tr><td>Show:</td> <td><input id="idInactive" type="checkbox" name="inactive" <?php echo $_REQUEST['inactive'] == 'true' ? 'checked="checked"' : ''; ?> onclick="go('?m=admin&a=index&orderby=<?php echo $_REQUEST['orderby']; ?> &inactive='+this.checked)"/></td> <td><label for="idInactive">inactive users</label></td></tr> </table> </td>
<?php } ?> <input type="button" value="<?php echo $AppUI->_('back'); ?> " onClick="javascript:history.back(-1);" class="button" /> </td> <?php if ($isAdmin || $user_id == $AppUI->user_id) { if ($user_id > 0) { ?> <td align="right" nowrap="nowrap"> <?php showButton('view this user', '?m=admin&a=viewuser&user_id=' . $user_id); showButton('edit preferences', '?m=system&a=addeditpref&user_id=' . $user_id); ?> </td> <?php } else { ?> <td align="right" nowrap="nowrap"> <label for="idSendMail"><?php echo $AppUI->_('Inform new user of his account details?'); ?> </label> </td> <td><input id="idSendMail" type="checkbox" value="1" name="send_user_mail"/></td> <?php }
echo $AppUI->_('save'); ?> "/> <input class="button" type="button" name="cancel" value="<?php echo $AppUI->_('cancel'); ?> " onClick="doCancel()" /> </td> <td align="right" width="100%"> <?php if ($canReadProject) { showButton('view this project', '?m=projects&a=view&project_id=' . $task_project); } if ($task_id > 0) { showButton('view this task', '?m=tasks&a=view&task_id=' . $obj->task_id); } ?> </td> </tr> </table> <table border="0" cellpadding="0" cellspacing="4" width="100%" class="subinfopanel"> <tr> <td align="right" nowrap="nowrap" width="90px"> <?php echo $AppUI->_('Task Name'); ?> </td> <td> <input id="idTaskName" tabindex="1" type="text" class="text" name="task_name"
" /> <table cellspacing="0" cellpadding="4" border="0" width="100%"> <tr> <td class="tabon">Project <?php echo $row->project_name; ?> Information</td> <td width="100%"> </td> </tr> </table> <table cellspacing="0" cellpadding="4" border="0" width="100%" class="infopanel"> <tr> <td> <?php if ($project_id > 0) { showButton("view", "?m=projects&a=view&project_id={$project_id}"); } ?> <input class="button" type="button" name="btnFuseAction2" value="<?php echo $AppUI->_('save'); ?> " onClick="doSubmit()" /> <input class="button" type="button" name="cancel2" value="<?php echo $AppUI->_('cancel'); ?> " onClick="doCancel()" /> </td> <td align="right"> <?php if ($project_id == 0) { $q = new DBQuery();
echo $company['company_fax']; ?> </td> </tr> <?php } ?> <tr><td colspan="2"><img src="images/blank.gif" width="1" height="1"></td></tr> <tr> <td colspan="2" align="center"> <?php echo showButton('Details', '?m=companies&a=view&company_id=' . $company['company_id']); ?> <?php echo showButton('Close', "js:\$('idGlass').onclick()"); ?> </td> </tr> <tr><td colspan="2"><img src="images/blank.gif" width="1" height="1"></td></tr> </table> <?php } else { if (isset($depts)) { $n = 1; ?> <table id="idDeptList" border="0" cellpadding="4" cellspacing="0" width="250px"> <tr> <th colspan="2" bgcolor="#E0E0E0" nowrap="nowrap"><?php echo $company_name; ?>
closeOpenedTask($p['tasks'][$i]['task_id']); } if (in_array($p['tasks'][$i]['task_parent'], $tasks_opened)) { showtask($p['tasks'][$i], 1, false); } } } if ($tnums && $dPconfig['enable_gantt_charts'] && !$min_view) { ?> <tr> <td colspan="11" align="right"> <?php if ($p['project_owner'] == $AppUI->user_id || $AppUI->user_type <= 5) { showButton($AppUI->_('Reports'), 'index.php?m=projects&a=reports&project_id=' . $k); } showButton($AppUI->_('Gantt chart'), 'index.php?m=tasks&a=viewgantt&project_id=' . $k); ?> </td> </tr> </form> <?php } } } $AppUI->setState('tasks_opened', $tasks_opened); if ($total_tasks == 0) { showEmptySpanRow('second'); } ?> </table> <div id="idLegend" style="display: none">
?> "><td class="tabon"> <?php echo '<img class="ico" src="' . dPfindImage('event' . $obj->event_type . '.png', 'calendar') . '"> ' . $obj->event_title; ?> </td><td width="100%"> </td></tr> </table> <table border="0" cellpadding="7" cellspacing="0" width="100%" class="infopanel"> <tr> <td width="100%"> <?php if ($canEdit) { showButton('edit this event', 'index.php?m=calendar&a=addedit&event_id=' . $event_id); echo ' '; if ($canDelete) { showButton('delete event', 'js:delIt()'); } } ?> </td> </tr> </table> <table border="0" cellpadding="7" cellspacing="0" width="100%" class="subinfopanel"> <tr> <td valign="top" width="50%"> <table cellspacing="0" cellpadding="3" width="100%" class="list"> <tr class="second"> <td align="right" nowrap="nowrap"><b><?php echo $AppUI->_('Starts'); ?> </b></td>
if ($offset + $limit < $ticket_count) { print " | <a href=index.php?m=ticketsmith&type={$type}&column={$column}&direction={$direction}&offset=" . ($offset + $limit) . "><img src=images/navright.gif border=0></a>\n"; } } ?> </td> <td class="internal" align="right"> <?php /* output action buttons */ showButton($AppUI->_('Search'), 'index.php?m=ticketsmith&a=search'); showButton($AppUI->_('Report as PDF'), 'index.php?m=ticketsmith&a=pdf&type=' . $type . '&suppressHeaders=1', 'ReportPDF'); if ($canEdit) { showButton($AppUI->_('New Ticket'), 'index.php?m=ticketsmith&a=post_ticket'); } if ($type == 'Deleted' && $parent_count) { showButton($AppUI->_('Expunge Deleted'), 'index.php?m=ticketsmith&type=Deleted&action=expunge'); } ?> </td> </tr> </table> </td> </tr> <?php /* output headings */ echo '<tr>'; for ($n = 0; $n < count($fields['headings']); $n++) { if ($column != $fields['columns'][$n]) { $new_direction = 'ASC'; } else {
// check permissions for this record $canRead = !getDenyRead($m); if (!$TIMECARD_CONFIG['minimum_report_level'] >= $AppUI->user_type) { $AppUI->setMsg('Access denied', UI_MSG_ERROR); $AppUI->redirect(); } $AppUI->savePlace(); // get the prefered date format $df = $AppUI->getPref('SHDATEFORMAT'); ?> <table border="0" cellpadding="3" cellspacing="0" class="infopanel" width="100%"> <tr> <td class="status"> <?php if ($report_type) { showButton('reports index', "?m=timecard&tab={$tab}"); } else { echo 'Select a report bellow'; } ?> </td> </tr> </table> <?php if ($report_type) { $report_type = $AppUI->checkFileName($report_type); $report_type = str_replace(' ', '_', $report_type); require $dPconfig['root_dir'] . "/modules/timecard/reports/{$report_type}.php"; } else { $reports = $AppUI->readFiles($dPconfig['root_dir'] . "/modules/timecard/reports", "\\.php\$"); ?>
} ); } return this; } </script> <table border="0" cellpadding="4" cellspacing="0" width="100%" class="infopanel"> <tr> <td> <?php showButton('edit information', '?m=admin&a=addedituser&user_id=' . $user_id); echo ' '; showButton('edit preferences', '?m=system&a=addeditpref&user_id=' . $user_id); echo ' '; showButton($AppUI->_('change password'), 'js:ChangePassword().show()'); ?> </td> </tr> </table> <?php } ?> <table border="0" cellpadding="4" cellspacing="0" width="100%" class="<?php echo $detail_class; ?> "> <tr style="background-color: white"> <td width="50%"> <table cellspacing="1" cellpadding="2" border="0" width="100%"> <tr>
<td class="tabon"> <?php echo $display_project_name . $title_ext; ?> </td> <td width="100%"> </td> </tr> </table> <table class="infopanel" cellspacing="0" cellpadding="4" border="0" width="100%"> <tr> <td nowrap="nowrap"> <?php showButton("view this project", "?m=projects&a=view&project_id={$project_id}"); echo ' '; if ($report_type) { showButton("reports index", "index.php?m=projects&a=reports&project_id={$project_id}"); } ?> </td> <td width="100%"> </td> </tr> </table> <?php } if ($report_type) { $report_type = $AppUI->checkFileName($report_type); $report_type = str_replace(' ', '_', $report_type); require DP_BASE_DIR . "/modules/projects/reports/{$report_type}.php"; } else { echo '<table id="idReportList" class="list" cellspacing="0" cellpadding="4" border="0" width="100%">'; echo '<tr><th> </th><th>' . $AppUI->_('Report') . '</th><th class="last">' . $AppUI->_('Description') . '</th></tr>';
<td> 1 mnth </td> <td> 2 mnth </td> <td> 3 mnth </td> </tr> </table> </div> <?php showButton(); ?> </div> <div id="rightcoloumn"> <img border="0" src="img.jpg"/> </div> </div> </div> </body> </html>
echo @$obj->user_id; ?> ).show()"><?php echo @$obj->contact_name; ?> </a></td> <td width="100%"></td> <td><?php echo showButton('edit', 'index.php?m=companies&a=addedit&company_id=' . $company_id); ?> </td> <?php if ($canDelete) { ?> <td><?php echo showButton('delete', 'js:delIt()'); ?> </td> <?php } ?> </tr> </table> <table border="0" cellpadding="4" cellspacing="0" width="100%" class="subinfopanel"> <tr> <td valign="top" width="50%" height="100%"> <table cellspacing="0" cellpadding="3" width="100%" class="list" height="100%"> <tr class="info"><td colspan="4"><?php echo $AppUI->_('Contact information'); ?> </td></tr>
<table border="0" cellpadding="7" cellspacing="0" width="100%" class="infopanel"> <tr> <td><input type="button" value="<?php echo $AppUI->_('Save'); ?> " class="button" onClick="submitIt()"/></td> <td><input type="button" value="<?php echo $AppUI->_('Cancel'); ?> " class="button" onClick="history.back(-1)"/></td> <td width="100%"> </td> <?php if ($company_id != 0) { ?> <td><?php echo showButton($AppUI->_('View'), '?m=companies&a=view&company_id=' . $company_id); ?> </td> <?php } ?> <tr> </table> <table cellspacing="0" cellpadding="7" border="0" width='100%' class="subinfopanel"> <tr> <td> <table> <tr> <td align="right">* <?php echo $AppUI->_('Company Name'); ?>