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_item2_discount.php
<?php echo '<br/><br/> <div class="form-group"> <label class="control-label col-sm-2">'.($vv['title']).'</label> <div class="col-sm-10"> <div class="row"> <div class="col-sm-4 text-center"> <b>大類別</b> </div> <div class="col-sm-4 text-center"> <b>小類別</b> </div> <div class="col-sm-4 text-center"> <b>商品名稱</b> </div> </div> <div class="row"> <div class="col-sm-4"> <select class="form-control" id="product_class" name="product_class" onchange="class_change();"></select> </div> <div class="col-sm-4"> <select class="form-control" id="product_class2" name="product_class2" onchange="class2_change();"></select> </div> <div class="col-sm-4"> <input class="form-control" type="text" id="product_name" name="product_name"> <div id="suggesstion-box"></div> </div> </div> <br/> <div class="tab-pane active"> <div class="table-responsive"> <table class="table"> <thead> <tr> <th class="text-center">商品名稱</th> <th class="text-center">動作</th> </tr> </thead> <tbody id="show_list"></tbody> </table> </div> </div> </div> </div> '; ?> <script> $(document).ready(function(){ // $("#keyword").blur(function(){ // $("#suggesstion-box").hide(); // $("#keyword").css("background","#FFF"); // }); $("#product_name").keyup (function (e){var keyCode = e.keyCode || e.which; var crt = $(".contact li.cp"); if (keyCode == 38){// up var prev = crt.prev("li").length ? crt.prev("li") : $(".contact li").last(); crt.removeClass("cp"); prev.addClass("cp"); var offset1 = $('.contact li.cp').last().position().top; var offset = $('.contact li.cp').offset().top; if(offset<$('.contact').height()){ document.getElementById('country-list').scrollTop -= 38; } if(offset>offset1){ document.getElementById('country-list').scrollTop += offset1; } }else if (keyCode == 40){// down var next = crt.next("li").length ? crt.next("li") : $(".contact li").first(); crt.removeClass("cp"); next.addClass("cp"); var offset1 = $('.contact li.cp').first().position().top; var offset = $('.contact li.cp').offset().top; if(offset>$('.contact').height()){ document.getElementById('country-list').scrollTop += 38; } if(offset<0){ document.getElementById('country-list').scrollTop = offset1; } }else if (keyCode == 13){// enter var tmp = crt[0].outerHTML; var tmp1 = tmp.split("'"); add_list(tmp1[1]); // document.location='shop_view.php?id='+tmp1[1]; return false; }else{ $.ajax({ type: "POST", url: "../keyword_search.php", data:'keyword='+$(this).val(), beforeSend: function(){ $("#product_name").css("background","#FFF"); $("#suggesstion-box").css("background","#FFF"); }, success: function(data){ $("#suggesstion-box").show(); $("#suggesstion-box").html(data); $("#product_name").css("background","#FFF"); } }); } return false; }); }); function selectkeyword(val) { // $("#keyword").val(val); $("#suggesstion-box").hide(); // document.location.href="shop_view.php?id="+val; add_list(val); } function changecp(){ var crt = $(".contact li.cp"); crt.removeClass("cp"); } </script> <style> #country-list{float:left;list-style:none;margin-top:-3px;padding:0;width:324.63px;position: absolute;z-index:99999;max-height: 420px;overflow:auto;} #country-list li{padding: 10px; background: #FFF; border-bottom: #bbb9b9 0px solid;font-size: 13px;} #country-list li:hover{background:#009fe9;cursor: pointer;} #country-list li.cp{background:#009fe9;cursor: pointer;} #search-box{padding: 10px;border: #a8d4b1 1px solid;border-radius:4px;} </style>
Upload File
Create Folder