<?if( $sg == 'banner' ):?>

	<?php if (JRequest::getVar('view') == 'frontpage'):?>

	<!-- SIDE BEGIN --><!-- SIDE END -->

	<?php endif?>

<?else:?>

 	Copyrights &copy;2012. All rights reserved, <?php echo $app->getCfg('sitename'); ?>. Powered by <a href="http://www.webtechbd.com/" class="sgfooter" target="_blank"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/weblogo.png" width="60" height="13" alt="Web Development Company" /></a>

	

	<?php $menu = JFactory::getApplication()->getMenu();
	//$alias = $menu->getActive()->alias;

	if ($menu->getActive() == $menu->getDefault()): ?>

		<!-- FOOTER BEGIN --><!-- FOOTER END -->

	<?php endif ?>

	

<?endif;?>