js/plugins/link.min.js"></script> <script type="text/javascript" src="<?php echo admin_stylesheet(); ?> js/plugins/lists.min.js"></script> <script type="text/javascript" src="<?php echo admin_stylesheet(); ?> js/plugins/paragraph_format.min.js"></script> <script type="text/javascript" src="<?php echo admin_stylesheet(); ?> js/plugins/paragraph_style.min.js"></script> <script type="text/javascript" src="<?php echo admin_stylesheet(); ?> js/plugins/table.min.js"></script> <script type="text/javascript" src="<?php echo admin_stylesheet(); ?> js/plugins/url.min.js"></script> <script type="text/javascript" src="<?php echo admin_stylesheet(); ?> js/plugins/entities.min.js"></script> <script language="javascript" type="text/javascript" src="<?php echo admin_stylesheet() . 'js/admin.js'; ?> "></script> </body> </html>
function admin_url($page = '') { switch ($page) { case 'home': return admin_home(); break; case 'create-page': return admin_home() . 'create-page.php'; break; case 'posts': return admin_home() . 'posts.php'; break; case 'all-page': return admin_home() . 'all_page.php'; break; case 'edit-page': return admin_home() . 'edit-page.php'; break; case 'delete-page': return admin_home() . 'delete-page.php'; break; case 'stylesheet_dir': return admin_stylesheet(); break; default: return 'ERROR'; } }
?> js/gmaps.js"></script> <script type="text/javascript" src="<?php echo admin_stylesheet(); ?> js/prettify.js"></script> <script type="text/javascript" src="<?php echo admin_stylesheet(); ?> js/drawonmaps_markers.js"></script> <script type="text/javascript" src="<?php echo admin_stylesheet(); ?> js/drawonmaps.js"></script> <script type="text/javascript" src="<?php echo admin_stylesheet(); ?> js/drawonmaps_map_display.js"></script> <?php $post = new posts(); $footer_map = $post->get_single_post_by('contact'); $lat = '44.5403'; $lang = '-78.5463'; if ($footer_map != NULL) { $footer_map = explode('&', $footer_map->post_content); if (is_array($footer_map)) { $lat = $footer_map[1]; $lang = $footer_map[0]; } }
?> "> <?php // do not show all CSS if only map display option is asked if ($vars['map_o']) { ?> <link href="<?php echo admin_stylesheet('drawonmaps_map_o'); ?> " rel="stylesheet" type="text/css" /> <?php } else { ?> <link href="<?php echo admin_stylesheet('drawonmaps'); ?> " rel="stylesheet" type="text/css" /> <?php } ?> </head> <body> <div class="navbar navbar-inverse"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="#"> <img alt="Brand" class="img-responsive" src="<?php echo admin_url('home');
<link rel="stylesheet" href="<?php echo admin_stylesheet(); ?> css/plugins/image.css"> <link rel="stylesheet" href="<?php echo admin_stylesheet(); ?> css/plugins/table.css"> <link rel="stylesheet" href="<?php echo admin_stylesheet(); ?> css/plugins/video.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.3.0/codemirror.min.css"> <link rel="stylesheet" href="<?php echo admin_stylesheet('admin'); ?> "> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> </head> <body> <div class="navbar navbar-inverse"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="#"> <img alt="Brand" class="img-responsive" src="<?php echo admin_url('home'); ?> /assets/img/logo.png"> </a> </div>
function admin_url($page = '') { switch ($page) { case 'home': return admin_home(); break; case 'home-setting': return admin_home() . 'home-setting.php'; break; case 'slide_setting': return admin_home() . 'slide-setting.php'; break; case 'new-post': return admin_home() . 'new_post.php'; break; case 'contact': return admin_home() . 'contact.php'; break; case 'terms': return admin_home() . 'terms.php'; break; case 'social': return admin_home() . 'social.php'; break; case 'map': return admin_home() . 'location-map.php'; break; case 'maps': return admin_home() . 'map-settings.php'; break; case 'stylesheet_dir': return admin_stylesheet(); break; default: return 'ERROR'; } }