Exemplo n.º 1
0
echo CitruscartSelect::btbooleanlist('createproductfileserver_purchaserequired', '', '');
?>
            </td>
    		<td style="text-align: center;">
    		    <?php 
echo CitruscartSelect::btbooleanlist('createproductfileserver_enabled', '', '');
?>
    		</td>
            <td style="text-align: center;">
                <?php 
$helper = Citruscart::getClass('CitruscartHelperProduct', 'helpers.product');
$path = $helper->getFilePath($row->product_id);
$files = $helper->getServerFiles($path);
$list = array();
foreach (@$files as $file) {
    $list[] = CitruscartSelect::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;">