Advertisement
Guest User

inc.head.php

a guest
Apr 13th, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.77 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <meta charset="utf-8">
  4. <title><?php echo $site->_s($config->site_name); ?></title>
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="description" content="">
  7. <meta name="author" content="">
  8. <!-- FAV AND TOUCH ICONS -->
  9. <link rel="shortcut icon" href="bootstrap/ico/favicon.ico">
  10. <link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo ROOT_PATH; ?>core/tools/bootstrap/ico/apple-touch-icon-144-precomposed.png">
  11. <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo ROOT_PATH; ?>core/tools/bootstrap/ico/apple-touch-icon-114-precomposed.png">
  12. <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo ROOT_PATH; ?>core/tools/bootstrap/ico/apple-touch-icon-72-precomposed.png">
  13. <link rel="apple-touch-icon-precomposed" href="<?php echo ROOT_PATH; ?>core/tools/bootstrap/ico/apple-touch-icon-57-precomposed.png">
  14. <!-- FAV AND TOUCH ICONS -->
  15.  
  16. <!-- JAVASCRIPT FILES -->
  17. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
  18. <script type="text/javascript" src="<?php echo ROOT_PATH; ?>core/tools/bootstrap/js/bootstrap.min.js"></script>
  19. <script type="text/javascript" src="<?php echo ROOT_PATH; ?>core/tools/jquery/jquery.dataTables.min.js"></script>
  20. <script type="text/javascript" src="<?php echo ROOT_PATH; ?>core/tools/jquery/jquery.dataTables-twitter.min.js"></script>
  21. <!-- JAVASCRIPT FILES -->
  22.  
  23. <!-- CSS FILES -->
  24. <link rel="stylesheet" href="<?php echo ROOT_PATH; ?>core/tools/bootstrap/css/bootstrap.css">
  25. <link rel="stylesheet" href="<?php echo ROOT_PATH; ?>core/tools/bootstrap/css/bootstrap-responsive.css">
  26. <link rel="stylesheet" href="<?php echo ROOT_PATH; ?>css/styles.layout.css">
  27. <link rel="stylesheet" href="<?php echo ROOT_PATH; ?>css/styles.forms.css">
  28. <link rel="stylesheet" href="<?php echo ROOT_PATH; ?>css/styles.extends.css">
  29. <link rel="stylesheet" href="<?php echo ROOT_PATH; ?>css/styles.fix-bootstrap.css">
  30. <!-- CSS FILES -->
  31.  
  32. <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
  33. <!--[if lt IE 9]>
  34.  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  35. <![endif]-->
  36.  
  37. <?php
  38. if(!empty($config->analytics_key)) {
  39. ?>
  40. <!-- GOOGLE ANALYTICS -->
  41. <script type="text/javascript">
  42. var _gaq = _gaq || [];
  43. _gaq.push(['_setAccount', '<?php echo $site->_s($config->analytics_key); ?>']);
  44. _gaq.push(['_trackPageview']);
  45. (function() {
  46.     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  47.     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  48.     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  49. })();
  50. </script>
  51. <!-- GOOGLE ANALYTICS END -->
  52. <?php
  53. }
  54. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement