echo 'selected="selected"'; } ?> >Active</option> <option value="Inactive" <?php if ($search == "size_type_active= 'Inactive'") { echo 'selected="selected"'; } ?> >Inactive</option> </select> </th>--> <th> <select class="form-control hidden" id="size_type_visibility_search" <?php order_disabling_search($_REQUEST['src'], 'size_type_visibility'); ?> > <option></option> <option value="Yes" <?php if ($search == "size_type_visibility= 'Yes'") { echo 'selected="selected"'; } ?> >Yes</option> <option value="No" <?php if ($search == "size_type_visibility= 'No'") { echo 'selected="selected"'; } ?> >No</option>
?> > </th> <th class=" hidden"> <select class="form-control" id="active_search" onchange="searchQueryOption('active')" <?php order_disabling_search($_REQUEST['src'], 'active'); ?> > <option></option> <option value="1">Active</option> <option value="0">Inactive</option> </select> </th> <th> <select class="form-control" id="inspiration_visibility_search" onchange="searchQueryOption('inspiration_visibility')" <?php order_disabling_search($_REQUEST['src'], 'inspiration_visibility'); ?> > <option></option> <option value="1" <?php echo $class_inspiration_yes; ?> >Yes</option> <option value="0" <?php echo $class_inspiration_no; ?> >No</option> </select> </th> </tr> </thead>
if ($_REQUEST['src'] == 'payment_status' && $search_value == "Confirmed") { echo 'selected="selected"'; } ?> >Confirmed</option> <option value="Paid" <?php if ($_REQUEST['src'] == 'payment_status' && $search_value == "Paid") { echo 'selected="selected"'; } ?> >Paid</option> </select> </th> <th> <select class="form-control" id="fulfillment_status_search" <?php order_disabling_search($_REQUEST['src'], 'fulfillment_status'); ?> > <option value="All"></option> <option value="Unfulfilled" <?php if ($_REQUEST['src'] == 'fulfillment_status' && $search_value == "Unfulfilled") { echo 'selected="selected"'; } ?> >Unfulfilled</option> <option value="In Process" <?php if ($_REQUEST['src'] == 'fulfillment_status' && $search_value == "In Process") { echo 'selected="selected"'; } ?> >In Process</option>
?> ></th> <th> <select class="form-control" id="services_search" onchange="searchQueryOption('services')" <?php order_disabling_search($_REQUEST['src'], 'services'); ?> > <option value="0"></option> <option value="Local Only">Local only</option> <option value="International Only">International only</option> <option value="Local-International">Local & International</option> </select> </th> <th> <select class="form-control" id="active_status_search" onchange="searchQueryOption('active_status')" <?php order_disabling_search($_REQUEST['src'], 'active_status'); ?> > <option value="0"></option> <option value="Active">Active</option> <option value="Inactive">Inactive</option> </select> </th> </tr> </thead> <tbody> <?php /* --- NO RECORDS --- */ if ($total_query == 0) { echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>';
</a> </th> <th><input type="text" class="form-control" id="category_name_search" onkeyup="searchQuery('category_name')" onkeypress="return disableEnterKey(event)" <?php order_disabling_search($_REQUEST['src'], 'category_name'); ?> ></th> <th><input type="text" class="form-control" disabled="disabled"></th> <th class="hidden"> <select class="form-control"> <option>Active</option> <option>Inactive</option> </select> </th> <th> <select class="form-control" id="category_visibility_search" onchange="searchQueryOption('category_visibility')" <?php order_disabling_search($_REQUEST['src'], 'category_visibility'); ?> > <option>Yes</option> <option>No</option> </select> </th> </tr> </thead> <tbody onload="loading()" id="checkbox"> <?php if ($total_query < 1) { echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>'; } $row = 0;
</a> </th> <th><input type="text" class="form-control" disabled></th> <th> <input type="text" class="form-control" id="product_name_search" <?php order_disabling_search($_REQUEST['src'], 'product_name');?>> </th> <th> <input type="text" class="form-control" id="type_name_search" <?php order_disabling_search($_REQUEST['src'], 'type_name');?>></th> <th> <input type="text" class="form-control" id="type_price_search" <?php order_disabling_search($_REQUEST['src'], 'type_price');?> disabled="disabled"> </th> <th> <input type="text" class="form-control" id="stock_name_search" <?php if($_REQUEST['src'] == "stock_name"){ echo "value=\"".str_replace('\\', '/', $_REQUEST['srcval'])."\"";}else if(!empty($_REQUEST['src'])){ echo "disabled";}?>> </th> <th> <input type="text" class="form-control" id="stock_quantity_search" <?php order_disabling_search($_REQUEST['src'], 'stock_quantity');?>> </th> </tr> </thead> <tbody> <?php if($total_query < 1){ echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>'; } $row = 0; foreach($all_product as $product){ $row++; ?>
</th> <th> <input type="text" class="form-control" id="type_name_search" <?php order_disabling_search($_REQUEST['src'], 'type_name'); ?> disabled="disabled"> </th> <th> <input type="text" class="form-control" id="type_price_search" <?php order_disabling_search($_REQUEST['src'], 'type_price'); ?> disabled="disabled"> </th> <th> <select class="form-control" id="type_new_arrival_search" <?php order_disabling_search($_REQUEST['src'], 'type_new_arrival'); ?> disabled="disabled"> <option></option> <option value="1">New Arrival</option> <option value="0">Regular</option> </select> </th> </tr> </thead> <tbody> <?php if ($total_query < 1) { echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>'; }
</th> <th> <input type="text" class="form-control" id="stock_name_search" onkeyup="searchQuery('stock_name')" onkeypress="return disableEnterKey(event)" <?php if ($_REQUEST['src'] == "stock_name") { echo "value=\"" . str_replace('\\', '/', $_REQUEST['srcval']) . "\""; } else { if (!empty($_REQUEST['src'])) { echo "disabled"; } } ?> > </th> <th> <input type="text" class="form-control" id="stock_quantity_search" onkeyup="searchQuery('stock_quantity')" onkeypress="return disableEnterKey(event)" <?php order_disabling_search($_REQUEST['src'], 'stock_quantity'); ?> >> </th> </tr> </thead> <tbody> <?php if ($total_query < 1) { echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>'; } $row = 0; foreach ($all_product as $product) { $row++; ?>
<th> <input type="text" class="form-control" id="filter_name_search" onkeyup="searchQuery('filter_name')" onkeypress="return disableEnterKey(event)" <?php if ($_REQUEST['src'] == "filter_name") { echo "value=\"" . str_replace('\\', '/', $_REQUEST['srcval']) . "\""; } else { if (!empty($_REQUEST['src'])) { echo "disabled"; } } ?> > </th> <th> <select class="form-control" id="visibility_search" onchange="searchQueryOption('visibility')" <?php order_disabling_search($_REQUEST['src'], news_created_date); ?> > <option></option> <option value="1">Yes</option> <option value="0">No</option> </select> </th> </tr> </thead> <tbody> <?php if ($total_query < 1) { echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>';
</th> <th> <input type="text" class="form-control" id="type_name_search" <?php order_disabling_search($_REQUEST['src'], 'type_name'); ?> disabled="disabled"> </th> <th> <input type="text" class="form-control" id="type_price_search" <?php order_disabling_search($_REQUEST['src'], 'type_price'); ?> disabled="disabled"> </th> <th> <select class="form-control" id="cur2_type_id_search" <?php order_disabling_search($_REQUEST['src'], 'cur2_type_id'); ?> disabled="disabled"> <option></option> <option value="1">Curated</option> <option value="0">Regular</option> </select> </th> </tr> </thead> <tbody> <?php if ($total_query < 1) { echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>'; }
</button> </a> </th> <th><input type="text" class="form-control" id="category_name_search" <?php order_disabling_search($_REQUEST['src'], 'category_name');?> disabled="disabled"></th> <th><input type="text" class="form-control" id="total_product_search" disabled="disabled"></th> <!--<th> <select class="form-control" name="category_active_status" id="category_active_status_search" onchange="searchQueryOption('category_active_status')" <?php if($_REQUEST['src'] != "category_active_status" and !empty($_REQUEST['src'])){ echo "disabled";}?>> <option></option> <option value="active">Active</option> <option value="inactive">Inactive</option> </select> </th>--> <th><input type="text" class="form-control" disabled="disabled"></th> <th> <select class="form-control" name="category_visibility_status" id="category_visibility_status_search" <?php order_disabling_search($_REQUEST['src'], 'category_visibility_status');?> disabled="disabled"> <option></option> <option value="1">Yes</option> <option value="0">No</option> </select> </th> </tr> </thead> <tbody> <?php if($total_query < 1){ echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>'; } $row = 0;
</th> <!-- <th> <select class="form-control" name="color_active_status" id="color_active_status_search" onchange="searchQueryOption('color_active_status')" <?php order_disabling_search($_REQUEST['src'], 'color_active_status'); ?> > <option></option> <option value="active">Active</option> <option value="inactive">Inactive</option> </select> </th> --> <th> <select class="form-control" name="collection_visibility_status" id="collection_visibility_status_search" <?php order_disabling_search($_REQUEST['src'], 'collection_visibility_status'); ?> > <option></option> <option value="yes">Yes</option> <option value="no">No</option> </select> </th> </tr> </thead> <tbody id="listing"> <?php if ($total_query < 1) { echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>';
<!-- <th> <select class="form-control" name="user_status" id="user_status_search" onchange="searchQueryOption('user_status')" <?php if($_REQUEST['src'] != "user_status" and !empty($_REQUEST['src'])){ echo "disabled";}?>> <option></option> <option value="All">All</option> <option value="normal">Normal</option> <option value="member">Member</option> </select> </th> --> <th> <input type="text" class="form-control" id="user_country_search" placeholder="Country" <?php order_disabling_search($_REQUEST['src'], 'user_country');?> disabled="disabled"> </th> <th><input type="text" class="form-control tr" disabled></th> <th><input type="text" class="form-control" disabled></th> <th><input type="text" class="form-control" id="last_order_search" disabled="disabled" <?php order_disabling_search($_REQUEST['src'], 'last_order');?> disabled="disabled"></th> </tr> </thead> <tbody onload="loading()"> <?php if($total_query < 1){ echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>'; } $row=0; foreach($customers as $customers){ $row++; $user_province_country = $customers->user_province.', '.$customers->user_country; $count_total_spent = $_get->checkUserOrder($customers->user_id); $user_total_spent = $_get->get_total_spent($customers->user_id);
<option value="All">All</option> <option value="normal">Normal</option> <option value="member">Member</option> </select> </th> --> <th> <input type="text" class="form-control" id="user_country_search" placeholder="Country" <?php order_disabling_search($_REQUEST['src'], 'user_country'); ?> > </th> <th><input type="text" class="form-control tr" disabled></th> <th><input type="text" class="form-control" disabled></th> <th><input type="text" class="form-control" id="last_order_search" onkeyup="searchQuery('last_order')" onkeypress="return disableEnterKey(event)" disabled="disabled" <?php order_disabling_search($_REQUEST['src'], 'last_order'); ?> ></th> </tr> </thead> <tbody onload="loading()"> <?php if ($total_query < 1) { echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>'; } $row = 0; foreach ($customers as $customers) { $row++; $user_province_country = $customers->user_province . ', ' . $customers->user_country; ?>
<option value="BCA" <?php if($_REQUEST['src'] == "order_payment_method" && $_REQUEST['srcval'] == 'bca'){ echo 'selected="selected"';}?>>Bank Transfer via BCA</option> <option value="Mandiri" <?php if($_REQUEST['src'] == "order_payment_method" && $_REQUEST['srcval'] == 'mandiri'){ echo 'selected="selected"';}?>>Bank Transfer via Mandiri</option> <option value="15" <?php if($_REQUEST['src'] == "order_payment_method" && $_REQUEST['srcval'] == '15'){ echo 'selected="selected"';}?>>Credit Card</option> </select> </th> <th><input type="text" class="form-control" id="order_total_amount_search" disabled="disabled"></th> <th> <select class="form-control" id="payment_status_search" <?php order_disabling_search($_REQUEST['src'], 'payment_status');?> disabled="disabled"> <option value="All"></option> <option value="Unpaid" <?php if($_REQUEST['src'] == "payment_status" && $_REQUEST['srcval'] == 'Unpaid'){ echo 'selected="selected"';}?>>Unpaid</option> <option value="Confirmed" <?php if($_REQUEST['src'] == "payment_status" && $_REQUEST['srcval'] == 'Confirmed'){ echo 'selected="selected"';}?>>Confirmed</option> <option value="Paid" <?php if($_REQUEST['src'] == "payment_status" && $_REQUEST['srcval'] == 'Paid'){ echo 'selected="selected"';}?>>Paid</option> </select> </th> <th> <select class="form-control" id="fulfillment_status_search" <?php order_disabling_search($_REQUEST['src'], 'fulfillment_status');?> disabled="disabled"> <option value="All"></option> <option value="Unfulfilled" <?php if($_REQUEST['src'] == "fulfillment_status" && $_REQUEST['srcval'] == 'Unfulfilled'){ echo 'selected="selected"';}?>>Unfulfilled</option> <option value="In Process" <?php if($_REQUEST['src'] == "fulfillment_status" && $_REQUEST['srcval'] == 'In Process'){ echo 'selected="selected"';}?>>In Process</option> <option value="Partial" <?php if($_REQUEST['src'] == "fulfillment_status" && $_REQUEST['srcval'] == 'Partial'){ echo 'selected="selected"';}?>>Partial</option> <option value="Delivered" <?php if($_REQUEST['src'] == "fulfillment_status" && $_REQUEST['srcval'] == 'Fulfilled'){ echo 'selected="selected"';}?>>Delivered</option> </select> </th> </tr> </thead> <tbody onload="loading()"> <!--<div id="loading" style="position: absolute; z-index: 2; background: #000; width: 940px; height: 200px"></div>--> <?php /* --- NO RECORDS FOUND --- */ if($total_query < 1){ echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>';
"> <span class="glyphicon glyphicon-remove"></span> </button> </a> </th> <th><input type="text" class="form-control" id="news_title_search" onkeyup="searchQuery('news_title')" onkeypress="return disableEnterKey(event)" <?php order_disabling_search($_REQUEST['src'], 'news_title'); ?> ></th> <th><input type="text" class="form-control" id="news_created_date_search" onkeyup="searchQuery('news_created_date')" onkeypress="return disableEnterKey(event)" <?php order_disabling_search($_REQUEST['src'], 'news_created_date'); ?> ></th> <th> <select class="form-control" id="news_visibility_search" onchange="searchQueryOption('news_visibility')" <?php order_disabling_search($_REQUEST['src'], 'news_visibility'); ?> > <option></option> <option value="1" <?php if ($_REQUEST['src'] == 'news_visibility' && $_REQUEST['srcval'] == '1') { echo 'selected="selected"'; } ?> >Yes</option> <option value="0" <?php if ($_REQUEST['src'] == 'news_visibility' && $_REQUEST['srcval'] == '0') { echo 'selected="selected"'; } ?> >No</option>
if ($_REQUEST['src'] == 'voucher_validity' && $_REQUEST['srcval'] == '3') { echo 'selected="selected"'; } ?> >Discount Total Purchase</option> </select> </th> <th> <input type="text" class="form-control" id="voucher_amount_search" <?php order_disabling_search($_REQUEST['src'], 'voucher_amount'); ?> > </th> <th> <select class="form-control" id="voucher_status_search" <?php order_disabling_search($_REQUEST['src'], 'voucher_status'); ?> > <option></option> <option value="1" <?php if ($_REQUEST['src'] == 'voucher_status' && $_REQUEST['srcval'] == '1') { echo 'selected="selected"'; } ?> >Valid</option> <option value="0" <?php if ($_REQUEST['src'] == 'voucher_status' && $_REQUEST['srcval'] == '0') { echo 'selected="selected"'; } ?> >Used</option>
<span class="glyphicon glyphicon-remove"></span> </button> </a> </th> <th><input type="text" class="form-control" id="name_search" name="name" onkeyup="searchQuery('name')" onkeypress="return disableEnterKey(event)" <?php order_disabling_search($_REQUEST['src'], 'name');?>></th> <th><input type="text" class="form-control" id="date_created_search" name="date_created" onkeyup="searchQuery('date_created')" onkeypress="return disableEnterKey(event)" <?php order_disabling_search($_REQUEST['src'], 'date_created');?>></th> <th class=" hidden"> <select class="form-control" id="active_search" onchange="searchQueryOption('active')" <?php order_disabling_search($_REQUEST['src'], 'active');?>> <option></option> <option value="1">Active</option> <option value="0">Inactive</option> </select> </th> <th> <select class="form-control" id="inspiration_visibility_search" onchange="searchQueryOption('inspiration_visibility')" <?php order_disabling_search($_REQUEST['src'], 'inspiration_visibility');?>> <option></option> <option value="1">Yes</option> <option value="0">No</option> </select> </th> </tr> </thead> <tbody onload="loading()"> <!--<div id="loading" style="position: absolute; z-index: 2; background: #000; width: 940px; height: 200px"></div>--> <?php if($total_query < 1){?><tr><td class="no-record" colspan="8">No records found.</td></tr><?php }?> <?php $row=0;
</th> <th> <input type="text" class="form-control" id="type_name_search" onkeyup="searchQuery('type_name')" onkeypress="return disableEnterKey(event)" <?php order_disabling_search($_REQUEST['src'], 'type_name'); ?> > </th> <th> <input type="text" class="form-control" id="type_price_search" onkeyup="searchQuery('type_price')" onkeypress="return disableEnterKey(event)" <?php order_disabling_search($_REQUEST['src'], 'type_price'); ?> disabled="disabled"> </th> <th> <select class="form-control" id="promo_value_search" onchange="searchQueryOption('promo_value')" <?php order_disabling_search($_REQUEST['src'], 'promo_value'); ?> disabled="disabled"> <option></option> <option value="IS NOT">Promo</option> <option value="IS">No Promo</option> </select> </th> </tr> </thead> <tbody> <?php if ($total_query < 1) { echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>';
</th> <!-- <th> <select class="form-control" name="gender_active_status" id="gender_active_status_search" onchange="searchQueryOption('gender_active_status')" <?php order_disabling_search($_REQUEST['src'], 'gender_active_status'); ?> > <option></option> <option value="active">Active</option> <option value="inactive">Inactive</option> </select> </th> --> <th> <select class="form-control" name="gender_visibility_status" id="gender_visibility_status_search" onchange="searchQueryOption('gender_visibility_status')" <?php order_disabling_search($_REQUEST['src'], 'gender_visibility_status'); ?> > <option></option> <option value="1" <?php if (isset($_REQUEST['src']) && $_REQUEST['src'] == 'gender_visibility_status' && $_REQUEST['srcval'] == '1') { echo 'selected="selected"'; } ?> >Yes</option> <option value="0" <?php if (isset($_REQUEST['src']) && $_REQUEST['src'] == 'gender_visibility_status' && $_REQUEST['srcval'] == '0') { echo 'selected="selected"'; } ?> >No</option>
<button type="button" style="width: 100%;" class="btn btn-danger btn-xs <?php echo $reset;?>" value=""> <span class="glyphicon glyphicon-remove"></span> </button> </a> </th> <th> <input type="text" class="form-control" id="product_name_search" <?php order_disabling_search($_REQUEST['src'], 'product_name');?> disabled="disabled"> </th> <th> <input type="text" class="form-control" id="type_name_search" <?php order_disabling_search($_REQUEST['src'], 'type_name');?> disabled="disabled"> </th> <th> <input type="text" class="form-control" id="type_price_search" <?php order_disabling_search($_REQUEST['src'], 'type_price');?> disabled="disabled"> </th> <th> <select class="form-control" id="type_new_arrival_search" <?php order_disabling_search($_REQUEST['src'], 'type_new_arrival');?> disabled="disabled"> <option></option> <option value="1">New Arrival</option> <option value="0">Regular</option> </select> </th> </tr> </thead> <tbody> <?php if($total_query < 1){ echo '<tr><td class="no-record" colspan="8">No records found.</td></tr>'; } $record = 1;