当前位置: 首页>>代码示例>>PHP>>正文


PHP add_more_css函数代码示例

本文整理汇总了PHP中add_more_css函数的典型用法代码示例。如果您正苦于以下问题:PHP add_more_css函数的具体用法?PHP add_more_css怎么用?PHP add_more_css使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了add_more_css函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: ob_get_contents

                            <?php 
            }
        }
        ?>
                    </ul>
                </li>
            <?php 
    }
}
?>
    </ul>


<?php 
$left_column = ob_get_contents();
ob_clean();
$footer_control = '<div class="total_money"><label>Tổng tiền :</label> <span id="total-money" style="font-size: 16px;color: red;font-weight: bold"> </span></div>';
$rainTpl = new RainTPL();
add_more_css('custom.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('module_name', $module_name);
$rainTpl->assign('error_msg', print_error_msg($bg_errorMsg));
$rainTpl->assign('left_control', $left_control);
$rainTpl->assign('right_control', $right_control);
$rainTpl->assign('top_control', $top_control);
$rainTpl->assign('footer_control', $footer_control);
$rainTpl->assign('left_column', $left_column);
$rainTpl->assign('right_column', $right_column);
$custom_script = file_get_contents('script.html');
$rainTpl->assign('custom_script', $custom_script);
$rainTpl->draw('fullwidth_2column_report_transfer');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:revenue_menus.php

示例2: db_query

    $image = 'sup_image';
}
$db_bill_debit = new db_query('SELECT * FROM ' . $tabel . ' ' . $left_join . '
                                WHERE ' . $id_column . ' 
                                AND ' . $status . ' = 0');
$number_bill = mysqli_num_rows($db_bill_debit->result);
while ($data_bill_debit = mysqli_fetch_assoc($db_bill_debit->result)) {
    $name = $data_bill_debit[$name_key];
    $total_debit += $data_bill_debit[$totalmoney];
    if ($data_bill_debit[$image] == '') {
        $avatar = $avatars;
    } else {
        $avatar = '<img src="' . get_picture_path($data_bill_debit[$image]) . '"/>';
    }
}
$total_money = '<span class="total_money" data-total_money="' . $total_debit . '">' . number_format($total_debit) . '</span>';
$rainTpl = new RainTPL();
add_more_css('pay_debit.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('name_object', $name_object);
$rainTpl->assign('name', $name);
$rainTpl->assign('id', $id);
$rainTpl->assign('record_id', $record_id);
$rainTpl->assign('type', $type);
$rainTpl->assign('avatar', $avatar);
$rainTpl->assign('number_bill', $number_bill);
$rainTpl->assign('total_debit', $total_debit);
$rainTpl->assign('total_money', $total_money);
$rainTpl->assign('footer_control', $footer_control);
$rainTpl->assign('link_custom_script', '<script type="text/javascript" src="script_debit.js"></script>');
$rainTpl->draw('content_pay_debit');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:pay_debit.php

示例3: RainTPL

<div class="content_column">
    <div class="row">
        <div class="col-xs-4 text-right">Ghép từ bàn</div>
        <div class="col-xs-6">
        <label>' . $sec_name . ' - ' . $array_desk[$record_id] . '<input type="hidden" value="' . $record_id . '" id="from_desk"></label>
        </div>
    </div>
    <br>
    <div class="row">
        <div class="col-xs-4 text-right">Với bàn</div>
        <div class="col-xs-6">
        <select class="form-control" id="to_desk">
            ' . $list_desk . '
        </select>
        </div>
    </div>
</div></form>';
$footer_control = '<div class="col-xs-12">
    <label class="control-btn pull-right" onclick="joinDesk()">
        <i class="fa fa-save"></i>
        Lưu lại
    </label>
</div>';
$rainTpl = new RainTPL();
add_more_css('css/custom_mindow.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$custom_script = file_get_contents('script_mindow.html');
$rainTpl->assign('custom_script', $custom_script);
$rainTpl->assign('content_column', $content_column);
$rainTpl->assign('footer_control', $footer_control);
$rainTpl->draw('mindow_iframe_1column');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:join_desk.php

示例4: getValue

    $right_column .= $list->end_tr();
}
$right_column .= $list->showFooter();
//Phần option lựa chọn customer
$right_column .= '<div class="clearfix"></div>
<div class="col-xs-12">
    <span class="col-xs-4"></span>
    <span class="col-xs-8 text-right"><i>Bấm đúp chuột vào một nhân viên để chọn</i>&nbsp;&nbsp;&nbsp;&nbsp; <i class="fa fa-bell-o"></i> Chọn</span>
</div>';
if ($isAjaxRequest) {
    $action = getValue('action', 'str', 'POST', '');
    switch ($action) {
        case 'listRecord':
            echo $right_column;
            break;
    }
    die;
}
$rainTpl = new RainTPL();
add_more_css('custom_modal.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('module_name', $module_name);
$rainTpl->assign('error_msg', print_error_msg($bg_errorMsg));
$rainTpl->assign('left_control', $left_control);
$rainTpl->assign('right_control', $right_control);
$rainTpl->assign('footer_control', $footer_control);
$rainTpl->assign('left_column', $left_column);
$rainTpl->assign('right_column', $right_column);
$custom_script = file_get_contents('script_modal.html');
$rainTpl->assign('custom_script', $custom_script);
$rainTpl->draw('modal_2column');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:index_modal.php

示例5: getValue

<?php

require_once 'inc_security.php';
$total_money = getValue('total', 'int', 'GET', 0);
$content_column = '';
$form = new form();
$content_column .= $form->form_open('debit_form');
$content_column .= $form->text(array('label' => 'Số tiền phải trả', 'name' => 'debit_total_money', 'id' => 'debit_total_money', 'value' => number_format($total_money), 'readonly' => 1, 'addon' => DEFAULT_MONEY_UNIT));
$content_column .= $form->text(array('label' => 'Thanh toán', 'name' => 'debit_money_paid', 'id' => 'debit_money_paid', 'value' => 0, 'addon' => DEFAULT_MONEY_UNIT));
$content_column .= $form->text(array('label' => 'Còn lại', 'name' => 'debit_money_debit', 'id' => 'debit_money_debit', 'value' => number_format($total_money), 'readonly' => 1, 'addon' => DEFAULT_MONEY_UNIT));
$content_column .= $form->text(array('label' => 'Ngày hẹn trả', 'name' => 'debit_date_debit', 'id' => 'debit_date_debit', 'value' => date('d/m/Y', time() + 84600)));
$content_column .= '<div class="form-group debit-submit">
    <button type="button" class="btn btn-primary" onclick="debitSubmit()">Đồng ý</button>
    <button class="btn btn-default">Hủy bỏ</button>
</div>';
$content_column .= $form->form_close();
add_more_css('css/debit.css?v=1', $load_header);
$rainTpl = new RainTPL();
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('content_column', $content_column);
$rainTpl->assign('total_money', $total_money);
$rainTpl->draw('/v2/home/debit');
开发者ID:virutmath,项目名称:crm_local,代码行数:22,代码来源:debit_v2.php

示例6: db_query

$db_admin = new db_query('SELECT * FROM admin_users WHERE adm_id = ' . $admin_id . '');
$row_admin = mysqli_fetch_assoc($db_admin->result);
$admin_name = $row_admin['adm_name'];
unset($db_admin);
// số tiền cần phải thanh toán
$vat_value = $desk_vat / 100;
$pay_money = ($total - $total * $desk_discount / 100 + $total * $desk_extra / 100) * (1 + $vat_value);
// phi phí theo giá trị tiền
$extra_fee = $total * $desk_extra / 100;
// giảm giá theo giá trị tiền
$discount_money = $total * $desk_discount / 100;
// VAT theo giá trị tiền
$vat_money = $total * $desk_vat / 100;
$rainTpl = new RainTPL();
add_more_css('css/custom.css', $load_header);
add_more_css('css/custom.css', $load_header, 'print');
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('module_name', $module_name);
$rainTpl->assign('res_name', $res_name);
$rainTpl->assign('res_address', $res_address);
$rainTpl->assign('res_logo', $res_logo);
$rainTpl->assign('res_phone', $res_phone);
$rainTpl->assign('list_menu', $list_menu);
$rainTpl->assign('start_time', $start_time);
$rainTpl->assign('location', $location);
$rainTpl->assign('admin_name', $admin_name);
$rainTpl->assign('customer_name', $customer_name);
$rainTpl->assign('bill_id', $bill_id);
$rainTpl->assign('total', number_format($total));
$rainTpl->assign('desk_discount', $desk_discount);
$rainTpl->assign('desk_vat', $desk_vat);
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:index.php

示例7: number_format

    $right_column .= $list->end_tr();
}
$right_column .= $list->showFooter();
$right_column .= '<div id="chartContainer"></div>';
$title['title'] = "Chi phí theo quỹ tiền";
// total report
$total_report .= '<p class="select-title">Tổng chi phí:</p>';
$total_report .= '<p class="select-title total-cost"><strong>' . number_format($total_fund) . '</strong></p>';
//return ajax
if ($isAjaxRequest) {
    $array_return['dt'] = $array;
    $array_return['table'] = $right_column;
    $array_return['total_cost'] = $total_fund;
    echo json_encode($array_return);
    die;
}
$rainTpl = new RainTPL();
add_more_css('css_report_bill.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('data_module', $data_module);
$rainTpl->assign('formDate', $formDate);
$rainTpl->assign('toDate', $toDate);
$rainTpl->assign('title', json_encode($title));
$rainTpl->assign('array', json_encode($array));
$rainTpl->assign('left_column', $left_column);
$rainTpl->assign('total_report', $total_report);
$rainTpl->assign('footer_control', $footer_control);
$rainTpl->assign('right_column', $right_column);
$custom_script = file_get_contents('script_report.html');
$rainTpl->assign('custom_script', $custom_script);
$rainTpl->draw('fullwidth_2column_report_bill');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:report_fund.php

示例8: number_format

    $right_content .= '<p>Tổng thanh toán:</p><input name="" class="inp-cnkh text-right" readonly="readonly" value="' . number_format($totalAll) . '"/>';
    $right_content .= '<p>Trạng thái thanh toán:</p><input name="" class="inp-cnkh text-right" readonly="readonly" value="' . $thanhtoan . '"/>';
    $right_content .= '</form></div>';
    $right_content .= '<div class="box-content-inf-bill-right">';
    $right_content .= '<p>Nhà cung cấp</p>';
    $right_content .= '<div class="box-ava-cus">' . $avata . '</div>';
    $right_content .= '<p class="brand-name">' . $nhacc . '</p></div>';
    $right_content .= '<div class="clear"></div></div>';
    $right_content .= '<div class="cn-kh" style="opacity: .4;">';
    $right_content .= '<span class="cn-n-kh">Công nợ nhà cung cấp</span>';
    $right_content .= '<form action="" method=""><table cellpadding="0" cellspacing="0" border="0" class="tb-cnkh">';
    $right_content .= '<tr><td>Đã thanh toán:</td><td class="text-right"><input name="" class="inp-cnkh text-right" readonly="readonly" value="' . number_format($da_thanhtoan) . '"/></td></tr>';
    $right_content .= '<tr><td>Còn lại:</td><td class="text-right"><input name="" class="inp-cnkh text-right" readonly="readonly" value="' . number_format($con_lai) . '"/></td></tr>';
    $right_content .= '<tr><td>Ngày hẹn:</td><td class="text-right"><input name="" class="inp-cnkh text-right" readonly="readonly" value="' . $ngay_hen_tra . '"/></td></tr>';
    $right_content .= '</table></form></div>';
    $right_content .= '<input name="" class="cn-gh-ch" value=""/>';
    $right_content .= '<div class="print-close">';
    $right_content .= '<span class="bill-print"><i class="fa fa-print"></i> In hóa đơn</span>';
    $right_content .= '<span class="bill-close"><i class="fa fa-sign-out"></i> Đóng cửa sổ</span></div>';
}
$rainTpl = new RainTPL();
add_more_css('bill_detail.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('title_detail_left', $title_detail_left);
$rainTpl->assign('title_detail_right', $title_detail_right);
$rainTpl->assign('left_column', $left_column);
$rainTpl->assign('right_content', $right_content);
$rainTpl->assign('phuphi', $phuphi);
$custom_script = file_get_contents('script_bill_detail.html');
$rainTpl->assign('custom_script', $custom_script);
$rainTpl->draw('bill_detail');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:bill_detail.php

示例9: db_query

        $db_list_bill = new db_query('SELECT ' . $name_object . ' FROM ' . $table_object . ' WHERE ' . $id . ' = ' . $row[$id_object]);
        $data_list_bill = mysqli_fetch_assoc($db_list_bill->result);
        unset($db_list_bill);
        $name = $data_list_bill[$name_object];
    }
    $content_column .= $list->start_tr($i, $row[$bill_id], 'class="menu-normal record-item" onclick="active_record(' . $row[$bill_id] . ')" data-table="' . $table . '" ondblclick="show_bill_detai()" data-record_id="' . $row[$bill_id] . '"');
    $content_column .= '<td>' . format_codenumber($row[$bill_id], 6, PREFIX_BILL_CODE) . '</td>';
    $content_column .= '<td>' . $name . '</td>';
    $content_column .= '<td class="center">' . date('d-m-Y', $row[$day_creat]) . '</td>';
    $content_column .= '<td class="text-right">' . number_format($row[$total_money]) . '</td>';
    $content_column .= '<td></td>';
    $content_column .= $list->end_tr();
}
$content_column .= $list->showFooter();
$content_column .= '</div>';
// footer
$footer_control .= '<div class="print-close">';
$footer_control .= '<span class="control-btn restore deactivate"><i class="fa fa-retweet"></i> Khôi phục</span>';
$footer_control .= '<span class="control-btn del_permanently deactivate"><i class="fa fa-file-excel-o"> Xóa vĩnh viễn</i></span> ';
$footer_control .= '<span class="control-btn deactivate view_detail"><i class="fa fa-list"></i> Xem chi tiết</span>';
$footer_control .= '<span class="control-btn deactivate information"><i class="fa fa-user"></i> Xem thông tin</span>';
$footer_control .= '<span class="bill-close"><i class="fa fa-sign-out"></i> Đóng cửa sổ</span>';
$footer_control .= '</div>';
$rainTpl = new RainTPL();
add_more_css('detail_cus_user.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('content_column', $content_column);
$rainTpl->assign('footer_control', $footer_control);
$custom_script = file_get_contents('script_list_bill_trash.html');
$rainTpl->assign('custom_script', $custom_script);
$rainTpl->draw('mindow_iframe_1column');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:list_trash.php

示例10: RainTPL

<?php

require_once 'inc_security.php';
$rainTpl = new RainTPL();
add_more_css('style.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('listDesk', $listDesk);
$custom_script = file_get_contents('script_mobile.html');
$rainTpl->assign('custom_script', $custom_script);
$rainTpl->draw('mobile_admin');
开发者ID:virutmath,项目名称:crm_local,代码行数:10,代码来源:index.php

示例11: while

$table_result .= $list->showHeader($total_row);
$i = 0;
while ($data_bill = mysqli_fetch_assoc($db_list_bill->result)) {
    $i++;
    $table_result .= $list->start_tr($i, $data_bill[$bill_id], 'class="menu-normal record-item" onclick="active_record(' . $data_bill[$bill_id] . ')"');
    $table_result .= '<td class="center">' . format_codenumber($data_bill[$bill_id], 6, '') . '</td>';
    $table_result .= '<td class="center"  width="170">' . date("d-m-Y h:i", $data_bill[$date]) . '</td>';
    $table_result .= '<td class="text-right" width="100">' . number_format($data_bill[$debit]) . '</td>';
    $table_result .= '<td class="text-right"> </td>';
    $table_result .= '<td class="center">Chưa Thanh Toán</td>';
    $obj = $name_obj . ': <b>' . $data_bill[$name] . '</b>';
    $table_result .= $list->end_tr();
}
$table_result .= $list->showFooter();
$content_column .= $table_result;
$content_column .= '</div>';
$footer_control .= '<div class="name_obj">' . $obj . '</div>';
$footer_control .= '<span class="bill-close"><i class="fa fa-sign-out"></i> Đóng cửa sổ</span>';
if ($isAjaxRequest) {
    echo $table_result;
    die;
}
$rainTpl = new RainTPL();
add_more_css('css_detail.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('top_control', $top_control);
$rainTpl->assign('content_column', $content_column);
$rainTpl->assign('footer_control', $footer_control);
$custom_script = file_get_contents('script_detail.html');
$rainTpl->assign('custom_script', $custom_script);
$rainTpl->draw('detail_libility');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:detail.php

示例12: array

//tổng tiền của bàn
$from_desk_total = 0;
$json_menu = array();
$i = 0;
while ($row = mysqli_fetch_assoc($db_listing->result)) {
    $i++;
    $from_desk_total += $row['cdm_price'] * $row['cdm_number'];
    $listing_menu .= $list->start_tr($i, $row['men_id'], 'onclick="deskSplit.activeMenu(' . $row['men_id'] . ',\'from\')" class="menu-normal record-item" data-record_id="' . $row['men_id'] . '"');
    /* code something */
    $listing_menu .= '<td class="center">' . $row['men_name'] . '</td>';
    $listing_menu .= '<td class="center">' . $array_unit[$row['men_unit_id']] . '</td>';
    $listing_menu .= '<td class="center">' . $row['cdm_number'] . '</td>';
    $listing_menu .= $list->end_tr();
    $json_menu[$row['men_id']] = array('men_id' => $row['men_id'], 'men_name' => $row['men_name'], 'men_number' => $row['cdm_number'], 'men_price' => $row['cdm_price'], 'men_unit' => $array_unit[$row['men_unit_id']]);
}
$listing_menu .= $list->showFooter();
$left_column .= $listing_menu;
$left_column .= '</div>';
$footer_control = '';
$rainTpl = new RainTPL();
add_more_css('css/custom_desks.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$custom_script = file_get_contents('script_split_desk.html');
$rainTpl->assign('custom_script', $custom_script);
$rainTpl->assign('left_column', $left_column);
$rainTpl->assign('desk_name', $desk_name);
$rainTpl->assign('json_menu', json_encode($json_menu));
$rainTpl->assign('from_desk_total', number_format($from_desk_total));
$rainTpl->assign('record_id', $record_id);
$rainTpl->assign('list_desk', $list_desk);
$rainTpl->draw('split_desk');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:split_desk.php

示例13: date

        <tr>
            <td>Cập nhật lần cuối: </td>
            <td><strong>' . date("d/m/Y h:i", $last_times) . '</strong></td>
        </tr>
        <tr>
            <td>Người cập nhật: </td>
            <td><strong>' . $update_people_last . '</strong></td>
        </tr>
        <tr>
            <td>Trạng thái: </td>
            <td><strong>Đang trong thùng rác</strong></td>
        </tr>
    </table>
</div>';
$footer_control .= '<div class="print-close">';
$footer_control .= '<span class="bill-close"><i class="fa fa-sign-out"></i> Đóng cửa sổ</span>';
$footer_control .= '</div>';
$custom_script = '<script>
    var bill_close = $(\'\\.bill-close\');
    bill_close.click(function(){
        window.parent.communicateParentWindow(\'close_detail\');
    });
</script>';
$rainTpl = new RainTPL();
add_more_css('info_cus_user.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('content_column', $content_column);
$rainTpl->assign('footer_control', $footer_control);
//$custom_script = file_get_contents('script_list_bill_trash.html');
$rainTpl->assign('custom_script', $custom_script);
$rainTpl->draw('mindow_iframe_1column');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:bill_information.php

示例14: RainTPL

                <div class="text-bold text-center" id="money-debit">0</div>
            </div>
        </div>
    </div>
</div>
';
$right_column .= $footer_control;
$footer_button = '
<div class="col-xs-4">
    <label class="control-btn">
        <i class="fa fa-file-o"></i>
        Thêm mới
    </label>
    <label class="control-btn">
        <i class="fa fa-edit"></i>
        Chỉnh sửa
    </label>
</div>
<div class="col-xs-8">
    <label class="control-btn pull-right" onclick="ImportScript.billSubmit()">
        <i class="fa fa-save"></i>
        Lưu hóa đơn
    </label>
</div>';
$rainTpl = new RainTPL();
add_more_css('custom_import.css', $load_header);
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('left_column', $left_column);
$rainTpl->assign('right_column', $right_column);
$rainTpl->assign('footer_control', $footer_button);
$rainTpl->draw('v2/product/import');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:import.php

示例15: exit

    exit('Không thể in thực đơn cho bàn trống');
}
$db_unit = new db_query('SELECT *
                         FROM units');
$array_unit = array();
while ($row = mysqli_fetch_assoc($db_unit->result)) {
    $array_unit[$row['uni_id']] = $row['uni_name'];
}
$db_list_menu = new db_query('SELECT men_id,men_name,cdm_number,cdm_printed_number,men_unit_id
                              FROM menus
                              LEFT JOIN current_desk_menu ON cdm_menu_id = men_id
                              WHERE cdm_desk_id = ' . $desk_id . '
                              AND cdm_printed_number < cdm_number');
$list_menu = array();
$stt = 1;
while ($row = mysqli_fetch_assoc($db_list_menu->result)) {
    $row['stt'] = $stt++;
    $row['uni_name'] = $array_unit[$row['men_unit_id']];
    $row['print_number'] = $row['cdm_number'] - $row['cdm_printed_number'];
    $list_menu[] = $row;
}
add_more_css('css/print_order.css', $load_header);
add_more_css('css/print_order.css', $load_header, 'print');
$rainTpl = new RainTPL();
$rainTpl->assign('load_header', $load_header);
$rainTpl->assign('configuration', $configuration);
$rainTpl->assign('print_date', date('d/m/Y H:i:s', time()));
$rainTpl->assign('list_menu', $list_menu);
$rainTpl->assign('list_menu_json', json_encode($list_menu));
$rainTpl->assign('desk_detail', $desk_detail);
$rainTpl->draw('v2/printer/order');
开发者ID:virutmath,项目名称:crm_local,代码行数:31,代码来源:order.php


注:本文中的add_more_css函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。