find mail in buys
This commit is contained in:
@@ -80,6 +80,10 @@ function addcard($id, $date) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function mybooks_kuri($category = 'gazeta', $filter = 'all', $page = 1){
|
||||
|
||||
$login = check_login_kuri();
|
||||
@@ -104,7 +108,8 @@ function mybooks_kuri($category = 'gazeta', $filter = 'all', $page = 1){
|
||||
return;
|
||||
}
|
||||
|
||||
$items = clientbuys_kuri($client['client_id'], $page, $category_id, $client['clientgroup_id'], $filter);
|
||||
$items = clientbuys_kuri($client['clientmail'], $page, $category_id, $client['clientgroup_id'], $filter);
|
||||
|
||||
$count = $items['count'];
|
||||
|
||||
if ($count > $limit){
|
||||
@@ -136,21 +141,6 @@ function mybooks_kuri($category = 'gazeta', $filter = 'all', $page = 1){
|
||||
|
||||
|
||||
|
||||
function books_client_kuri($id){
|
||||
|
||||
$login = check_login_kuri();
|
||||
|
||||
|
||||
if (!isset($login['client_id'])){
|
||||
header('Location: '.SITE.'login');
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user