<!DOCTYPE HTML>
<!--[if IE 7]>
<html class="ie ie7" dir="rtl" lang="fa-IR" prefix="og: http://ogp.me/ns#">
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" dir="rtl" lang="fa-IR" prefix="og: http://ogp.me/ns#">
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html dir="rtl" lang="fa-IR">
<!--<![endif]-->
<head>
<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/favicon.ico" />
<meta charset="UTF-8" />
<title><?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?></title>
<!--[if lt IE 9]>
<script src="<?php bloginfo('template_url'); ?>/js/html5.js" type="text/javascript"></script>
<![endif]-->
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/skeleton.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/normalize.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/style.css" type="text/css" media="screen" />
<?php wp_head(); ?>
<script src="<?php bloginfo('template_directory'); ?>/js/jquery.idTabs.min.js"></script>
<script src="<?php bloginfo('template_directory'); ?>/js/jquery.bxslider.min.js"></script>
<script src="<?php bloginfo('template_directory'); ?>/js/jquery.ticker.js"></script>
</head>
<body>
<div id="headbar"></div>
<div id="headerwrap">
<div id="header" class="wrap">
<div id="logodiv"><a href="/"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" /></a></div>
<div id="headerlink">
<ul>
<?php NavMenu('header2'); ?>
</ul>
</div>
</div>
</div>
<div id="menuwrap">
<div id="menubar" class="wrap">
<ul id="mainmenu">
<?php NavMenu('header'); ?>
</ul>
<div id="searchbox">
<form method="get" id="searchform" action="/" >
<a href="<?php bloginfo( 'rss_url' ); ?>" id="feedicon"><img src="<?php bloginfo('template_url'); ?>/images/rssicon.png" alt="Rss <?php bloginfo('name'); ?>" /></a>
<input type="text" class="box" value="" name="s" id="s" placeholder="جستجو در خبرها" />
</form>
</div>
</div>
</div>
<div id="topbar" class="wrap clearfix">
<div id="headline" class="clearfix">
<span>سرخط خبر ها</span>
<?php
$i=0;
$recent = new WP_Query("showposts=8");
while($recent->have_posts()) : $recent->the_post();?>
<ul id="js-news" class="js-hidden">
<li class="news-item">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</li>
<?php endwhile; ?>
</ul>
<script>
jQuery(function () {
jQuery('#js-news').ticker({direction:'rtl'});
});
</script>
</div>
<div id="nowdate">امروز:<?php echo jdate ('l, j F , Y | H:i:s') ; ?></div>
</div>