{if $type==home}
<div class="nav_top">»<a href="{motamizseo url="index.php?act=homepage"}">الرئيسية</a> » <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather"}">حالة الطقس</a></div>
<div class="artc_text">

<div style="float:left">
<a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=home"}" ><img src='{$DIMAGEPATH}/images/icons/temp.gif' border=0></a>
</div>

  <script type="text/javascript" src="static/ammap/swfobject.js"></script>
	<div id="flashcontent" align=right style="height:500px;width:630px;align:right;float: right;">
		<strong>You need to upgrade your Flash Player</strong>
	</div>
	<script type="text/javascript">	
		var so = new SWFObject("static/ammap/ammap.swf", "ammap", "630", "500", "8", "#ffffff");
		so.addVariable("path", "static/ammap/");
		so.addVariable("data_file", escape("static/ammap/ammap_data.xml"));
		so.addVariable("settings_file", escape("static/ammap/ammap_settings.xml"));		
		so.addVariable("preloader_color", "#999999");
		so.addVariable("preloader_color", "#999999");
		so.addParam("wmode", "transparent");
		so.write("flashcontent");
	</script>
	
	{elseif $type==case1}
<div class="nav_top">» <a href="{motamizseo url="index.php?act=homepage"}">الرئيسية</a> » <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather"}">حالة الطقس</a></div>
<div class="artc_text">

<div style="float:left">
<a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather"}" ><img src='{$DIMAGEPATH}/images/icons/map.gif' border=0></a>
</div>
	
	<table  align="right" style="direction: rtl" dir="rtl">
<tr>
<td width="5%">
<img src="static/icons/africa-globe.jpg">
</td>
<td valign="top" width="45%">
<div class="cat_entry"><a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=inside&id=1"}">افريقيا</a></div>
<div class="font_small"></div>
</td>
<td width="5%">
<img src="static/icons/asia-globe.jpg">
</td>
<td valign="top" width="45%">
<div class="cat_entry"><a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=inside&id=2"}">آسيا</a></div>
<div class="font_small"></div>
</td>
</tr>
<tr>
<td width="5%">
<img src="static/icons/europe-globe.jpg">
</td>
<td valign="top" width="45%">
<div class="cat_entry"><a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=inside&id=3"}">أوروبا</a></div>
<div class="font_small"></div>
</td>
<td width="5%">
<img src="static/icons/north-america-globe.jpg">
</td>
<td valign="top" width="45%">
<div class="cat_entry"><a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=inside&id=4"}">أمريكا الشمالية</a></div>
<div class="font_small"></div>
</td>
</tr>
<tr>
<td width="5%">
<img src="static/icons/south-america-globe.jpg">
</td>
<td valign="top" width="45%">
<div class="cat_entry"><a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=inside&id=5"}">أمريكا الجنوبية</a></div>
<div class="font_small"></div>
</td>
<td width="5%">
<img src="static/icons/australia-globe.jpg">
</td>
<td valign="top" width="45%">
<div class="cat_entry"><a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=inside&id=6"}">أستراليا</a></div>
<div class="font_small"></div>
</td>
</tr>
<tr>
<td width="5%">
<img src="static/icons/antarctica-globe.jpg">
</td>
<td valign="top" width="45%">
<div class="cat_entry"><a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=inside&id=7"}">انتاركتيكا</a></div>
<div class="font_small"></div>
</td>
</tr>


</tr>


</table>
{elseif $type==case2}
	<div class="nav_top"> » <a href="{motamizseo url="index.php?act=homepage"}">الرئيسية</a> » <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather"}">حالة الطقس</a> » <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=home"}">قارات العالم</a> » قارة {$zone_name}
</div>
<div class="artc_text">
<div style="float:left">
<a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=home"}" ><img src='{$DIMAGEPATH}/images/icons/temp.gif' border=0></a>
<a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather"}" ><img src='{$DIMAGEPATH}/images/icons/map.gif' border=0></a>
</div>

<table  align="right" style="direction: rtl" dir="rtl">
<tr>
{section name=id loop=$sections_sub}
<td width="5%">
<img src="static/flags/{$sections_sub[id].code}.gif">
</td>
<td valign="top" width="45%">
<div class="cat_entry"><a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=list_city&id=`$sections_sub[id].id`"}">{$sections_sub[id].name}</a></div>
<div class="font_small"></div>
</td>
{if $sections_sub[id].countx==new_line}
</tr><tr>
{/if}
{/section}
</tr>


</table>

{elseif $type==case3}
	<div class="nav_top">» <a href="{motamizseo url="index.php?act=homepage"}">الرئيسية</a> » <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather"}">حالة الطقس</a> » <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=home")">قارات العالم</a> » <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=inside&id=$zone_id"}">قارة {$zone_name}</a> » {$canname}
</div>
<div class="artc_text">
<div style="float:left">
<a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=home"}" ><img src='{$DIMAGEPATH}/images/icons/temp.gif' border=0></a>
<a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather"}" ><img src='{$DIMAGEPATH}/images/icons/map.gif' border=0></a>
</div>

<table  align="right" style="direction: rtl"  width="94%" dir="rtl">
<tr>
{section name=id loop=$sections_sub}
<td valign="top"  width="50%">
<div class="cat_entry"><a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=show_city&idx=`$sections_sub[id].id`"}">{$sections_sub[id].name}</a></div>
<div class="font_small"></div>
</td>
{if $sections_sub[id].countx==new_line}
</tr><tr>
{/if}
{/section}
</tr>


</table>

{elseif $type==case4}
	<div class="nav_top">» <a href="{motamizseo url="index.php?act=homepage"}">الرئيسية</a> » <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather"}">حالة الطقس</a> » <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=home"}">قارات العالم</a> » <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=inside&id=$zone_id"}">قارة {$zone_name}</a> » <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=list_city&id=$canid"}">{$canname}</a> » {$cityname}
</div>
<div class="artc_text">
<div style="float:left">
<a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=home"}" ><img src='{$DIMAGEPATH}/images/icons/temp.gif' border=0></a>
<a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather"}" ><img src='{$DIMAGEPATH}/images/icons/map.gif' border=0></a>
</div>


<table cellpadding="3" cellspacing="5" style="width: 100%">
	<tr valign="top">
		<td valign="top">
		<div id="CityRightPane" class="corner">
		<div id="cityWeather">
			
				<h2>حالة الطقس في <a class="ajax_city" href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=show_city&id=$cityid"}" title=" {$cityname}"> {$cityname}</a> , <a href="{motamizseo url="index.php?act=Motamiz_mod&model=weather&index=list_city&id=$canid"}" >{$canname}</a></h2>

							<div id="leftpane">
			<b>حالة الطقس :</b>{$weather->acttext}<br>
			<b>الرياح :</b>{$weather->speed} كلم/ساعة<br>
			
<b>اتجاه الرياح :</b>{$weather->directionname} <img alt="{$weather->directionname}" title="{$weather->directionname}" src="static/dir/{$weather->direction}.gif"><br>			<b>نسبة الرطوبة :</b>{$weather->humidity}%<br>
			<b>مدة الرؤية :</b>{$weather->visibility} كلم<br>
			

			<b>الضغط الجوي :</b>{$weather->pressure} ملي بار<br>
			<b>وقت شروق الشمس :</b>{$weather->sunrise}<br>
			<b>وقت غروب الشمس :</b>{$weather->sunset}<br>
		</div>

				<div id="rightpane">

					<img width="300" height="173" alt="{$weather->acttext}" src="static/weath/large/img{$weather->actcode}.png">
						
					
					<div  class="text">	 الاّن : <span class="large">{$weather->acttemp}&#186;</span><br>العظمى : 
						{$weather->fore_day1_thigh}&#186;<br>الصغرى : {$weather->fore_day1_tlow}&#186;</div>
				</div>
						
		
			</div>
		</div>

	                  							
		<div id="nextdays"><div class="topwrap">
              <h3>درجات الحرارة وتوقعات الطقس في الأيام القادمة</h3>          
              		 <table cellpadding="0" cellspacing="0">
						<tr>
							<td id="d0">{$weather->fore_day1_day}</td>
							<td id="d1" class="r-border">{$weather->fore_day2_day}</td>
<td id="d2" class="r-border">{$weather->fore_day3_day}</td>
							<td id="d3" class="r-border">{$weather->fore_day4_day}</td>

							<td id="d4" class="r-border">{$weather->fore_day5_day}</td>						</tr>
						<tr>
							<td><img alt="{$weather->fore_day5_text}"  src="static/weath/64/{$weather->fore_day1_imgcode}.gif"></td>
						    <td class="r-border"><img alt="{$weather->fore_day2_text}" src="static/weath/64/{$weather->fore_day2_imgcode}.gif"></td>
						    <td class="r-border"><img alt="{$weather->fore_day3_text}"  src="static/weath/64/{$weather->fore_day3_imgcode}.gif"></td>
						    <td class="r-border"><img alt="{$weather->fore_day4_text}"  src="static/weath/64/{$weather->fore_day4_imgcode}.gif"></td>
						    <td class="r-border"><img alt="{$weather->fore_day5_text}"  src="static/weath/64/{$weather->fore_day5_imgcode}.gif"></td>

						<tr>

							<td>{$weather->fore_day1_text}</td>
							<td class="r-border">{$weather->fore_day2_text}</td>
<td class="r-border">{$weather->fore_day3_text}</td>
							<td class="r-border">{$weather->fore_day4_text}</td>
							<td class="r-border">{$weather->fore_day5_text}</td>						</tr>
						<tr>


							<td>العظمى : {$weather->fore_day1_thigh}&#186;<br>الصغرى : {$weather->fore_day1_tlow}&#186;</td>
							<td class="r-border">العظمى : {$weather->fore_day2_thigh}&#186;<br>الصغرى : {$weather->fore_day2_tlow}&#186;</td>
							<td class="r-border">العظمى : {$weather->fore_day3_thigh}&#186;<br>الصغرى : {$weather->fore_day3_tlow}&#186;</td>
							<td class="r-border">العظمى : {$weather->fore_day4_thigh}&#186;<br>الصغرى : {$weather->fore_day4_tlow}&#186;</td>
							<td class="r-border">العظمى : {$weather->fore_day5_thigh}&#186;<br>الصغرى : {$weather->fore_day5_tlow}&#186;</td>
						</tr>

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

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

{/if}
	
	
		</div>

