/
header.php
59 lines (51 loc) · 3.51 KB
/
header.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><?php bloginfo(’name’);?><?php wp_title(); ?></title>
<link rel="alternate" type="application/atom+xml" href="<?php bloginfo('atom_url'); ?>" />
<link rel="stylesheet" type="text/css" media="screen" charset="utf-8" href="http://yui.yahooapis.com/2.6.0/build/reset/reset-min.css" />
<link rel="stylesheet" type="text/css" media="screen" charset="utf-8" href="http://yui.yahooapis.com/2.6.0/build/base/base-min.css" />
<link rel="stylesheet" type="text/css" media="screen" charset="utf-8" href="<?php bloginfo('template_directory'); ?>/external/syntax-highlighter/styles/shCore.css" />
<link rel="stylesheet" type="text/css" media="screen" charset="utf-8" href="<?php bloginfo('template_directory'); ?>/external/syntax-highlighter/styles/shThemeDefault.css" />
<link rel="stylesheet" type="text/css" media="screen" charset="utf-8" href="<?php bloginfo('template_directory'); ?>/css/style.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jcarousellite.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.corner.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/external/syntax-highlighter/scripts/shCore.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/external/syntax-highlighter/scripts/shBrushXml.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/site.js"></script>
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
SyntaxHighlighter.all();
$('#header').prepend('<img class="photo" src="<?php bloginfo('template_directory'); ?>/images/spacer.gif" alt="" />');
$('#footer .menu li:not(:last)').after('<li class="separator">|</li>');
$('#recent').after('<div id="wonderbar"><img id="previous" class="icon" src="<?php bloginfo('template_directory'); ?>/images/larrow.gif" alt="" /><img id="next" class="icon" src="<?php bloginfo('template_directory'); ?>/images/rarrow.gif" alt="" /></div>');
$('#wonderbar, #header').wrapInner('<div class="wrapper"></div>');
$('#recent').wrapInner('<div class="wrapper"></div>');
$('#recent .wrapper').wrapInner('<ul></ul>');
$('#recent .entry').wrap('<li></li>');
$('.entry:last').after('<div style="clear:both;"></div>');
$('#footer').wrapInner('<div class="wrapper"></div>');
$('#footer .links li:first-child').addClass('first');
$('#footer .links:last').after('<div style="clear:both;"></div>');
$("#recent .wrapper").jCarouselLite({
btnNext: "#next",
btnPrev: "#previous",
visible: 1
});
});
//]]>
</script>
<?php wp_head(); ?>
</head>
<body>
<div id="container">
<div id="header">
<h1 class="title"><a href="<?php bloginfo('url');?>/"><?php bloginfo('name');?></h1>
<?php include('menu.php') ?>
</div>
<div id="content">