?
Path : /home/admin/public_html/old/promice/components/com_jsjobs/views/resume/tmpl/ |
Current File : /home/admin/public_html/old/promice/components/com_jsjobs/views/resume/tmpl/jobcat.php |
<?php /** + Created by: Ahmad Bilal * Company: Al-Barr Technologies + Contact: www.al-barr.com , info@al-barr.com * Created on: Jan 11, 2009 ^ + Project: Job Posting and Employment Application * File Name: views/resume/tmpl/jobcat.php ^ * Description: template view for job categories ^ * History: NONE ^ */ defined('_JEXEC') or die('Restricted access'); global $mainframe; ?> <link rel="stylesheet" type="text/css" media="all" href="<?php echo $mainframe->getBasePath(); ?>components/com_jsjobs/css/<?php echo $this->config['theme']; ?>" /> <table cellpadding="0" cellspacing="0" border="0" width="100%" class="contentpane"> <tr><td valign="top" class="<?php echo $this->theme['title']; ?>" > <?php echo $this->config['title']; ?> </td> </tr> <tr><td height="23"></td></tr> <tr><td> <?php if (sizeof($this->joblinks) != 0){ foreach($this->joblinks as $lnk) { ?> <?php echo $lnk; ?> <?php } } ?> </td></tr> <tr><td height="1"></td></tr> <tr><td> <?php if (sizeof($this->emplinks) != 0){ foreach($this->emplinks as $lnk) { ?> <?php echo $lnk; ?> <?php } }?> </td></tr> <tr><td height="13"></td></tr> <tr><td class="curloc"> <?php echo JText::_('JP_CUR_LOC'); ?> : <?php echo JText::_('JP_JOB_CATEGORIES'); ?> </td></tr> <tr><td class="<?php echo $this->theme['heading']; ?>" align="center"> <?php echo JText::_('JP_JOB_CATEGORIES'); ?> </td></tr> <tr><td height="10"></td></tr> </table> <?php $cur_user_allow = $_SESSION['cur_user_allow']; if ($cur_user_allow[1] == 1) { // Allow Emp App ?> <table cellpadding="3" cellspacing="0" border="0" width="100%" class="contentpane"> <?php $tdclass = array($this->theme['odd'], $this->theme['even']); $rowcount=1; $istr =1; $isodd =1; if ( isset($this->application) ){ foreach($this->application as $app) { $isodd = 1 - $isodd; if ($istr==1) echo " <tr >";//class='".$tdclass[$isodd]."'>"; $istr = 1 - $istr; ?> <td width="50%" class="<?php echo $tdclass[$isodd]; ?>" align="left"><a href="index.php?option=com_jsjobs&c=jsjobs&view=resume&layout=listjobs&jobcat=<?php echo $app->id; ?>&cn=<?php echo $app->cat_title; ?>&Itemid=<?php echo $this->Itemid; ?>" ><?php echo $app->cat_title; ?> (<?php echo $app->catinjobs; ?>)</a></td> <?php if ($istr==1){ echo ' </tr>'; $isodd = 1 - $isodd; } $rowcount = $rowcount+1; } } if ($istr==0) echo ' <td></td></tr>'; ?> </table> <?php } else{ // not allowed job posting echo JText::_('EA_YOU_ARE_NOT_ALLOWED_TO_VIEW'); } ?>