git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_WebCongresos/trunk@2 94ccb1af-fd9d-d947-8d90-7f70ea60afc8
40 lines
1019 B
PHP
40 lines
1019 B
PHP
<?php
|
|
/*
|
|
* @component SQL 2 Excel Component
|
|
* @copyright Copyright (C) Joomla-R-Us, joomla-r-us.com
|
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3
|
|
*/
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
?>
|
|
|
|
<h1><?php echo $this->wbtitle; ?></h1>
|
|
|
|
<p><?php echo JText::_('This workbook requires') . ' ' . $this->nr_parms . ' ' . JText::_('parameter(s)') . '. ' . JText::_('Please fill in the desired values below') . '.'; ?></p>
|
|
|
|
<?php
|
|
foreach ( $this->worksheetParms as $ws ) {
|
|
|
|
if ( $ws->nr_parms > 0 && $ws->parms != '' ) {
|
|
echo '<fieldset>';
|
|
echo '<legend>' . $ws->sheetname . '</legend>';
|
|
|
|
$parms = $ws->parms;
|
|
$parmsArr = explode('~@~',$parms);
|
|
foreach ( $parmsArr as $p ) {
|
|
$parmTokens = explode(',',$p);
|
|
echo '<table>';
|
|
echo '<tr>';
|
|
echo ' <td><b>' . $p[0] . '</b></td>';
|
|
echo ' <td> = </td>';
|
|
echo ' <td>' . $p[3] . '</td>';
|
|
echo '</tr>';
|
|
echo '</table>';
|
|
}
|
|
echo '</fieldset>';
|
|
}
|
|
|
|
}
|
|
?>
|
|
|