-
Notifications
You must be signed in to change notification settings - Fork 252
/
Home.tpl
executable file
·88 lines (78 loc) · 5.69 KB
/
Home.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?php /* $Id: Home.tpl 3563 2007-11-12 07:41:54Z will $ */ ?>
<?php TemplateUtility::printHeader('Home', array('js/sweetTitles.js', 'js/dataGrid.js', 'js/dataGridFilters.js', 'js/home.js')); ?>
<?php TemplateUtility::printHeaderBlock(); ?>
<?php TemplateUtility::printTabs($this->active); ?>
<div id="main" class="home">
<?php TemplateUtility::printQuickSearch(); ?>
<div id="contents" style="padding-top: 10px;">
<table>
<tr>
<td align="left" valign="top" style="text-align: left; height:50px;">
<div class="noteUnsizedSpan">My Recent Calls</div>
<?php $this->dataGrid2->drawHTML(); ?>
</td>
<td align="center" valign="top" style="text-align: left; font-size:11px; height:50px;">
<?php echo($this->upcomingEventsFupHTML); ?>
</td>
<td align="center" valign="top" style="text-align: left;font-size:11px; height:50px;">
<?php echo($this->upcomingEventsHTML); ?>
</td>
</tr>
</table>
<table>
<tr>
<td align="left" valign="top" style="text-align: left; width: 50%; height: 240px;">
<div class="noteUnsizedSpan">Recent Hires</div>
<table class="sortable" style="margin: 0 0 4px 0;">
<tr>
<th align="left" style="font-size:11px;">Name</th>
<th align="left" style="font-size:11px;">Company</th>
<th align="left" style="font-size:11px;">Recruiter</th>
<th align="left" style="font-size:11px;">Date</th>
</tr>
<?php foreach($this->placedRS as $index => $data): ?>
<tr class="<?php TemplateUtility::printAlternatingRowClass($index); ?>">
<td style="font-size:11px;"><a href="<?php echo(CATSUtility::getIndexName()); ?>?m=candidates&a=show&candidateID=<?php echo($data['candidateID']); ?>"style="font-size:11px;" class="<?php echo($data['candidateClassName']); ?>"><?php $this->_($data['firstName']); ?> <?php $this->_($data['lastName']); ?></a></td>
<td style="font-size:11px;"><a href="<?php echo(CATSUtility::getIndexName()); ?>?m=companies&a=show&companyID=<?php echo($data['companyID']); ?>" style="font-size:11px;" class="<?php echo($data['companyClassName']); ?>"><?php $this->_($data['companyName']); ?></td>
<td style="font-size:11px;"><?php $this->_(StringUtility::makeInitialName($data['userFirstName'], $data['userLastName'], false, LAST_NAME_MAXLEN)); ?></td>
<td style="font-size:11px;"><?php $this->_($data['date']); ?></td>
</tr>
<?php endforeach; ?>
</table>
<?php if (!count($this->placedRS)): ?>
<div style="height: 207px; border: 1px solid #c0c0c0; background: #E7EEFF url(images/nodata/dashboardNoHiresWhite.jpg);">
</div>
<?php endif; ?>
</td>
<td align="center" valign="top" style="text-align: left; width: 50%; height: 240px;">
<div class="noteUnsizedSpan">Hiring Overview</div>
<map name="dashboardmap" id="dashboardmap">
<area href="#" alt="Weekly" title="Weekly"
shape="rect" coords="398,0,461,24" onclick="swapHomeGraph(<?php echo(DASHBOARD_GRAPH_WEEKLY); ?>);" />
<area href="#" alt="Monthly" title="Monthly"
shape="rect" coords="398,25,461,48" onclick="swapHomeGraph(<?php echo(DASHBOARD_GRAPH_MONTHLY); ?>);" />
<area href="#" alt="Yearly" title="Yearly"
shape="rect" coords="398,49,461,74" onclick="swapHomeGraph(<?php echo(DASHBOARD_GRAPH_YEARLY); ?>);" />
</map>
<img src="<?php echo(CATSUtility::getIndexName()); ?>?m=graphs&a=miniPlacementStatistics&width=495&height=230" id="homeGraph" onclick="" alt="Hiring Overview" usemap="#dashboardmap" border="0" />
</td>
</tr>
</table>
<table>
<tr>
<td align="left" valign="top" style="text-align: left; width: 50%; height: 260px;">
<div class="noteUnsizedSpan">Important Candidates (Submitted, Interviewing, Offered in Active Job Orders) - Page <?php echo($this->dataGrid->getCurrentPageHTML()); ?> (<?php echo($this->dataGrid->getNumberOfRows()); ?> Items)</div>
<?php $this->dataGrid->draw(); ?>
<div style="float:right;"><?php $this->dataGrid->printNavigation(false); ?> <?php $this->dataGrid->printShowAll(); ?> </div>
<?php if (!$this->dataGrid->getNumberOfRows()): ?>
<div style="height: 208px; border: 1px solid #c0c0c0; background: #E7EEFF url(images/nodata/dashboardNoCandidatesWhite.jpg);">
</div>
<?php endif; ?>
</td>
</tr>
</table>
</div>
</div>
<?php TemplateUtility::printFooter(); ?>