<?php
/**
 # ot_ante - 	OT Ante  Template for Joomla 2.5!
 # author 			OmegaTheme.com
 # copyright 		Copyright(C) 2011 - OmegaTheme.com. All Rights Reserved.
 # @license 		http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 # Website: 		http://omegatheme.com
 # Technical 		support: Forum - http://omegatheme.com/forum/
 **/
 /**------------------------------------------------------------------------
 * file: modules.php 2.5.0 00001, March 2012 12:00:00Z OmegaTheme $
 * package:	OT Ante Template
 *------------------------------------------------------------------------*/
 
//No direct access!
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<?php
function modChrome_otrounded($module, &$params, &$attribs)
{	
	//$first = $attribs['first'] ? 'first' : '';
	//$last = $attribs['last'] ? 'last' : '';
	?>
	<div class="otclass-1 module<?php echo $params->get('moduleclass_sfx'); ?> <?php //echo $first; ?> <?php //echo $last; ?>">
		<div class="ot-round-topleft"></div>
		<div class="ot-round-topright"></div>
		<div class="ot-round-mid">
			<div class="otclass-i">
				<?php if ($module->showtitle != 0) : ?>
					<h3><span class="title-mod"><span><?php echo $module->title; ?></span></span></h3>
				<?php endif; ?>
				<div class="otmodules-i clearfix">
					<?php echo $module->content; ?>
				</div>
			</div>	
		</div>
		<div class="ot-round-bottomleft"></div>
		<div class="ot-round-bottomright"></div>
	</div>
<?php
}
?>
<?php
function modChrome_otbox($module, &$params, &$attribs)
{
	?>
	<div class="otclassbox-1 module<?php echo $params->get('moduleclass_sfx'); ?>">
		<div class="otclassbox-2">
			<div class="otclassbox-3">
				<div class="otclassbox-4">
					<div class="otclassbox-i">
						<?php if ($module->showtitle != 0) : ?>
							<h3><span class="title-mod"><span><?php echo $module->title; ?></span></span></h3>
						<?php endif; ?>
						<div class="otmodulesbox-i clearfix">
							<?php echo $module->content; ?>
						</div>
					</div>	
				</div>
			</div>
		</div>
	</div>
<?php
}
?>
<?php
 function modChrome_otround($module, &$params, &$attribs)
{ ?>
	<div class="otmodule module<?php echo $params->get('moduleclass_sfx'); ?>">
		<div class="otmodule-ext">
			<?php if ($module->showtitle != 0) : ?>
				<h3><span class="title-mod"><span><?php echo $module->title; ?></span></span></h3>
			<?php endif; ?>
			<div class="otmodules-i clearfix">
				<?php echo $module->content; ?>
			</div>
		</div>
	</div>
<?php
}
?>