示例#1
0
?>
		</div>
		<div class="clear"></div>
	</div>

	<!-- footer -->
	<div id="footerbg">
	<div id="footerblank">
    	<div id="footerbox">
<div id="footerbox2">
    <div class="footerheading">
    	<h4 class="footerheading">Gi&#7899;i thi&#7879;u</h4>
    </div>
    <div class="footertxt">
    	<?php 
$intros = Introduces::model()->findAll();
// die(var_dump($categorys));
foreach ($intros as $key => $value) {
    echo '<li>';
    echo CHtml::link($value->introducecol, array('introduces/view', 'id' => $value->id));
    echo '</li>';
}
?>
		<!-- <a href="#" class="textmndichvu">L&#7901;i ng&#7887;</a><br>
		<a href="#" class="textmndichvu">Gi&#7899;i thi&#7879;u chung công ty</a><br>
		<a href="#" class="textmndichvu">N&#259;ng l&#7921;c công ty</a><br> -->
	</div>
</div>	

<div id="footerbox2">
    <div class="footerheading">
 /**
  * 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 $id the ID of the model to be loaded
  * @return Introduces the loaded model
  * @throws CHttpException
  */
 public function loadModel($id)
 {
     $model = Introduces::model()->findByPk($id);
     if ($model === null) {
         throw new CHttpException(404, 'The requested page does not exist.');
     }
     return $model;
 }