<? global $current,$module; $S=$current->settings; ?>
<div id="services">
<? if(!$current->parent){ //Product Page ?>

	<div class="services">
		<div class="ttl"><h1><?= $current->title ?></h1></div>
		<div class="col2 gap30 catlst">
		<?	foreach($current->getChildren() as $c){ ?>
			<div class="service">
				<div>
					<a href="<?= $c->getURL(); ?>">
					<div class="imgwrp"><div class="serimg w0 " style="background-image:url(<?= $c->getImage(banner) ?>)"></div>	
					<div class="col2 artiwrap" >
						<div style="color:transparent">.</div>
						<div class="arti"><h2><?= $c->title ?></h2><p><?= $c->getText(200) ?></p>
					</div>
					</div>
					</div>
					</a>
				</div>
			</div>
		<? } ?>
		</div>
	</div>

<?

} else  { //Item Page
	?>
	<div class="col6 gap20 item">
	
		<div class="hsp3 imgs">
			<div class="itmimg w0" id="mainview" style="background-image:url(<?= $current->getImage(banner) ?>)"></div>
		</div>
		
		
		<div class="hsp3 article">
			<h1><?= $current->title ?></h1>
			<div class="para"><?= $current->article ?></div>
		
		</div>
		
		
	</div>
	<? } ?>

</div>