Example #1
0
        $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;
?>
&nbsp;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">&nbsp;</td>
	<th><?php 
echo $AppUI->_('Name');
?>
</td>
	<th><?php 
echo $AppUI->_('Email');
?>
</td>
Example #2
0
    $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>&nbsp;</th><th width="100%"><?php 
echo $AppUI->_('Name');
?>
</th><th><?php 
echo $AppUI->_('Users');
?>
</th></tr>
<tr class="second">
<?php 
Example #3
0
<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>
Example #4
0
} 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>
Example #5
0
	<?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);
            ?>
&nbsp;
	</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 
        }
Example #6
0
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);
}
?>
&nbsp;
	</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"
Example #7
0
" />
<table cellspacing="0" cellpadding="4" border="0" width="100%">
<tr>
	<td class="tabon">Project <?php 
echo $row->project_name;
?>
 Information</td>
	<td width="100%">&nbsp;</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();
Example #8
0
            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']);
        ?>
&nbsp;
			<?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;
            ?>
Example #9
0
File: tasks.php Project: n2i/xvnkb
                    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">
Example #10
0
File: view.php Project: n2i/xvnkb
?>
"><td class="tabon">
	<?php 
echo '<img class="ico" src="' . dPfindImage('event' . $obj->event_type . '.png', 'calendar') . '">&nbsp;' . $obj->event_title;
?>
	</td><td width="100%">&nbsp;</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 '&nbsp;';
    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>
Example #11
0
File: index.php Project: n2i/xvnkb
    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 {
Example #12
0
// 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\$");
    ?>
Example #13
0
			}
		);
	}

	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 '&nbsp;';
        showButton('edit preferences', '?m=system&a=addeditpref&user_id=' . $user_id);
        echo '&nbsp;';
        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>
Example #14
0
	<td class="tabon">
		<?php 
    echo $display_project_name . $title_ext;
    ?>
	</td>
	<td width="100%">&nbsp;</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 '&nbsp;';
    if ($report_type) {
        showButton("reports index", "index.php?m=projects&a=reports&project_id={$project_id}");
    }
    ?>
	</td>
	<td width="100%">&nbsp;</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>&nbsp;</th><th>' . $AppUI->_('Report') . '</th><th class="last">' . $AppUI->_('Description') . '</th></tr>';
Example #15
0
		<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>
Example #16
0
File: view.php Project: n2i/xvnkb
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>
Example #17
0
<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%">&nbsp;</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');
?>