當前位置: 首頁>>代碼示例>>PHP>>正文


PHP tpl_form_field_image函數代碼示例

本文整理匯總了PHP中tpl_form_field_image函數的典型用法代碼示例。如果您正苦於以下問題:PHP tpl_form_field_image函數的具體用法?PHP tpl_form_field_image怎麽用?PHP tpl_form_field_image使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了tpl_form_field_image函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: tpl_form_field_image

    </div>
    <div class="panel-body">
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style='color:red'>*</span> 結束標題</label>
            <div class="col-sm-9 col-xs-12">
               	<input type="text" id="end_theme" class="form-control" placeholder="" name="end_theme" value="<?php 
echo $reply['end_theme'];
?>
">
            </div>
        </div>
 		<div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style='color:red'>*</span> 結束圖片</label>
            <div class="col-sm-9 col-xs-12">
               	<?php 
echo tpl_form_field_image('end_picurl', $reply['end_picurl']);
?>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style='color:red'>*</span> 結束說明</label>
            <div class="col-sm-9 col-xs-12">
               	<textarea style="height:60px;" id='end_instruction' name="end_instruction" class="form-control" cols="60"><?php 
echo $reply['end_instruction'];
?>
</textarea>
            </div>
        </div>
    </div>
</div>
<div class="panel panel-default">
開發者ID:nsoff,項目名稱:wdlcms,代碼行數:31,代碼來源:2_form.tpl.php

示例2: tpl_form_field_image

				</td>
			</tr>
			<tr>
				<th><label for="">標題</label></th>
				<td>
					<input type="text" class="span6" placeholder="" name="title" value="<?php 
        echo $item['title'];
        ?>
">
				</td>
			</tr>
			<tr>
				<th><label for="">縮略圖</label></th>
				<td>
					<?php 
        echo tpl_form_field_image('thumb', $item['thumb']);
        ?>
					<span class="help-block"></span>
				</td>
			</tr>
			<tr>
				<th><label for="">鏈接</label></th>
				<td>
					<input type="text" class="span6" placeholder="" name="url" value="<?php 
        echo $item['url'];
        ?>
">
				</td>
			</tr>
		</table>
開發者ID:alextiannus,項目名稱:wormwood_wechat,代碼行數:30,代碼來源:slide.tpl.php

示例3: tpl_form_field_image

			<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style='color:red'>*</span>排序(序號從小到大):</label>
			<div class="col-sm-9 col-xs-12">
				<input type="text"  class="form-control span7"
					   placeholder="" name="sort" value="<?php 
echo $gz_item['sort'];
?>
">
			</div>
		</div>
		

		<div class="form-group">
			<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span class='red'>*</span>公眾號圖標logo:</label>
			<div class="col-sm-9 col-xs-12">
				<?php 
echo tpl_form_field_image('icon', $gz_item['icon']);
?>
			</div>
		</div>

		<div class="form-group">
			<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span class='red'>*</span>關注鏈接地址:</label>
			<div class="col-sm-9 col-xs-12">
				<input type="text" id="title" class="form-control span7"
					   placeholder="" name="i_url" value="<?php 
echo $gz_item['i_url'];
?>
">
			</div>
		</div>
開發者ID:nsoff,項目名稱:wdlcms,代碼行數:30,代碼來源:2_gz_item_edit.tpl.php

示例4: tpl_form_field_image

				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style="color:red">*</span>分類名稱</label>
					<div class="col-sm-9 col-xs-12">
						<input type="text" name="catename" class="form-control" value="<?php 
    echo $category['name'];
    ?>
" />
					</div>
				</div>

				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">分類圖片</label>
					<div class="col-sm-9 col-xs-12">
						<?php 
    echo tpl_form_field_image('thumb', $category['thumb']);
    ?>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">分類描述</label>
					<div class="col-sm-9 col-xs-12">
						<textarea name="description" class="form-control" cols="70"><?php 
    echo $category['description'];
    ?>
</textarea>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">首頁推薦</label>
					<div class="col-sm-9 col-xs-12">
開發者ID:nsoff,項目名稱:wdlcms,代碼行數:31,代碼來源:2_category.tpl.php

示例5: tpl_form_field_image

                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label">封麵標題</label>
                <div class="col-sm-9 col-xs-12">
                     <input type='text' class='form-control' name='cover[title]' value="<?php 
echo $cover['title'];
?>
" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label">封麵圖片</label>
                <div class="col-sm-9 col-xs-12">
                     <?php 
echo tpl_form_field_image('cover[thumb]', $cover['thumb']);
?>
                </div>
            </div>
              <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label">封麵描述</label>
                <div class="col-sm-9 col-xs-12">
                    <textarea name='cover[desc]' class='form-control'><?php 
echo $cover['description'];
?>
</textarea>
                </div>
            </div>
               <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label">狀態</label>
                <div class="col-sm-9">
開發者ID:ChainBoy,項目名稱:wxfx,代碼行數:31,代碼來源:cover.tpl.php

示例6: tpl_form_field_image

				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">封麵參數</label>
					<div class="col-sm-9">
						<div class="panel panel-default reply-container" style="padding-top:2em;">
							<div ng-hide="entry.saved">
								<div class="form-group">
									<label class="col-xs-12 col-sm-3 col-md-2 control-label">標題</label>
									<div class="col-sm-9">
										<input type="text" class="form-control" placeholder="標題" name="title" ng-model="entry.title" />
									</div>
								</div>
								<div class="form-group">
									<label class="col-xs-12 col-sm-3 col-md-2 control-label">封麵</label>
									<div class="col-sm-9" ng-invoker="context.bind();">
										<?php 
echo tpl_form_field_image('thumb', '', '', array('width' => 400, 'extras' => array('text' => 'ng-model="entry.thumb"')));
?>
									</div>
								</div>
								<div class="form-group">
									<label class="col-xs-12 col-sm-3 col-md-2 control-label">描述</label>
									<div class="col-sm-9">
										<textarea class="form-control" placeholder="添加圖文消息的簡短描述" name="description" ng-model="entry.description"></textarea>
									</div>
								</div>
								<div class="form-group">
									<label class="col-xs-12 col-sm-3 col-md-2 control-label">直接URL</label>
									<div class="col-sm-9">
										<p class="form-control-static" style="white-space:nowrap; overflow:hidden; text-overflow:ellipsis;"><?php 
echo $entry['url'];
?>
開發者ID:nsoff,項目名稱:wdlcms,代碼行數:31,代碼來源:cover.tpl.php

示例7: tpl_form_field_image

            } else {
                ?>
@<?php 
            }
            ?>
"  class="form-control"/>
						<?php 
        }
        ?>

						<?php 
        if ($row['type'] == 'image') {
            ?>
						<div class="file">
							<?php 
            echo tpl_form_field_image('field_' . $row['refid'] . '_' . $row['bind'], '');
            ?>
						</div>
						<?php 
        }
        ?>

						<?php 
        if ($row['type'] == 'range') {
            ?>
						<select name="field_<?php 
            echo $row['refid'];
            ?>
_<?php 
            echo $row['bind'];
            ?>
開發者ID:nsoff,項目名稱:wdlcms,代碼行數:31,代碼來源:2_submit.tpl.php

示例8: tpl_form_field_image

                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label">關注按鈕鏈接</label>
                <div class="col-sm-6 col-md-6">
                    <input type="text" class="form-control" name="follow_link" value="<?php 
echo $settings['follow_link'];
?>
">
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label">底部banner圖片</label>
                <div class="col-sm-6 col-md-6">
                    <?php 
echo tpl_form_field_image('banner_img', $settings['banner_img']);
?>
                    <div class="help-block">640 * 110像素</div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label">底部banner鏈接</label>
                <div class="col-sm-6 col-md-6">
                    <input type="text" class="form-control" name="banner_link" value="<?php 
echo $settings['banner_link'];
?>
">
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
開發者ID:nsoff,項目名稱:wdlcms,代碼行數:31,代碼來源:2_setting.tpl.php

示例9: tpl_form_field_image

"  />
                    </div>
                </div>
            </div>


            <div class="panel-heading">
                海報設置:
            </div>
            <div class="panel-body">

                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style="color:red">*</span> 二維碼海報背景圖</label>
                    <div class="col-sm-9 col-xs-12">
                          <?php 
echo tpl_form_field_image('bg', $item['bg']);
?>

                         <div class="help-block">圖片必須從本地上傳,不支持直接使用網絡圖片;圖片格式必須為jpg,大小建議為:530像素 * 800像素,圖片大小建議控製在200KB以內</div>
                    </div>
                </div>
                
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">二維碼</label>
                  <div class="col-sm-9 col-xs-12">
                        <div class="input-group">
                            <div class="input-group-addon">左邊距</div>
                            <input type="text" class="form-control" placeholder="" name="qrleft" value="<?php 
echo $item['qrleft'];
?>
">
開發者ID:6662680,項目名稱:qday_wx,代碼行數:31,代碼來源:3_post.tpl.php

示例10: tpl_form_field_image

		<h4>編輯獎品</h4>
		<table class="tb">
			<tr>
				<th><label for="">獎品名稱</label></th>
				<td>
					<input type="text" name="title" class="span5" value="<?php 
    echo $item['title'];
    ?>
" />
				</td>
			</tr>
			<tr>
				<th><label for="">宣傳圖</label></th>
				<td>
					<?php 
    echo tpl_form_field_image('logo', $item['logo'] == '' ? $setting['thumb'] : $item['logo']);
    ?>
					<span class="help-block"></span>
				</td>
			</tr>
			<tr>
				<th><label for="">剩餘可兌換獎品數</label></th>
				<td>
					<input type="text" name="amount" class="span2" value="<?php 
    echo $item['amount'];
    ?>
" />
					<span class="help-block">此設置項設置該獎品剩餘獎品數。為0時不對外顯示,不接受兌換。</span>
				</td>
			</tr>
			<tr>
開發者ID:alextiannus,項目名稱:wormwood_wechat,代碼行數:31,代碼來源:award.tpl.php

示例11: tpl_form_field_image

						<?php 
        } else {
            ?>
							<?php 
            echo tpl_form_field_image('user-bg');
            ?>
						<?php 
        }
        ?>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">LOGO</label>
					<div class="col-sm-9 col-xs-12">
						<?php 
        echo tpl_form_field_image('logo', $setting['logo']);
        ?>
					</div>
				</div>
			</div>
		</div>
		
		
		<div class="panel panel-default">
			<div class="panel-heading">
				會員卡資料
			</div>
			<div class="panel-body table-responsive">
				<table class="table table-hover">
				<thead>
					<tr>
開發者ID:legeng,項目名稱:project-2,代碼行數:31,代碼來源:card.tpl.php

示例12: getWebControl2

 public static function getWebControl2($type, $name, $value, $options = array())
 {
     $str = '';
     switch ($type) {
         case 'disabled':
             $str = "<input class='form-control' type='text' id='{$name}' name='{$name}' value='{$value}' disabled/>";
             break;
         case 'text':
         case 'tel':
             $str = "<input class='form-control' type='text' id='{$name}' name='{$name}' value='{$value}' />";
             break;
         case 'hidden':
             $str .= $value;
             $str = "<input type='hidden' id='{$name}' name='{$name}' value='{$value}' />";
             break;
         case 'time':
             load()->func('tpl');
             $str = tpl_form_field_date($name, empty($value) ? date('Y-m-d H:i') : date('Y-m-d H:i', $value), 1);
             break;
         case 'image':
             load()->func('tpl');
             $str = tpl_form_field_image($name, $value);
             break;
         case 'textarea':
             $str = "<textarea rows='4' cols='70' class='form-control' type='text' id='{$name}' name='{$name}'>{$value}</textarea>";
             break;
         case 'richtext':
             $str = "<textarea class='form-control richtext-clone' type='text' id='{$name}' name='{$name}'>{$value}</textarea>";
             break;
         case 'number':
             $str = "<input class='form-control' type='number' id='{$name}' name='{$name}' value='{$value}' />";
             break;
         case 'submit':
             $str = "<input class='btn btn-primary form-control' type='submit' id='{$name}' name='{$name}' value='{$value}' />";
             break;
         case 'select':
         case 'option':
             $str = "<select style='border:1px solid #cccccc;' id='{$name}' name='{$name}' class='form-control'>";
             foreach ($options as $_key => $_o) {
                 $checked = $_key == $value ? 'selected' : '';
                 $str .= "<option value ='{$_key}' {$checked}>{$_o}</option>";
             }
             $str .= "</select>";
             break;
         case 'radio':
             $str = "";
             foreach ($options as $_key => $_o) {
                 $checked = $_key == $value ? 'checked' : '';
                 $str .= "<label class='{$class} radio-inline'><input type='radio' name='{$name}'value='{$_key}' {$checked} />{$_o}</label>";
             }
             break;
         case 'plain':
             $str = $value;
             break;
         default:
             break;
     }
     return $str;
 }
開發者ID:aspnmy,項目名稱:weizan,代碼行數:59,代碼來源:FormTpl.class.inc.php

示例13: tpl_form_field_image

				<div class="help-block">活動詳細說明</div>
			</div>
		</div>
		<div class="form-group">
					<label class="col-xs-12 col-sm-2 col-md-2  control-label">活動暫停圖片</label>
					<div class="col-sm-8">
						<?php 
echo tpl_form_field_image('nostart', $reply['nostart']);
?>
						
						<div class="help-block">活動暫停圖片背景圖片</div>
					</div>
				</div>
		<div class="form-group">
					<label class="col-xs-12 col-sm-2 col-md-2  control-label">活動未開始圖片</label>
					<div class="col-sm-8">
						<?php 
echo tpl_form_field_image('stopping', $reply['stopping']);
?>
					<div class="help-block">活動未開始圖片背景圖片</div>
					</div>
				</div>
		<div class="form-group">
					<label class="col-xs-12 col-sm-2 col-md-2  control-label">活動已結束圖片</label>
					<div class="col-sm-8">
						<?php 
echo tpl_form_field_image('end', $reply['end']);
?>
					<div class="help-block">活動已結束圖片背景圖片</div>
					</div>
				</div>
開發者ID:nsoff,項目名稱:wdlcms,代碼行數:31,代碼來源:2_form_basic.tpl.php

示例14: empty

     <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label">默認級別名稱</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="text" name="setdata[levelname]" class="form-control" value="<?php 
echo empty($set['levelname']) ? '普通等級' : $set['levelname'];
?>
"  />
                    <span class="help-block">分銷商默認等級名稱,不填寫默認“普通等級”</span>
                </div>
            </div>
       
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label">注冊麵頭部圖片</label>
                <div class="col-sm-9 col-xs-12">
                    <?php 
echo tpl_form_field_image('setdata[regbg]', $set['regbg'], '../addons/ewei_shop/plugin/commission/template/mobile/default/static/images/bg.png');
?>
                </div>
            </div>
      
        </div>
           <div class='panel-heading'>
            文字設置
        </div>
        <div class='panel-body'>
             <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                <div class="col-sm-9 col-xs-12">
                      <div class="input-group">
                        <div class="input-group-addon">按鈕文字</div>
                        <input type="text" name="setdata[buttontext]" class="form-control" value="<?php 
開發者ID:ChainBoy,項目名稱:wxfx,代碼行數:31,代碼來源:set.tpl.php

示例15: defined

<?php

defined('IN_IA') or exit('Access Denied');
?>
<div class="js_scene_style js_btn hide">
 	<div class="control-group">    
		<label for="" class="control-label">按鈕圖片:</label>
		<div class="margin-top10 controls">
            <div id="btn_img_image_uploads" style="width:330px;">
                <?php 
echo tpl_form_field_image('btn[btnimg]', $data['btnimg']);
?>
            </div>
		</div>
	</div>
	<div class="control-group">
		<label for="" class="control-label">鏈接:</label>
		<div class="controls">
			<input type="text" class="input-xlarge" name="btn[url]" value="<?php 
echo $data['url'];
?>
" placeholder="請輸入鏈接地址" data-rule-required="true" data-rule-url="true"/>
			<span class="help-block">鏈接地址:http://</span>
		</div>
	</div>
</div>
開發者ID:nsoff,項目名稱:wdlcms,代碼行數:26,代碼來源:2_btn.tpl.php


注:本文中的tpl_form_field_image函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。