403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/hkosl.com/billingsystem/dashboard/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hkosl.com/billingsystem/dashboard/product.php
<!DOCTYPE html>
<html lang="en-HK" prefix="og: http://ogp.me/ns#">

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
    <title>Products List</title>

    <!-- css -->
    <?php include 'inc/headlinks.php'; ?>
    <?php include 'inc/link-js.php'; ?>
    <!-- End layout styles -->
    <link rel="stylesheet" href="../assets/css/dropify.css?<?= rand(1, 10000) / 7; ?>" />
    <link rel="stylesheet" href="../assets/css/image-uploader.css?<?= rand(1, 10000) / 7; ?>" />
</head>

<body>
    <div class="container-scroller">
        <!-- partial:partials/_sidebar.html -->


        <?php include 'inc/sidebar.php'; ?>
        <!-- partial -->

        <div class="container-fluid page-body-wrapper">

            <!-- partial:partials/_navbar.html -->
            <?php include 'inc/navbar.php'; ?>
            <!-- partial -->

            <div class="main-panel">


                <!--   breadcrumb -->
                <div class="page-title-box d-flex align-items-center justify-content-between">
                    <ol class="breadcrumb m-0 p-0">

                        <li class="breadcrumb-item active">Products List</li>
                    </ol>

                    <div class="page-title-right">

                        <div class="splitBtn mb-md-0 mb-3">
                            <button type="button" class="btn btn-indigo dropdown-toggle px-3 shadow_green" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                <span class="mr-3">Action</span> <span class="sr-only"> Toggle Dropdown</span>
                            </button>
                            <div class="dropdown-menu dropdown-menu-right small">
                                <a class="dropdown-item" href="#" data-toggle="modal" data-target="#addNew"> <i class="mdi mdi-plus-circle"></i> Add Product(Single)</a>
                                <a class="dropdown-item" href="#" data-toggle="modal" data-target="#addNewPack"> <i class="mdi mdi-plus-circle"></i> Add Product(Package)</a>
                                <a class="dropdown-item" href="#" data-toggle="modal" data-target="#importCSV"><i class="mdi mdi-file-import"></i> Import</a>
                                <a class="dropdown-item" href="#"><i class="mdi mdi-file-pdf"></i> Export to CSV</a>
                                <a class="dropdown-item" href="#"><i class="mdi mdi-checkbox-multiple-blank-circle"></i> Change Status</a>
                            </div>
                        </div>


                    </div>

                </div>
                <!--   breadcrumb end -->


                <div class="content-wrapper pb-0">


                    <!-- alert Message -->


                    <?php include 'inc/alertmessage.php'; ?>
                    <!-- alert Message END-->

                    <div class="row searchWrap">
                        <!--   Search Row -->
                        <div class="col-lg-10">
                            <div class="row searchDefault">
                                <div class="col-lg-4">
                                    <div class="form-group shadow">
                                        <input type="text" class="form-control noborder" placeholder="Product#">
                                    </div>

                                </div>
                                <div class="col-lg-4">
                                    <div class="form-group shadow">

                                        <input type="text" class="form-control noborder" placeholder="Product Name">

                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="form-group">
                                        <select class="form-control noborder shadow">
                                            <option disabled selected>Status</option>
                                            <option value="Active">Active</option>
                                            <option value="Inactive">Inactive</option>
                                        </select>
                                    </div>
                                </div>

                                <div class="col-lg-8 searchAdditionItem">
                                    <div class="form-group shadow select2Multiple">

                                        <select class="form-control" id="Category" multiple="multiple" style="width: 100%;">

                                            <option value="Food">Food</option>
                                            <option value="Cloth">Cloth</option>
                                            <option value="Phone">Phone</option>

                                        </select>
                                    </div>
                                </div>
                                <div class="col-lg-4 searchAdditionItem">
                                    <div class="form-group">
                                        <select class="form-control noborder shadow">
                                            <option disabled selected>Product Type</option>
                                            <option value="Active">Rental</option>
                                            <option value="Inactive">Retail</option>
                                        </select>
                                    </div>
                                </div>


                            </div>

                        </div>




                        <div class="col-lg-2">
                            <div class="btn-group w-100 shadow whiteBg mb-2" role="group" aria-label="Basic example">

                                <button type="button" class="btn btn-secondary w-100">
                                    Clear </button>
                                <button type="button" class="btn btn-dark w-100">
                                    Search </button>
                            </div>
                            <div class="text-center">
                                <a href="javascript:" class="small sbtn advancedSearchBtn"><i class="mdi mdi-shape-square-plus"></i> Advanced Search</a>
                            </div>
                        </div>
                        <!--   Search Row END -->
                    </div>


                    <div class="boxShadow whiteBg mb-4">


                        <!--  Data Table -->
                        <div class="table-responsive mb-2">
                            <table id="DataDT" class="table">

                            </table>
                        </div>
                        <!--  Data Table END-->

                    </div>
                    <!-- content-wrapper ends -->
                    <!-- partial:partials/_footer.html -->
                    <?php include 'inc/footer.php'; ?>
                    <!-- partial -->
                </div>
                <!-- main-panel ends -->
            </div>
            <!-- page-body-wrapper ends -->
        </div>

    </div>

    <!-- Modal  import-->
    <?php include 'component/import.php'; ?>


    <!-- Modal  add-->
    <?php include 'component/add_product.php'; ?>

    <!-- Modal  add-->
    <?php include 'component/add_productpack.php'; ?>
    <!-- Modal  edit-->
    <?php include 'component/edit_product.php'; ?>



    <script src="../assets/datatables/buttons/1.1.2/js/dataTables.buttons.min.js?<?= rand(1, 10000) / 7; ?>"></script>
    <script src="../assets/datatables/select/1.1.2/js/dataTables.select.min.js?<?= rand(1, 10000) / 7; ?>"></script>
    <script src="../assets/js/bootstrap-datetimepicker.js?<?= rand(1, 10000) / 7; ?>"></script>
    <script src="../assets/js/select2.js?<?= rand(1, 10000) / 7; ?>"></script>
    <script src="../assets/js/dataTables.checkboxes.js?<?= rand(1, 10000) / 7; ?>"></script>
    <script src="../assets/js/dropify.js?<?= rand(1, 10000) / 7; ?>"></script>

    <script>
        $(function() {



            $('.dropify').dropify();
            $("#Category").select2({
                placeholder: "Category",
                allowClear: true
            });


            var columnDefs = [{
                    data: "DT_RowId",
                    title: "All"
                },
                {

                    render: function(data, type, row) {

                        var result =
                            ` <a href="product_detail.php"  >${row.column13} </a>`;
                        return result;
                    },
                    title: "Product#"

                },
                {

                    render: function(data, type, row) {

                        var result =
                            `<img src="${row.column11}" class="me-2" alt="image">`;
                        return result;
                    },

                    title: "PRODUCT"
                },
                {
                    data: "column03",
                    title: "Type"
                },
                {
                    data: "column02",
                    title: "Product Name(internal)"
                },
                {
                    data: "column02",
                    title: "Product Name(client)"
                },
                {
                    data: "column01",
                    title: " SKU#"
                },
                {
                    render: function(data, type, row) {

                        var result =
                            ` <span  class="colorCub" style="background-color:${row.column06};" title="${row.column06a}"> </span>`;
                        return result;
                    },
                    title: "Color"
                },
                {
                    data: "column07",
                    title: "Size"
                },
                {
                    data: "column14",
                    title: "Config"
                },
                {
                    data: "column04",
                    title: "Category"
                },
                {
                    data: "column05",
                    title: "Brand"
                },


                {
                    data: "column08",
                    title: "Cost",
                    className: 'dt-body-right'
                },
                {
                    data: "column09",
                    title: "price",
                    className: 'dt-body-right'
                },
                {
                    render: function(data, type, row) {
                        status = row.column10;
                        var result = '<label class="badge ' + row.column10class + ' ">' + status +
                            '</label>';
                        return result;
                    },


                    title: "Status"
                }
            ];

            var siteTable = $('#DataDT').DataTable({
                scrollX: true,
                ajax: "../assets/json/product_list.json",
                columns: columnDefs,
                searching: false,
                select: 'single',
                responsive: true,
                lengthMenu: [
                    [10, 25, 50, 100, -1],
                    [10, 25, 50, 100, "All"]
                ],

                altEditor: true, // Enable altEditor
                pageLength: 10,

                columnDefs: [{
                    'targets': 0,
                    'checkboxes': {
                        'selectRow': false
                    }
                }],
                order: []
            });







        });
    </script>


</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit