CINXE.COM

bookpoint.gr

<!DOCTYPE html> <html lang="el"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-token" content="5zGaPcXJzoyNtW20O4V5HW30scpz481e7caQ85ww"> <title>bookpoint.gr</title> <meta name="description" content="螆谓伪 蟽畏渭蔚委慰 纬喂伪 蠈位伪 蟿伪 尾喂尾位委伪 | 螔维蟽畏 未蔚未慰渭苇谓蠅谓 魏蠀魏位慰蠁慰蟻慰蠉谓蟿蠅谓 尾喂尾位委蠅谓 | Greek books in print database"> <link rel="shortcut icon" href="https://bookpoint.gr/images/favicon.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:wght@400,700,800|Roboto:wght@300,400,700&display=swap&subset=greek-ext" rel="stylesheet"> <!-- <link href="https://bookpoint.gr/css/icheck/square/purple.css" rel="stylesheet"> --> <link href="https://bookpoint.gr/css/icheck/square/green.css" rel="stylesheet"> <link href="https://bookpoint.gr/css/app.css" rel="stylesheet"> <link href="https://bookpoint.gr/css/theme.css?v=202410" rel="stylesheet"> <script src="https://www.google.com/recaptcha/api.js?hl=el" async defer></script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-MQ1ZHD06F4"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-MQ1ZHD06F4'); </script> </head> <body class="register-page"> <div class="block-menu"></div> <div class="js-cookie-consent cookie-consent"> <span class="cookie-consent__message"> 螚 喂蟽蟿慰蟽蔚位委未伪 渭伪蟼 蠂蟻畏蟽喂渭慰蟺慰喂蔚委 cookies 纬喂伪 谓伪 尾蔚位蟿喂蠋蟽蔚喂 蟿畏谓 蔚渭蟺蔚喂蟻委伪 蟺蔚蟻喂萎纬畏蟽萎蟼 蟽伪蟼. </span> <button class="js-cookie-consent-agree cookie-consent__agree"> 螒蟺慰未慰蠂萎 </button> </div> <script> window.laravelCookieConsent = (function () { const COOKIE_VALUE = 1; const COOKIE_DOMAIN = 'bookpoint.gr'; function consentWithCookies() { setCookie('osdel_net_cookie_consent', COOKIE_VALUE, 365); hideCookieDialog(); } function cookieExists(name) { return (document.cookie.split('; ').indexOf(name + '=' + COOKIE_VALUE) !== -1); } function hideCookieDialog() { const dialogs = document.getElementsByClassName('js-cookie-consent'); for (let i = 0; i < dialogs.length; ++i) { dialogs[i].style.display = 'none'; } } function setCookie(name, value, expirationInDays) { const date = new Date(); date.setTime(date.getTime() + (expirationInDays * 24 * 60 * 60 * 1000)); document.cookie = name + '=' + value + ';expires=' + date.toUTCString() + ';domain=' + COOKIE_DOMAIN + ';path=/' + ''; } if (cookieExists('osdel_net_cookie_consent')) { hideCookieDialog(); } const buttons = document.getElementsByClassName('js-cookie-consent-agree'); for (let i = 0; i < buttons.length; ++i) { buttons[i].addEventListener('click', consentWithCookies); } return { consentWithCookies: consentWithCookies, hideCookieDialog: hideCookieDialog }; })(); </script> <div class="navbar navbar-default custom-navbar header-navbar" id="custom-navbar"> <div class="container"> <div class="navbar-header"> <a class="navbar-brand" href="https://bookpoint.gr"><img src="https://bookpoint.gr/images/bp_logo30.png" /></a> </div> <div id="navbar"> <div class="float-right"> <div class="d-none d-sm-block span3 widget-span widget-type-raw_html custom-search" style="" data-widget-type="raw_html" data-x="4" data-w="3"> <div class="cell-wrapper layout-widget-wrapper"> <span id="hs_cos_wrapper_module_14308928327274411" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_raw_html" style="" data-hs-cos-general-type="widget" data-hs-cos-type="raw_html"> <form method="GET" action="https://bookpoint.gr/adv-search/results" role="search" class="navbar-form navbar-left ng-pristine ng-valid" id="express-form" novalidate=""> <input required="" name="q" placeholder="伪谓伪味萎蟿畏蟽畏..." class="express-form-typeahead form-control tt-input" id="express-form-typeahead" autocomplete="off" spellcheck="false" dir="auto" type="text"> <button class="search-btn" type="submit"><span class="icon"></span></button> </form> </span> </div> <!--end layout-widget-wrapper --> </div> <button data-placement="bottom" data-toggle="popover" data-title="" data-container="body" data-html="true" class="btn navbar-btn l-b login-button"> 螘螜危螣螖螣危 / 螘螕螕巍螒桅螚 </button> <div id="popover-content" class="hidden"> <form data-parsley-validate class="login-form" method="post" action="https://bookpoint.gr/login" role="form"> <input type="hidden" name="_token" value="5zGaPcXJzoyNtW20O4V5HW30scpz481e7caQ85ww"> <div class="form-group"> <input data-parsley-required name="email" placeholder="email" class="form-control" type="email"/> </div> <div class="form-group"> <input data-parsley-required name="password" placeholder="魏蠅未喂魏蠈蟼" class="form-control" type="password" /> </div> <input type="hidden" name="route_name" value="results" /> <input type="hidden" name="route_value" value="https://bookpoint.gr/adv-search/results" /> <div class="form-group"> <button class="btn btn-block btn-custom-success" id="doLoginButton">螘委蟽慰未慰蟼</button> </div> </form> <div class="text-center"> <a target=_blank href="https://cms.bookpoint.gr">违蟺畏蟻蔚蟽委蔚蟼 纬喂伪 蔚魏未蠈蟿蔚蟼</a> </div> <div class="text-center"> <a data-toggle="modal" data-target="#fp_modal" href="">螢蔚蠂维蟽伪蟿蔚 蟿慰谓 魏蠅未喂魏蠈 蟽伪蟼?</a> </div> <div class="text-center"> <a href="https://bookpoint.gr/register">螘纬纬蟻伪蠁萎</a> </div> </div> </div> </div> <div class="d-block d-sm-none mob-search"> <div class=" span3 widget-span widget-type-raw_html custom-search" style="" data-widget-type="raw_html" data-x="4" data-w="3"> <div class="cell-wrapper layout-widget-wrapper"> <span id="hs_cos_wrapper_module_14308928327274411" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_raw_html" style="" data-hs-cos-general-type="widget" data-hs-cos-type="raw_html"> <form method="GET" action="https://bookpoint.gr/adv-search/results" role="search" class="navbar-form navbar-left ng-pristine ng-valid" id="express-form-1" novalidate=""> <input required="" name="q" placeholder="螒谓伪味萎蟿畏蟽畏..." class="form-control tt-input express-form-typeahead" id="express-form-typeahead-1" autocomplete="off" spellcheck="false" dir="auto" type="text"> <button class="search-btn" type="button"><span class="icon"></span></button> </form> </span> </div> <!--end layout-widget-wrapper --> </div> </div> </div> </div> <div id="menu" class="hidden panel panel-default panel-collapse collapse "> <div class="container"> <div class="close-button-container"> <button class="btn navbar-btn close-menu"> <img src="https://bookpoint.gr/images/close-menu-button.png" /> </button> </div> <div class="menu-container"> <div class="welcome-message"> 螝伪位蠋蟼 萎蟻胃蔚蟼 <br/> </div> <ul class="nav my-menu" data-simplebar> </ul> </div> </div> </div> <section id="adv-search-section"> <div class="container p-0 h-100"> <div class="row m-0 w-100"> <div class="col-md-3 col-lg-3 pl-sm-0"> <div class="d-md-none toggle-all-filters"> <button class="btn btn-block btn-custom-primary show-hide-filters">螘渭蠁维谓喂蟽畏 蠁委位蟿蟻蠅谓</button> </div> <div class="all_filters_container"> <div class="results-filter-small-header"> 螒蟺慰蟿蔚位苇蟽渭伪蟿伪 伪谓伪味萎蟿畏蟽畏蟼 纬喂伪: </div> <div class="rfsh-cont"> <div class="row rfsh-row"><div class="lc d-flex pr-1"><img class="js-link remove-filter-b" src="https://bookpoint.gr/images/remove_filter_image.png" data-k="isbn13_search" /></div><div class="col-10 pl-2 rfsh-value"><span class="rfsh-label">ISBN: </span>0299130703</div></div> </div> <div class="d-none d-md-block filters-container bt-black-1"> <div class="row"> <div class="results-filter-small-header align-self-center m-0 col-md-4" >桅委位蟿蟻伪</div> <div data-k="all" class="fh-clear-text col-md-8 remove-filter-b align-self-center text-md-right">螝伪胃伪蟻喂蟽渭蠈蟼 蠈位蠅谓<img class="js-link remove-filter-b" src="https://bookpoint.gr/images/remove_filter_image.png" data-k="all" /></div> </div> <!-- MENU START --> <div> <div class="filter-box-group"> <div class="filter-box-title"> <a href="javascript:void(0);" class="toggle-link">螚渭蔚蟻慰渭畏谓委伪 苇魏未慰蟽畏蟼</a> <img src="https://bookpoint.gr/images/down.png" alt="Toggle" class="toggle-image"> <a class="rl-btn" style="display: none;"><img src="https://bookpoint.gr/images/reload_filter_image.png" width="25px" type="button" class="float-right reload-all-button"/></a> </div> <div class="content" style="display: none;"> <!-- pub_year START --> <div class="row"> <div data-key="pub_year" class="col-sm-12 filter-box"> <div > <b>螆蟿慰蟼 苇魏未慰蟽畏蟼 </b><img class="js-link float-right remove-filter-b" src="https://bookpoint.gr/images/remove_filter_image.png" data-k="pub_year" /> </div> <div class="filter-summary row"> <div class="col-sm-12 col-md-5"> <select data-lib="select2" name="pub_year_from" id="publish_year_from" class="form-control"> <option>&nbsp;</option> </select> </div> <div class="d-sm-none d-sm-flex to-text col-md-2"> 苇蠅蟼 </div> <div class="col-sm-12 col-md-5"> <select data-lib="select2" name="pub_year_to" id="publish_year_to" class="form-control"> <option>&nbsp;</option> </select> </div> </div> </div> </div> <!-- pub_year END --> </div> </div> <div class="filter-box-group"> <div class="filter-box-title"> <a href="javascript:void(0);" class="toggle-link">韦蔚蠂谓喂魏维 蠂伪蟻伪魏蟿畏蟻喂蟽蟿喂魏维</a> <img src="https://bookpoint.gr/images/down.png" alt="Toggle" class="toggle-image"> <a class="rl-btn" style="display: none;"><img src="https://bookpoint.gr/images/reload_filter_image.png" width="25px" type="button" class="float-right reload-all-button"/></a> </div> <div class="content" style="display: none;"> <!-- productKinds START --> <!-- productKinds END --> <!-- productForms START --> <!-- productForms END --> <!-- pages START --> <div class="row"> <div data-key="pages" class="col-sm-12 filter-box"> <div> <b>危蔚位委未蔚蟼</b> <img class="js-link remove-filter-b float-right" src="https://bookpoint.gr/images/remove_filter_image.png" data-k="pages" /> </div> <div class="filter-summary row"> <div class="col-sm-12 col-md-5"> <input value="" type="text" class="form-control" id="pages_from" name="pages_from" /> </div> <div class="d-none d-sm-flex to-text col-md-2"> 苇蠅蟼 </div> <div class="col-sm-12 col-md-5"> <input value="" type="text" class="form-control" id="pages_to" name="pages_to" /> </div> </div> </div> </div> <!-- pages END --> </div> </div> <div class="filter-box-group"> <div class="filter-box-title"> <a href="javascript:void(0);" class="toggle-link">螛苇渭伪蟿伪</a> <img src="https://bookpoint.gr/images/down.png" alt="Toggle" class="toggle-image"> <a class="rl-btn" style="display: none;"><img src="https://bookpoint.gr/images/reload_filter_image.png" width="25px" type="button" class="float-right reload-all-button"/></a> </div> <div class="content" style="display: none;"> <!-- categories START --> <!-- categories END --> <!-- classifications START --> <!-- classifications END --> <!-- audience START --> <!-- audience END --> </div> </div> <div class="filter-box-group"> <div class="filter-box-title"> <a href="javascript:void(0);" class="toggle-link">螖喂伪魏委谓畏蟽畏</a> <img src="https://bookpoint.gr/images/down.png" alt="Toggle" class="toggle-image"> <a class="rl-btn" style="display: none;"><img src="https://bookpoint.gr/images/reload_filter_image.png" width="25px" type="button" class="float-right reload-all-button"/></a> </div> <div class="content" style="display: none;"> <!-- price START --> <div class="row"> <div data-key="price" class="col-sm-12 filter-box"> <div> <b>韦喂渭萎</b><img class="js-link remove-filter-b float-right" src="https://bookpoint.gr/images/remove_filter_image.png" data-k="price" /> </div> <div class="filter-summary row"> <div class="col-sm-12 col-md-5"> <input value="" type="text" class="form-control" id="price_from" name="price_from" /> </div> <div class="d-none d-sm-flex to-text col-md-2"> 苇蠅蟼 </div> <div class="col-sm-12 col-md-5"> <input value="" type="text" class="form-control" id="price_to" name="price_to" /> </div> </div> <!--<div class="text-center"> <img src="https://bookpoint.gr/images/reload_filter_image.png" class="js-link reload-link-button d-block" data-key="price"/> </div>--> </div> </div> <!-- price END --> <!-- publishingStatus START --> <!-- publishingStatus END --> </div> </div> <div class="filter-box-group"> <div class="filter-box-title"> <a href="javascript:void(0);" class="toggle-link">螘魏未蠈蟿蔚蟼</a> <img src="https://bookpoint.gr/images/down.png" alt="Toggle" class="toggle-image"> <a class="rl-btn" style="display: none;"><img src="https://bookpoint.gr/images/reload_filter_image.png" width="25px" type="button" class="float-right reload-all-button"/></a> </div> <div class="content" style="display: none;"> <!-- imprints START --> <!-- imprints END --> </div> </div> <div class="filter-box-group"> <div class="filter-box-title"> <a href="javascript:void(0);" class="toggle-link">螖畏渭喂慰蠀蟻纬慰委</a> <img src="https://bookpoint.gr/images/down.png" alt="Toggle" class="toggle-image"> <a class="rl-btn" style="display: none;"><img src="https://bookpoint.gr/images/reload_filter_image.png" width="25px" type="button" class="float-right reload-all-button"/></a> </div> <div class="content" style="display: none;"> <!-- contributors START --> <!-- contributors END --> </div> </div> <div class="filter-box-group"> <div class="filter-box-title"> <a href="javascript:void(0);" class="toggle-link">螕位蠋蟽蟽蔚蟼</a> <img src="https://bookpoint.gr/images/down.png" alt="Toggle" class="toggle-image"> <a class="rl-btn" style="display: none;"><img src="https://bookpoint.gr/images/reload_filter_image.png" width="25px" type="button" class="float-right reload-all-button"/></a> </div> <div class="content" style="display: none;"> <!-- languages START --> <!-- languages END --> <!-- originalLanguages START --> <!-- originalLanguages END --> </div> </div> </div> <!-- MENU END --> <div class="row"> <div class="filter-box-title">&nbsp;</div> <div class="reload-all-link-c col-12 text-center"> <button type="button" class="btn btn-purple reload-all-button">螒谓伪谓苇蠅蟽畏 蠈位蠅谓</button> </div> </div> </div> </div> </div> <div class="col-md-1 col-lg-1 d-none d-md-block flex-vert-div"></div> <div class="col-12 d-block d-md-none horizontal-divider"></div> <div class="col-lg-8 col-md-8 pr-sm-0 pl-sm-norm f-column"> <div class="row header-search-row"> <div class="col-sm-4 col-md-4 col-lg-3 d-flex"> <button data-type="Th" class="list-type-image list-type-image-active"><span class="fas fa-th-list"></span></button> <button data-type="Grid" class="list-type-image "><span class="fas fa-th-large"></span></button> <button data-type="List" class="list-type-image "><span class="far fa-bars"></span></button> <button data-type="Stats" class="list-type-image "><span class="far fa-chart-pie-alt"></span></button> </div> <div class="col-sm-8 col-md-8 col-lg-5 text-sm-right text-md-right text-lg-center"> <label class="">韦伪尉喂谓蠈渭畏蟽畏 渭蔚</label> <select class="ui-sort custom-ui-select purple"> <option value="generic" selected >危蠂蔚蟿喂魏蠈蟿畏蟿伪</option> <option value="pub_year<>desc" >螚渭/谓委伪 苇魏未慰蟽畏蟼 (蠁胃委谓慰蠀蟽伪)</option> <option value="pub_year<>asc" >螚渭/谓委伪 苇魏未慰蟽畏蟼 (伪蠉尉慰蠀蟽伪)</option> <option value="distinctive_title<>desc" >韦委蟿位慰蟼 (蠁胃委谓慰蠀蟽伪)</option> <option value="distinctive_title<>asc" >韦委蟿位慰蟼 (伪蠉尉慰蠀蟽伪)</option> <option value="isbn13<>desc" >ISBN (蠁胃委谓慰蠀蟽伪)</option> <option value="isbn13<>asc" >ISBN (伪蠉尉慰蠀蟽伪)</option> <option value="pages<>desc" >危蔚位委未蔚蟼 (蠁胃委谓慰蠀蟽伪)</option> <option value="pages<>asc" >危蔚位委未蔚蟼 (伪蠉尉慰蠀蟽伪)</option> <option value="price<>desc" >韦喂渭萎 (蠁胃委谓慰蠀蟽伪)</option> <option value="price<>asc" >韦喂渭萎 (伪蠉尉慰蠀蟽伪)</option> </select> </div> <div class="col-sm-12 col-md-12 col-lg-4 text-sm-right pr-lg-0 mt-sm-2 mt-lg-0"> <label class="">螘纬纬蟻伪蠁苇蟼 伪谓维 蟽蔚位委未伪</label> <select data-width="70px" class="ui-rpp custom-ui-select purple"> <option value="30" selected >30</option> <option value="50" >50</option> <option value="100" >100</option> </select> </div> </div> <div class="row page-info-row"> <div class="col-lg-4 d-flex text-sm-left text-right"> <div class="page-info-middle"> <span class="t-color-sec font-weight-bold">0</span> <span>伪蟺慰蟿蔚位苇蟽渭伪蟿伪</span> </div> </div> </div> <div class="row results-container" oncontextmenu="return false;"> <div class="col-12"> <p class="alert alert-primary"><span class="alert-msg">螖蔚谓 尾蟻苇胃畏魏伪谓 伪蟺慰蟿苇位蔚蟽渭伪蟿伪 蟺慰蠀 谓伪 喂魏伪谓慰蟺慰喂慰蠉谓 蟿伪 魏蟻喂蟿萎蟻喂伪 蟽伪蟼.</span></p> </div> </div> <div class=""> </div> </div> </div> </div> <form class="d-none" id="adv-search-form" method="GET" data-action="https://bookpoint.gr/adv-search/results" action="https://bookpoint.gr/adv-search/results"> <input type="hidden" name="title_search" id="title_search" value="" /> <input type="hidden" name="isbn13_search" id="isbn13_search" value="0299130703" /> <input type="hidden" name="pub_year_from" id="pub_year_from" value="" /> <input type="hidden" name="pub_year_to" id="pub_year_to" value="" /> <input type="hidden" name="pub_month_from" id="pub_month_from" value="" /> <input type="hidden" name="pub_month_to" id="pub_month_to" value="" /> <input type="hidden" name="pub_id" id="pub_id" value="" /> <!-- <input type="hidden" name="contr_search" id="contr_search" value="" />--> <input type="hidden" name="contr_selected_v" id="contr_selected_v" value="" /> <input type="hidden" name="imprint_search[]" class="imprint_search_input" id="imprint_search" value="" /> <input type="hidden" name="sub_selected_v" id="sub_selected_v" value="" /> <input type="hidden" name="contr_role_split[]" class="contr_role_input" value="" /> <input type="hidden" name="category[]" class="category_input" value="" /> <input type="hidden" name="product_kind[]" class="product_kind_input" value="" /> <input type="hidden" name="publishing_status[]" class="publishing_status_input" value="" /> <input type="hidden" name="net_price_ends_from" id="net_price_ends_from" value="" /> <input type="hidden" name="net_price_ends_to" id="net_price_ends_to" value="" /> <input type="hidden" name="description" id="description" value="" /> <input name="Series_search" type="hidden" id="Series_search" value=""> <input type="hidden" name="audience[]" class="audience_input" value="" /> <input type="hidden" name="price_type[]" class="price_type_input" value="" /> <input name="pages_from" type="hidden" id="pages_from" value=""/> <input name="pages_to" type="hidden" id="pages_to" value=""/> <input name="price_from" type="hidden" id="price_from" value=""/> <input name="price_to" type="hidden" id="price_to" value=""/> <input type="hidden" name="product_form[]" class="product_form_input" value="" /> <input type="hidden" name="language[]" class="product_form_input" value="" /> <input type="hidden" name="original_language[]" class="original_language_input" value="" /> <input type="hidden" name="translated[]" class="translated_input" value="" /> <input type="hidden" name="dianomi" id="dianomi" value="" /> <input type="hidden" name="order" id="order" value="generic" /> <input type="hidden" name="lt" id="lt" value="Th" /> <input type="hidden" name="rpp" id="rpp" value="30" /> <input type="hidden" name="old_rpp" id="old_rpp" value="30" /> <input type="hidden" name="old_page" id="old_page" value="1" /> <input type="hidden" name="page" id="page" value="1" /> </form> </section> <div class="modal fade" id="lists_modal" tabIndex="-1" role="dialog" aria-labelledby="lists_modal_title" aria-hidden="true"> <div role="document" class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <div class="modal-header w-100"> <h5 class="modal-title text-center" id="lists_modal_title">螤蟻慰蟽胃萎魏畏 蟽蟿畏 螞委蟽蟿伪</h5> </div> <div class="modal-body"> <div class="loader"> <div class='uil-ripple-css' style='transform:scale(0.75);'><div></div><div></div></div> </div> <div class="m-content d-none"> <input type="hidden" id="doc_id" value="" /> <div class="lists"> <div class="global-lists"> <ul class="modal-list"> </ul> </div> <div class="custom-lists"></div> <div class="add-new-list-container"> <button type="button" class="btn btn-secondary toggle-add-to-list-form" >螤蟻慰蟽胃萎魏畏 蟽蔚 谓苇伪</button> </div> </div> <div class="add-list-form-container d-none"> <form data-parsley-validate class="add-list-form" data-url="https://bookpoint.gr/lists"> <input type="hidden" value="" id="book_id" name="book_id"> <div class="form-group"> <input data-parsley-required type="text" class="form-control" id="new_list_name" placeholder="螌谓慰渭伪"> </div> <div class="form-group text-center"> <button type="button" class="btn btn-custom-primary">螤蟻慰蟽胃萎魏畏</button> </div> <div class="form-group text-center m-loader"> <span class="d-none fas fa-cog fa-spin fa-2x sl-loader"></span> </div> </form> </div> </div> <div class="alert alert-danger d-none lists-not-loaded"> <div>螖蔚谓 渭蟺慰蟻苇蟽伪渭蔚 谓伪 蠁慰蟻蟿蠋蟽慰蠀渭蔚 蟿喂蟼 位委蟽蟿蔚蟼 蟽伪蟼. 螤伪蟻伪魏伪位蠋 未慰魏喂渭维蟽蟿蔚 伪蟻纬蠈蟿蔚蟻伪.</div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">螝位蔚委蟽喂渭慰</button> </div> </div> </div> </div> <footer> <div class="container-fluid"> <div class="row first-row-footer"> <!-- <div class="d-none d-md-block col-md-4"> --> <div class="col-8 col-md-4"> <div class="small-logo"> <img src="https://bookpoint.gr/images/bp_logow.png" /> </div> <p><br/> 螛蔚渭喂蟽蟿慰魏位苇慰蠀蟼 73, 10683 螒胃萎谓伪<br/> 蟿畏位.: 210 3849 118<br/> email: <a href="mailto:info@bookpoint.gr" class="footer-link">info@bookpoint.gr</a><br/> </p> </div> <div class="col col-md-8"> <div class="row footer-nested-row"> <!-- <div class="d-none col col-lg-4 border-left-color d-md-flex justify-content-center"> <ul class="margin-t-7"> <li><a href="https://bookpoint.gr/about-us" class="footer-link">螤螣螜螣螜 螘螜螠螒危韦螘</a></li> <li><a href="https://bookpoint.gr/gdpr" class="footer-link">GDPR</a></li> <li><a href="https://bookpoint.gr/data-protection" class="footer-link">螤巍螣危韦螒危螜螒 螖螘螖螣螠螘螡惟螡</a></li> <li><a href="https://bookpoint.gr/terms-of-use" class="footer-link">螣巍螣螜 围巍螚危螚危</a></li> </ul> </div> --> <!-- <div class="col col-lg-4 text-right social-icon-container"> <a href="https://www.facebook.com/osdel.gr/"><img class="social-icon" src="https://bookpoint.gr/images/facebook_icon.png"></a> <a href="https://twitter.com/OsdelGR"><img class="social-icon" src="https://bookpoint.gr/images/twitter_icon.png"></a> </div> 螕螘螡螜螝螘危 螤螞螚巍螣桅螣巍螜螘危 韦喂 蔚委谓伪喂 畏 慰蟽未苇位net 危蠀蠂谓苇蟼 蔚蟻蠅蟿萎蟽蔚喂蟼 螘蟺喂魏慰喂谓蠅谓委伪 GDPR 违螤螚巍螘危螜螘危 螖畏渭喂慰蠀蟻纬委伪 位慰纬伪蟻喂伪蟽渭慰蠉 螖畏渭喂慰蠀蟻纬慰委 螘魏未蠈蟿蔚蟼 螔喂尾位喂慰蟺蠋位蔚蟼 危蟿伪蟿喂蟽蟿喂魏维 faqs account authors pubs booksellers --> <div class="col-2 col-lg-4 text-right social-icon-container"> </div> <div class="d-none col col-lg-4 border-left-color d-md-flex justify-content-center"> <ul class="margin-t-7"> <li><b>螕蔚谓喂魏苇蟼 蟺位畏蟻慰蠁慰蟻委蔚蟼</b></li> <li> &nbsp;</li> <li><a href="https://bookpoint.gr/about-us" class="footer-link">韦喂 蔚委谓伪喂 蟿慰 bookpoint</a></li> <li><a href="https://bookpoint.gr/faqs" class="footer-link">危蠀蠂谓苇蟼 蔚蟻蠅蟿萎蟽蔚喂蟼</a></li> <li><a href="https://bookpoint.gr/manual" class="footer-link">螣未畏纬委蔚蟼 伪谓伪味萎蟿畏蟽畏蟼</a></li> <li><a href="https://bookpoint.gr/contact-us" class="footer-link">螘蟺喂魏慰喂谓蠅谓委伪</a></li> <li><a href="https://bookpoint.gr/gdpr" class="footer-link">螤慰位喂蟿喂魏萎 伪蟺慰蟻蟻萎蟿慰蠀 (GDPR)</a></li> </ul> </div> <div class="d-none col col-lg-4 border-left-color d-md-flex justify-content-center"> <ul class="margin-t-7"> <li><b>违蟺畏蟻蔚蟽委蔚蟼</b></li> <li> &nbsp;</li> <li><a href="https://bookpoint.gr/account" class="footer-link">螖畏渭喂慰蠀蟻纬委伪 位慰纬伪蟻喂伪蟽渭慰蠉</a></li> <li><a href="https://bookpoint.gr/authors" class="footer-link">螖畏渭喂慰蠀蟻纬慰委</a></li> <li><a href="https://bookpoint.gr/pubs" class="footer-link">螘魏未蠈蟿蔚蟼</a></li> <li><a href="https://bookpoint.gr/booksellers" class="footer-link">螔喂尾位喂慰蟺蠋位蔚蟼</a></li> <li><a href="https://bookpoint.gr/stats/10001" class="footer-link">危蟿伪蟿喂蟽蟿喂魏维</a></li> </ul> </div> <!-- <div class="d-none col col-lg-4 border-left-color d-md-flex justify-content-center"> <ul class="margin-t-7"> <li><a href="https://bookpoint.gr/awards" class="footer-link">螔巍螒螔螘螜螒</a></li> <li><a href="https://bookpoint.gr/stats/10001" class="footer-link">危韦螒韦螜危韦螜螝螒</a></li> <li><a href="https://bookpoint.gr/contact-us" class="footer-link">螘螤螜螝螣螜螡惟螡螜螒</a></li> </ul> </div> <div class="d-none col col-lg-4 border-left-color d-md-flex justify-content-center"> <ul class="margin-t-7"> <li><a href="https://bookpoint.gr/about-us" class="footer-link">螤螣螜螣螜 螘螜螠螒危韦螘</a></li> <li><a href="https://bookpoint.gr/gdpr" class="footer-link">GDPR</a></li> <li><a href="https://bookpoint.gr/data-protection" class="footer-link">螤巍螣危韦螒危螜螒 螖螘螖螣螠螘螡惟螡</a></li> <li><a href="https://bookpoint.gr/terms-of-use" class="footer-link">螣巍螣螜 围巍螚危螚危</a></li> </ul> </div> --> <div class="d-none my-footbar-menu"> <ul class="margin-t-7"> <li><a href="https://bookpoint.gr/about-us" class="footer-link">韦喂 蔚委谓伪喂 蟿慰 bookpoint</a></li> <li><a href="https://bookpoint.gr/faqs" class="footer-link">危蠀蠂谓苇蟼 蔚蟻蠅蟿萎蟽蔚喂蟼</a></li> <li><a href="https://bookpoint.gr/manual" class="footer-link">螣未畏纬委蔚蟼 伪谓伪味萎蟿畏蟽畏蟼</a></li> <li><a href="https://bookpoint.gr/contact-us" class="footer-link">螘蟺喂魏慰喂谓蠅谓委伪</a></li> <li><a href="https://bookpoint.gr/gdpr" class="footer-link">螤慰位喂蟿喂魏萎 伪蟺慰蟻蟻萎蟿慰蠀 (GDPR)</a></li> <li> &nbsp;</li> <li><a href="https://bookpoint.gr/account" class="footer-link">螖畏渭喂慰蠀蟻纬委伪 位慰纬伪蟻喂伪蟽渭慰蠉</a></li> <li><a href="https://bookpoint.gr/authors" class="footer-link">螖畏渭喂慰蠀蟻纬慰委</a></li> <li><a href="https://bookpoint.gr/pubs" class="footer-link">螘魏未蠈蟿蔚蟼</a></li> <li><a href="https://bookpoint.gr/booksellers" class="footer-link">螔喂尾位喂慰蟺蠋位蔚蟼</a></li> <li><a href="https://bookpoint.gr/stats/10001" class="footer-link">危蟿伪蟿喂蟽蟿喂魏维</a></li> <li> &nbsp;</li> </ul> </div> <div class="burger-menu-container col-4 d-block d-md-none text-center"> <span class="burger-menu">&#9776;</span> </div> </div> </div> </div> <div class="row border-row-w-padding"> <div class="col-12 col-md-6 mt-2 col-lg-6"> <a href="https://bookpoint.gr/credits" class="footer-link">&copy; 螣危螖螘螞 2017 - 2024</a> </div> </div> </div> </footer> <form class="d-none" id="general-search-form" method="GET" data-action="https://bookpoint.gr/adv-search/results" action="https://bookpoint.gr/adv-search/results"> <input type="hidden" name="title_search" id="title_search_1" value="" /> </form> <div class="modal" id="fp_modal" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">Bookpoint</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body"> <div class="d-none alert fp-alert"> <div class="suc d-none">危伪蟼 蟽蟿蔚委位伪渭蔚 苇谓伪 email 渭蔚 慰未畏纬委蔚蟼 纬喂伪 蟿畏谓 蔚蟺伪谓伪蠁慰蟻维 蟿慰蠀 魏蠅未喂魏慰蠉 蟽伪蟼.</div> <div class="er d-none">违蟺萎蟻尉蔚 魏维蟺慰喂慰 蟺蟻蠈尾位畏渭伪 魏伪蟿维 蟿畏 伪蟺慰蟽蟿慰位萎 蟿慰蠀 渭畏谓蠉渭伪蟿慰蟼.</div> </div> <p class="normal-ff-text">螤伪蟻伪魏伪位蠋, 蟽蠀渭蟺位畏蟻蠋蟽蟿蔚 蟿慰 email 蟽伪蟼 魏伪喂 蟺伪蟿萎蟽蟿蔚 伪蟺慰蟽蟿慰位萎.</p> <form data-parsley-validate class="fp-form" action="https://bookpoint.gr/password/email"> <div class="form-group"> <label for="f-mail" class="col-form-label">Email*</label> <input data-parsley-required type="email" class="form-control" id="fp-mail"> </div> </form> </div> <div class="modal-footer"> <button type="button" style="border-radius: 0" class="btn btn-secondary" data-dismiss="modal">螝位蔚委蟽喂渭慰</button> <button type="button" class="btn btn-custom-primary send-email-button">螒蟺慰蟽蟿慰位萎</button> <button type="button" class="d-none btn button-spinner p-0"> <span class="fas fa-spinner fa-spin fa-2x fa-fw"></span> </button> </div> </div> </div> </div> <script type="text/javascript"> </script> <script src="https://bookpoint.gr/js/app.js" type="text/javascript"></script> <script type="text/javascript" src="https://bookpoint.gr/js/icheck.min.js"></script> <script type="text/javascript"> window.removeBookListIcon = "https://bookpoint.gr/images/remove-list-icon.png"; window.addBookListIcon = "https://bookpoint.gr/images/add-list-icon.png"; window.oBookId = -1; document.addEventListener('DOMContentLoaded', function() { // Get the date input elements const netPriceEndsFrom = document.getElementById('net_price_ends_from'); const netPriceEndsTo = document.getElementById('net_price_ends_to'); // Listen for changes in the "from" date input netPriceEndsFrom.addEventListener('change', function() { console.log('Net Price Ends From: ' + netPriceEndsFrom.value); }); // Listen for changes in the "to" date input netPriceEndsTo.addEventListener('change', function() { console.log('Net Price Ends To: ' + netPriceEndsTo.value); }); }); $(document).ready(function(){ //visibility for pub month// function updateMonthFilterVisibility() { if ($("#publish_year_from").val() && $("#publish_year_from").val().trim() !== "") { $("#publish_month_from").prop("disabled", false); } else { $("#publish_month_from").prop("disabled", true); } if ($("#publish_year_to").val() && $("#publish_year_to").val().trim() !== "") { $("#publish_month_to").prop("disabled", false); } else { $("#publish_month_to").prop("disabled", true); } } // Initial visibility update updateMonthFilterVisibility(); // Update visibility on year change $("#publish_year_from, #publish_year_to").change(function() { updateMonthFilterVisibility(); }); // JavaScript function to toggle text function toggleText(elementId) { const toggleElement = $('#' + elementId); const currentText = toggleElement.text(); toggleElement.text(currentText === '蟺蔚蟻喂蟽蟽蠈蟿蔚蟻伪' ? '位喂纬蠈蟿蔚蟻伪' : '蟺蔚蟻喂蟽蟽蠈蟿蔚蟻伪'); } // Click event listener for the toggle link $('.filter-box-toggle-container').click(function() { // Get the ID of the clicked toggle element const toggleId = $(this).find('.toggle-f').attr('id'); // Toggle the text when the link is clicked toggleText(toggleId + '-text'); }); /* function toggleText(elementId) { const toggleElement = $('#' + elementId); const currentText = toggleElement.text(); toggleElement.text(currentText === '蟺蔚蟻喂蟽蟽蠈蟿蔚蟻慰喂 蔚魏未蠈蟿蔚蟼' ? '位喂纬蠈蟿蔚蟻慰喂 蔚魏未蠈蟿蔚蟼' : '蟺蔚蟻喂蟽蟽蠈蟿蔚蟻慰喂 蔚魏未蠈蟿蔚蟼'); } // Usage example $('#toggle-imprints-text').click(function() { // Toggle the text when the link is clicked toggleText('toggle-imprints-text'); }); */ $('.toggle-link, .toggle-image').click(function() { var content = $(this).closest('.filter-box-group').find('.content'); var image = $(this).closest('.filter-box-group').find('.toggle-image'); var rlButton = $(this).closest('.filter-box-group').find('.rl-btn'); // Select the rl-btn element content.slideToggle(); // Toggle the image src if (image.attr('src') === "https://bookpoint.gr/images/down.png") { image.attr('src', "https://bookpoint.gr/images/up-arrow.png"); } else { image.attr('src', "https://bookpoint.gr/images/down.png"); } // Toggle the visibility of rl-btn based on the content visibility rlButton.toggle(); }); $('.show-hide-filters').on('click', function(e){ if ($('.filters-container').is(':visible')){ $('.filters-container').addClass('d-none'); $('.reload-all-link-c').parent('div').addClass('d-none'); $(this).html('螘渭蠁维谓喂蟽畏 蠁委位蟿蟻蠅谓'); }else { $('.filters-container').removeClass('d-none'); $('.reload-all-link-c').parent('div').removeClass('d-none'); $(this).html('螒蟺蠈魏蟻蠀蠄畏 蠁委位蟿蟻蠅谓'); } }); $('select.custom-ui-select').select2({ theme: 'bootstrap4', minimumResultsForSearch: -1 }); $('select[data-lib="select2"]').select2({ theme: 'bootstrap4' }); $('.ui-sort').on('select2:select', function(){ updateForm([{name: 'order', value: $(this).val()}]); }); $('.ui-rpp').on('select2:select', function(){ updateForm([{name: 'rpp', value: $(this).val()}]); }); $('.toggle-add-to-list-form').on('click', function(){ if ($('.add-list-form-container').hasClass('d-none')){ $('.add-list-form-container').removeClass('d-none'); }else { $('.add-list-form-container').addClass('d-none'); } }); $('.add-list-form .btn').on('click', function(){ if ($('.add-list-form').parsley().validate()){ createAndAdd($('.add-list-form #new_list_name').val(), 'list'); } }); $('#lists_modal').on('hidden.bs.modal', function(e){ }); $('#lists_modal').on('show.bs.modal', function(e){ var rel = $($(e.relatedTarget)); var bookId = rel.data('book-id'); $('.add-list-form #book_id').val(bookId); if (bookId != window.oBookId){ $('.lists-not-loaded').addClass('d-none'); $('#lists_modal .loader').removeClass('d-none'); $('#lists_modal .m-content').addClass('d-none'); } }); $('#lists_modal').on('shown.bs.modal', function(e){ var url = "https://bookpoint.gr/books/-1/lists"; if (oBookId != $('.add-list-form #book_id').val()){ $('.lists-not-loaded').addClass('d-none'); $('#lists_modal .loader').removeClass('d-none'); $('#lists_modal .m-content').addClass('d-none'); $.ajax({ type: 'GET', dataType: 'JSON', url: url.replace("-1", $('.add-list-form #book_id').val()), success: function(response){ if (response.success){ $('#lists_modal .loader').addClass('d-none'); $('#lists_modal .m-content').removeClass('d-none'); var isFave = false; $('#lists_modal .modal-list li').each(function(){ $(this).remove(); }); for(var x = 0; x < response.data.length; x++){ var c1 = 'not-in-list'; var icon = window.addBookListIcon; if (response.data[x].hasBook === true){ c1 = 'in-list'; isFave = true; icon = window.removeBookListIcon; } var modalHtml = '<li class="modal-list-entry '+c1+'" data-url="'+response.data[x].actionUrl+'" data-id="'+response.data[x].id+'" data-name="'+response.data[x].name+'">'; modalHtml += '<a href="'+response.data[x].url+'">'+response.data[x].name+'</a>'; modalHtml += '<span class="modal-sl-loader"><span class="fas fa-cog fa-spin fa-2x d-none"></span></span>'; modalHtml += '<span class="l-icon js-link"><img src="'+icon+'" /></span></li>'; $('#lists_modal .modal-list').append(modalHtml); } if (isFave) { $('.fave_div[data-book-id=' + $('.add-list-form #book_id').val() + ']').addClass('is_fave'); } window.oBookId = $('.add-list-form #book_id').val(); }else{ $('.lists-not-loaded').removeClass('d-none'); $('#lists_modal .loader').addClass('d-none'); } }, error: function(){ $('.lists-not-loaded').removeClass('d-none'); $('#lists_modal .loader').addClass('d-none'); } }); } }); $('body').on('click', ".l-icon", function(){ var parent = $(this).parent('li'); if (parent.hasClass('in-list')){ removeBook(parent, 'list'); }else{ addBook(parent, 'list'); } }); $('.page-info-row .page-item span.page-link').on('click', function(){ if ($(this).hasClass('disabled') || $(this).hasClass('active')){ return; } var page = $(this).data('page'); page = parseInt(page); updateForm([{name: 'page', value: page}]); }); $('.page-info-row button.previous').on('click', function(){ if ($(this).hasClass('disabled')){ return; } var page = $('#adv-search-form #page').val(); page = parseInt(page) - 1; updateForm([{name: 'page', value: page}]); }); $('.page-info-row button.next').on('click', function(){ if ($(this).hasClass('disabled')){ return; } var page = $('#adv-search-form #page').val(); page = parseInt(page) + 1; updateForm([{name: 'page', value: page}]); }); $('.list-type-image').on('click', function(){ if ($(this).hasClass('list-type-image-active')){ return; } updateForm([{name: 'lt', value: $(this).data('type')}]); }); $('.toggle-f').on('click', function(){ if ($(this).parent('div').siblings('.filter-box-advanced').hasClass('d-none')){ $(this).parent('div').siblings('.filter-box-advanced').removeClass('d-none'); $(this).parent('div').siblings('.filter-summary').addClass('d-none'); }else { $(this).parent('div').siblings('.filter-box-advanced').addClass('d-none'); $(this).parent('div').siblings('.filter-summary').removeClass('d-none'); } }); $('input.flat').iCheck({ checkboxClass: 'icheckbox_square-green', radioClass: 'iradio_square-green' }); $('.filter-summary-row .filter-checkbox').on('ifChecked', function(e){ var k = $(this).data('key'); $('.filter-list-item .filter-checkbox[data-key='+k+'][value="'+$(this).val()+'"]').iCheck('check').iCheck('update'); }); $('.filter-summary-row .filter-checkbox').on('ifUnchecked', function(e){ var k = $(this).data('key'); $('.filter-list-item .filter-checkbox[data-key='+k+'][value="'+$(this).val()+'"]').iCheck('uncheck').iCheck('update'); }); $('.filter-list-item .filter-checkbox').on('ifChecked', function(e){ var k = $(this).data('key'); $('.filter-summary-row .filter-checkbox[data-key='+k+'][value="'+$(this).val()+'"]').iCheck('check').iCheck('update'); }); $('.filter-list-item .filter-checkbox').on('ifUnchecked', function(e){ var k = $(this).data('key'); $('.filter-summary-row .filter-checkbox[data-key='+k+'][value="'+$(this).val()+'"]').iCheck('uncheck').iCheck('update'); }); var contributors = $('.composite-filter[data-key="contributors"] .filter-list-container .subheader > div'); $('#filter-key-contributors').on('keyup', function(){ var val = accentSafe(this.value.trim()); console.log(val); if(!val){ $('div:hidden', '.composite-filter[data-key="contributors"] .filter-list-container').show(); }else { $('div:hidden', '.composite-filter[data-key="contributors"] .filter-list-container').show(); $('div.filter-summary-row', contributors).filter(function() { var re = new RegExp(val, 'ig'); return !re.test($(this).data('filter-value')); }).hide(); contributors.each(function() { var x = $(this); if ($('div.filter-summary-row:visible', x.parent('div.subheader')).length == 0){ $(this).parent('div.subheader').hide(); }else { $(this).parent('div.subheader').show(); } }); if ($('div.filter-summary-row:visible', '.composite-filter[data-key="contributors"]').length == 0){ $('.composite-filter[data-key="contributors"] .filter-box-advanced').find('.filter-no-results').removeClass('d-none'); }else { $('.composite-filter[data-key="contributors"] .filter-box-advanced').find('.filter-no-results').addClass('d-none'); } } }); var imprints = $('.composite-filter[data-key="imprints"] .filter-list-container .subheader > div'); $('#filter-key-imprints').on('keyup', function(){ var val = accentSafe(this.value.trim()); if(!val){ $('div:hidden', '.composite-filter[data-key="imprints"] .filter-list-container').show(); }else { $('div:hidden', '.composite-filter[data-key="imprints"] .filter-list-container').show(); $('div.filter-summary-row', imprints).filter(function() { var re = new RegExp(val, 'ig'); return !re.test($(this).data('filter-value')); }).hide(); imprints.each(function() { var x = $(this); if ($('div.filter-summary-row:visible', x.parent('div.subheader')).length == 0){ $(this).parent('div.subheader').hide(); }else { $(this).parent('div.subheader').show(); } }); if ($('div.filter-summary-row:visible', '.composite-filter[data-key="imprints"]').length == 0){ $('.composite-filter[data-key="imprints"] .filter-box-advanced').find('.filter-no-results').removeClass('d-none'); }else { $('.composite-filter[data-key="imprints"] .filter-box-advanced').find('.filter-no-results').addClass('d-none'); } } }); var classifications = $('.composite-filter[data-key="classifications"] .filter-list-container .subheader > div'); $('#filter-key-classifications').on('keyup', function(){ var val = accentSafe(this.value.trim()); if(!val){ $('div:hidden', '.composite-filter[data-key="classifications"] .filter-list-container').show(); }else { $('div:hidden', '.composite-filter[data-key="classifications"] .filter-list-container').show(); $('div.filter-summary-row', classifications).filter(function() { var re = new RegExp(val, 'ig'); return !re.test($(this).data('filter-value')); }).hide(); classifications.each(function() { var x = $(this); if ($('div.filter-summary-row:visible', x.parent('div.subheader')).length == 0){ $(this).parent('div.subheader').hide(); }else { $(this).parent('div.subheader').show(); } }); if ($('div.filter-summary-row:visible', '.composite-filter[data-key="classifications"]').length == 0){ $('.composite-filter[data-key="classifications"] .filter-box-advanced').find('.filter-no-results').removeClass('d-none'); }else { $('.composite-filter[data-key="classifications"] .filter-box-advanced').find('.filter-no-results').addClass('d-none'); } } }); var productForms = $('.composite-filter[data-key="productForms"] .filter-list-container .subheader > div'); $('#filter-key-productForms').on('keyup', function(){ var val = accentSafe(this.value.trim()); if(!val){ $('div:hidden', '.composite-filter[data-key="productForms"] .filter-list-container').show(); }else { $('div:hidden', '.composite-filter[data-key="productForms"] .filter-list-container').show(); $('div.filter-summary-row', productForms).filter(function() { var re = new RegExp(val, 'ig'); return !re.test($(this).data('filter-value')); /*console.log($(this).data('filter-value').toLowerCase()); console.log(val); console.log( $(this).data('filter-value').toLowerCase().trim().indexOf(val) == -1); return $(this).data('filter-value').toLowerCase().trim().indexOf(val) == -1;*/ }).hide(); productForms.each(function() { var x = $(this); if ($('div.filter-summary-row:visible', x.parent('div.subheader')).length == 0){ $(this).parent('div.subheader').hide(); }else { $(this).parent('div.subheader').show(); } }); if ($('div.filter-summary-row:visible', '.composite-filter[data-key="productForms"]').length == 0){ $('.composite-filter[data-key="productForms"] .filter-box-advanced').find('.filter-no-results').removeClass('d-none'); }else { $('.composite-filter[data-key="productForms"] .filter-box-advanced').find('.filter-no-results').addClass('d-none'); } } }); var languages = $('.composite-filter[data-key="languages"] .filter-list-container .subheader > div'); $('#filter-key-languages').on('keyup', function(){ var val = accentSafe(this.value.trim()); if(!val){ $('div:hidden', '.composite-filter[data-key="languages"] .filter-list-container').show(); }else { $('div:hidden', '.composite-filter[data-key="languages"] .filter-list-container').show(); $('div.filter-summary-row', languages).filter(function() { var re = new RegExp(val, 'ig'); return !re.test($(this).data('filter-value')); /*console.log($(this).data('filter-value').toLowerCase()); console.log(val); console.log( $(this).data('filter-value').toLowerCase().trim().indexOf(val) == -1); return $(this).data('filter-value').toLowerCase().trim().indexOf(val) == -1;*/ }).hide(); languages.each(function() { var x = $(this); if ($('div.filter-summary-row:visible', x.parent('div.subheader')).length == 0){ $(this).parent('div.subheader').hide(); }else { $(this).parent('div.subheader').show(); } }); if ($('div.filter-summary-row:visible', '.composite-filter[data-key="languages"]').length == 0){ $('.composite-filter[data-key="languages"] .filter-box-advanced').find('.filter-no-results').removeClass('d-none'); }else { $('.composite-filter[data-key="languages"] .filter-box-advanced').find('.filter-no-results').addClass('d-none'); } } }); var originalLanguages = $('.composite-filter[data-key="original_languages"] .filter-list-container .subheader > div'); $('#filter-key-original-languages').on('keyup', function(){ var val = accentSafe(this.value.trim()); if(!val){ $('div:hidden', '.composite-filter[data-key="original_languages"] .filter-list-container').show(); }else { $('div:hidden', '.composite-filter[data-key="original_languages"] .filter-list-container').show(); $('div.filter-summary-row', originalLanguages).filter(function() { var re = new RegExp(val, 'ig'); return !re.test($(this).data('filter-value')); /*console.log($(this).data('filter-value').toLowerCase()); console.log(val); console.log( $(this).data('filter-value').toLowerCase().trim().indexOf(val) == -1); return $(this).data('filter-value').toLowerCase().trim().indexOf(val) == -1;*/ }).hide(); originalLanguages.each(function() { var x = $(this); if ($('div.filter-summary-row:visible', x.parent('div.subheader')).length == 0){ $(this).parent('div.subheader').hide(); }else { $(this).parent('div.subheader').show(); } }); if ($('div.filter-summary-row:visible', '.composite-filter[data-key="original_languages"]').length == 0){ $('.composite-filter[data-key="original_languages"] .filter-box-advanced').find('.filter-no-results').removeClass('d-none'); }else { $('.composite-filter[data-key="original_languages"] .filter-box-advanced').find('.filter-no-results').addClass('d-none'); } } }); $('.remove-filter-b').on('click', function(){ removeFilter($(this)); }); $('.reload-link-button').on('click', function(){ reloadFilter($(this)); }); $('.reload-all-button').on('click', function(){ var cObject = $('.filter-box[data-key=contributors]'); var contributorArObj = []; if (cObject.length > 0){ var cSumObject = cObject.find('.filter-summary'), cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0){ var inputs = cExpObject.find('input:checked'); inputs.each(function(index, v){ var obj = { id: $(this).val(), text: $(this).data('text') }; contributorArObj.push(obj); }); }else { var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { id: $(this).val(), text: $(this).data('text') }; contributorArObj.push(obj); }); } } cObject = $('.filter-box[data-key=imprints]'); var imprintsArObj = []; if (cObject.length > 0){ cSumObject = cObject.find('.filter-summary'); cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0){ var inputs = cExpObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; imprintsArObj.push(obj); }); }else { var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; imprintsArObj.push(obj); }); } console.log(imprintsArObj); } cObject = $('.filter-box[data-key=classifications]'); var classArObj = []; if (cObject.length > 0){ cSumObject = cObject.find('.filter-summary'); cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0){ var inputs = cExpObject.find('input:checked'); inputs.each(function(index, v){ var obj = { id: $(this).val(), text: $(this).data('text') }; classArObj.push(obj); }); }else { var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { id: $(this).val(), text: $(this).data('text') }; classArObj.push(obj); }); } console.log(classArObj); } cObject = $('.filter-box[data-key=productForms]'); var product_formArObj = []; if (cObject.length > 0){ cSumObject = cObject.find('.filter-summary'); cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0){ var inputs = cExpObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; product_formArObj.push(obj); }); }else { var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; product_formArObj.push(obj); }); } console.log(product_formArObj); } cObject = $('.filter-box[data-key=languages]'); var languageArObj = []; if (cObject.length > 0){ cSumObject = cObject.find('.filter-summary'); cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0){ var inputs = cExpObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; languageArObj.push(obj); }); }else { var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; languageArObj.push(obj); }); } console.log(languageArObj); } cObject = $('.filter-box[data-key=original_languages]'); var originalLanguageArObj = []; if (cObject.length > 0){ cSumObject = cObject.find('.filter-summary'); cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0){ var inputs = cExpObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; originalLanguageArObj.push(obj); }); }else { var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; originalLanguageArObj.push(obj); }); } console.log(originalLanguageArObj); } cObject = $('.filter-box[data-key=category]'); var categoriesArObj = []; if (cObject.length > 0) { cSumObject = cObject.find('.filter-summary'); inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val(), }; categoriesArObj.push(obj); }); console.log(categoriesArObj); } cObject = $('.filter-box[data-key=translated]'); var translatedsArObj = []; if (cObject.length > 0) { cSumObject = cObject.find('.filter-summary'); inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val(), }; translatedsArObj.push(obj); }); console.log(translatedsArObj); } cObject = $('.filter-box[data-key=price_type]'); var hasNetPriceArObj = []; if (cObject.length > 0) { cSumObject = cObject.find('.filter-summary'); inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val(), }; hasNetPriceArObj.push(obj); }); console.log(hasNetPriceArObj); } cObject = $('.filter-box[data-key=product_kind]'); var productKindsArObj = []; if (cObject.length > 0) { cSumObject = cObject.find('.filter-summary'); var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val(), }; productKindsArObj.push(obj); }); console.log(productKindsArObj); } cObject = $('.filter-box[data-key=publishing_status]'); var publishStatusArObj = []; if (cObject.length > 0) { cSumObject = cObject.find('.filter-summary'); var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val(), }; publishStatusArObj.push(obj); }); } cObject = $('.filter-box[data-key=audience]'); var audienceArObj = []; if (cObject.length > 0) { cSumObject = cObject.find('.filter-summary'); var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val(), }; audienceArObj.push(obj); }); } cObject = $('.filter-box[data-key=deficiencies]'); var deficienciesArObj = []; if (cObject.length > 0) { cSumObject = cObject.find('.filter-summary'); var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val(), }; deficienciesArObj.push(obj); }); } var publishFrom = null; if (!isNaN(parseInt($('.filter-box #publish_year_from').val()))){ publishFrom = parseInt($('.filter-box #publish_year_from').val()); } var publishTo = null; if (!isNaN(parseInt($('.filter-box #publish_year_to').val()))){ publishTo = parseInt($('.filter-box #publish_year_to').val()); } var publishMonthFrom = null; if (!isNaN(parseInt($('.filter-box #publish_month_from').val()))){ publishMonthFrom = parseInt($('.filter-box #publish_month_from').val()); } var publishMonthTo = null; if (!isNaN(parseInt($('.filter-box #publish_month_to').val()))){ publishMonthTo = parseInt($('.filter-box #publish_month_to').val()); } var pagesFrom = null; if (!isNaN(parseInt($('.filter-box #pages_from').val()))){ pagesFrom = parseInt($('.filter-box #pages_from').val()); } var pagesTo = null; if (!isNaN(parseInt($('.filter-box #pages_to').val()))){ pagesTo = parseInt($('.filter-box #pages_to').val()); } var priceFrom = null; if (!isNaN(parseFloat($('.filter-box #price_from').val()))){ priceFrom = parseFloat($('.filter-box #price_from').val()); } var priceTo = null; if (!isNaN(parseFloat($('.filter-box #price_to').val()))){ priceTo = parseFloat($('.filter-box #price_to').val()); } var netPriceEndsFrom = null; if (($('.filter-box #net_price_ends_from').val()) > ""){ netPriceEndsFrom = $('.filter-box #net_price_ends_from').val(); } //alert($('.filter-box #net_price_ends_from').val()); //alert(netPriceEndsFrom); var netPriceEndsTo = null; if (($('.filter-box #net_price_ends_to').val()) > ""){ netPriceEndsTo = $('.filter-box #net_price_ends_to').val(); } var updateFormObject = { 'contr_selected_v': contributorArObj, 'imprint_search': imprintsArObj, 'sub_selected_v': classArObj, 'product_form' : product_formArObj, 'product_kind': productKindsArObj, 'pub_year_from': publishFrom, 'pub_year_to': publishTo, 'pub_month_from': publishMonthFrom, 'pub_month_to': publishMonthTo, 'pages_from': pagesFrom, 'pages_to': pagesTo, 'price_from': priceFrom, 'price_to': priceTo, 'language': languageArObj, 'original_language': originalLanguageArObj, 'publishing_status': publishStatusArObj, 'audience': audienceArObj, 'category': categoriesArObj, 'translated': translatedsArObj, 'price_type' : hasNetPriceArObj, 'deficiencies' : deficienciesArObj, 'net_price_ends_from' : netPriceEndsFrom, 'net_price_ends_to' : netPriceEndsTo, }; updateReloadForm(updateFormObject); }); }); function updateReloadForm(obj){ var aForm = $('#adv-search-form'); for(var key in obj){ console.log(obj[key]); if (key === "contr_selected_v" || key === "sub_selected_v"){ if (obj[key] !== null && obj[key].length > 0){ aForm.find('#'+key).val(JSON.stringify(obj[key])); }else { aForm.find('#'+key).val(''); } }else if (key === "product_kind" || key === "category" || key === "translated" || key === "product_form" || key === "price_type" || key === "deficiencies" || key === "language" || key === "original_language" || key === 'imprint_search' || key ==="publishing_status" || key === "audience"){ aForm.find('input[class='+key+'_input]').each(function(i,f){ $(this).remove(); }); var inputArray = []; for(var i=0; i<obj[key].length;i++){ var o = $('<input>').attr({ type: 'hidden', class: key+"_input", name: key+"[]" }); o.val(obj[key][i].value); aForm.append(o); } //aForm.append(inputArray.join('')); }else if (key === "pub_year_from" || key === "pub_year_to" || key === "pub_month_from" || key === "pub_month_to" || key === "pages_from" || key === "pages_to" || key === "price_from" || key === "price_to" || key === "net_price_ends_from" || key === "net_price_ends_to"){ if (obj[key] !== null){ aForm.find('input[name='+key+']').val(obj[key]); }else { aForm.find('input[name='+key+']').val(''); } } } aForm.find('input[name=old_page]').val(1); aForm.find('input[name=page]').val(1); aForm.submit(); } function updateForm(fieldToUpdate){ var aForm = $('#adv-search-form'); $.each(fieldToUpdate, function(index, val){ aForm.find('#'+val.name).val(val.value); }); aForm.submit(); } function reloadFilter(obj){ var cObject = null; if (obj.data('key') === "contributors") { cObject = $('.filter-box[data-key=contributors]'); var contributorArObj = []; if (cObject.length > 0) { var cSumObject = cObject.find('.filter-summary'), cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0) { var inputs = cExpObject.find('input:checked'); inputs.each(function (index, v) { var obj = { id: $(this).val(), text: $(this).data('text') }; contributorArObj.push(obj); }); } else { var inputs = cSumObject.find('input:checked'); inputs.each(function (index, v) { var obj = { id: $(this).val(), text: $(this).data('text') }; contributorArObj.push(obj); }); } } var updateFormObject = { 'contr_selected_v': contributorArObj }; updateReloadForm(updateFormObject) } if (obj.data('key') === "imprints") { cObject = $('.filter-box[data-key=imprints]'); var imprintsArObj = []; if (cObject.length > 0){ cSumObject = cObject.find('.filter-summary'); cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0){ var inputs = cExpObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val(), }; imprintsArObj.push(obj); }); }else { var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val(), }; imprintsArObj.push(obj); }); } var updateFormObject = { 'imprint_search': imprintsArObj }; updateReloadForm(updateFormObject); } } if (obj.data('key') === "classifications") { cObject = $('.filter-box[data-key=classifications]'); var classArObj = []; if (cObject.length > 0){ cSumObject = cObject.find('.filter-summary'); cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0){ var inputs = cExpObject.find('input:checked'); inputs.each(function(index, v){ var obj = { id: $(this).val(), text: $(this).data('text') }; classArObj.push(obj); }); }else { var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { id: $(this).val(), text: $(this).data('text') }; classArObj.push(obj); }); } var updateFormObject = { 'sub_selected_v': classArObj }; updateReloadForm(updateFormObject); } } if (obj.data('key') === "productForms") { cObject = $('.filter-box[data-key=productForms]'); var product_formArObj = []; if (cObject.length > 0){ cSumObject = cObject.find('.filter-summary'); cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0){ var inputs = cExpObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; product_formArObj.push(obj); }); }else { var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; product_formArObj.push(obj); }); } var updateFormObject = { 'product_form': product_formArObj }; updateReloadForm(updateFormObject); } } if (obj.data('key') === "languages") { cObject = $('.filter-box[data-key=languages]'); var languageArObj = []; if (cObject.length > 0){ cSumObject = cObject.find('.filter-summary'); cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0){ var inputs = cExpObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; languageArObj.push(obj); }); }else { var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; languageArObj.push(obj); }); } var updateFormObject = { 'language': languageArObj }; updateReloadForm(updateFormObject); } } if (obj.data('key') === "original_languages") { cObject = $('.filter-box[data-key=original_languages]'); var originalLanguageArObj = []; if (cObject.length > 0){ cSumObject = cObject.find('.filter-summary'); cExpObject = cObject.find('.filter-box-advanced'); if (cExpObject.length > 0){ var inputs = cExpObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; originalLanguageArObj.push(obj); }); }else { var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val() }; originalLanguageArObj.push(obj); }); } var updateFormObject = { 'original_language': originalLanguageArObj }; updateReloadForm(updateFormObject); } } if ( obj.data('key') === 'product_kind' || obj.data('key') === "category" || obj.data('key') === "translated" || obj.data('key') === "price_type" || obj.data('key') === 'publishing_status' || obj.data('key') === 'deficiencies' || obj.data('key') === 'audience' /* || obj.data('key') === 'net_price_ends_dates' */) { cObject = $('.filter-box[data-key="'+obj.data('key')+'"]'); var object = []; if (cObject.length > 0) { cSumObject = cObject.find('.filter-summary'); var inputs = cSumObject.find('input:checked'); inputs.each(function(index, v){ var obj = { value: $(this).val(), }; object.push(obj); }); } /* if (obj.data('key') === 'net_price_ends_dates') { var kF = "net_price_ends_from", kT = "net_price_ends_to"; var fromValue = $('.filter-box input[name=' + kF + ']').val(); var toValue = $('.filter-box input[name=' + kT + ']').val(); // Check if the fromValue and toValue are valid dates if (fromValue && !isNaN(Date.parse(fromValue))) { updateFormObject[kF] = fromValue; } if (toValue && !isNaN(Date.parse(toValue))) { updateFormObject[kT] = toValue; } } */ var updateFormObject = {}; updateFormObject[obj.data('key')] = object; updateReloadForm(updateFormObject); } if (obj.data('key') === "pub_year" || obj.data('key') === "pub_month" || obj.data('key') === "price" || obj.data('key') === "pages" ){ var kF = obj.data('key')+"_from", kT = obj.data('key')+"_to"; var fromValue = $('.filter-box input[name='+kF+']').length > 0 ? parseInt($('.filter-box input[name='+kF+']').val()) : parseInt($('.filter-box select[name='+kF+']').val()); var toValue = $('.filter-box input[name='+kT+']').length > 0 ? parseInt($('.filter-box input[name='+kT+']').val()) : parseInt($('.filter-box select[name='+kT+']').val()); if (obj.data('key') === 'price'){ fromValue = $('.filter-box input[name='+kF+']').length > 0 ? parseFloat(($('.filter-box input[name='+kF+']').val()).replace(",",".")) : parseFloat($('.filter-box select[name='+kF+']').val()); toValue = $('.filter-box input[name='+kT+']').length > 0 ? parseFloat(($('.filter-box input[name='+kT+']').val()).replace(",",".")) : parseFloat($('.filter-box select[name='+kT+']').val()); } var updateFormObject = {}; if (!isNaN(fromValue)){ updateFormObject[kF] = fromValue; } if (!isNaN(toValue)){ updateFormObject[kT] = toValue; } updateReloadForm(updateFormObject); } } function removeFilter(obj){ var key = obj.data('k'); var textValue = null; var idValue = null; if (typeof obj.data('t') === "undefined"){ idValue = obj.data("s"); }else{ textValue = obj.data("t"); } console.log(key); if (key === "all"){ var keys = ['title_search', 'contr_selected_v', 'sub_selected_v', 'imprint_search', 'product_kind', 'price_from', 'price_to', 'pages_from', 'pages_to', 'pub_year_from', 'pub_year_to', 'pub_month_from', 'pub_month_to', 'language', 'product_form', 'original_language','publishing_status', 'audience', 'category', 'contr_role_split','description', 'translated', 'price_type', 'net_price_ends_from', 'net_price_ends_to', 'isbn13_search', 'pub_id', 'q', 'deficiencies' ]; $.each(keys, function(index, v1){ if ($('#adv-search-form input[name='+v1+']').length > 0){ $('#adv-search-form input[name='+v1+']').each(function(i,f){ $(this).val(''); }); }else { $('#adv-search-form input[class='+v1+'_input]').each(function(i,f){ $(this).remove(); }) } }); $('#adv-search-form').submit(); return; } if (key === "title_search"){ $('#adv-search-form input[name=title_search]').val(''); $('.reload-all-button').trigger('click'); return; } if (key === "isbn13_search"){ $('#adv-search-form input[name=isbn13_search]').val(''); $('.reload-all-button').trigger('click'); return; } if (key === "pub_id"){ $('#adv-search-form input[name=pub_id]').val(''); $('.reload-all-button').trigger('click'); return; } if (key === "q"){ $('#adv-search-form input[name=q]').val(''); $('.reload-all-button').trigger('click'); return; } if (key === "contr_role_split"){ var o = $('#adv-search-form input[class=contr_role_input][data-s="'+textValue+'"]'); if (o.length > 0){ o.remove(); $('.reload-all-button').trigger('click'); return; } } if (key === "description"){ $('#adv-search-form input#description').val(''); $('.reload-all-button').trigger('click'); return; } if (key === "contributors"){ $('#adv-search-form input[name=contr_selected_v]').val(''); //$('.filter-box[data-key=contributors] .filter-box-advanced input:checked').iCheck('uncheck').iCheck('update'); if ( $('.filter-box[data-key=contributors] .filter-box-advanced').length > 0) { $('.filter-box[data-key=contributors] .filter-box-advanced input:checked').iCheck('uncheck').iCheck('update'); }else { $('.filter-box[data-key=contributors] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); } $('.reload-all-button').trigger('click'); return; } if (key === "imprints"){ $('#adv-search-form input[name=pub_selected_v]').val(''); if ( $('.filter-box[data-key=imprints] .filter-box-advanced').length > 0) { $('.filter-box[data-key=imprints] .filter-box-advanced input:checked').iCheck('uncheck').iCheck('update'); }else { $('.filter-box[data-key=imprints] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); } $('.reload-all-button').trigger('click'); return; } if (key === "classifications"){ $('#adv-search-form input[name=sub_selected_v]').val(''); if ( $('.filter-box[data-key=classifications] .filter-box-advanced').length > 0) { $('.filter-box[data-key=classifications] .filter-box-advanced input:checked').iCheck('uncheck').iCheck('update'); }else { $('.filter-box[data-key=classifications] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); } $('.reload-all-button').trigger('click'); return; } if (key === "publishing_status"){ $('#adv-search-form input[class=publishing_status_input]').val(''); $('.filter-box[data-key=publishing_status] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); $('.reload-all-button').trigger('click'); } if (key === "deficiencies"){ $('#adv-search-form input[class=deficiencies_input]').val(''); $('.filter-box[data-key=deficiencies] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); $('.reload-all-button').trigger('click'); } if (key === "categories"){ $('#adv-search-form input[class=category_input]').val(''); $('.filter-box[data-key=category] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); $('.reload-all-button').trigger('click'); } if (key === "productForms"){ $('#adv-search-form input[class=product_form_input]').val(''); $('.filter-box[data-key=productForms] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); $('.reload-all-button').trigger('click'); } if (key === "languages"){ $('#adv-search-form input[class=language_input]').val(''); $('.filter-box[data-key=languages] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); $('.reload-all-button').trigger('click'); } if (key === "original_languages"){ $('#adv-search-form input[class=original_language_input]').val(''); $('.filter-box[data-key=original_languages] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); $('.reload-all-button').trigger('click'); } if (key === "translated"){ $('#adv-search-form input[class=translated_input]').val(''); $('.filter-box[data-key=translated] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); $('.reload-all-button').trigger('click'); } if (key === "price_types"){ $('#adv-search-form input[class=price_type_input]').val(''); $('.filter-box[data-key=price_type] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); $('.reload-all-button').trigger('click'); } if (key === "product_kinds"){ $('#adv-search-form input[class=product_kind_input]').val(''); $('.filter-box[data-key=product_kind] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); $('.reload-all-button').trigger('click'); } if (key === "audiences"){ $('#adv-search-form input[class=audience_input]').val(''); $('.filter-box[data-key=audience] .filter-summary input:checked').iCheck('uncheck').iCheck('update'); $('.reload-all-button').trigger('click'); } if (key === "pub_year"){ $('#adv-search-form input[name=pub_year_from]').val(''); $('#adv-search-form input[name=pub_year_to]').val(''); $('.filter-box select[name=pub_year_from]').val(null); $('.filter-box select[name=pub_year_to]').val(null); $('.reload-all-button').trigger('click'); } if (key === "pub_month"){ $('#adv-search-form input[name=pub_month_from]').val(''); $('#adv-search-form input[name=pub_month_to]').val(''); $('.filter-box select[name=pub_month_from]').val(null); $('.filter-box select[name=pub_month_to]').val(null); $('.reload-all-button').trigger('click'); } if (key === "net_price_ends_dates"){ $('#adv-search-form input[name=net_price_ends_from]').val(''); $('#adv-search-form input[name=net_price_ends_to]').val(''); $('.filter-box input[name=created_at_from]').val(''); $('.filter-box input[name=created_at_to]').val(''); $('.reload-all-button').trigger('click'); } if (key === "price"){ $('#adv-search-form input[name=price_from]').val(''); $('#adv-search-form input[name=price_to]').val(''); $('.filter-box input[name=price_from]').val(''); $('.filter-box input[name=price_to]').val(''); $('.reload-all-button').trigger('click'); } if (key === "pages"){ $('#adv-search-form input[name=pages_from]').val(''); $('#adv-search-form input[name=pages_to]').val(''); $('.filter-box input[name=pages_from]').val(''); $('.filter-box input[name=pages_to]').val(''); $('.reload-all-button').trigger('click'); } if (key === "contr_selected_v" || key === "sub_selected_v"){ var v = JSON.parse($('#adv-search-form input[name='+key+']').val()); var pos = -1; $.each(v, function(index, v1){ if (idValue !== null){ if (v1.id == idValue){ pos = index; } }else { if (v1.text == textValue){ pos = index; } } }); if (pos !== -1) { v.splice(pos, 1); if (v.length > 0){ $('#adv-search-form input[name='+key+']').val(JSON.stringify(v)); }else { $('#adv-search-form input[name='+key+']').val(''); } if (key === 'contr_selected_v'){ if ($('.filter-box[data-key=contributors] .filter-box-advanced').length > 0){ if (idValue !== null) { $('.filter-box[data-key=contributors] .filter-box-advanced input[value="'+idValue+'"]').iCheck('uncheck').iCheck('update'); } }else { if (idValue !== null) { $('.filter-box[data-key=contributors] .filter-summary input[value="'+idValue+'"]').iCheck('uncheck').iCheck('update'); } } }else if (key === "sub_selected_v"){ if ($('.filter-box[data-key=classifications] .filter-box-advanced').length > 0){ if (idValue !== null) { $('.filter-box[data-key=classifications] .filter-box-advanced input[value="'+idValue+'"]').iCheck('uncheck').iCheck('update'); } }else { if (idValue !== null) { $('.filter-box[data-key=classifications] .filter-summary input[value="'+idValue+'"]').iCheck('uncheck').iCheck('update'); } } }else { if ($('.filter-box[data-key=imprints] .filter-box-advanced').length > 0){ if (idValue !== null) { $('.filter-box[data-key=imprints] .filter-box-advanced input[value="'+idValue+'"]').iCheck('uncheck').iCheck('update'); } }else { if (idValue !== null) { $('.filter-box[data-key=imprints] .filter-summary input[value="'+idValue+'"]').iCheck('uncheck').iCheck('update'); } } } } $('.reload-all-button').trigger('click'); }else if (key==="original_language" || key === "audience" || key === "category" || key === "translated" || key === "price_type" || key === "product_kind" || key === "language" || key === "product_form" || key === "publishing_status" || key === 'imprint_search'){ var o = $('#adv-search-form input[class='+key+'_input][data-s="'+textValue+'"]'); if (o.length > 0){ o.remove(); } if (key === "product_kind") $('.filter-box[data-key=product_kind] .filter-summary input[value="'+textValue+'"]').iCheck('uncheck').iCheck('update'); else if (key === "translated") $('.filter-box[data-key=translated] .filter-summary input[value="'+textValue+'"]').iCheck('uncheck').iCheck('update'); else if (key === "price_type") $('.filter-box[data-key=price_type] .filter-summary input[value="'+textValue+'"]').iCheck('uncheck').iCheck('update'); else if (key === "product_form") $('.filter-box[data-key=productForms] .filter-summary input[value="'+textValue+'"]').iCheck('uncheck').iCheck('update'); else if (key === "language") $('.filter-box[data-key=languages] .filter-summary input[value="'+textValue+'"]').iCheck('uncheck').iCheck('update'); else if (key === "original_language") $('.filter-box[data-key=original_languages] .filter-summary input[value="'+textValue+'"]').iCheck('uncheck').iCheck('update'); else if (key === "audience") $('.filter-box[data-key=audience] .filter-summary input[value="'+textValue+'"]').iCheck('uncheck').iCheck('update'); else if (key === "category") $('.filter-box[data-key=category] .filter-summary input[value="'+textValue+'"]').iCheck('uncheck').iCheck('update'); else if (key === 'imprint_search'){ console.log('tvalue:'+textValue); if ($('.filter-box[data-key=imprints] .filter-box-advanced').length > 0){ $('.filter-box[data-key=imprints] .filter-box-advanced input[value="'+textValue+'"]').iCheck('uncheck').iCheck('update'); }else { $('.filter-box[data-key=imprints] .filter-summary input[value="' + textValue + '"]').iCheck('uncheck').iCheck('update'); } } else $('.filter-box[data-key=publishing_status] .filter-summary input[value="'+textValue+'"]').iCheck('uncheck').iCheck('update'); $('.reload-all-button').trigger('click'); }else if (key === "price_from" || key === "price_to" || key === "pages_from" || key === "pages_to" || key === "pub_year_from" || key === "pub_year_to" || key === "pub_month_from" || key === "pub_month_to" || key === 'net_price_ends_from' || key === 'net_price_ends_to'){ $('#adv-search-form input[name='+key+']').val(''); if ($('.filter-box input[name='+key+']').length > 0){ $('.filter-box input[name='+key+']').val('') }else { $('.filter-box select[name='+key+']').val(null); } if(key === 'net_price_ends_from'){ $('.filter-box input[name=net_price_ends_from]').val(''); }else if(key === 'net_price_ends_to'){ $('.filter-box input[name=net_price_ends_to]').val(''); } $('.reload-all-button').trigger('click'); } //aForm.submit(); } function accentSafe(mystr){ ar=mystr.toLowerCase(); ar = ar.replace(/伪|维/g,"(伪|维)"); ar = ar.replace(/蔚|苇/g,"(蔚|苇)"); ar = ar.replace(/畏|萎/g,"(畏|萎)"); ar = ar.replace(/喂|委|蠆|螑/g,"(喂|委|蠆|螑)"); ar = ar.replace(/蠀|蠉/g,"(蠀|蠉)"); ar = ar.replace(/慰|蠈/g,"(慰|蠈)"); ar = ar.replace(/蠅|蠋/g,"(蠅|蠋)"); return ar; } </script> <script type="text/javascript" src="https://bookpoint.gr/js/bootstrap-autocomplete.min.js"></script> <script type="text/javascript"> $('document').ready(function(){ $('#express-form').on('submit', function(){ }); /* $('.submit-form').on('click', function(){ if ($('#home-search-field').val().length > 0){ $(this).parents('form').submit(); } });*/ $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); $('.search-btn').on('click', function(){ var input = $(this).siblings('input.tt-input'); if (input.val().length == 0){ //console.log(); input.focus(); return false; }else { //alert('x'); $('.search-btn').parent('form').submit(); } }); $('#express-form-typeahead, #express-form-typeahead-1').autoComplete({ autoSelect: false, preventEnter: true, value: 'id', formatResult: function(item){ if (item.kind === "book"){ if (item.isbn13 !== ""){ return { value: item.id, text: item.text + ' ['+item.isbn13+']', html: [ $('<span>').attr('class', 'far fa-book-open'),' &nbsp; ', item.text + ' ['+item.isbn13+']' ] }; }else { return { value: item.id, text: item.text, html: [ $('<span>').attr('class', 'far fa-book-open'),' &nbsp; ', item.text ] }; } }else { if (item.kind === "contributor") { return { value: item.id, text: item.text, html: [ $('<span>').attr('class', 'far fa-user-edit'), ' &nbsp; ', item.text ] }; }else if (item.kind === "multi_book"){ return { value: item.id, text: item.text, html: [ $('<span>').attr('class', 'far fa-book-open'), ' &nbsp; ', item.text, ' [螤慰位位伪蟺位苇蟼 螘纬纬蟻伪蠁苇蟼]' ] }; }else { return { value: item.id, text: item.text, html: [ $('<span>').attr('class', 'far fa-building'),' &nbsp; ', item.text ] }; } } }, noResultsText: "螖蔚 尾蟻苇胃畏魏伪谓 伪蟺慰蟿蔚位苇蟽渭伪蟿伪", resolverSettings: { url: "https://bookpoint.gr/autoc" } }); $('#express-form-typeahead, #express-form-typeahead-1').on('autocomplete.select',function (evt, item) { console.log(item); var bookRoute = "https://bookpoint.gr/book/!book_id!"; var contributorRoute = "https://bookpoint.gr/contributors/!contr_id!"; var publisherRoute = "https://bookpoint.gr/publishers/!pub_id!" if (item.kind === "book"){ var urlId = item.id.split("_"); window.location.href = bookRoute.replace('!book_id!', urlId[0]); }else if (item.kind === "contributor"){ var urlId = item.id.split("_"); window.location.href = contributorRoute.replace('!contr_id!', urlId[0]); }else if (item.kind === "publisher"){ var urlId = item.id.split("_"); window.location.href = publisherRoute.replace('!pub_id!', urlId[0]); //console.log('http://test.gr/publishers/'+item.id); }else if (item.kind === "multi_book"){ $('#general-search-form #title_search_1').val(item.text); $('#general-search-form').submit(); } }); $('#express-form-typeahead, #express-form-typeahead-1').on('focus', function(){ $(this).addClass('focus'); }); $('#express-form-typeahead, #express-form-typeahead-1').on('blur', function(){ if ($(this).val().length == 0){ $(this).removeClass('focus'); } }); $('#menu').removeClass('hidden'); $('.open-menu').on('click', function(e){ $('#menu').removeClass('out').addClass('in'); $('body').addClass('menu-in'); }); $('.close-menu').on('click', function(e){ $('#menu').removeClass('in').addClass('out'); $('body').removeClass('menu-in'); }); $('.block-menu').on('click', function(e){ $('.close-menu').trigger('click'); }); $('.burger-menu').on('click', function(e){ if ($('.my-footbar-menu').hasClass('d-none')){ $('.my-footbar-menu').removeClass('d-none') }else { $('.my-footbar-menu').addClass('d-none') } }); $('.send-email-button').on('click', function(){ if ($('.fp-form').parsley().validate()) { $('.modal .button-spinner').removeClass('d-none'); $.ajax({ url: $('.fp-form').attr('action'), type: 'POST', dataType: 'JSON', data: {email: $('#fp-mail').val()}, success: function (data) { console.log(data); if (data.success) { $('.fp-alert').removeClass('d-none').removeClass('alert-danger').addClass('alert-success'); $('.fp-alert .er').addClass('d-none'); $('.fp-alert .suc').removeClass('d-none'); } else { $('.fp-alert').removeClass('d-none').removeClass('alert-success').addClass('alert-danger'); $('.fp-alert .suc').addClass('d-none'); $('.fp-alert .er').removeClass('d-none'); } }, error: function () { alert('error') }, complete: function () { $('.modal .button-spinner').addClass('d-none'); } }); } }); }); </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10