Пример #1
0
echo TiendaSelect::btbooleanlist('createproductfileserver_purchaserequired', '', '');
?>
            </td>
    		<td style="text-align: center;">
    		    <?php 
echo TiendaSelect::btbooleanlist('createproductfileserver_enabled', '', '');
?>
    		</td>
            <td style="text-align: center;">
                <?php 
$helper = Tienda::getClass('TiendaHelperProduct', 'helpers.product');
$path = $helper->getFilePath($row->product_id);
$files = $helper->getServerFiles($path);
$list = array();
foreach (@$files as $file) {
    $list[] = TiendaSelect::option($file, $file);
}
echo JHTMLSelect::genericlist($list, 'createproductfileserver_file');
?>
            </td>
            <td style="text-align: center;">
                <input type="text" name="createproductfileserver_max_download" id="createproductfileserver_max_download" value="-1" size="10" maxlength="250" />
            </td>
            
    	</tr>
    	</tbody>
    </table>

</div>

<div class="note_green" style="width: 96%; margin-left: auto; margin-right: auto;">