示例#1
0
	<ul class="list-group">
		<li class="list-group-item">
			<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" placeholder="添加视频消息的标题" name="title" value="<?php 
echo $replies['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_audio('mediaid', $replies['mediaid'], array('tabs' => array('remote' => 'active')));
?>
					<span class="help-block">请上传触发关键字时所要回复的视频,上传视频必须是MP4类型</span>
					<?php 
if (!empty($rid) && time() - $replies['createtime'] > 259200) {
    ?>
						<div class="alert alert-danger" role="alert">该回复已过期 [有效期为3天],请及时上传新的回复视频。</div>
					<?php 
}
?>
				</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:80px;" class="form-control" cols="70" name="description" placeholder="添加视频的简短描述"><?php 
示例#2
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-9">
                        <?php 
        echo tpl_form_field_multi_image('thumbs', $thumbs);
        ?>
                        <div class="help-block">图片建议尺寸:220像素 * 149像素</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">
                        <?php 
        echo tpl_form_field_audio('musicurl', $item['musicurl']);
        ?>
                        <span class="help-block">选择上传的音频文件或直接输入URL地址,常用格式:mp3,wav,ogg<br/>
                            默认音乐链接:     <?php 
        echo RES;
        ?>
music/aideluomanshi.mp3
                        </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">
                        <input type="text" name="tel" id="tel" value="<?php 
        echo $item['tel'];
        ?>
示例#3
0
文件: 1_form.tpl.php 项目: 7demo/we7
	<div class="panel-heading">
		回复内容
	</div>
	<ul class="list-group">
		<li class="list-group-item" ng-repeat="item in context.items" id="append-list">
			<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" placeholder="添加音乐消息的标题" name="title[]" ng-model="item.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" ng-invoker="context.bind($index, item);">
					<?php 
echo tpl_form_field_audio('url[]', '', array('extras' => array('text' => 'ng-model="item.url"')));
?>
					<span class="help-block">选择上传的音频文件或直接输入URL地址,常用格式:mp3</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">
					<input type="text" class="form-control" placeholder="" name="hqurl[]" ng-model="item.hqurl">
					<span class="help-block">没有高品质音乐链接,请留空。高质量音乐链接,WIFI环境优先使用该链接播放音乐</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">
					<textarea style="height:80px;" class="form-control" cols="70" name="description[]" ng-model="item.description" placeholder="添加音乐消息的简短描述" ></textarea>
示例#4
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-9">
                        <?php 
        echo tpl_form_field_image('cover', $reply['cover']);
        ?>
                        <div class="help-block">大图片建议尺寸:300像素 * 294像素</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">
                        <?php 
        echo tpl_form_field_audio('url', $reply['url']);
        ?>
                        <span class="help-block">选择上传的音频文件或直接输入URL地址,常用格式:mp3,wav,ogg</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">
                        <input type="text" name="singer" id="singer" value="<?php 
        echo $reply['singer'];
        ?>
" class="form-control" >
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">简介</label>
示例#5
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-9 col-xs-12">
						<?php 
echo tpl_form_field_image('thumb_media_id', '', '', array('tabs' => array('remote' => 'active')));
?>
						<span class="help-block">请上传所要回复的媒体缩略图,上传图片必须是JPG类型</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_audio('musicurl', '', array(''));
?>
						<span class="help-block">选择上传的音频文件或直接输入URL地址,常用格式:mp3</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">
						<input type="text" class="form-control" placeholder="" name="hqmusicurl">
						<span class="help-block">没有高品质音乐链接,请留空。高质量音乐链接,WIFI环境优先使用该链接播放音乐</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">
						<textarea style="height:80px;" class="form-control" cols="70" name="description"placeholder="添加音乐消息的简短描述" ></textarea>
示例#6
0
			<form action="<?php 
echo url('mc/notice/post');
?>
" method="post" class="form-horizontal reply" role="form" id="form4" style="display:none;">
				<input type="hidden" name="msgtype" value="mpvideo">
				<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" placeholder="添加视频消息的标题" name="title" value="">
					</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_audio('media_id', '', array('tabs' => array('remote' => 'active')));
?>
						<span class="help-block">请上传所要回复的视频,上传视频必须是MP4类型</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">
						<textarea style="height:80px;" class="form-control" cols="70" name="description" placeholder="添加视频消息的简短描述" ></textarea>
						<span class="help-block">描述内容将出现在视频名称下方,建议控制在20个汉字以内最佳</span>
					</div>
				</div>
			</form>
			<form action="<?php 
echo url('mc/notice/post');
?>
示例#7
0
checked<?php 
}
?>
/>开启</label>
                                        <label class="radio inline"><input type="radio" name="bg_music_switch" value="2" class="js_music_close" <?php 
if ($item['bg_music_switch'] == 2) {
    ?>
checked<?php 
}
?>
/>关闭</label>
                                    </div>
                                    <div class="controls margin-top10 js_music_div">
                                        <div id="image_upload_" style="width:330px;">
                                            <?php 
echo tpl_form_field_audio('bg_music_url', $item['bg_music_url']);
?>
                                        </div>
                                        <div class="help-inline">(保证浏览网页的加载速度,上传音乐最大为<span class="red">3MB</span>)</div>
                                    </div>
									 <script>
											/*KindEditor.ready(function(K){
												var editor = KindEditor.editorObj || K.editor({
													themeType: 'simple',
													allowFileManager: true,
													uploadJson : "<?php 
echo $this->createWeburl('UploadMusic');
?>
",
													fileManagerJson : "<?php 
echo $this->createWeburl('ManageMusic');
示例#8
0
				</div>	
			</div>
			<div class="form-group">
				<label class="col-xs-13 col-sm-2 col-md-2 col-lg-1 control-label">分享回调地址</label>
				<div class="col-sm-8">
					<input class="form-control" name="share" id="" type="text" value="<?php 
echo $item['share'];
?>
">&nbsp;&nbsp;用户分享成功后的回调地址,可以设置为引导关注图文素材
				</div>	
			</div>
			<div class="form-group">
				<label class="col-xs-13 col-sm-2 col-md-2 col-lg-1 control-label">背景音乐</label>
				<div class="col-sm-8">
					<?php 
echo tpl_form_field_audio('music', $item['music'], $options = array());
?>
 
					<input type="checkbox" name="mset[0]" value="mauto" <?php 
if (empty($item) || $item['mauto'] == 1) {
    ?>
 checked<?php 
}
?>
>自动播放
					<input type="checkbox" name="mset[1]" value="mloop" <?php 
if (empty($item) || $item['mloop'] == 1) {
    ?>
 checked<?php 
}
?>