<?php get_header(); ?>

<div id="mainmiddle">
<div id="mainmiddle-expand">
<div id="content">
<style>
#gallery-1 .gallery-item {
    margin-right: -15px;
    margin-left: -15px;
}</style>
<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>




<div id="toolbar-articlebody">
<h4>
<?php if (has_post_thumbnail( $post->ID ) ): ?>
<?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(); ?>" />
<?php endif; ?>
     <?php the_content(); ?>

</h4>

</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>



</div>









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










</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(); ?>