getLoginStatus()){ privateFinally(); header("Location: "._CONFIG_USER_MODULE_STATIC_PAGE.commonClass::setParameter('page', 'schedule', $mbSessionGet)); exit; } /* +++++++++++++++ ユーザーサイトクラス定義 +++++++++++++++ */ require_once(_CONFIG_CLASS_PATH_USER."class.user.site.php"); $classUsr_ust=new userSiteClass(); // 処理コード判定 switch(commonClass::getParameter("fnc")){ case 1: // 企業コード取得 $offerCompId=commonClass::getParameter('cd'); // 企業基本情報取得 if(!$classUsr_ust->getClientBaseData()){ privateFinally(); header("Location: "._CONFIG_USER_MODULE_MESSAGE_ERROR.commonClass::setParameter("err", $classUsr_ust->getErrorCd(), $mbSessionGet)); exit; } // セミナー情報 if(!$classUsr_ust->getClientSeminarData()){ privateFinally(); header("Location: "._CONFIG_USER_MODULE_MESSAGE_ERROR.commonClass::setParameter("err", $classUsr_ust->getErrorCd(), $mbSessionGet)); exit; } privateScheduleDeleteConf(); break; case 2: // スケジュール削除 if($classUsr_ust->executeScheduleDelete()){ // 完了メッセージ画面転送 privateFinally(); // パラメータ設定 $fwdParameter=commonClass::setParameter('fwd', urlencode(_CONFIG_USER_MODULE_SCHEDULE), $mbSessionGet); header("Location: "._CONFIG_USER_MODULE_MESSAGE.commonClass::setParameter("msg", "62011", $fwdParameter)); exit; }else{ privateFinally(); header("Location: "._CONFIG_USER_MODULE_MESSAGE_ERROR.commonClass::setParameter("err", $classUsr_ust->getErrorCd(), $mbSessionGet)); exit; } break; default: // スケジュールリスト if($classUsr_ust->getSchedule()){ privatePageList(); }else{ privateFinally(); header("Location: "._CONFIG_USER_MODULE_MESSAGE_ERROR.commonClass::setParameter("err", $classUsr_ust->getErrorCd(), $mbSessionGet)); exit; } } privateFinally(); // ++++++++++++++++++++++++++++++++++++++++++++++++++ // 名称:privatePageList // 概要:リスト画面 // 引数:なし // 戻値:なし // ++++++++++++++++++++++++++++++++++++++++++++++++++ function privatePageList(){ // クラスglobal宣言 global $classCom_brw; global $classUsr_ath; global $classUsr_ust; global $classUsr_tpl; // オブジェクトglobal宣言 global $mbSessionGet; global $mbSessionPost; // スケジュールリスト $classUsr_tpl->assign('scheduleCount', $classUsr_ust->getScheduleCount()); $classUsr_tpl->assign('scheduleList', $classUsr_ust->getScheduleList()); $classUsr_tpl->assign('scheduleToDate', $classUsr_ust->getScheduleListToDate()); $classUsr_tpl->assign('schedulePrevTag', $classUsr_ust->getScheduleListPrevTag()); $classUsr_tpl->assign('scheduleNextTag', $classUsr_ust->getScheduleListNextTag()); $classUsr_tpl->assign('submitURL', _CONFIG_USER_MODULE_SCHEDULE); $classUsr_tpl->assign('postParameter', ''. $mbSessionPost); $classUsr_tpl->assign('getParameter', commonClass::setParameter('fnc', '1', $mbSessionGet)); // テンプレート出力 // PC・Mobile判定 if($classCom_brw->getItem('carrier')=='pc'){ $classUsr_tpl->execute2header(_CONFIG_USER_TPL_SCHEDULE_LIST); }else{ if($classCom_brw->getItem('wqvgaFlg')){ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_SCHEDULE_LIST_W); }else if($classCom_brw->getItem('xhtmlFlg')){ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_SCHEDULE_LIST_Q); }else{ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_SCHEDULE_LIST_O); } } } // ++++++++++++++++++++++++++++++++++++++++++++++++++ // 名称:privateScheduleDeleteConf // 概要:スケジュール削除確認 // 引数:なし // 戻値:なし // ++++++++++++++++++++++++++++++++++++++++++++++++++ function privateScheduleDeleteConf(){ // global宣言 global $classCom_brw; global $classUsr_ath; global $classUsr_tpl; global $classUsr_ust; // 携帯用パラメータ(POST) global $mbSessionPost; global $offerCompId; // 基本情報配列 $baseItems=$classUsr_ust->getClientBaseItems(); // 業種名設定 $classUsr_tpl->assign('valueIndustry', $classUsr_ust->getIndustryCategoryNameString($baseItems['industry'])); // 職種名設定 $classUsr_tpl->assign('valueOccupation', $classUsr_ust->getIndustryCategoryNameString($baseItems['occupation'])); // 特徴名設定 $classUsr_tpl->assign('valueFeature', $classUsr_ust->getIndustryCategoryNameString($baseItems['feature'])); // ロゴ出力 $classUsr_tpl->assign('imageLogo', $classUsr_ust->getBaseImageTag($offerCompId, $baseItems['image_flg_logo'], 'logo', $baseItems['image_format_logo'])); $classUsr_tpl->assign('valueName', $baseItems['name']); $classUsr_tpl->assign('valueNameKana', $baseItems['name_kana']); $classUsr_tpl->assign('valueAddress', $baseItems['address']); $classUsr_tpl->assign('valueTitle', $baseItems['title']); $classUsr_tpl->assign('valueFoundation', $baseItems['foundation']); $classUsr_tpl->assign('valueCapital', $baseItems['capital']); $classUsr_tpl->assign('valueSalesVolume', $baseItems['sales_volume']); $classUsr_tpl->assign('valueListed', $baseItems['listed']); $classUsr_tpl->assign('valueStaffCount', $baseItems['staff_count']); $classUsr_tpl->assign('valueSexesRatio', $baseItems['sexes_ratio']); $classUsr_tpl->assign('valueAgeAverage', $baseItems['age_average']); $classUsr_tpl->assign('valueRepresentative', $baseItems['representative']); // セミナー情報 $classUsr_tpl->assign('seminarItems', $classUsr_ust->getSeminarItems()); $classUsr_tpl->assign('submitURL', _CONFIG_USER_MODULE_SCHEDULE); $classUsr_tpl->assign('postParameter', ''. ''. ''. $mbSessionPost); // テンプレート出力 // PC・Mobile判定 if($classCom_brw->getItem('carrier')=='pc'){ $classUsr_tpl->execute2header(_CONFIG_USER_TPL_SCHEDULE_DELETE_CONF); }else{ if($classCom_brw->getItem('wqvgaFlg')){ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_SCHEDULE_DELETE_CONF_W); }else if($classCom_brw->getItem('xhtmlFlg')){ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_SCHEDULE_DELETE_CONF_Q); }else{ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_SCHEDULE_DELETE_CONF_O); } } } // ++++++++++++++++++++++++++++++++++++++++++++++++++ // 名称:privateFinally // 概要:終了処理 // 引数:なし // 戻値:なし // ++++++++++++++++++++++++++++++++++++++++++++++++++ function privateFinally(){ } ?>