This commit is contained in:
Andrey Kuvshinov
2020-05-12 21:15:26 +03:00
parent 603f1fd96f
commit 85fc68c8d1
11 changed files with 306 additions and 49 deletions

View File

@@ -80,11 +80,18 @@ function addcard($id, $date) {
}
function mybooks_kuri($clienthash, $page = 1){
function mybooks_kuri($page = 1){
$login = check_login_kuri();
if (!isset($login['data']['clienthash'])){
// header('Location: '.SITE.'login');
// exit;
}
$limit = 25;
$client = api_client_kuri($clienthash);
$baseurl = SITE."mybooks/$clienthash/";
$client = api_client_kuri($login['data']['clienthash']);
$baseurl = SITE."mybooks/";
if (!$client) {
echo 'Пользователь не найден';