<!-- The category list outline start-->
{if $t==1}
<div class="nav_top">
<div style="PADDING-LEFT: 10px; FLOAT: left">« <a href='{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=0"}'>الكتاب</a> »</div>
» <a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=1"}">جهات إعلامية</a> » مجموع الجهات: «{$catnum}»
</div>
{else}
<div class="nav_top">
<div style="PADDING-LEFT: 10px; FLOAT: left">« <a href='{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=1"}'>جهات إعلامية</a> »</div>
» <a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=0"}">الكتاب</a> » مجموع الكتّاب: «{$catnum}»
</div>
{/if}
<!-- The category list outline end-->


<div class="writer_search_line">
	<DIV>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=a"}" {if $alpha==a}class="letter_classh"{else}class="letter_class"{/if}>أ</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=b"}" {if $alpha==b}class="letter_classh"{else}class="letter_class"{/if}>ب</a>

		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=c"}" {if $alpha==c}class="letter_classh"{else}class="letter_class"{/if}>ت</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=d"}" {if $alpha==d}class="letter_classh"{else}class="letter_class"{/if}>ث</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=e"}" {if $alpha==e}class="letter_classh"{else}class="letter_class"{/if}>ج</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=f"}" {if $alpha==f}class="letter_classh"{else}class="letter_class"{/if}>ح</a>

		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=g"}" {if $alpha==g}class="letter_classh"{else}class="letter_class"{/if}>خ</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=h"}" {if $alpha==h}class="letter_classh"{else}class="letter_class"{/if}>د</a>

		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=i"}" {if $alpha==i}class="letter_classh"{else}class="letter_class"{/if}>ذ</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=j"}" {if $alpha==j}class="letter_classh"{else}class="letter_class"{/if}>ر</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=k"}" {if $alpha==k}class="letter_classh"{else}class="letter_class"{/if}>ز</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=l"}" {if $alpha==l}class="letter_classh"{else}class="letter_class"{/if}>س</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=m"}" {if $alpha==m}class="letter_classh"{else}class="letter_class"{/if}>ش</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=n"}" {if $alpha==n}class="letter_classh"{else}class="letter_class"{/if}>ص</a>

	</DIV>
	<DIV style="clear:both">
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=o"}" {if $alpha==o}class="letter_classh"{else}class="letter_class"{/if}>ض</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=p"}" {if $alpha==p}class="letter_classh"{else}class="letter_class"{/if}>ط</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=q"}" {if $alpha==q}class="letter_classh"{else}class="letter_class"{/if}>ظ</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=r"}" {if $alpha==r}class="letter_classh"{else}class="letter_class"{/if}>ع</a>

		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=s"}" {if $alpha==s}class="letter_classh"{else}class="letter_class"{/if}>غ</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=t"}" {if $alpha==t}class="letter_classh"{else}class="letter_class"{/if}>ف</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=u"}" {if $alpha==u}class="letter_classh"{else}class="letter_class"{/if}>ق</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=v"}" {if $alpha==v}class="letter_classh"{else}class="letter_class"{/if}>ك</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=w"}" {if $alpha==w}class="letter_classh"{else}class="letter_class"{/if}>ل</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=x"}" {if $alpha==x}class="letter_classh"{else}class="letter_class"{/if}>م</a>

		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=y"}" {if $alpha==y}class="letter_classh"{else}class="letter_class"{/if}>ن</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=z"}" {if $alpha==z}class="letter_classh"{else}class="letter_class"{/if}>هـ</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=1"}" {if $alpha==1}class="letter_classh"{else}class="letter_class"{/if}>و</a>
		<a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&alpha=2"}" {if $alpha==2}class="letter_classh"{else}class="letter_class"{/if}>ي</a>
	</DIV>
	</DIV>


{if $type==home}

		<div class="second-block">
			 <span class="second-block-top"></span>
			 <!-- news loop start-->
			 <div class="writer_row">
			 {foreach from=$news_writers item=writers}
<div>
	{if $writers.photo}<div class="writer_lst_image"><img src='lib/uploads/images/writer/full/{$writers.photo}'></div>{else}
	<div class="writer_lst_image"><img src='{$DIMAGEPATH}/images/icons/nopic.gif'></div>
	{/if}
	<div class="writer_lst_info">
		<div class="writer_lst_name"><a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&index=inside&t=$t&id=`$writers.id`"}">{$writers.writer_name}</a></div>
		<div class="font_small" >{$writers.writer_pref}</div>
		<div class="writer_lst_desc" >عدد المقالات: {$writers.total}</div>
		<div class="writer_lst_desc" ></div>
	</div>
</div>
<div class="writer_lst_sep"></div>
				{/foreach}
				</div>
				
			

				
			<!-- news loop end-->


				<span class="second-block-bottom"></span>
			</div>
			
<!-- left sections start-->

			
			
			<div class="total"> «انضم الينا» </div>
			<div class="small-block"> 
			<!-- top sections news start-->

		
 			<!-- top sections news end-->
 
			</div>
			
			<!-- left sections end-->





{if $pages>1}

<div style="CLEaR: both"></div>
<div style="CLEaR: both"></div>
<!-- Content End -->
<div class=page_nav_loc>
<div dir="rtl">
<span class=pagelink><a title="انتقل إلى الصفحة" href="javascript:multi_page_jump('index.php?act=Motamiz_mod&model=writers&t={$t}&method=page&amp;page=',1,{$pages},'انتقل إلى الصفحة');">	عدد الصفحات: [{$pages}]</a></span>

{if $page>1}
<span class=pagelinklast><a title=انتقل إلى الصفحة الأولى href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&method=page&page=1"}">«</a></span>
<span class=pagelink><a title=انتقل إلى الصفحة السابقة href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&method=page&page=$prev"}" >&lt;</a></span>
{/if} 
{section name=id loop=$totalpages }
{if $page==$totalpages[id]}
<span  class=pagecurrent>{$totalpages[id]}</span>
{else}
<span class=pagelink><a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&method=page&page=$totalpages[id]"}">{$totalpages[id]}</a></span>
{/if}

{/section}
{if $page<$pages}
<span class=pagelink><a title='انتقل إلى الصفحة التالية'    href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&method=page&page=$next"}">&gt;</a></span>
<span class=pagelinklast><a title='انتقل إلى الصفحة الأخيرة' href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&t=$t&method=page&page=$pages"}">»</a></span>
{/if}
</div>
</div>
{/if}
{else}


{if !$per_profile}
<div class="writer_show_box">
		<div class="writer_lst_name">عفوا ملف الكاتب او الجهه الاعلاميه غير متاح للزوار </div>
		</div>


{else}

			 {foreach from=$news_writers item=writers}

<div class="writer_show_box">



	{if $writers.photo}<div class="writer_photo"><img src='lib/uploads/images/writer/l/{$writers.photo}'></div>{/if}

		<div class="writer_lst_name">{$writers.writer_name}</div>
		<div class="writer_entry_info">{$writers.writer_pref}</div>
	{if $writers.per_email and $writers.writer_email}<div class="writer_entry_info">البريد الإلكترونى:<a href="mailto:{$writers.writer_email}">{$writers.writer_email}</a></div>{/if}
	{if $writers.per_website and $writers.writer_website}<div class="writer_entry_info">الموقع الشخصى:<a href="{$writers.writer_website}">{$writers.writer_website}</a></div>{/if}
<div class="writer_entry_info">عدد المقالات: {$writers.total}</div>
	{if $writers.per_cv and $writers.cvarea}<div class="writer_entry_info">السيره الذاتيه:</div>{$writers.cvarea}{/if}


	<div style="clear:both;height:2px;line-height:2px"></div>
</div>
<div style="CLEaR: both"></div>
<div style="CLEaR: both"></div>
{/foreach}

{if !$per_news}
<div class="writer_show_box">
		<div class="writer_lst_name">عفوا اخبار الكاتب او الجهه الاعلاميه غير متاح للزوار </div>
		</div>


{else}


			<div class="second-block">
			 <span class="second-block-top"></span>
			 <!-- news loop start-->
			 {section name=id loop=$news_section}
				<div class="second-block-content"> 
				<span class="second-block-title-sup"> 
				<img src="{$DIMAGEPATH}/images/arrow.gif" alt="main" /><a href="{motamizseo url="index.php?act=artc&id=`$news_section[id].id`&show=news&newsname=`$news_section[id].modre`"}">{$news_section[id].title}</a> </span> 
				<span class="second-block-subtitle"> 
				<img src="{$DIMAGEPATH}/images/small_pap.gif" alt="sub" />{if $news_section[id].writer_name}{$news_section[id].writer_name} {/if} {if $news_section[id].date}-{$news_section[id].date}{/if} - عدد القراءات: « {$news_section[id].visited} »</span>
{if $tview==2}
					
					{if $news_section[id].photo}<div class="second-pic"><img alt=""  src="lib/uploads/images/news/ms/{$news_section[id].photo}" border=0></div>{/if} 
					<div class="second-text">{$news_section[id].pref}</div>
{/if}
				</div>

				{/section}
				
				
			

				
			<!-- news loop end-->


				<span class="second-block-bottom"></span>
			</div>
			
<!-- left sections start-->

			
			
			<div class="total"> «انضم الينا» </div>
			<div class="small-block"> 
			<!-- top sections news start-->

			<span class="small-block-title">المقالات الأكثر قراءة</span>
			<span class="small-block-content">
	{section name=id loop=$global_topnews_this}
<div class=top_elem title="الكاتب :{$global_topnews_this[id].writer_name} - عدد القراءات: ({$global_topnews_this[id].visited})">
<a href="{motamizseo url="index.php?act=artc&id=`$global_topnews_this[id].id`&show=news&newsname=`$global_topnews_this[id].modre`"}">{$global_topnews_this[id].title}</a></div>
{/section}
 </span>
 			<!-- top sections news end-->
 
			</div>
			
			<!-- left sections end-->





{if $pages>1}

<div style="CLEaR: both"></div>
<div style="CLEaR: both"></div>
<!-- Content End -->
<div class=page_nav_loc>
<div dir="rtl">
<span class=pagelink><a title="انتقل إلى الصفحة" href="javascript:multi_page_jump('index.php?act=Motamiz_mod&model=writers&id={$id}&t={$t}&index=inside&amp;page=',1,{$pages},'انتقل إلى الصفحة');">	عدد الصفحات: [{$pages}]</a></span>

{if $page>1}
<span class=pagelinklast><a title=انتقل إلى الصفحة الأولى href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&id=$id&t=$t&index=inside&page=1"}">«</a></span>
<span class=pagelink><a title=انتقل إلى الصفحة السابقة href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&id=$id&t=$t&index=inside&page=$prev"}" >&lt;</a></span>
{/if} 
{section name=id loop=$totalpages }
{if $page==$totalpages[id]}
<span  class=pagecurrent>{$totalpages[id]}</span>
{else}
<span class=pagelink><a href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&id=$id&t=$t&index=inside&page=$totalpages[id]"}">{$totalpages[id]}</a></span>
{/if}

{/section}
{if $page<$pages}
<span class=pagelink><a title='انتقل إلى الصفحة التالية'    href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&id=$id&t=$t&index=inside&page=$next"}">&gt;</a></span>
<span class=pagelinklast><a title='انتقل إلى الصفحة الأخيرة' href="{motamizseo url="index.php?act=Motamiz_mod&model=writers&id=$id&t=$t&index=inside&page=$pages"}">»</a></span>
{/if}
</div>
</div>
{/if}
{/if}
{/if}

{/if}