<div id="welcome" style="min-height:1000px">
	<?if(jap()):?>
			<?if(substr_count($banner,'.swf')!=0):?>
				<object width="648" height="150">
					<param name="movie" value="<?=$banner?>" />
					<embed src="<?=$banner?>" width="648" height="150"></embed>
				</object>
			<?else:?>
				<a href="<?=$banner_link?>"><img alt="" src="<?=$banner?>" /></a>
			<?endif;?>
	<?endif;?>
	
	<?if(false):?>
    
    <div id="constr2009">
        <a href="/buy">
            <img src="/public/img/banner/ajandek_modul_flyer_arch.jpg" alt="Ajándék Modul" />
        </a>
    </div>
	
	
	
	 <?/*
    	*************************************************************************-
    
    	BANNER CSERÉNÉL a " <param name="wmode" value="opaque"> " ne maradjon ki, mert akkor a menüt eltakarja a banner
    	
    	*************************************************************************-
    */?>
	
	<?elseif(eng()):?>
  
  
	<div>
		<img src="/public/img/csilla_workshop.jpg"></img>
		
	   
		
	</div>
		<div id="flash">
		<?
			// lejárati idős banner ANGOL
			if ( strtotime("now") <= strtotime("5 November 2011") ) {
		?>
				<object width="630" height="200">
					<param name="movie" value="/public/img/banner/bannerReel.swf" />
					<param name="wmode" value="opaque">
					<embed src="/public/img/banner/bannerReel.swf" width="640" height="190" wmode="opaque"></embed>
				</object>
		<?
			} else { // lejárati idő után a defaultot mutatjuk:
		?>
				<object width="620" height="190">
					<param name="movie" value="/public/img/banner/workshop_banner_2010_v1_nodates_eng.swf" />
					<param name="wmode" value="opaque">
					<embed src="/public/img/banner/workshop_banner_2010_v1_nodates_eng.swf" width="640" height="200" wmode="opaque"></embed>
				</object>
		<?
			}
		?>	
		</div>
	
   	    <div id="content-main">
		<div id="content-main">
	            <?php $hirek_lista = $this->mnews->get_latest(13, $this->muser->user['lang'], true, 'fresh');?>
	            <?$ideiglenes=array();?>
	            <?if($hirek_lista):?>
	                <?foreach($hirek_lista as $hir):?>
		                <?$datum=$hir->news_y. '-' . $hir->news_m . '-' . $hir->news_d;?>
		                <?$hir->datum= date('D, d M Y H:i:s +0200', strtotime($datum));?>
		                <?array_push($ideiglenes,$hir);?>
	                   <?usort($ideiglenes,"hasonlito")?>
		            <?endforeach;?>
		        <h2 style="width:90%" class="home_box_title">&nbsp;&nbsp;<?=lang('latest_news')?></h2>
		        
				<ul style="width:80%;">
			        <?foreach($ideiglenes as $hir):?>
				    <li><?=anchor('news/show/'.$hir->news_id,$hir->news_title)?></li>
			        <?endforeach;?>
		        </ul>
				
	            <?endif;?>
				
	            <?php $arch_hirek_lista = $this->mnews->get_latest(20, $this->muser->user['lang'], true, 'arch');?>
	            <?$ideiglenes=array();?>
	            <?if($arch_hirek_lista):?>
	            <?foreach($arch_hirek_lista as $hir):?>
		            <?$datum=$hir->news_y. '-' . $hir->news_m . '-' . $hir->news_d;?>
		            <?$hir->datum= date('D, d M Y H:i:s +0200', strtotime($datum));?>
		            <?array_push($ideiglenes,$hir);?>
	                <?usort($ideiglenes,"hasonlito")?>
		        <?endforeach;?>
		        <div id="more_news"><?='(', lang('archive'), ')'?></div>
		        <div id="news_arch" style="display:none">
				
		        <ul style="width:80%;">
			       <?foreach($ideiglenes as $hir):?>
				       <li><?=anchor('news/show/'.$hir->news_id,$hir->news_title)?></li>
			       <?endforeach;?>
		        </ul>
				
				<div id="less_news" style="width:80%"><?='(', lang('hide'), ')'?></div>
		      
		        </div>
	            <?endif;?>
		
	    </div>
	   </div>
		<div>
		    <div>
			<h2 style="width:90%">&nbsp;&nbsp;Downloads</h2>
			<ul><li><a href="http://www.archlinexp.com/free">FREE Edition</a></li>
			
			<li><a href="http://www.archlinexp.com/photo/download">Photo-Edition</a></li>
			
			<li><a href="http://www.archlinexp.com/interior/download">Interior Edition</a></li>
			
			<li><a href="http://www.archlinexp.com/downloads">Architect Edition</a></li>
			
			<li><a href="http://www.archlinexp.com/downloads/student">Student version</a></li>
			
			<li><a href="http://www.archlinexp.com/downloads/itc">ITC version</a></li>
			
			<li><a href="http://www.archlinexp.com/downloads/updates">Updates</a></li>
			</ul>
			</div>
	    </div>
	
		<div>
		<div>
		<h2 style="width:90%">&nbsp;&nbsp;Training & Support </h2>
		<ul style="width:80%"><li><a href="http://www.archlinexp.com/page/show/436">New Features</a></li>
		    <li><a href="http://www.archlinexp.com/page/show/455">Training Video Library</a></li>
			<li><a href="http://www.archlinexp.com/interior/videos">Interior Presentation</a></li>
			<li><a href="http://www.archlinexp.com/multimedia/videos/support">Classroom Training</a></li>
			<li><a href="http://www.archlinexp.com/multimedia/videos">Training Video Guides</a></li>
			<li><a href="http://www.archlinexp.com/interior/system">System requirements</a></li>
			<li><a href="http://www.archlinexp.com/support/faq/">FAQ</a></li>
			<li><a href="http://www.archlinexp.com/academic">Academic</a></li>
		</ul>
		</div>
		</div>	
   	
    <?elseif(hun()):?>
      <div style="margin:0;padding:0;width:30%">
		<img src="/public/img/newcourse/csilla_workshop_kozepes.jpg" width="250px" height="140px" style="border:2px black solid;margin:0;padding:0"></img>
		<br/>
		<img src="/public/img/newcourse/opportunity.PNG" style="border:2px balck solid;margin:0;padding:0" width="250" height="30" alt="Opportunity for you to achieve your goals... kép helye"></img>
	  </div>
		<div id="hunflash" style="margin:0;padding:0;width:70%">
			<table style="margin:0;padding:0">
				<tr style="margin:0;padding:0">
					<td style="margin:0;padding:0">
						<img src="/public/img/newcourse/interiordesign_kisebb.jpg" width="350" style="margin:0;padding:0" alt="Interior Design WORKSHOPS kép helye"></img>
					</td>
					<td style="margin:0;padding:0">
						<img src="/public/img/newcourse/workshop.JPG" style="margin:0;padding:0;top:0" width="290" height="40" alt="Workshop kép helye"></img>
					</td>
			</table>
			<div style="margin-left:0;padding:0;width:80%">
			<table style="width:80%">
			<tr style="margin:0;padding:0;width:80%">
			<td style="background-color:#CCCCCC">
			<div style="background-color:#CCCCCC;font-size:12px"><i><?echo "CadLine Network "?></i><?echo"is offering user-friendly, practical CAD workshops using ARCHline.XP Interior software.
The series of workshop take a very practical approach to CAD learning on both Preliminary and Intermediate levels. The content of the workshops include step-by-step exercises of typical interior design projects, taking them from 2D survey to 3D modeling."?></div></td>
<td style="background-color:#CCCCCC;width:80%"><div align="right" style="background-color:#CCCCCC;font-size:12px;float:left;text-align:justify"><?echo"The aim of the workshops is to provide sufficient knowledge and understanding of the CAD software in order for the user to work faster and more efficiently. This will include quick and easy ways of making adjustments to plans and elevations.
ARCHline.XP Interior software is compatible with other software packages such as AutoCAD, so drawings produced in these programs can be imported and used."?></div></td></tr></table> 
			</div>
		</div>
		<div id="content-main" style="margin:0;padding:0">
		<img src="" alt="Interior Design workshops kép helye"></img>
		<div id="content-main" style="margin:0">
	            <ul style="width:80%;margin:3;padding:0">
				    <li><img src="" alt="Reception room gomb helye"></img></li>
				    <li><img src="" alt="Kitchen design gomb helye"></img></li>
					<li><img src="" alt="Bathroom design gomb helye"></li>
					<li><img src="" alt="Outdoor awning,canopy,and indoor curtain design"></img></li>
					<li><img src="" alt="Virtual staging gomb helye"></img></li>
					<li><img src="" alt="Commercial united gomb helye"></img></li>
					<li><img src="" alt="Open space loft installation gomb helye"></img></li>
					<li><img src="" alt="Staircase gomb helye"></img></li>
				</ul>
	    
		<div>
			<img src="" alt="More information kép helye"></img>
			<br/>
			<ul>
				<li>1.menüpont</li>
				<li>2.menüpont</li>
				<li>3.menüpont</li>
			</ul>
		</div>
		<div>
		<a href="/courses"><img src="" alt="Regisztrációs oldalra vissz"></img></a>
		</div>
		</div>
		</div>
		<div style="margin:10;width:60%">
		    <div>
				<table>
					<tr>
					<td>
						<img src="/public/img/newcourse/receptionroom_smaller.jpg" alt="Reception design kép helye" style="border:3px black solid"></img>
					</td>
					<td>
						<div>
							<div style="float:left;text-align:left" align="right">
								Az előszoba tervezés kurzus leírásának helye
							</div>
						
						</div>
					</td>
					</tr>
				</table>
			</div>
			
	    </div>
		<div>
		<hr />
		</div>
		<div style="width:60%">
		<div>
			<table>
				<tr>
					<td>
						<img src="/public/img/newcourse/kitchen_smaller.jpg" alt="Kicthen design kép helye" style="border:3px black solid"></img>
					</td>
					<td>
						<div>
							<div style="float:left;text-align:left">A konyhatervezés kurzus</div>
						</div>
					</td>
				</tr>
			</table>
		</div>
		</div>
		<div>
		<hr style="width:100%">
		</div>
		<div>
			<table>
				<tr>
					<td>
						<img src="/public/img/newcourse/bathroom_smaller.jpg" alt="Bathroom design kép helye" style="border:3px black solid"></img>
					</td>
					<td>
						<div>
							<div style="float:left;text-align:left">fürdőszoba kurzus</div>
						</div>
					</td>
				</tr>
			</table>
		</div>
		<div>
			<hr>
		</div>
		<div>
			<table>
				<tr>
					<td>
						<img src="" alt="Outdoor awing,canopy,and indoor curtain design" style="border:3px black solid"></img>
					</td>
					<td>
						<div>
							<div style="float:left;text-align:left">külsőépítészet kurzus leírása</div>
						</div>
					</td>
				</tr>
			</table>
		</div>
		
        
    <?endif;?>
	  
</div>	
	