コード例 #1
0
ファイル: list.php プロジェクト: hoangnhonline/hoa-tuoi
">

                                <?php 
        echo $row['page_name'];
        ?>
 

                            </a>
                        </td>
                        <td><b><?php 
        echo $row['page_alias'];
        ?>
.html</b></td>
                        <td style="white-space:nowrap">                            
                        <?php 
        if ($model->checkprivilege(32)) {
            ?>
                            <a href="index.php?mod=page&act=form&id=<?php 
            echo $row['id'];
            ?>
" title="Click để chỉnh sửa">

                                <i class="fa fa-fw fa-edit"></i>

                            </a>
                            <?php 
        }
        ?>
                        
                            <a title="Click để xóa" href="javascript:;" alias="<?php 
        echo $row['page_name'];
コード例 #2
0
</a>
                </li>
                <li class="arrow"><img src="img/arrow.png"></li>
                <li>
                    <a href="index.php?mod=cate&act=list-child&parent_id=<?php 
echo $parent_id;
?>
"><?php 
echo $detailParent['cate_name'];
?>
</a>
                </li>
            </ul>
        </div>
        <?php 
if ($model->checkprivilege(7)) {
    ?>
        <button class="btn btn-primary btn-sm right" 
         onclick="location.href='index.php?mod=cate&act=form-child&cate_type_id=<?php 
    echo $cate_type_id;
    ?>
&parent_id=<?php 
    echo $parent_id;
    ?>
'">
        Tạo mới
        </button>
        <?php 
}
?>
        <button class="btn btn-primary btn-sm right" 
コード例 #3
0
ファイル: list.php プロジェクト: hoangnhonline/vinawatch
$arrTotal = $model->getListArticle($keyword, $cate_id, $tungay, $denngay, $hidden, -1, -1);
$arrListCate = $model->getListCateArticles();
$total_page = ceil($arrTotal['total'] / $limit);
$page = isset($_GET['page']) ? (int) $_GET['page'] : 1;
$link_form .= '&page=' . $page;
$offset = $limit * ($page - 1);
$arrList = $model->getListArticle($keyword, $cate_id, $tungay, $denngay, $hidden, $offset, $limit);
?>



<div class="row">

    <div class="col-md-12">
    <?php 
if ($model->checkprivilege(39)) {
    ?>
    
    <button class="btn btn-primary btn-sm right" onclick="location.href='index.php?mod=articles&act=form<?php 
    echo $link_form;
    ?>
'">Tạo mới</button>        
    <?php 
}
?>
         <div class="box-header">

                <h3 class="box-title">Danh sách bài viết</h3>

            </div><!-- /.box-header -->
コード例 #4
0
ファイル: list.php プロジェクト: hoangnhonline/vinawatch
<?php

require_once "model/Backend.php";
$model = new Backend();
$arrList = $model->getListCateArticles();
?>
<div class="row">
    <div class="col-md-12">
        <?php 
if ($model->checkprivilege(35)) {
    ?>
        <button class="btn btn-primary btn-sm right" onclick="location.href='index.php?mod=cate_articles&act=form'">Tạo mới</button>
        <?php 
}
?>
        <div class="box-header">
            <h3 class="box-title">Danh mục bài viết</h3>
        </div><!-- /.box-header -->
        <div class="box">           
            <div class="box-body">
                <table class="table table-bordered table-striped" id="tbl_list">
                    <thead>
                        <tr>
                            <th width="1%">STT </th>
                            <th width="1%"  style="white-space:nowrap">Sắp xếp</th>
                            <th width="30%">Tên danh mục </th>
                           <!-- <th width="20%">Ảnh đại diện</th>-->     
                            <th width="1%" style="white-space:nowrap">SL bài viết </th> 
                            <th width="1%"  style="white-space:nowrap">Trạng thái</th>                                                
                            <th width="1%"  style="white-space:nowrap">Thao tác</th>
                        </tr>
コード例 #5
0
ファイル: list.php プロジェクト: hoangnhonline/vinawatch
<?php

require_once "model/Backend.php";
$model = new Backend();
$link = "index.php?mod=age&act=list";
$arrList = $model->getListAgeRange();
?>
<div class="row">
    <div class="col-md-12">
        <?php 
if ($model->checkprivilege(43)) {
    ?>
        <button class="btn btn-primary btn-sm right" onclick="location.href='index.php?mod=age&act=form'">Tạo mới</button>
        <?php 
}
?>
        <div class="box-header">
            <h3 class="box-title">Danh sách</h3>
        </div><!-- /.box-header -->
        <div class="box">
            <div class="box_search">               
            </div>
            <div class="box-body">
                <table class="table table-bordered table-striped" id="tbl_list">
                    <thead>
                        <tr>
                            <th width="1%">No.</th>
                            <th width="80%">Độ tuổi</th>                           
                            <th width="1%">Action</th>
                        </tr>
                    </thead>
コード例 #6
0
ファイル: list.php プロジェクト: hoangnhonline/vinawatch
">
    <input type="hidden" name="is_hot" value="<?php 
echo $is_hot;
?>
">
    <input type="hidden" name="trangthai" value="<?php 
echo $trangthai;
?>
">
</form>


<div class="row">
    <div class="col-md-12">
        <?php 
if ($model->checkprivilege(13)) {
    ?>
        <button class="btn btn-primary btn-sm right" onclick="location.href='index.php?mod=product&act=form<?php 
    echo $link_form;
    ?>
'">Tạo mới</button>
        <?php 
}
?>
        <div class="box-header">
            <h3 class="box-title">Danh sách sản phẩm</h3>
        </div><!-- /.box-header -->
        <div class="box">
            <div class="box_search" style="font-weight:bold;text-align:left">
                <form method="get" id="form_search" name="form_search">
                    <input type="hidden" name="mod" value="product" />
コード例 #7
0
ファイル: list.php プロジェクト: hoangnhonline/vinawatch
<?php

require_once "model/Backend.php";
$model = new Backend();
$link = "index.php?mod=page&act=list";
$arrList = $model->getListPage(-1);
?>


<div class="row">

    <div class="col-md-12">
    <?php 
if ($model->checkprivilege(31)) {
    ?>
    <button class="btn btn-primary btn-sm right" onclick="location.href='index.php?mod=page&act=form'">Tạo mới</button>        
    <?php 
}
?>
         <div class="box-header">

                <h3 class="box-title">Danh sách trang</h3>

            </div><!-- /.box-header -->

        <div class="box">

            <div class="box_search">             

                
コード例 #8
0
ファイル: list.php プロジェクト: hoangnhonline/hoa-tuoi
    $username = '';
}
$listTotal = $model->getListUser($status, $full_name, $username, -1, -1);
$total_record = mysql_num_rows($listTotal);
$total_page = ceil($total_record / 20);
$page = isset($_GET['page']) ? (int) $_GET['page'] : 1;
$offset = 20 * ($page - 1);
$list = $model->getListUser($status, $full_name, $username, $offset, 20);
$arrCity = $model->getListCity();
?>

<div class="row">

    <div class="col-md-12">    
     <?php 
if ($model->checkprivilege(27)) {
    ?>
    <button class="btn btn-primary btn-sm right" onclick="location.href='index.php?mod=user&act=form<?php 
    echo $link_form;
    ?>
'">Tạo mới</button>        
    <?php 
}
?>
        
         <div class="box-header">

                <h3 class="box-title">Danh sách nhân viên</h3>

            </div><!-- /.box-header -->
コード例 #9
0
ファイル: list.php プロジェクト: hoangnhonline/vinawatch
                            <td style="text-align:center"><?php 
        echo $customer['status'] == 1 ? "<span style='color:blue'>Bật</span>" : "<span style='color:red'>Tắt</span>";
        ?>
</td>
                            <td style="white-space:nowrap">
                                <a title="Xem đơn hàng" href="index.php?mod=order&act=list-customer&customer_id=<?php 
        echo $customer['id'];
        echo $link_form;
        ?>
"     

                                    <i class="fa fa-fw fa-file-text-o"></i>

                                </a>
                                <?php 
        if ($model->checkprivilege(24)) {
            ?>
                                <a href="index.php?mod=customer&act=form&id=<?php 
            echo $customer['id'];
            echo $link_form;
            ?>
">
                                    <i class="fa fa-fw fa-edit"></i>
                                </a>
                                <?php 
        }
        ?>
                                <?php 
        if ($model->checkprivilege(25)) {
            ?>
                                <a href="javascript:;" alias="<?php 
コード例 #10
0
ファイル: list.php プロジェクト: hoangnhonline/vinawatch
$model = new Backend();
$arrList = $model->getListCateType();
?>
<div class="row">
    <div class="col-md-12">
        <div id="breadcrumb">
            <ul>
                <li>Dashboard</li>
                <li class="arrow"><img src="img/arrow.png"></li>
                <li>
                    <a href="index.php?mod=catetype&act=list">Menu danh mục</a>
                </li>
            </ul>
        </div>
        <?php 
if ($model->checkprivilege(10)) {
    ?>
        <button class="btn btn-primary btn-sm right" onclick="location.href='index.php?mod=catetype&act=form'">Tạo mới</button>
        <?php 
}
?>
        <div class="box-header">
            <h3 class="box-title">Danh sách menu danh mục</h3>
        </div><!-- /.box-header -->
        
        <div class="box">          
            <div class="box-body">
                <table class="table table-bordered table-striped" id="tbl_list">
                    <thead>
                        <tr>
                            <th width="1%">STT</th>