$param = array("name" => &$name, "email" => &$email, "mobile_area" => &$mobileArea, "mobile" => &$mobile, "sp" => &$sp);
            $result = $modelContact->updateContact(webDataFilter('p', 'ctno', 'int'), $param);
            if ($result['success'] === false) {
                $view['jsErrMsg'] =& $result['errmsg'];
                //show modify UI using post data
                $action = 'modifyPost';
                //no exit
            } else {
                //back to contact list
                //header("location: ".WEB_ROOT.'/contact/');
                printSuccessMsgBox();
                exit;
            }
            break;
        case 'del':
            $result = $modelContact->delContact(webDataFilter('p', 'ctno', 'int'));
            if ($result['success'] === false) {
                printHTMLContent('genStandalongJSBlock', array(genJSExistBoxWithCloseRedirect(WEB_JS_ERRMSGBOX_ID, $result['errmsg'], WEB_ROOT . '/contact/')));
                exit;
            } else {
                printSuccessMsgBox();
                exit;
            }
            break;
        default:
            header("location: " . WEB_ROOT . '/contact/');
            exit;
            break;
    }
}
$modelSP = new SMSService();