ok

Mini Shell

Direktori : /home2/selectio/www/wedding-info/
Upload File :
Current File : /home2/selectio/www/wedding-info/add_product_details.php

<?php include('header.php'); ?>
<div class="page-wrapper">
    <div class="page-content">

        <div class="card">
            <div class="card-body">



<?php 


?>
            <?php $c_id = $_GET["id"] ?>

                <form id="add_empl" action="./api/add_product.php" method="post">

                    <input type="hidden" name="cid" value="<?=$c_id ?>"  >

                    <div class="row">
                        <div class="col col-md-6"> <label> Card Name </label> <input name="p_name"
                                class="form-control mb-3" type="text" placeholder="Enter Card name"> </div>
                        <div class="col col-md-6"> <label> Card ( L x H ) </label> <input name="p_size"
                                class="form-control mb-3" type="text" placeholder="Enter card size"> </div>
                                
                                
                        <div class="col col-md-12"> <label> All Description </label>
                        <textarea class="form-control"></textarea>
                            
                        </div>            

                    </div>


                    <div class="row">
                        <div class="col col-md-6"> <label>Card Price </label> <input class="form-control mb-3"
                                name="p_price" type="text" placeholder="Enter  card price"> </div>
                        <div class="col col-md-6"> <label>Add discount </label> <input class="form-control mb-3"
                                name="p_discount" type="text" placeholder="Enter discount "> </div>
                    </div>


                    <div class="row">
                        <div class="col col-md-6"> <label>Available stock </label> <input class="form-control mb-3"
                                name="avl_stk" type="text" placeholder="Enter stock"> </div>
                        <div class="col col-md-6"> <label>Add your quantity </label> <input class="form-control mb-3"
                                name="qty" type="text" placeholder="Enter quantity"> </div>
                    </div>
                    <div class="row">
                        <div class="col col-md-6"> <label> Min budget cost </label> <input class="form-control mb-3"
                                name="min_bgt_ct" type="text" placeholder="Enter Minimum budget cost"> </div>
                        <div class="col col-md-6"> <label>Max Budget Cost </label> <input class="form-control mb-3"
                                name="max_bgt_cost" type="text" placeholder="Enter Max budget cost"> </div>
                    </div>
                    <div class="row">
                        <div class="col col-md-6"> <label>Add your budget cost </label> <input class="form-control mb-3"
                                name="bgt_cost" type="text" placeholder="Enter your Budget Cost"> </div>
                    </div>
                    <div class="row"></div>


                    <div id="more_info">
                        <div class="row">
                           
                           



                            <div class="col col-md-6">
                                <label><?=$row['label_name']?> </label>
                                <input class="form-control mb-3" name="custom_field_<?=$j++?>" type="text"
                                    placeholder="Enter Custom Field <?=$k++?>">
                            </div>

                        </div>
                    </div>







            </div>




            <div class="page-breadcrumb d-none d-sm-flex align-items-center mb-3">
                <div class="ms-auto">
                    <div class="btn-group">
                        <button type="reset" class="btn btn-danger md px-5 m-1">Reset</button>
                        <button type="submit" class="btn btn-info md px-5 m-1">Submit</button>


                    </div>
                </div>
                </form>
            </div>

            <!-- <div class="hid">Hidden content</div> -->
        </div>
        </form>


    </div>


</div>


</div>
<script>
$('#more_info').hide();

$(document).ready(function(e) {


    $('.show_button').on("click", function() {

        $('#more_info').show();
        $(this).hide();
    });
    // $(".addval1").change(function (e) { 
    //     e.preventDefault();
    //     var val1= $(".val1").val();
    //     $('#output').text(inputValue);


    // });
    $('.admh2').on("click", function() {
        $('.adms2').show();
        $(this).hide();
    });
});
</script>
<?php include('footer.php'); ?>

Zerion Mini Shell 1.0