case "yahoo": $row = 'yahoo'; break; case "fb": $row = 'fb'; break; case "google": $row = 'google'; break; default: alert('接收的資料不符合預期結果!!', $console->_j_web_set['main_path'] . "/"); exit; break; } //針對接收到的資料做處理 判斷有否相關社群網站資料 沒有者 新建立資料 if (!$member->net_login($row, $_POST)) { alert($console->tags('SYSTEM_ERRO'), -1); //系統發生錯誤!! } linkto($console->_j_web_set['main_path'] . "/member/detail"); } break; case "join": if ($member->status()) { linkto($_SERVER['PHP_SELF'] . '?act=detail'); } if ($_POST) { if ($_SESSION["__validate_code"] != md5($_POST["code"])) { alert($console->tags('VAILD_CODE_ERRO'), -1); exit; }