uawdijnntqw1x1x1
IP : 3.22.61.128
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
0d544
/
..
/
..
/
.trash
/
.
/
admin.1
/
view
/
template
/
customer
/
customer.twig
/
/
{{ header }}{{ column_left }} <div id="content"> <div class="page-header"> <div class="container-fluid"> <div class="float-end"> <button type="button" data-bs-toggle="tooltip" title="{{ button_filter }}" onclick="$('#filter-customer').toggleClass('d-none');" class="btn btn-light d-md-none d-lg-none"><i class="fas fa-filter"></i></button> <a href="{{ add }}" data-bs-toggle="tooltip" title="{{ button_add }}" class="btn btn-primary"><i class="fas fa-plus"></i></a> <button type="submit" form="form-customer" formaction="{{ delete }}" data-bs-toggle="tooltip" title="{{ button_delete }}" onclick="return confirm('{{ text_confirm }}');" class="btn btn-danger"><i class="fas fa-trash-alt"></i></button> </div> <h1>{{ heading_title }}</h1> <ol class="breadcrumb"> {% for breadcrumb in breadcrumbs %} <li class="breadcrumb-item"><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li> {% endfor %} </ol> </div> </div> <div class="container-fluid"> <div class="row"> <div id="filter-customer" class="col-lg-3 col-md-12 order-lg-last d-none d-lg-block mb-3"> <div class="card"> <div class="card-header"><i class="fas fa-filter"></i> {{ text_filter }}</div> <div class="card-body"> <div class="mb-3"> <label class="form-label">{{ entry_name }}</label> <input type="text" name="filter_name" value="{{ filter_name }}" placeholder="{{ entry_name }}" id="input-name" list="list-name" class="form-control"/> <datalist id="list-name"></datalist> </div> <div class="mb-3"> <label class="form-label">{{ entry_email }}</label> <input type="text" name="filter_email" value="{{ filter_email }}" placeholder="{{ entry_email }}" id="input-email" list="list-email" class="form-control"/> <datalist id="list-email"></datalist> </div> <div class="mb-3"> <label for="input-customer-group" class="form-label">{{ entry_customer_group }}</label> <select name="filter_customer_group_id" id="input-customer-group" class="form-select"> <option value=""></option> {% for customer_group in customer_groups %} <option value="{{ customer_group.customer_group_id }}"{% if customer_group.customer_group_id == filter_customer_group_id %} selected{% endif %}>{{ customer_group.name }}</option> {% endfor %} </select> </div> <div class="mb-3"> <label for="input-status" class="form-label">{{ entry_status }}</label> <select name="filter_status" id="input-status" class="form-select"> <option value=""></option> <option value="1"{% if filter_status == '1' %} selected{% endif %}>{{ text_enabled }}</option> <option value="0" {% if filter_status == '0' %} selected{% endif %}>{{ text_disabled }}</option> </select> </div> <div class="mb-3"> <label for="input-ip" class="form-label">{{ entry_ip }}</label> <input type="text" name="filter_ip" value="{{ filter_ip }}" placeholder="{{ entry_ip }}" id="input-ip" class="form-control"/> </div> <div class="mb-3"> <label for="input-date-added" class="form-label">{{ entry_date_added }}</label> <div class="input-group"> <input type="text" name="filter_date_added" value="{{ filter_date_added }}" placeholder="{{ entry_date_added }}" id="input-date-added" class="form-control date"/> <div class="input-group-text"><i class="fas fa-calendar"></i></div> </div> </div> <div class="text-end"> <button type="button" id="button-filter" class="btn btn-light"><i class="fas fa-filter"></i> {{ button_filter }}</button> </div> </div> </div> </div> <div class="col-lg-9 col-md-12"> <div class="card"> <div class="card-header"><i class="fas fa-list"></i> {{ text_list }}</div> <div id="customer" class="card-body">{{ list }}</div> </div> </div> </div> </div> </div> <script type="text/javascript"><!-- $('#customer').on('click', 'thead a, .pagination a', function(e) { e.preventDefault(); $('#customer').load(this.href); }); $('#button-filter').on('click', function() { url = ''; var filter_name = $('#input-name').val(); if (filter_name) { url += '&filter_name=' + encodeURIComponent(filter_name); } var filter_email = $('#input-email').val(); if (filter_email) { url += '&filter_email=' + encodeURIComponent(filter_email); } var filter_customer_group_id = $('#input-customer-group').val(); if (filter_customer_group_id !== '') { url += '&filter_customer_group_id=' + filter_customer_group_id; } var filter_status = $('#input-status').val(); if (filter_status !== '') { url += '&filter_status=' + filter_status; } var filter_ip = $('#input-ip').val(); if (filter_ip) { url += '&filter_ip=' + encodeURIComponent(filter_ip); } var filter_date_added = $('#input-date-added').val(); if (filter_date_added) { url += '&filter_date_added=' + encodeURIComponent(filter_date_added); } $('#customer').load('index.php?route=customer/customer|list&user_token={{ user_token }}' + url); }); $('#input-name').autocomplete({ 'source': function(request, response) { $.ajax({ url: 'index.php?route=customer/customer|autocomplete&user_token={{ user_token }}&filter_name=' + encodeURIComponent(request), dataType: 'json', success: function(json) { response($.map(json, function(item) { return { label: item['name'], value: item['customer_id'] } })); } }); }, 'select': function(item) {} }); $('#input-email').autocomplete({ 'source': function(request, response) { $.ajax({ url: 'index.php?route=customer/customer|autocomplete&user_token={{ user_token }}&filter_email=' + encodeURIComponent(request), dataType: 'json', success: function(json) { response($.map(json, function(item) { return { label: item['email'], value: item['customer_id'] } })); } }); }, 'select': function(item) {} }); //--></script> {{ footer }}
/home/sudancam/public_html/0d544/../../.trash/./admin.1/view/template/customer/customer.twig