/
home
/
u775757334
/
domains
/
civicwelllife.com
/
public_html
/
management
/
admin
/
/home/u775757334/domains/civicwelllife.com/public_html/management/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
scripts/
-
0755
rm
styles/
-
0755
rm
vendor/
-
0755
rm
add-product.php
18141
0644
edit
dl
rm
apply-fresh.php
26904
0644
edit
dl
rm
banner-list.php
15940
0644
edit
dl
rm
banner.php
15867
0644
edit
dl
rm
blog-list.php
15943
0644
edit
dl
rm
blog.php
17027
0644
edit
dl
rm
brand-list.php
15920
0644
edit
dl
rm
brand-logo-list.php
15299
0644
edit
dl
rm
brand-logo.php
16979
0644
edit
dl
rm
brand.php
16209
0644
edit
dl
rm
brocher-list.php
15713
0644
edit
dl
rm
career-enquiry-list.php
16537
0644
edit
dl
rm
categories-list.php
17202
0644
edit
dl
rm
categories.php
17416
0644
edit
dl
rm
change-password.php
11770
0644
edit
dl
rm
city-list.php
16215
0644
edit
dl
rm
city.php
16082
0644
edit
dl
rm
company-list.php
15504
0644
edit
dl
rm
company-office-list.php
15811
0644
edit
dl
rm
company-office.php
16131
0644
edit
dl
rm
company-profile.php
19643
0644
edit
dl
rm
company-stock.php
16999
0644
edit
dl
rm
company.php
21073
0644
edit
dl
rm
course-list.php
16177
0644
edit
dl
rm
course.php
19406
0644
edit
dl
rm
customer-list.php
18027
0644
edit
dl
rm
customer-order-list.php
20938
0644
edit
dl
rm
customer.php
18812
0644
edit
dl
rm
day.php
13822
0644
edit
dl
rm
dbc.php
6617
0644
edit
dl
rm
delivered-parcel-list.php
26169
0644
edit
dl
rm
distributor-list.php
17837
0644
edit
dl
rm
distributor-order-details.php
17018
0644
edit
dl
rm
distributor-order-list.php
22259
0644
edit
dl
rm
distributor.php
19110
0644
edit
dl
rm
enquiry-list.php
16660
0644
edit
dl
rm
export-data.php
16892
0644
edit
dl
rm
favicon.ico
1150
0644
edit
dl
rm
forgot-password.php
4019
0644
edit
dl
rm
gallery-list.php
15893
0644
edit
dl
rm
gallery.php
16793
0644
edit
dl
rm
genrate-customer-order.php
25330
0644
edit
dl
rm
genrate-lead-list.php
19566
0644
edit
dl
rm
genrate-lead.php
24067
0644
edit
dl
rm
genrate-order.php
22370
0644
edit
dl
rm
home.php
16384
0644
edit
dl
rm
import-deliver-report.php
18563
0644
edit
dl
rm
import-manager-user.php
20714
0644
edit
dl
rm
import-mis-report.php
21161
0644
edit
dl
rm
index.php
4739
0644
edit
dl
rm
inward-report-list.php
21518
0644
edit
dl
rm
lead-category-list.php
15237
0644
edit
dl
rm
lead-category.php
18615
0644
edit
dl
rm
lead-list.php
15963
0644
edit
dl
rm
lead-status-list.php
15374
0644
edit
dl
rm
lead-status.php
18394
0644
edit
dl
rm
lead.php
23475
0644
edit
dl
rm
manager-list.php
16921
0644
edit
dl
rm
manager-user-list.php
27810
0644
edit
dl
rm
media-list.php
17533
0644
edit
dl
rm
media.php
14839
0644
edit
dl
rm
menu-category-list.php
15739
0644
edit
dl
rm
menu-category.php
16257
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
mis-report-list.php
17045
0644
edit
dl
rm
mis-sample.csv
483
0644
edit
dl
rm
my-order-list.php
21040
0644
edit
dl
rm
my-product-stock.php
17959
0644
edit
dl
rm
my-retailer-order-list.php
20688
0644
edit
dl
rm
news-list.php
17941
0644
edit
dl
rm
news.php
17396
0644
edit
dl
rm
online-product-list.php
19468
0644
edit
dl
rm
online-product.php
17214
0644
edit
dl
rm
order-details.php
20698
0644
edit
dl
rm
order-list.php
23106
0644
edit
dl
rm
order-list2.php
22470
0644
edit
dl
rm
parcel-details-list.php
27146
0644
edit
dl
rm
parcel-request-list.php
27666
0644
edit
dl
rm
partners-list.php
15975
0644
edit
dl
rm
partners.php
17715
0644
edit
dl
rm
pdf-category-list.php
17954
0644
edit
dl
rm
pdf-category.php
16234
0644
edit
dl
rm
pdf-list.php
18100
0644
edit
dl
rm
pdf.php
18717
0644
edit
dl
rm
poster-list.php
15925
0644
edit
dl
rm
poster.php
16129
0644
edit
dl
rm
print-bill.php
25616
0644
edit
dl
rm
print-customer-bill.php
25378
0644
edit
dl
rm
product-list.php
18289
0644
edit
dl
rm
product.php
22375
0644
edit
dl
rm
project-category.php
19504
0644
edit
dl
rm
project-image-list.php
17805
0644
edit
dl
rm
project-image.php
17612
0644
edit
dl
rm
project-list.php
18233
0644
edit
dl
rm
project-product-list.php
17820
0644
edit
dl
rm
project-product.php
18483
0644
edit
dl
rm
project.php
19003
0644
edit
dl
rm
receive-product-list.php
17978
0644
edit
dl
rm
receive-product.php
19682
0644
edit
dl
rm
retail-print-bill.php
26362
0644
edit
dl
rm
retailer-genrate-order.php
22367
0644
edit
dl
rm
retailer-list.php
17825
0644
edit
dl
rm
retailer-order-details.php
17213
0644
edit
dl
rm
retailer-order-list.php
21049
0644
edit
dl
rm
retailer.php
19086
0644
edit
dl
rm
rm-order-list.php
22360
0644
edit
dl
rm
rm-user-list.php
17766
0644
edit
dl
rm
rm-user.php
19056
0644
edit
dl
rm
service-list.php
17589
0644
edit
dl
rm
service.php
15818
0644
edit
dl
rm
setting.php
19923
0644
edit
dl
rm
show-student-list.php
20558
0644
edit
dl
rm
size-list.php
16053
0644
edit
dl
rm
size.php
15517
0644
edit
dl
rm
source-list.php
15217
0644
edit
dl
rm
source.php
18382
0644
edit
dl
rm
staff-list.php
15906
0644
edit
dl
rm
staff.php
17700
0644
edit
dl
rm
state-list.php
15944
0644
edit
dl
rm
state.php
15242
0644
edit
dl
rm
stock-transaction.php
17998
0644
edit
dl
rm
stock.php
16317
0644
edit
dl
rm
team-list.php
16019
0644
edit
dl
rm
team.php
16318
0644
edit
dl
rm
testimonial-list.php
15969
0644
edit
dl
rm
testimonial.php
16399
0644
edit
dl
rm
university-list.php
17911
0644
edit
dl
rm
university.php
18601
0644
edit
dl
rm
upload-brocher.php
18118
0644
edit
dl
rm
user-list.php
16591
0644
edit
dl
rm
user.php
21410
0644
edit
dl
rm
view-lead.php
23641
0644
edit
dl
rm
view-product.php
18105
0644
edit
dl
rm
website-setting.php
12534
0644
edit
dl
rm
Edit:
/home/u775757334/domains/civicwelllife.com/public_html/management/admin/project-category.php
(19504B)
<?php include'loginQuery/session_start.php'; include'dbc.php'; $pageTitle="Add a new Category and other attributes"; $pageName = "Category"; $linkName = "Show All Category"; $editMode = "editData"; $addMode = "addData"; $tableName = $tblProjectCategory; $listPageUrl = $urlProjectCategoryList; $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 = $urlProjectCategory; } else { $returnurl = $urlProjectCategoryList; $id =""; $name =""; $url =""; $city_id =""; $description =""; $group_id =""; $thumb1 =""; $thumb2 =""; $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 >Parent Category</label> <select name="parent_id" class="form-control " > <option value="0">Parent</option> <?php $sqls=mysqli_query($conn,"SELECT * FROM $tblCategory where parent_id='0'")or die(mysqli_error($conn)); while($rows=mysqli_fetch_assoc($sqls)){ $parentID=$rows['id']; ?> <option <?php if($rows['id']==$parent_id){echo "selected";}?> value="<?php echo $rows['id']; ?>"> - <?php echo $rows['name']; ?></option> <?php } ?> </select> </div> <div class="col-xs-12 col-sm-4" > <label >Category Name</label> <input type="text" id="applicationname" name="name" value="<?= $name ;?>" class="form-control" > </div> <div class="col-xs-12 col-sm-4" > <label >URL</label> <input type="text" name="url" value="<?= $url ?>" id="setpageName" class="form-control" > </div> </div> <div class="form-group row"> <div class="col-xs-12 col-sm-12" > <label for="name">Description </label> <textarea class="editor" name="description"><?= $description ;?></textarea> </div> </div> <!-- <div class="form-group row"> <div class="col-xs-12 col-sm-6" > <label for="name">Order</label> <input type="text" name="ordering" value="<?php echo $ordering ;?>" class="form-control" > </div> <div class="col-xs-12 col-sm-6" > <label for="name">Status</label> <select name="status" class="form-control"> <option <?php if($status==1){echo 'selected';} ?> value="1">Active</option> <option <?php if($status==0){echo 'selected';} ?> value="0">In-Active</option> </select> </div> </div> --> <div class="form-group row" style="display: none"> <div class="col-xs-12 col-sm-12" > <input type="hidden" value="2" 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','image2','thumb2'); $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> <!-- <div class="form-group row"> <div class="col-xs-12 col-sm-12" > <label for="name">Meta Title </label> <input type="text" name="txtmetatitle" value="<?php echo $meta_title ;?>" class="form-control" > </div> </div> <div class="form-group row"> <div class="col-xs-12 col-sm-12" > <label for="name">Meta Keyword </label> <input type="text" name="txtmetakeyword" value="<?php echo $meta_keyword ;?>" class="form-control" > </div> </div> <div class="form-group row"> <div class="col-xs-12 col-sm-12" > <label for="name">Meta Description </label> <input type="text" name="txtmetadescription" value="<?php echo $meta_description ;?>" class="form-control" > </div> </div> --> <!--image section--> <div class="form-group row"> <div class="col-xs-3 control-label" for="name" style="width:19%"> <label>Main Image</label> <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 500 px </li> <li>Image format must be jpg or jpeg</li> </ul> </div> </div> <div class="form-group row"> <div class="col-xs-3 control-label" for="name" style="width:19%"> <label>Banner Image</label> <div id="brandimageprv2" class="img-content-size-1 common-fram "> <?php if($thumb2!=""){?> <img src="../media/image/thumb/<?php echo $thumb2;?>"/> <?php }?> </div> <input class="textbox brand-img2" type="file" name="image2fleimage" > </div> <div class="col-xs-4" style="width:49%"> <p class="text-left"><strong>Image Guidelines</strong></p> <ul> <li>Recomended image size 2000 x 650 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