ak47suk1

Untitled

May 26th, 2011
231
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. // echo br(1);
  3. echo anchor('taxonomy', '<= Back to Main Page', 'id=wordz');
  4. ?>
  5. <div id="content">    
  6. <?php $this->load->view('includes/searchcourseoutlinetemplate'); ?>  
  7.     <h1>
  8.         -=[Course Outline List]=-
  9.     </h1>
  10.  
  11.     <table id="courseresult">
  12.  
  13.         <?php
  14.         if (!empty($query)) {
  15.  
  16.             echo '<p id="intro-eloki">' . $counter . ' Course Outline(s) is/are available in the database. </p>';
  17.             ?>
  18.             <tr id="tablehead" id="result-tr">
  19.                 <td id="result-td">Course Code</td>
  20.                 <td id="result-td">Course Name</td>
  21.                 <td id="result-td">Lecturer</td>
  22.                 <td id="result-td">Functions</td>
  23.             </tr>
  24.  
  25.     <?php foreach ($query as $q): ?>
  26.  
  27.                 <tr id="tablecell" id="result-tr">
  28.                     <td id="result-td"><?php echo $q->co_code ?></td>
  29.                     <td id="result-td"><?php echo $q->co_name ?></td>
  30.                     <td id="result-td"><?php echo $q->co_lecturer ?></td>
  31.                     <td id="result-td"><?php echo anchor('courseoutline/read/' . $q->co_id, 'View', 'id=wordz') ?></td>
  32.                 </tr>
  33.     <?php endforeach; ?>
  34.  
  35.         </table>
  36.  
  37.         <?php
  38.     }
  39.     ?>
  40.  
  41. </div>
  42. <?php
  43. echo br(1);
  44. echo anchor('taxonomy', '<= Back to Main Page', 'id=wordz');
  45. ?>
RAW Paste Data