$item = rand(0, count($rate) - 1); if (isset($rate[$item]) && $rate[$item]) { $ban = $rate[$item]; echo $ban['content']; } ?> </div> <?php } ?> <div class="clb nav_bottom" id="footer"> <center> <table class="table0" style="text-align: center"> <tr> <td class="border-right <?php echo checkCurrentMenu("site", $cId, $actionId); ?> "><a class="smallText" href="<?php echo Yii::app()->createUrl("/site"); ?> ">Trang chủ </a></td> <td class="border-right"><a class="smallText" href="<?php echo Yii::app()->createUrl('/html/index', array('url_key' => 'gioi-thieu')); ?> ">Giới thiệu </a></td> <?php /* <td><a class="smallText" href="<?php echo Yii::app()->createUrl("/account/Application")?>">Tải ứng dụng</a></td> */ ?> <td>
?> </div> </div> <div class="clb" id="menu_top"> <table> <tr> <?php $menu_items = array(); $menu_items[] = array('title' => 'site', 'href' => '', 'text' => '<img class="home-icon" alt="Home" src="' . Yii::app()->theme->baseUrl . '/images/home.png"></img>'); //$menu_items[] = array('title'=>'genre','href'=>'genre','text'=>'Thể loại'); $menu_items[] = array('title' => 'song', 'href' => 'song', 'text' => 'BÀI HÁT'); $menu_items[] = array('title' => 'video', 'href' => 'video', 'text' => 'VIDEO'); $menu_items[] = array('title' => 'album', 'href' => 'album', 'text' => 'ALBUM'); $menu_items[] = array('title' => 'bxh', 'href' => 'bxh', 'text' => 'BXH'); foreach ($menu_items as $menu) { echo "<td class='" . checkCurrentMenu($menu['title'], $cId, $actionId) . "'><a title='{$menu['title']}' href='/{$menu['href']}'>{$menu['text']}</a></td>"; } ?> </tr> </table> </div> <?php echo $content; ?> <div class="clb nav_bottom" id="footer"> <center> <table class="table0" style="text-align: center"> <tr> <td class="border-right"><a class="smallText" href="/account">Tài khoản </a></td> <td class="border-right"><a class="smallText" href="/account/guide?id=7">Giới thiệu </a></td>