You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
604 B
19 lines
604 B
<?php
|
|
defined('IN_IA') or exit('Access Denied');
|
|
|
|
class Set_WeliamController {
|
|
|
|
public function base() {
|
|
global $_W, $_GPC;
|
|
|
|
if (checksubmit('submit')) {
|
|
$base = $_GPC['base'];
|
|
Setting::agentsetting_save($base, 'groupon');
|
|
wl_message('保存设置成功!', referer(), 'success');
|
|
}
|
|
$base = Setting::agentsetting_read('groupon');
|
|
$communitylist = pdo_getall('wlmerchant_community', array('uniacid' => $_W['uniacid'], 'aid' => $_W['aid']), array('id', 'communname'));
|
|
|
|
include wl_template('grouponset/base');
|
|
}
|
|
}
|