?
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/empview.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/application/tmpl/empview.php ^ * Description: template view for a employment application ^ * History: NONE ^ */ defined('_JEXEC') or die('Restricted access'); global $mainframe; $jobtype = array( '0' => JText::_('JP_JOBTYPE_FULLTIME'), '1' => JText::_('JP_JOBTYPE_PARTTIME'), '2' => JText::_('JP_JOBTYPE_INTERNSHIP')); $heighesteducation = array( '0' => JText::_('JP_JOBEDUCATION_UNIVERSITY'), '1' => JText::_('JP_JOBEDUCATION_COLLEGE'), '2' => JText::_('JP_JOBEDUCATION_HIGH_SCHOOL'), '3' => JText::_('JP_JOBEDUCATION_NO_SCHOOL')); ?> <link rel="stylesheet" type="text/css" media="all" href="<?php echo $mainframe->getBasePath(); ?>components/com_jsjobs/css/<?php echo $this->config['theme']; ?>" /> <script language="javascript"> <!--// function myPopup(url,windowname,w,h,x,y){ window.open(url,windowname,"resizable=no,toolbar=no,scrollbars=no,menubar=no,status=no,directories=no,width="+w+",height="+h+",left="+x+",top="+y+""); } //--> </script> <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 if ($_GET['vea'] == '1'){ ?> <?php echo JText::_('JP_CUR_LOC'); ?> : <a href="index.php?option=com_jsjobs&c=jsjobs&view=jobposting&layout=alljobsappliedapplications&Itemid=<?php echo $this->Itemid; ?>" class="curloclnk"><?php echo JText::_('JP_MY_JOBS_APPLIED_APPLICATIONS'); ?></a> > <a href="index.php?option=com_jsjobs&c=jsjobs&view=jobposting&layout=jobappliedapplications&jobid=<?php echo $_GET['jobid']; ?>&Itemid=<?php echo $this->Itemid; ?>" class="curloclnk"><?php echo JText::_('JP_JOB_APPLIED_APPLICATIONS'); ?></a> > <?php echo JText::_('JP_VIEW_EMP_APP'); ?> <?php } else if ($_GET['vea'] == '2'){ if (!isset($this->application)){ $mainframe->redirect('index.php?option=com_jsjobs&c=jsjobs&view=resume&layout=formemp&Itemid='.$this->Itemid); }else{ ?> <?php echo JText::_('JP_CUR_LOC'); ?> : <?php echo JText::_('JP_VIEW_EMP_APP'); ?> <?php } } ?> </td></tr> <tr><td class="<?php echo $this->theme['heading']; ?>" align="center"> <?php echo JText::_('JP_VIEW_EMP_APP'); ?> </td></tr> <tr><td height="3"></td></tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="100%" class="contentpane"> <tr> <td colspan="3" height="5"></td> </tr> <?php if ($_GET['vea'] == '2'){ ?> <tr height="31" valign="middle"> <td colspan="2" align="left" class="sectionheadline"> </td> <td align="right" class="sectionheadline"> <?php $link = 'index.php?option=com_jsjobs&c=jsjobs&view=resume&layout=formemp&uid='.$this->application->uid.'&Itemid='.$this->Itemid; ?> <a href="<?php echo $link ?>"><?php echo JText::_('JP_EDIT'); ?></a> </td> </tr> <?php } ?> <tr><td colspan="3" height="5"></td></tr> <tr> <td colspan="2" height="35" valign="middle" align="center" class="sectionheadline"> <?php if($this->application->resume != ''){ ?> <?php echo JText::_('JP_RESUME'); $link = 'index2.php?option=com_jsjobs&c=jsjobs&view=resume&layout=resumeview&rq='.$this->application->id.'&Itemid='.$this->Itemid; ?> <a href="javascript:myPopup('<?php echo $link ?>', '<?php echo JText::_('JP_RESUME'); ?>','700','600','100','200')"><?php echo JText::_('JP_VIEW'); ?></a> <?php } ?> </td> <td align="center" class="sectionheadline"> <?php if($this->application->filename != ''){ ?> <b><?php echo JText::_('JP_RESUME_FILE'); ?></b> <?php if($this->application->filename != ''){ ?> <?php if($this->application->filecontent == '') $link = $mainframe->getBasePath().'components/com_jsjobs/resume/'.$this->application->uid.'/'.$this->application->filename; else $link = 'index2.php?option=com_jsjobs&c=jsjobs&view=resume&layout=resumedownload&rq='.$this->application->id.'&Itemid='.$this->Itemid; ?> <a href="<?php echo $link ?>"><?php echo JText::_('JP_DOWNLOAD'); ?></a> <?php } ?> <?php } ?> </td> </tr> <tr><td colspan="3" height="5"></td></tr> <tr> <td colspan="3" align="center" class="<?php echo $this->theme['sectionheading']; ?>"> <?php echo JText::_('JP_PERSONAL_INFORMATION'); ?> </td> </tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_TITLE'); ?></b></td> <td class="maintext"><?php echo $this->application->application_title; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_FIRST_NAME'); ?></b></td> <td class="maintext"><?php echo $this->application->first_name; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_MIDDLE_NAME'); ?></b></td> <td class="maintext"><?php echo $this->application->middle_name; ?></td> </tr> <tr> <td colspan="3" height="1"></td> </tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_LAST_NAME'); ?></b></td> <td class="maintext"><?php echo $this->application->last_name; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_EMAIL_ADDRESS'); ?></b></td> <td class="maintext"><?php echo $this->application->email_address; ?></td> </tr> <tr> <td colspan="3" height="1"></td> </tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_HOME_PHONE'); ?></b></td> <td class="maintext"><?php echo $this->application->home_phone; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_WORK_PHONE'); ?></b></td> <td class="maintext"><?php echo $this->application->work_phone; ?></td> </tr> <tr> <td colspan="3" height="1"></td> </tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_CELL'); ?></b></td> <td class="maintext"><?php echo $this->application->cell; ?></td> </tr> <tr height="21"><td colspan="3"></td></tr> <tr> <td width="100" colspan="3" align="center" class="<?php echo $this->theme['sectionheading']; ?>"> <?php echo JText::_('JP_BASIC_INFORMATION'); ?> </td> </tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_CATEGORY'); ?></b></td> <td class="maintext"><?php echo $this->application->job_category; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_DESIRED_SALARY'); ?></b></td> <td class="maintext"><?php echo $salaryrange = $this->config['currency'] . $this->application->rangestart . ' - ' . $this->config['currency'] . $this->application->rangeend . JText::_('JP_PERMONTH'); ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_JOBTYPE') ?></b></td> <td class="maintext"><?php echo $jobtype[$this->application->jobtype-1]; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_HEIGHTESTFINISHEDEDUCATION'); ?></b></td> <td class="maintext"><?php echo $heighesteducation[$this->application->heighestfinisheducation-1]; ?></td> </tr> <?php if ($this->config['resumeaddress'] == '1') { ?> <tr height="21"><td colspan="3"></td></tr> <tr> <td width="100" colspan="3" align="center" class="<?php echo $this->theme['sectionheading']; ?>"> <?php echo JText::_('JP_ADDRESS'); ?> </td> </tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_ADDRESS'); ?></b></td> <td class="maintext"><?php echo $this->application->address; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_CITY'); ?></b></td> <td class="maintext"><?php echo $this->application->address_city; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_COUNTY'); ?></b></td> <td class="maintext"><?php echo $this->application->address_county; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_STATE'); ?></b></td> <td class="maintext"><?php echo $this->application->address_state; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_COUNTRY'); ?></b></td> <td class="maintext"><?php echo $this->application->address_country; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_ZIPCODE'); ?></b></td> <td class="maintext"><?php echo $this->application->address_zipcode; ?></td> </tr> <?php } ?> <?php if ($this->config['resumeeducation'] == '1') { ?> <tr height="21"><td colspan="3"></td></tr> <tr> <td width="100" colspan="3" align="center" class="<?php echo $this->theme['sectionheading']; ?>"> <?php echo JText::_('JP_HEIGHTESTFINISHEDEDUCATION'); ?> </td> </tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_SCH_COL_UNI'); ?></b></td> <td class="maintext"><?php echo $this->application->institute; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_CRT_DEG_OTH'); ?></b></td> <td class="maintext"><?php echo $this->application->certificate_name; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_AREA_OF_STUDY'); ?></b></td> <td class="maintext"><?php echo $this->application->study_area; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_CITY'); ?></b></td> <td class="maintext"><?php echo $this->application->institute_city; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_COUNTY'); ?></b></td> <td class="maintext"><?php echo $this->application->institute_county; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_STATE'); ?></b></td> <td class="maintext"><?php echo $this->application->institute_state; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_COUNTRY'); ?></b></td> <td class="maintext"><?php echo $this->application->institute_country; ?></td> </tr> <?php } ?> <?php if ($this->config['resumeemployer'] == '1') { ?> <tr height="21"><td colspan="3"></td></tr> <tr> <td width="100" colspan="3" align="center" class="<?php echo $this->theme['sectionheading']; ?>"> <?php echo JText::_('JP_RECENT_EMPLOYER'); ?> </td> </tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_EMPLOYER'); ?></b></td> <td class="maintext"><?php echo $this->application->employer; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_POSITION'); ?></b></td> <td class="maintext"><?php echo $this->application->employer_position; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_RESPONSIBILITIES'); ?></b></td> <td class="maintext"><?php echo $this->application->employer_resp; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_FROM_DATE'); ?></b></td> <td class="maintext"><?php echo $this->application->employer_from_date; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_TO_DATE'); ?></b></td> <td class="maintext"><?php echo $this->application->employer_to_date; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_LEAVING_REASON'); ?></b></td> <td class="maintext"><?php echo $this->application->employer_leave_reason; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_CITY'); ?></b></td> <td class="maintext"><?php echo $this->application->employer_city; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_COUNTY'); ?></b></td> <td class="maintext"><?php echo $this->application->employer_county; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_STATE'); ?></b></td> <td class="maintext"><?php echo $this->application->employer_state; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_COUNTRY'); ?></b></td> <td class="maintext"><?php echo $this->application->employer_country; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['odd']; ?>"><td></td> <td class="maintext"><b><?php echo JText::_('JP_ZIPCODE'); ?></b></td> <td class="maintext"><?php echo $this->application->employer_zip; ?></td> </tr> <tr><td colspan="3" height="1"></td></tr> <tr class="<?php echo $this->theme['even']; ?>"><td width="5%"> </td> <td class="maintext" width="30%"><b><?php echo JText::_('JP_PHONE'); ?></b></td> <td class="maintext"><?php echo $this->application->employer_phone; ?></td> </tr> <?php } ?> </table>