Example #1
0
            }
            break;
        case 'register':
            $index->showRegister('show');
            break;
        case 'checkr':
            $index->register();
            break;
        case 'search':
            $index->search('autor');
            break;
        case 'searchb':
            $index->search('book');
            break;
        case 'submit':
            $index->submitComment();
            break;
        case 'showbook':
            $index->showBook();
            break;
        case 'profile':
            $index->showProfile();
            break;
        case 'update':
            $index->updateManager();
            break;
    }
} else {
    if (isset($_GET['autor'])) {
        $index->showAutor();
    } else {