Exemple #1
0
        ?>
                                <p><?php 
        echo $error_message;
        ?>
</p>
                                <?php 
    }
    ?>
				  
		                    </div>
                                    <div class="form-group col-lg-6">
		                        <label>Catalog</label>
		                        <select class="form-control" name="catalog_id" id="catalog_id">
			                    <option value="">Select catalog</option>
                                            <?php 
    Helper_Catalogs::selectCatalogs(2, $song['language_id'], $song['catalog_id']);
    ?>
                                        </select>
		                    </div>
		                    
		                    
		                    <div class="form-group col-lg-3">
		                        <label>Song age group</label>
		                        <select class="form-control" name="agegroup_id" id="agegroup_id">
                                            <option value="">Select age group</option>
                                            <?php 
    echo Helper_Agegroup::selectAgegroup($song['agegroup_id']);
    ?>
                                        </select>
		                    </div>
		                    <div class="form-group col-lg-3">
Exemple #2
0
        ?>
                                <p><?php 
        echo $error_message;
        ?>
</p>
                                <?php 
    }
    ?>
				  
		                    </div>
                                    <div class="form-group col-lg-6">
		                        <label>Catalog</label>
		                        <select class="form-control" name="catalog_id" id="catalog_id">
			                    <option value="">Select catalog</option>
                                            <?php 
    Helper_Catalogs::selectCatalogs(1, $movie['language_id'], $movie['catalog_id']);
    ?>
                                        </select>
		                    </div>
		                    
		                    
		                    <div class="form-group col-lg-3">
		                        <label>Movie age group</label>
		                        <select class="form-control" name="agegroup_id" id="agegroup_id">
                                            <option value="">Select age group</option>
                                            <option value="1" <?php 
    if ($movie['agegroup_id'] == 1) {
        echo 'selected';
    }
    ?>
>1-3</option>
Exemple #3
0
 public function action_getCatalogs()
 {
     $this->auto_render = false;
     $language_id = $this->request->param('id');
     $category_id = $this->request->param('helpid');
     print Helper_Catalogs::selectCatalogs($category_id, $language_id);
 }