<?php
/**
 * @version		$Id: view.feed.php 10381 2008-06-01 03:35:53Z pasamio $
* @package		Contact_Enhanced
 * @subpackage	Contact
 * @copyright	Copyright (C) 2006 - 2010 Ideal Custom Software Development
 * @author     Douglas Machado {@link http://ideal.fok.com.br}
 * @author     Created on 28-Jul-09
 * @license		GNU/GPL, see license.txt
 * Contact Enhanced  is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses. 
 */

defined( '_JEXEC' ) or die( 'Restricted access' );

$sidebarWidth	= (int) $this->contact->params->get( 'sidebar_width','30' );
$formWidth		= 99-$sidebarWidth;

?>
<td width="<?php echo ($show_sidebar ? $formWidth : '99'); ?>%" >
<?php if(isset($this->error)) : ?>
	<div><strong><?php echo $this->error; ?></strong></div>
<?php endif; ?>
	<?php echo ceHelper::loadForm($this); ?>
<br />
</td>