<script type="text/javascript"> // live clock var clock_tick = function clock_tick() { setInterval('update_clock();', 1000); } // start the clock immediatly clock_tick(); var update_clock = function update_clock() { document.getElementById('liveclock').innerHTML = moment().format("<?php echo dateformat_momentjs($this->config->item('dateformat') . ' ' . $this->config->item('timeformat')); ?> "); } $.notifyDefaults({ placement: { align: '<?php echo $this->config->item('notify_horizontal_position'); ?> ', from: '<?php echo $this->config->item('notify_vertical_position'); ?> ' }}); var post = $.post; var csrf_token = function() { return Cookies.get('<?php
echo $this->lang->line("datepicker_all_time"); ?> ": [ "<?php echo date($this->config->item('dateformat'), mktime(0, 0, 0, 01, 01, 2010)); ?> ", "<?php echo date($this->config->item('dateformat'), mktime(0, 0, 0, date("m"), date("d") + 1, date("Y")) - 1); ?> " ], }, "locale": { "format": '<?php echo dateformat_momentjs($this->config->item("dateformat")); ?> ', "separator": " - ", "applyLabel": "<?php echo $this->lang->line("datepicker_apply"); ?> ", "cancelLabel": "<?php echo $this->lang->line("datepicker_cancel"); ?> ", "fromLabel": "<?php echo $this->lang->line("datepicker_from"); ?> ",