Example #1
0
			</div>
			<?php 
    }
}
?>
            <div class="form-group">
                <label class="col-sm-2 control-label">VIP</label>
                <div class="col-sm-4 input-group"><?php 
echo WUZHI_form::calendar('info[viptime]', date('Y-m-d H:i:s', $member['viptime']), 1);
?>
</div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">锁定</label>
                <div class="col-sm-4 input-group"><?php 
echo WUZHI_form::calendar('info[locktime]', date('Y-m-d H:i:s', $member['locktime']), 1);
?>
</div>
            </div>
			<div class="form-group">
				<label class="col-sm-2 control-label"></label>
				<div class="col-sm-4 input-group"><input class="btn btn-info" type="submit" name="submit" value="提交" id="submit"></div>
			</div>
			</div>
		</form>
	</div>
</section>
<script src="<?php 
echo R;
?>
js/jquery.nicescroll.js" type="text/javascript"></script>
Example #2
0
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">关闭原因</label>
                <div class="col-sm-4">
                    <textarea name="form[close_reason]" class="form-control" cols="60" rows="3"><?php 
echo output($setting, 'close_reason');
?>
</textarea>

                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">默认模板</label>
                <div class="col-sm-4">
                    <?php 
echo WUZHI_form::select(template_list(), TPLID, 'name="form[default_template]" class="form-control"');
?>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-10">
                    <input class="btn btn-info" type="submit" name="submit" value="提交">
                </div>
            </div>
        </form>
    </div>
</section>
</div>
</div>
<!-- page end-->
Example #3
0

<div class="panel-body">
        <form class="form-horizontal tasi-form" method="post" action="">

			<div class="form-group">
                <label class="col-sm-2 control-label">自定义目录名</label>
                <div class="col-sm-4">
                    <div class="input-group"><input type="text" value="" class="form-control" id="attachment_test" name="diycat" size="20" maxlength="20"></div>
                </div>
            </div>

			<div class="form-group">
                <label class="col-sm-2 control-label">批量上传附件</label>
                <div class="col-sm-10 attaclist"><?php 
echo WUZHI_form::attachment('jpg|jpep|gif|png|txt|zip|rar|gzip|gz|doc|docx|xls|xlsx|ppt|pptx|mp4|mp3|pdf', '100', 'files', '', 'callback_more_dialog', 0);
?>
</div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-10">
                    <input class="btn btn-info" type="submit" name="submit" value="<?php 
echo L('dosubmit');
?>
">
                </div>
            </div>
        </form>
    </div>
Example #4
0
</label>
                        <div class="col-sm-4 input-group"><?php 
        echo $r[$field];
        ?>
</div>
                    </div>
                <?php 
    }
}
?>

            <div class="form-group">
                <label class="col-sm-2 control-label">回复</label>
                <div class="col-sm-9 input-group">
                    <?php 
echo WUZHI_form::editor('reply', 'reply', $r['reply']);
?>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">回复人</label>
                <div class="col-sm-2 input-group">
                    <input type="text" class="form-control" name="reply_user" placeholder="<?php 
echo $reply_user;
?>
">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-10 input-group">
Example #5
0
    }
}
?>
					</select>
				</div>
				  注册时间 <?php 
echo WUZHI_form::calendar('regTimeStart', $regTimeStart ? date('Y-m-d', $regTimeStart) : '');
?>
- <?php 
echo WUZHI_form::calendar('regTimeEnd', $regTimeEnd ? date('Y-m-d', $regTimeEnd) : '');
?>
				  登录时间 <?php 
echo WUZHI_form::calendar('loginTimeStart', $loginTimeStart ? date('Y-m-d', $loginTimeStart) : '');
?>
- <?php 
echo WUZHI_form::calendar('loginTimeEnd', $loginTimeEnd ? date('Y-m-d', $loginTimeEnd) : '');
?>
				<button type="submit" class="btn btn-info">搜索</button>
			</form>
		</header>
		<form name="myform" method="post" action="?m=member&f=index&v=del<?php 
echo $this->su();
?>
">
		<div class="panel-body" id="panel-bodys">
			<table class="table table-striped table-advance table-hover">
				<thead>
					<tr>
						<th class="tablehead"><input type="checkbox"  id="check_box" onclick="checkall('selectAll',this);"> 全选</th>
						<th class="tablehead">UID</th>
						<th class="tablehead">用户名</th>
Example #6
0
                </div>
            </div>

			<div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label"><?php 
echo L('show_url_rule');
?>
</label>
                <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                    <input type="text" name="setting[show_url_rule]" id="show_url_rule" value="<?php 
echo output($setting, 'show_url_rule');
?>
" class="col-sm-8" />
					<div class="col-lg-3 col-sm-4 col-xs-4 input-group">
						<?php 
echo WUZHI_form::templates('tags', output($setting, 'show_tpl'), 'name="setting[show_tpl]" class="form-control" id="tagselect" ');
?>
					</div>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label"></label>
                <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                    <input class="btn btn-info col-sm-12 col-xs-12" type="submit" name="dosubmit" value="<?php 
echo L('submit');
?>
">
                </div>
            </div>
        </form>
Example #7
0
                <div class="col-sm-4 input-group">
                    <?php 
echo $form->tree_select($categorys, $cid, 'name="cid" class="form-control" ', '≡ 全部 ≡');
?>
                </div>
            </div>


            <div class="form-group">
                <label class="col-sm-2 control-label">发布时间 </label>
                <div class="col-sm-8 input-group">
                    <?php 
echo WUZHI_form::calendar('start', $start, 1);
?>
 - <?php 
echo WUZHI_form::calendar('end', $end, 1);
?>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">状态</label>
                <div class="col-sm-2 input-group">
                    <?php 
echo $form->select($this->status_array, $status, 'name="status" id="status" class="form-control"');
?>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-10 input-group">
                    <input class="btn btn-info" type="submit" name="submit" value="提交">
Example #8
0
echo $this->menu($GLOBALS['_menuid']);
?>

    <div class="panel-body">
        <form class="form-horizontal tasi-form" method="post" action="">
            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label">站点名称</label>
                <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                    <input type="text" class="form-control" name="form[name]" datatype="s2-80" errormsg="至少2个字符,最多80个字符!">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label">网站logo</label>
                <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                    <div class="input-group"><?php 
echo WUZHI_form::attachment('png|jpg|gif|jpeg', '1', 'form[logo]', '');
?>
</div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label"></label>
                <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                    <input class="btn btn-info col-sm-12 col-xs-12" type="submit" name="submit" value="提交">
                </div>
            </div>
        </form>
    </div>
</section>
</div>
</div>
Example #9
0
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">缩略图</label>
                <div class="col-sm-4 input-group">
                    <div class="input-group"><?php 
echo $form->attachment('', '1', 'form[thumb]', '');
?>
</div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">介绍</label>
                <div class="col-sm-8 input-group">
                    <?php 
echo WUZHI_form::editor('form[content]', 'content', '', 'basic');
?>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-10 input-group">
                    <input class="btn btn-info" type="submit" name="submit" value="提交">
                </div>
            </div>
        </form>
    </div>
</section>
</div>
</div>
Example #10
0
echo L('test_attachment_thumb');
?>
</label>
                <div class="col-sm-4"><?php 
echo WUZHI_form::attachment('', '1', 'setting[attachment_thumb_test]', isset($setting['attachment_thumb_test']) ? $setting['attachment_thumb_test'] : '', '', true);
?>
</div>
            </div>

			<div class="form-group">
                <label class="col-sm-2 control-label"><?php 
echo L('test_attachment_more');
?>
</label>
                <div class="col-sm-10 attaclist"><?php 
echo WUZHI_form::attachment('', '10', 'setting[attachment_more_test]', isset($setting['attachment_more_test']) ? $setting['attachment_more_test'] : '', 'callback_more_dialog', 0);
?>
</div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-10">
                    <input class="btn btn-info" type="submit" name="dosubmit" value="<?php 
echo L('dosubmit');
?>
">
                </div>
            </div>
        </form>
    </div>
Example #11
0
 /**
  * 信息发布
  */
 public function newinfo()
 {
     $memberinfo = $this->memberinfo;
     if ($memberinfo['ischeck_mobile'] == 0) {
         MSG('您的手机还未验证!请先验证!', 'index.php?m=member&f=index&v=edit_mobile', 3000);
     }
     $uid = $memberinfo['uid'];
     if (isset($GLOBALS['submit'])) {
         $cid = 70;
         $cate_config = get_cache('category_' . $cid, 'content');
         if (!$cate_config) {
             MSG(L('category not exists'));
         }
         //如果设置了modelid,那么则按照设置的modelid。共享模型添加必须数据必须指定该值。
         if (isset($GLOBALS['modelid']) && is_numeric($GLOBALS['modelid'])) {
             $modelid = $GLOBALS['modelid'];
         } else {
             $modelid = $cate_config['modelid'];
         }
         $formdata = $GLOBALS['form'];
         $formdata['title'] = remove_xss($formdata['title']);
         //添加数据之前,将用户提交的数据按照字段的配置,进行处理
         require get_cache_path('content_add', 'model');
         $form_add = new form_add($modelid);
         $formdata = $form_add->execute($formdata);
         //插入时间,更新时间,如果用户设置了时间。则按照用户设置的时间
         $addtime = empty($formdata['addtime']) ? SYS_TIME : strtotime($formdata['addtime']);
         $formdata['master_data']['addtime'] = $formdata['master_data']['updatetime'] = $addtime;
         //如果是共享模型,那么需要在将字段modelid增加到数据库
         if ($formdata['master_table'] == 'content_share') {
             $formdata['master_data']['modelid'] = $modelid;
         }
         $formdata['master_data']['cid'] = $cid;
         //默认状态 status ,9为通过审核,1-4为审核的工作流,0为回收站
         $formdata['master_data']['status'] = 1;
         //如果 route为 0 默认,1,加密,2外链 ,3,自定义 例如:wuzhicms-diy-url-example 用户,不能不需要自己写后缀。程序自动补全。
         $formdata['master_data']['route'] = 0;
         $formdata['master_data']['publisher'] = $memberinfo['username'];
         //echo $formdata['master_table'];exit;
         if (empty($formdata['master_data']['remark']) && isset($formdata['attr_data']['content'])) {
             $formdata['master_data']['remark'] = mb_strcut(strip_tags($formdata['attr_data']['content']), 0, 255);
         }
         $id = $this->db->insert($formdata['master_table'], $formdata['master_data']);
         //生成url
         $urlclass = load_class('url', 'content', $cate_config);
         $urls = $urlclass->showurl(array('id' => $id, 'cid' => $cid, 'addtime' => $addtime, 'page' => 1, 'route' => $formdata['master_data']['route']));
         $this->db->update($formdata['master_table'], array('url' => $urls['url']), array('id' => $id));
         if (!empty($formdata['attr_table'])) {
             $formdata['attr_data']['id'] = $id;
             // print_r($formdata['attr_data']);exit;
             $this->db->insert($formdata['attr_table'], $formdata['attr_data']);
         }
         $formdata['master_data']['url'] = $urls['url'];
         //执行更新
         require get_cache_path('content_update', 'model');
         $form_update = new form_update($modelid);
         $data = $form_update->execute($formdata);
         //统计表加默认数据
         $this->db->insert('content_rank', array('cid' => $cid, 'id' => $id, 'updatetime' => SYS_TIME));
         MSG('信息发布成功,我们将在24小时内进行审核!');
     } else {
         $categorys = get_cache('category', 'content');
         load_function('content', 'content');
         $mec = get_mec($memberinfo['mecid']);
         $endtime = mktime(0, 0, 0, date('m') + 3, date('d'), date('Y'));
         $endtime = date('Y-m-d', $endtime);
         load_class('form');
         $endtime = WUZHI_form::calendar('endtime', $endtime);
         $editor = WUZHI_form::editor('form[content]', 'content', '', 'basic');
         include T('content', 'member_mecinfo_newinfo');
     }
 }
Example #12
0
</label>
                <div class="col-lg-3 col-sm-4 col-xs-4">
                    <div class="input-group"><?php 
echo WUZHI_form::attachment('', '1', 'setting[attachment_test]', $setting['attachment_test']);
?>
</div>
                </div>
            </div>

			<div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label"><?php 
echo L('test_attachment_thumb');
?>
</label>
                <div class="col-lg-3 col-sm-4 col-xs-4"><?php 
echo WUZHI_form::attachment('', '1', 'setting[attachment_thumb_test]', isset($setting['attachment_thumb_test']) ? $setting['attachment_thumb_test'] : '', '', true);
?>
</div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label"></label>
                <div class="col-lg-3 col-sm-4 col-xs-4">
                    <input class="btn btn-info col-sm-12 col-xs-12" type="submit" name="submit" value="<?php 
echo L('dosubmit');
?>
">
                </div>
            </div>

        </form>
Example #13
0
                                        <th><div class="input-group"><?php 
    echo WUZHI_form::attachment('', '1', 'PicUrl[' . $n . '][1]', $rs['PicUrl'][1]);
    ?>
</div></th>
                                    </tr>
                                    <tr>
                                        <th>图片B</th>
                                        <th><div class="input-group"><?php 
    echo WUZHI_form::attachment('', '1', 'PicUrl[' . $n . '][2]', $rs['PicUrl'][2]);
    ?>
</div></th>
                                    </tr>
                                    <tr>
                                        <th>图片C</th>
                                        <th><div class="input-group"><?php 
    echo WUZHI_form::attachment('', '1', 'PicUrl[' . $n . '][3]', $rs['PicUrl'][3]);
    ?>
</div></th>
                                    </tr>
                                    <tr>
                                        <th>链接</th>
                                        <th><input type="text" name="urls[<?php 
    echo $n;
    ?>
]" class="form-control" value="<?php 
    echo $rs['Url'];
    ?>
"></th>
                                    </tr>

                                </table>
Example #14
0
function allcity($str = '')
{
    $db = load_class('db');
    $categorys = get_cache('category', 'content');
    $tmp = array();
    foreach ($categorys as $cid => $cate) {
        if ($cate['modelid'] == 3) {
            $cate['cid'] = $cid;
            $tmp[$cid] = $cate;
        }
    }
    return WUZHI_form::tree_select($tmp, 0, 'name="cityid" class="form-control input-sm" ' . $str, '请选择城市');
}
Example #15
0
                    <label style="width: 100px;"> <input type="radio" name="form[status]" value="3" disabled> 后台管理员</label>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">公告结束时间</label>
                <div class="col-sm-2 input-group">
                    <?php 
echo WUZHI_form::calendar('endtime', $endtime, 1);
?>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">公告内容</label>
                <div class="col-sm-9 input-group">
                    <?php 
echo WUZHI_form::editor('form[content]', 'content');
?>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">公告备注(管理员可见)</label>
                <div class="col-sm-9 input-group">
                    <textarea name="form[note]" class="form-control" cols="60" rows="3"></textarea>                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-10 input-group">
                    <input class="btn btn-info" type="submit" name="submit" value="提交">
                </div>
Example #16
0
"  style="border-top: 2px #F1F2F7 outset;padding-top: 10px;">
                            <label class="col-sm-2 col-xs-4 control-label">内容3</label>
                            <div class="col-sm-8">
                                <table class="table">
                                    <tr>
                                        <th width="50">标题</th>
                                        <th><input type="text" name="titles[3]" class="form-control" value="<?php 
echo $setting['content'][2]['Title'];
?>
"></th>
                                    </tr>

                                    <tr>
                                        <th>图片</th>
                                        <th><div class="input-group"><?php 
echo WUZHI_form::attachment('', '1', 'imgs[3]', $setting['content'][2]['PicUrl']);
?>
</div></th>
                                    </tr>
                                    <tr>
                                        <th>链接</th>
                                        <th><input type="text" name="urls[3]" class="form-control" value="<?php 
echo $setting['content'][2]['Url'];
?>
"></th>
                                    </tr>
                                </table>
                            </div>
                        </div>

                        <div class="msgtype1 form-group <?php 
Example #17
0
                <div class="col-sm-4 col-xs-10"><span class="help-block"><i class="icon-info-circle"></i>一般不超过80个字符</span></div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label">网站域名</label>
                <div class="col-lg-4 col-sm-6 col-xs-6 input-group">
                    <input type="text" class="form-control" name="weburl" color="#000000" value="<?php 
echo WEBURL;
?>
" readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label">网站logo</label>
                <div class="col-lg-4 col-sm-6 col-xs-6 input-group">
                    <div class="input-group"><?php 
echo WUZHI_form::attachment('', '1', 'form[logo]', output($setting, 'logo'));
?>
</div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label">SEO关键字</label>
                <div class="col-lg-4 col-sm-6 col-xs-6 input-group pull-left">
                    <input type="text" class="form-control" name="form[seo_keywords]" color="#000000" value="<?php 
echo output($setting, 'seo_keywords');
?>
">
                </div>
                <div class="col-sm-4 col-xs-10"><span class="help-block"><i class="icon-info-circle"></i>一般不超过100个字符,关键词用英文逗号隔开</span></div>
            </div>
            <div class="form-group">
Example #18
0
echo $memberinfo['truename'];
?>
"  class="input-text"/></td>
                        </tr>
                        <tr>
                            <th width="150" align="right">性别:</th>
                            <td><input name="sex" type="radio" id="sex" value="1"/> 男 <input name="sex" type="radio" id="sex" value="2"/> 女</td>
                        </tr>
                        <tr>
                            <th width="150" align="right">婚姻状况:</th>
                            <td><input name="marriage" type="radio" id="marriage" value="1"/> 已婚 <input name="marriage" type="radio" id="marriage" value="0"/> 未婚</td>
                        </tr>
                        <tr>
                            <th align="right">生日:</th>
                            <td><div class="col-sm-4 input-group"><?php 
echo WUZHI_form::calendar('info[birthday]', date('Y-m-d', $memberinfo['birthday']), 0);
?>
</div>
                            </td>
                        </tr>
                        <tr>
                            <th align="right">身份证号码:</th>
                            <td><input name="identity_card" type="text" id="identity_card" size="30" value="<?php 
echo $memberinfo['identity_card'];
?>
"  class="input-text"/>
                            </td>
                        </tr>
                        <tr>
                            <th align="right">手机:</th>
                            <td><input name="mobile" type="text" id="mobile" size="30" value="<?php 
Example #19
0
		&nbsp;文件名 <input type="text" class="filename" value="<?php 
echo $GLOBALS['name'];
?>
" name="name">
		&nbsp;Tags <input type="text"  class="tags" value="<?php 
echo $GLOBALS['tags'];
?>
" name="tags">
		&nbsp;
		<?php 
$options['0'] = '排序规则';
$options['1'] = '文件从大到小';
$options['2'] = '文件从小到大';
$options['3'] = '上传时间倒序';
$options['4'] = '上传时间正序';
echo WUZHI_form::select($options, isset($GLOBALS['order']) ? intval($GLOBALS['order']) : '', 'name="order" class="form-control" ');
?>
		<button type="submit" class="btn btn-info">搜索</button>
		</form>
	</header>


<div class="panel-body" id="panel-bodys">
<table class="table table-striped table-advance table-hover tablefixed">
	<thead>
	    <tr>
	    <th class="tablehead thw15">文件名</th>
		<th class="tablehead thw10">大小</th>
	    <th class="tablehead thw15 hidden-phone">上传时间</th>
	    <th class="tablehead thw10"></i>上传用户</th>
		<th class="tablehead thw10">使用次数</th>
Example #20
0
		&nbsp;Tag <input type="text" size="12" value="<?php 
echo $GLOBALS['tags'];
?>
" name="tags">
		&nbsp;
            <div class="input-group"><?php 
echo linkage(output($this->_cache, 'linkage'), 'linkage');
?>
</div>
            <div class="input-group"><?php 
$options['0'] = '排序规则';
$options['1'] = '使用从大到小';
$options['2'] = '使用从小到大';
$options['3'] = '创建时间倒序';
$options['4'] = '创建时间正序';
echo WUZHI_form::select($options, intval(output($GLOBALS, 'order')), 'name="order" class="form-control"');
?>
            </div>
		<button type="submit" class="btn btn-info">搜索</button>
		</form>
	</header>


<div class="panel-body" id="panel-bodys">
<table class="table table-striped table-advance table-hover">
	<thead>
	    <tr>
		<th class="tablehead">ID</th>
	    <th class="tablehead">TAG名</th>
		<th class="tablehead">使用次数</th>
	    <th class="tablehead hidden-phone">创建时间</th>
Example #21
0
 disabled> 后台管理员</label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 col-xs-4 control-label">公告结束时间</label>
                            <div class="col-lg-1 col-sm-2 col-xs-1 input-group">
                                <?php 
echo WUZHI_form::calendar('endtime', $endtime, 1);
?>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 col-xs-4 control-label">公告内容</label>
                            <div class="col-lg-8 col-sm-8 col-xs-8 input-group">
                                <?php 
echo WUZHI_form::editor('form[content]', 'content', $r['content']);
?>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 col-xs-4 control-label">公告备注(管理员可见)</label>
                            <div class="col-lg-8 col-sm-8 col-xs-8 input-group">
                                <textarea name="form[note]" class="form-control" cols="60" rows="3"><?php 
echo $r['note'];
?>
</textarea>                </div>
                        </div>

                        <div class="form-group">
                        <label class="col-sm-2 col-xs-4 control-label"></label>
Example #22
0
			            	</div>
						</td>
					</tr>
					<tr>
						<td class="col-sm-2 col-xs-4 text-right"><label class="control-label">VIP</label></td>
						<td>
							<div class="col-lg-3 col-sm-4 col-xs-4 input-group"><?php 
echo WUZHI_form::calendar('info[viptime]', '', 1);
?>
</div>
						</td>
					</tr>
					<tr>
						<td class="col-sm-2 col-xs-4 text-right"><label class="control-label">锁定</label></td>
						<td><div class="col-lg-3 col-sm-4 col-xs-4 input-group"><?php 
echo WUZHI_form::calendar('info[locktime]', '', 1);
?>
</div></td>
					</tr>
					<tr>
						<td class="col-sm-2 col-xs-4 text-right"><label class="control-label"></label></td>
						<td>
							<div class="col-lg-4 col-lg-3 col-sm-4 col-xs-4 input-group panel-footer">
                    		<input class="btn btn-info col-sm-12 col-xs-12" type="submit" name="submit" value="提交">
                			</div>
						</td>
					</tr>
				</tbody>
			</table>

Example #23
0
                             <label class="col-sm-2 col-xs-4 control-label">数据表名</label>
                             <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                                 <input type="text" class="form-control" name="tablename"  value="">
                             </div>
                         </div>
                         <div class="form-group">
                             <label class="col-sm-2 col-xs-4 control-label">备注</label>
                             <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                                 <textarea name="remark" class="form-control" cols="60" rows="3"></textarea>
                             </div>
                         </div>
                         <div class="form-group">
                             <label class="col-sm-2 col-xs-4 control-label">内容页默认模版</label>
                             <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                                 <?php 
 echo WUZHI_form::templates('content', '', 'name="template"  class="form-control" style="width:auto;"', 'show');
 ?>
                             </div>
                         </div>
                         <div class="form-group">
                             <label class="col-sm-2 col-xs-4 control-label">模型标识图(可选)</label>
                             <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                                 <input type="text" id="iconcss" name="css" class="form-control" value="">
                                 <div class="input-group-btn">
                                     <button type="button" class="btn btn-white dropdown-toggle" data-toggle="dropdown">选择图标 <span class="caret"></span></button>
                                     <ul class="dropdown-menu pull-right">
                                         <li><a href="javascript:s_icon('icon-file-word-o');"><i class="icon-file-word-o btn-sm"></i>图标 1</a></li>
                                         <li><a href="javascript:s_icon('icon-file-photo-o');"><i class="icon-file-photo-o btn-sm"></i>图标 2</a></li>
                                         <li><a href="javascript:s_icon('icon-file-zip-o');"><i class="icon-file-zip-o btn-sm"></i>图标 3</a></li>
                                         <li><a href="javascript:s_icon('icon-file-movie-o');"><i class="icon-file-movie-o btn-sm"></i>图标 4</a></li>
                                     </ul>
Example #24
0
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 col-xs-4 control-label">名称</label>
                            <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                                <input type="text" class="form-control" name="form[name]" color="#000000" datatype="*"  errormsg="请输入标题" value="<?php 
echo $r['name'];
?>
">
                            </div>
                        </div>
                        <div class="form-group hide" id="models">
                            <label class="col-sm-2 col-xs-4 control-label">绑定模型</label>
                            <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                                <?php 
echo WUZHI_form::select(key_value($models, 'modelid', 'name'), $r['modelid'], 'name="modelid" class="form-control "', '--不限模型--');
?>
                            </div>
                        </div>
                        <div class="form-group hide" id="rssid">
                            <label class="col-sm-2 col-xs-4 control-label">RSS源</label>
                            <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                                <input type="text" class="form-control" name="form[rssurl]" color="#000000" datatype="url|*0-100"  errormsg="请输入正确的网址!" value="<?php 
echo $r['url'];
?>
">
                            </div>
                        </div>
                        <div class="form-group hide" id="jsonid">
                            <label class="col-sm-2 col-xs-4 control-label">JSON源</label>
                            <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label">链接地址</label>
                <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                    <input type="text" class="form-control" name="form[url]" color="#000000" value="<?php 
echo $r['url'];
?>
">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label">logo</label>
                <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                    <?php 
echo WUZHI_form::attachment('', '1', 'form[logo]', $r['logo']);
?>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label">备注</label>
                <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                    <textarea class="form-control" name="form[remark]" id="remark" cols="80" rows="5"><?php 
echo $r['remark'];
?>
</textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-4 control-label"></label>
Example #26
0

                            <div role="tabpanel" class="tab-pane fade" id="tabs2" aria-labelledby="2tab">
                                <?php 
if (empty($order_values)) {
    ?>
<div style="padding: 50px;text-align: center;">您当前没有任何订单可以申请发票</div>
                                <?php 
} else {
    ?>
                                <form name="myform" action="index.php?m=receipt&f=receipt&v=apply" method="post" id="myform">
                                    <table class="table table-striped table-advance table-hover">
                                        <tbody><tr>
                                            <th width="150" align="right">选择订单:</th>
                                            <td><?php 
    echo WUZHI_form::select($order_values, 0, 'name="orderid" class="input-sm"', '');
    ?>
</td>
                                        </tr>
                                        <tr>
                                            <th align="right">发票抬头:</th>
                                            <td><input name="title" type="text" id="title" size="30" value=""></td>
                                        </tr>
                                        <tr>
                                            <th align="right">收件人姓名:</th>
                                            <td><input name="linkman" type="text" id="linkman" size="30" value=""></td>
                                        </tr>
                                        <tr>
                                            <th align="right">电 话:</th>
                                            <td><input name="tel" type="text" id="tel" size="30" value=""></td>
                                        </tr>
Example #27
0
                            <label class="col-sm-2 col-xs-4 control-label">绑定套餐(产品)</label>
                            <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                                <div class="input-group">
                                    <input type="hidden" name="form[id]" id="relation" value="">
                                    <input type="text" name="relation_search" id="relation_search" class="form-control" readonly datatype="*1-100" nullmsg="请选择套餐">
<span class="input-group-btn">
<button class="btn btn-white" type="button" onclick="select_content(2)">选择套餐</button>
</span>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 col-xs-4 control-label">截至时间</label>
                            <div class="col-lg-1 col-sm-2 col-xs-2 pull-left input-group">
                                <?php 
echo WUZHI_form::calendar('endtime', $endtime);
?>
                            </div>
                            <div class="col-sm-4 col-xs-10"><span class="help-block"><i class="icon-info-circle"></i>点击输入框选择日期</span></div>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-2 col-xs-4 control-label">备注(管理员可见)</label>
                            <div class="col-lg-3 col-sm-4 col-xs-4 input-group">
                                <textarea name="form[admin_note]" class="form-control" cols="60" rows="3"></textarea>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 col-xs-4 control-label">下载-线下发送</label>
Example #28
0
                    <input type="text" class="form-control" name="form[name]" color="#000000" datatype="*2-30" errormsg="至少2个字符,最多20个字符!">
                </div>
            </div>


            <div class="form-group">
                <label class="col-sm-2 control-label">链接地址</label>
                <div class="col-sm-4 input-group">
                    <input type="text" class="form-control" name="form[url]" color="#000000">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">logo</label>
                <div class="col-sm-4 input-group">
                    <?php 
echo WUZHI_form::attachment('', '1', 'form[logo]', '');
?>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">备注</label>
                <div class="col-sm-5 input-group">
                    <textarea class="form-control" name="form[remark]" id="remark" cols="80" rows="5"></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-10 input-group">
                    <input class="btn btn-info" type="submit" name="submit" value="提交">
                </div>
            </div>