public function __construct(ClsAuieoArray &$objAuieoModel) 
 {
     $this->objAuieoModel=$objAuieoModel;
     parent::__construct("joborders",7);
     $rows=$objAuieoModel->getRows();
     if($rows>0)
     {
         $this->addRowCheckbox(0);
         $this->addData($this->getSortLink('name', 'Name'),0,0);
         $this->addData($this->getSortLink('phone1', 'Primary Phone'),0,1);
         $this->addData("Key Technologies",0,2);
         $this->addData($this->getSortLink('city', 'Created'),0,3);
         $this->addData($this->getSortLink('owner_user.last_name', 'Owner'),0,4);
         for($i=0;$i<$rows;$i++)
         {
             $this->addRowCheckbox($i+1,$objAuieoModel->getRenderValue($i,0));
             $this->addData($objAuieoModel->getRenderValue($i,1), $i+1, 0);
             $this->addData($objAuieoModel->getRenderValue($i,2), $i+1, 1);
             $this->addData($objAuieoModel->getRenderValue($i,3), $i+1, 2);
             $this->addData($objAuieoModel->getRenderValue($i,4), $i+1, 3);
             $this->addData($objAuieoModel->getRenderValue($i,5), $i+1, 4);
         }
         $this->assign("list",$this->getTable());
     }
     else
     {
         $this->assign("list","No matching entries found.");
     }
     $arrPager=ClsNaanalRequest::getInstance()->getPager();
     $pagination=getPagination("index.php?module=joborders", $rows, $arrPager["current_page"], $arrPager["items_per_page"]);
     $this->assign("pagination",$pagination);
     $this->assign("total_records",$rows);
     $this->assign("filter", ClsJobOrdersFilter::getInstance()->getFilter());
     //$this->addData("test",3,3);
     //$this->addColHeading("good",3);
     //<input type="checkbox" id="checked_<?php echo($data['contactID']); ? >" name="checked_<?php echo($data['contactID']); ? >" />
     
 }
Exemple #2
0
                            <?php TemplateUtility::printAdvancedSearch('searchByKeySkills,searchByResume'); ?>
                        </form>
                    </td>
                </tr>
            </table>

            <script type="text/javascript">
                document.searchForm.wildCardString.focus();
            </script>

            <?php if ($this->isResultsMode): ?>
                <br />
                <p class="note">Search Results</p>
<?php

echo ClsJobOrdersFilter::getInstance()->getFilter();
?>
                <?php if (!empty($this->rs)): ?>
                    <?php echo($this->exportForm['header']); ?>

                    <table class="sortable" width="100%" onmouseover="javascript:trackTableHighlight(event)">
                        <tr>
                            <th></th>
                            <th align="left" nowrap="nowrap">
                                <?php $this->pager->printSortLink('title', 'Title'); ?>
                            </th>
                            <th align="left" nowrap="nowrap">
                                <?php $this->pager->printSortLink('companyName', 'Company'); ?>
                            </th>
                            <th align="left" nowrap="nowrap">
                                <?php $this->pager->printSortLink('type', 'Type'); ?>