Location: PHPKode > projects > AcyMailing > back/views/data/tmpl/database.php
<?php
/**
 * @copyright	Copyright (C) 2009-2011 ACYBA SARL - All rights reserved.
 * @license		http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
 */
defined('_JEXEC') or die('Restricted access');
?>
<?php
	$db =& JFactory::getDBO();
	$subfields = reset($db->getTableFields('#__acymailing_subscriber'));
	$postFields = JRequest::getVar('fields',array());
	?>
<table class="admintable" cellspacing="1">
<tr><td class="key"><?php echo JText::_('TABLENAME'); ?></td><td><input type="text" name="tablename" size="80" value="<?php echo JRequest::getString('tablename',''); ?>" /></td></tr>
	<?php
	foreach($subfields as $oneField => $type){
		if(in_array($oneField,array('subid','confirmed','enabled','key','userid','accept','html','created'))) continue;
		echo '<tr><td class="key">'.$oneField.'</td><td><input size="50" type="text" name="fields['.$oneField.']" value="'.@$postFields[$oneField].'" /></td></tr>';
	}
?>
</table>
Return current item: AcyMailing