| @@ 858-865 (lines=8) @@ | ||
| 855 | ->order_by('id') |
|
| 856 | ->get(); |
|
| 857 | ||
| 858 | foreach($query->result() as $row) |
|
| 859 | { |
|
| 860 | $html .= T5.'<option value="'.$row->id.'"'; |
|
| 861 | //Mark the appropriate one selected |
|
| 862 | $html .= ($row->id == $status_id) ? ' selected="selected">': '>'; |
|
| 863 | $html .= $row->desc; |
|
| 864 | $html .= '</option>'.NL; |
|
| 865 | } |
|
| 866 | ||
| 867 | return $html; |
|
| 868 | } |
|
| @@ 903-910 (lines=8) @@ | ||
| 900 | ->from('priority') |
|
| 901 | ->get(); |
|
| 902 | ||
| 903 | foreach($query->result() as $row) |
|
| 904 | { |
|
| 905 | $html .= T5.'<option value="'.$row->id.'"'; |
|
| 906 | //Mark the appropriate one selected |
|
| 907 | $html .= ($row->id == $pri_id) ? ' selected="selected">': '>'; |
|
| 908 | $html .= $row->desc; |
|
| 909 | $html .= '</option>'.NL; |
|
| 910 | } |
|
| 911 | ||
| 912 | return $html; |
|
| 913 | } |
|
| @@ 953-960 (lines=8) @@ | ||
| 950 | ->order_by('title', 'asc') |
|
| 951 | ->get(); |
|
| 952 | ||
| 953 | foreach($query->result() as $row) |
|
| 954 | { |
|
| 955 | $html .= T5.'<option value="'.$row->id.'"'; |
|
| 956 | //Mark the appropriate one selected |
|
| 957 | $html .= ($row->id == $category_id) ? ' selected="selected">': '>'; |
|
| 958 | $html .= $row->desc; |
|
| 959 | $html .= '</option>'.NL; |
|
| 960 | } |
|
| 961 | ||
| 962 | return $html; |
|
| 963 | } |
|