<div class="box-top"></div> <div class="box-content"> <div class="head"> <h2>代金券</h2> <ul class="filter"> <li><form method="get">项目ID:<input type="text" name="tid" value="<?php echo htmlspecialchars($tid); ?> " class="h-input" /> 商户ID:<input type="text" name="pid" value="<?php echo htmlspecialchars($pid); ?> " class="h-input" /> 代号:<input type="text" name="code" value="<?php echo htmlspecialchars($code); ?> " class="h-input" /> 状态:<select name="state"><?php echo Utility::Option($usage, $state, '所有'); ?> </select> <input type="submit" value="筛选" class="formbutton" style="padding:1px 6px;"/> <input type="submit" name="download" value="下载" class="formbutton" style="padding:1px 6px;"/><form></li> </ul> </div> <div class="sect"> <table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table"> <tr><th width="120">ID</th><th width="40">面额</th><th width="120">代号</th><th width="80">有效期限</th><th width="100">状态</th><th width="380">商户名称</th><th width="120">操作</th></tr> <?php if (is_array($cards)) { foreach ($cards as $index => $one) { ?> <tr <?php echo $index % 2 ? '' : 'class="alt"'; ?> id="team-list-id-<?php
function group_edit_select($name, $value, $class, $options) { $class .= " group_span"; return '<select type="text" class="' . $class . '" name="' . $name . '[]" />' . Utility::Option($options, $value) . '</select>'; }
<div class="sect dqyz pos_re"> <form action="/biz/coupon/multiverify.php" method="post" class="validator" > <div class="field" style="padding-bottom:5px; margin-top:0px; background-color:#F2F2F2; width:670px; padding-left:20px; padding-top:15px;"> <label>选择项目</label> <select name="team_id" id="team_id" style="font-family:'微软雅黑';font-size:24px;width:560px;padding:5px;"> <option value="">---请选择一个团购项目---</option> <?php if(count($teamss) > 0){?> <?php echo Utility::Option($teamss); ?> <?php } else { ?> <option value="0">暂无团购项目(无法验证)</option> <?php }?> </select> </div> <div class="field" style="padding-bottom:5px; margin-top:0px; background-color:#F2F2F2; width:670px; padding-left:20px; padding-top:15px;"> <label>选择分店</label>
<?php require_once dirname(dirname(dirname(__FILE__))) . '/app.php'; need_manager(); need_auth('team'); $key = $_GET["value"]; $condition = array(); if ($key) { $condition[] = "title like '%" . mysql_escape_string($key) . "%'"; } $partner = DB::LimitQuery('partner', array('condition' => $condition, 'order' => 'ORDER BY id DESC')); if (!$partner) { die('0'); } $partners = Utility::OptionArray($partner, 'id', 'title'); die(Utility::Option($partners));
echo mcurrent_system('template'); ?> </ul> </div> <div id="content" class="clr mainwide"> <div class="clr box"> <div class="box-top"></div> <div class="box-content"> <div class="head"><h2>Edit Template</h2></div> <div class="sect"> <form method="post"> <div class="wholetip clr"><h3>include/template/Writable files are editable</h3></div> <div class="field"> <label>Choose Template</label> <select name="template_id" id="manage_system_template_id" class="f-input" onchange="X.manage.loadtemplate(this.options[this.selectedIndex].value);"><?php echo Utility::Option($may, $template_id, '-'); ?> </select> </div> <?php if ($content || $template_id) { ?> <div class="field"> <label>Edit Content</label> <div style="float:left;"><textarea cols="90" rows="25" name="content"><?php echo htmlspecialchars($content); ?> </textarea></div> </div> <?php }
<div class="field"> <label>门店展示</label> <input type="text" size="30" name="open" id="partner-edit-open" class="number" value="<?php echo $store['open']; ?>" maxLength="1" require="true" datatype="english" style="text-transform:uppercase;" /><span class="inputtip">Y:前台门店展示 N:不参与前台门店展示</span> </div> <div class="field"> <label>排序字段</label> <input type="text" size="10" name="head" value="<?php echo abs(intval($store['head'])); ?>" class="number"/><span class="inputtip">数字大的排的靠前</span> </div> <div class="field"> <label>所属商家</label> <select name="partner_id" id="partner_select" class="f-input f-hint" style="width:360px;"><?php echo Utility::Option($partners, $store['partner_id'], '------ 请选择商户 ------'); ?></select> <input type="text" size="30" name="p_id" id="partner_id" class="partner f-f-input" /> </div> <div class="field"> <label>城市</label> <select name="city_id" class="f-input f-hint" style="width:160px;"><?php echo Utility::Option(option_category('city'), $store['city_id'], '-选择城市-'); ?></select> 行政区 <select name="region" style="float:none; width:160px;" class="f-input f-hint" style="width:160px;"><?php echo Utility::Option(option_category('store'), $store['group_id']); ?></select> </div> <div class="field"> <label>地图坐标</label> <input type="text" size="30" name="longlat" style="width:300px;cursor:point;" class="f-input f-hint" id="inputlonglat" value="<?php echo $store['longlat']; ?>" /> <span class="inputtip"> <a href="http://api.map.baidu.com/lbsapi/getpoint/index.html" target="_blank">查坐标</a> </span> </div> <div class="wholetip clear"><h3>3、基本信息</h3></div> <div class="field"> <label>门店品类</label> <input type="text" size="30" name="type" id="partner-create-homepage" class="f-input f-hint" value="<?php echo $store['type']; ?>"/> </div> <div class="field"> <label>门店电话</label>
<div class="box-content"> <div class="head"> <h2>提现申请</h2> <a href="?cbday=<?php echo date('Y-m-d',time()-3600*24*1); ?>&ceday=<?php echo date('Y-m-d'); ?>">昨日申请</a> | <a href="?cbday=<?php echo date('Y-m-d'); ?>&ceday=<?php echo date('Y-m-d',time()+3600*24*1); ?>">今日申请</a> <?php if($login_user_id <=2 ){?><span style="background: #FFFF99">提现申请累计:<?php echo moneyit($sumwithdrawmoney); ?>元 / 实际支付累计:<?php echo moneyit($sumwithdrawpay); ?>元</span><?php }?> <ul class="filter"> <li><a href="/manage/caiwu/withdraw.php?status=ask">申请提现</a>(<?php echo $count_ask; ?>)</li> <li><a href="/manage/caiwu/withdraw.php?status=be">成功提现</a>(<?php echo $count_be; ?>)</li> <li><a href="/manage/caiwu/withdraw.php?status=no">拒绝提现</a>(<?php echo $count_no; ?>)</li> <li><a href="/manage/caiwu/withdraw.php?status=cancel">取消提现</a>(<?php echo $count_cancel; ?>)</li> </ul> </div> <div class="sect" style="padding:0 10px;"> <form method="get"> <p style="margin:5px 0;">用户:<input type="text" name="uemail" class="h-input" value="<?php echo htmlspecialchars($uemail); ?>" > 管理员ID:<input type="text" name="adminemail" class="h-input" value="<?php echo htmlspecialchars($adminemail); ?>" style="width:50px;" > 管理员真名:<input type="text" name="adminname" class="h-input" value="<?php echo htmlspecialchars($adminname); ?>" style="width:50px;" > <select name="withdraw_direction"><?php echo Utility::Option($option_withdraw_direction, $withdraw_direction, '提现方式'); ?></select> <select name="status"><?php echo Utility::Option($option_status, $status, '申请状态'); ?></select> 内容:<input type="text" name="content" class="h-input" value="<?php echo htmlspecialchars($content); ?>" ></p> <p style="margin:5px 0;">申请日期:<input type="text" class="h-input" onFocus="WdatePicker({isShowClear:true})" name="cbday" value="<?php echo $cbday; ?>" /> - <input type="text" class="h-input" onFocus="WdatePicker({isShowClear:true})" name="ceday" value="<?php echo $ceday; ?>" /> 操作日期:<input type="text" class="h-input" onFocus="WdatePicker({isShowClear:true})" name="dbday" value="<?php echo $dbday; ?>" /> - <input type="text" class="h-input" onFocus="WdatePicker({isShowClear:true})" name="deday" value="<?php echo $deday; ?>" /> <input type="submit" value="筛选" class="formbutton" style="padding:1px 6px;"/></p> </form> </div> <div class="sect"> <table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table"> <tr><td colspan="10"><?php echo $pagestring; ?></tr> <tr><th width="50">ID</th><th width="200">申请用户</th><th width="80">用户余额</th><th width="80">申请金额</th><th width="100" nowrap>申请时间</th><th width="100" nowrap>提现方式</th><th width="100" nowrap>实际支付</th><th width="50" nowrap>操作</th></tr> <?php if(is_array($applys)){foreach($applys AS $index=>$one) { ?> <tr <?php echo $index%2?'':'class="alt"'; ?> id="dialog-apply-id" aid="<?php echo $one['id']; ?>"> <td><?php echo $one['id']; ?></td> <td><a href="/ajax/manage.php?action=userview&id=<?php echo $one['user_id']; ?>" class="ajaxlink"><?php echo $users[$one['user_id']]['email']; ?><br/><?php echo $users[$one['user_id']]['username']; ?></a><?php if(Utility::IsMobile($users[$one['user_id']]['mobile'])){?> » <a href="/ajax/misc.php?action=sms&v=<?php echo $users[$one['user_id']]['mobile']; ?>" class="ajaxlink">短信</a><?php }?> </td> <td><?php echo moneyit($users[$one['user_id']]['money']); ?></td>
<div class="dashboard" id="dashboard"> <ul><?php echo mcurrent_system('sms'); ?></ul> </div> <div id="content" class="clear mainwide"> <div class="clear box"> <div class="box-top"></div> <div class="box-content"> <div class="head"> <h2>短信配置</h2> <ul class="filter"><?php echo current_system_sms($s); ?></ul> </div> <div class="sect"> <form method="post" id="inputForm"> <div class="field"> <label>短信模板选择</label> <select name="template_id" id="manage_system_template_id" class="f-input" onchange="loadSmsTemplate(this.options[this.selectedIndex].value);"><?php echo Utility::Option($may, $template_id, '-'); ?></select> </div> <?php if($content||$template_id){?> <div class="field"> <label>变量选择</label> <?php if(is_array($varbs)){foreach($varbs AS $name=>$title) { ?> <span class="templatebutton" title="$title" onclick="insertText(inputForm.content,'<?php echo $name; ?>');"><?php echo $title; ?></span> <?php }}?> </div> <?php if($template_id == 'manage_tpl_smscoupon.html'){?> <div class="field"> <label></label> <div class="templatehint"><font color="red">【项目自定义内容】</font>说明:<br/>例如要在优惠券中要增加商家电话,请先在对应团购项目中的'FLV视频短片'中输入:如'商家电话:4001234567'即可</div> </div> <?php }?> <div class="field">
<div class="dashboard" id="dashboard"> <ul><?php echo mcurrent_user('index'); ?></ul> </div> <div id="content" class="coupons-box clear mainwide"> <div class="box clear"> <div class="box-top"></div> <div class="box-content"> <div class="head"> <h2>用户列表 <a style="font-size:12px;color:#000000" href="/manage/user/create.php">新建会员</a> </h2> <div class="sect" style="padding:10px 10px;"> <form action="/manage/user/index.php" method="get"> 用户名:<input type="text" name="uname" class="f-input" style="width:90px" value="<?php echo htmlspecialchars($uname); ?>" > 邮件:<input type="text" name="like" class="f-input" value="<?php echo htmlspecialchars($like); ?>" > <select name="ucity" style="width:110px;"><?php echo Utility::Option(option_category('city'), $ucity, '所有城市'); ?></select> <br/> 手机:<input type="text" name="mobile" class="f-input" value="<?php echo htmlspecialchars($mobile); ?>" > 购买次数大于<input type="text" name="numbers" class="f-input" value="<?php echo $numbers; ?>" style="width:20px"> 购买金额大于<input type="text" name="prices" class="f-input" value="<?php echo $prices; ?>" style="width:30px"> 余额大于<input type="text" name="havemoney" class="f-input" value="<?php echo $havemoney; ?>" style="width:20px"> <input type="submit" value="筛选" class="formbutton" style="padding:1px 6px;"/> <form> </div> </div> <div class="sect"> <table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table"> <tr><th width="50">ID</th><th width="200">Email/用户名</th><th width="100" nowrap>姓名/城市</th><th width="40">余额</th><th width="40">邮编</th><th width="120">注册IP/注册时间</th></th><th width="90">联系电话</th><th width="130">操作</th></tr> <?php if(is_array($users)){foreach($users AS $index=>$one) { ?> <tr <?php echo $index%2?'':'class="alt"'; ?> id="team-list-id-<?php echo $one['id']; ?>"> <td><?php echo $one['id']; ?></td>
</div> <div id="content" class="coupons-box clear mainwide"> <div class="box clear"> <div class="box-top"></div> <div class="box-content"> <div class="head"> <h2>用户列表</h2> <ul class="filter"> <li><form action="/manage/user/index.php" method="get">用户名:<input type="text" name="uname" class="h-input" style="width:90px" value="<?php echo htmlspecialchars($uname); ?> " > 邮件:<input type="text" name="like" class="h-input" value="<?php echo htmlspecialchars($like); ?> " > <select name="ucity" style="width:110px;"><?php echo Utility::Option(option_category('city'), $ucity, '所有城市'); ?> </select> 购买次数大于<input type="text" name="numbers" class="h-input" value="<?php echo $numbers; ?> " style="width:20px"> 购买金额大于<input type="text" name="prices" class="h-input" value="<?php echo $prices; ?> " style="width:30px"> 余额大于<input type="text" name="havemoney" class="h-input" value="<?php echo $havemoney; ?> " style="width:20px"> <input type="submit" value="筛选" class="formbutton" style="padding:1px 6px;"/><form></li> </ul> </div> <div class="sect"> <table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
?> </ul> </div> <div id="content" class="coupons-box clear mainwide"> <div class="box clear"> <div class="box-top"></div> <div class="box-content"> <div class="head"> <h2>管理员操作日志</h2> <ul class="filter"> <li><form action="/manage/misc/logger.php" method="get">项目: <input type="text" class="h-input" name="search" value="<?php echo htmlspecialchars($title); ?> " > <select name="type"><?php echo Utility::Option($option_logger, $type, '分类'); ?> </select> <input type="submit" value="筛选" class="formbutton" style="padding:1px 6px;"/> </form></li> <li><form action="/manage/misc/logger.php" method="post"> <input type="hidden" name="clear_data" value="1" /> <input type="submit" value="清空操作日志" class="formbutton" style="padding:1px 6px;" onclick="return confirm('确定清空数据?')";/> </form></li> </ul> </div> <div class="sect"> <table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table"> <tr> <th width="60">记录id</th> <th width="60">用户id</th> <th width="100">邮箱</th>
echo mcurrent_misc('ask'); ?> </ul> </div> <div id="content" class="coupons-box clear mainwide"> <div class="box clear"> <div class="box-top"></div> <div class="box-content"> <div class="head"> <h2>项目咨询</h2> <ul class="filter"> <li><form action="/manage/misc/ask.php" method="get">项目:<input type="text" class="h-input" name="title" value="<?php echo htmlspecialchars($title); ?> " > <select name="type"><?php echo Utility::Option($option_ask, $type, '分类'); ?> </select> <input type="submit" value="筛选" class="formbutton" style="padding:1px 6px;"/><form></li> </ul> </div> <div class="sect"> <table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table"> <tr><th width="260">项目名称</th><th width="60">咨询人</th><th width="200">咨询</th><th width="200">答复</th><th width="120">操作</th></tr> <?php if (is_array($asks)) { foreach ($asks as $index => $one) { ?> <tr <?php echo $index % 2 ? '' : 'class="alt"'; ?> id="team-list-id-<?php
echo mcurrent_credit('index'); ?> </ul> </div> <div id="content" class="coupons-box clear mainwide"> <div class="box clear"> <div class="box-top"></div> <div class="box-content"> <div class="head"> <h2>积分记录</h2> <ul class="filter"> <li><form action="/manage/credit/index.php" method="get">用户:<input type="text" name="uemail" class="h-input" value="<?php echo htmlspecialchars($uemail); ?> " > <select name="action" style="width:120px;"><?php echo Utility::Option($option_action, $action, '所有操作'); ?> </select> <input type="submit" value="筛选" class="formbutton" style="padding:1px 6px;"/><form></li> </ul> </div> <div class="sect"> <table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table"> <tr><th width="50">ID</th><th width="200">Email/用户名</th><th width="100" nowrap>姓名/城市</th><th width="40">积分</th><th width="400">详情</th><th width="100">操作</th></tr> <?php if (is_array($credits)) { foreach ($credits as $index => $one) { ?> <tr <?php echo $index % 2 ? '' : 'class="alt"'; ?> id="team-list-id-<?php
<?php include template("manage_header");?> <div id="bdw" class="bdw"> <div id="bd" class="cf"> <div id="coupons"> <div class="dashboard" id="dashboard"> <ul><?php echo mcurrent_store('index'); ?></ul> </div> <div id="content" class="coupons-box clear mainwide"> <div class="box clear"> <div class="box-top"></div> <div class="box-content"> <div class="head"> <h2>门店</h2> <ul class="filter"><li><form method="get">门店名称:<input type="text" name="ptitle" class="h-input" value="<?php echo htmlspecialchars($ptitle); ?>" > <select name="open" class="h-input"><?php echo Utility::Option($option_open, $open, '展示'); ?></select> <select name="city_id" class="h-input"><?php echo Utility::Option(option_category('city'), $city_id, '全部城市'); ?></select> <select name="partner_id" style="width:280px;" class="h-input"><?php echo Utility::Option($partners, $partner_id, '全部商家'); ?></select> <input type="submit" value="筛选" class="formbutton" style="padding:1px 6px;"/><form></li></ul> </div> <div class="sect"> <table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table"> <tr><th width="40">ID</th><th width="320">名称</th><!--<th width="60">分类</th>--><th width="120">联系人</th><th width="130">电话号码</th><th width="60">展示</th><th width="40">排序</th><th width="100">操作</th></tr> <?php if(is_array($stores)){foreach($stores AS $index=>$one) { ?> <tr <?php echo $index%2?'':'class="alt"'; ?> id="team-list-id-<?php echo $one['id']; ?>"> <td><?php echo $one['id']; ?></td> <td style="text-align:left;"><a class="deal-title" href="/manage/store/edit.php?id=<?php echo $one['id']; ?>"><?php echo $one['name']; ?></a></td> <!--<td nowrap><?php echo $groups[$one['group_id']]; ?><br/><?php echo $cities[$one['city_id']]; ?></td>--> <td nowrap><?php echo $one['contact']; ?></td> <td nowrap><?php echo $one['telphone']; ?></td> <td nowrap><?php echo $one['open']; ?></td> <td nowrap><?php echo $one['head']; ?></td> <td class="op" nowrap><a href="/manage/store/edit.php?id=<?php echo $one['id']; ?>">编辑</a>|<a href="/ajax/manage.php?action=storeremove&id=<?php echo $one['id']; ?>" class="ajaxlink" ask="确定删除本商户?">删除</a></td> </tr> <?php }}?>
<div class="field password"> <label>登录密码</label> <input type="password" size="30" name="password" id="settings-password" class="f-input" require="true" datatype="require" /> </div> <div class="field password"> <label for="create-password-confirm">确认密码</label> <input type="password" size="30" name="password2" id="create-password" class="f-input" require="true" datatype="compare" compare="settings-password" /> </div> <div class="wholetip clear"><h3>2、标注信息</h3></div> <div class="field"> <label>城市及分类</label> <select name="city_id" class="f-input" style="width:160px;"><?php echo Utility::Option(option_category('city'), $partner['city_id'], '-选择城市-'); ?> </select> <select name="group_id" class="f-input" style="width:160px;"><?php echo Utility::Option(option_category('partner'), $partner['group_id']); ?> </select> </div> <div class="field"> <label>商家图片</label> <input type="file" size="30" name="upload_image" id="partner-create-image" class="f-input" /> <span class="hint">至少要上传一张商家图片, 高质量的商家图片有利于卖家更详细的了解您.</span> </div> <div class="field"> <label>商家图片1</label> <input type="file" size="30" name="upload_image1" id="partner-create-image1" class="f-input" /> </div> <div class="field"> <label>商家图片2</label> <input type="file" size="30" name="upload_image2" id="partner-create-image2" class="f-input" />
<select name="option[rewritecity]" style="float:left;"><?php echo Utility::Option($option_yn, option_yesv('rewritecity')); ?> </select><span class="inputtip">以 "/cityname" 形式重写首页网址</span> </div> <div class="field"> <label>团购项目</label> <select name="option[rewriteteam]" style="float:left;"><?php echo Utility::Option($option_yn, option_yesv('rewriteteam')); ?> </select><span class="inputtip">以 "/team/12345.html" 形式重写项目页面网址</span> </div> <div class="field"> <label>品牌商户</label> <select name="option[rewritepartner]" style="float:left;"><?php echo Utility::Option($option_yn, option_yesv('rewritepartner')); ?> </select><span class="inputtip">以 "/partner/12345.html" 形式重写商户页面网址</span> </div> <div class="act"> <input type="submit" value="保存" name="commit" class="formbutton" /> </div> </form> </div> </div> <div class="box-bottom"></div> </div> </div> <div id="sidebar"> </div>
<form method="post"> <div class="field"> <label>模板切换</label> <select name="skin[template]" class="f-input" style="width:200px;"><?php echo Utility::Option(ZSystem::GetTemplateList(), $INI['skin']['template']); ?> </select> <span class="hint">模板安装于 [<?php echo DIR_ROOT; ?> /template] 目录下,仅默认模板支持多主题切换</span> </div> <div class="field"> <label>主题切换</label> <select name="skin[theme]" class="f-input" style="width:200px;"><?php echo Utility::Option(ZSystem::GetThemeList(), $INI['skin']['theme']); ?> </select> <span class="hint">主题安装于 [<?php echo WWW_ROOT; ?> /static/theme] 目录下,仅默认模板支持多主题切换</span> </div> <div class="act"> <input type="submit" value="保存" name="commit" class="formbutton"/> </div> </form> </div> </div> <div class="box-bottom"></div> </div>
?> " /> <table class="table table-noborder"> <tr> <td style="vertical-align: top"><b>考核意见</b></td> <td><textarea name="audit_content" id="audit_content" class="span12" style="height: 100px"><?php echo $audits[$status]['audit_content']; ?> </textarea></td> </tr> <tr> <td><b>通过否?</b></td> <td> <select name="audit_result"><?php echo Utility::Option($audit_opinions, $audits[$status]['audit_result']); ?> </select> </td> </tr> <tr> <td><b>考核人</b></td> <td><?php echo $audits[$status]['audit_user_name'] ? $audits[$status]['audit_user_name'] : $login_user['realname']; ?> </td> </tr> <?php if ($audits[$status]['audit_user_id'] and $audits[$status]['audit_user_id'] != $login_user['id']) { ?> <tr>
<ul><?php echo mcurrent_system('page'); ?> </ul> </div> <div id="content" class="clear mainwide"> <div class="clear box"> <div class="box-top"></div> <div class="box-content"> <div class="head"><h2>页面编辑</h2></div> <div class="sect"> <form method="post"> <div class="field"> <label>页面选择</label> <select name="id" id="manage_system_page_id" class="f-input" onchange="X.manage.loadpage(this.options[this.selectedIndex].value);"><?php echo Utility::Option($pages, $id, '-'); ?> </select> </div> <?php if ($content || $id) { ?> <div class="field"> <label>页面内容</label> <div style="float:left;"><textarea style="width:600px;height:450px;" class="editor" name="value"><?php echo htmlspecialchars($value); ?> </textarea></div> </div> <?php }
<select name="sub_id" class="f-input" id="sub_id" style="width:160px;"><option value="0">选择细分类</option><?php echo Utility::Option($level_groups, $team['sub_id']); ?></select> </div> <div class="field"> <label>项目城市</label> <input type="hidden" name="city_id" value="<?php echo $team['city_id']; ?>"> <span style="width:80px;float:left;"><input type="checkbox" id="city_all" name="city_ids[]" value="0" <?php if($team['city_id'] == 0){?>checked<?php }?>/>全部</span> <?php if(is_array($allcities)){foreach($allcities AS $index=>$one) { ?> <span style="width:80px;float:left;"> <input type="checkbox" class="city_checkbox" name="city_ids[]" value="<?php echo $one['id']; ?>" <?php if($team['city_id'] == $one['id'] or preg_match("/@".$one['id']."@/i", $team['city_ids']) or $team['city_id']==0){?>checked<?php }?>/><?php echo $one['name']; ?> </span> <?php }}?> </div> <div class="field" id="field_limit"> <label>限制条件</label> <select name="conduser" class="f-input" style="width:160px;margin-right:10px;"><?php echo Utility::Option($option_cond, $team['conduser']); ?></select> <select name="buyonce" class="f-input" style="width:160px;"><?php echo Utility::Option($option_buyonce, $team['buyonce']); ?></select> </div> <div class="field"> <label>项目标题</label> <input type="text" size="30" name="title" id="team-create-title" class="f-input" value="<?php echo htmlspecialchars($team['title']); ?>" datatype="require" require="true" /> </div> <div class="field"> <label>区域设置</label> <input type="text" size="30" name="team_quyu" id="team-create-team_quyu" class="f-input" value="<?php echo htmlspecialchars($team['team_quyu']); ?>" /> </div> <div class="field"> <label>简约标题</label> <input type="text" size="30" name="team_jybt" id="team-create-team_jybt" class="f-input" value="<?php echo htmlspecialchars($team['team_jybt']); ?>" datatype="require" require="true" /> </div> <div class="field">
<div class="box clear"> <div class="box-top"></div> <div class="box-content"> <div class="head"> <h2>商户</h2> <ul class="filter"><li><form method="get">商户名称:<input type="text" name="ptitle" class="h-input" value="<?php echo htmlspecialchars($ptitle); ?> " > <select name="open" class="h-input"><?php echo Utility::Option($option_open, $open, '全部秀'); ?> </select> <select name="city_id" class="h-input"><?php echo Utility::Option(option_category('city'), $city_id, '全部城市'); ?> </select> <select name="group_id" class="h-input"><?php echo Utility::Option(option_category('partner'), $group_id, '全部分类'); ?> </select> <input type="submit" value="筛选" class="formbutton" style="padding:1px 6px;"/><form></li></ul> </div> <div class="sect"> <table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table"> <tr><th width="40">ID</th><th width="320">名称</th><th width="60">分类</th><th width="120">联系人</th><th width="130">电话号码</th><th width="60">商户秀</th><th width="120">操作</th></tr> <?php if (is_array($partners)) { foreach ($partners as $index => $one) { ?> <tr <?php echo $index % 2 ? '' : 'class="alt"'; ?> id="team-list-id-<?php echo $one['id'];
<?php require_once(dirname(dirname(dirname(__FILE__))) . '/app.php'); need_manager(); $cid = $_GET["cateid"]; $condition = array( 'zone' => 'group', 'display' => 'Y', ); if ($cid) { $condition[] = " fid = ".$cid ; } $cate = DB::LimitQuery('category', array( 'condition' => $condition, 'order' => 'ORDER BY id DESC', )); if(!$cate) die('<option value="0">暂无细分类</option>'); $cates = Utility::OptionArray($cate, 'id', 'name'); die (Utility::Option($cates));
<!--kxx 增加--> <div class="field"> <label>排序</label> <input type="text" size="10" name="sort_order" id="team-create-sort_order" class="number" value="<?php echo $team['sort_order'] ? $team['sort_order'] : 0; ?> " datatype="number"/><span class="inputtip">请填写数字,数值大到小排序,主推团购应设置较大值</span> </div> <!--xxk--> <input type="hidden" name="guarantee" value="Y" /> <input type="hidden" name="system" value="Y" /> <div class="wholetip clear"><h3>2、项目信息</h3></div> <div class="field"> <label>商户</label> <select name="partner_id" id="partner_select" datatype="require" require="require" class="f-input" style="width:200px;"><?php echo Utility::Option($partners, $team['partner_id'], '------ 请选择商户 ------'); ?> </select> <input type="text" size="30" name="p_id" id="partner_id" class="partner" style="float: left;display:inline;width:200px;border-color: #89B4D6;border-style: solid;border-width: 1px;font-size: 14px;margin: 3px 15px 0 10px;padding: 5px 4px;" /><span class="inputtip">输入关键字查找, 商户为可选项</span> </div> <div class="field" id="field_card"> <label>代金券使用</label> <input type="text" size="10" name="card" id="team-create-card" class="number" value="<?php echo moneyit($team['card']); ?> " require="true" datatype="money" /> <span class="inputtip">可使用代金券最大面额</span> </div> <div class="field" id="field_card"> <label>邀请返利</label> <input type="text" size="10" name="bonus" id="team-create-bonus" class="number" value="<?php echo moneyit($team['bonus']);
</tr> <tr> <td height="35"> 自定密码特征: </td> <td> <input type=text name=extraChars size=20> </td> </tr> </table> </div> <div class="wholetip clear"><h3>2、标注信息</h3></div> <div class="field"> <label>城市及分类</label> <select name="city_id" class="f-input f-hint" style="width:160px;"><?php echo Utility::Option(option_category('city'), $partner['city_id'], '-选择城市-'); ?></select><select name="group_id" class="f-input f-hint" style="width:160px;"><?php echo Utility::Option(option_category('partner'), $partner['group_id']); ?></select> </div> <div class="field"> <label>排序字段</label> <input type="text" size="10" name="head" value="<?php echo abs(intval($partner['head'])); ?>" class="number"/><span class="inputtip">数字大的排的靠前</span> </div> <div class="field"> <label>结算周期</label> <input type="text" size="10" name="cycle_calculate" value="<?php echo abs(intval($partner['cycle_calculate'])); ?>" class="number"/><span class="inputtip">结算周期,到时自动提醒</span> </div> <div class="field"> <label>首页展示</label> <input type="text" size="30" name="display" id="partner-edit-display" class="number" value="<?php echo $partner['display']; ?>" maxLength="1" require="true" datatype="english" style="text-transform:uppercase;" /><span class="inputtip">Y:首页商户展示 N:不参与首页商户展示</span> </div> <div class="field"> <label>商户展示</label>
<div class="enter-address"> <p>One ridiculously huge coupon each day, on the best things to eat, see. Dont miss it do and buy it.</p> <div class="enter-address-c"> <form id="enter-address-form" action="/subscribe.php" method="post" class="validator"> <div class="mail"> <label>Enter your email address: </label> <input id="enter-address-mail" name="email" class="f-input f-mail" type="text" value="<?php echo $login_user['email']; ?> " size="20" require="true" datatype="email" /> <span class="tip">(Don't worry, your email is safe with us!)</span> </div> <div class="mail"> <label>Select your City:</label> <select name="city_id" class="f-input" style="width:150px;"><?php echo Utility::Option($cities, $city['id']); ?> </select> </div> <div class="city"> <label> </label> <input id="enter-address-commit" type="submit" class="submit" value="Submit" /> <?php if (false) { ?> <label>Subscribe City: <b><?php echo $city['name']; ?> </b></label> <input id="enter-address-commit" type="submit" class="submit" value="Submit" /> <span class="tip"><a id="subscribe-other" href="/city.php?r=<?php
</div> <div class="field"> <label>Special Hint</label> <div style="float:left;"><textarea cols="45" rows="5" name="notice" id="team-create-notice" class="xheditor-simple"><?php echo $team['notice']; ?> </textarea></div> <span class="hint">Detailed information and valid date of this deal</span> </div> <input type="hidden" name="guarantee" value="Y" /> <input type="hidden" name="system" value="Y" /> <div class="wholetip clr"><h3>2. Information About This Deal</h3></div> <div class="field"> <label>Partner</label> <select name="partner_id" datatype="require" require="true"><?php echo Utility::Option($partners, $team['partner_id'], '------ Choose Partner ------'); ?> </select> </div> <div class="field"> <label>Item's Name</label> <input type="text" size="30" name="product" id="team-create-product" class="f-input" value="<?php echo $team['product']; ?> " datatype="require" require="true" /> </div> <div class="field"> <label>Product Picture</label> <input type="file" size="30" name="upload_image" id="team-create-image" class="f-input" /> <span class="hint">At least one picture.</span> </div>
<input type="text" size="30" name="gopay[acc]" class="f-input" style="width:200px;" value="<?php echo $INI['gopay']['acc']; ?> "/><span class="inputtip">国付宝转入账号</span> </div> <div class="field"> <label>商户识别码</label> <input type="text" size="30" name="gopay[code]" class="f-input" style="width:200px;" value="<?php echo $INI['gopay']['code']; ?> "/><span class="inputtip">国付宝商户识别码</span> </div> <div class="field"> <label>网银直连</label> <select name="gopay[direct]" class="f-input" style="width:200px;"><?php echo Utility::Option($option_yn, $INI['gopay']['direct']); ?> </select><span class="inputtip">直接显示网银支付选项</span> </div> <!-- gopay/End --> <!-- other --> <div class="wholetip clear"><h3><?php echo ++$index; ?> 、其他支付手段</h3></div> <div class="field"> <label>支付信息</label> <div style="float:left;"><textarea cols="45" rows="5" name="other[pay]" class="f-textarea editor"><?php echo htmlspecialchars($INI['other']['pay']); ?> </textarea></div>
<div class="wholetip clear"><h3>3、QQ空间登录</h3></div> <div class="field"> <label>App ID</label> <input type="text" size="30" name="qzone[key]" class="f-input" value="<?php echo $INI['qzone']['key']; ?>" style="width:300px;"/><span class="inputtip"><a href="http://connect.opensns.qq.com/" target="_blank">申请网站APP key</a></span> </div> <div class="field"> <label>App KEY</label> <input type="text" size="30" name="qzone[sec]" class="f-input" value="<?php echo $INI['qzone']['sec']; ?>" style="width:300px;"/> </div> <div class="field"> <label>QQ空间登录</label> <select name="option[qzonelogin]" style="float:left;"><?php echo Utility::Option($option_yn, option_yesv('qzonelogin')); ?></select><span class="inputtip">是否开启QQ空间登录</span> </div> <div class="field"> <label>首次登录绑定</label> <select name="option[firstqzonelogin]" style="float:left;"><?php echo Utility::Option($option_yn, option_yesv('firstqzonelogin')); ?></select><span class="inputtip">是否开启首次用QQ空间登录后绑定(或新建)账号</span> </div> <div class="act"> <input type="submit" value="保存" name="commit" class="formbutton" /> </div> </form> </div> </div> <div class="box-bottom"></div> </div> </div> <div id="sidebar"> </div> </div>
<input type="password" size="30" name="password2" id="signup-password-confirm" class="f-input" require="true" datatype="compare" compare="signup-password" /> </div> <div class="field"> <label for="signup-password-confirm">手机号码</label> <input type="text" size="30" name="mobile" id="signup-mobile" class="number" require="<?php echo option_yes('needmobile') ? 'true' : 'require'; ?> " datatype="mobile" /><span class="inputtip">手机号码是我们联系您的最重要方式,并用于<?php echo $INI['system']['couponname']; ?> 的短信通知</span> </div> <div class="field city"> <label id="enter-address-city-label" for="signup-city">所在城市</label> <select name="city_id" class="f-city"><?php echo Utility::Option(Utility::OptionArray($hotcities, 'id', 'name'), $city['id']); ?> <option value='0'>其他</option></select> </div> <div class="field subscribe"> <label for="subscribe"></label> <input tabindex="3" type="checkbox" value="1" name="subscribe" id="subscribe" class="f-check" checked="checked" /> 订阅每日最新团购信息 </div> <div class="field"style="padding-left:120px;"> <span for="bizs">在您创建账户之前,请认真阅读<a href="/about/terms.php" target="_blank">买家协议</a></span> </div> <div style="color:#999;line-height:30px;padding-left:80px">您提交的信息,<?php echo $INI['system']['abbreviation'];
<div id="order-pay-dialog" class="order-pay-dialog-c" style="width:380px;"> <h3><span id="order-pay-dialog-close" class="close" onclick="return X.boxClose();">关闭</span><?php echo $category?'编辑':'新建'; ?><?php echo $zone[1]; ?></h3> <div style="overflow-x:hidden;padding:10px;"> <p>中文名称、英文名称:均要求分类唯一性</p> <form method="post" action="/manage/category/edit.php" class="validator"> <input type="hidden" name="id" value="<?php echo $category['id']; ?>" /> <input type="hidden" name="zone" value="<?php echo $zone[0]; ?>" /> <table width="96%" class="coupons-table"> <tr><td width="80" nowrap><b>中文名称:</b></td><td><input type="text" name="name" value="<?php echo $category['name']; ?>" require="true" datatype="require" class="f-input" /></td></tr> <tr><td nowrap><b>英文名称:</b></td><td><input type="text" name="ename" value="<?php echo $category['ename']; ?>" require="true" datatype="english" class="f-input" style="text-transform:lowercase;" /></td></tr> <tr><td nowrap><b>首字母:</b></td><td><input type="text" name="letter" value="<?php echo $category['letter']; ?>" maxLength="1" require="true" datatype="english" class="f-input" style="text-transform:uppercase;" /></td></tr> <tr><td nowrap><b>显示数量:</b></td><td><input type="text" name="show_number" value="<?php echo $category['show_number']; ?>" maxLength="2" require="true" datatype="english" class="f-input" style="text-transform:uppercase;" /></td></tr><tr><td nowrap><b>首页显示:</b></td><td><input type="text" name="show_number_i" value="<?php echo $category['show_number_i']; ?>" maxLength="2" require="true" datatype="english" class="f-input" style="text-transform:uppercase;" /></td></tr> <tr><td nowrap><b>所属分类:</b></td><td> <select name="fid" class="f-input" style="width:auto;"><option value="0">一级大类</option><?php echo Utility::Option($newcategory, $category['fid']); ?></select> </td></tr> <tr><td nowrap><b>导航显示(Y/N):</b></td><td><input type="text" name="display" value="<?php echo $category['display']; ?>" class="f-input" style="text-transform:uppercase;"/></td></tr> <tr><td nowrap><b>排序(降序):</b></td><td><input type="text" name="sort_order" value="<?php echo intval($category['sort_order']); ?>" class="f-input" /></td></tr> <tr><td colspan="2" height="10"><textarea cols="35" rows="5" name="index_fl_ts" id="team-create-index_fl_ts" class="f-textarea" datatype="require" require="true"><?php echo htmlspecialchars($category['index_fl_ts']); ?></textarea><br /> <textarea cols="35" rows="5" name="index_fl_more" id="team-create-index_fl_more" class="f-textarea" datatype="require" require="true"><?php echo htmlspecialchars($category['index_fl_more']); ?></textarea></td></tr> <tr><td></td><td><input type="submit" value="确定" class="formbutton" /></td></tr> </table> </form> </div> </div>