コード例 #1
0
ファイル: websites.php プロジェクト: codegooglecom/seopanel
            $controller->updateWebsite($_POST);
            break;
    }
} else {
    switch ($_GET['sec']) {
        case "Activate":
            $controller->__changeStatus($_GET['websiteId'], 1);
            $controller->listWebsites($_GET);
            break;
        case "Inactivate":
            $controller->__changeStatus($_GET['websiteId'], 0);
            $controller->listWebsites($_GET);
            break;
        case "delete":
            $controller->__deleteWebsite($_GET['websiteId']);
            $controller->listWebsites($_GET);
            break;
        case "edit":
            $controller->editWebsite($_GET['websiteId']);
            break;
        case "new":
            $controller->newWebsite($_GET);
            break;
        case "crawlmeta":
            $controller->crawlMetaData(urldecode($_GET['url']));
            break;
        default:
            $controller->listWebsites($_GET);
            break;
    }
}