D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
shubmkcj
/
designpitara.com
/
admin
/
product
/
Filename :
index.php
back
Copy
<?php include("../include/config.php"); include("../include/sessionhandle.php"); include("../include/header.php"); ?> <style> #my_product ul li:nth-child(2) { background-color: #eb6a4e; } #my_product ul li:nth-child(2) a { color: #fff; } #my_product ul li:nth-child(2) a:hover { background-color: #eb6a4e; } #srkproperty_details .course-detailsa img { width: 100% !important; max-height: 250px !important; } </style> <script> window.onload = function() { document.getElementById('my_product').classList.add("active"); document.getElementById('my_product1').classList.add("in"); }; </script> <div class="small-header"> <div class="hpanel"> <div class="panel-body"> <div id="hbreadcrumb" class="pull-right"> <ol class="hbreadcrumb breadcrumb"> <li><a href="<?php echo $admin_baseurl . 'dashboard.php';?>">Dashboard</a></li> <li class="active"> <span>Product</span> </li> </ol> </div> <h2 class="font-light m-b-xs"> product Details </h2> </div> </div> </div> <div class="content"> <div class="hpanel"> <div class="hpanel"> <div class="panel-heading hbuilt"> <div class="panel-tools"> <a class="showhide"><i class="fa fa-chevron-up"></i></a> <a class="fullscreen"><i class="fa fa-expand"></i></a> </div> Add New Product Details </div> <div class="panel-body"> <form class="form-horizontal" action="execute-details.php" method="post" enctype="multipart/form-data"> <div class="form-group"> <div class="col-md-12"> <label class="control-label">Product Title</label> <input type="text" name="productName" class="form-control" placeholder="Product Title" required> </div> <div class="col-md-12"> <label class="control-label">Custom Url</label> <input type="text" name="custom_url" class="form-control" placeholder="Product custom Url" > </div> <div class="col-md-6"> <label class="control-label">Select Category </label> <select name="product_categ_id" class="form-control" required> <option value="" selected disabled>-- Select Product Category --</option> <?php $sql1m = "SELECT * FROM `product_category` ORDER BY `product_category`.`g_category_name` ASC"; $result1m = mysqli_query($conn, $sql1m); if (mysqli_num_rows($result1m) > 0) { while($row1m = mysqli_fetch_assoc($result1m)) { $det_det_id = $row1m['id']; $g_category_name = $row1m['g_category_name']; ?> <option value="<?php echo $det_det_id?>"> <?php echo $g_category_name;?></option> <?php } } ?> </select> </div> <div class="col-md-6"> <label class="control-label">Product Price in Rupees</label> <input type="number" required min="0" name="productPrice" class="form-control" placeholder="Product Price" > </div> <div class="col-md-12"> <label class="control-label">Details</label> <textarea required class="textarea form-control " id="product_details" name="product_details" placeholder="Enter text ..." rows="15" data-height="100"></textarea> </div> <div class="col-md-12"> <label class="control-label">Product Image</label> <input type="file" id="file" class="form-control" name="image_a" multiple="multiple" accept="image/*" required> </div> <div class="col-md-12"><br> <label>Seo Keywords</label> <input name="keyword" class="form-control" placeholder="eg.Meta Keywords..."> </div> <div class="col-md-12"> <label>Meta Title</label> <input name="meta_title" class="form-control" placeholder="Meta Title"> </div> <div class="col-md-12"> <label>Meta Description</label> <input name="description" class="form-control" placeholder="Meta Description"> </div> <div class="col-md-12"> <div class="form-group" style="padding:0 20px;"> <br> <div class="text-right"> <button type="reset" class="btn btn-default">Cancel</button> <button type="submit" name="add_product_details" class="btn btn-primary">Submit</button> </div> </div> </div> </div> </form> </div> </div> </div> </div> <script> $(function() { CKEDITOR.replace('product_details', { height: 250, filebrowserUploadUrl: "<?php echo $admin_baseurl . 'product/ckupload.php'; ?>", filebrowserUploadMethod: 'form' }); }); </script> <br> <?php include('../include/footer.php'); ?>