2 /***********************************************************************/
4 /***********************************************************************/
5 /* Copyright (c) 2002-2010 */
6 /* Inclusive Design Institute */
9 /* This program is free software. You can redistribute it and/or */
10 /* modify it under the terms of the GNU General Public License */
11 /* as published by the Free Software Foundation. */
12 /***********************************************************************/
15 if (!defined('AT_INCLUDE_PATH')) { exit; }
16 include(AT_JB_INCLUDE.'classes/Job.class.php');
25 $result = $job->getAllJobs('created_date', 'desc');
27 if (is_array($result)) {
28 foreach($result as $row){
29 if ($cnt >= $link_limit) break;
32 $title = htmlentities_utf8($row['title']);
33 $list[] = '<span title="'.strip_tags($title).'">'.'<a href="'.$_base_path.'mods/job_board/view_post.php?jid='.$row['id'].'">'.$title.'</a></span>';