$v){ // 「magic_quotes_gpc = On」のときはエスケープ解除 if (get_magic_quotes_gpc()) { $v = stripslashes($v); } $v = htmlspecialchars($v); $$k = $v; } }elseif ($_SERVER["REQUEST_METHOD"] == "GET"){ foreach($_GET as $k => $v){ if (preg_match("/^(msg)$/", $k)){ $message = base64_decode($v); }else{ // 「magic_quotes_gpc = On」のときはエスケープ解除 if (get_magic_quotes_gpc()) { $v = stripslashes($v); } $v = htmlspecialchars($v); $$k = $v; } } } $cmn = new clsCommon(); $db = new clsDb(); if($db->connection()){ // 勤務地一覧の取得 $strSql = "SELECT locate_id AS id, name FROM "._TBL_LOCATE_MST." WHERE sub_area_cd = '000' AND status_cd = '0' ORDER BY rank;"; $locate_row = $db->select($strSql); if($locate_row){ $sel_locate = makeOptionListsFromDataTable($locate_row, "----------------------", false, $slocate); $db->free($locate_row); } // 職種の取得 $category_ary = array(); $category_ary[""] = "------------------------"; $strSql = "SELECT * FROM "._TBL_CATEGORY_MST; $strSql .= " WHERE status_cd='%s'"; $aryPrm = array(); array_push($aryPrm, 0); if($cate_data = $db->select($strSql, $aryPrm, true)){ foreach($cate_data as $drow){ $cid = $drow["category_id"]; $cname = $cmn->encode($drow["name"]); $category_ary["$cid"] = $cname; } } } // 検索選択項目設定 $opt_jikyuu = makeOptionLists(getJikyuu("------", false), $sjikyuu); //$opt_syokusyu = makeOptionLists(getCategoryName("------------------------", false), $ssyokusyu); $opt_syokusyu = makeOptionLists($category_ary, $ssyokusyu); $opt_keyword = makeOptionLists(getKeywordSearch("--------------------", false), $skeyword); $opt_koyoukeitai = makeOptionLists(getKoyoukeitai2("---------------------", false), $skoyoukeitai); unset($db); unset($cmn); // XML宣言 $xml_header = "\n"; print $xml_header; ?>
アスカグループの出張登録会・イベント等を最新情報をメールマガジンでお届けします。