1 <?php global $order, $search_string;
2 if ($search_string!=''){
3 $search_string = SEP.$search_string;
7 <table class="data static" summary="" rules="rows">
9 <th><?php echo _AT('id'); ?></th>
10 <th class="sort"><a href="<?php echo $_SERVER['PHP_SELF']."?col=title".SEP."order=$order".$search_string; ?>"><?php echo _AT('jb_title'); ?></a></th>
11 <th><?php echo _AT('jb_employer'); ?></th>
12 <th><?php echo _AT('categories'); ?></th>
13 <th class="sort"><a href="<?php echo $_SERVER['PHP_SELF']."?col=created_date".SEP."order=$order".$search_string; ?>"><?php echo _AT('created_date'); ?></a></th>
14 <th class="sort"><a href="<?php echo $_SERVER['PHP_SELF']."?col=closing_date".SEP.SEP."order=$order".$search_string; ?>"><?php echo _AT('jb_closing_date'); ?></a></th>
19 if (!empty($this->job_posts)):
20 foreach ($this->job_posts as $row):
21 if (!empty($this->bookmark_posts) && in_array($row['id'], $this->bookmark_posts)){
28 <td><a href="<?php echo AT_JB_BASENAME.'view_post.php?jid='.$row['id'];?>" title="<?php echo _AT('jb_view_job_post'); ?>"><?php echo $bookmark_icon . $row['id']; ?></a></td>
29 <td><a href="<?php echo AT_JB_BASENAME.'view_post.php?jid='.$row['id'];?>" title="<?php echo $row['title']; ?>"><?php echo $row['title']; ?></a></td>
31 $employer = new Employer($row['employer_id']);
32 echo htmlentities_utf8($employer->getCompany());
36 <?php if(is_array($row['categories'])):
38 foreach($row['categories'] as $category){
39 $category_str .= $this->job_obj->getCategoryNameById($category).', ';
41 $category_str = substr($category_str, 0, -2);
43 <span><?php echo $category_str;?></span>
45 <span><?php echo $this->job_obj->getCategoryNameById($row['categories']);?></span>
48 <td><?php echo AT_DATE(_AT("announcement_date_format"), $row['created_date']); ?></td>
49 <td><?php echo AT_DATE(_AT("announcement_date_format"), $row['closing_date']); ?></td>
53 <tr><td colspan="6"><?php echo _AT('none_found');?></td></tr>
58 <br style="clear:both;" />