/**
  * Returns the data model based on the primary key given in the GET variable.
  * If the data model is not found, an HTTP exception will be raised.
  * @param integer the ID of the model to be loaded
  */
 public function loadModel($id)
 {
     $model = feeCollectionParticulars::model()->findByPk($id);
     if ($model === null) {
         throw new CHttpException(404, 'The requested page does not exist.');
     }
     return $model;
 }
</td>
    </tr>
    <tr>
     <td>Due Date</td>
     <td></td>
     <td><?php 
    echo $posts->due_date;
    ?>
</td>
    </tr>
    </table> 
    <?php 
    echo CHtml::link('Add Particular', array('feeCollectionParticulars/create', 'id' => $_REQUEST['id']));
    ?>
  <?php 
    $collection = feeCollectionParticulars::model()->findAll("\tfinance_fee_collection_id =:x", array(':x' => $_REQUEST['id']));
    if (count($collection) != 0) {
        ?>
  
 <div class="tablebx">  
 	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr class="tablebx_topbg">
       <td>Sl no.</td>
       <td>Particulars</td>
       <td>Student Category</td>
       <td>Admission no</td>
       <td>Amount ($)</td>
        <td>Created Date</td>
     </tr>
     <?php 
        $i = 1;