PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
osta
/
inc
<style> #loginBody #float-database-reset-warning { display: none; } #float-database-reset-warning-container { margin: 0; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 99999; } #float-database-reset-warning { font-size: 13px; position: sticky; bottom: 20px; z-index: 999999; background: #fff; padding: 20px 6px 9px 6px; border-radius: 8px; -webkit-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2); box-shadow: 0 0px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2); text-align: center; margin-left: auto; margin-right: auto; width: 121px; height: 48px; overflow: hidden; color: #636363; } #float-database-reset-warning #close-button { float: right; position: absolute; top: -4px; right: 0px; } #float-database-reset-warning #close-button i.icon-remove-circle { top: 4px; right: 0px; } #float-database-reset-warning #close-button .icon-remove-circle:before { content: url(../osta/icons/close.svg); height: 20px; width: 20px; top: 0px !important; background: #FFDDB9; border-radius: 4px; } #clockdiv { font-family: sans-serif; color: #fff; display: inline-block; font-weight: 100; text-align: center; font-size: 10px; margin-top: 6px; } #clockdiv > div { padding: 0px; display: inline-block; } #clockdiv div > span { padding: 3px; border-radius: 3px; background: #0f88e1; display: inline-block; } </style> <div id="float-database-reset-warning-container" style="display:<?php if (date('i') >=55){echo 'inline';}else{echo 'none';} ?>;"> <div id="float-database-reset-warning"> <div id="close-button"> <a href="JavaScript:void(0)" id="close" class="close"><i class="icon-remove-circle"></i></a> </div> Database reset<br> <div id="clockdiv"> <div> <span class="minutes"></span> </div> <div> <span class="seconds"></span> </div> </div> </div> </div> <script type="text/javascript"> function getTimeRemaining(endtime) { var t = Date.parse(endtime) - Date.parse(new Date()); var seconds = Math.floor((t / 1000) % 60); var minutes = Math.floor((t / 1000 / 60) % 60); var hours = Math.floor((t / (1000 * 60 * 60)) % 24); var days = Math.floor(t / (1000 * 60 * 60 * 24)); return { 'total': t, 'days': days, 'hours': hours, 'minutes': minutes, 'seconds': seconds }; } function initializeClock(id, endtime) { var clock = document.getElementById(id); var daysSpan = clock.querySelector('.days'); var hoursSpan = clock.querySelector('.hours'); var minutesSpan = clock.querySelector('.minutes'); var secondsSpan = clock.querySelector('.seconds'); function updateClock() { var t = getTimeRemaining(endtime); minutesSpan.innerHTML = ('0' + t.minutes).slice(-2); secondsSpan.innerHTML = ('0' + t.seconds).slice(-2); if (t.total <= 0) { clearInterval(timeinterval); } } updateClock(); var timeinterval = setInterval(updateClock, 1000); } var now = Date.parse(new Date()); var seconds = Math.floor((now / 1000) % 60); var minutes = Math.floor((now / 1000 / 60) % 60); var left_to_hour = 60 * 60 * 1000 - (minutes * 60 + seconds) * 1000; // add 100 days var deadline = new Date(now + left_to_hour + 100 * 24 * 60 * 60 * 1000); initializeClock('clockdiv', deadline); </script> <script> $(document).ready(function() { // If the 'hide cookie is not set we show the message if (!readCookie('hide')) { $('#popupDiv').show(); } // Add the event that closes the popup and sets the cookie that tells us to // not show it again until one day has passed. $('#close').click(function() { $('#float-database-reset-warning-container').hide(); createCookie('hide', true, 1) return false; }); }); // --- // And some generic cookie logic // --- function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(5*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } function eraseCookie(name) { createCookie(name,"",-1); } </script>
[+]
..
[-] client-foot.html
[edit]
[-] default-logo.html
[edit]
[-] back-button.html
[edit]
[-] client-head.html
[edit]
[-] setup-header.html
[edit]
[-] setup-foot.html
[edit]
[-] theme-button.html
[edit]
[-] staff-mobile-menu.html
[edit]
[-] staff-foot.html
[edit]
[-] database-reset-warning.html
[edit]
[-] keyboard-shortcuts.html
[edit]
[-] staff-head.html
[edit]
[-] setup-head.html
[edit]
[-] version-info.inc.php
[edit]
[-] .htaccess.disabled
[edit]