</div> <div <?php if (!$configuration['lang_6_state']) { echo 'style="display: none;"'; } ?> > <h2>Lingua 6</h2> <span id="label">Categoria</span> <input type="text" name="title_6" value="<?php print $category['name_6']; ?> "/> <span id="label">Descrição</span> <?php print returnEditor('description_6', $category['description_6']); ?> <div class="separator30"></div> </div> <div> <span id="label">Tipo</span> <select name="category_type"> <option value="null">Selecione uma Type</option> <?php foreach ($configuration['category_sections'] as $category_type) { if ($category['category_type'] == $category_type) { $selected = 'SELECTED'; } else { $selected = null; } print '<option ' . $selected . ' value="' . $category_type . '">' . $category_type . '</option>';
</div> <div <?php if (!$configuration['lang_6_state']) { echo 'style="display: none;"'; } ?> > <h2>Lingua 6</h2> <span id="label">Titulo</span> <input type="text" name="title_6" value="<?php print $item['title_6']; ?> "/> <span id="label">Descrição</span> <?php print returnEditor("content_6", $item['content_6']); ?> <div class="separator30"></div> </div> <span id="label">Categoria</span> <select name="category"> <option value="null">Selecione uma Categoria</option> <?php $category = new category(); foreach ($category->returnAllCategories() as $cat) { $selected = null; if ($cat["id"] === $item["category_id"]) { $selected = "selected=\"\""; } if ($cat['category_type'] === 'products') {
<div <?php if (!$configuration['lang_6_state']) { echo 'style="display: none;"'; } ?> > <h2>Lingua 6</h2> <span id="label">Titulo</span> <input type="text" name="title_6" value="<?php print $article['title_6']; ?> "/> <span id="label">Conteudo</span> <?php print returnEditor('content_6', $article['content_6']); ?> <div class="separator30"></div> </div> <span id="label">Categoria</span> <?php ?> <select name="category"> <option value="null">Selecione uma Categoria</option> <?php $category = new category(); foreach ($category->returnAllCategories() as $cat) { if ($cat['category_type'] == 'articles') {
<div class="separator30"></div> </div> <div <?php if (!$configuration['lang_6_state']) { echo 'style="display: none;"'; } ?> > <h2>Lingua 6</h2> <span id="label">Titulo</span> <input type="text" name="title_6"/> <span id="label">Conteudo</span> <?php print returnEditor('content_6', null); ?> <div class="separator30"></div> </div> <span id="label">Categoria</span> <select name="category"> <option value="null">Selecione uma Categoria</option> <?php $category = new category(); foreach ($category->returnAllCategories() as $cat) { if ($cat['category_type'] == 'articles') { print '<option value="' . $cat['id'] . '">' . $cat['name_1'] . '</option>'; } }
print returnEditor("content_5", null); ?> <div class="separator30"></div> </div> <div <?php if (!$configuration['lang_6_state']) { echo 'style="display: none;"'; } ?> > <h2>Lingua 6</h2> <span id="label">Titulo</span> <input type="text" name="title_6"/> <span id="label">Descrição</span> <?php print returnEditor("content_6", null); ?> <div class="separator30"></div> </div> <span id="label">Categoria</span> <select name="category"> <option value="null">Selecione uma Categoria</option> <?php $category = new category(); foreach ($category->returnAllCategories() as $cat) { if ($cat['category_type'] === 'products') { print '<option value="' . $cat['id'] . '">' . $cat['name_1'] . '</option>'; } } ?>