Ejemplo n.º 1
0
                                                    <a class="sysiconBtnNoIcon" href="/manage/theme/set/<?php 
    echo $item['id'];
    ?>
">使用</a>
                                                    <?php 
    echo role::view_check('<a class="sysiconBtnNoIcon" href="/manage/theme/edit/' . $item['id'] . '">编辑</a>', 'theme_config');
    ?>
                                                    <?php 
    echo role::view_check('<a class="sysiconBtnNoIcon" href="/manage/theme/config/' . $item['id'] . '">配置</a>', 'theme_config');
    ?>
                                                    <a target="_blank" class="sysiconBtnNoIcon" href="/manage/theme/view_theme_img/<?php 
    echo $item['id'];
    ?>
">查看</a>
                                                    <?php 
    echo role::view_check('<a class="sysiconBtnNoIcon" onclick="return confirm(\'确认模板?\');" href="/manage/theme/delete/' . $item['id'] . '">删除</a>', 'theme_delete');
    ?>
                                                </div>
                                            </div>
                                            <span style="color:#ccc; font-size: 11px; font-weight: normal;"> 更新时间:<?php 
    echo $item['add_time'];
    ?>
</span> </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <?php 
}
?>
                    </div>
Ejemplo n.º 2
0
                     <?php 
    foreach ($actions as $value) {
        ?>
                    <tr id="<?php 
        echo $value['level_depth'];
        ?>
" name="<?php 
        echo $value['id'];
        ?>
" class="row">
                        <!-- <td><input class="sel" name="menu_ids[]" value="<?php 
        echo $value['id'];
        ?>
" type="checkbox" /></td> -->
                        <td><?php 
        echo role::view_check('<a href="' . url::base() . 'manage/action/edit/' . $value['id'] . '" >编辑</a>', 'action_edit');
        ?>
                        </td>
                        <?php 
        foreach ($list_columns as $column_key => $column_value) {
            if ($column_value['column'] == 'name') {
                ?>
                        <td><img onclick="rowClicked(this);" style="margin-left:<?php 
                echo $value['level_depth'];
                ?>
em;" src="<?php 
                echo url::base();
                ?>
images/icon_dot2.gif">
                        <?php 
                echo $value[$column_value['column']];
Ejemplo n.º 3
0
    foreach ($carrier_list as $rs) {
        ?>
                <tr>
                    <td><input class="sel" name="carrierids[]" value="<?php 
        echo $rs['id'];
        ?>
" type="checkbox" /></td>
                    <td><a href="<?php 
        echo url::base();
        ?>
site/carrier/edit/<?php 
        echo $rs['id'];
        ?>
">编辑</a>
                                <?php 
        echo role::view_check('<a href="' . url::base() . 'site/carrier/do_delete/' . $rs['id'] . '" onclick="javascript:return confirm(\'确定删除?\')" >删除</a>', 'site_carrier_delete');
        ?>
                    </td>
                    <td onclick="javascript:$('#group_<?php 
        echo $rs['id'];
        ?>
').toggle();">
                                <?php 
        echo kohana::config('product.carrier_type.' . $rs['type']);
        ?>
&nbsp;
                                <?php 
        if ($rs['type']) {
            ?>
                        <a href="javascript:void(0);" class="carrier_range_add" carrier_id="<?php 
            echo $rs['id'];
Ejemplo n.º 4
0
    foreach ($roles as $value) {
        ?>
                <tr>
                    <!-- <td><input class="sel" name="role_ids[]" value="<?php 
        echo $value['id'];
        ?>
" type="checkbox" /></td> -->
                    <td><?php 
        echo role::view_check('<a href="/manage/role/edit/' . $value['id'] . '">编辑</a>', 'role_edit');
        ?>
                        <a href="/manage/role/view_rule/<?php 
        echo $value['id'];
        ?>
" >权限</a>
                                <?php 
        echo role::view_check('<a href="/manage/role/rule/' . $value['id'] . '">权限设置</a>', 'role_edit');
        ?>
                                <?php 
        //echo role::view_check('<a href="/manage/role/delete/' . $value['id'] . '" onclick="return confirm(\'确认删除?\');">删除</a>', 'role_edit');
        ?>
                    </td>
                            <?php 
        foreach ($list_columns as $column_key => $column_value) {
            echo '<td>' . $value[$column_value['column']] . '</td>';
        }
        ?>
                    <td></td>
                </tr>
                    <?php 
    }
    ?>
Ejemplo n.º 5
0
                     <?php 
    foreach ($categories as $value) {
        ?>
                    <tr id="<?php 
        echo $value['level_depth'];
        ?>
" name="<?php 
        echo $value['id'];
        ?>
" class="row">
                        <!-- <td><input class="sel" name="doc_category_ids[]" value="<?php 
        echo $value['id'];
        ?>
" type="checkbox" /></td> -->
                        <td><?php 
        echo role::view_check('<a href="' . url::base() . 'site/doc_category/edit?id=' . $value['id'] . '" >编辑</a>', 'action_edit');
        ?>
                        </td>
                        <?php 
        foreach ($list_columns as $column_key => $column_value) {
            if ($column_value['column'] == 'category_name') {
                ?>
                        <td><img onclick="rowClicked(this);" style="margin-left:<?php 
                echo $value['level_depth'];
                ?>
em;" src="<?php 
                echo url::base();
                ?>
images/icon_dot2.gif">
                        &nbsp;<img src="<?php 
                echo url::base();
Ejemplo n.º 6
0
                </thead>
                <tbody>
                        <?php 
    foreach ($country_list as $rs) {
        ?>
                    <tr>
                        <td><input class="sel" name="country_ids[]" value="<?php 
        echo $rs['id'];
        ?>
" type="checkbox" /></td>
                        <td>
                                    <?php 
        echo role::view_check('<a href="' . url::base() . 'site/country/get/' . $rs['id'] . '">编辑</a>', 'site_country');
        ?>
                                    <?php 
        echo role::view_check('<a class="act_dodelete" href="' . url::base() . 'site/country/delete/' . $rs['id'] . '">删除</a>', 'site_country_delete');
        ?>
                        </td>
                        <td><?php 
        echo $rs['iso_code'];
        ?>
</td>
                        <td><?php 
        echo $rs['name'];
        ?>
</td>
                        <td><?php 
        echo $rs['name_manage'];
        ?>
</td>
                        <td>
Ejemplo n.º 7
0
        <div class="newgrid_tab fixfloat">
            <ul>
                <li class="on"><a href='<?php 
echo url::base() . 'site/doc/';
?>
'>站点文案列表</a></li>
            </ul>
        </div>
        <div class="newgrid_top">
            <ul class="pro_oper">
                <li>
                    <a href="/site/doc/add"><span class="add_pro">添加文案</span></a>
                </li>
                <li><a href="javascript:void(0);"><span class="del_pro" id="batch_delete">批量删除</span></a></li>
                <?php 
echo role::view_check('<li><a href="/site/doc_category/"><span class="add_word">文案分类管理</span></a></li>', 'doc_category');
?>
            </ul>
        </div>
        <?php 
if (is_array($data) && count($data)) {
    ?>
        <table  cellspacing="0">
        <form id="list_form" name="list_form" method="post" action="<?php 
    echo url::base() . url::current();
    ?>
">
                <thead>
                    <tr class="headings">
                        <th width="20"><input type="checkbox" id="check_all"></th>
                        <th width="100">操作</th>
Ejemplo n.º 8
0
                </thead>
                <tbody>
                        <?php 
    foreach ($currency_list as $rs) {
        ?>
                    <tr>
                        <td><input class="sel" name="currency_ids[]" value="<?php 
        echo $rs['id'];
        ?>
" type="checkbox" /></td>
                        <td>
                            <?php 
        echo role::view_check('<a href="' . url::base() . 'site/currency/edit/' . $rs['id'] . '">编辑</a>', 'site_currency');
        ?>
                            <?php 
        echo role::view_check('<a href="' . url::base() . 'site/currency/do_delete/' . $rs['id'] . '" onclick="return confirm(\'确认删除?\');">删除</a>', 'site_currency_delete');
        ?>
                        </td>
                        <td><?php 
        echo $rs['code'];
        ?>
</td>
                        <td><?php 
        echo $rs['name'];
        ?>
</td>
                        <td><?php 
        echo $rs['sign'];
        ?>
</td>
                        <td><?php 
Ejemplo n.º 9
0
                </thead>
                <tbody>
                        <?php 
    foreach ($country_list as $rs) {
        ?>
                    <tr>
                        <td><input class="sel" name="country_ids[]" value="<?php 
        echo $rs['id'];
        ?>
" type="checkbox" /></td>
                        <td>
                                    <?php 
        echo role::view_check('<a href="' . url::base() . 'site/country/edit/' . $rs['id'] . '">编辑</a>', 'site_country');
        ?>
                                    <?php 
        echo role::view_check('<a href="' . url::base() . 'site/country/do_delete/' . $rs['id'] . '" onclick="return confirm(\'删除会导致国家对应的物流信息也被删除,确认删除?\');">删除</a>', 'site_country_delete');
        ?>
                        </td>
                        <td><?php 
        echo $rs['iso_code'];
        ?>
</td>
                        <td><?php 
        echo $rs['name'];
        ?>
</td>
                        <td>
                            <div class="new_float_parent">
                                <input type="text" class="text" size="4" name="position" value="<?php 
        echo $rs['position'];
        ?>
Ejemplo n.º 10
0
                        <a href="<?php 
            echo url::base();
            ?>
manage/manager/rule_view/id/<?php 
            echo $value['id'];
            ?>
">权限列表</a>
                        <a href="<?php 
            echo url::base();
            ?>
manage/manager/rule/<?php 
            echo $value['id'];
            ?>
">权限设置</a>
                        <?php 
            echo role::view_check('<a href="' . url::base() . 'manage/manager/delete/' . $value['id'] . '" onclick="return confirm(\'确认删除?\');">删除</a>', 'delete_merchant');
            ?>
                        <?php 
        }
        ?>
                    </td>
                            <?php 
        foreach ($list_columns as $column_key => $column_value) {
            //zhu add
            if ($column_value['column'] == 'role_name') {
                echo '<td>' . ($value[$column_value['column']] ? $value[$column_value['column']] : '单独分配') . '</td>';
            } else {
                echo '<td>' . $value[$column_value['column']] . '</td>';
            }
        }
        ?>
Ejemplo n.º 11
0
                     <?php 
if (is_array($mail_categories) && count($mail_categories)) {
    ?>
                     <?php 
    foreach ($mail_categories as $value) {
        ?>
                    <tr>
                        <!-- <td><input class="sel" name="mail_category_id[]" value="<?php 
        echo $value['id'];
        ?>
" type="checkbox" /></td> -->
                        <td><?php 
        echo role::view_check('<a href="' . url::base() . 'manage/mail_category/edit/' . $value['id'] . '" >编辑</a>', 'mail_category_edit');
        ?>
                            <?php 
        echo role::view_check('<a href="' . url::base() . 'manage/mail_category/delete/' . $value['id'] . '" onclick="return confirm(\'确认删除?\');">删除</a>', 'mail_category_edit');
        ?>
                        </td>
                        <?php 
        foreach ($list_columns as $column_key => $column_value) {
            echo '<td>' . $value[$column_value['column']] . '</td>';
        }
        ?>
                    </tr>
                     <?php 
    }
    ?>
                     <?php 
}
?>
                </tbody>
Ejemplo n.º 12
0
            <ul class="pro_oper">
                <?php 
echo role::view_check('<li><a href="javascript:void(0);" id="do_export"><span class="batch_pro">导出订单</span></a></li>', 'order_export');
?>

                <li class="down" id="export_product"><span class="batch_pro left">批量操作</span><span class="down_arrow left"></span>
                    <ul class="level_2">
                        <li><a id="shipping_processing" href="javascript:void(0)">批量配货</a></li>
                        <?php 
/* 可显示废除按钮的状态 */
?>
                        <?php 
if (in_array($status, $show_cancel_btn_quick_search)) {
    ?>
                            <?php 
    echo role::view_check('<li><a href="javascript:void(0);" id="order_cancel">批量废除</a></li>', 'order_edit');
    ?>
                        <?php 
}
?>
                    </ul>
                </li>
            </ul>
            <form action="/order/order" method="GET" name="search_form" class="new_search" id="search_form">
                <input type="hidden" value="0" id="adv_bar_nor" name="adv_bar">
                <div>搜索:
                    <select name="search_type" class="text">
                        <option value="order_num" <?php 
if ($where['search_type'] == 'order_num') {
    echo "SELECTED";
}