<?php
/**
* @version 1.0.0
* @package RSEvents! 1.0.0
* @copyright (C) 2009 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/

defined('_JEXEC') or die('Restricted access');
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<?php 

		foreach($this->data as $obj)
		{ ?>
			<div style="margin:10px;float:left;width:150px;text-align:center">
		<a href="#" onclick="updateDesign(<?php echo $obj->IdDesign; ?>,'<?php echo $obj->DesignName; ?>');return false;"><img src="<?php echo JURI::root().'components/com_rsevents/designs/'.$obj->DesignName.'/'.$obj->DesignName.'.png' ; ?>"/><br /><?php echo $obj->DesignName; ?></a>
			</div>
<?php	}
?>
	<?php echo JHTML::_( 'form.token' ); ?>
	<input type="hidden" name="option" value="com_rsevents" />
	<input type="hidden" name="controller" value="events" />
	<input type="hidden" name="view" value="events" />
	<input type="hidden" name="layout" value="selectdesign" />
	<input type="hidden" name="IdDesign" value="" />
	<input type="hidden" name="task" value="updateDesign" />
</form>