부트스트랩 5.XX

search 스킨 사용법

profile_image 관리자 작성   (116.♡.19.41)
0건
1,429회
23-08-25 22:42


1. 사용법 (일반게시판)

                 <form name="fsearchbox" class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" method="get" action="<?php echo G5_BBS_URL ?>/search.php" onsubmit="return fsearchbox_submit(this);">

                <input type="hidden" name="sfl" value="wr_subject||wr_content">

                <input type="hidden" name="sop" value="and">

<div class="input-group">

                <input type="text" name="stx" id="sch_stx" maxlength="20" value="<?php echo stripslashes(get_text(get_search_string($q))); ?>" class="form-control text-bg-warning" placeholder="검색어를 입력해주세요">

                <button type="submit" class="btn btn-dark" id="sch_submit" value="검색"><i class="bi bi-search"></i></button>

</div>

                </form>



2. 사용법 (쇼핑)

      <form name="frmsearch1" class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" action="<?php echo G5_SHOP_URL; ?>/search.php" onsubmit="return search_submit(this);">

<div class="input-group">

            <input type="text" name="q" value="<?php echo stripslashes(get_text(get_search_string($q))); ?>" class="form-control text-bg-warning" id="sch_str" required placeholder="검색어를 입력해주세요" aria-describedby="sch_submit">

            <button type="submit" class="btn btn-dark" id="sch_submit" value="검색"><i class="bi bi-search"></i></button>

                </div>

            </form>






  댓글(0)