<!-- The category list outline start-->
<div class="nav_top">
<div style="PADDING-LEFT: 10px; FLOAT: left">« عدد القراءات:{$newsdata.visited}  » </div>
» <a href="{motamizseo url="index.php?act=homepage"}">الرئيسية</a>
{section name=id loop=$catxsec_nav_id step=-1}
 » <a  href="{motamizseo url="index.php?act=Section&id=$catxsec_nav_id[id]&sectionname=$catxsec_nav_name[id]"}">{$catxsec_nav_name[id]}</a>
{/section}
</div>
<!-- The category list outline end-->
{literal}
<script>
	function colexp(ob,icon){
	var e=document.getElementById(ob);
	var icon=document.getElementById(icon);
		if (e.style.display=='none'){
		    e.style.display='';
		    icon.src='{$DIMAGEPATH}/images/icons/minus.gif';

		}
		else{
		    e.style.display='none';
		    icon.src='{$DIMAGEPATH}/images/icons/plus.gif';


		}

	}
</script>
{/literal}
{if $newsdata.lockunpup==1}
<br>
<table align=center border="0" width=200px  class="form_table">
	<tr>
		<td class="table_field_cell">
		<p align="center"><b><font face="Tahoma" size="2" color="#800000">عفوا المحتوى لم يتاح للنشر بعد لان المقاله او الخبر فى انتظار موافقه المشرف العام</font></b></td>
	</tr>
	<tr>
		<td class="table_field_cat">
		
		</td>
	</tr>
	</table>
{else}
{if $newsdata.lockpup==1}
<br>
<table align=center border="0" width=200px  class="form_table">
	<tr>
		<td class="table_field_cell">
		<p align="center"><b><font face="Tahoma" size="2" color="#800000">عفوا المحتوى لم يتاح للنشر بعد</font></b></td>
	</tr>
	<tr>
		<td class="table_field_cat">
		
		</td>
	</tr>
	</table>
{else}

{if $new_password_do==1}

<br>
<table align=center border="0" width=200px  class="form_table">
	<tr>
		<td class="table_field_cell">
		<p align="center"><font face="Tahoma" size="2">عفوا المحتوى مغلق بكلمة 
		مرور<br>
		ادخل كلمة المرور<br>
<form method="POST" action="" dir="rtl">
			<div align="center">
				<input type="password" name="password" size="20">
			<input type="submit" value="ادخل" name="B1" style="font-family: Tahoma; font-size: 10pt"></div>
		</form></font>
		{if $error_password_do==1}
		<p align="center"><font face="Tahoma" size="1" color="#FF0000">عفوا كلمة 
		المرور غير صحيحة</font>
		{/if}
		
		</td>
	</tr>
	<tr>
		<td class="table_field_cat">
		
		</td>
	</tr>
	</table>
{else}


<!-- news  header start -->


<div class="artc_text">
<!-- buttons start -->
	<div style="float:left">
	{if $newsdata.section_print==1}
	
<a href="javascript:OpenWin('{motamizseo url="index.php?act=print&id=`$newsdata.id`&type=print"}', 'prnArt', '750', '550', 'yes');">	<IMG src="{$DIMAGEPATH}/images/icons/print.gif" border=0></a>
{/if} 
 <a href="javascript:OpenWin('{motamizseo url="index.php?act=mail&id=`$newsdata.id`&sub=`$newsdata.subid`&type=news"}', 'prnArt', '400', '260', 'no');">	<IMG src="{$DIMAGEPATH}/images/icons/email.gif" border=0></a>
{if $newsdata.section_comment==1}
{if $newsdata.new_allow_comment==1}
 <a href="javascript:OpenWin('{motamizseo url="index.php?act=comment&id=`$newsdata.id`&sub=`$newsdata.subid`&type=news"}', 'prnArt', '400', '490', 'no');">	<IMG src="{$DIMAGEPATH}/images/icons/comment.gif" border=0></a>
{/if} 
{/if} 
{if $newsattach.gal_id}
<a href="{motamizseo url="index.php?act=Gallery&id=`$newsattach.gal_id`"}" target="_blank"><img src='{$DIMAGEPATH}/images/icons/gal.gif' border=0></a>
{/if}
	</div>
<!-- buttons end -->
<div style="clear:both"></div>

<!-- news  title start -->

<div class="artc_title">
<div class=sub_title1>{$newsdata.title2}</div>
{$newsdata.title}</div>
<!-- news  title end -->
	<div>
	<!-- news  header start -->

	
	
		
		<!-- news  info start -->
			<div>
 {if $newsdata.writer_photo}	<a href='lib/uploads/images/writer/l/{$newsdata.writer_photo}' target=_blank><img border=0 src='lib/uploads/images/writer/full/{$newsdata.writer_photo}'></a>{/if} 
 {if !$newsdata.writer_photo and $newsdata.gate_photo}	<a href='{$newsdata.gate_photo}' target=_blank><img border=0 src='{$newsdata.gate_photo}'></a>{/if} 
<div class="writer_info">
{if $newsdata.writer_id}<a href='{motamizseo url="index.php?act=Motamiz_mod&model=writers&index=inside&t=0&id=`$newsdata.writer_id`"}'>{$newsdata.writer_name} </a>{if $newsdata.writer_pref} <a href="{motamizseo url="index.php?act=artc&id=`$nws_idnews`&show=news&newsname=`$nws_modre`"}#writer_desc">*</a>{/if} -{/if}  {if $newsdata.gate_id}<a href='{motamizseo url="index.php?act=Motamiz_mod&model=writers&index=inside&t=1&id=`$newsdata.gate_id`"}'>{$newsdata.gate_name} </a> -{/if} {if $newsdata.new_writer_text}« {$newsdata.new_writer_text} »{/if} {$newsdata.date}</div>
	</div>
		<!-- news  info end -->


<div style="clear:both;"></div>



 {if $newsdata.photo}
<div class="artc_image" style="width:{$newsdata.width}px;"  style="FLOAT: none"><img alt=""  src="lib/uploads/images/news/l/{$newsdata.photo}" border=0>
{if $newsdata.new_pic_text}<div class="photo_desc" style="width:{$newsdata.width}px;">{$newsdata.new_pic_text}</div>{/if} 
</div>
{/if} 





{* تضمين صفحة التصويت ان وجد *}

 {if $newsattach.poll_show==1}
 {if $newsattach.poll_id}
		<!-- poll include start -->
<div class=artc_poll>
<div class=block_container>
<IFRAME id=myframe style="DISPLAY: none; OVERFLOW: visible; WIDTH: 100%" marginWidth=0 marginHeight=0 src="{motamizseo url="index.php?act=Polls_block&PrADo=Show&id=`$newsattach.poll_id`"}" frameBorder=0 
scrolling=no></IFRAME></div></div>
		<!-- poll include end -->

{/if} 
{/if} 

		<!-- news  itself start -->
{$newsdata.news} 

		<!-- news  itself end -->


<div style="text-align:left;padding:5px;"><a href="{motamizseo url="index.php?act=artc&id=`$nws_idnews`&show=news&newsname=`$nws_modre`"}#"><img src="{$DIMAGEPATH}/images/icons/top_page.gif" border=0></a></div>

<div style="text-align:left;padding-bottom:10px;">        </div>




{if $newsdata.note}

		<!-- nots start -->
   <div class="footnotes">{$newsdata.note}</div>
<div style="text-align:left;padding-bottom:2px;">        </div>

   		<!-- nots end -->
{/if}

   		


{if $wr_pref}
		<!-- writer_desc start -->
<a name="writer_desc"></a>
<div class="writer_info" style="border-top:solid 1px #F1F1F1;margin-top:10px;">{$wr_pref}</div>
<div style="text-align:left;padding-bottom:2px;">        </div>

		<!-- writer_desc end -->
		{/if}


	{if $newsdata.new_metatag}
	<!-- tagz start -->

<div class="attach_head" onclick="colexp('news_attach_tagz','tagz_attch_icon')" > <img src="{$DIMAGEPATH}/images/icons/plus.gif" id="tagz_attch_icon"> كلمات مفتاحية</div>
<div class="attachments" id="news_attach_tagz" style="display:none;">
{section  name=id loop=$newsdata.new_metatag}
<div>• <a href='index.php?act=tag&tagword={$newsdata.new_metatag[id]}' title="اضغط هنا لعرض الاخبار المتعلقة بالكلمة المفتاحية {$customtags[id]}" target=_blank>{$newsdata.new_metatag[id]}</a></div>
{/section}

</div>
<div style="text-align:left;padding-bottom:2px;">        </div>

		<!-- tags end -->
{/if} 

{if $newsattach.galf_data}
		<!-- audiof start -->

<div class="attach_head" onclick="colexp('galf_attach_files','galf_attch_icon')" > <img src="{$DIMAGEPATH}/images/icons/plus.gif" id="galf_attch_icon"> معارض صور مرفقة</div>
<div class="attachments" id="galf_attach_files" style="display:none;">
{foreach from=$newsattach.galf_data item=galf}
<div>• <a href='?act=books&action=view&id={$galf.id}' target=_blank>{$galf.name}</a> - صورة بالداخل: ({$galf.num})</div>
{/foreach}
</div>
<div style="text-align:left;padding-bottom:2px;">        </div>

		<!-- audiof end -->
{/if}


{if $newsattach.audio_data}
		<!-- audiof start -->

<div class="attach_head" onclick="colexp('audiof_attach_files','audiof_attch_icon')" > <img src="{$DIMAGEPATH}/images/icons/plus.gif" id="audiof_attch_icon"> اقسام صوتية مرفقة</div>
<div class="attachments" id="audiof_attach_files" style="display:none;">
{foreach from=$newsattach.audio_data item=audiof}
<div>• <a href='?act=books&action=view&id={$audiof.id}' target=_blank>{$audiof.name}</a> - صوتيات بالداخل: ({$audiof.num})</div>
{/foreach}
</div>
<div style="text-align:left;padding-bottom:2px;">        </div>

		<!-- audiof end -->
{/if}

{if $newsattach.video_data}
		<!-- audiof start -->

<div class="attach_head" onclick="colexp('videof_attach_files','videof_attch_icon')" > <img src="{$DIMAGEPATH}/images/icons/plus.gif" id="videof_attch_icon"> اقسام مرئية مرفة</div>
<div class="attachments" id="videof_attach_files" style="display:none;">
{foreach from=$newsattach.video_data item=audiof}
<div>• <a href='?act=books&action=view&id={$audiof.id}' target=_blank>{$audiof.name}</a> - مرئيات بالداخل: ({$audiof.num})</div>
{/foreach}
</div>
<div style="text-align:left;padding-bottom:2px;">        </div>

		<!-- audiof end -->
{/if}
		
		
		

        
        


{if $newsattach.news_data}
		<!-- related news start -->

<div class=related_artc_box>
<div class=related_artc_title>مقالات ذات صلة:</div>
{foreach from=$newsattach.news_data item=newsf}
<div class=related_artc><a href="?act=artc&id={$newsf.id}" target="_blank">{$newsf.name}</a></div>
{/foreach}
</div>
		<!-- related news end -->
		
		{/if}





		<!-- comment start -->

{* التعليقات *}
{if $newsdata.new_allow_comment==1}
{if $newsdata.section_comment==1}
{if $catnum}
<div class="comments_head" style="clear:both">
<div class="font_small" style="float:left"> أذا كنت تريد صورة بجوار تعليقك, أذهب وسجل في <a href="http://www.gravatar.com">gravatar</a>! </div>
» التعليقات «{$catnum}»</div>
<div class="comment_full">

{foreach from=$news_comments item=comment}
<div class=commenter>{$comment.name}</div>
<div class=commenter_loc style="height:62px"><img src="{$comment.grav_url}" style="float:left" title="صوره المعلق" >[{$comment.country} - {$comment.city}]{$comment.date}
<br> <a href="javascript:OpenWin('{motamizseo url="index.php?act=comment&id=`$newsdata.id`&sub=`$newsdata.subid`&type=news&insidecomment=`$comment.id`"}', 'prnArt', '400', '490', 'no');">رد على التعليق</a>

</div>
<div class=comment>{$comment.comment}
{if $comment.admin_comment}
<center>
<div class="admin_comment">تعليق الإدارة:<BR>{$comment.admin_comment}</div>
</center>
{/if}

<div class="commentsub_full">
{if $comment.subcomments}<font color="#FF0000">تعليقات فرعيه</font>{/if}
{foreach from=`$comment.subcomments` item=commentx}
<div class=commentersub>{$commentx.name}</div>
<div class=commentersub_loc style="height:62px"><img src="{$commentx.grav_url}" style="float:left" title="صوره المعلق" >[{$commentx.country} - {$commentx.city}]{$commentx.date}

</div>
<div class=commentsub>{$commentx.comment}
{if $commentx.admin_comment}
<center>
<div class="admin_comment">تعليق الإدارة:<BR>{$commentx.admin_comment}</div>
</center>
{/if}

</div>

{/foreach}
</div>


</div>



{/foreach}
</div>
{/if} 
{/if} 
{/if} 
		<!-- comment end -->



{if $has_gallery==1}

		<!-- news  gallery start -->
<br>



<div class="gallery_file">
<div style="float:left;"><a href="index.php?act=Gallery&id={$newsattach.gal_id}" target=_blank>انتقل إلى معرض الصور »</a></div>
<img src="{$DIMAGEPATH}/images/photo_file.gif">
</div>




<table border="0" cellpadding="6" cellspacing="6" >

	<tr>
{foreach from=$newsattach.gal_data item=picz}
	
	<td   valign=bottom class=font_small align=center>
	<a class="image_gal" href="index.php?act=GalleryShow&action=view&pid={$picz.pid}&id={$picz.subid}" target=_blank ><img border="0" src="lib/uploads/images/gallery/insides/{$picz.pic_name}"></a>
      	{$picz.name}
	</td>
	
{if $picz.count==new_line}
</tr><tr>
{/if}
				{/foreach}
				</tr>


	

</table>
		<!-- news  gallery end -->
		{/if}

</div>
</div>
        
		{/if}
		{/if}
		{/if}
        
        
        
