175 lines
5.3 KiB
PHP
175 lines
5.3 KiB
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
|
|
<head>
|
|
<title><?php echo bloginfo('name').wp_title();?></title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="description" content="" />
|
|
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
|
|
<link rel="shortcut icon" href="http://static.twoday.net/favicon.png" />
|
|
|
|
<style type="text/css">
|
|
@import url(http://fonts.googleapis.com/css?family=Signika:400,300,600,700);
|
|
.connect_widget {display: none; }
|
|
</style>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
/*
|
|
jQuery(function(){
|
|
jQuery("#face").slideDown("slow");
|
|
jQuery(window).load(function(){
|
|
jQuery(".connect_widget").slideDown("slow");
|
|
});
|
|
});*/
|
|
|
|
function setActiveStyleSheet(title) {
|
|
var i, a, main;
|
|
for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
|
|
if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
|
|
a.disabled = true;
|
|
if(a.getAttribute("title") == title) a.disabled = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
function getActiveStyleSheet() {
|
|
var i, a;
|
|
for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
|
|
if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title");
|
|
}
|
|
return null;
|
|
}
|
|
|
|
function getPreferredStyleSheet() {
|
|
var i, a;
|
|
for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
|
|
if(a.getAttribute("rel").indexOf("style") != -1
|
|
&& a.getAttribute("rel").indexOf("alt") == -1
|
|
&& a.getAttribute("title")
|
|
) return a.getAttribute("title");
|
|
}
|
|
return null;
|
|
}
|
|
|
|
function createCookie(name,value,days) {
|
|
if (days) {
|
|
var date = new Date();
|
|
date.setTime(date.getTime()+(days*24*60*60*1000));
|
|
var expires = "; expires="+date.toGMTString();
|
|
}
|
|
else expires = "";
|
|
document.cookie = name+"="+value+expires+"; path=/";
|
|
}
|
|
|
|
function readCookie(name) {
|
|
var nameEQ = name + "=";
|
|
var ca = document.cookie.split(';');
|
|
for(var i=0;i < ca.length;i++) {
|
|
var c = ca[i];
|
|
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
|
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
|
}
|
|
return null;
|
|
}
|
|
|
|
window.onload = function(e) {
|
|
var cookie = readCookie("style");
|
|
var title = cookie ? cookie : getPreferredStyleSheet();
|
|
setActiveStyleSheet(title);
|
|
}
|
|
|
|
window.onunload = function(e) {
|
|
var title = getActiveStyleSheet();
|
|
createCookie("style", title, 365);
|
|
}
|
|
|
|
var cookie = readCookie("style");
|
|
var title = cookie ? cookie : getPreferredStyleSheet();
|
|
setActiveStyleSheet(title);
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript" src="<?php echo bloginfo('template_directory').'/js/jquery.min.js';?>"></script>
|
|
<!--
|
|
<link rel="stylesheet" type="text/css" title="CSS Stylesheet" href="modToolbar.css" />
|
|
-->
|
|
<script src="<?php echo bloginfo('template_directory').'/js/urchin.js';?>" type="text/javascript"></script>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
jQuery(function(){
|
|
jQuery("#face").slideDown("slow");
|
|
jQuery(window).load(function(){
|
|
jQuery(".connect_widget").slideDown("slow");
|
|
});
|
|
});
|
|
</script>
|
|
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
|
|
<?php wp_head(); ?>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
<!-- wrapper -->
|
|
<div id="wrapper">
|
|
|
|
|
|
<!-- header -->
|
|
|
|
<div id="header">
|
|
<div id="logo">
|
|
<img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="Logo of Austrian National Council" />
|
|
|
|
<p><?php bloginfo('name'); ?></p>
|
|
|
|
</div>
|
|
<img title="dr. harald walser" height="244" alt="dr. harald walser" width="940" src="<?php echo bloginfo('template_directory').'/images/header.jpg';?>" />
|
|
<div id="mouth">
|
|
<div class="sidebarItem">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<form role="search" method="get" id="search" action="<?php echo home_url( '/' ); ?>">
|
|
<div>
|
|
<input class="searchbox field" type="text" value="" name="s" id="s" />
|
|
<input class="searchbox button" type="submit" id="searchsubmit" value="Search" />
|
|
</div>
|
|
</form>
|
|
|
|
<?php //get_search_form(); ?>
|
|
<!--
|
|
<form id="search" method="get" action="http://haraldwalser.twoday.net/search">
|
|
<input class="searchbox field" value="" type="text" size="20" name="q" />
|
|
<input class="searchbox button" value="SUCHE" type="submit" name="submit" />
|
|
</form>
|
|
-->
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
|
|
<div id="face">
|
|
|
|
<div id="navi">
|
|
<div id="centeredmenu">
|
|
<?php wp_nav_menu( array('theme_location'=>'top','fallback_cb'=>'') ); ?>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div id="social">
|
|
FOLLOW
|
|
<a title="Facebook" href="http://www.facebook.com/haraldwalser" class="fb"><img src="<?php echo bloginfo('template_directory').'/images/fb.png';?>" alt="Facebook" /></a>
|
|
<a title="E-mail" href="mailto:harald.walser@gruene.at" class="mail"><img src="<?php echo bloginfo('template_directory').'/images/mail.png';?>" alt="Mail Me" /></a>
|
|
</div>
|
|
|
|
</div>
|