Ejemplo n.º 1
0
    </li>

    <li class="<?php 
if ($menumod == "indexpush") {
    ?>
active <?php 
}
?>
 dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            <i class="micon-picture"></i>
            <span class="hidden-phone">首页数据管理</span>
        </a>
        <ul class="dropdown-menu">
            <?php 
$indexPushType = getIndexPushType();
foreach ($indexPushType as $key => $row) {
    ?>
                    <li>
                        <a href="?mod=indexpush&tid=<?php 
    echo $key;
    ?>
">
                            <i class="icon-large icon-list"></i> <?php 
    echo $row;
    ?>
                        </a>
                    </li>
                <?php 
}
?>
Ejemplo n.º 2
0
 function __construct()
 {
     parent::__construct();
     $this->indexPushType = getIndexPushType();
 }