<div class="well">
    <div class="page-header">
        <h1>Cadastrar Produto</h1>
    </div>
    <?php
    if (isset($_SESSION['msg'])):
        echo $_SESSION['msg'];
        unset($_SESSION['msg']);
    endif;
    ?>
    <form name="CadCatArtigo" class="form-horizontal" action="" method="post" enctype="multipart/form-data">
        <div class="form-group">
            <label class="col-sm-2 control-label">Nome:</label>
            <div class="col-sm-10">
                <input type="text"  class="form-control" name="nome_cat_artigo" placeholder="Nome da Categoria para Artigo">
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 control-label">ID Produto:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="id_product" placeholder="Informe o ID Produto" value="<?php
                if (isset($valorForm['id_product'])):
                    echo $valorForm['id_product'];
                endif;
                ?>">
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 control-label">Coleção:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="id_collection" placeholder="Informe o id_collection" value="<?php
                if (isset($valorForm['id_collection'])):
                    echo $valorForm['id_collection'];
                endif;
                ?>">
            </div>
        </div>
        
         <div class="form-group">
            <label class="col-sm-2 control-label">ID Edição:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="id_edition" placeholder="Informe o ID Edição" value="<?php
                if (isset($valorForm['id_edition'])):
                    echo $valorForm['id_edition'];
                endif;
                ?>">
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 control-label">Edição:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="edition_number" placeholder="Informe a Edição" value="<?php
                if (isset($valorForm['edition_number'])):
                    echo $valorForm['edition_number'];
                endif;
                ?>">
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 control-label">Codigo Produto:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="edition_number" placeholder="Informe o Codigo Produto" value="<?php
                if (isset($valorForm['id_prod_Planeta'])):
                    echo $valorForm['id_prod_Planeta'];
                endif;
                ?>">
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 control-label">Descrição:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="description" placeholder="Informe a Descrição" value="<?php
                if (isset($valorForm['description'])):
                    echo $valorForm['description'];
                endif;
                ?>">
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 control-label">Preço:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="price" placeholder="Informe o Preço" value="<?php
                if (isset($valorForm['price'])):
                    echo $valorForm['price'];
                endif;
                ?>">
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 control-label">Compra Adicional:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="reordable" placeholder="Informe a Compra Adicional" value="<?php
                if (isset($valorForm['reordable'])):
                    echo $valorForm['reordable'];
                endif;
                ?>">
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 control-label">Retornável:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="returnable" placeholder="Informe o Retornável" value="<?php
                if (isset($valorForm['returnable'])):
                    echo $valorForm['returnable'];
                endif;
                ?>">
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 control-label">Pacote padrão:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="packet" placeholder="Informe o Pacote padrão" value="<?php
                if (isset($valorForm['packet'])):
                    echo $valorForm['packet'];
                endif;
                ?>">
            </div>
        </div>
        
         <div class="form-group">
            <label class="col-sm-2 control-label">Nr da Ce:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="cde_number" placeholder="Informe o nr da ce" value="<?php
                if (isset($valorForm['cde_number'])):
                    echo $valorForm['cde_number'];
                endif;
                ?>">
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-2 control-label">Id da Ce:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="id_ce" placeholder="Informe Id da ce" value="<?php
                if (isset($valorForm['id_ce'])):
                    echo $valorForm['id_ce'];
                endif;
                ?>">
            </div>
        </div>
        
        
        <input type="hidden" name="created" value="<?php echo date("Y-m-d H:i:s"); ?>">

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="submit" class="btn btn-sm btn-success" value="Cadastrar" name="SendCadCatArtigo">
            </div>
        </div>
    </form>
    <?php
    //var_dump($this->Dados);
    ?>
</div>