D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
lampp
/
htdocs
/
admin
/
Filename :
modal_add.php
back
Copy
<!-- Button to trigger modal --> <a class="btn btn-primary" href="#myModal" data-toggle="modal">Click Here To Add Product</a> <br> <br> <br> <!-- Modal --> <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-header"> <h3 id="myModalLabel">Add</h3> </div> <div class="modal-body"> <form method="post" action="upload.php" enctype="multipart/form-data"> <table class="table1"> <tr> <td><label style="color:#3a87ad; font-size:18px;">Name of Product</label></td> <td width="30"></td> <td><input type="text" name="product_title" placeholder="Product Name" required /></td> </tr> <tr> <td><label style="color:#3a87ad; font-size:18px;">Describe Product</label></td> <td width="30"></td> <td> <textarea type="text" name="product_desc" placeholder = "Description" rows="10" required></textarea> </td> </tr> <tr> <td><label style="color:#3a87ad; font-size:18px;">Add Image Product</label></td> <td width="30"></td> <td><input type="file" name="product_img" required></td> </tr> </table> </div> <div class="modal-footer"> <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button> <button type="submit" name="Submit" class="btn btn-primary">Upload</button> </div> </form> </div>