| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/newsite/modules/mod_ja_acm/acm/sample/tmpl/ |
Upload File : |
<div class="clearfix">
<h2>Section 1</h2>
<h3><?php echo $helper->get ('field1') ?></h3>
<p><?php echo $helper->get ('list') ?></p>
<p><?php echo $helper->get ('table') ?></p>
</div>
<div class="clearfix">
<h2>Table Data</h2>
<?php
$rows = $helper->getRows('table.name');
$cols = $helper->getCols('table.name');
?>
<table>
<tr>
<td>Name</td>
<?php for ($col=0; $col<$cols; $col++): ?>
<td><?php echo $helper->get('table.name', $col) ?></td>
<?php endfor ?>
</tr>
<?php for ($row=0; $row<$rows; $row++) : ?>
<tr>
<?php for ($col=0;$col<$cols+1; $col++):
$value = $helper->getCell('table', $row, $col);
$type = $value[0];
?>
<?php if ($type == 't'): ?>
<td><?php echo substr($value, 1) ?></td>
<?php else: ?>
<td><span class="<?php echo $value ?>"><?php echo $value ?></span></td>
<?php endif ?>
<?php endfor ?>
</tr>
<?php endfor ?>
</table>
</div>
<div class="clearfix">
<h2>List Data</h2>
<?php $count = $helper->getRows('list.col1'); ?>
<?php for ($i=0; $i<$count; $i++) : ?>
<div class="clearfix">
<h3>Row <?php echo $i ?></h3>
<p>Text value: <?php echo $helper->get ('list.col1', $i) ?></p>
<p>Select list value: <?php echo $helper->get ('list.col2', $i) ?></p>
<p>Radio check value: <?php echo $helper->get ('list.col31', $i) ?></p>
<p>Checkbox value: <?php echo $helper->get ('list.col32', $i, false ) ? 'Checked':'Unchecked' ?></p>
<img src="<?php echo $helper->get ("list.col4", $i) ?>" title="" />
</div>
<?php endfor ?>
</div>