查看文件: search_page.php
大小: 4.36 KB
类型: application/octet-stream
<div class="d-inline-block g-pos-rel g-valign-middle g-pt-4"> <? // echo $_SERVER['REQUEST_URI']; $nft = array("","shopmap/", "travel/"); $ck=0; for($i=1;$i<count($nft);$i++){ if(strpos($_SERVER['REQUEST_URI'],$nft[$i])){ $ck=$i; } } if($ck>0){ ?> <a href="/<?= $nft[$ck]?>" class="g-font-size-18 g-color-main g-ml-50" > <i class="fa fa-search"></i> </a> <? }else{ ?> <a href="#!" class="g-font-size-18 g-color-main g-ml-50" aria-haspopup="true" aria-expanded="false" aria-controls="searchform-1" data-dropdown-target="#searchform-1" data-dropdown-type="css-animation" data-dropdown-duration="300" data-dropdown-animation-in="fadeInUp" data-dropdown-animation-out="fadeOutDown"> <i class="fa fa-search"></i> </a> <div class="g-ml-50"> <form action="/search.html" method="get" name="form4A" id="searchform-1" class="u-searchform-v1 u-dropdown--css-animation u-dropdown--hidden g-bg-white g-pa-10 g-mt-30--lg g-mt-20--lg--scrolling"> <div class="g-font-size-12" style="margin-left: 28px !important;"> <label class="form-check-inline u-check g-color-gray g-pl-20"> <input class="g-hidden-xs-up" type="radio" name="search2" value="實景街圖" checked> <div class="u-check-icon-radio-v4 g-absolute-centered--y g-left-0 g-width-18 g-height-18"> <i class="g-absolute-centered d-block g-width-10 g-height-10 g-bg-primary--checked"></i> </div> 實景街圖Real Street View </label><br> <label class="form-check-inline u-check g-color-gray g-pl-20"> <input class="g-hidden-xs-up" type="radio" name="search2" value="街道網店商城"> <div class="u-check-icon-radio-v4 g-absolute-centered--y g-left-0 g-width-18 g-height-18"> <i class="g-absolute-centered d-block g-width-10 g-height-10 g-bg-primary--checked"></i> </div> 街道網店商城Company </label><br> <label class="form-check-inline u-check g-color-gray g-pl-20"> <input class="g-hidden-xs-up" type="radio" name="search2" value="廠商"> <div class="u-check-icon-radio-v4 g-absolute-centered--y g-left-0 g-width-18 g-height-18"> <i class="g-absolute-centered d-block g-width-10 g-height-10 g-bg-primary--checked"></i> </div> 廠商/網店Shop </label><br> <label class="form-check-inline u-check g-color-gray g-pl-20"> <input class="g-hidden-xs-up" type="radio" name="search2" value="商品"> <div class="u-check-icon-radio-v4 g-absolute-centered--y g-left-0 g-width-18 g-height-18"> <i class="g-absolute-centered d-block g-width-10 g-height-10 g-bg-primary--checked"></i> </div> 商品Product </label><br> <label class="form-check-inline u-check g-color-gray g-pl-20"> <input class="g-hidden-xs-up" type="radio" name="search2" value="雲名片"> <div class="u-check-icon-radio-v4 g-absolute-centered--y g-left-0 g-width-18 g-height-18"> <i class="g-absolute-centered d-block g-width-10 g-height-10 g-bg-primary--checked"></i> </div> 雲名片Ecard </label> </div> <div class="input-group g-brd-primary--focus" style="margin-left: 10px !important;"> <input name="keyword" id="keyword" class="form-control rounded-0 u-form-control" type="search" placeholder="請輸入關鍵字"> <div class="input-group-addon p-0"> <button class="btn rounded-0 u-btn-blue btn-md g-font-size-14 g-px-18" type="submit" >送出</button> </div> </div> </form> </div> <? } ?> </div>
保存
取消
返回文件列表