<?php //trace("======"); /* * CandidATS * Sites Management * * Copyright (C) 2014 - 2015 Auieo Software Private Limited, Parent Company of Unicomtech. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ob_start(); if ($this->isPopup) { TemplateUtility::printHeader('Candidate - '.$this->data['first_name'].' '.$this->data['last_name'], array( 'js/activity.js', 'js/sorttable.js', 'js/match.js', 'js/lib.js', 'js/pipeline.js', 'js/attachment.js')); } else { TemplateUtility::printHeader('Candidate - '.$this->data['first_name'].' '.$this->data['last_name'], array( 'js/activity.js', 'js/sorttable.js', 'js/match.js', 'js/lib.js', 'js/pipeline.js', 'js/attachment.js')); } $AUIEO_HEADER= ob_get_clean(); $AUIEO_CONTENT=""; ob_start(); if ($this->data['is_admin_hidden'] == 1) { ?> <p class="warning">This Candidate is hidden. Only CATS Administrators can view it or search for it. To make it visible by the site users, click <a href="<?php echo(CATSUtility::getIndexName()); ?>?m=candidates&a=administrativeHideShow&candidateID=<?php echo($this->candidateID); ?>&state=0" style="font-weight:bold;">Here.</a></p> <?php
<?php ob_start(); TemplateUtility::printHeader('Candidates', array('modules/candidates/validator.js', 'lib/ckeditor/ckeditor.js', 'js/searchSaved.js', 'js/sweetTitles.js', 'js/searchAdvanced.js', 'js/highlightrows.js', 'js/export.js')); $AUIEO_HEADER = ob_get_clean(); $AUIEO_CONTENT=""; ob_start(); $emailTo = ''; $arrIDList=array(); foreach($this->recipients as $recipient) { //$arrIDList[$ind]["id"]=$recipient["candidate_id"]; $name=false; if(isset($recipient["last_name"]) && isset($recipient["first_name"])) { $name=$recipient["first_name"]." ".$recipient["last_name"]; } else if(isset($recipient["last_name"])) { $name=$recipient["last_name"]; } else if(isset($recipient["first_name"])) { $name=$recipient["first_name"]; } if(strlen($recipient['email1']) > 0) { if($name===false) { $arrIDList[$recipient["candidate_id"]]["email"][]=array("email"=>$recipient["email1"]); } else
<?php $objRole=Users::getInstance()->getRole(); $allowDelete=$objRole->getModulePermission(300, Contacts::actionMapping("delete")); $allowEdit=$objRole->getModulePermission(300, Contacts::actionMapping("edit")); ob_start(); TemplateUtility::printHeader('Contact - '.$this->data['first_name'].' '.$this->data['last_name'], array( 'js/activity.js', 'js/sorttable.js', 'js/match.js', 'js/lib.js', 'js/pipeline.js', 'js/attachment.js')); $AUIEO_HEADER= ob_get_clean(); ob_start(); ?> <table class="detailsOutside" width="100%"> <tr style="vertical-align:top;"> <td width="50%" height="100%"> <table class="detailsInside" height="100%"> <tr> <td class="vertical">Name:</td> <td class="data"> <span class="bold"> <span class="<?php echo($this->data['titleClassContact']);?>"> <?php $this->_($this->data['first_name']); ?> <?php $this->_($this->data['last_name']); ?> <?php TemplateUtility::printSingleQuickActionMenu(DATA_ITEM_CONTACT, $this->contactID); ?> </span> <a id="vCard" href="<?php echo(CATSUtility::getIndexName()); ?>?m=contacts&a=downloadVCard&contactID=<?php echo($this->contactID); ?>"> <img src="images/vcard.gif" class="absmiddle" alt="vCard" border="0" /> </a> </span> </td>
<?php /* * CandidATS * Document to Text Conversion Library * * Copyright (C) 2014 - 2015 Auieo Software Private Limited, Parent Company of Unicomtech. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ob_start(); TemplateUtility::printHeader('Settings', 'js/sorttable.js'); $AUIEO_HEADER= ob_get_clean(); $siteID=$_SESSION["CATS"]->getSiteID(); /* Bail out if dataItemType not set. */ if(!isset($_REQUEST['dataItemType'])) { CommonErrors::fatalModal(COMMONERROR_BADINDEX, $this, 'Required input missing.'); return; } $dataItemType = $_REQUEST['dataItemType']; $dataItemID = $_REQUEST['dataItemID']; $AUIEO_MODULE = ""; $AUIEO_NAME = ""; switch ($dataItemType) { case DATA_ITEM_CANDIDATE: include_once('./lib/Candidates.php'); $dataItem = new Candidates($siteID);
<?php //trace("======"); /* * CandidATS * Sites Management * * Copyright (C) 2014 - 2015 Auieo Software Private Limited, Parent Company of Unicomtech. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ob_start(); TemplateUtility::printHeader('Company - '.$this->data['name'], array( 'js/sorttable.js', 'js/attachment.js')); $AUIEO_HEADER= ob_get_clean(); $objRole=Users::getInstance()->getRole(); $allowDelete=$objRole->getModulePermission(200, Companies::actionMapping("delete")); $allowEdit=$objRole->getModulePermission(200, Companies::actionMapping("edit")); $AUIEO_CONTENT=""; ob_start(); ?> <p class="note">Company Details</p> <table class="detailsOutside" width="100%"> <tr style="vertical-align:top;"> <td width="50%" height="100%"> <table class="detailsInside" height="100%"> <tr> <td class="vertical">Name:</td> <td class="data">