Ejemplo n.º 1
0
    $objArray->addData($record["fieldlabel"]);
    $objArray->addData(isset($this->data[$record["fieldname"]])?$this->data[$record["fieldname"]]:"");
}
trace($objArray->render());*/
?>

<table class="detailsOutside" width="100%" height="<?php echo((count($this->extraFieldRS)/2 + 12) * 22); ?>">
    <tr style="vertical-align:top;">
        <td width="50%" height="100%">
            <table class="detailsInside" height="100%">
                <tr>
                    <td class="vertical">Title:</td>
                    <td class="data" width="300">
                        <span class="<?php echo($this->data['titleClass']); ?>"><?php $this->_($this->data['title']); ?></span>
                        <?php echo($this->data['public']) ?>
                        <?php TemplateUtility::printSingleQuickActionMenu(DATA_ITEM_JOBORDER, $this->data['jobOrderID']); ?>
                    </td>
                </tr>

                <tr>
                    <td class="vertical">Company Name:</td>
                    <td class="data">
                        <a href="<?php echo(CATSUtility::getIndexName()); ?>?m=companies&amp;a=show&amp;companyID=<?php echo($this->data['companyID']); ?>">
                            <?php echo($this->data['companyName']); ?>
                        </a>
                    </td>
                </tr>

                <tr>
                    <td class="vertical">Department:</td>
                    <td class="data">
Ejemplo n.º 2
0
<?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 
Ejemplo n.º 3
0
<?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>
                                        &nbsp;
                                        <a id="vCard" href="<?php echo(CATSUtility::getIndexName()); ?>?m=contacts&amp;a=downloadVCard&amp;contactID=<?php echo($this->contactID); ?>">
                                            <img src="images/vcard.gif" class="absmiddle" alt="vCard" border="0" />
                                        </a>
                                    </span>
                                </td>
Ejemplo n.º 4
0
$hookFunction=function ($k,$v,$data)
{
    if($k=="address") return nl2br("pppp".htmlspecialchars($data['address']));
    return true;
};

$AUIEO_HEADER=  ob_get_clean();$data=$this->data;//trace($data);
$objCandidateView=new ClsCandidateView($this->data);
$arrRender=$objCandidateView->render($hookFunction);//trace($arrRender);
$AUIEO_RECORD_ID=$this->data["candidate_id"];
//$arrRender=$objCandidateView->render();
$AUIEO_JSON_DATA=  json_encode($this->data);
$AUIEO_JSON_RENDER=  json_encode($arrRender);//trace($AUIEO_JSON_RENDER);
ob_start();
TemplateUtility::printSingleQuickActionMenu(DATA_ITEM_CANDIDATE, $this->data['candidate_id']);
$AUIEO_SINGLE_MENU=  ob_get_clean();

$AUIEO_ADDRESS=nl2br(htmlspecialchars($this->data['address']));
$AUIEO_WEBSITE="";
if (!empty($this->data['webSite']))
{
    $AUIEO_WEBSITE="<a href='{$this->data['webSite']}' target='_blank'>{$this->data['webSite']}</a>";
}
ob_start();
for ($i = 0; $i < intval(count($this->extraFieldRS)/2); $i++)
{
    echo "<tr>
        <td class='vertical'>{$this->extraFieldRS[$i]['fieldName']}:</td>
        <td class='data'>{$this->extraFieldRS[$i]['display']}</td>
    </tr>";
Ejemplo n.º 5
0
<?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">