• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP get_selected函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中get_selected函数的典型用法代码示例。如果您正苦于以下问题:PHP get_selected函数的具体用法?PHP get_selected怎么用?PHP get_selected使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了get_selected函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: get_wizard_selectoptions

function get_wizard_selectoptions($v)
{
    global $langDefs;
    $r = "<option value=\"\"" . get_selected($v, "") . ">[Choose...]</option>";
    $keys = array_keys($langDefs);
    foreach ($keys as $item) {
        $r .= "<option value=\"" . $item . "\"" . get_selected($v, $item) . ">" . $item . "</option>";
    }
    return $r;
}
开发者ID:Fips11,项目名称:lwt,代码行数:10,代码来源:select_lang_pair.php


示例2: get_selected

        <td>
            <select name="cp_trunc" id="cp_trunc">
            <option value="1"<?php 
echo get_selected('1', $cp['cp_trunc']);
?>
>1원단위</option>
            <option value="10"<?php 
echo get_selected('10', $cp['cp_trunc']);
?>
>10원단위</option>
            <option value="100"<?php 
echo get_selected('100', $cp['cp_trunc']);
?>
>100원단위</option>
            <option value="1000"<?php 
echo get_selected('1000', $cp['cp_trunc']);
?>
>1,000원단위</option>
           </select>
        </td>
    </tr>
    <tr>
        <th scope="row"><label for="cp_minimum">최소주문금액</label></th>
        <td>
            <input type="text" name="cp_minimum" value="<?php 
echo stripslashes($cp['cp_minimum']);
?>
" id="cp_minimum" class="frm_input"> 원
        </td>
    </tr>
    <tr id="tr_cp_maximum">
开发者ID:davis00,项目名称:youngcart,代码行数:31,代码来源:couponform.php


示例3: apms_rank_options

			</select>
		</td>
	</tr>
	<tr>
		<td align="center">정렬설정</td>
		<td>
			<select name="wset[sort]">
				<?php 
echo apms_rank_options($wset['sort']);
?>
			</select>
			&nbsp;
			랭크표시
			<select name="wset[rank]">
				<option value=""<?php 
echo get_selected('', $wset['rank']);
?>
>표시안함</option>
				<?php 
echo apms_color_options($wset['rank']);
?>
			</select>
		</td>
	</tr>
	<tr>
		<td align="center">기간설정</td>
		<td>
			<select name="wset[term]">
				<?php 
echo apms_term_options($wset['term']);
?>
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:widget.setup.php


示例4: get_selected

    <?php 
if ($is_admin == 'super') {
    ?>
<!-- <a href="javascript:point_clear();">포인트정리</a> --><?php 
}
?>
</div>

<form name="fsearch" id="fsearch" class="local_sch01 local_sch" method="get">
<select name="sfl" title="검색대상">
    <option value="mb_id"<?php 
echo get_selected($_GET['sfl'], "mb_id");
?>
>회원아이디</option>
    <option value="po_content"<?php 
echo get_selected($_GET['sfl'], "po_content");
?>
>내용</option>
</select>
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="stx" value="<?php 
echo $stx;
?>
" id="stx" required class="required frm_input">
<input type="submit" class="btn_submit" value="검색">
</form>

<form name="fpointlist" id="fpointlist" method="post" action="./point_list_delete.php" onsubmit="return fpointlist_submit(this);">
<input type="hidden" name="sst" value="<?php 
echo $sst;
?>
开发者ID:eeewq123,项目名称:aaa,代码行数:31,代码来源:point_list.php


示例5: help

        <th scope="row"><label for="nw_device">접속기기</label></th>
        <td>
            <?php 
echo help("팝업레이어가 표시될 접속기기를 설정합니다.");
?>
            <select name="nw_device" id="nw_device">
                <option value="both"<?php 
echo get_selected($nw['nw_device'], 'both', true);
?>
>PC와 모바일</option>
                <option value="pc"<?php 
echo get_selected($nw['nw_device'], 'pc');
?>
>PC</option>
                <option value="mobile"<?php 
echo get_selected($nw['nw_device'], 'mobile');
?>
>모바일</option>
            </select>
        </td>
    </tr>
    <tr>
        <th scope="row"><label for="nw_disable_hours">시간<strong class="sound_only"> 필수</strong></label></th>
        <td>
            <?php 
echo help("고객이 다시 보지 않음을 선택할 시 몇 시간동안 팝업레이어를 보여주지 않을지 설정합니다.");
?>
            <input type="text" name="nw_disable_hours" value="<?php 
echo $nw['nw_disable_hours'];
?>
" id="nw_disable_hours" required class="frm_input required" size="5"> 시간
开发者ID:davis00,项目名称:test,代码行数:31,代码来源:newwinform.php


示例6: help

    </tr>
    <tr>
        <th scope="row"><label for="cf_level">문자전송가능 레벨</label></th>
        <td>
            <?php 
    echo help("문자전송을 허용할 회원레벨을 선택해주세요.");
    ?>
            <select name="cf_level" id="cf_level">
                <?php 
    for ($i = 1; $i <= 10; $i++) {
        ?>
                <option value="<?php 
        echo $i;
        ?>
"<?php 
        echo get_selected($i, $sms5['cf_level']);
        ?>
> <?php 
        echo $i;
        ?>
 </option>
                <?php 
    }
    ?>
            </select>
            레벨 이상
        </td>
    </tr>
    <tr>
        <th scope="row"><label for="cf_point">문자전송 차감 포인트<strong class="sound_only"> 필수</strong></label></th>
        <td>
开发者ID:khk0613,项目名称:YHK,代码行数:31,代码来源:config.php


示例7: help

                </select>
            </td>
        </tr>
        <tr>
            <th scope="row"><label for="cf_sms_type">SMS 전송유형</label></th>
            <td>
                <?php 
echo help("전송유형을 SMS로 선택하시면 최대 80바이트까지 전송하실 수 있으며<br>LMS로 선택하시면 90바이트 이하는 SMS로, 그 이상은 1500바이트까지 LMS로 전송됩니다.<br>요금은 건당 SMS는 16원, LMS는 48원입니다.");
?>
                <select id="cf_sms_type" name="cf_sms_type">
                    <option value="" <?php 
echo get_selected($config['cf_sms_type'], '');
?>
>SMS</option>
                    <option value="LMS" <?php 
echo get_selected($config['cf_sms_type'], 'LMS');
?>
>LMS</option>
                </select>
            </td>
        </tr>
        <tr>
            <th scope="row"><label for="cf_icode_id">아이코드 회원아이디</label></th>
            <td>
                <?php 
echo help("아이코드에서 사용하시는 회원아이디를 입력합니다.");
?>
                <input type="text" name="cf_icode_id" value="<?php 
echo $config['cf_icode_id'];
?>
" id="cf_icode_id" class="frm_input" size="20">
开发者ID:dingdong2310,项目名称:g5_theme,代码行数:31,代码来源:config_form.php


示例8: get_selected

?>
>제목+내용</option>
        <option value="mb_id,1"<?php 
echo get_selected($sfl, 'mb_id,1');
?>
>회원아이디</option>
        <option value="mb_id,0"<?php 
echo get_selected($sfl, 'mb_id,0');
?>
>회원아이디(코)</option>
        <option value="wr_name,1"<?php 
echo get_selected($sfl, 'wr_name,1');
?>
>글쓴이</option>
        <option value="wr_name,0"<?php 
echo get_selected($sfl, 'wr_name,0');
?>
>글쓴이(코)</option>
    </select>
    <input name="stx" value="<?php 
echo stripslashes($stx);
?>
" placeholder="검색어(필수)" required id="stx" class="required frm_input" size="15" maxlength="15">
    <input type="submit" value="검색" class="btn_submit">
    </form>
</fieldset>

<?php 
if ($is_checkbox) {
    ?>
<script>
开发者ID:eeewq123,项目名称:aaa,代码行数:31,代码来源:list.skin.php


示例9: get_selected

        <caption>SMS 설정</caption>
        <colgroup>
            <col class="grid_4">
            <col>
        </colgroup>
        <tbody>
        <tr>
            <th scope="row"><label for="cf_sms_use">SMS 사용</label></th>
            <td>
                <select id="cf_sms_use" name="cf_sms_use">
                    <option value="" <?php 
echo get_selected($config['cf_sms_use'], '');
?>
>사용안함</option>
                    <option value="icode" <?php 
echo get_selected($config['cf_sms_use'], 'icode');
?>
>아이코드</option>
                </select>
            </td>
        </tr>
        <tr>
            <th scope="row"><label for="cf_icode_id">아이코드 회원아이디</label></th>
            <td>
                <?php 
echo help("아이코드에서 사용하시는 회원아이디를 입력합니다.");
?>
                <input type="text" name="cf_icode_id" value="<?php 
echo $config['cf_icode_id'];
?>
" id="cf_icode_id" class="frm_input" size="20">
开发者ID:kimyongyeon,项目名称:myproject,代码行数:31,代码来源:config_form.php


示例10: get_selected

?>
>wr_subject desc : 제목 내림차순</option>
                    <option value="wr_name asc, wr_num, wr_reply" <?php 
echo get_selected($board['bo_sort_field'], "wr_name asc, wr_num, wr_reply");
?>
>wr_name asc : 글쓴이 오름차순</option>
                    <option value="wr_name desc, wr_num, wr_reply" <?php 
echo get_selected($board['bo_sort_field'], "wr_name desc, wr_num, wr_reply");
?>
>wr_name desc : 글쓴이 내림차순</option>
                    <option value="ca_name asc, wr_num, wr_reply" <?php 
echo get_selected($board['bo_sort_field'], "ca_name asc, wr_num, wr_reply");
?>
>ca_name asc : 분류명 오름차순</option>
                    <option value="ca_name desc, wr_num, wr_reply" <?php 
echo get_selected($board['bo_sort_field'], "ca_name desc, wr_num, wr_reply");
?>
>ca_name desc : 분류명 내림차순</option>
                </select>
            </td>
            <td class="td_grpset">
                <input type="checkbox" name="chk_grp_sort_field" value="1" id="chk_grp_sort_field">
                <label for="chk_grp_sort_field">그룹적용</label>
                <input type="checkbox" name="chk_all_sort_field" value="1" id="chk_all_sort_field">
                <label for="chk_all_sort_field">전체적용</label>
            </td>
        </tbody>
        </table>
    </div>
</section>
开发者ID:kimyongyeon,项目名称:myproject,代码行数:30,代码来源:board_form.php


示例11: get_selected

?>
</select>

<label for="sfl" class="sound_only">검색대상</label>
<select name="sfl" id="sfl">
    <option value="it_name" <?php 
echo get_selected($sfl, 'it_name');
?>
>상품명</option>
    <option value="a.it_id" <?php 
echo get_selected($sfl, 'a.it_id');
?>
>상품코드</option>
	<!-- APMS - 2014.07.20 -->
    <option value="a.pt_id" <?php 
echo get_selected($sfl, 'a.pt_id');
?>
>파트너 아이디</option>
	<!-- // -->
</select>

<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="stx" value="<?php 
echo $stx;
?>
" id="stx" required class="frm_input required">
<input type="submit" value="검색" class="btn_submit">

</form>

<form name="fitemqalist" method="post" action="./itemqalistupdate.php" onsubmit="return fitemqalist_submit(this);" autocomplete="off">
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:itemqalist.php


示例12: get_delivery_company

function get_delivery_company($company)
{
    $option = '<option value="">없음</option>' . PHP_EOL;
    $option .= '<option value="자체배송" ' . get_selected($company, '자체배송') . '>자체배송</option>' . PHP_EOL;
    $dlcomp = explode(")", str_replace("(", "", G5_DELIVERY_COMPANY));
    for ($i = 0; $i < count($dlcomp); $i++) {
        if (trim($dlcomp[$i]) == "") {
            continue;
        }
        list($value, $url, $tel) = explode("^", $dlcomp[$i]);
        $option .= '<option value="' . $value . '" ' . get_selected($company, $value) . '>' . $value . '</option>' . PHP_EOL;
    }
    return $option;
}
开发者ID:peb317,项目名称:gbamn,代码行数:14,代码来源:shop.lib.php


示例13: get_input

function get_input($id)
{
    $data = get_selected($id);
    $data = get_data_pdf($data);
    return $data;
}
开发者ID:ittiwat,项目名称:dpf_project,代码行数:6,代码来源:get_input_helper.php


示例14: get_selected

> 전체 </option>
        <option value="0"<?php 
echo get_selected('0', $fg_no);
?>
> 미분류 (<?php 
echo number_format($no_count);
?>
) </option>
        <?php 
for ($i = 0; $i < count($group); $i++) {
    ?>
        <option value="<?php 
    echo $group[$i]['fg_no'];
    ?>
"<?php 
    echo get_selected($fg_no, $group[$i]['fg_no']);
    ?>
> <?php 
    echo $group[$i]['fg_name'];
    ?>
 (<?php 
    echo number_format($group[$i]['fg_count']);
    ?>
) </option>
        <?php 
}
?>
    </select>
</form>

<ul class="emo_list" style="list-style: none; margin: 25px 0px; padding: 0;">
开发者ID:kimyongyeon,项目名称:myproject,代码行数:31,代码来源:sms_write_form.php


示例15: get_selected

    echo $i;
    ?>
]" id="gr_device_<?php 
    echo $i;
    ?>
">
                <option value="both"<?php 
    echo get_selected($row['gr_device'], 'both');
    ?>
>모두</option>
                <option value="pc"<?php 
    echo get_selected($row['gr_device'], 'pc');
    ?>
>PC</option>
                <option value="mobile"<?php 
    echo get_selected($row['gr_device'], 'mobile');
    ?>
>모바일</option>
            </select>
        </td>
        <td class="td_mngsmall"><?php 
    echo $s_upd;
    ?>
</td>
    </tr>

    <?php 
}
if ($i == 0) {
    echo '<tr><td colspan="' . $colspan . '" class="empty_table">자료가 없습니다.</td></tr>';
}
开发者ID:eeewq123,项目名称:aaa,代码行数:31,代码来源:boardgroup_list.php


示例16: get_skin_dir

}
?>
                </select>
            </td>
        </tr>
        <tr>
            <th scope="row"><label for="ca_mobile_skin_dir">모바일용 스킨명</label></th>
            <td colspan="3">
                <select name="ca_mobile_skin_dir" id="ca_mobile_skin_dir">
                <?php 
$arr = get_skin_dir('shop', G5_MOBILE_PATH . '/' . G5_SKIN_DIR);
for ($i = 0; $i < count($arr); $i++) {
    if ($i == 0) {
        echo "<option value=\"\">선택</option>";
    }
    echo "<option value=\"" . $arr[$i] . "\"" . get_selected($ca['ca_mobile_skin_dir'], $arr[$i]) . ">" . $arr[$i] . "</option>\n";
}
?>
                </select>
            </td>
        </tr>
        <tr>
            <th scope="row">본인확인 체크</th>
            <td>
                <input type="radio" name="ca_cert_use" value="1" id="ca_cert_use_yes" <?php 
if ($ca['ca_cert_use']) {
    echo 'checked="checked"';
}
?>
>
                <label for="ca_cert_use_yes">사용함</label>
开发者ID:ned3y2k,项目名称:youngcart5,代码行数:31,代码来源:categoryform.php


示例17: get_selected

    for ($i = 0; $i < $len; $i++) {
        $nbsp .= "&nbsp;&nbsp;&nbsp;";
    }
    echo '<option value="' . $row1['ca_id'] . '" ' . get_selected($sel_ca_id, $row1['ca_id']) . '>' . $nbsp . $row1['ca_name'] . '</option>' . PHP_EOL;
}
?>
</select>

<label for="sel_field" class="sound_only">검색대상</label>
<select name="sel_field" id="sel_field">
    <option value="it_name" <?php 
echo get_selected($sel_field, 'it_name');
?>
>상품명</option>
    <option value="it_id" <?php 
echo get_selected($sel_field, 'it_id');
?>
>상품코드</option>
</select>

<label for="search" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="search" value="<?php 
echo $search;
?>
" required class="frm_input required">
<input type="submit" value="검색" class="btn_submit">

</form>

<div class="local_desc01 local_desc">
    <p>재고수정의 수치를 수정하시면 창고재고의 수치가 변경됩니다.</p>
开发者ID:najinsu,项目名称:nsle,代码行数:31,代码来源:itemstocklist.php


示例18: number_format

    전체 <?php 
echo number_format($total_count);
?>
 개
</span>
<select name="sfl" title="검색대상">
    <option value="mb_id"<?php 
echo get_selected($_GET['sfl'], "mb_id");
?>
>회원아이디</option>
    <option value="cp_subject"<?php 
echo get_selected($_GET['sfl'], "cp_subject");
?>
>쿠폰이름</option>
    <option value="cp_id"<?php 
echo get_selected($_GET['sfl'], "cp_id");
?>
>쿠폰코드</option>
</select>
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="stx" value="<?php 
echo $stx;
?>
" id="stx" required class="required frm_input">
<input type="submit" class="btn_submit" value="검색">
</form>

<div class="btn_add01 btn_add">
    <a href="./couponform.php" id="coupon_add">쿠폰 추가</a>
</div>
开发者ID:davis00,项目名称:youngcart,代码行数:30,代码来源:couponlist.php


示例19: number_format

<div class="local_ov01 local_ov">
    <?php 
echo $listall;
?>
    투표수 <?php 
echo number_format($total_count);
?>
개
</div>

<form name="fsearch" id="fsearch" class="local_sch01 local_sch" method="get">
<div class="sch_last">
    <label for="sfl" class="sound_only">검색대상</label>
    <select name="sfl" id="sfl">
        <option value="po_subject"<?php 
echo get_selected($_GET['sfl'], "po_subject");
?>
>제목</option>
    </select>
    <label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
    <input type="text" name="stx" value="<?php 
echo $stx;
?>
" id="stx" required class="required frm_input">
    <input type="submit" class="btn_submit" value="검색">
</div>
</form>

<div class="btn_add01 btn_add">
    <a href="./poll_form.php" id="poll_add">투표 추가</a>
</div>
开发者ID:davis00,项目名称:youngcart,代码行数:31,代码来源:poll_list.php


示例20: sql_query

    </colgroup>
    <tbody>
    <tr>
        <th scope="row"><label for="fg_no">그룹<strong class="sound_only"> 필수</strong></label></th>
        <td>
            <select name="fg_no" id="fg_no" required class="required">
                <option value="0">미분류</option>
                <?php 
$qry = sql_query("select * from {$g5['sms5_form_group_table']} order by fg_name");
while ($res = sql_fetch_array($qry)) {
    ?>
                <option value="<?php 
    echo $res['fg_no'];
    ?>
"<?php 
    echo get_selected($res['fg_no'], $write['fg_no']);
    ?>
><?php 
    echo $res['fg_name'];
    ?>
</option>
                <?php 
}
?>
            </select>
        </td>
    </tr>
    <tr>
        <th scope="row"><label for="fo_name">제목<strong class="sound_only"> 필수</strong></label></th>
        <td><input type="text" name="fo_name" id="fo_name" required value="<?php 
echo $write['fo_name'];
开发者ID:l2zeo,项目名称:miwit-pack5,代码行数:31,代码来源:form_write.php



注:本文中的get_selected函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP get_self_url函数代码示例发布时间:2022-05-15
下一篇:
PHP get_select_options_with_id_separate_key函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap