|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/irtiweb/CATS/modules/companies/ |
Upload File : |
<?php /* $Id: Companies.tpl 3460 2007-11-07 03:50:34Z brian $ */ ?>
<?php TemplateUtility::printHeader('Companies', array('js/highlightrows.js', 'js/export.js', 'js/dataGrid.js', 'js/dataGridFilters.js')); ?>
<?php TemplateUtility::printHeaderBlock(); ?>
<?php TemplateUtility::printTabs($this->active); ?>
<style type="text/css">
div.addCompaniesButton { background: #4172E3 url(images/nodata/companiesButton.jpg); cursor: pointer; width: 337px; height: 67px; }
div.addCompaniesButton:hover { background: #4172E3 url(images/nodata/companiesButton-o.jpg); cursor: pointer; width: 337px; height: 67px; }
</style>
<div id="main">
<?php TemplateUtility::printQuickSearch(); ?>
<div id="contents">
<table width="100%">
<tr>
<td width="3%">
<img src="images/companies.gif" width="24" height="24" border="0" alt="Companies" style="margin-top: 3px;" />
</td>
<td><h2>Companies: Home</h2></td>
<td align="right">
<form name="companiesViewSelectorForm" id="companiesViewSelectorForm" action="<?php echo(CATSUtility::getIndexName()); ?>" method="get">
<input type="hidden" name="m" value="companies" />
<input type="hidden" name="a" value="listByView" />
<table class="viewSelector">
<tr>
<td valign="top" align="right" nowrap="nowrap">
<?php $this->dataGrid->printNavigation(false); ?>
</td>
<td valign="top" align="right" nowrap="nowrap">
<input type="checkbox" name="onlyMyCompanies" id="onlyMyCompanies" <?php if ($this->dataGrid->getFilterValue('OwnerID') == $this->userID): ?>checked<?php endif; ?> onclick="<?php echo $this->dataGrid->getJSAddRemoveFilterFromCheckbox('OwnerID', '==', $this->userID); ?>" />
<label for="onlyMyCompanies">Only My Companies</label>
</td>
<td valign="top" align="right" nowrap="nowrap">
<input type="checkbox" name="onlyHotCompanies" id="onlyHotCompanies" <?php if ($this->dataGrid->getFilterValue('IsHot') == '1'): ?>checked<?php endif; ?> onclick="<?php echo $this->dataGrid->getJSAddRemoveFilterFromCheckbox('IsHot', '==', '\'1\''); ?>" />
<label for="onlyHotCompanies">Only Hot Companies</label>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<?php if ($this->errMessage != ''): ?>
<div id="errorMessage" style="padding: 25px 0px 25px 0px; border-top: 1px solid #800000; border-bottom: 1px solid #800000; background-color: #f7f7f7;margin-bottom: 15px;">
<table>
<tr>
<td align="left" valign="center" style="padding-right: 5px;">
<img src="images/large_error.gif" align="left">
</td>
<td align="left" valign="center">
<span style="font-size: 12pt; font-weight: bold; color: #800000; line-height: 12pt;">There was a problem with your request:</span>
<div style="font-size: 10pt; font-weight: bold; padding: 3px 0px 0px 0px;"><?php echo $this->errMessage; ?></div>
</td>
</tr>
</table>
</div>
<?php endif; ?>
<p class="note">
<span style="float:left;">Companies -
Page <?php echo($this->dataGrid->getCurrentPageHTML()); ?>
(<?php echo($this->dataGrid->getNumberOfRows()); ?> Items)
<?php if ($this->dataGrid->getFilterValue('OwnerID') == $this->userID): ?>(Only My Companies)<?php endif; ?>
<?php if ($this->dataGrid->getFilterValue('IsHot') == '1'): ?>(Only Hot Companies)<?php endif; ?>
</span>
<span style="float:right;">
<?php $this->dataGrid->drawRowsPerPageSelector(); ?>
<?php $this->dataGrid->drawShowFilterControl(); ?>
</span>
</p>
<?php $this->dataGrid->drawFilterArea(); ?>
<?php $this->dataGrid->draw(); ?>
<div style="display:block;">
<span style="float:left;">
<?php $this->dataGrid->printActionArea(); ?>
</span>
<span style="float:right;">
<?php $this->dataGrid->printNavigation(true); ?>
</span>
</div>
</div>
</div>
<?php TemplateUtility::printFooter(); ?>