<?php get_header(); ?>

<div id="mainmiddle">
<div id="mainmiddle-expand">
<div id="content">
<div id="content-shift">
<div class="wrapper-t1">
<div class="wrapper-t2">
<div class="wrapper-t3"></div>
</div>
</div>
<div class="wrapper-1">
<div class="wrapper-2">
<div class="wrapper-3">
<a name="top-toolbar-article"></a>
<div class="joomla ">
<div class="article">


<?php if(have_posts()) : ?>
   <?php while(have_posts()) : the_post(); ?>


<div class="headline">
<h1 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
</div>
<p class="articleinfo">
<span class="author">
  <?php the_time( $d ); ?> 
</span>|<span class="created">
<?php the_date('F j, Y,'); ?>
</span>
<br />
</p>

<div id="toolbar-article">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="95%">
<div class="menu-toolbar-article-horizontal">
<ul id="menulist_root-toolbar-article-horizontal" class="mainlevel-toolbar-article-horizontal" >
<li><a href="#" class="mainlevel-toolbar-article-horizontal"><span class="expanded">ضف الى</span></a>
<ul id="menulist_1-toolbar-article-horizontal">
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://www.twitter.com" onClick="window.open('http://twitter.com/home?status='+encodeURIComponent(document.title)+':+'+encodeURIComponent(location.href)+'','','resizable,location,menubar,toolbar,scrollbars,status');return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/twitter_trans.gif" alt="" name="twitter" border="0" id="twitter"/> Twitter</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://www.mister-wong.com" onClick="window.open('http://www.mister-wong.com/index.php?action=addurl&amp;bm_url='+encodeURIComponent(location.href)+'&amp;bm_notice=<? bloginfo( 'name' );  ?>&amp;bm_description='+encodeURIComponent(document.title)+'&amp;bm_tags=<? bloginfo( 'name' );  ?>');return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/wong_trans.gif" alt="" name="wong" border="0" id="wong"/> Mister Wong</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://digg.com" onClick="window.open('http://digg.com/submit?phase=2&amp;url='+encodeURIComponent(location.href)+'&amp;bodytext=<?php bloginfo( 'name' );  ?>&amp;tags=<? bloginfo( 'name' );  ?>&amp;title='+encodeURIComponent(document.title));return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/digg_trans.gif" alt="" name="Digg" border="0" id="Digg" /> Digg</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://del.icio.us" onClick="window.open('http://del.icio.us/post?v=2&amp;url='+encodeURIComponent(location.href)+'&amp;notes=<?php bloginfo( 'name' );  ?>&amp;tags=<? bloginfo( 'name' );  ?>&amp;title='+encodeURIComponent(document.title));return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/del_trans.gif" alt="" name="Delicious" border="0" id="Delicious" /> Del.icio.us</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://slashdot.org" onClick="window.open('http://slashdot.org/bookmark.pl?url='+encodeURIComponent(location.href)+'&amp;tags=<?php bloginfo( 'name' );  ?>&amp;title='+encodeURIComponent(document.title));return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/slashdot_trans.gif" alt="" name="Slashdot" border="0" id="Slashdot" /> Slashdot</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://www.furl.net" onClick="window.open('http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(location.href)+'&amp;keywords=<? bloginfo( 'name' );  ?>&amp;t='+encodeURIComponent(document.title));return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/furl_trans.gif" alt="" name="Furl" border="0" id="Furl" /> Furl</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://www.yahoo.com" onClick="window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&amp;d=<? bloginfo( 'name' );  ?>&amp;tag=<? bloginfo( 'name' );  ?>&amp;u='+encodeURIComponent(location.href));return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/yahoo_trans.gif" alt="" name="Yahoo" border="0" id="Yahoo" /> Yahoo</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://www.technorati.com" onClick="window.open('http://technorati.com/faves?add='+encodeURIComponent(location.href)+'&amp;tag=<? bloginfo( 'name' );  ?>');return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/technorati_trans.gif" alt="" name="Technorati" border="0" id="Technorati" /> Technorati</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://www.newsvine.com" onClick="window.open('http://www.newsvine.com/_wine/save?popoff=1&amp;u='+encodeURIComponent(location.href)+'&amp;tags=<? bloginfo( 'name' );  ?>&amp;blurb='+encodeURIComponent(document.title));return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/newsvine_trans.gif" alt="" name="Newsvine" border="0" id="Newsvine" /> Newsvine</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://www.google.com" onClick="window.open('http://www.google.com/bookmarks/mark?op=add&amp;hl=de&amp;bkmk='+encodeURIComponent(location.href)+'&amp;annotation=<? bloginfo( 'name' );  ?>&amp;labels=<? bloginfo( 'name' );  ?>&amp;title='+encodeURIComponent(document.title));return false;" ><img src="<?php bloginfo('template_url'); ?>/images/social/google_trans.gif" alt="" name="Google" border="0" id="Google" /> Googlize this</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://www.blinklist.com" onClick="window.open('http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=<? bloginfo( 'name' );  ?>&amp;Tag=<? bloginfo( 'name' );  ?>&amp;Url='+encodeURIComponent(location.href)+'&amp;Title='+encodeURIComponent(document.title));return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/blinklist_trans.gif" alt="" name="Blinklist" border="0" id="Blinklist" /> Blinklist</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://www.facebook.com" onClick="window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(location.href));return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/facebook_trans.gif" alt="" name="Facebook" border="0" id="Facebook" /> Facebook</a></li>
<li><a rel="nofollow" class="sublevel-toolbar-article-horizontal" href="https://www.wikio.com" onClick="window.open('http://www.wikio.com/vote?url='+encodeURIComponent(location.href));return false;"><img src="<?php bloginfo('template_url'); ?>/images/social/wikio_trans.gif" alt="" name="Wikio" border="0" id="Wikio" /> Wikio</a></li>
<li><a class="sublevel-toolbar-article-horizontal" href="https://www.alphaplug.com"><img src="<?php bloginfo('template_url'); ?>/images/ap.gif" alt="" name="AlphaPlug" border="0" id="AlphaPlug"/></a></li>
</ul>
</li>
<li><?php if(function_exists('pf_show_link')){echo pf_show_link();} ?></li>
</ul>
</div>
</td>
<td width="5%">
<table border="0" align="right" cellpadding="0" cellspacing="5">
<tr><td>
<span class="editlinktip hasTip" title="الزيارات::201"><img src="<?php bloginfo('template_url'); ?>/images/icon-chart.gif" alt="Hits" border="0" /> </span>  
</td></tr>
</table></td>

</tr>
</table>
</div>





<div id="toolbar-articlebody">
عدد المشاهدات:
<?php the_views(); ?>
<h1> 
<?php if (has_post_thumbnail( $post->ID ) ): ?>
<?php the_title(); ?></h1> <h2>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
   <img border="0" align="right" src="<?php echo $image[0]; ?>" alt=" <?php the_title(); ?>" style="width:0px; height:; paddin: 10px; margin: 15px; " />
<?php endif; ?>
    <?php the_content(); ?>
</h2>




</div>
<div class="backtotop"><a href="#top-toolbar-article" class="expandedtop">رجوع إلى الأعلى</a></div>

		<div><p align="center">
<script type="text/javascript">// <![CDATA[
// Popup window code
function newPopup(url) {
    popupWindow = window.open(
        url,'popUpWindow','height=731,width=1224,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
}
// ]]>
</script>
<a href="JavaScript:newPopup('<?php echo $sa_settings['ppannerlink']; ?>');" >
<img src="<?php echo $sa_settings['pbannerpic']; ?>" border="0" />
</a>

</p>


</div>









 <?php endwhile; ?>
 </div>
<!--/single-post--->
<?php else : ?>
<p>المعذرة, ما تبحث عته غير متوفر هنا</p>
<?php endif; ?>


<?php comments_template(); ?>







</div>
</div>
</div>
</div>
</div>
<div class="wrapper-b1">
<div class="wrapper-b2">
<div class="wrapper-b3"></div>
</div>
</div>
</div>
</div>
<!-- content end -->
</div>
</div>
</div>
<!-- mainmiddle end -->


<?php get_sidebar(); ?>
</div><!--/ intoPosts -->
<?php get_footer(); ?>