当前位置: 首页>>代码示例>>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;未经允许,请勿转载。