/
home
/
u775757334
/
domains
/
civicwelllife.com
/
public_html
/
admin
/
/home/u775757334/domains/civicwelllife.com/public_html/admin
mkdir
upload
Name
Size
Mode
Actions
api/
-
0755
rm
dataQuery/
-
0755
rm
dist/
-
0755
rm
fonts/
-
0755
rm
function/
-
0755
rm
icons/
-
0755
rm
images/
-
0755
rm
include/
-
0755
rm
js/
-
0755
rm
loginQuery/
-
0755
rm
php/
-
0755
rm
scripts/
-
0755
rm
styles/
-
0755
rm
vendor/
-
0755
rm
banner-list.php
17871
0644
edit
dl
rm
banner.php
18156
0644
edit
dl
rm
benifits-list.php
16234
0644
edit
dl
rm
benifits.php
15935
0644
edit
dl
rm
blog-list.php
18199
0644
edit
dl
rm
blog.php
20910
0644
edit
dl
rm
category-list.php
18188
0644
edit
dl
rm
category.php
19039
0644
edit
dl
rm
change-password.php
11770
0644
edit
dl
rm
client-list.php
15889
0644
edit
dl
rm
client.php
16550
0644
edit
dl
rm
close-list.php
15318
0644
edit
dl
rm
color-list.php
15864
0644
edit
dl
rm
color.php
15247
0644
edit
dl
rm
commission-list.php
16438
0644
edit
dl
rm
daily-changes-list.php
16046
0644
edit
dl
rm
daily-changes.php
16962
0644
edit
dl
rm
dbc.php
5306
0644
edit
dl
rm
disease-category-list.php
17373
0644
edit
dl
rm
disease-category.php
17009
0644
edit
dl
rm
disease-subcategory-list.php
18113
0644
edit
dl
rm
disease-subcategory.php
19480
0644
edit
dl
rm
doctor-consultation-list.php
15713
0644
edit
dl
rm
doctor-enquiry-list.php
17459
0644
edit
dl
rm
enquiry-list.php
16399
0644
edit
dl
rm
error_log
174
0644
edit
dl
rm
faq-list.php
18344
0644
edit
dl
rm
faq.php
17215
0644
edit
dl
rm
favicon.ico
1150
0644
edit
dl
rm
forgot-password.php
4019
0644
edit
dl
rm
franchise-enquiry.php
17591
0644
edit
dl
rm
gallery-list.php
15893
0644
edit
dl
rm
gallery.php
16793
0644
edit
dl
rm
home.php
15222
0644
edit
dl
rm
index.php
4412
0644
edit
dl
rm
menu-category-list.php
15739
0644
edit
dl
rm
menu-category.php
16264
0644
edit
dl
rm
menu-list.php
15953
0644
edit
dl
rm
menu.php
16723
0644
edit
dl
rm
message.php
3033
0644
edit
dl
rm
offer-list.php
16040
0644
edit
dl
rm
offer.php
16749
0644
edit
dl
rm
order-details.php
21633
0644
edit
dl
rm
order-list.php
21793
0644
edit
dl
rm
paper-list.php
15633
0644
edit
dl
rm
paper.php
18145
0644
edit
dl
rm
partners-list.php
15975
0644
edit
dl
rm
partners.php
17715
0644
edit
dl
rm
post-list.php
15881
0644
edit
dl
rm
post.php
16536
0644
edit
dl
rm
problem-solution-list.php
19700
0644
edit
dl
rm
problem-solution.php
17961
0644
edit
dl
rm
product-list.php
19477
0644
edit
dl
rm
product.php
32402
0644
edit
dl
rm
promocode-list.php
18056
0644
edit
dl
rm
promocode.php
20506
0644
edit
dl
rm
recharge-list.php
16438
0644
edit
dl
rm
referral-order-list.php
16839
0644
edit
dl
rm
registration-list.php
21026
0644
edit
dl
rm
registration.php
27437
0644
edit
dl
rm
seller-registration-list.php
21887
0644
edit
dl
rm
seller-registration.php
22981
0644
edit
dl
rm
setting.php
32514
0644
edit
dl
rm
size-list.php
15940
0644
edit
dl
rm
size.php
15224
0644
edit
dl
rm
specialization-list.php
17308
0644
edit
dl
rm
specialization.php
15703
0644
edit
dl
rm
staff-list.php
15906
0644
edit
dl
rm
staff.php
17700
0644
edit
dl
rm
team-list.php
16319
0644
edit
dl
rm
team.php
17764
0644
edit
dl
rm
testimonial-list.php
18585
0644
edit
dl
rm
testimonial.php
19630
0644
edit
dl
rm
timming-list.php
18475
0644
edit
dl
rm
timming.php
17670
0644
edit
dl
rm
user-list.php
16551
0644
edit
dl
rm
vedio-list.php
18471
0644
edit
dl
rm
vedio.php
18969
0644
edit
dl
rm
website-setting.php
12534
0644
edit
dl
rm
withdraw-list.php
16438
0644
edit
dl
rm
youtube-vedio-list.php
17409
0644
edit
dl
rm
youtube-vedio.php
17804
0644
edit
dl
rm
Edit:
/home/u775757334/domains/civicwelllife.com/public_html/admin/blog.php
(20910B)
<?php include 'loginQuery/session_start.php'; include 'dbc.php'; $pageTitle = "Add a new Blog and other attributes"; $pageName = "Blog"; $linkName = "Show All Blog"; $editMode = "editData"; $addMode = "addData"; $tableName = $tblBlog; $listPageUrl = $urlBlogList; $user_id = $_SESSION['userid'] ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta content="IE=edge" http-equiv="X-UA-Compatible"> <!-- Page title --> <title> <?php echo $pageName ?> </title> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <!--<link rel="shortcut icon" type="image/ico" href="favicon.ico" />--> <!-- Vendor styles --> <?php include 'include/header-file.php'; ?> <!--select feild css--> <link rel="stylesheet" href="vendor/select2-3.5.2/select2.css" /> <link rel="stylesheet" href="vendor/select2-bootstrap/select2-bootstrap.css" /> <link rel="stylesheet" href="vendor/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.min.css" /> <link rel="stylesheet" href="vendor/summernote/dist/summernote.css" /> <link rel="stylesheet" href="vendor/summernote/dist/summernote-bs3.css" /> </meta> </meta> </meta> <script type="text/javascript" src="js/tinymce/tinymce.min.js"></script> <script type="text/javascript"> tinymce.init({ selector: ".editor", plugins: [ "codesample", "advlist autolink lists link image charmap print preview anchor", "searchreplace visualblocks code fullscreen", "insertdatetime media table contextmenu paste" ], toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | codesample " }); </script> </head> <style> .small-header .panel-body h2 { margin-top: 3px; } .hbreadcrumb { margin-top: 0; } </style> <body class="hide-sidebar"> <!-- Simple splash screen--> <!--[if lt IE 7]> <p class="alert alert-danger">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif]--> <!-- Header --> <?php include 'include/header.php'; ?> <!-- Header End--> <!-- Navigation --> <?php include 'include/side-menu.php'; ?> <!-- Navigation --> <?php if (isset($_GET['id'])) { $idd = $_GET['id']; $sql = mysqli_query($conn, "select * from $tableName where id='$idd'") or die(mysqli_error($conn)); $row = mysqli_fetch_assoc($sql); extract($row); $mode = $editMode; $btnname = "Update"; $returnurl = $urlBlog; } else { $returnurl = $urlBlogList; $id = ""; $heading = ""; $date = date('Y-m-d'); $short_description = ""; $description = ""; $meta_title = ""; $meta_keyword = ""; $meta_description = ""; $thumb1 = ""; $doctor_id = ""; $mode = $addMode; $idd = ""; $btnname = "Save"; $active = ''; } ?> <!-- Main Wrapper --> <div id="wrapper"> <!--small header start--> <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 $listPageUrl; ?>" class="btn btn-warning"><strong><?php echo $linkName; ?></strong></a></li> </ol> </div> <h2 class="font-light m-b-xs"> <?php echo $pageName; ?> </h2> <small><?php echo $pageTitle; ?></small> </div> </div> </div> <!--small header end--> <div class="content "> <div class="row"> <div class="col-lg-1"></div> <div class="col-lg-10"> <div class="hpanel"> <div class="panel-body"> <!-- Page Form--> <form id="form_2" role="form" action="dataQuery/process.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="action" value="<?php echo $mode; ?>" /> <input type="hidden" id="getid" name="txtid" value="<?php echo $id; ?>" /> <input type="hidden" name="user_id" value="<?= $user_id; ?>" /> <div class="form-group row"> <div class="col-xs-12 col-sm-4"> <label>Doctor</label> <select name="doctor_id" class="form-control js-source-states"> <option value="">Select Doctor</option> <?php $sqlDoc = mysqli_query($conn, "SELECT id, name FROM tbl_doctor_registration ORDER BY name ASC") or die(mysqli_error($conn)); while ($rowDoc = mysqli_fetch_assoc($sqlDoc)) { ?> <option value="<?php echo $rowDoc['id']; ?>" <?php if (isset($doctor_id) && $doctor_id == $rowDoc['id']) echo "selected"; ?>> <?php echo htmlspecialchars($rowDoc['name']); ?> </option> <?php } ?> </select> </div> <div class="col-xs-12 col-sm-4"> <label>Heading</label> <input type="text" name="heading" value="<?php echo $heading; ?>" class="form-control"> </div> <div class="col-xs-12 col-sm-4"> <div class="form-group"> <label for="name">Date</label> <div class="input-group date"> <input class="form-control" value="<?php echo $date ?>" name="date" type="text"><span class="input-group-addon" style=""><i class="glyphicon glyphicon-th"></i></span> </div> </div> </div> </div> <div class="form-group row"> <div class="col-xs-12 col-sm-12"> <label>Short Description </label> <textarea class="form-control " name="short_description"><?php echo $short_description; ?></textarea> </div> </div> <div class="form-group row"> <div class="col-xs-12 col-sm-12"> <label>Description </label> <textarea class="form-control editor" name="description"><?php echo $description; ?></textarea> </div> </div> <div class="form-group row"> <div class="col-xs-12 col-sm-12"> <label for="name">Meta Title </label> <textarea class="form-control " name="meta_title"><?php echo $meta_title; ?></textarea> </div> </div> <div class="form-group row"> <div class="col-xs-12 col-sm-12"> <label for="name">Meta Keyword </label> <textarea class="form-control " name="meta_keyword"><?php echo $meta_keyword; ?></textarea> </div> </div> <div class="form-group row"> <div class="col-xs-12 col-sm-12"> <label for="name">Meta Description </label> <textarea class="form-control " name="meta_description"><?php echo $meta_description; ?></textarea> </div> </div> <div class="form-group row" style="display: none"> <div class="col-xs-12 col-sm-12"> <input type="hidden" value="1" name="image"> <input type="hidden" value="<?= $tableName ?>" name="tablename"> <input type="hidden" value="<?= $returnurl ?>" name="returnurl"> <select name="feild[]" multiple> <?php $fieldAry = array('id', 'image1', 'thumb1'); $result = mysqli_query($conn, "select * from $tableName") or die(mysqli_error($conn)); $fieldinfo = mysqli_fetch_fields($result); foreach ($fieldinfo as $val) { if (in_array($val->name, $fieldAry)) { } else { echo "<option value='{$val->name}' selected=''>{$val->name}</option>"; } } ?> </select> </div> </div> <!--image section--> <div class="form-group row"> <div class="col-xs-3 control-label" for="name" style="width:19%"> <div id="brandimageprv1" class="img-content-size-1 common-fram "> <?php if ($thumb1 != "") { ?> <img src="../media/image/thumb/<?php echo $thumb1; ?>" /> <?php } ?> </div> <input class="textbox brand-img1" type="file" name="image1fleimage"> </div> <div class="col-xs-4" style="width:49%"> <p class="text-left"><strong>Image Guidelines</strong></p> <ul> <li>Recomended image size 400 x 400 px </li> <li>Image format must be jpg or jpeg</li> </ul> </div> </div> <!--image section end--> <hr> <div> <button class="btn btn-sm btn-primary m-t-n-xs" type="submit"><strong><?php echo $btnname; ?></strong></button> </div> </form> </div><!--panel body end--> </div><!--hpanel end--> </div><!--col-10 end--> <div class="col-lg-1"></div> </div> </div> <!-- Footer--> <?php include 'include/footer-file.php'; ?> <!--select feild css--> <script src="vendor/bootstrap/dist/js/bootstrap.min.js"></script> <script src="vendor/summernote/dist/summernote.min.js"></script> <script> $(function() { // Initialize summernote plugin $('.summernote').summernote(); $('.summernote1').summernote({ toolbar: [ ['headline', ['style']], ['style', ['bold', 'italic', 'underline', 'superscript', 'subscript', 'strikethrough', 'clear']], ['textsize', ['fontsize']], ['alignment', ['ul', 'ol', 'paragraph', 'lineheight']], ] }); $('.summernote2').summernote({ airMode: true, }); }); </script> <script src="vendor/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.min.js"></script> <script src="vendor/select2-3.5.2/select2.min.js"></script> <?php include 'message.php'; ?> <script> $("#form_2").validate({ rules: { name: { required: true, minlength: 3 }, username: { required: true, minlength: 5 }, url: { required: true, url: true }, number: { required: true, number: true }, last_name: { required: true, minlength: 6 } }, messages: { number: { required: "(Please enter your phone number)", number: "(Please enter valid phone number)" }, last_name: { required: "This is custom message for required", minlength: "This is custom message for min length" } }, submitHandler: function(form) { form.submit(); }, errorPlacement: function(error, element) { $(element) .closest("form") .find("label[for='" + element.attr("id") + "']") .append(error); }, errorElement: "span", }); }); </script> <script> $(function() { $('#datepicker').datepicker(); $("#datepicker").on("changeDate", function(event) { $("#my_hidden_input").val( $("#datepicker").datepicker('getFormattedDate') ) }); $('#datapicker2').datepicker(); $('.input-group.date').datepicker({}); $('.input-daterange').datepicker({}); $("#demo1").TouchSpin({ min: 0, max: 100, step: 0.1, decimals: 2, boostat: 5, maxboostedstep: 10, }); $("#demo2").TouchSpin({ verticalbuttons: true }); $("#demo3").TouchSpin({ postfix: '%' }); $("#demo4").TouchSpin({ postfix: "a button", postfix_extraclass: "btn btn-default" }); $(".js-source-states").select2(); $(".js-source-states-2").select2(); //turn to inline mode $.fn.editable.defaults.mode = 'inline'; //defaults $.fn.editable.defaults.url = '#'; //editables $('#username').editable({ url: '#', type: 'text', pk: 1, name: 'username', title: 'Enter username' }); $('#firstname').editable({ validate: function(value) { if ($.trim(value) == '') return 'This field is required'; } }); $('#sex').editable({ prepend: "not selected", source: [{ value: 1, text: 'Male' }, { value: 2, text: 'Female' } ], display: function(value, sourceData) { var colors = { "": "gray", 1: "green", 2: "blue" }, elem = $.grep(sourceData, function(o) { return o.value == value; }); if (elem.length) { $(this).text(elem[0].text).css("color", colors[value]); } else { $(this).empty(); } } }); $('#dob').editable(); $('#event').editable({ placement: 'right', combodate: { firstItem: 'name' } }); $('#comments').editable({ showbuttons: 'bottom' }); $('#fruits').editable({ pk: 1, limit: 3, source: [{ value: 1, text: 'banana' }, { value: 2, text: 'peach' }, { value: 3, text: 'apple' }, { value: 4, text: 'watermelon' }, { value: 5, text: 'orange' } ] }); $('#user .editable').on('hidden', function(e, reason) { if (reason === 'save' || reason === 'nochange') { var $next = $(this).closest('tr').next().find('.editable'); if ($('#autoopen').is(':checked')) { setTimeout(function() { $next.editable('show'); }, 300); } else { $next.focus(); } } }); // ClockPicker $('.clockpicker').clockpicker({ autoclose: true }); // DateTimePicker $('#datetimepicker1').datetimepicker(); }); </script> </body> </html>
Save
cmd:
run