getLoginStatus()){ privateFinally(); header("Location: "._CONFIG_USER_MODULE_STATIC_PAGE.commonClass::setParameter('page', 'bookmark', $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; } privateBookmarkDeleteConf(); break; case 2: // ブックマーク削除 if($classUsr_ust->executeBookmarkDelete()){ // 完了メッセージ画面転送 privateFinally(); // パラメータ設定 $fwdParameter=commonClass::setParameter('fwd', urlencode(_CONFIG_USER_MODULE_BOOKMARK), $mbSessionGet); header("Location: "._CONFIG_USER_MODULE_MESSAGE.commonClass::setParameter("msg", "63011", $fwdParameter)); exit; }else{ privateFinally(); header("Location: "._CONFIG_USER_MODULE_MESSAGE_ERROR.commonClass::setParameter("err", $classUsr_ust->getErrorCd(), $mbSessionGet)); exit; } break; default: // ブックマークリスト if($classUsr_ust->getBookmark()){ 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; // ブックマークリスト if($classUsr_ust->getBookmarkListCount()!=0){ $classUsr_tpl->assign('bookmarkCount', $classUsr_ust->getBookmarkListCount()); $classUsr_tpl->assign('bookmarkList', $classUsr_ust->getBookmarkList()); $classUsr_tpl->assign('bookmarkTotalCount', $classUsr_ust->getBookmarkListTotalCount()); $classUsr_tpl->assign('bookmarkPrevTag', $classUsr_ust->getBookmarkListPrevTag()); $classUsr_tpl->assign('bookmarkNextTag', $classUsr_ust->getBookmarkListNextTag()); }else{ $classUsr_tpl->assign('bookmarkCount', 0); $classUsr_tpl->assign('bookmarkTotalCount', 0); $classUsr_tpl->assign('bookmarkPrevTag', $classUsr_ust->getBookmarkListPrevTag()); $classUsr_tpl->assign('bookmarkNextTag', $classUsr_ust->getBookmarkListNextTag()); } $classUsr_tpl->assign('submitURL', _CONFIG_USER_MODULE_BOOKMARK); $classUsr_tpl->assign('postParameter', ''. $mbSessionPost); // テンプレート出力 // PC・Mobile判定 if($classCom_brw->getItem('carrier')=='pc'){ $classUsr_tpl->execute2header(_CONFIG_USER_TPL_BOOKMARK_LIST); }else{ if($classCom_brw->getItem('wqvgaFlg')){ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_BOOKMARK_LIST_W); }else if($classCom_brw->getItem('xhtmlFlg')){ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_BOOKMARK_LIST_Q); }else{ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_BOOKMARK_LIST_O); } } } // ++++++++++++++++++++++++++++++++++++++++++++++++++ // 名称:privateBookmarkDeleteConf // 概要:ブックマーク削除確認 // 引数:なし // 戻値:なし // ++++++++++++++++++++++++++++++++++++++++++++++++++ function privateBookmarkDeleteConf(){ // 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('submitURL', _CONFIG_USER_MODULE_BOOKMARK); $classUsr_tpl->assign('postParameter', ''. ''. $mbSessionPost); // テンプレート出力 // PC・Mobile判定 if($classCom_brw->getItem('carrier')=='pc'){ $classUsr_tpl->execute2header(_CONFIG_USER_TPL_BOOKMARK_DELETE_CONF); }else{ if($classCom_brw->getItem('wqvgaFlg')){ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_BOOKMARK_DELETE_CONF_W); }else if($classCom_brw->getItem('xhtmlFlg')){ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_BOOKMARK_DELETE_CONF_Q); }else{ $classUsr_tpl->execute(_CONFIG_TEMPLATE_PATH_USER_MOBILE_DIR._CONFIG_USER_M_TPL_BOOKMARK_DELETE_CONF_O); } } } // ++++++++++++++++++++++++++++++++++++++++++++++++++ // 名称:privateFinally // 概要:終了処理 // 引数:なし // 戻値:なし // ++++++++++++++++++++++++++++++++++++++++++++++++++ function privateFinally(){ } ?>