コード例 #1
0
ファイル: category_edit.php プロジェクト: DaniJCV/BO2-BOxygen
			</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>';
コード例 #2
0
ファイル: product_edit.php プロジェクト: DaniJCV/BO2-BOxygen
			</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') {
コード例 #3
0
ファイル: article_edit.php プロジェクト: DaniJCV/BO2-BOxygen
		<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') {
コード例 #4
0
ファイル: article_add.php プロジェクト: DaniJCV/BO2-BOxygen
		<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>';
        }
    }
コード例 #5
0
ファイル: product_add.php プロジェクト: DaniJCV/BO2-BOxygen
    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>';
        }
    }
    ?>