D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
shubmkcj
/
designpitara.com
/
admin
/
blogs
/
Filename :
add-blogs.php
back
Copy
<?php include("../include/config.php"); include("../include/sessionhandle.php"); include("../include/header.php"); ?> <style> #my_Library ul li:nth-child(2) { background-color: #eb6a4e; } #my_Library ul li:nth-child(2) a { color: #fff; } #my_Library 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_Library').classList.add("active"); document.getElementById('my_Library1').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>Blogs</span> </li> </ol> </div> <h2 class="font-light m-b-xs"> Blogs 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 Blogs Details </div> <div class="panel-body"> <form class="form-horizontal" action="execute-blogs-details.php" method="post" enctype="multipart/form-data"> <div class="form-group"> <div class="col-md-12"> <label class="control-label">Blogs Title</label> <input type="text" name="blogs_title" class="form-control" placeholder="BLogs Title" required> </div> <div class="col-md-9"> <label class="control-label">Custom Url</label> <input type="text" name="custom_url" class="form-control" placeholder="BLogs custom Url" > </div> <div class="col-md-3"> <label class="control-label">Posted date</label> <input type="date" name="custom_date" class="form-control" placeholder="BLogs date" required> </div> <div class="col-md-6"> <label class="control-label">Blogs Posted By</label> <input type="text" name="post_by" class="form-control" placeholder="BLogs Title" required> </div> <div class="col-md-6"> <label class="control-label">Select BLogs Category </label> <select name="blogs_categ_id" class="form-control" required> <option value="" selected disabled>-- Select Blogs Category --</option> <?php $sql1m = "SELECT * FROM `b_category` ORDER BY `b_category`.`b_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['b_category_name']; ?> <option value="<?php echo $det_det_id?>"> <?php echo $g_category_name;?></option> <?php } } ?> </select> </div> <div class="col-md-12"> <label class="control-label">Details</label> <textarea required class="textarea form-control " id="ckeditor_library_course_details" name="ckeditor_library_course_details" placeholder="Enter text ..." rows="15" data-height="100"></textarea> </div> <div class="col-md-12"> <label class="control-label">Blogs 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"> <label>Tags</label> <textarea class="textarea form-control " name="blogs_tags" placeholder="e.g. tag1, tag2, tag3" rows="5"></textarea> </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_blogs_details" class="btn btn-primary">Submit</button> </div> </div> </div> </div> </form> </div> </div> </div> </div> <script> $(function() { CKEDITOR.replace('ckeditor_library_course_details', { height: 350, filebrowserUploadUrl: "<?php echo $admin_baseurl . 'blogs/ckupload.php'; ?>", filebrowserUploadMethod: 'form' }); }); </script> <br> <?php include('../include/footer.php'); ?>