<?php /**/ /*cleaned*/?><?php
/**
* Dark layout for form view
*
* @version		$Id: default.php 170 2009-08-12 07:29:38Z dr_drsh $
* @package		Joomla
* @subpackage	JForms
* @copyright	Copyright (C) 2008 Mostafa Muhammad. All rights reserved.
* @license		GNU/GPL
*/
defined('_JEXEC') or die('Restricted access');

JHTML::_('JForms.Frontend.javascript', $this->form);
$formUrl = JRoute::_('index.php?option=com_jforms&task=submit&id='.$this->form->id.'&Itemid='.$this->Itemid);
?>

<div class="jform">		
	<table class="jform">
	<tr>
	<td>
		<h2><?php echo $this->form->title ?></h2>
		<form name="jform" action="<?php echo $formUrl ?>" method="post" enctype="multipart/form-data" onsubmit="return validateForm_<?php echo $this->form->id ?>(this);">
			<?php JHTML::_('JForms.Frontend.elements', $this->form); ?>
			<input type="hidden" name="option" value="com_jforms" />
			<input type="hidden" name="task" value="submit" />
			<input type="hidden" name="uid" value="<?php echo $this->user->id ?>" />
			<input type="hidden" name="id" value="<?php echo $this->form->id ?>" />
			<input type="hidden" name="Itemid" value="<?php echo $this->Itemid ?>" />
			<?php echo JHTML::_( 'form.token' ); ?>
		</form>
	</td>
	</tr>
</table>
</div>