/** * 编辑 * @author abei<*****@*****.**> */ require_once(dirname(dirname(dirname(__FILE__))) . '/app.php'); need_manager(); need_auth('worker'); $worker_id = $_GET['id']; // get the infor of worker $worker = Table::Fetch('worker',$worker_id); if(!$worker){ Session::Set('error', '该员工不存在'); redirect( WEB_ROOT . "/manage/worker/index.php"); } if($_POST){ $arr = $_POST['worker']; $arr['birth'] = !empty($arr['birth']) ? strtotime($arr['birth']) : NULL; $arr['in_time'] = !empty($arr['in_time']) ? strtotime($arr['in_time']) : NULL; if(DB::Update('worker',$worker_id,$arr)){ log_admin('worker', '编辑员工成功',$arr); Session::Set('notice', '编辑员工成功'); redirect( WEB_ROOT . "/manage/worker/index.php"); } } include template('manage_worker_edit');
$INI['system']['partnerdown'] = abs(intval($INI['system']['partnerdown']>0)); $INI['system']['conduser'] = abs(intval($INI['system']['conduser']>0)); $INI['system']['currencyname'] = strtoupper($INI['system']['currencyname']); //2013.07.29 $sorts = array('MO', 'NO', 'AF', 'NI'); $sorts_key = array_search($INI['system']['sorttype'], $sorts); if(!$sorts_key) $sorts_key = 0; $INI['system']['sorttype'] = $sorts[($sorts_key + 1)%4]; save_config(); $value = Utility::ExtraEncode($INI); $table = new Table('system', array('value'=>$value)); if ( $system ) $table->SetPK('id', 1); $flag = $table->update(array( 'value')); log_admin('system', '编辑基本设置',$_POST); Session::Set('notice', '更新系统信息成功'); redirect( null ); } include template("manage_system_index{$ts}"); function current_system_index($s=null) { global $city; $filter = array( 'a' => 'AAAAAAA', 'b' => 'BBBBBBBBB', 'c' => 'CCCCCCCC', 'd' => 'DDDDDDDDD', 'e' => 'EEEEEEEEE', );
<?php require_once dirname(dirname(dirname(__FILE__))) . '/app.php'; need_manager(); need_auth('admin'); $action = strval($_GET['action']); $id = abs(intval($_GET['id'])); $r = udecode($_GET['r']); $tid = strval($_GET['tid']); $cate = strval($_GET['cate']); $like = strval($_GET['like']); if ($action == 'r') { $order = Table::Fetch('order', $id); log_admin('misc', '删除订单点评', $order['comment_content']); Table::UpdateCache('order', $id, array('comment_content' => 'Null')); redirect($r); } if ($action == 'none') { Table::UpdateCache('order', $id, array('comment_display' => 'N')); redirect($r); } if ($action == 'block') { Table::UpdateCache('order', $id, array('comment_display' => 'Y')); redirect($r); } $condition = array("comment_time > 0 AND comment_content <> 'Null'"); if ($tid) { $condition['team_id'] = $tid; } if ($cate) { $condition['comment_grade'] = $cate;
<?php require_once dirname(dirname(dirname(__FILE__))) . '/app.php'; need_manager(true); $system = Table::Fetch('system', 1); if ($_POST) { unset($_POST['commit']); $INI = Config::MergeINI($INI, $_POST); $INI = ZSystem::GetUnsetINI($INI); save_config(); $value = Utility::ExtraEncode($INI); $table = new Table('system', array('value' => $value)); if ($system) { $table->SetPK('id', 1); } $flag = $table->update(array('value')); log_admin('system', '编辑短信设置'); Session::Set('notice', '更新系统信息成功'); redirect(WEB_ROOT . '/manage/system/sms.php'); } include template('manage_system_sms');
public function delete() { if ($_POST) { $id = $this->input->post('id'); $query = $this->leavegroup->get_detail_by_id($id); if ($query->num_rows() > 0) { $query = $query->row_array(); $name = $query['LGName']; $desc = $query['LGDesc']; $this->leavegroup->delete($id); log_admin('delete', $id, 'leave group', 'delete leave group [name] ' . $name . ' [desc] ' . $desc, $this->user_id); } } }
<?php require_once dirname(dirname(dirname(__FILE__))) . '/app.php'; need_manager(); need_auth('market'); $action = strval($_GET['action']); $id = abs(intval($_GET['id'])); $r = udecode($_GET['r']); $cate = strval($_GET['cate']); $like = strval($_GET['like']); if ($action == 'r') { $feed = Table::Fetch('feedback', $id); log_admin('misc', '删除意见反馈', $feed); Table::Delete('feedback', $id); redirect($r); } else { if ($action == 'm') { Table::UpdateCache('feedback', $id, array('user_id' => $login_user_id)); redirect($r); } } $condition = array(); if ($cate) { $condition['category'] = $cate; } if ($like) { $condition[] = "content like '%" . mysql_escape_string($like) . "%'"; } $count = Table::Count('feedback', $condition); list($pagesize, $offset, $pagestring) = pagestring($count, 20); $asks = DB::LimitQuery('feedback', array('condition' => $condition, 'order' => 'ORDER BY id DESC', 'size' => $pagesize, 'offset' => $offset));
<?php /** * 发工资 * @author abei<*****@*****.**> */ require_once(dirname(dirname(dirname(__FILE__))) . '/app.php'); need_manager(); need_auth('worker'); $worker_id = $_GET['id']; $worker = Table::Fetch('worker',$worker_id); if($_POST){ $salary = $_POST['salary']; $salary['worker_id'] = $worker_id; $salary['salary_time'] = strtotime($salary['salary_time']); $salary['create_time'] = time(); if(DB::Insert('worker_salary',$salary)){ log_admin('worker_salary', '发工资成功',$salary); Session::Set('notice', '发工资成功'); redirect( WEB_ROOT . "/manage/worker/salary.php?id=".$worker_id); } } include template('manage_worker_add_salary');
<?php /*** * 管理员操作日志 * @author c * @data 2011-2-19 * @file logger.php ***/ require_once dirname(dirname(dirname(__FILE__))) . '/app.php'; need_manager(true); /* 清除日志 */ $clear_data = strval($_POST['clear_data']); if ($clear_data) { DB::Query('TRUNCATE TABLE `logger_admin`;'); log_admin('system', '清空管理员操作日志'); } $search = strval($_GET['search']); $type = strval($_GET['type']); $condition = array(); /* filter */ if ($search) { $t_con['OR'] = array("id like '%" . mysql_escape_string($search) . "%'", "email like '%" . mysql_escape_string($search) . "%'"); $teams = DB::LimitQuery('user', array('condition' => $t_con, 'one' => true)); $condition['user_id'] = $teams['id']; } if ($type) { $condition['type'] = $type; } /* end filter */ $count = Table::Count('logger_admin', $condition); list($pagesize, $offset, $pagestring) = pagestring($count, 20);
$version = strval(SYS_VERSION); $subversion = strval(SYS_SUBVERSION); $action = strval($_GET['action']); $version_meta = zuitu_version($version); $newversion = $version_meta['version']; $newsubversion = $version_meta['subversion']; $software = $version_meta['software']; $isnew = ( $newversion==$version && $subversion == $newsubversion ) ; if ( 'db' == $action ) { $r = zuitu_upgrade($action, $version); log_admin('misc', '升级数据库结构'); Session::Set('notice', '数据库结构升级成功,数据库已经是最新版本'); redirect( WEB_ROOT . '/manage/misc/index.php' ); } else if ( 'opt' == $action ) { $tables = DB::GetQueryResult("SHOW TABLE STATUS", false); foreach($tables AS $one) { DB::Query("OPTIMIZE TABLE {$one['name']}"); } log_admin('misc', '数据库结构优化'); Session::Set('notice', '数据库结构优化完成'); redirect( WEB_ROOT . '/manage/misc/index.php' ); } include template('manage_misc_index'); function sum($a=array(), $k=null) { $r=0; foreach($a AS $i=>$v) $r+=$v; return $r; }
$ts = $s ? '_' . $s : null; $system = Table::Fetch('system', 1); if ($_POST) { need_manager(true); unset($_POST['commit']); $INI = Config::MergeINI($INI, $_POST); $INI = ZSystem::GetUnsetINI($INI); save_config(); $value = Utility::ExtraEncode($INI); $table = new Table('system', array('value'=>$value)); if ( $system ) $table->SetPK('id', 1); $flag = $table->update(array( 'value')); log_admin('system', '编辑选项设置',$_POST); Session::Set('notice', '更新系统信息成功'); redirect(null); } include template("manage_system_option{$ts}"); function current_system_option($s=null) { global $city; if (option_yes('daysign')){ $filter = array( 'a' => '页面设置', 'b' => '地址重写', 'c' => '登录设置', 'd' => '每日签到设置', );
need_manager(); need_auth('admin'); $root = DIR_TEMPLATE; $template_id = trim(strval($_GET['id'])); $template_id = str_replace('\\', '_', $template_id); $template_id = str_replace('/', '_', $template_id); if ($_POST) { $path = "{$root}/{$template_id}"; if (is_writable($path) && !is_dir($path) && is_file($path)) { $flag = file_put_contents($path, stripslashes(trim($_POST['content']))); } if ($flag) { log_admin('system', '编辑模板成功:' . $template_id); Session::Set('notice', "模板 {$template_id} 修改成功"); } else { log_admin('system', '编辑模板失败:' . $template_id); Session::Set('error', "模板 {$template_id} 修改失败"); } redirect(WEB_ROOT . "/manage/system/template.php?id={$template_id}"); } $handle = opendir($root); $may = array(); while ($one = readdir($handle)) { if (is_dir("{$root}/{$one}")) { continue; } if (!is_writable("{$root}/{$one}")) { continue; } $may[] = $one; }
} else { if ($action == 'withdraw_submit') { need_auth('caiwu_dowithdraw'); $apply = Table::Fetch('apply', $id); $user = Table::Fetch('user', $apply['user_id']); $direction = strval($_GET['direction']); $withdrawpay = strval($_GET['withdrawpay']); $withdrawcontent = strval($_GET['c']); $money = moneyit($_GET['withdrawmoney']); if ($money > 0) { log_admin('caiwu', $user['email'] . '充值' . $money . '元失败 - 本次操作仅限提现'); json('充值失败 - 本次操作仅限提现', 'alert'); } elseif ($money < 0 && $user['money'] + $money < 0) { json('提现失败 - 用户余额不足', 'alert'); } Table::UpdateCache('apply', $id, array('direction' => 'yuanlu', 'withdraw_direction' => $direction, 'withdrawpay' => $withdrawpay, 'content' => $withdrawcontent, 'done_time' => time(), 'admin_name' => $login_user['realname'], 'admin_id' => $login_user_id)); if (ZFlow::CreateFromStore($apply['user_id'], $money)) { Table::UpdateCache('apply', $id, array('status' => 'be', 'done_time' => time(), 'admin_name' => $login_user['realname'], 'admin_id' => $login_user_id)); log_admin('caiwu', '[提现申请]' . $user['username'] . '提现' . $money . '元'); if (option_yes('chongtisms')) { sms_withdraw($id); } json(array(array('data' => "用户提现{$money}元成功", 'type' => 'alert'), array('data' => null, 'type' => 'refresh')), 'mix'); } } } } } } } }
<?php require_once(dirname(dirname(dirname(__FILE__))) . '/app.php'); need_manager(true); need_rbac_auth('system_cache'); $system = Table::Fetch('system', 1); if ($_POST) { unset($_POST['commit']); $INI = Config::MergeINI($INI, $_POST); if ( !save_config('php') ) { Session::Set('notice', '保存失败,'.SYS_PHPFILE.' 不可写'); } else { $INI = ZSystem::GetUnsetINI($INI); $value = Utility::ExtraEncode($INI); $table = new Table('system', array('value'=>$value)); if ( $system ) $table->SetPK('id', 1); $flag = $table->update(array( 'value')); log_admin('system', '编辑缓存设置',$_POST); Session::Set('notice', '更新系统信息成功'); } redirect( WEB_ROOT . '/manage/system/cache.php'); } include template('manage_system_cache');
public function delete() { if ($_POST) { $post = $this->input->post(); $department_id = $post['id']; $department_name = ''; $query = $this->department->get_detail_by_id($department_id); if ($query->num_rows() > 0) { $query = $query->row_array(); $department_name = $query['DName']; $where = array('DID' => $department_id); $data = array('D_StatusID' => '-999'); $this->department->update($data, $where); log_admin('insert', $department_id, 'department', 'delete department [name] ' . $department_name, $this->user_id); } } }
else $u = Table::Fetch('user', $username, 'username'); if ($u && $credit) { ZCredit::Create($credit, $u['id'], 'charge', 0); log_admin('credit', $u['username'].'用户积分充值',$u); redirect(null, '用户积分充值成功!'); } } else if ( 'settings' == $action ) { $INI['credit']['register'] = abs(intval($_POST['credit']['register'])); $INI['credit']['login'] = abs(intval($_POST['credit']['login'])); $INI['credit']['invite'] = abs(intval($_POST['credit']['invite'])); $INI['credit']['buy'] = abs(intval($_POST['credit']['buy'])); $INI['credit']['pay'] = 0 + ($_POST['credit']['pay']); $INI['credit']['charge'] = 0 + ($_POST['credit']['charge']); $INI['credit']['comment'] = abs(intval($_POST['credit']['comment'])); configure_save('credit'); log_admin('credit', '设置积分规则',$_POST); redirect(null, '设置积分规则成功!'); } } $INI['credit']['register'] = abs(intval($INI['credit']['register'])); $INI['credit']['login'] = abs(intval($INI['credit']['login'])); $INI['credit']['invite'] = abs(intval($INI['credit']['invite'])); $INI['credit']['buy'] = abs(intval($INI['credit']['buy'])); $INI['credit']['comment'] = abs(intval($INI['credit']['comment'])); $INI['credit']['pay'] = 0 + ($INI['credit']['pay']); $INI['credit']['charge'] = 0 + ($INI['credit']['charge']); include template('manage_credit_settings');
if (is_post()) { $card = $_POST; $card['quantity'] = abs(intval($card['quantity'])); $card['money'] = abs(intval($card['money'])); $card['partner_id'] = abs(intval($card['partner_id'])); $card['begin_time'] = strtotime($card['begin_time']); $card['end_time'] = strtotime($card['end_time']); $error = array(); if ($card['money'] < 1) { $error[] = "代金券面额不能小于1元"; } if ($card['quantity'] < 1 || $card['quantity'] > 1000) { $error[] = "代金券每次只能生产1-1000枚"; } $today = strtotime(date('Y-m-d')); if ($card['begin_time'] < $today) { $error[] = "开始时间不能小于当天"; } elseif ($card['end_time'] < $card['begin_time']) { $error[] = "结束时间不能小于开始时间"; } if (!$error && ZCard::CardCreate($card)) { log_admin('coupon', '新建代金券' . $card['quantity'] . '张'); Session::Set('notice', "{$card['quantity']}张代金券生成成功"); redirect(WEB_ROOT . '/manage/coupon/cardcreate.php'); } $error = join("<br />", $error); Session::Set('error', $error); } else { $card = array('begin_time' => time(), 'end_time' => strtotime('+3 months'), 'quantity' => 10, 'money' => 10, 'code' => date('Ymd') . '_ZT'); } include template('manage_coupon_cardcreate');
<?php require_once dirname(dirname(dirname(__FILE__))) . '/app.php'; need_manager(true); $version = strval(SYS_VERSION); $subversion = strval(SYS_SUBVERSION); $action = strval($_GET['action']); if ('db' == $action) { $r = zuitu_upgrade($action, $version); log_admin('system', '升级数据库结构'); Session::Set('notice', '数据库结构升级成功,数据库已经是最新版本'); redirect(WEB_ROOT . '/manage/system/upgrade.php'); } $version_meta = zuitu_version($version); $newversion = $version_meta['version']; $newsubversion = $version_meta['subversion']; $software = $version_meta['software']; $install = $version_meta['install']; $patch = $version_meta['patch']; $patchdesc = $version_meta['patchdesc']; $upgrade = $version_meta['upgrade']; $upgradedesc = $version_meta['upgradedesc']; $isnew = $newversion == $version && $subversion == $newsubversion; include template('manage_system_upgrade');
public function delete() { if ($_POST) { $bank_id = $this->input->post('id'); $query = $this->bank->get_detail_by_id($bank_id); if ($query->num_rows() > 0) { $query = $query->row_array(); $old_bank_name = $query['BName']; $data = array(); $data['B_StatusID'] = '-999'; $data['BLatestUpdate'] = getDateTimeNow(); $where = array('BID' => $bank_id); $this->bank->update($data, $where); log_admin('insert', $bank_id, 'bank', 'delete bank name ' . $old_bank_name, $this->user_id); } } }
$clear = $unclear = 0; while ($one = readdir($handle)) { if (strpos($one, '.') === 0) { continue; } $onefile = $root . '/' . $one; if (is_dir($onefile)) { continue; } if (@unlink($onefile)) { $clear++; } else { $unclear++; } } log_admin('system', '清空模板缓存' . $clear . '个'); json("操作成功,清空缓存文件{$clear}个,未清空{$unclear}个", 'alert'); } else { if ('refundview' == $action) { $order = Table::Fetch('order', $id); $user = Table::Fetch('user', $order['user_id']); $team = Table::Fetch('team', $order['team_id']); //find coupons $coupons = DB::LimitQuery('coupon', array('condition' => array('order_id' => $order['id'], 'user_id' => $user['id']))); if ($team['delivery'] == 'express') { $option_express = option_category('express'); $order['express_name'] = $option_express[$order['express_id']]; } $payservice = array('alipay' => '支付宝', 'tenpay' => '财付通', 'chinabank' => '网银在线', 'credit' => '余额付款', 'cash' => '线下支付', 'yeepay' => '易宝', 'sdopay' => '盛付通', 'cmpay' => '手机支付', 'paypal' => 'Paypal'); $paystate = array('unpay' => '<font color="green">未付款</font>', 'pay' => '<font color="red">已付款</font>'); if ($team['delivery'] == 'coupon') {
require_once dirname(dirname(dirname(__FILE__))) . '/app.php'; need_manager(); need_auth('coupon'); if (is_post()) { $paycard = $_POST; $paycard['quantity'] = abs(intval($paycard['quantity'])); $paycard['money'] = abs(intval($paycard['money'])); $paycard['expire_time'] = strtotime($paycard['expire_time']); $error = array(); if ($paycard['money'] < 10) { $error[] = "充值卡面额不能小于10元"; } if ($paycard['quantity'] < 1 || $card['quantity'] > 1000) { $error[] = "充值卡每次只能生产1-1000张"; } $today = strtotime(date('Y-m-d')); if ($paycard['expire_time'] < $today) { $error[] = "过期时间不能小于当天"; } if (!$error && ZPaycard::PayCardCreate($paycard)) { log_admin('coupon', '新建充值卡' . $paycard['quantity'] . '张'); Session::Set('notice', "{$paycard['quantity']}张充值卡生成成功"); redirect(WEB_ROOT . '/manage/coupon/paycardcreate.php'); } $error = join("<br />", $error); Session::Set('error', $error); } else { $paycard = array('expire_time' => strtotime('+6 months'), 'quantity' => 10, 'money' => 50); } include template('manage_coupon_paycardcreate');
public function delete() { if ($_POST) { $instID = $this->input->post('id'); $query = $this->inst->get_detail_by_id($instID); if ($query->num_rows() > 0) { $query = $query->row_array(); $inst_name = $query['INSName']; $inst_desc = $query['INSDesc']; $this->inst->delete($instID); log_admin('delete', $instID, 'institution', 'delete institution [name] ' . $inst_name . ' [desc] ' . $inst_desc, $this->user_id); } } }
'help_api' => '开发API', 'about_contact' => '联系方式', 'about_us' => '关于' . $INI['system']['abbreviation'], 'about_job' => '工作机会', 'about_terms' => '用户协议', 'about_privacy' => '隐私声明', ); $id = strval($_GET['id']); if ( $id && !in_array($id, array_keys($pages))) { redirect( WEB_ROOT . "/manage/system/page.php"); } $n = Table::Fetch('page', $id); if ( $_POST ) { $table = new Table('page', $_POST); $table->SetStrip('value'); if ( $n ) { $table->SetPk('id', $id); $table->update( array('id', 'value') ); } else { $table->insert( array('id', 'value') ); } log_admin('system', '编辑页面:'.$pages[$id],$_POST); Session::Set('notice', "页面:{$pages[$id]}编辑成功"); redirect( WEB_ROOT . "/manage/system/page.php?id={$id}"); } $value = $n['value']; include template('manage_system_page');
<?php require_once dirname(dirname(dirname(__FILE__))) . '/app.php'; need_manager(true); $system = Table::Fetch('system', 1); if ($_POST) { unset($_POST['commit']); $INI = Config::MergeINI($INI, $_POST); $INI = ZSystem::GetUnsetINI($INI); save_config(); $value = Utility::ExtraEncode($INI); $table = new Table('system', array('value' => $value)); if ($system) { $table->SetPK('id', 1); } $flag = $table->update(array('value')); log_admin('system', '编辑邮件设置', $_POST); Session::Set('notice', '更新系统信息成功'); redirect(WEB_ROOT . '/manage/system/email.php'); } include template('manage_system_email');
public function delete() { if ($_POST) { $position_id = $this->input->post('id'); $position_name = ''; $query = $this->position->get_detail_by_id($position_id); if ($query->num_rows() > 0) { $query = $query->row_array(); $position_name = $query['PName']; $data = array('P_StatusID' => '-999'); $where = array('PID' => $position_id); $this->position->update($data, $where); log_admin('insert', $position_id, 'position', 'delete position name ' . $position_name, $this->user_id); } } }
<?php /** * 新增一个员工 * @author abei <*****@*****.**> */ require_once(dirname(dirname(dirname(__FILE__))) . '/app.php'); need_manager(); need_auth('worker'); if($_POST){ $worker = $_POST['worker']; $worker['create_time'] = time(); $worker['birth'] = !empty($worker['birth']) ? strtotime($worker['birth']) : NULL; $worker['in_time'] = !empty($worker['in_time']) ? strtotime($worker['in_time']) : NULL; if($worker_id = DB::Insert('worker',$worker)){ log_admin('worker', '新建员工成功',$worker); Session::Set('notice', '新建员工成功'); redirect( WEB_ROOT . "/manage/worker/index.php"); } } include template('manage_worker_create'); ?>
<?php require_once dirname(dirname(dirname(__FILE__))) . '/app.php'; need_manager(); need_auth('help'); $system = Table::Fetch('system', 1); if ($_POST) { unset($_POST['commit']); $INI = Config::MergeINI($INI, $_POST); $INI = ZSystem::GetUnsetINI($INI); /* end */ foreach ($INI['bulletin'] as $bid => $bv) { $INI['bulletin'][$bid] = stripslashes($bv); } save_config(); $value = Utility::ExtraEncode($INI); $table = new Table('system', array('value' => $value)); if ($system) { $table->SetPK('id', 1); } $flag = $table->update(array('value')); log_admin('system', '编辑公告', $_POST); Session::Set('notice', '更新系统信息成功'); redirect(WEB_ROOT . '/manage/system/bulletin.php'); } include template('manage_system_bulletin');
Session::Set('notice', '编辑项目信息成功'); redirect( WEB_ROOT . "/manage/team/index.php"); } else if ( $team['id'] ) { log_admin('team', '非法编辑team项目',$insert); Session::Set('error', '非法编辑'); redirect( WEB_ROOT . "/manage/team/index.php"); } if ( $table->insert($insert) ) { log_admin('team', '新建team项目',$insert); Session::Set('notice', '新建项目成功'); redirect( WEB_ROOT . "/manage/team/index.php"); } else { log_admin('team', '编辑team项目失败',$insert); Session::Set('error', '编辑项目失败'); redirect(null); } } $groups = DB::LimitQuery('category', array( 'condition' => array( 'zone' => 'group','fid' => '0', ), )); $groups = Utility::OptionArray($groups, 'id', 'name'); $level_groups = DB::LimitQuery('category', array( 'condition' => array( "zone" => "group", " fid <> 0" ), )); $level_groups = Utility::OptionArray($level_groups, 'id','name');
<?php require_once(dirname(dirname(dirname(__FILE__))) . '/app.php'); need_manager(true); need_rbac_auth('system_pay'); $system = Table::Fetch('system', 1); if ($_POST) { unset($_POST['commit']); $_POST['other']['pay'] = stripslashes($_POST['other']['pay']); $INI = Config::MergeINI($INI, $_POST); $INI = ZSystem::GetUnsetINI($INI); save_config(); $value = Utility::ExtraEncode($INI); $table = new Table('system', array('value'=>$value)); if ( $system ) $table->SetPK('id', 1); $flag = $table->update(array( 'value')); log_admin('system', '编辑支付方式'); Session::Set('notice', '更新系统信息成功'); redirect( WEB_ROOT . '/manage/system/pay.php'); } include template('manage_system_pay');