Jump to content

No Route Passed


ArthurHetem

Recommended Posts

I have an custom skin for my panel center, but when i will add an bid i got an no route passed error, here go my layout.php:

<!DOCTYPE html>
<!-- 
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.2
Version: 3.7.0
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project.
-->
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8"/>
<title>Avianca Virtual | CrewCenter</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<meta content="" name="description"/>
<meta content="" name="author"/>
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL PLUGIN STYLES -->
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/fullcalendar/fullcalendar.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/jqvmap.css" rel="stylesheet" type="text/css"/>
<!-- END PAGE LEVEL PLUGIN STYLES -->
<!-- BEGIN PAGE STYLES -->
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/pages/css/tasks.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/select2/select2.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/pages/css/login3.css" rel="stylesheet" type="text/css"/>
<!-- END PAGE STYLES -->
<!-- BEGIN THEME STYLES -->
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/css/components-md.css" id="style_components" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/css/plugins-md.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/layout/css/layout.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/layout/css/themes/darkblue.css" rel="stylesheet" type="text/css" id="style_color"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/layout/css/custom.css" rel="stylesheet" type="text/css"/>
<?php echo $page_htmlhead; ?>
<!-- END THEME STYLES -->
<link rel="shortcut icon" href="favicon.ico"/>
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<!-- DOC: Apply "page-header-fixed-mobile" and "page-footer-fixed-mobile" class to body element to force fixed header or footer in mobile devices -->
<!-- DOC: Apply "page-sidebar-closed" class to the body and "page-sidebar-menu-closed" class to the sidebar menu element to hide the sidebar by default -->
<!-- DOC: Apply "page-sidebar-hide" class to the body to make the sidebar completely hidden on toggle -->
<!-- DOC: Apply "page-sidebar-closed-hide-logo" class to the body element to make the logo hidden on sidebar toggle -->
<!-- DOC: Apply "page-sidebar-hide" class to body element to completely hide the sidebar on sidebar toggle -->
<!-- DOC: Apply "page-sidebar-fixed" class to have fixed sidebar -->
<!-- DOC: Apply "page-footer-fixed" class to the body element to have fixed footer -->
<!-- DOC: Apply "page-sidebar-reversed" class to put the sidebar on the right side -->
<!-- DOC: Apply "page-full-width" class to the body element to have full width page without the sidebar menu -->
<body class="page-md page-header-fixed page-quick-sidebar-over-content page-sidebar-closed-hide-logo login">

        <?php echo $page_htmlreq; ?>
		<?php
		// var_dump($_SERVER['REQUEST_URI']);
		# Hide the header if the page is not the registration or login page
		# Bit hacky, don't like doing it this way
		if (!isset($_SERVER['REQUEST_URI']) || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/login' || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/registration') {
			if(Auth::LoggedIn()) {
				Template::Show('app_top.php');
			}
		}
		?>
        
        <div id="content">
            <?php echo $page_content; ?>
        </div>
        
		<?php
		# Hide the footer if the page is not the registration or login page
		# Bit hacky, don't like doing it this way
		if (!isset($_SERVER['REQUEST_URI']) || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/login' || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/registration') {
			if(Auth::LoggedIn()) {
				Template::Show('app_bottom.php');
			}
		}
		?>
		
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<!--[if lt IE 9]>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/respond.min.js"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/excanvas.min.js"></script> 
<![endif]-->
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery-migrate.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery.cokie.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/jquery.vmap.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.russia.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.world.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.europe.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.germany.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.usa.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/data/jquery.vmap.sampledata.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/flot/jquery.flot.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/flot/jquery.flot.resize.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/flot/jquery.flot.categories.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery.pulsate.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-daterangepicker/moment.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-daterangepicker/daterangepicker.js" type="text/javascript"></script>
<!-- IMPORTANT! fullcalendar depends on jquery-ui-1.10.3.custom.min.js for drag & drop support -->
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/fullcalendar/fullcalendar.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery-easypiechart/jquery.easypiechart.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery.sparkline.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/gritter/js/jquery.gritter.js" type="text/javascript"></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/scripts/metronic.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/layout/scripts/layout.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/layout/scripts/quick-sidebar.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/pages/scripts/index.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/pages/scripts/tasks.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script>
jQuery(document).ready(function() {    
   Metronic.init(); // init metronic core componets
   Layout.init(); // init layout
   QuickSidebar.init() // init quick sidebar
   Index.init();   
   Index.initDashboardDaterange();
   Index.initJQVMAP(); // init index page's custom scripts
   Index.initCalendar(); // init index page's custom scripts
   Index.initCharts(); // init index page's custom scripts
   Index.initChat();
   Index.initMiniCharts();
   Tasks.initDashboardWidget();
});
</script>
<!-- END JAVASCRIPTS -->		

 

Link to comment
Share on other sites

  • 1 month later...

Thank you for your answer but i have try all.

I think that it's Jquery but i don't understand jquery noconflict .

My jquery it's 1.12.4

I know that Live Function is no longer operational after this release but how to load both or modify phpvms.js

 

 

<!DOCTYPE html>
<html lang="en">
    <!--<![endif]-->
    <!-- BEGIN HEAD -->

    <head>
        <meta charset="utf-8" />
        <title><?php echo $page_title; ?></title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta content="width=device-width, initial-scale=1" name="viewport" />
        <meta content="###" name="description" />
        <meta content="" name="author" />
        <!-- BEGIN GLOBAL MANDATORY STYLES -->
        <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css" />
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
        <!-- END GLOBAL MANDATORY STYLES -->
        <!-- BEGIN PAGE LEVEL PLUGINS -->
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/bootstrap-daterangepicker/daterangepicker.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/morris/morris.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/fullcalendar/fullcalendar.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jqvmap/jqvmap/jqvmap.css" rel="stylesheet" type="text/css" />
        <!-- END PAGE LEVEL PLUGINS -->
        <!-- BEGIN THEME GLOBAL STYLES -->
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/css/components.min.css" rel="stylesheet" id="style_components" type="text/css" />
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/css/plugins.min.css" rel="stylesheet" type="text/css" />
        <!-- END THEME GLOBAL STYLES -->
        <!-- BEGIN THEME LAYOUT STYLES -->
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/layouts/layout3/css/layout.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/layouts/layout3/css/themes/default.min.css" rel="stylesheet" type="text/css" id="style_color" />
        <link href="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/layouts/layout3/css/custom.min.css" rel="stylesheet" type="text/css" />
        <!-- END THEME LAYOUT STYLES -->
        <link rel="shortcut icon" href="favicon.ico" /> </head>
    <!-- END HEAD -->
<?php
/* This is required, so phpVMS can output the necessary libraries it needs */
echo $page_htmlhead;
?>

<?php /*Any custom Javascript should be placed below this line, after the above call */ ?>

    <body class="page-container-bg-solid">
        <div class="page-wrapper">
            <?php
            /*    You can modify this template into a table or something, by default
                it's list elements inside of a UL. Here's a link with some info:
                
               http://articles.sitepoint.com/article/css-anthology-tips-tricks-4/2
             */
            Template::Show('core_navigation.tpl');
            ?>
            <!-- BEGIN CONTENT BODY -->    <?php
            /*    This will insert all of the "meat" of the page in there - the template
            which is generated, depending on which page you're on. To change these
            templates, check out the docs on the site. They're under the /core/templates
            folder, and to change them, copy them into the folder of your skin (the
            folder this file is in right now.
            */

            echo $crew_page_content;

            ?>
            <?php
            /*    You can modify this template into a table or something, by default
                it's list elements inside of a UL. Here's a link with some info:
                
               http://articles.sitepoint.com/article/css-anthology-tips-tricks-4/2
             */
            Template::Show('core_footer.tpl');
            ?>
        </div>
        <!-- BEGIN QUICK NAV -->
        <nav class="quick-nav">
            <a class="quick-nav-trigger" href="#0">
                <span aria-hidden="true"></span>
            </a>
            <ul>
                <li>
                    <a href="https://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes" target="_blank" class="active">
                        <span>Purchase Metronic</span>
                        <i class="icon-basket"></i>
                    </a>
                </li>
                <li>
                    <a href="https://themeforest.net/item/metronic-responsive-admin-dashboard-template/reviews/4021469?ref=keenthemes" target="_blank">
                        <span>Customer Reviews</span>
                        <i class="icon-users"></i>
                    </a>
                </li>
                <li>
                    <a href="http://keenthemes.com/showcast/" target="_blank">
                        <span>Showcase</span>
                        <i class="icon-user"></i>
                    </a>
                </li>
                <li>
                    <a href="http://keenthemes.com/metronic-theme/changelog/" target="_blank">
                        <span>Changelog</span>
                        <i class="icon-graph"></i>
                    </a>
                </li>
            </ul>
            <span aria-hidden="true" class="quick-nav-bg"></span>
        </nav>
        <div class="quick-nav-overlay"></div>
        <!-- END QUICK NAV -->
        <!--[if lt IE 9]>
<script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/respond.min.js"></script>
<script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/excanvas.min.js"></script>
<script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/ie8.fix.min.js"></script>
<![endif]-->
        <!-- BEGIN CORE PLUGINS -->
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/js.cookie.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
        <!-- END CORE PLUGINS -->
        <!-- BEGIN PAGE LEVEL PLUGINS -->
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/moment.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/bootstrap-daterangepicker/daterangepicker.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/morris/morris.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/morris/raphael-min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/counterup/jquery.waypoints.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/counterup/jquery.counterup.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/fullcalendar/fullcalendar.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/flot/jquery.flot.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/flot/jquery.flot.resize.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/flot/jquery.flot.categories.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jquery-easypiechart/jquery.easypiechart.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jquery.sparkline.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jqvmap/jqvmap/jquery.vmap.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.russia.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.world.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.europe.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.germany.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.usa.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jqvmap/jqvmap/data/jquery.vmap.sampledata.js" type="text/javascript"></script>
        <!-- END PAGE LEVEL PLUGINS -->
        <!-- BEGIN THEME GLOBAL SCRIPTS -->
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/scripts/app.min.js" type="text/javascript"></script>
        <!-- END THEME GLOBAL SCRIPTS -->
        <!-- BEGIN PAGE LEVEL SCRIPTS -->
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/pages/scripts/dashboard.min.js" type="text/javascript"></script>
        <!-- END PAGE LEVEL SCRIPTS -->
        <!-- BEGIN THEME LAYOUT SCRIPTS -->
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/layouts/layout3/scripts/layout.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/layouts/layout3/scripts/demo.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/layouts/global/scripts/quick-sidebar.min.js" type="text/javascript"></script>
        <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/layouts/global/scripts/quick-nav.min.js" type="text/javascript"></script>
        <!-- END THEME LAYOUT SCRIPTS -->
        <script>
            $(document).ready(function()
            {
                $('#clickmewow').click(function()
                {
                    $('#radio1003').attr('checked', 'checked');
                });
            })
        </script>
    </body>

</html>
            

 

Link to comment
Share on other sites

On 23/09/2017 at 2:39 PM, ArthurHetem said:

I have an custom skin for my panel center, but when i will add an bid i got an no route passed error, here go my layout.php:


<!DOCTYPE html>
<!-- 
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.2
Version: 3.7.0
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project.
-->
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8"/>
<title>Avianca Virtual | CrewCenter</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<meta content="" name="description"/>
<meta content="" name="author"/>
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL PLUGIN STYLES -->
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/fullcalendar/fullcalendar.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/jqvmap.css" rel="stylesheet" type="text/css"/>
<!-- END PAGE LEVEL PLUGIN STYLES -->
<!-- BEGIN PAGE STYLES -->
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/pages/css/tasks.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/select2/select2.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/pages/css/login3.css" rel="stylesheet" type="text/css"/>
<!-- END PAGE STYLES -->
<!-- BEGIN THEME STYLES -->
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/css/components-md.css" id="style_components" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/css/plugins-md.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/layout/css/layout.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/layout/css/themes/darkblue.css" rel="stylesheet" type="text/css" id="style_color"/>
<link href="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/layout/css/custom.css" rel="stylesheet" type="text/css"/>
<?php echo $page_htmlhead; ?>
<!-- END THEME STYLES -->
<link rel="shortcut icon" href="favicon.ico"/>
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<!-- DOC: Apply "page-header-fixed-mobile" and "page-footer-fixed-mobile" class to body element to force fixed header or footer in mobile devices -->
<!-- DOC: Apply "page-sidebar-closed" class to the body and "page-sidebar-menu-closed" class to the sidebar menu element to hide the sidebar by default -->
<!-- DOC: Apply "page-sidebar-hide" class to the body to make the sidebar completely hidden on toggle -->
<!-- DOC: Apply "page-sidebar-closed-hide-logo" class to the body element to make the logo hidden on sidebar toggle -->
<!-- DOC: Apply "page-sidebar-hide" class to body element to completely hide the sidebar on sidebar toggle -->
<!-- DOC: Apply "page-sidebar-fixed" class to have fixed sidebar -->
<!-- DOC: Apply "page-footer-fixed" class to the body element to have fixed footer -->
<!-- DOC: Apply "page-sidebar-reversed" class to put the sidebar on the right side -->
<!-- DOC: Apply "page-full-width" class to the body element to have full width page without the sidebar menu -->
<body class="page-md page-header-fixed page-quick-sidebar-over-content page-sidebar-closed-hide-logo login">

        <?php echo $page_htmlreq; ?>
		<?php
		// var_dump($_SERVER['REQUEST_URI']);
		# Hide the header if the page is not the registration or login page
		# Bit hacky, don't like doing it this way
		if (!isset($_SERVER['REQUEST_URI']) || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/login' || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/registration') {
			if(Auth::LoggedIn()) {
				Template::Show('app_top.php');
			}
		}
		?>
        
        <div id="content">
            <?php echo $page_content; ?>
        </div>
        
		<?php
		# Hide the footer if the page is not the registration or login page
		# Bit hacky, don't like doing it this way
		if (!isset($_SERVER['REQUEST_URI']) || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/login' || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/registration') {
			if(Auth::LoggedIn()) {
				Template::Show('app_bottom.php');
			}
		}
		?>
		
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<!--[if lt IE 9]>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/respond.min.js"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/excanvas.min.js"></script> 
<![endif]-->
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery-migrate.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery.cokie.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/jquery.vmap.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.russia.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.world.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.europe.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.germany.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.usa.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jqvmap/jqvmap/data/jquery.vmap.sampledata.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/flot/jquery.flot.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/flot/jquery.flot.resize.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/flot/jquery.flot.categories.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery.pulsate.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-daterangepicker/moment.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/bootstrap-daterangepicker/daterangepicker.js" type="text/javascript"></script>
<!-- IMPORTANT! fullcalendar depends on jquery-ui-1.10.3.custom.min.js for drag & drop support -->
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/fullcalendar/fullcalendar.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery-easypiechart/jquery.easypiechart.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery.sparkline.min.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/gritter/js/jquery.gritter.js" type="text/javascript"></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/scripts/metronic.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/layout/scripts/layout.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/layout/scripts/quick-sidebar.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/pages/scripts/index.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/admin/pages/scripts/tasks.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script>
jQuery(document).ready(function() {    
   Metronic.init(); // init metronic core componets
   Layout.init(); // init layout
   QuickSidebar.init() // init quick sidebar
   Index.init();   
   Index.initDashboardDaterange();
   Index.initJQVMAP(); // init index page's custom scripts
   Index.initCalendar(); // init index page's custom scripts
   Index.initCharts(); // init index page's custom scripts
   Index.initChat();
   Index.initMiniCharts();
   Tasks.initDashboardWidget();
});
</script>
<!-- END JAVASCRIPTS -->		

 

--------------------------------------- PT-BR ---------------------------------------

Arthur eu vou te responder em português porque eu sei que você é Brasileiro e eu também sou, então vamos lá...

Em seu código eu vi isso:

<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>

Tente alterar para isso

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>

Não sei se isso vai arrumar seu problema, mas é um bom começo

--------------------------------------- EN-US ---------------------------------------

Find in your code this:

<script src="<?php echo SITE_URL?>/lib/skins/avianca/assets/global/plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>

And change to this:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>

I do not know if this will fix your problem, but it's a good start.

Link to comment
Share on other sites

25 minutes ago, DLH001 said:

if i delete       <script src="<?php echo SITE_URL?>/lib/skins/airaustral/crew/assets/global/plugins/jquery.min.js" type="text/javascript"></script>

The ajax phpvms works but my website navigation no.

@DLH001 @ArthurHetem

1- "Those paths to the scripts also seem wrong, make sure they're correct. They should be going to lib/js (at least for jquery)" - Nabeel

2- "Give this a try -

<script>
jQuery.noConflict();
</script>

Put it after ALL libraries have been loaded. It would fix the multiple versions of jQuery problems that would result in the error you have." - Magicflyer

 

Do you use the crewcenter of someone or your own? What is your php?

Edited by CarlosEduardo2409
Link to comment
Share on other sites

thank you everyone
i changed phpvms version, my php version, edit file and now it's ok.

 

Now my problem it's for skin ADMIN :)

I want that htmlheader admin it's like skin htmlheader.

Exemple

$(document).on("click", ".deleteitem", function(){return false;});
        $(document).on("dblclick", ".deleteitem", function(){
        $.post($(this).attr("href"), {id: $(this).attr("id")});
        rmvid= "#bid"+$(this).attr("id"); $(rmvid).slideUp();
        return false;
    });

 

replace $('.deleteitem').live('click', function() {   by   $(document).on("click", ".deleteitem", function(){return false;});

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...