<td class="tl">接口类型</td> <td> <select name="setting[trade_tp]"> <option value="0" <?php if ($trade_tp == 0) { echo 'selected'; } ?> >平台商担保交易</option> <option value="1" <?php if ($trade_tp == 1) { echo 'selected'; } ?> >平台商双功能</option> </select> <?php tips('建议申请 平台商担保交易'); ?> </td> </tr> <tr> <td class="tl">接收服务器通知文件名</td> <td><input type="text" size="30" name="setting[trade_nu]" value="<?php echo $trade_nu; ?> "/> <?php tips('默认为notify.php 保存于 api/trade/alipay/1/notify.php(平台商担保交易)和api/trade/alipay/2/notify.php(平台商双功能)<br/>建议你修改此文件名,然后在此填写新文件名,以防受到骚扰'); ?> </td> </tr> </tbody>
<input type="hidden" name="action" value="<?php echo $action; ?> "/> <div class="tt"><?php echo $DT['credit_name']; ?> 奖惩</div> <table cellpadding="2" cellspacing="1" class="tb"> <tr> <td class="tl"><span class="f_red">*</span> 会员名</td> <td><textarea name="username" id="username" style="width:200px;height:100px;overflow:visible;"><?php echo $username; ?> </textarea><?php tips('允许批量添加,一行一个,点回车换行'); ?> <br/><span id="dusername" class="f_red"></span></td> </tr> <tr> <td class="tl"><span class="f_red">*</span> 类型</td> <td> <input name="type" type="radio" value="1" checked/> 收入 <input name="type" type="radio" value="0"/> 支出 </td> </tr> <tr> <td class="tl"><span class="f_red">*</span> 分值</td> <td><input name="amount" id="amount" type="text" size="10"/> <?php echo $DT['credit_unit']; ?>
<?php if ($MOD['show_html']) { ?> <tr> <td class="tl"><span class="f_hid">*</span> 自定义文件路径</td> <td><input type="text" size="50" name="post[filepath]" value="<?php echo $filepath; ?> " id="filepath"/> <input type="button" value="重名检测" onclick="ckpath(<?php echo $moduleid; ?> , <?php echo $itemid; ?> );" class="btn"/> <?php tips('可以包含目录和文件 例如 destoon/b2b.html<br/>请确保目录和文件名合法且可写入,否则可能生成失败'); ?> <span id="dfilepath" class="f_red"></span></td> </tr> <?php } ?> </table> <div class="sbt"><input type="submit" name="submit" value=" 确 定 " class="btn"/> <input type="reset" name="reset" value=" 重 置 " class="btn"/></div> </form> <?php load('clear.js'); if ($action == 'add') { ?> <form method="post" action="?"> <input type="hidden" name="moduleid" value="<?php
" id="v3"/></td> </tr> <tr> <td class="f_gray">例如:规格</td> <td class="f_gray">例如:10cm*20cm</td> </tr> </table> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 主要市场</td> <td><input name="post[market]" type="text" size="60" value="<?php echo $market; ?> "/><?php tips('多个市场请用|分割,用户可以在报价时选择市场,并按市场对比价格'); ?> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> SEO标题</td> <td><input name="post[seo_title]" type="text" size="60" value="<?php echo $seo_title; ?> "/></td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> SEO关键词</td> <td><input name="post[seo_keywords]" type="text" size="60" value="<?php echo $seo_keywords; ?>
</tr> <tr> <td class="tl"><span class="f_hid">*</span> 调用条件</td> <td><input type="text" name="setting[condition]" size="50" value="1" id="condition"/> <select onchange="Dd('condition').value=this.value"> <option value="">常用调用条件</option> <option value="1">不限条件</option> <option value="status=3">已发布的信息</option> <option value="status=3 and thumb<>''">有图的信息</option> <option value="status=3 and vip>0"><?php echo VIP; ?> 信息</option> </select> <?php tips('SQL语句的WHERE之后的条件语句,1表示不限条件<br>此项需要对MySQL语法有一定了解'); ?> </td> <td>condition</td> </tr> <tr> <td class="tl"><span class="f_red">*</span> 调用数量</td> <td><input type="text" name="setting[pagesize]" size="10" value="10" id="pagesize"/></td> <td>pagesize</td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 排序方式</td> <td><input type="text" name="setting[order]" size="30" id="order"/> <select onchange="Dd('order').value=this.value"> <option value="">常用排序方式</option> <option value="itemid desc">按信息ID排序</option>
<tr> <td class="tl"><span class="f_red">*</span> 广告代码</td> <td><textarea name="ad[code]" id="code" style="width:98%;height:150px;overflow:visible;font-family:Fixedsys,verdana;"><?php echo $code; ?> </textarea><br/> <input type="button" value=" 运行代码 " class="btn" onclick="runcode();"/> <span id="dcode" class="f_red"></span> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 上传文件</td> <td class="f_gray"><input type="text" size="60" id="upload"/> <span onclick="Dfile(<?php echo $moduleid; ?> , Dd('upload').value, 'upload');" class="jt">[上传]</span> <span onclick="if(Dd('upload').value) window.open(Dd('upload').value);" class="jt">[预览]</span> <span onclick="Dd('upload').value='';" class="jt">[删除]</span><?php tips('从这里上传文件后,把地址复制到代码里即可使用'); ?> </td> </tr> <?php } ?> <tr> <td class="tl"><span class="f_red">*</span> 投放时段</td> <td><?php echo dcalendar('ad[fromtime]', $fromtime); ?> 至 <?php echo dcalendar('ad[totime]', $totime); ?>
</tr> <tr> <td class="tl"><span class="f_red">*</span> 直接显示</td> <td> <input type="radio" name="post[display]" value="1" checked/> 是 <input type="radio" name="post[display]" value="0"/> 否 <?php tips('如果选择否,可以手动将本字段加入到对应的模板文件里,系统将不直接显示'); ?> </td> </tr> <tr> <td class="tl"><span class="f_red">*</span> 前台显示</td> <td> <input type="radio" name="post[front]" value="1" checked/> 是 <input type="radio" name="post[front]" value="0"/> 否 <?php tips('如果选择是,则会在前台显示,会员可以修改'); ?> </td> </tr> </table> <div class="sbt"><input type="submit" name="submit" value="确 定" class="btn"/> <input type="reset" name="reset" value="重 置" class="btn"/></div> </form> <script type="text/javascript"> function dhtml(id) { if(id == 'select' || id == 'radio' || id == 'checkbox') { Dd('tr_option').style.display = ''; Dd('tr_wh').style.display = 'none'; } else if(id == 'thumb' || id == 'editor') { Dd('tr_option').style.display = 'none'; Dd('tr_wh').style.display = ''; if(id == 'editor') {
<input type="text" name="condition" value="" size="80" id="condition"/> <br/> - 如果转移单条信息,则直接填写信息ID,例如 <span class="f_blue">123</span><br/> - 如果转移多条信息,则填用,分割信息ID,例如 <span class="f_blue">123,124,125</span> (结尾和开头不需要,)<br/> - 可直接写SQL调用条件,必须以and开头<br/> 例如 <span class="f_blue">and catid=123</span> 表示调用分类ID为123的信息<br/> 例如 <span class="f_blue">and itemid>0</span> 表示调用源模块所有信息<br/> 例如 <span class="f_blue">and price>0</span> 表示调用有价格的信息(一般为供应)<br/> </td> </tr> <tr> <td class="tl"><span class="f_red">*</span> 新分类</td> <td> <?php echo ajax_category_select('catid', '请选择', 0, 16, 'size="2" style="height:120px;width:180px;"'); tips('数据将被转移到此分类下'); ?> </td> </tr> <tr> <td class="tl"><span class="f_red">*</span> 删除源数据</td> <td> <input type="radio" name="delete" value="1" id="d_1"/> 是 <input type="radio" name="delete" value="0" id="d_0" checked/> 否 </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 注意事项</td> <td class="f_gray"> - 转移成功后请进入目标模型管理,更新新转移的信息,如果模型内容设置生成HTML,需要生成一下<br/> - 可能需要按信息ID降序搜索才可以看到新转移的信息<br/>
function range_($name, $name_control, $id, $tips, $from, $to, $rangeUnit, $value = "") { $tips = tips($tips); return '<div class="form-group"> <label>' . $name . ' ( ' . $rangeUnit . ' )</label> <input class="form-control" type="number" placeholder="from" id="' . $id . '" name="' . $name_control . '""> <label></label> <input class="form-control" type="number" placeholder="to" id="' . $id . '" name="' . $name_control . '""> ' . $tips . ' </div>'; }
} /* informaivo com HR */ if (substr($CP1, 0, 2) != '$A' and substr($CP1, 0, 2) != '$B') { $CP2 = '' . $CP2; } else { $CP2 = '' . $CP2; } /* Dados Adicionais */ if (strlen($CP3) > 0) { $CP2 .= '<br><FONT CLASS="lt0"><FONT color="#ff8888">' . $CP3 . '</font></font>'; } /* Outras Informacoes */ $obriga = trim($line['sub_obrigatorio']); $tips = trim($line['sub_informacao']); if (strlen($tips) > 0 and substr($CP1, 0, 2) != '$F') { $CP2 .= '<BR>' . tips('<img src="img/icone_information_mini.png" alt="" border="0">', $tips); } if (substr($CP1, 0, 2) == '$F') { $CP2 = '<B>' . $CP2 . '</B><BR><BR>' . mst($tips); } /////////////////////////////////////////////////// $ed = false; if ($ref == 'CLINIC') { if ($clinic == 1) { if ($CP1 == '$REGISTER_P') { require "register_unit.php"; $edx = true; $ed = true; } if ($CP1 == '$REGISTER_S') { require "register_unit_secundary.php";
<td> <input type="text" name="setting[express_limit]" size="5" value="<?php echo $express_limit; ?> "/> </td> </tr> <tr> <td class="tl">每日可发站内信限制</td> <td> <input type="text" name="setting[message_limit]" size="5" value="<?php echo $message_limit; ?> "/> <?php echo tips('询盘和报价为特殊的站内信,发送一次询盘或者报价会消耗一次站内信发送机会'); ?> </td> </tr> <tr> <td class="tl">每日询盘次数限制</td> <td> <input type="text" name="setting[inquiry_limit]" size="5" value="<?php echo $inquiry_limit; ?> "/> </td> </tr> <tr>
if ($uc_bbs) { echo 'checked'; } ?> /> 开启 <?php tips('此项可以在会员注册后自动激活论坛帐号,但仅适用于使用DZX2版本的论坛,且论坛与UC安装在同一数据库,且整合方式为MySQL连接,请确认你的整合符合上述条件,否则请勿开启'); ?> </td> </tr> <tr> <td class="tl">论坛表前缀</td> <td><input name="setting[uc_bbspre]" type="text" size="10" value="<?php echo $uc_bbspre; ?> " id="uc_bbspre"/> <?php tips('如果开启自动激活,此项必须填写。注意:填写错误可能导致会员无法注册!<br/>默认的表前缀为pre_,具体请参考论坛数据库配置文件'); ?> </td> </tr> </tbody> </table> <div class="tt">一键登录</div> <?php include DT_ROOT . '/api/oauth/setting.inc.php'; ?> </div> <div class="sbt"> <input type="submit" name="submit" value="确 定" class="btn"/> <input type="button" value="展 开" id="ShowAll" class="btn" onclick="TabAll();" title="展开/合并所有选项"/> </div> </form>
</td> </tr> </table> </div> <div id="Tabs6" style="display:none"> <div class="tt">页面细节</div> <table cellpadding="2" cellspacing="1" class="tb"> <tr> <td class="tl">行业分类大类</td> <td><input type="text" name="setting[page_bigcat]" value="<?php echo $page_bigcat; ?> " size="60"/><?php tips('例如填写工业品|消费品|原材料|商业服务,然后把供应的一级分类级别设置为1即可归入工业品,设置为2归入消费品,设置为3归入原材料,设置为4归入商业服务,依次类推'); ?> </td> </tr> <tr> <td class="tl">首页显示行业类别</td> <td><input type="radio" name="setting[page_catalog]" value="1" <?php if ($page_catalog) { ?> checked <?php } ?> /> 是 <input type="radio" name="setting[page_catalog]" value="0" <?php if (!$page_catalog) {
<td class="tl"><span class="f_hid">*</span> 帖子模板</td> <td><?php echo tpl_select('show', $module, 'post[show_template]', '默认模板', $show_template, 'id="show_template"'); ?> </td> </tr> <?php if ($MOD['list_html'] && $action == 'edit') { ?> <tr> <td class="tl"><span class="f_hid">*</span> 静态目录</td> <td><input type="text" size="22" name="post[filepath]" value="<?php echo $filepath; ?> "/> <?php echo tips('限英文、数字、中划线、下划线、斜线,该商圈相关的html文件将保存在此目录'); ?> </td> </tr> <?php } ?> </table> <div class="sbt"><input type="submit" name="submit" value=" 确 定 " class="btn"/> <input type="reset" name="reset" value=" 重 置 " class="btn"/></div> </form> <?php load('clear.js'); ?> <script type="text/javascript"> function check() { var l;
<input name="post[poll_page]" type="text" id="poll_page" size="5" value="<?php echo $poll_page; ?> "/> <?php echo tips('前台显示时,每页显示的项目数量'); ?> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 每行显示项目</td> <td> <input name="post[poll_cols]" type="text" id="poll_cols" size="5" value="<?php echo $poll_cols; ?> "/> <?php echo tips('前台显示时,每行显示的项目数量'); ?> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 前台排序方式</td> <td> <select name="post[poll_order]"> <option value="0">默认排序</option> <option value="1"<?php echo $poll_order == 1 ? ' selected' : ''; ?> >投票次数排序</option> </td> </tr> <tr>
<td class="tl"><span class="f_red">*</span> 模板目录</td> <td> <select name="post[template]" id="template"> <option value="">请选择</option> <?php $d = DT_ROOT . '/template/' . $CFG['template'] . '/'; foreach (glob($d . '*') as $v) { if (is_dir($v) && is_file($v . '/side_search.htm')) { $n = basename($v); echo '<option value="' . $n . '">' . $n . '</option>'; } } ?> </select> <?php tips('请上传目录至 ./template/' . $CFG['template'] . '/ 名称为数字、字母组合'); ?> <span id="dtemplate" class="f_red"></span></td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 预览</td> <td id="preview"></td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 模板作者</td> <td><input name="post[author]" type="text" size="20" /></td> </tr> <tr> <td class="tl"><span class="f_red">*</span> 会员组</td> <td><?php echo group_checkbox('post[groupid][]', '6,7', '1,2,3,4');
<td class="tl"><span class="f_hid">*</span> 客服专员</td> <td><input type="text" size="20" name="member[support]" id="support" value="<?php echo $support; ?> "/> <a href="javascript:_user(Dd('support').value);" class="t">[资料]</a> <?php tips('填写客服会员名,填写后会员可以看到此客服的联系方式,以便提供一对一服务'); ?> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 推荐注册人 </td> <td><input type="text" size="20" name="member[inviter]" id="inviter" value="<?php echo $inviter; ?> "/> <a href="javascript:_user(Dd('inviter').value);" class="t">[资料]</a> <?php tips('推荐此会员注册的会员名,系统自动记录,一般无须填写'); ?> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 会员资料是否完整</td> <td> <input type="radio" name="member[edittime]" value="1"<?php if ($edittime) { echo ' checked'; } ?> /> 是 <input type="radio" name="member[edittime]" value="0"<?php if (!$edittime) { echo ' checked';
echo $letter; ?> "/></td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 排序</td> <td><input name="post[listorder]" type="text" id="listorder" size="4" value="<?php echo $listorder; ?> "/></td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 分站首页模板</td> <td><?php echo tpl_select('index', 'city', 'post[template]', '默认模板', $template); tips('请在模板目录city目录里建立index-xxx.htm规则的模板,然后在此选择。模板内容请参考网站首页模板。如果不选择,系统默认使用网站首页模板。'); ?> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> Title(SEO标题)</td> <td><input name="post[seo_title]" type="text" id="seo_title" value="<?php echo $seo_title; ?> " size="61"></td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> Meta Keywords<br/> (网页关键词)</td> <td><textarea name="post[seo_keywords]" cols="60" rows="3" id="seo_keywords"><?php echo $seo_keywords;
</tr> <tr> <td class="tl"><span class="f_hid">*</span> 会员名</td> <td><input name="post[username]" type="text" size="20" value="<?php echo $username; ?> " id="username"/> <a href="javascript:_user(Dd('username').value);" class="t">[资料]</a></td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 内容收费</td> <td><input name="post[fee]" type="text" size="5" value="<?php echo $fee; ?> "/><?php tips('不填或填0表示继承模块设置价格,-1表示不收费<br/>大于0的数字表示具体收费价格'); ?> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 内容模板</td> <td><?php echo tpl_select('resume', $module, 'post[template]', '默认模板', $template, 'id="template"'); ?> </td> </tr> </table> <div class="sbt"><input type="submit" name="submit" value=" 确 定 " class="btn"/> <input type="reset" name="reset" value=" 重 置 " class="btn"/></div> </form> <?php load('clear.js');
<td><?php echo $module_select; ?> <span id="dmodule" class="f_red"></span></td> </tr> <tr> <td class="tl"><span class="f_red">*</span> 安装目录</td> <td><input name="post[moduledir]" type="text" id="moduledir" size="30" /> <input type="button" class="btn" value="目录检测" onclick="ckDir();"><?php tips('限英文、数字、中划线、下划线'); ?> <span id="dmoduledir" class="f_red"></span> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 绑定域名</td> <td><input name="post[domain]" type="text" id="domain" size="30" /><?php tips('例如http://sell.destoon.com/,以 / 结尾<br/>如果不绑定请勿填写'); ?> </td> </tr> </tbody> </table> <div class="sbt"><input type="submit" name="submit" value="确 定" class="btn"> <input type="reset" name="reset" value="重 置" class="btn"></div> </form> <script type="text/javascript"> function ckDir() { if(Dd('moduledir').value == '') { Dalert('请填写安装目录'); Dd('moduledir').focus(); return false; } var url = '?file=module&action=ckdir&moduledir='+Dd('moduledir').value;
<tbody id="list_html" style="display:<?php echo $list_html ? '' : 'none'; ?> "> <tr> <td class="tl">HTML列表页文件名前缀</td> <td><input name="setting[htm_list_prefix]" type="text" id="htm_list_prefix" value="<?php echo $htm_list_prefix; ?> " size="10"></td> </tr> <tr> <td class="tl">HTML列表页地址规则</td> <td><?php echo url_select('setting[htm_list_urlid]', 'htm', 'list', $htm_list_urlid); tips('提示:规则列表可在./api/url.inc.php文件里自定义'); ?> </td> </tr> </tbody> <tr id="list_php" style="display:<?php echo $list_html ? 'none' : ''; ?> "> <td class="tl">PHP列表页地址规则</td> <td><?php echo url_select('setting[php_list_urlid]', 'php', 'list', $php_list_urlid); ?> </td> </tr>
/** * 修改密码操作 **/ public function changepass() { $this->load->library('form_validation'); $this->load->model('Publics'); /* 验证部分字段不为空 */ $this->form_validation->set_rules('oldPass', 'OldPass', 'callback_check_null'); //购买日期 $this->form_validation->set_rules('newPass', 'NewPass', 'callback_check_null'); //顾客姓名 if ($this->form_validation->run() == FALSE) { tips('password', '请正确输入旧密码和新密码'); } else { if ($this->Publics->verifyPass()) { tips('directories', '您已成功修改密码,请牢记新密码', 'true'); } else { tips('password', '你输入的旧密码有误'); } } }
<span id="dcatdir" class="f_red"></span></td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 字母索引</td> <td><input name="category[letter]" type="text" id="letter" size="2" value="<?php echo $letter; ?> "/></td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 级别</td> <td><input name="category[level]" type="text" size="2" value="<?php echo $level; ?> "/><?php tips('0 - 不在首页显示 1 - 正常显示 2 - 首页和上级分类并列显示'); ?> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 分类模板</td> <td><?php echo tpl_select('list', $MODULE[$mid]['module'], 'category[template]', '默认模板', $template); ?> </td> </tr> <tr style="display:<?php echo $mid == 18 ? 'none' : ''; ?> ;"> <td class="tl"><span class="f_hid">*</span> 内容模板</td>
<td class="tl">IPN 通知文件名</td> <td><input type="text" size="30" name="pay[paypal][notify]" value="<?php echo $paypal['notify']; ?> "/> <?php tips('默认为notify.php 保存于 api/pay/paypal/notify.php<br/>建议你修改此文件名,然后在此填写新文件名'); ?> </td> </tr> <tr> <td class="tl">PDT Token</td> <td><input type="text" size="60" name="pay[paypal][keycode]" value="<?php echo $paypal['keycode']; ?> " onfocus="if(this.value.indexOf('**')!=-1)this.value='';"/> <?php tips('系统默认使用IPN方式通知,如果在Paypal开启了PDT,请在此填写对应的Token,否则请留空'); ?> </td> </tr> <tr> <td class="tl">支付币种</td> <td><input type="text" size="3" name="pay[paypal][currency]" value="<?php echo $paypal['currency']; ?> "/> 值可以为 "CNY"、"USD"、"EUR"、"TWD"、"JPY"等</td> </tr> <tr> <td class="tl">扣除手续费</td> <td><input type="text" size="2" name="pay[paypal][percent]" value="<?php echo $paypal['percent']; ?>
/** * 获取指定ID门店信息 **/ public function get_store_info($id) { if (!empty($id)) { $sql = 'SELECT s.id,s.`name`,s.addr,s.tel,r.region FROM sector s,region r WHERE s.region = r.id AND s.id = ' . $id; $result = $this->db->query($sql)->result(); return $result; } else { tips("请正确操作"); return false; } }
<td class="tl"><span class="f_hid">*</span> 地区(分站)</td> <td><?php echo ajax_area_select('post[areaid]', '请选择', $areaid); ?> </td> </tr> <?php } ?> <tr> <td class="tl"><span class="f_hid">*</span> 分组标识</td> <td><input name="post[item]" type="text" size="10" value="<?php echo $item; ?> "/><?php tips('单页的分组标识,如果不理解含义,请勿修改'); ?> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 内容模板</td> <td><?php echo tpl_select('webpage', $module, 'post[template]', '默认模板', $template); ?> </td> </tr> </table> <div class="sbt"><input type="submit" name="submit" value=" 确 定 " class="btn"/> <input type="reset" name="reset" value=" 重 置 " class="btn"/></div> </form> <?php load('clear.js');
<td class="tl">收费有效时间</td> <td><input type="text" size="5" name="setting[fee_period]" value="<?php echo $fee_period; ?> "/> 分钟 <?php tips('如果支付时间超过有效时间,系统将重新收费<br/>填零表示不重复收费'); ?> </td> </tr> <tr> <td class="tl">向发布人返利</td> <td><input type="text" size="2" name="setting[fee_back]" value="<?php echo $fee_back; ?> "/> % <?php tips('请填写1-100之间的数字,用户支付之后,系统将按此比例向发布人增加对应的' . $DT['money_name'] . '或者' . $DT['credit_name']); ?> </td> </tr> </table> <div class="tt"><?php echo $DT['credit_name']; ?> 规则</div> <table cellpadding="2" cellspacing="1" class="tb"> <tr> <td class="tl">发布信息奖励</td> <td> <input type="text" size="5" name="setting[credit_add]" value="<?php echo $credit_add; ?>
);" class="btn"/> <?php tips('可以包含目录和文件 例如 destoon/b2b.html<br/>请确保目录和文件名合法且可写入,否则可能生成失败'); ?> <span id="dfilepath" class="f_red"></span></td> </tr> <?php } if ($MOD['show_html']) { ?> <tr> <td class="tl"><span class="f_hid">*</span> 绑定域名</td> <td><input type="text" size="60" name="post[domain]" value="<?php echo $domain; ?> " id="domain"/><?php tips('例如http://abc.xxx.com,且自定义文件路径必须设置为abc/index.html形式,然后在服务器端绑定域名至abc目录'); ?> </td> </tr> <?php } ?> </table> <div class="sbt"><input type="submit" name="submit" value=" 确 定 " class="btn"/> <input type="reset" name="reset" value=" 重 置 " class="btn"/></div> </form> <?php load('clear.js'); if ($action == 'add') { ?> <form method="post" action="?"> <input type="hidden" name="moduleid" value="<?php
?> <?php echo level_select('post[level]', '级别', $level); ?> <span id="dtitle" class="f_red"></span></td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 投票有效期</td> <td><?php echo dcalendar('post[fromtime]', $fromtime); ?> 至 <?php echo dcalendar('post[totime]', $totime); ?> <?php echo tips('不填表示不限时间'); ?> </td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 链接至</td> <td><input name="post[linkto]" type="text" id="linkto" size="50" value="<?php echo $linkto; ?> "/></td> </tr> <tr> <td class="tl"><span class="f_hid">*</span> 投票说明</td> <td><textarea name="post[content]" id="content" class="dsn"><?php echo $content; ?>
/** * 删除用户送修记录 **/ public function del() { $id = empty($this->uri->segment(3)) ? '' : $this->uri->segment(3); if ($id == '') { tips('all_table', '非法操作'); return false; } else { $this->load->model('Stores'); /* 获取该记录转态。如果大于等于2。则失败 */ if ($this->Stores->get_record_status($id)) { if ($this->Stores->del_record($id)) { tips('all_table', '已经删除', '1'); } else { tips('all_table', '删除不成功'); } } else { tips('all_table', '已经送出。无法删除'); } } }