当前位置: 首页>>代码示例>>PHP>>正文


PHP get_checked函数代码示例

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


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

示例1: get_checked

echo get_checked('1', $wset['hit']);
?>
> 조회</label>
			&nbsp;
			<label><input type="checkbox" name="wset[cmt]" value="1"<?php 
echo get_checked('1', $wset['cmt']);
?>
> 댓글</label>
			&nbsp;
			<label><input type="checkbox" name="wset[buy]" value="1"<?php 
echo get_checked('1', $wset['buy']);
?>
> 구매</label>
			&nbsp;
			<label><input type="checkbox" name="wset[sns]" value="1"<?php 
echo get_checked('1', $wset['sns']);
?>
> SNS</label>
			&nbsp;
			<select name="wset[star]">
				<option value="">별점</option>
				<?php 
echo apms_color_options($wset['star']);
?>
			</select>
		</td>
	</tr>
	<tr>
		<td align="center">새아이템</td>
		<td>
			<input type="text" name="wset[newtime]" value="<?php 
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:setup.skin.php

示例2: help

		<td>
			<?php 
echo help('FAQ 아이디를 콤마(,)로 구분해서 복수 등록 가능, 미입력시 전체 FAQ 적용');
?>
			<input type="text" name="wset[fa_list]" value="<?php 
echo $wset['fa_list'];
?>
" size="60" class="frm_input">
			&nbsp;
		</td>
	</tr>
	<tr>
		<td align="center">제외설정</td>
		<td>
			<label><input type="checkbox" name="wset[except]" value="1"<?php 
echo get_checked('1', $wset['except']);
?>
> 지정한 FAQ 아이디 제외</label>
		</td>
	</tr>
	<tr>
		<td align="center">글아이콘</td>
		<td>
			<input type="text" name="wset[icon]" id="fcon" value="<?php 
echo $wset['icon'];
?>
" size="30" class="frm_input"> 
			<a href="<?php 
echo G5_BBS_URL;
?>
/ficon.php?fid=fcon" class="btn_frmline win_scrap">아이콘 선택</a>
开发者ID:bigmsg,项目名称:massagemania,代码行数:31,代码来源:widget.setup.php

示例3: help

echo help('하루동안 아이핀과 휴대폰 본인확인 인증 이용회수를 제한할 수 있습니다.<br>회수제한은 실서비스에서 아이핀과 휴대폰 본인확인 인증에 개별 적용됩니다.<br>0 으로 설정하시면 회수제한이 적용되지 않습니다.');
?>
                <input type="text" name="cf_cert_limit" value="<?php 
echo $config['cf_cert_limit'];
?>
" id="cf_cert_limit" class="frm_input" size="3"> 회
            </td>
        </tr>
        <tr>
            <th scope="row" class="cf_cert_service"><label for="cf_cert_req">본인확인 필수</label></th>
            <td class="cf_cert_service">
                <?php 
echo help('회원가입 때 본인확인을 필수로 할지 설정합니다. 필수로 설정하시면 본인확인을 하지 않은 경우 회원가입이 안됩니다.');
?>
                <input type="checkbox" name="cf_cert_req" value="1" id="cf_cert_req"<?php 
echo get_checked($config['cf_cert_req'], 1);
?>
> 예
            </td>
        </tr>
        </tbody>
        </table>
    </div>
</section>

<?php 
echo $frm_submit;
?>

<section id="anc_cf_mail">
    <h2 class="h2_frm">기본 메일 환경 설정</h2>
开发者ID:dingdong2310,项目名称:g5_theme,代码行数:31,代码来源:config_form.php

示例4: get_selected

				<option value=""<?php 
echo get_selected('', $wset['infi']);
?>
>일반형</option>
				<option value="1"<?php 
echo get_selected('1', $wset['infi']);
?>
>더보기</option>
				<option value="2"<?php 
echo get_selected('2', $wset['infi']);
?>
>무한스크롤</option>
			</select>
			&nbsp;
			<label><input type="checkbox" name="wset[masonry]" value="1"<?php 
echo get_checked('1', $wset['masonry']);
?>
> 메이슨리(Masonry) 적용</label>
		</td>
	</tr>
	<tr>
		<td align="center">썸네일</td>
		<td>
			<input type="text" name="wset[thumb_w]" value="<?php 
echo $wset['thumb_w'];
?>
" size="4" class="frm_input">
			x
			<input type="text" name="wset[thumb_h]" value="<?php 
echo $wset['thumb_h'];
?>
开发者ID:bigmsg,项目名称:massagemania,代码行数:31,代码来源:widget.setup.php

示例5: quickMenu

echo '<h4>';
echo '<a href="edit_texts.php" target="_top">';
echo '<img src="img/lwt_icon.png" class="lwtlogo" alt="Logo" />Learning with Texts';
echo '</a>&nbsp; | &nbsp;';
quickMenu();
echo '&nbsp; | &nbsp;<a href="do_test.php?text=' . $textid . '" target="_top"><img src="icn/question-balloon.png" title="Test" alt="Test" /></a> &nbsp;<a href="print_text.php?text=' . $textid . '" target="_top"><img src="icn/printer.png" title="Print" alt="Print" /> &nbsp;<a target="_top" href="edit_texts.php?chg=' . $textid . '"><img src="icn/document--pencil.png" title="Edit Text" alt="Edit Text" /></a> &nbsp;<a href="new_word.php?text=' . $textid . '&amp;lang=' . $langid . '" target="ro"><img src="icn/sticky-note--plus.png" title="New Term" alt="New Term" /></a>';
echo '</h4><table><tr><td><h3>READ&nbsp;▶</h3></td><td class="width99pc"><h3>' . tohtml($title) . '</h3></td></tr></table>';
$showAll = getSetting('showallwords');
$showAll = $showAll == '' ? 1 : ((int) $showAll != 0 ? 1 : 0);
?>
<table class="width99pc"><tr><td class="center" colspan="7" style="padding:10px;" nowrap="nowrap">TO DO: <span id="learnstatus"><?php 
echo texttodocount2($_REQUEST['text']);
?>
</span>&nbsp;&nbsp;&nbsp;&nbsp;<span title="[Show All] = ON: ALL terms are shown, and all multi-word terms are shown as superscripts before the first word. The superscript indicates the number of words in the multi-word term. 
[Show All] = OFF: Multi-word terms now hide single words and shorter or overlapping multi-word terms.">Show All&nbsp;<input type="checkbox" id="showallwords" <?php 
echo get_checked($showAll);
?>
 /></span><span id="thetextid" class="hide"><?php 
echo $textid;
?>
</span></td></tr>

<?php 
// AUDIO PLAYER
if ($audio != '') {
    $playerskin = getSettingWithDefault('set-player-skin-name');
    ?>
<link type="text/css" href="css/jplayer_skin/<?php 
    echo $playerskin;
    ?>
.css" rel="stylesheet" />
开发者ID:hans,项目名称:lwt,代码行数:31,代码来源:do_text_header.php

示例6: get_checked

?>
 /> Status
<input type="checkbox" id="cbTerm" <?php 
echo get_checked($currenttabletestsetting3);
?>
 /> Term
<input type="checkbox" id="cbTrans" <?php 
echo get_checked($currenttabletestsetting4);
?>
 /> Translation
<input type="checkbox" id="cbRom" <?php 
echo get_checked($currenttabletestsetting5);
?>
 /> Romanization
<input type="checkbox" id="cbSentence" <?php 
echo get_checked($currenttabletestsetting6);
?>
 /> Sentence
</p>

<table class="sortable tab1" style="width:auto;" cellspacing="0" cellpadding="5">
<tr>
<th class="th1">Ed</th>
<th class="th1 clickable">Status</th>
<th class="th1 clickable">Term</th>
<th class="th1 clickable">Translation</th>
<th class="th1 clickable">Romanization</th>
<th class="th1 clickable">Sentence</th>
</tr>
<?php 
$sql = 'SELECT DISTINCT WoID, WoText, WoTranslation, WoRomanization, WoSentence, WoStatus, WoTodayScore As Score FROM ' . $testsql . ' AND WoStatus BETWEEN 1 AND 5 AND WoTranslation != \'\' AND WoTranslation != \'*\' order by WoTodayScore, WoRandom*RAND()';
开发者ID:nahabi4,项目名称:lwt,代码行数:31,代码来源:do_test_table.php

示例7: get_checked

							</label>
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">폰트</label>
						<div class="col-sm-4">
							<label class="radio-inline">
								<input type="radio" name="dpv_font" value="ko" <?php 
    echo get_checked($at_set['font'], "ko");
    ?>
> 한글폰트
							</label>
							<label class="radio-inline">
								<input type="radio" name="dpv_font" value="en" <?php 
    echo get_checked($at_set['font'], "en");
    ?>
> 영문폰트
							</label>
						</div>
					</div>
		
				</div>
				<div class="modal-footer">
					<button type="submit" class="btn btn-color"><i class="fa fa-check"></i> 적용하기</button>
				</div>
			</div>
			</form>
		</div>
	</div>
	<?php 
开发者ID:bigmsg,项目名称:massagemania,代码行数:31,代码来源:switcher.php

示例8: get_checked

echo get_checked('1', $wset['rdm']);
?>
> 랜덤</label>
			&nbsp;
			<label><input type="checkbox" name="wset[dot]" value="1"<?php 
echo get_checked('1', $wset['dot']);
?>
> 페이징</label>
			&nbsp;
			<label><input type="checkbox" name="wset[lazy]" value="1"<?php 
echo get_checked('1', $wset['lazy']);
?>
> Lazy</label>
			&nbsp;
			<label><input type="checkbox" name="wset[nav]" value="1"<?php 
echo get_checked('1', $wset['nav']);
?>
> 화살표</label>
		</td>
	</tr>
	<tr>
		<td align="center">추출갯수</td>
		<td>
			<input type="text" name="wset[rows]" value="<?php 
echo $wset['rows'];
?>
" class="frm_input" size="4"> 개 - PC
			&nbsp;
			<input type="text" name="wmset[rows]" value="<?php 
echo $wmset['rows'];
?>
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:widget.setup.php

示例9: number_format

     <th scope="row">건별 금액</th>
     <td><?php echo number_format($userinfo['gpay'])?> 원</td>
 </tr>
 <?php } ?>
 <tr>
     <th scope="row"><label for="cf_phone">회신번호<strong class="sound_only"> 필수</strong></label></th>
     <td>
         <?php echo help("회신받을 휴대폰 번호를 입력하세요. '-' 를 꼭 입력하세요.<br>예) 010-123-4567"); ?>
         <input type="text" name="cf_phone" value="<?php echo $sms5['cf_phone']; ?>" id="cf_phone" required class="frm_input required" size="12">
     </td>
 </tr>
 <tr>
     <th scope="row"><label for="cf_member">회원간 문자전송</label></th>
     <td>
         <?php echo help("허용에 체크하면 회원끼리 문자전송이 가능합니다.");?>
         <input type="checkbox" name="cf_member" value="1" id="cf_member" <?php echo get_checked(1, $sms5['cf_member']); ?>> <label for="cf_member">허용</label>
     </td>
 </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>
开发者ID:kojaehyuk,项目名称:kjhtest,代码行数:31,代码来源:config.php

示例10: get_checked

    <label for="od_misu03">환불</label>
    <input type="checkbox" name="od_receipt_point" value="Y" id="od_misu04" <?php 
echo get_checked($od_receipt_point, 'Y');
?>
>
    <label for="od_misu04">포인트주문</label>
    <input type="checkbox" name="od_coupon" value="Y" id="od_misu05" <?php 
echo get_checked($od_coupon, 'Y');
?>
>
    <label for="od_misu05">쿠폰</label>
    <?php 
if ($default['de_escrow_use']) {
    ?>
    <input type="checkbox" name="od_escrow" value="Y" id="od_misu06" <?php 
    echo get_checked($od_escrow, 'Y');
    ?>
>
    <label for="od_misu06">에스크로</label>
    <?php 
}
?>
</div>

<div class="sch_last">
    <strong>주문일자</strong>
    <input type="text" id="fr_date"  name="fr_date" value="<?php 
echo $fr_date;
?>
" class="frm_input" size="10" maxlength="10"> ~
    <input type="text" id="to_date"  name="to_date" value="<?php 
开发者ID:ned3y2k,项目名称:youngcart5,代码行数:31,代码来源:orderlist.php

示例11: help

				<?php 
    echo help('URL(http://...)을 입력해야 하며, 미입력시 링크가 걸리지 않습니다.');
    ?>
				<input type="text" name="wset[link<?php 
    echo $i;
    ?>
]" value="<?php 
    echo $wset['link' . $i];
    ?>
" size="52" class="frm_input" placeholder="http://...">
				<div style="height:8px;"></div>
				<label><input type="checkbox" name="wset[win<?php 
    echo $i;
    ?>
]" value="1"<?php 
    echo get_checked('1', $wset['win' . $i]);
    ?>
> 새창으로 링크 열기</label>
			</td>
		</tr>
		<tr>
			<td align="center">라벨</td>
			<td>
				<select name="wset[label<?php 
    echo $i;
    ?>
]">
					<option value=""<?php 
    echo get_selected('', $wset['label' . $i]);
    ?>
>사용안함</option>
开发者ID:bigmsg,项目名称:massagemania,代码行数:31,代码来源:widget.setup.php

示例12: get_checked

	<tr>
		<td align="center">썸네일</td>
		<td>
			<input type="text" required name="wset[thumb_w]" value="<?php 
echo $wset['thumb_w'];
?>
" class="frm_input" size="4">
			x
			<input type="text" name="wset[thumb_h]" value="<?php 
echo $wset['thumb_h'];
?>
" class="frm_input" size="4">
			px 
			&nbsp;
			<label><input type="checkbox" name="wset[thumb_no]" value="1"<?php 
echo get_checked('1', $wset['thumb_no']);
?>
> 원본출력</label>
		</td>
	</tr>
	<tr>
		<td align="center">추출갯수</td>
		<td>
			<input type="text" name="wset[rows]" value="<?php 
echo $wset['rows'];
?>
" class="frm_input" size="4"> 개 - PC
			&nbsp;
			<input type="text" name="wmset[rows]" value="<?php 
echo $wmset['rows'];
?>
开发者ID:bigmsg,项目名称:massagemania,代码行数:31,代码来源:widget.setup.php

示例13: filtros_1


//.........这里部分代码省略.........
        case "definitivo":
            echo "Reportes - Definitivo";
            break;
        case "atrasos":
            echo "Reportes - Atrasos";
            break;
        case "ver_filtros":
            echo "Preliminar y General";
            break;
    }
    ?>
</td></tr>
</table>
<?php 
    if ($reporte != '') {
        ?>
<form method="post" action="?op=filtros_2">
<input type="hidden" name="reporte" value="<?php 
        echo $reporte;
        ?>
">
<table align="center" class="tabla">
<thead>
<tr bgcolor="#E6E6E6" height="20">
	<td align="center" width="30">&nbsp;</td>
    <td align="center" width="120">Campo</td>
	<td align="center" width="30">&nbsp;</td>
    <td align="center" width="120">Campo</td>
	<td align="center" width="30">&nbsp;</td>
    <td align="center" width="120">Campo</td>    	
</tr>	
</thead>
<tbody>
<?php 
        $s_1 = "select id, campo, nombre from encabezados where ver_reportes!='0' order by nombre";
        $r_1 = mysql_query($s_1);
        while ($d_1 = mysql_fetch_array($r_1)) {
            if ($d_1['nombre'] != '') {
                ?>
<tr onMouseOut="this.style.background='#F7F7F7'" onMouseOver="this.style.background='#FFDD99'" bgcolor="#F7F7F7" height="20">
	<td align="center">
    	<input type="checkbox" name="valor[<?php 
                echo $d_1['id'];
                ?>
]" <?php 
                echo get_checked($reporte, $d_1['id']);
                ?>
 value="1"></td>
    <td align="left">&nbsp;&nbsp;<?php 
                echo $d_1['nombre'];
                ?>
</td> 
	<?php 
            }
            $d_1 = mysql_fetch_array($r_1);
            if ($d_1['nombre'] != '') {
                ?>
	<td align="center">
    	<input type="checkbox" name="valor[<?php 
                echo $d_1['id'];
                ?>
]" <?php 
                echo get_checked($reporte, $d_1['id']);
                ?>
 value="1"></td>
    <td align="left">&nbsp;&nbsp;<?php 
                echo $d_1['nombre'];
                ?>
</td>   
	<?php 
            }
            $d_1 = mysql_fetch_array($r_1);
            if ($d_1['nombre'] != '') {
                ?>
	<td align="center">
    	<input type="checkbox" name="valor[<?php 
                echo $d_1['id'];
                ?>
]" <?php 
                echo get_checked($reporte, $d_1['id']);
                ?>
 value="1"></td>
    <td align="left">&nbsp;&nbsp;<?php 
                echo $d_1['nombre'];
                ?>
</td><?php 
            }
            ?>
	 
</tr><?php 
        }
        ?>
	
</tbody>
</table>
<br><div align="center"><input type="submit" value="Guardar" class="submit" /></div>
</form>               
<?php 
    }
}
开发者ID:BrutalAndSick,项目名称:scrap,代码行数:101,代码来源:config.php

示例14: get_sel_archive_types

function get_sel_archive_types($name)
{
    $rows = array("Регулярные данные" => "0", "Журнал отклонений" => "1", "Журнал аварий" => "2");
    // Массив типов журнала
    $code = "<h3>Тип журнала</h3>";
    $counter = 1;
    foreach ($rows as $key => $value) {
        $i_name = $name . "_" . $counter;
        $checked = get_checked($_GET[$i_name]);
        $code .= "<label><input name=\"{$i_name}\" value=\"{$value}\" type=\"checkbox\" {$checked}>{$key}</label>";
        $counter += 1;
    }
    return $code;
}
开发者ID:Other-Proto,项目名称:Neptune,代码行数:14,代码来源:functions.php

示例15: help

    echo help("회신받을 휴대폰 번호를 입력하세요. '-' 를 꼭 입력하세요.<br>예) 010-123-4567");
    ?>
            <input type="text" name="cf_phone" value="<?php 
    echo $sms5['cf_phone'];
    ?>
" id="cf_phone" required class="frm_input required" size="12">
        </td>
    </tr>
    <tr>
        <th scope="row"><label for="cf_member">회원간 문자전송</label></th>
        <td>
            <?php 
    echo help("허용에 체크하면 회원끼리 문자전송이 가능합니다.");
    ?>
            <input type="checkbox" name="cf_member" value="1" id="cf_member" <?php 
    echo get_checked(1, $sms5['cf_member']);
    ?>
> <label for="cf_member">허용</label>
        </td>
    </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 
开发者ID:khk0613,项目名称:YHK,代码行数:31,代码来源:config.php


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