<div class="row"> <div class="col-md-12 headbox"> <p class="headbox">Lọc theo loại xe</p> </div> <div class="col-md-12 box boxfilter"> <ul class="list-unstyled" > <div class="row"> <?php foreach ($loaiXeGhep as $loai) { $url = Chtml::encode($this->url . ConvertURL::refine($loai->loai_xe_ghep) . '/' . $loai->ma_loai_xe_ghep); $loaiXeGhep = Chtml::encode($loai->loai_xe_ghep); ?> <li><a href="<?php echo $url; ?> "><?php echo $loaiXeGhep; ?> </a></li> <?php } ?> </div> </ul> </div> </div>
<thead> <tr style="color:#2C7BAC;" bgcolor="DAD9D9"> <th width="40">STT</th> <th width="110" class="text-center">Ngày đăng</th> <th width="295" class="text-center">Tiêu đề</th> <th width="" class="text-center">Trạng thái</th> <th colspan="3" class="text-center">Tác vụ</th> </tr> </thead> <tbody> <?php $i = 0; foreach ($listTin as $tin) { $urlLamMoi = CHtml::encode(Yii::app()->request->baseUrl . '/lam-moi-tin-dang/' . ConvertURL::refine($tin['tieu_de_tin']) . '/' . $tin['ma_tin']); $urlSua = CHtml::encode(Yii::app()->request->baseUrl . '/sua-tin/' . ConvertURL::refine($tin['tieu_de_tin']) . '/' . $tin['ma_tin']); $urlXoa = CHtml::encode(Yii::app()->request->baseUrl . '/xoa-tin/' . ConvertURL::refine($tin['tieu_de_tin']) . '/' . $tin['ma_tin']); ?> <tr> <td><?php echo CHtml::encode($i += 1); ?> </td> <td><?php echo CHtml::encode($tin['ngay_dang_tin']); ?> </td> <td class="text-left"><?php echo CHtml::encode($tin['tieu_de_tin']); ?> </td> <td><?php
<div class="table-responsive"> <table class="table table-striped table-hover ctt"> <thead> <tr style="color:#2C7BAC;" bgcolor="DAD9D9"> <th width="195">Tiêu đề</th> <th width="77">Nơi đi</th> <th width="83">Nơi đến</th> <th width="100">Ngày đi</th> <th width="164">Liên hệ</th> <th width="79">Trạng thái</th> </tr> </thead> <tbody> <?php foreach ($this->xetimkhach as $data) { $urlChiTietTin = Yii::app()->request->baseUrl . '/xe-tim-khach/xem-chi-tiet/' . ConvertURL::refine($data['tieu_de_tin']) . '/' . $data['ma_tin']; ?> <tr> <tr> <td><a title="<?php echo CHtml::encode($data['tieu_de_tin']); ?> " href="<?php echo $urlChiTietTin; ?> "><?php echo CHtml::encode($data['tieu_de_tin']); ?> </a></td> <td><?php
<?php $this->pageTitle = Yii::app()->name . ' - Tin tức'; ?> <?php $urlChiTietTin = Yii::app()->request->baseUrl . '/tin-tuc/xem-chi-tiet/' . ConvertURL::refine(CHtml::encode($data['tieu_de'])) . '/' . CHtml::encode($data['ma_tin']); ?> <section id="tintuc"> <div class="row"> <div class="col-md-4"> <figure > <a href="<?php echo $urlChiTietTin; ?> "><img src="<?php echo Yii::app()->request->baseUrl . '/images/tintuc/avatar/' . CHtml::encode($data->anh); ?> " width="200" height="177" /></a> </figure> </div> <div class="col-md-8"> <header> <h4> <a href="<?php echo $urlChiTietTin; ?> "><?php echo CHtml::encode($data->tieu_de); ?> </a></h4>