예제 #1
0
파일: 2_form.tpl.php 프로젝트: nsoff/wdlcms
    </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">
예제 #2
0
파일: 2_form.tpl.php 프로젝트: nsoff/wdlcms
                <?php 
echo tpl_form_field_image('ad3', $reply['ad3']);
?>

            </div>

        </div>
        <div class="form-group">

            <label class="col-xs-12 col-sm-3 col-md-2 control-label">广告图片4</label>

            <div class="col-sm-9 col-xs-12">


                <?php 
echo tpl_form_field_image('ad4', $reply['ad4']);
?>

            </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 style="height:200px;" id='rule' name="rule" class="form-control richtext" cols="60"><?php 
echo $reply['rule'];
?>
</textarea>
예제 #3
0
				</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>
예제 #4
0
			<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>
예제 #5
0
				</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">
예제 #6
0
파일: cover.tpl.php 프로젝트: ChainBoy/wxfx
                </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">
예제 #7
0
파일: cover.tpl.php 프로젝트: nsoff/wdlcms
				<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'];
?>
예제 #8
0
파일: 2_form.tpl.php 프로젝트: nsoff/wdlcms
        echo $shares['acid'];
        ?>
" class="form-control richtext_<?php 
        echo $shares['acid'];
        ?>
" cols="60"><?php 
        echo $shares['share_txt'];
        ?>
</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">
                   	<?php 
        echo tpl_form_field_image('share_pic_' . $shares['acid'], $shares['share_pic']);
        ?>
                </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-6">
					<input type="text" class="form-control" name="share_confirm_<?php 
        echo $shares['acid'];
        ?>
" value="<?php 
        echo $shares['share_confirm'];
        ?>
" />
                </div>
            </div>
예제 #9
0
            } 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'];
            ?>
예제 #10
0
                </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>
예제 #11
0
"  />
                    </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'];
?>
">
예제 #12
0
		<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>
예제 #13
0
						<?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>
예제 #14
0
 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;
 }
예제 #15
0
				<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>
예제 #16
0
파일: set.tpl.php 프로젝트: ChainBoy/wxfx
     <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 
예제 #17
0
파일: 2_btn.tpl.php 프로젝트: nsoff/wdlcms
<?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>
예제 #18
0
파일: 2_form.tpl.php 프로젝트: nsoff/wdlcms
    </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" value="<?php 
echo $reply['guzhuurl'];
?>
" class="form-control" name="guzhuurl" >
			<div class="help-block">关注引导页的链接,强列建议为活动做个推送图文<span style="#f90">不能为空</span></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">
     		<?php 
echo tpl_form_field_image('panzi', $reply['panzi']);
?>
 <div class="help-block">盘子图 320*320 ,请使用png24格式</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">
 			<textarea style="height:150px;" name="description" class="form-control" cols="60"><?php 
echo $reply['description'];
?>
</textarea>
			<div class="help-block">用于图文显示的简介</div>
        </div>
    </div>    
    <div class="form-group">
예제 #19
0
파일: 2_form.tpl.php 프로젝트: nsoff/wdlcms
}
?>
        <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" id="title" class="form-control" placeholder="" name="title" value="<?php 
echo $reply['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('thumb', $reply['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 style="height:60px;" id='description' name="description" class="form-control" cols="60"><?php 
echo $reply['description'];
?>
</textarea>
            </div>
        </div>
    </div>
</div>
<div class="panel panel-default">
예제 #20
0
파일: 2_item.tpl.php 프로젝트: nsoff/wdlcms
<?php

defined('IN_IA') or exit('Access Denied');
?>
<div class='voteitem'>
    <input name="option_title[]" type="text" class="form-control item_title" value="<?php 
echo $o['title'];
?>
" placeholder="选项标题"/>
    <input name="option_id[]" type="hidden" value="<?php 
echo $o['id'];
?>
"/>
    <div class="<?php 
if ($o['type'] != 'image') {
    ?>
hide<?php 
}
?>
 item-image" style='margin-top:5px;width:225px;'>
        <?php 
load()->func('tpl');
echo tpl_form_field_image("option_thumb_" . $o['id'], $o['thumb']);
?>
    </div>
    <div style='margin-top:5px;width:225px;float:left;'>
        <a href="javascript:;" onclick="deleteItem(this)" style="margin-top:10px;"  title="删除">删除投票项 <i class='icon-remove'></i></a>
    </div>
</div>
예제 #21
0
파일: 2_form.tpl.php 프로젝트: nsoff/wdlcms
                <div class="col-sm-3">
                    <select class="form-control" data-rule-required="true" id="award_giftVoice_new[]" name="award_giftVoice_new[]">
					    <option data-link="0" value="0" ><i class="play-btn"></i>无响声</option>
						<option value="1"><i class="play-btn"></i>响声1</option>
						<option value="2"><i class="play-btn"></i>响声2</option>
						<option value="3"><i class="play-btn"></i>响声3</option>
						<option value="4"><i class="play-btn"></i>响声4</option>
						<option value="5"><i class="play-btn"></i>响声5</option>
					</select>
                </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">
					<?php 
    echo tpl_form_field_image('awardpic_new[]', '');
    ?>
					<div class="help-block">奖品显示图片 图片大小418px X 418px</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">
					<textarea style="height:80px;" name="award_description_new[]" class="form-control" cols="70" id="" placeholder="填写奖品描述,颜色、类型、规格等"></textarea>
				</div>
            </div>
			<hr/>
		</div>
		<?php 
}
?>
예제 #22
0
파일: style.tpl.php 프로젝트: 7demo/we7
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">首页背景 [indexbgcolor] [indexbgextra] [indexbgimg]</label>
						<div class="col-sm-9 col-xs-12">
							<?php 
    echo tpl_form_field_color('style[indexbgcolor]', $styles['indexbgcolor']['content']);
    ?>
							<span class="help-block">背景颜色 [indexbgcolor]</span>
							<input class="form-control" type="text" name="style[indexbgextra]" value="<?php 
    echo $styles['indexbgextra']['content'];
    ?>
" placeholder="">
							<span class="help-block">附加属性 [indexbgextra]</span>
							<?php 
    echo tpl_form_field_image('style[indexbgimg]', $styles['indexbgimg']['content']);
    ?>
							<span class="help-block">背景图 [indexbgimg]</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">正常字体[fontfamily]</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" class="form-control" name="style[fontfamily]" value="<?php 
    echo $styles['fontfamily']['content'];
    ?>
" />
							<span class="help-block"></span>
						</div>
					</div>
					<div class="form-group">
예제 #23
0
<?php

defined('IN_IA') or exit('Access Denied');
?>
<div class="control-group js_scene_style js_maplink 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('maplink[btnimg]', $data['btnimg']);
?>
            </div>
        </div>
	</div>
	<div class="control-group">
		<label class="control-label" for="tel">电话号码</label>
		<div class="controls">
			<input type="text" id="tel" class="input-large" name="maplink[tel]" data-rule-phone="true" value="<?php 
echo $data['tel'];
?>
"/>
			<span class="maroon">*</span><span class="help-inline">(为空,不显示)</span>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="sname">名称</label>
		<div class="controls">
			<input type="text" id="sname" class="input-large" name="maplink[sname]" value="<?php 
echo $data['sname'];
?>
예제 #24
0
function getWebPostTpl($data, $conf)
{
    $str = '';
    switch ($conf['type']) {
        case 'hidden':
            $str = $data;
            $str .= "<input type='hidden' id='{$conf['name']}' name='{$conf['name']}' value='{$data}' />";
            break;
        case 'time':
            $str = tpl_form_field_date($conf['name'], date('Y-m-d H:i', $data));
            break;
        case 'image':
            $str = tpl_form_field_image($conf['name'], $data);
            break;
        case 'textarea':
            $str = "<textarea rows='4' class='span7' type='text' id='{$conf['name']}' name='{$conf['name']}'>{$data}</textarea>";
            break;
        case 'richtext':
            $str = "<textarea class='span7 richtext-clone' type='text' id='{$conf['name']}' name='{$conf['name']}'>{$data}</textarea>";
            break;
        case 'text':
        case 'tel':
            $str = "<input class='span7' type='text' id='{$conf['name']}' name='{$conf['name']}' value='{$data}' />";
            break;
        case 'number':
            $str = "<input class='span3' type='number' id='{$conf['name']}' step='10000' name='{$conf['name']}' value='{$data}' />";
            break;
        case 'option':
            $options = explode('|', $conf['value']);
            $str = "<select name='{$conf['name']}'>";
            foreach ($options as $_o) {
                $checked = $_o == $data ? 'selected' : '';
                $str .= "<option value ='{$_o}' {$checked}>{$_o}</option>";
            }
            $str .= "</select>";
            break;
        default:
            break;
    }
    return $str;
}
예제 #25
0
            </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', $item['logo']);
?>
<div class="help-block">替换页面上的logo图片</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">
              <?php 
echo tpl_form_field_image('qrcode', $item['qrcode']);
?>
<div class="help-block">替换页面上的二维码</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">
                <input type="text" name="copyright" class="form-control" value="<?php 
echo $item['copyright'];
?>
" /> 
					<div class="help-block">底部版权设置</div>
            </div>
       </div>                                             
</div>        
예제 #26
0
							<span class="help-block">图标的尺寸大小,单位为像素,上传图标时此设置项无效</span>
						</div>
					</div>
				</div>
				<div class="" id="iconuser" <?php 
    if (empty($category['icontype']) || $category['icontype'] == 1) {
        ?>
 style="display:none;"<?php 
    }
    ?>
>
					<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('iconfile', $category['icon']);
    ?>
							<span class="help-block">自定义上传图标图片,“系统图标”优先于此项</span>
						</div>
					</div>
				</div>
			</div>
		</div>

	<div class="form-group">
		<div class="col-sm-12">
			<input name="submit" type="submit" value="提交" class="btn btn-primary col-lg-1">
			<input type="hidden" name="token" value="<?php 
    echo $_W['token'];
    ?>
" />
예제 #27
0
파일: 2_form.tpl.php 프로젝트: nsoff/wdlcms
    </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">
               <p class="form-control-static"><a href="<?php 
echo $this->createWebUrl('awardlist', array('id' => $reply['rid']));
?>
" target="_blank">查看中奖名单</a></p>
           </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('picture', $reply['picture']);
?>

        </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='description' name="description" class="form-control" cols="60"><?php 
echo $reply['description'];
?>
</textarea>
        </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>
예제 #28
0
<div class="main">
<form action="" class="form-horizontal form" method="post" enctype="multipart/form-data">
	<h4>商户基本信息</h4>
	<table class="tb">
		<tr>
			<th>名称</th>
			<td><input type="text" name="title" value="<?php 
echo $setting['title'];
?>
" class="span5"></td>
		</tr>
		<tr>
			<th><label for="">宣传图</label></th>
			<td>
				<?php 
echo tpl_form_field_image('thumb', $setting['thumb']);
?>
				<span class="help-block"></span>
			</td>
		</tr>
		<tr>
			<th><label for="">行业</label></th>
			<td>
				<select name="industry_1" id="industry_1" value="<?php 
echo $setting['industry1'];
?>
"></select>
				<select name="industry_2" id="industry_2" value="<?php 
echo $setting['industry2'];
?>
"></select>
예제 #29
0
<?php

defined('IN_IA') or exit('Access Denied');
?>
<div class="control-group js_scene_style js_share hide">

    <div class="control-group">
        <label for="" class="control-label">按钮图片:</label>
        <div class="controls">
            <div id="btn_img_image_uploads" style="width:330px;">
                <?php 
echo tpl_form_field_image('share[btnimg]', $data['btnimg']);
?>
            </div>
        </div>
    </div>

    <div class="control-group">
        <label for="" class="control-label">分享图片:</label>
        <div class="controls">
            <div id="share_image_uploads" style="width:330px;">
                <?php 
echo tpl_form_field_image('share[share_thumb]', $data['share_thumb']);
?>
            </div>
        </div>
    </div>
</div>
예제 #30
0
					</div>
					<div class="tab-pane" id="tab_param2">
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">商城名称</label>
							<div class="col-xs-12 col-sm-8">
								<input type="text" name="sname" class="form-control" value="<?php 
echo $settings['sname'];
?>
" />
							</div>
						</div>
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">商城LOGO</label>
							<div class="col-sm-8">
								<?php 
echo tpl_form_field_image('slogo', $settings['slogo']);
?>

							</div>
						</div>
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">版权信息</label>
							<div class="col-xs-12 col-sm-8">
								<input type="text" name="copyright" class="form-control" value="<?php 
echo $settings['copyright'];
?>
" />
							</div>
						</div>
						<div class="form-group">
							<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">拼团介绍</label>