<?php include 'header.php'; include 'left.php'; echo admin_js('admin.js', true); ?> <script type="text/javascript" language="javascript"> var baseurl = "<?php print base_url(); ?> "; function trip_ajax(url) { $.ajax({ type: "POST", url: baseurl+"admin/trip/trip_ajax/"+url, success: function(html){ var message = $('<div />').append(html).find('#splitresult').html(); $("#pageresult").html(message); } }); } function areyousure() { return confirm('<?php echo 'Are you want to delete this'; ?> '); } </script>
</div> </div> </div> </div> </div> </div> </div> </div> <script type="text/javascript" src="<?php echo admin_js('jquery.validate.js'); ?> "></script> <?php echo admin_js('jquery.validate-rules.js', true); ?> <script type='text/javascript'> /* attach a submit handler to the form */ $("#login-form").submit(function(event) { /* stop form from submitting normally */ event.preventDefault(); if($("#login-form").valid())
<script type="text/javascript" src="<?php echo admin_js('jquery.validate.js'); ?> "></script> <?php echo admin_js('jquery.validate-rules.js', true); ?> <script src="<?php echo admin_js('jquery.maskedinput.min.js'); ?> "></script> <script src="<?php echo admin_js('bootstrap-datepicker.js'); ?> "></script> <script> var baseurl = "<?php print base_url(); ?> "; function redirect() { window.location = baseurl + 'admin/country' } </script> <?php
"></script> <?php echo admin_js('jquery.validate-rules.js', true); ?> <script src="<?php echo admin_js('jquery.maskedinput.min.js'); ?> "></script> <script src="<?php echo admin_js('bootstrap-datepicker.js'); ?> "></script> <script src="<?php echo admin_js('ckeditor/ckeditor.js'); ?> "></script> <script> var baseurl = "<?php print base_url(); ?> "; function redirect() { window.location = baseurl +'admin/settings' } </script> <?php
header("Location: " . site_url() . RELATIVE_PATH . '/user/profile'); } global $_admin_css; admin_css('media/assets/bootstrap/css/bootstrap.min.css'); admin_css('media/assets/font-awesome/css/font-awesome.min.css'); admin_css(ADMIN_FOLDER . '/themes/default/assets/admin-lte/css/ionicons.min.css'); admin_css(ADMIN_FOLDER . '/themes/default/assets/admin-lte/css/AdminLTE.css'); admin_css(ADMIN_FOLDER . '/themes/default/assets/css/admin.css'); admin_css('media/assets/bootstrap-table/css/bootstrap-table.css'); global $_admin_js; admin_js('media/assets/jquery/jquery-1.11.1.min.js'); admin_js('media/assets/bootstrap/js/bootstrap.min.js'); admin_js(ADMIN_FOLDER . '/themes/default/assets/admin-lte/js/jquery-ui-1.10.3.min.js'); admin_js(ADMIN_FOLDER . '/themes/default/assets/admin-lte/js/AdminLTE/app.js'); admin_js(ADMIN_FOLDER . '/themes/default/assets/admin-lte/js/plugins/iCheck/icheck.min.js'); admin_js('media/assets/bootstrap-table/js/bootstrap-table.js'); global $_admin_menu; global $_admin_toolbar_button; $_admin_menu = array(); $_admin_toolbar_button = array(); global $_admin_plugin_content; $_admin_plugin_content = ''; global $locale; $locale = !empty($_GET['lang']) ? $_GET['lang'] : DEFAULT_LOCALE; $_SESSION['lang'] = $locale; load_admin_plugins(DEFAULT_PLUGIN_PATH); load_active_plugins(); load_theme_language('admin_theme', '', 'default'); load_includes_language(); $theme = get_option('active_theme'); load_theme_language($theme . '-theme', '', $theme);
</div> <?php echo admin_js('flot/jquery.flot.min.js', true); ?> <?php echo admin_js('flot/jquery.flot.resize.min.js', true); ?> <?php echo admin_js('flot/jquery.flot.time.min.js', true); ?> <?php echo admin_js('flot/jquery.flot.threshold.js', true); ?> <?php echo admin_js('flot/jquery.flot.axislabels.js', true); ?> <!-- this page specific inline scripts --> <script> $(document).ready(function() { //CHARTS function gd(year, day, month) { return new Date(year, month - 1, day).getTime(); } if ($('#graph-bar').length) { var data2 = <?php echo $visiter_data;
echo admin_js('dataTables.fixedHeader.js', true); ?> <?php echo admin_js('dataTables.tableTools.js', true); ?> <?php echo admin_js('jquery.dataTables.bootstrap.js', true); ?> <!-- theme scripts --> <script src="<?php echo admin_js('scripts.js'); ?> "></script> <script src="<?php echo admin_js('pace.min.js'); ?> "></script> <!-- this page specific inline scripts --> </body> </html>
<?php $this->CI =& get_instance(); $admin_session['admin_session'] = $this->CI->admin_session->userdata('admin'); $name = $admin_session['admin_session']['name']; $admin_img = (array) $this->auth->get_admin($admin_session['admin_session']['id']); ?> <?php $admin_url = site_url($this->config->item('admin_folder')) . '/'; ?> <!--Smooth Scroll--> <?php echo admin_js('jquery.livequery.js', true); ?> <?php echo admin_js('jquery.timeago.js', true); ?> <script type="text/javascript" language="javascript"> $("span.time").livequery(function () { $(this).timeago(); }); </script> <div id="theme-wrapper"> <header class="navbar" id="header-navbar"> <div class="container"> <a href="<?php echo base_url('admin/dashboard'); ?>