D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
shubmkcj
/
designpitara.com
/
admin
/
gallery
/
Filename :
add-gallery.php
back
Copy
<?php include("../include/config.php"); include("../include/sessionhandle.php"); include("../include/header.php"); ?> <style> #d_Gallery ul li:nth-child(2) { background-color: #eb6a4e; } #d_Gallery ul li:nth-child(2) a { color: #fff; } #d_Gallery ul li:nth-child(2) a:hover { background-color: #eb6a4e; } #srkproperty_details .course-detailsa img { width: 100% !important; max-height: 250px !important; } hr { margin-top: 5px !important; margin-bottom: 5px !important; border: 0; border-top: 1px solid #eee; } .img_container { position: relative; padding: 5px; } .overlay { position: absolute; top: 0; bottom: 0; left: 0; right: 0; height: 100%; width: 100%; opacity: 0; transition: .3s ease; background-color: #423e3e70; } .img_container:hover .overlay { opacity: 1; } .icon { color: red; font-size: 50px !important; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); text-align: center; } .fa-user:hover { color: #eee; } </style> <script> window.onload = function() { document.getElementById('d_Gallery').classList.add("active"); document.getElementById('d_Gallery1').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>Gallery</span> </li> </ol> </div> <h2 class="font-light m-b-xs"> Add Gallery </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 Gallery </div> <div class="panel-body"> <form class="form-horizontal" action="execute-img.php" method="post" enctype="multipart/form-data"> <div class="form-group"> <div class="col-md-6"> <label class="control-label">Select Gallery Category </label> <select name="gallery_categ_id" class="form-control" required> <option value="" selected disabled>-- Select Gallery Category --</option> <?php $sql1m = "SELECT * FROM `gallery_category` ORDER BY `gallery_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">Image Title</label> <input type="text" class="form-control" name="imgtitle" placeholder="image title"> </div> <div class="col-md-6"> <br> <input type="file" id="file" class="form-control" name="image_a" multiple="multiple" accept="image/*" required> </div> <div class="col-md-5"> <div class="form-group"> <div class="text-right"> <br> <button type="reset" class="btn btn-default">Cancel</button> <button type="submit" name="add_new_gallery" class="btn btn-primary">Submit</button> </div> </div> </div> </div> </form> </div> </div> </div> </div> <br> <br> <?php include('../include/footer.php'); ?>