forked from isobar-us/code-standards
-
Notifications
You must be signed in to change notification settings - Fork 25
/
index.php
98 lines (79 loc) · 4.8 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?php
$page_title = "Padrões de código & melhores práticas em Front-end";
$page_keywords = "Isobar code standards, coding standards, frontend development, frontend best practices, html code standards, html5 code standards, css code standards, best code practices, development, frontend development";
$page_description = "Padrões de Codificação da Isobar América do Norte e Melhores Práticas de desenvolvimento Front-end";
$protocol = (strstr('https',$_SERVER['SERVER_PROTOCOL']) === false)?'http':'https';
$page_root = $protocol.'://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['REQUEST_URI']);
include_once('layout/header.php');
?>
<body>
<a class="fork" href="https://github.com/haggen/code-standards" target="_blank"></a>
<div id="container">
<header role="banner">
<h1><a id="logo" href="<?php echo $page_root; ?>">Isobar US</a></h1>
<canvas id="canvas-logo" width="500" height="300">
<strong>Seu navegador não pode lidar com tamanha a grandiosidade!</strong>
</canvas>
<ul id="social">
<li><a class="icon" href="http://www.shareaholic.com/api/share/?v=1&apitype=1&apikey=8943b7fd64cd8b1770ff5affa9a9437b&service=5&title=Isobar%20North%20America's%20Coding%20Standards%20and%20Frontend%20development%20Best%20Practices&link=http://andrecomws.com/lab/code-standards/&source=Shareaholic" id="facebook"></a></li>
<li><a class="icon" href="http://www.shareaholic.com/api/share/?v=1&apitype=1&apikey=8943b7fd64cd8b1770ff5affa9a9437b&service=7&title=Isobar%20North%20America's%20Coding%20Standards%20and%20Frontend%20development%20Best%20Practices&link=http://andrecomws.com/lab/code-standards/&source=Shareaholic" id="twitter"></a></li>
<li><a class="icon" href="http://www.shareaholic.com/api/share/?v=1&apitype=1&apikey=8943b7fd64cd8b1770ff5affa9a9437b&service=2&title=Isobar%20North%20America's%20Coding%20Standards%20and%20Frontend%20development%20Best%20Practices&link=http://andrecomws.com/lab/code-standards/&source=Shareaholic" id="delicious"></a></li>
<li><a href="http://na.isobar.com" id="linkback">Retornar Isobar US</a></li>
</ul>
</header>
<div id="main" role="document">
<h1><?php echo $page_title; ?></h1>
<?php
include_once('sections/general.html');
include_once('sections/markup.html');
include_once('sections/css.html');
include_once('sections/javascript.html');
include_once('sections/accessibility.html');
include_once('sections/performance.html');
include_once('sections/browsers.html');
include_once('sections/seo.html');
include_once('sections/codeReviews.html');
include_once('sections/appendices.html');
include_once('sections/revisionHistory.html');
?>
</div><!--! End of #main section !-->
<nav id="side" class="nav-right" role="navigation">
<h3 class="toc-title">Índice</h3>
<ul id="toc" style="display:none"></ul>
<noscript><p><a href="http://enable-javascript.com">Por favor habilite o Javascript</a>.</p></noscript>
</nav>
</div><!--! end of #container !-->
<footer role="contentinfo">
<p>
<span class="float_left"><?php print date("Y"); ?> Isobar North America, Inc. Todos os direitos reservados.</span>
<span class="float_right">Todo conteúdo licenciado sobre Creative Commons Attribution 3.0 Unported License</span>
</p>
</footer>
<!-- JavaScript at the bottom for fast page loading -->
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script>
<script>
window.jQuery || document.write("<script src='js/jquery-1.6.3.min.js'>\x3C/script>")
</script>
<!-- scripts concatenated and minified via ant build script-->
<script defer src="js/plugins.js"></script>
<script defer src="js/script.js"></script>
<!-- end scripts-->
<!--[if lt IE 7 ]>
<script src="js/libs/dd_belatedpng.js"></script>
<script>DD_belatedPNG.fix("img, .png_bg"); // Fix any <img> or .png_bg bg-images. Also, please read goo.gl/mZiyb </script>
<![endif]-->
<script>
window._gaq = [['_setAccount','UA-1612394-12'],['_trackPageview'],['_trackPageLoadTime']];
Modernizr.load({
load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
});
</script>
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
chromium.org/developers/how-tos/chrome-frame-getting-started -->
<!--[if lt IE 7 ]>
<script defer src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
<script defer>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
<![endif]-->
</body>
</html>