echo stripslashes($products->fldProductsPosition); ?> "> </li> </ul> </fieldset> <fieldset style="width:1065px;"> <legend>Options Panel</legend> <ul> <? foreach($category_options as $cat): // $category_options is declared above $category_id = $cat->fldOptionsCategoryID; $options = Options::displayAllOptions($category_id); ?> <b><?php echo $cat->fldOptionsCategoryName; ?> </b><br /> <select multiple style="width:700px" id="options<?php echo $cat->fldOptionsCategoryID; ?> " name="options<?php echo $cat->fldOptionsCategoryID; ?> []"> <? foreach($options as $option): $option_id = $option->fldOptionsID; if( ProductsOption::isOptionSettingExists($product_id, $category_id, $option_id) ):
<label for="position">Position</label> <input type="text" id="position" name="position"> </li> </ul> </fieldset> <fieldset style="width:1065px;"> <legend>Options Panel</legend> <ul> <? $optionsCat = OptionsCategory::displayAllOptionsCategory(); foreach($optionsCat as $optionsCats) { $option = Options::displayAllOptions($optionsCats->fldOptionsCategoryID); ?> <li> <label for="title"><strong><?php echo $optionsCats->fldOptionsCategoryName; ?> </strong> : </label> <? foreach($option as $options) { ?> <input type="checkbox" name="options[]" value="<?php echo $optionsCats->fldOptionsCategoryID . ';' . $options->fldOptionsID; ?> " style="width:10px; display:inline;"> <?php echo $options->fldOptionsName; ?>