source: trunk/web/app/out/dist/head/head.php @ 2

Last change on this file since 2 was 1, checked in by dj3c1t, 13 years ago

import initial

File size: 2.3 KB
Line 
1    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
2    <link rel="shortcut icon" href="<?= $env->out_file("icons/favicon.ico") ?>" type="image/x-icon" />
3    <script type="text/javascript" src="<?= $env->out_file("js/jquery.js") ?>"></script>
4    <script type="text/javascript" src="<?= $env->out_file("js/thickbox.js") ?>"></script>
5    <link rel="stylesheet" type="text/css" href="<?= $env->out_file("css/thickbox.css") ?>" />
6<?php if($env->out_file_exists("css/pages/".$env->current_page.".css")) : ?>
7    <link rel="stylesheet" type="text/css" href="<?= $env->out_file("css/pages/".$env->current_page.".css") ?>" />
8<?php endif; ?>
9<?php if($env->out_file_exists("css/content/".$env->prefix.$env->e.".css")) : ?>
10    <link rel="stylesheet" type="text/css" href="<?= $env->out_file("css/content/".$env->prefix.$env->e.".css") ?>" />
11<?php elseif($env->out_file_exists("css/content/default.css")) : ?>
12    <link rel="stylesheet" type="text/css" href="<?= $env->out_file("css/content/default.css") ?>" />
13<?php endif; ?>
14<?php if($env->out_file_exists("js/script.js")) : ?>
15    <script type="text/javascript" src="<?= $env->out_file("js/script.js") ?>"></script>
16<?php endif; ?>
17<?php if($env->out_file_exists("js/content/".$env->prefix.$env->e.".js")) : ?>
18    <script type="text/javascript" src="<?= $env->out_file("js/content/".$env->prefix.$env->e.".js") ?>"></script>
19<?php elseif($env->out_file_exists("js/content/default.js")) : ?>
20    <script type="text/javascript" src="<?= $env->out_file("js/content/default.js") ?>"></script>
21<?php endif; ?>
22<?php
23
24  if($env->out_file_exists("head/content/".$env->prefix.$env->e.".php"))
25  { require $env->out_file("head/content/".$env->prefix.$env->e.".php");
26  }
27  elseif($env->out_file_exists("head/content/default.php")) require $env->out_file("head/content/default.php");
28
29?>
30<script type="text/javascript">
31
32  var _gaq = _gaq || [];
33  _gaq.push(['_setAccount', 'UA-26977912-1']);
34  _gaq.push(['_trackPageview']);
35
36  (function() {
37    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
38    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
39    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
40  })();
41
42</script>
Note: See TracBrowser for help on using the repository browser.