X7ROOT File Manager
Current Path:
/var/www/vhosts/hwtw.com.tw/httpdocs/backend/func/form_elements
var
/
www
/
vhosts
/
hwtw.com.tw
/
httpdocs
/
backend
/
func
/
form_elements
/
π
..
π
analytics.php
(920 B)
π
checkbox.php
(1.02 KB)
π
color.php
(1.71 KB)
π
date.php
(455 B)
π
date1.php
(669 B)
π
datetime.php
(425 B)
π
datetime_show.php
(353 B)
π
end_title.php
(68 B)
π
event_coupon.php
(206 B)
π
event_medals.php
(206 B)
π
event_member.php
(534 B)
π
event_ques.php
(200 B)
π
event_question.php
(200 B)
π
file.php
(849 B)
π
fileinput.php
(2.43 KB)
π
hidden.php
(88 B)
π
html.php
(422 B)
π
image.php
(1.67 KB)
π
image_ajax.php
(3.41 KB)
π
image_ajax_fileinput.php
(3.41 KB)
π
image_resize.php
(1.71 KB)
π
image_show.php
(1.74 KB)
π
list.php
(1.06 KB)
π
more_title.php
(300 B)
π
password.php
(427 B)
π
radio.php
(687 B)
π
radio1.php
(507 B)
π
search_item.php
(3.68 KB)
π
search_item2.php
(4.09 KB)
π
search_item2_B.php
(4.13 KB)
π
search_item2_discount.php
(4.09 KB)
π
search_item_B.php
(3.53 KB)
π
search_item_discount.php
(3.98 KB)
π
select.php
(618 B)
π
select1.php
(552 B)
π
select_TWzipcode.php
(1.16 KB)
π
select_TWzipcode_all.php
(1.31 KB)
π
select_TWzipcode_county.php
(986 B)
π
select_display.php
(547 B)
π
select_display_first.php
(569 B)
π
select_show.php
(530 B)
π
show.php
(199 B)
π
show1.php
(245 B)
π
store_list.php
(203 B)
π
table_row.php
(4.31 KB)
π
table_row_adv.php
(4.74 KB)
π
table_row_color.php
(7.34 KB)
π
tag.php
(979 B)
π
text.php
(423 B)
π
text1.php
(444 B)
π
text_display.php
(452 B)
π
text_display_first.php
(474 B)
π
text_show.php
(317 B)
π
textarea.php
(534 B)
π
textarea_show.php
(376 B)
Editing: search_item_discount.php
<script type="text/javascript"> $(window).load(function() { var vv = '<?=$vv['value']?>'; var vvv = '<?=$vv['value1']?>'; var vvvv = '<?=$vv['value2']?>'; if(vv!=''){ add_list(vv,vvv,vvvv); } $.ajax({ type: "POST", url: "class_search.php", beforeSend: function(){ }, success: function(data){ $("#product_class").html(data); $.ajax({ type: "POST", url: "class2_search.php", data:'id='+$('select[name="product_class"]').val(), beforeSend: function(){ }, success: function(data){ // $("#product_class2").html(data); // show_list(); } }); } }); }); function class_change(){ $.ajax({ type: "POST", url: "class2_search.php", data:'id='+$('select[name="product_class"]').val(), beforeSend: function(){ }, success: function(data){ $("#product_class2").html(data); show_list(); } }); } function class2_change(){ $.ajax({ type: "POST", url: "show_search.php", data:'id='+$('select[name="product_class2"]').val()+'&class_id='+$('select[name="product_class"]').val(), beforeSend: function(){ }, success: function(data){ $("#show_list").html(''); $("#show_list").html(data); } }); } function show_list(){ var tmp_rec = $('input[name^=recommend]'); var list_tmp = new Array(); for (var i = 0; i <tmp_rec.length; i++) { list_tmp.push(tmp_rec[i].value); } $.ajax({ type: "POST", url: "show_search.php", data:'id='+$('select[name="product_class2"]').val()+'&class_id='+$('select[name="product_class"]').val()+'&list='+list_tmp, beforeSend: function(){ }, success: function(data){ $("#show_list").html(''); $("#show_list").html(data); } }); } function add_list(val,price,limit){ var item_count = Number($('#item_count').val()); // if(item_count>=8){ // alert('ζε€ε θ½ζ°ε’ε «ηε εΉθ³ΌεεοΌ'); // }else{ var tmp_val = val.split(','); if(tmp_val.length>1){ tmp_item_count = item_count + tmp_val.length; }else{ tmp_item_count = item_count + 1; } $('#item_count').val(tmp_item_count); // console.log($('#item_count').val()); if(price!=''){ $.ajax({ type: "POST", url: "show_item1.php", data:'id='+val+'&price='+price+'&limit='+limit+'&func=1', beforeSend: function(){ }, success: function(data){ // console.log(data); $("#real_list").append(data); } }); }else{ $.ajax({ type: "POST", url: "show_item1.php", data:'id='+val+'&price='+price+'&limit='+limit, beforeSend: function(){ }, success: function(data){ // console.log(data); $("#real_list").append(data); } }); } $('#btn'+val).attr("onclick","del_list("+val+")"); $('#btn'+val).html('<span class="glyphicon glyphicon-minus"></span>'); // } } function del_list(val){ var item_count = Number($('#item_count').val()); tmp_item_count = item_count - 1; $('#item_count').val(tmp_item_count); // console.log($('#item_count').val()); $('#item'+val).remove(); $('#btn'+val).attr("onclick","add_list("+val+")"); $('#btn'+val).html('<span class="glyphicon glyphicon-plus"></span>'); } </script> <?php echo ' <div class="form-group"> <label class="control-label col-sm-2">'.($vv['title']).'</label> <div class="col-sm-10"> <div class="tab-pane active"> <div class="table-responsive"> <table class="table" id="tab_logic"> <input type="hidden" id="item_count" value="0"> <thead> <tr> <th class="text-center">εεε稱</th> <th class="text-center">εΉζ Ό</th> <th class="text-center">ζΈιιεΆ</th> <th class="text-center">εδ½</th> </tr> </thead> <tbody id="real_list"></tbody> </table> </div> </div> </div> </div> '; ?>
Upload File
Create Folder