require_once '../system/smarty.inc'; require_once '../system/Class_DB.php'; require_once '../system/prego_m.php'; require_once '../system/login.inc.php'; require_once '../system/mdao/Class_mp_specialist.php'; require_once '../system/mdao/Class_mp_spec_traffic_fee.php'; require_once '../system/mdao/Class_mp_spec_profile.php'; require_once '../system/mdao/Class_mp_spec_fee.php'; require_once '../system/mdao/Class_mp_account.php'; require_once '../system/mdao/Class_mp_pro.php'; $specialist_dao = new Class_mp_specialist(); $traffic_fee_dao = new Class_mp_spec_traffic_fee(); $spec_profile_dao = new Class_mp_spec_profile(); $spec_fee_dao = new Class_mp_spec_fee(); $account_dao = new Class_mp_account(); $pro_dao = new Class_mp_pro(); if ($_SERVER['REQUEST_METHOD'] == 'GET') { $phase = 'input'; if ($auth == '3') { $account_id = $_SESSION['PREGO_ADMIN']['STAFF_SEQ']; $account_data = $account_dao->get($account_id); $id = $account_data['other_id']; } elseif ($auth == '1') { if (isset($_GET['id']) && $_GET['id'] != '') { $id = $_GET['id']; $account_data = $account_dao->getByOtherid($id, 3); } } $smarty->assign('account_name', $account_data['user_name']); // get spec_forms by id
require_once '../system/prego_m.php'; require_once '../system/login.inc.php'; require_once '../system/Class_DB.php'; require_once '../system/mdao/Class_mp_promise.php'; require_once '../system/mdao/Class_mp_promise_spec.php'; require_once '../system/mdao/Class_mp_spec_profile.php'; require_once '../system/mdao/Class_mp_spec_fee.php'; require_once '../system/mdao/Class_mp_account.php'; require_once '../system/mdao/Class_mp_specialist.php'; require_once '../system/smtpsend.class.php'; require_once '../system/mdao/Class_mp_promise_operation_history.php'; $promise_dao = new Class_mp_promise(); $promise_spec_dao = new Class_mp_promise_spec(); $spec_profile_dao = new Class_mp_spec_profile(); $spec_fee_dao = new Class_mp_spec_fee(); $account_dao = new Class_mp_account(); $spec_dao = new Class_mp_specialist(); $specialist_dao = new Class_mp_specialist(); $smtp_dao = new smtpclass(); if ($_SERVER['REQUEST_METHOD'] == 'GET') { if (isset($_GET['id']) && !empty($_GET['id'])) { if (isset($_GET['satisfy_status']) && $_GET['satisfy_status'] != '' && isset($_GET['count_id']) && $_GET['count_id'] != '') { $id = $_GET['count_id']; $satisfy_status = $_GET['satisfy_status']; $values = array(); $values['satisfy_status'] = $satisfy_status; $promise_spec_dao->edit($id, $values); $operate_time = date('y-m-d H:i:s', time()); $operate_details = "アンケート(回答)"; $user_name = $_SESSION['PREGO_ADMIN']['STAFF_NAME']; $operate_man = $user_name . "(" . $prego_account_sorts[$auth] . ")";
<?php require_once '../system/prego_m.php'; require_once '../system/smarty.inc'; require_once '../system/login.inc.php'; require_once '../system/mdao/Class_mp_account.php'; // Class_PWD::valid_auth(AOKI_AUTH_ACCOUNT,$login['staff_auth']); // $login_auth = $login['staff_auth']; $dao = new Class_mp_account(); session_start(); if (isset($_GET['csv']) && $_GET['csv'] == "download" || isset($_GET['hist']) && $_GET['hist'] == "2") { $forms = $_SESSION['MSEARCH']['account']; } else { $forms = $_POST; $_SESSION['MSEARCH']['account'] = $forms; } $wherearr = array(); $where_sorts_arr = array(); $page = array(); $dosearch = FALSE; if (isset($forms['search']) && !empty($forms['search'])) { $dosearch = TRUE; } if (isset($forms['page']) && is_numeric($forms['page'])) { $dosearch = TRUE; $page['current'] = $forms['page']; } else { $page['current'] = 1; } $page['item'] = PAGE_MAX; if (isset($_GET['id']) && $_GET['id'] != '') {
<?php require_once '../system/smarty.inc'; require_once '../system/Class_DB.php'; require_once '../system/mdao/Class_mp_account.php'; require_once '../system/prego_m.php'; require_once '../system/Class_ERROR.php'; require_once '../system/login.inc.php'; // Class_PWD::valid_auth(AOKI_AUTH_ACCOUNT,$login['staff_auth']); // $login_auth = $login['staff_auth']; $dao = new Class_mp_account(); if ($_SERVER['REQUEST_METHOD'] == 'GET') { $phase = 'input'; if (isset($_GET['id']) && $_GET['id'] != '') { $forms = $dao->get($_GET['id']); //print_r($forms); $forms["id"] = $_GET['id']; } } else { $forms = $_POST; if ($forms['mode'] == 'input') { $err = new Class_ERROR(); $chk = $dao->get_checks(); foreach ($chk as $kcol => $chkval) { $err_mes[$kcol] = $err->check($forms[$kcol], $chkval); } // ログインIDチェック if ($err_mes['login_id'] == '') { if ($forms['id'] == '') { $where = sprintf(" login_id = '%s'", $forms['login_id']); } else {
<?php require_once '../system/smarty.inc'; require_once '../system/login.inc.php'; require_once '../system/prego_m.php'; require_once '../system/Class_DB.php'; require_once '../system/mdao/Class_mp_account.php'; require_once '../system/mdao/Class_mp_specialist.php'; require_once '../system/mdao/Class_mp_payment.php'; require_once '../system/mdao/Class_mp_payment_add.php'; require_once '../system/mdao/Class_mp_promise_spec.php'; $account_dao = new Class_mp_account(); $spec_dao = new Class_mp_specialist(); $payment_dao = new Class_mp_payment(); $promise_spec_dao = new Class_mp_promise_spec(); $payment_add_dao = new Class_mp_payment_add(); if (isset($_GET['csv']) && $_GET['csv'] == "download" || isset($_GET['hist']) && $_GET['hist'] == "2") { $forms = $_SESSION['MSEARCH']['payment_search']; } else { $forms = $_POST; $_SESSION['MSEARCH']['payment_search'] = $forms; } if (isset($_GET['pay_flag']) && $_GET['pay_flag'] != '') { $payment_id = $_GET['payment_id']; $content_temp_str = $_GET['content_temp']; $money_temp_str = $_GET['money_temp']; $content = explode(',', $content_temp_str); $money = explode(',', $money_temp_str); foreach ($content as $k => $v) { foreach ($money as $kk => $vv) { if ($k == $kk) {
$smarty->assign('called_number', $called_number); if (isset($corporate_forms)) { $smarty->assign('corporate_forms', $corporate_forms); } if (isset($tantou_forms)) { $smarty->assign('tantou_forms', $tantou_forms); } } } else { if ($_POST['insertforms']) { $forms = $_SESSION['insertforms']; } else { $forms = $_POST; } $account_id = $forms['account_id']; $account_dao = new Class_mp_account($corporate_dao->get_db()); $forms['mutirow'] = array(); // get tantou_id array if (!empty($forms['tantou_id'])) { foreach ($forms['tantou_id'] as $k => $v) { if ($forms['tantou_name'][$k] != '' && $forms['mail_address'][$k] != '') { $forms['mutirow'][] = array("id" => $v, "tantou_name" => $forms['tantou_name'][$k], "mail_address" => $forms['mail_address'][$k]); } } } if ($forms['mode'] == 'input') { // check corporate items $err = new Class_ERROR(); $corporate_chk = $corporate_dao->get_checks(); foreach ($corporate_chk as $kcol => $chkval) { $err_mes[$kcol] = $err->check($forms[$kcol], $chkval);