コード例 #1
0
ファイル: bond.tpl.php プロジェクト: randyli/redstar
                ?>
							<?php 
                echo tpl_fans_form('reside', array('province' => $member_info['resideprovince'], 'city' => $member_info['residecity'], 'district' => $member_info['residedist']));
                ?>
						<?php 
            } else {
                if ($item['bind'] == 'birth') {
                    ?>
							<?php 
                    echo tpl_fans_form('birth', array('year' => $member_info['birthyear'], 'month' => $member_info['birthmonth'], 'day' => $member_info['birthday']));
                    ?>
						<?php 
                } else {
                    ?>
							<?php 
                    echo tpl_fans_form($item['bind'], $member_info[$item['bind']]);
                    ?>
						<?php 
                }
            }
            ?>
					</div>
				</div>
			<?php 
        }
    }
    ?>
			<div class="form-group">
				<div class="col-sm-12" style="text-align:center">
					<input type="hidden" name="cardid" value="<?php 
    echo $setting['id'];
コード例 #2
0
ファイル: profile.tpl.php プロジェクト: nsoff/wdlcms
                    } else {
                        ?>
		<div class="form-group">
			<label class="col-xs-12 col-sm-2 col-md-2 col-lg-2 control-label"><?php 
                        echo $item['title'];
                        ?>
:<?php 
                        if ($item['required']) {
                            ?>
<span style="color:red">*</span><?php 
                        }
                        ?>
</label>
			<div class="col-sm-10">
				<?php 
                        echo tpl_fans_form($item['field'], $profile[$item['field']]);
                        ?>
			</div>
		</div>
	<?php 
                    }
                }
            }
        }
        ?>
		<div class="form-group">
			<label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
			<div class="col-sm-9">
				<button type="submit" class="btn btn-primary span3" name="submit" value="提交">提交</button>
				<input type="hidden" name="token" value="<?php 
        echo $_W['token'];
コード例 #3
0
ファイル: member.tpl.php プロジェクト: 6662680/qday_wx
    ?>
			</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_fans_form('bio', $profile['bio']);
    ?>
			</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_fans_form('interest', $profile['interest']);
    ?>
			</div>
		</div>
	</div>
</div>
	<div class="form-group">
		<div class="col-sm-12">
			<button type="submit" class="btn btn-primary col-lg-1" name="submit" value="提交">提交</button>
			<input type="hidden" name="token" value="<?php 
    echo $_W['token'];
    ?>
" />
		</div>
	</div>
</form>
コード例 #4
0
ファイル: manage.tpl.php プロジェクト: 6662680/qday_wx
						<span class="help-block">分店名不得含有区域地址信息(如,“北京国贸店”中的“北京”)</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span class="text-danger">*</span> 类目</label>
					<div class="col-sm-8 col-xs-12">
						<?php 
    echo tpl_form_field_location_category("class", $location['category']);
    ?>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span class="text-danger">*</span> 地址</label>
					<div class="col-sm-8 col-xs-12">
						<?php 
    echo tpl_fans_form('reside', array('province' => $location['province'], 'city' => $location['city'], 'district' => $location['district']));
    ?>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span class="text-danger">*</span> 详细地址</label>
					<div class="col-sm-8 col-xs-12">
						<input type="text" name="address" id="addresss" class="form-control" disabled placeholder="输入详细地址,请勿重复填写省市区信息" value="<?php 
    echo $location['address'];
    ?>
"/>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span class="text-danger">*</span> 定位</label>
					<div class="col-sm-8 col-xs-12" id="map">
コード例 #5
0
ファイル: 2_submit.tpl.php プロジェクト: nsoff/wdlcms
							<option value="17:00-18:00">17:00-18:00</option>
							<option value="18:00-19:00">18:00-19:00</option>
							<option value="19:00-20:00">19:00-20:00</option>
							<option value="20:00-21:00">20:00-21:00</option>
							<option value="21:00-22:00">21:00-22:00</option>
							<option value="22:00-23:00">22:00-23:00</option>
							<option value="23:00-24:00">23:00-24:00</option>
						</select>
						<?php 
        }
        ?>
						<?php 
        if ($row['type'] == 'reside') {
            ?>
						<?php 
            echo tpl_fans_form('reside', array('province' => $profile['resideprovince'], 'city' => $profile['residecity'], 'district' => $profile['residedist']));
            ?>
						<?php 
        }
        ?>

						<?php 
        if (!empty($row['description'])) {
            ?>
						<span class="help-block"><?php 
            echo urldecode($row['description']);
            ?>
</span>
						<?php 
        }
        ?>
コード例 #6
0
ファイル: 2_0_partimes.tpl.php プロジェクト: nsoff/wdlcms
					<input name="mobile" id="mobile" type="text" class="form-control" placeholder="收货人电话" value="<?php 
        echo $ship['mobile'];
        ?>
">
				</div>
				<div class="form-group">
					<label class="control-label">收货人邮编</label>
					<input name="zipcode" id="zipcode" type="text" class="form-control" placeholder="收货人邮编" value="<?php 
        echo $ship['zipcode'];
        ?>
">
				</div>
				<div class="form-group">
					<label class="control-label">邮寄省市县(区)</label>
					<?php 
        echo tpl_fans_form('reside', array('province' => $ship['province'], 'city' => $ship['city'], 'district' => $ship['residedist']));
        ?>
				</div>
				<div class="form-group">
					<label class="control-label">收货人地址</label>
					<input name="address" id="address" type="text" class="form-control" placeholder="收货人地址" value="<?php 
        echo $ship['address'];
        ?>
">
				</div>
			</div>
		</div>
		<input type="hidden" name="status" value="{$list.status}">
		<input type="hidden" name="token" value="<?php 
        echo $_W['token'];
        ?>
コード例 #7
0
ファイル: register.tpl.php プロジェクト: 6662680/qday_wx
    if (is_array($extendfields)) {
        foreach ($extendfields as $item) {
            ?>
							<div class="form-group">
								<label><?php 
            echo $item['title'];
            ?>
:<?php 
            if ($item['required']) {
                ?>
<span style="color:red">*</span><?php 
            }
            ?>
</label>
								<?php 
            echo tpl_fans_form($item['field']);
            ?>
							</div>
						<?php 
        }
    }
    ?>
					<?php 
}
?>
					<?php 
if ($setting['register']['code']) {
    ?>
						<div class="form-group">
							<label style="display:block;">验证码:<span style="color:red;">*</span></label>
							<input name="code" type="text" class="form-control" placeholder="请输入验证码" style="width:65%;display:inline;margin-right:17px">
コード例 #8
0
    if (is_array($card['fields'])) {
        foreach ($card['fields'] as $item) {
            ?>
			<tr>
				<th><label for=""><?php 
            echo $item['title'];
            ?>
 <?php 
            if ($item['require'] == 1) {
                ?>
<span title="必填项" class="text-error">*</span><?php 
            }
            ?>
</label></th>
				<td><?php 
            echo tpl_fans_form($item['bind']);
            ?>
</td>
			</tr>
		<?php 
        }
    }
    ?>
		</table>
	</div>
</div>
<div class="mobile-submit">
	<button type="submit" class="btn btn-success btn-large" style="width:100%;" name="submit" value="提交">提交</button>
</div>
<input type="hidden" name="token" value="<?php 
    echo $_W['token'];