CINXE.COM
Terms and Conditions - Eventackle
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Facebook Pixel Code --> <script> !function (f, b, e, v, n, t, s) { if (f.fbq) return; n = f.fbq = function () { n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) }; if (!f._fbq) f._fbq = n; n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0; t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s) }(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '295791275167164'); fbq('track', 'PageView'); </script> <noscript> <img height="1" width="1" src="https://www.facebook.com/tr?id=295791275167164&ev=PageView&noscript=1" /> </noscript> <!-- End Facebook Pixel Code --> <meta name="description" content="Eventackle is a global platform for corporate events. Find upcoming events, business conferences, trade shows, seminars, networking meets, fairs and more. Browse through very detailed event pages, buy tickets and register as visitors. You can view profile of speakers, organisers, exhibitors and more."> <title> Terms and Conditions - Eventackle </title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css" /> <link rel="stylesheet" href="/styles/dist/styles.css" /> <link rel="stylesheet" href="/styles/dist/chosen.css" /> <style> ul{ margin: 1rem; } ul li{ list-style-type: disc; margin:8px 0; margin-left: 1rem; } p{ letter-spacing: 0.02rem; line-height: 24px; margin-top: 8px; font-weight: 500; } </style> </head> <body style="padding-top: 4.7rem"> <nav class="navbar is-fixed-top spaced" role="navigation" aria-label="main navigation" id="main-nav"> <div class="container"> <div class="navbar-brand"> <a class="navbar-item" href="/"> <div id="navbar-logo"></div> <span class="is-size-3 has-text-weight-bold is-hidden"> eventackle</span> </a> <form action="/search" method="GET" id="navbar-search-form"> <div class="control has-icons-left has-icons-right with-addons"> <input class="input navbar-search-input" id="navbar-search-input" type="text" placeholder="search for events"> <span class="icon is-left"> <span class="et et-search et-medium"></span> </span> <span class="icon is-right"> <a href="/search" class="dark-link"><i class="et et-filter"></i><span class="is-hidden-mobile"> Filters</span></a> </span> </div> </form> <div class="navbar-burger burger" data-target="navMenu"> <span></span> <span></span> <span></span> </div> </div> <div id="navMenu" class="navbar-menu"> <div class="navbar-start"> <a class="navbar-item" href="/search">Explore</a> <a class="navbar-item" href="/services">Services</a> <a class="navbar-item" href="https://intelligence.eventackle.com" target="_blank">Intelligence</a> <div class="navbar-item has-dropdown is-right is-hoverable"> <div class="navbar-link is-arrowless"> <span class="icon"><i class="et et-more-horizontal et-medium"></i></span> </div> <div class="navbar-dropdown"> <a href="/benefits" class="navbar-item">Benefits</a> <a href="/about" class="navbar-item">About</a> <a href="/careers" class="navbar-item">Careers</a> <a href="/contact" class="navbar-item">Contact Us</a> <a href="/faq" class="navbar-item">FAQ's</a> </div> </div> </div> <div class="navbar-end"> <a class="navbar-item" href="/auth/login">Login</a> <a class="navbar-item" href="/auth/login">Signup</a> <div class="navbar-item"><a href="/account/events/create"><button class="button is-primary">Create Event</button></a></div> </div> </div> </div> </nav> <!-- main content --> <div> <div class="container"> <div class="columns" style="padding: 5rem 0 10px 0;margin-bottom:3rem;border-bottom: 1px solid #e2e2e2"> <div class="column is-12" style="align-self: center"> <div style="display:flex;justify-content: start;font-weight: 900;" class="title is-1-desktop is-3-mobile">Terms and Conditions</div> <div style="display:flex;justify-content: start" class="subtitle is-3-desktop is-5-mobile"></div> </div> </div> </div> <div class="container"> <div class="columns is-centered"> <div class="column is-7-desktop panel"> <b>Effective date: November 20, 2018</b> <p> Valiant & Company Ltd. hereinafter referred to as “we”, “us” or “our” in this privacy notice operates the eventackle.com website hereinafter referred to as the “Service”.</p> <p>This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our service and the choices associated with that data. </p> <p><b>1. INTRODUCTION</b></p> <p>This privacy notice provides you with details of how we collect and process your personal data, by monitoring your usage of our site, eventackle.com, related websites and other third-party marketing agencies which provide data to us. By providing us with your data, you warrant us that you are over 18 years of age. Valiant & Company Ltd. is the data controller and we are responsible for your personal data.</p> <p>Our full details are:</p> <p> Full name of legal entity: <b>Valiant & Company Ltd.</b><br> Registered Trademark: <b>Eventackle®</b><br> Email address: <b>info@valiantbmedia.com</b><br> Postal address:<b> Clarence Centre, 6 St. George’s Circus, London SE16FE | UK</b><br> Telephone number:<b> +44(0)208 242 6566</b></p> <p>It is very important that the information we hold about you is accurate and up to date. Please let us know if at any time your personal information changes by emailing us at info@valiantbmedia.com.</p> <b> 2. WHAT DATA DO WE COLLECT ABOUT YOU, FOR WHAT PURPOSE AND ON WHAT GROUND WE PROCESS IT</b> <p>Personal data means any information capable of identifying an individual. It does not include anonymized data. We may process the following categories of personal data about you:</p> <p> <b>Communication Data</b> which includes any communication that you send to us, be it through the contact form on our website, email, text, social media messaging, social media posting or any other mode of communication. We process this data for the purpose of communicating with you, record keeping and for the establishment, pursuance or defense of legal claims. Our lawful ground for this processing are our legitimate interests, which in this case refers to replying to communications sent our way, keeping records and establishing, pursuing or defending legal claims.<br><br> <b>Customer Data</b> which includes data related to any purchase of goods and/or services such as your name, title, billing address, delivery address, email address, phone number, contact details, purchase details and your card and/or bank details. We process this data to supply the goods and/or services you have purchased and keep record of such transactions. Our lawful ground for this processing is the performance of a contract between you and us and/or taking steps at your request to enter into such a contract.<br><br> <b>User Data</b> which includes data about how you use our website, any online service and any data that you post for publication on our website or through other online services. We process this data to operate our website, guaranteeing that relevant content is being provided to you, whilst ensuring the security of our website to maintain back- ups and/or databases to enable publication and administration of our website, other online services & business. Our lawful ground for this processing is our legitimate interest, which in this case refers to enabling us to properly administer our website and business.<br><br> <b>Technical Data</b> which includes data about your usage of our website and other online services such as IP address, login data, details about your browser, length of visit to pages on our website, page views, navigation paths, details about the number of times you use our website, time zone settings and other modes of technology you use on your devices to access our website. The source of this data is our analytics tracking system. We process this data to analyze your usage of our website and other online services, to administer and protect our business and website, deliver relevant website content and advertisements to you and understand the effectiveness of our advertising. Our lawful ground for this processing is our legitimate interest which in this case refers to enabling us to properly administer our website & business, in order to grow our business and decide the marketing strategy<br></p> <p><b>Marketing Data</b> which includes data about your preferences in receiving marketing communication from us and our third parties and your preferences. We process this data to enable you to partake in our promotions such as competitions, prize draws and free giveaways to deliver website content, advertisements and email communications relevant to our business and measure or understand the effectiveness of this advertising. Our lawful ground for this processing is our legitimate interest which in this case refers to studying how customers use our products/services in order to develop them, grow our business and decide our marketing strategy.</p> <b>3. HOW WE COLLECT YOUR PERSONAL DATA</b> <p>We may collect data from the information directly provided to us by you (for example by filling forms on our site or by sending us emails). As you use our website by using cookies and similar technologies we may automatically collect certain data from you. (Please see our cookie policy below for more details about this)</p> <p>We may receive data from third parties including analytics providers such as Google based outside the UK; advertising networks such as Facebook-based outside the UK; search information providers such as Google based outside the UK; providers of technical, payment & delivery services such as data brokers, aggregators or specialist third-party marketing service providers both inside and outside the UK. We may also receive data from publicly available sources such as Companies House and the Electoral Register based inside the UK.</p> <b> 4. MARKETING COMMUNICATIONS</b> <p> Our lawful ground of processing your personal data to send you marketing communications is either your consent or our legitimate interests (namely to grow our business). </p> <p>Under the Privacy and Electronic Communications Regulations, we may send you marketing communications if; (i) you made a purchase or asked for information about our goods or services from us or (ii) you agreed to receive marketing communications and in each case you have not opted out of receiving such communications since. Under these regulations, if you are a limited company, we may send you marketing emails without your consent. However, you can still opt out of receiving marketing emails from us at any time. We never share your personal data with any third party for marketing purposes without your express consent. However, we may use your data via marketing entities partnered by us or our directors. You can ask us to stop sending you marketing messages at any time by following the opt-out links on any marketing message sent to you or by emailing us at <a href="mailto:info@valiantbmedia.com">info@valiantbmedia.com</a> at any time. If you opt out of receiving marketing communications this opt-out does not apply to personal data provided, as a result of other transactions, such as purchases, warranty registrations, etc.</p> <b> 5. DISCLOSURES OF YOUR PERSONAL DATA</b> <p> We may have to share your personal data with the parties set out below: <ul> <li> Other companies in our group who provide services to us.</li> <li> Service providers who provide IT and system administration services.</li> <li> Professional advisers including lawyers, bankers, auditors and insurers.</li> <li> Government bodies that require us to report processing activities.</li> <li> Third parties to whom we sell, transfer, or merge parts of our business or our assets.</li> <li> Other third parties for the purposes of our Anti-Money Laundering (AML) and ‘Know Your Customer’ (KYC), Enhanced Due Diligence procedures.</li> <li>We may share your data with relevant Jurisdictional Authorities in the case you do not pass our Anti-Money Laundering (AML) and ‘Know Your Customer’ (KYC), Enhanced Due Diligence procedures during the course of which you are identified as a SIP or RCA.</li> </ul> We require all third parties to whom we transfer your data to respect the security of your personal data and to treat it in accordance with the law. We only allow such third parties to process your personal data for specified purposes and in accordance with our instructions.</p> <b> 6. DATA SECURITY</b> <p>We have put in place security measures to prevent your personal data from being accidentally lost, used, altered, disclosed, or accessed without authorization. We also allow access to your personal data only to those employees and partners who have a business need to know such data. They will only process your personal data on our instructions and they must keep it confidential. We have procedures in place to deal with any suspected personal data breach and will notify you and any applicable regulator of a breach if we are legally required to.</p> <b>7. DATA RETENTION</b> <p>We will only retain your personal data, for as long as necessary to fulfil the purposes, we collected it for, including satisfying any legal, accounting, or reporting requirements. When deciding what is the correct time to keep the data for, we look at its amount, nature, sensitivity, potential risk of harm from unauthorized use or disclosure and the processing purposes, whether these can be achieved by other means and legal requirements.</p> <p>For tax purposes the law requires us to keep basic information about our customers (including Contact, Identity, Financial and Transaction Data) for six years after they stop being our customers. In some circumstances we may anonymize your personal data for research or statistical purposes in which case, we may use this information indefinitely without further notice to you.</p> <b>8. YOUR LEGAL RIGHTS</b> <p>Under data protection laws you have rights in relation to your personal data that include the right to request access, correction, erasure, restriction, transfer, to object to processing, to portability of data and (where the lawful ground of processing is consent) to withdraw consent. You can see more about these rights at: <a href="https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/individual-rights/"></a> If you wish to exercise any of the rights set out above, please email us at <a href="mailto:info@valiantbmedia.com">info@valiantbmedia.com</a>. You will not have to pay a fee to access your personal data (or to exercise any of the other rights). However, we may charge a reasonable fee if your request is clearly unfounded, repetitive or excessive or refuse to comply with your request in these circumstances. </p> <p>We may need to request specific information from you to help us confirm your identity and ensure your right to access your personal data (or to exercise any of your other rights). This is a security measure to ensure that personal data is not disclosed to any person who has no right to receive it. We may also contact you to ask you for further information in relation to your request to speed up our response.</p> <p>We try to respond to all legitimate requests within one month. Occasionally it may take us longer than a month if your request is particularly complex or you have made a number of requests. In this case, we will notify you. If you are not happy with any aspect of how we collect and use your data, you have the right to complain to the Information Commissioner’s Office (ICO), the UK supervisory authority for data protection issues (www.ico.org.uk). We should be grateful if you would contact us first if you do have a complaint so that we can try to resolve it for you.</p> <b>9. THIRD-PARTY LINKS</b> <p>This website may include links to third-party websites, plug-ins and applications. Clicking on those links or enabling those connections may allow third parties to collect or share data about you. We do not control these third-party websites and are not responsible for their privacy statements. When you leave our website, we encourage you to read the privacy notice of every website you visit.</p> <b>10. COOKIES</b> <p>You can set your browser to refuse all or some browser cookies or to alert you when websites set or access cookies. If you disable or refuse cookies, please note that some parts of this website may become inaccessible or not function properly. For more information about the cookies we use, please see below:</p> <p>Eventackle. (“us”, “we”, or “our”) uses cookies on www.eventackle.com and other owned websites (the “Service”). By using the Service, you consent to the use of cookies. Our Cookies Policy explains what cookies are, how we use cookies, how third-parties we may partner with may use cookies on the Service, your choices regarding cookies and further information about cookies.</p> <b> What are cookies</b> <p> Cookies are small pieces of text sent by your web browser by a website you visit. A cookie file is stored in your web browser and allows the Service or a third-party to recognize you and make your next visit easier and the Service more useful to you. Cookies can be “persistent” or “session” cookies.</p> <b>How Valiant & Company Ltd, uses cookies?</b> <p> When you use and access the Service, we may place a number of cookies files in your web browser. We use cookies for the following purposes: to enable certain functions of the Service, to provide analytics, to store your preferences, to enable advertisements delivery, including behavioural advertising. We use both session and persistent cookies on the Service and we use different types of cookies to run the Service:– </p> <b>Essential cookies</b> <p> We may use essential cookies to authenticate users and prevent fraudulent use of user accounts.</p> <b>Third-party cookies</b> <p> In addition to our own cookies, we may also use various third-parties cookies to report usage statistics of the Service, deliver advertisements on and through the Service, and so on.</p> <b>What are your choices regarding cookies</b> <p>If you’d like to delete cookies or instruct your web browser to delete or refuse cookies, please visit the help pages of your web browser. However, that if you delete cookies or refuse to accept them, you might not be able to use all of the features we offer, you may not be able to store your preferences, and some of our pages might not display properly.</p> If you want to go through our terms and conditions <a href="/terms-and-conditions">click here</a> </div> </div> </div> </div> <!-- Start Footer --> <footer class="footer-main"> <div class="container"> <div class="columns is-centered is-variable is-0"> <div class="column is-3"> <img class="lazy" width="200" data-src="/images/et-logo-white.svg" src="/images/et-logo-white.svg" alt="Eventackle Logo"> <hr class="small-line"> <ul> <li> <a target="_blank" href="https://www.twitter.com/Eventackle"><span class="icon is-large"><i class="et et-twitter et-large"></i></span></a> <a target="_blank" href="https://www.facebook.com/Eventackle"><span class="icon is-large"><i class="et et-facebook et-large"></i></span></a> <a target="_blank" href="https://www.linkedin.com/company/eventackle/"><span class="icon is-large"><i class="et et-linkedin et-large"></i></span></a> <a target="_blank" href="https://www.instagram.com/eventackle?hl=en"><span class="icon is-large"><i class="et et-instagram et-large"></i></span></a> </li> </ul> </div> <div class="column is-2"> <div class="footer-heading title is-5"> Popular Categories </div> <ul> <li><a href="/search?category=Mining">Mining</a></li> <li><a href="/search?category=Aviation">Aviation</a></li> <li><a href="/search?category=Agriculture">Agriculture</a></li> <li><a href="/search?category=Information%20Technology">Information Technology</a></li> <li><a href="/search?category=Healthcare">Healthcare</a></li> <li><a href="/search?category=Education%20and%20Training">Education and Training</a></li> <li><a href="/search?category=Construction%20and%20Engineering">Construction and Engineering</a></li> <li><a href="/search?category=Auto%20and%20Automotive">Auto and Automotive</a></li> </ul> </div> <div class="column is-2"> <div class="footer-heading title is-5"> Event Types </div> <ul> <li><a href="/search?type=Trade%20Shows%20%2F%20Exhibitions">Trade Shows / Exhibitions</a></li> <li><a href="/search?type=Seminar%20%2F%20Conference">Seminar / Conference</a></li> <li><a href="/search?type=Virtual%20Conferences">Virtual Conferences</a></li> <li><a href="/search?type=Webinar">Webinar</a></li> <li><a href="/search?type=Networking%20Events">Networking Events</a></li> </ul> </div> <div class="column is-2"> <div class="footer-heading title is-5"> Quick Links </div> <ul> <li><a href="/about">About Us</a></li> <li><a href="/benefits">Benefits</a></li> <li><a href="https://intelligence.eventackle.com/blog">Blog</a></li> <li><a href="/careers">Careers</a></li> <li><a href="/contact">Contact Us</a></li> <li><a href="/faq">FAQ's</a></li> </ul> </div> <div class="column is-3"> <div class="is-size-4 has-text-weight-bolder has-text-primary" style="margin-bottom: 0.5rem;"> Subscribe to our Newsletter </div> <div class="has-text-weight-semibold has-text-grey-light" style="margin-bottom: 1.5rem;"> Receive latest industry insights and updates on events right in your mailbox. </div> <button class="button is-primary" id="subscribe-button"> Subscribe </button> </div> </div> <hr> <div class="has-text-grey has-text-centered is-size-7 is-pulled-left"><a target="_blank" class="has-text-primary" href="/terms-and-conditions">Terms</a> & <a class="has-text-primary" target="_blank" href="/privacy">Privacy</a></div> <div class="has-text-grey has-text-centered is-size-7 is-pulled-right">© 2020 eventackle</div> </div> <!-- subscribe modal --> <div class="modal subscribe-modal"> <div class="header"> <span class="icon modal-close"> <i class="et et-clear et-large"></i> </span> </div> <h1 class="title is-1">Subscribe to Eventackle</h1> <h3 class="subtitle is-4" >Stay up to date! Get all the latest & greatest posts delivered <br> straight to your inbox</h3> <form id="newsletter-form"> <div class="industry-prefs"> <div class="control"> <label class="label">Industry Preferences ( Optional ):</label> <div class="is-fullwidth "> <select name="categories[]" data-placeholder="Select one or more industries..." multiple class="chosen-select"> </select> </div> </div> </div> <div class="field has-addons"> <div class="control"> <input class="input subscription-input" data-subscription-email type="email" required="" autocomplete="off" placeholder="Email address"> </div> <div class="control"> <button class="button is-primary"> Subscribe </button> </div> </div> <div class="message-success has-text-success"> Great! Your Subscription has been confirmed. You will receive the latest updates according to your preference. </div> <div class="message-error has-text-danger"> Please enter a valid email address! </div> </form> </div> <!-- end subscribe modal --> </footer> <!-- End Footer --> <!-- event-card-template --> <script id="event-card-template" type="text/x-lodash-template"> <a target="_blank" href="/search/view?id=<%= event_id %>"> <div class="event-card"> <div class="event-banner"> <div class="image is-2by1"> <img class="lazy has-text-black" data-src="<%= image_id %>" alt="<%= name %>"> </div> <div class="card-actions"> <% if(!is_wishlisted) { %> <span class="icon" onclick="addWish(event,'<%= event_id %>')"><i class="et et-heart et-large has-text-light"></i></span> <% }else { %> <span class="icon" onclick="removeWish(event,'<%= event_id %>')"><i class="et et-heart-filled et-large has-text-danger"></i></span> <% } %> </div> </div> <div class="event-description"> <div class="event-date has-text-primary"> <%= start_date %> </div> <div class="has-text-weight-bold is-size-6 event-name has-text-grey-darker" title="<%= name %>"> <%= name.slice(0,40) %><%= name.length > 40 ? '...' : '' %></div> <div class="has-text-grey"><%= venue %></div> <div class="has-text-grey is-size-7 has-text-weight-semibold " title="<%= categories %>"><%= categories.slice(0,2).join(', ') %></div> <% if(!disable_ticketing) { %> <% if(event_has_offer) {%> <div> <span class="is-size-7 has-text-grey-dark"> <%= ticket_currency %><%= (ticket_price - ticket_discount_amount) %> </span> <span class="has-text-grey"> <s><%= ticket_currency %><%= ticket_price %></s> </span> </div> <% } else{ %> <div> <span class="has-text-grey-dark"> <%= ticket_currency %><%= ticket_price %> </span> </div> <% } %> <% } if(is_featured == "yes") { %> <div class="tags is-right"><span class="tag is-warning is-light">Featured</span></div> <% } %> </div> </div> </a> </script> <script src="https://code.jquery.com/jquery-3.4.1.min.js" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js" integrity="sha256-mpnrJ5DpEZZkwkE1ZgkEQQJW/46CSEh/STrZKOB/qoM=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.15/lodash.min.js" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/intersection-observer@0.7.0/intersection-observer.js"></script> <script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@12.3.0/dist/lazyload.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js"></script> <script type="text/javascript" src="/js/currency.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.27/moment-timezone-with-data-2012-2022.min.js" integrity="sha256-gfmyBrlUtChLivBA2rRK/bsljMoum6kxbl7oFeCVkmc=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/typeahead.js/0.11.1/typeahead.bundle.min.js" integrity="sha256-RWiU4omUU7tQ2M3wmRQNW9UL50MB4CucbRPCbsQv+X0=" crossorigin="anonymous"> </script> <script type="text/javascript" src="/vendor/chosen/chosen.jquery.min.js"></script> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-158864347-3"></script> <script> //dynamic variables const injun_http_endpoint = 'https://injun.eventackle.com'; const autocomplete_url = 'https://injun.eventackle.com/search'; const viewURL = "/search/view"; const filter_url = "https://injun.eventackle.com/filter" const login_url = "/auth/login" const minio = "[object Object]" const userId = "undefined" $(document).ready(function () { //Googe tag window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-158864347-3') //typeahead for remote dataset const events = new Bloodhound({ datumTokenizer: (datum) => Bloodhound.tokenizers.whitespace(datum.value), queryTokenizer: Bloodhound.tokenizers.whitespace, remote: { wildcard: '%QUERY', url: autocomplete_url + '?q=%QUERY', cache: false, transform: function (events) { return events.SearchResults.map((event) => { return { id: event.eventDetail.id, name: event.eventDetail.name } }); } } }); //autocomplete suggestion for navbar search $('#navbar-search-input, #search-input').typeahead({ highlight: true }, { minLength: 3, display: function (suggestion) { return suggestion.name; }, source: events }).on('typeahead:selected', function (evt, datum) { window.location.href = viewURL + "?id=" + datum.id; }) //for other pages search input $('#navbar-search-input').keypress(function (e) { var keycode = (event.keyCode ? event.keyCode : event.which); if (keycode == '13' && $(this).val() != "") { window.location.href = "/search?q=" + encodeURIComponent($(this).val()) } }); //toggle organiser menu for user who is organiser if (localStorage.getItem("isOrganizer") === 'true') { $('#organiser-menu').show() } else { $('#organiser-menu').hide() } //logout click $('#logout').click(() => { localStorage.removeItem("fullName"); localStorage.removeItem("ticketNo"); localStorage.removeItem("wishlistNo"); localStorage.removeItem("image"); localStorage.removeItem("isOrganizer"); window.location.href = "/auth/logout"; }); //subscription form submit $('#newsletter-form').submit(function (e) { e.preventDefault(); let url = $(this).attr('action'), email_input = $(this).find('input[type="email"]'), submit_btn = $(this).find('button') let email = email_input.val().trim() submit_btn.addClass('is-loading') if (!validate.validateEmail(email)) { return } $.ajax({ url: url, type: 'post', data: { email, userId: userId === "undefined" ? '' : userId }, complete: function () { submit_btn.removeClass('is-loading') }, success: function (statusText, status) { if (statusText == "OK") { email_input.val('') confirmation({ type: "success",//success,danger,info title: "THANK YOU!", showClose: true, message: "You're subscribed to our latest news and updates. Welcome to the family!", ion_icon: "et et-check" }) } }, error: function () { confirmation({ type: "danger",//success,danger,info title: "ERROR IN SUBSCRIBING", showClose: true, message: "An error occured during the request submission. Please try again.", ion_icon: "et et-clear" }) } }); }) //update wishlist stats and tickets no if (userId !== 'undefined') { if (localStorage.getItem('ticketNo') && localStorage.getItem('wishlistNo')) { //update navbar Stats gloabally updateNavbarStats(); } else { const params = new URLSearchParams(); params.append('user_id', userId); if (injun_http_endpoint != "undefined") { axios.post(injun_http_endpoint + '/stats', params) .then((resp) => { if (resp.data && resp.data.status === 'OK') { //update navbar Stats gloabally updateNavbarStats(resp.data.stats.tickets, resp.data.stats.wishes); } else { console.log("error in reponse") } }) .catch((err) => { console.log(err) }) } } } else { //console.log("no userId") } }); //loading user image asynchronously (async function () { if ('undefined' !== 'undefined') { if (localStorage.getItem("image")) { $('#user-image').attr("src", localStorage.getItem("image")) } else { axios.get('/get-image').then((resp) => { if (resp.data == "ERR") { $('#user-image').attr("src", '/images/placeholder.jpg') } else { localStorage.setItem("image", resp.data) $('#user-image').attr("src", resp.data) } }) } } })() </script> <script type="text/javascript" src="/js/validate.js"></script> <script type="text/javascript" src="/js/main.js"></script> </body> </html>