/
home
/
u764571690
/
domains
/
savitrfoundation.com
/
public_html
/
admin
/
pages
/
/home/u764571690/domains/savitrfoundation.com/public_html/admin/pages
mkdir
upload
Name
Size
Mode
Actions
add_admission.php
11418
0644
edit
dl
rm
add_blog.php
3882
0644
edit
dl
rm
add_campaign.php
4326
0644
edit
dl
rm
add_certificate.php
3756
0644
edit
dl
rm
add_college.php
5839
0644
edit
dl
rm
add_college_courses.php
6366
0644
edit
dl
rm
add_content.php
5380
0644
edit
dl
rm
add_course.php
3249
0644
edit
dl
rm
add_expense.php
3847
0644
edit
dl
rm
add_expenses.php
4373
0644
edit
dl
rm
add_fees.php
4576
0644
edit
dl
rm
add_gallery.php
4054
0644
edit
dl
rm
add_intern.php
29360
0644
edit
dl
rm
add_internship.php
6273
0644
edit
dl
rm
add_internship_gallery.php
5994
0644
edit
dl
rm
add_intern_blog.php
7234
0644
edit
dl
rm
add_receive.php
3836
0644
edit
dl
rm
add_service.php
2773
0644
edit
dl
rm
add_specialisation.php
3713
0644
edit
dl
rm
add_stream.php
2405
0644
edit
dl
rm
admission_report.php
10404
0644
edit
dl
rm
appointment_list.php
2138
0644
edit
dl
rm
campaign_list.php
1733
0644
edit
dl
rm
campaign_update.php
3882
0644
edit
dl
rm
certificate_edit.php
3586
0644
edit
dl
rm
contact_form.php
1972
0644
edit
dl
rm
contact_us.php
2009
0644
edit
dl
rm
content_pages.php
3154
0644
edit
dl
rm
edit_add.php
3836
0644
edit
dl
rm
edit_admission.php
8973
0644
edit
dl
rm
edit_blog.php
3913
0644
edit
dl
rm
edit_campaign.php
6227
0644
edit
dl
rm
edit_college.php
6421
0644
edit
dl
rm
edit_college_courses.php
7991
0644
edit
dl
rm
edit_course.php
3661
0644
edit
dl
rm
edit_courses_content.php
3623
0644
edit
dl
rm
edit_donation.php
3588
0644
edit
dl
rm
edit_expense.php
3865
0644
edit
dl
rm
edit_expenses.php
3911
0644
edit
dl
rm
edit_fees.php
3357
0644
edit
dl
rm
edit_fees_type.php
2850
0644
edit
dl
rm
edit_gallery.php
4658
0644
edit
dl
rm
edit_intern.php
35116
0644
edit
dl
rm
edit_internship.php
7595
0644
edit
dl
rm
edit_internship_gallery.php
7328
0644
edit
dl
rm
edit_intern_blog.php
8254
0644
edit
dl
rm
edit_invoice.php
4916
0644
edit
dl
rm
edit_report.php
19
0644
edit
dl
rm
edit_service.php
3127
0644
edit
dl
rm
edit_specialisation.php
4712
0644
edit
dl
rm
edit_stream.php
2783
0644
edit
dl
rm
edit_student_list.php
0
0644
edit
dl
rm
edit_user.php
3547
0644
edit
dl
rm
edit_volunteer.php
4110
0644
edit
dl
rm
enquiry.php
3070
0644
edit
dl
rm
fees_type.php
3127
0644
edit
dl
rm
foot.php
6385
0644
edit
dl
rm
gallery.php
3996
0644
edit
dl
rm
gallery_edit.php
3460
0644
edit
dl
rm
gallery_view.php
1734
0644
edit
dl
rm
get.php
28
0644
edit
dl
rm
head.php
13417
0644
edit
dl
rm
home.php
4504
0644
edit
dl
rm
home_enquiry.php
2024
0644
edit
dl
rm
important.php
15460
0644
edit
dl
rm
logout.php
60
0644
edit
dl
rm
postAcceptor.php
2170
0644
edit
dl
rm
student_list.php
9476
0644
edit
dl
rm
view_admission.php
2875
0644
edit
dl
rm
view_blog.php
4991
0644
edit
dl
rm
view_campaign.php
5875
0644
edit
dl
rm
view_certificate.php
1678
0644
edit
dl
rm
view_college.php
3611
0644
edit
dl
rm
view_college_courses.php
4203
0644
edit
dl
rm
view_course.php
3579
0644
edit
dl
rm
view_donation.php
1817
0644
edit
dl
rm
view_expense.php
1897
0644
edit
dl
rm
view_expenses.php
1848
0644
edit
dl
rm
view_fees.php
1825
0644
edit
dl
rm
view_fees_type.php
1679
0644
edit
dl
rm
view_gallery.php
4592
0644
edit
dl
rm
view_interns.php
4184
0644
edit
dl
rm
view_internship.php
4092
0644
edit
dl
rm
view_internship_gallery.php
5239
0644
edit
dl
rm
view_intern_blog.php
5330
0644
edit
dl
rm
view_invoice.php
15361
0644
edit
dl
rm
view_invoice2.php
1898
0644
edit
dl
rm
view_message.php
2367
0644
edit
dl
rm
view_report.php
9643
0644
edit
dl
rm
view_service.php
1691
0644
edit
dl
rm
view_specialisation.php
3605
0644
edit
dl
rm
view_stream.php
3579
0644
edit
dl
rm
view_user.php
3894
0644
edit
dl
rm
view_user2.php
1809
0644
edit
dl
rm
volunteer.php
2110
0644
edit
dl
rm
Edit:
/home/u764571690/domains/savitrfoundation.com/public_html/admin/pages/edit_campaign.php
(6227B)
<div class="content-wrapper"> <!-- Main content --> <?php date_default_timezone_set('Asia/Kolkata'); $id=get(2); $slider=fetchall("campaign where ID=$id"); foreach($slider as $slider) { } ?> <style> .preview_image { display:block; margin:auto !important; } .select2-container .select2-selection--single { height: 40px; } .select2-container--default .select2-selection--single .select2-selection__arrow { top: 5px; } </style> <style> input.larger{ width: 30px; height: 30px; } </style> <script> function loadLogo(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#logo') .attr('src', e.target.result); }; reader.readAsDataURL(input.files[0]); } } </script> <section class="content"> <div class="row"> <div class="col-md-12"> <!-- general form elements disabled --> <div id="web_settings" class="card card-primary "> <div class="card-header bg-info"> <h3 class="card-title">Edit Campaign</h3> </div> <!-- /.card-header --> <div class="card-body"> <form name="edit_campaign" method="post" id="edit_campaign" enctype="multipart/form-data"> <div class="row"> <input type="hidden" name="edit_camp_id" id="edit_camp_id" value="<?php echo $id;?>"> <div class="col-sm-6"> <div class="form-group ctrl_box"> <label>Campaign Name :</label> <input type="text" name="camp_name" id="camp_name" class="form-control" value="<?php echo $slider['campaign_name'];?>"> </div> </div> <div class="col-sm-6"> <div class="form-group ctrl_box"> <label>Enter Desire Amount :</label> <input type="text" name="amount" id="amount" class="form-control" value="<?php echo $slider['amount'];?>"> </div> </div> <div class="col-sm-6"> <div class="form-group ctrl_box"> <label>Maximum Donation :</label> <input type="text" name="max_amount" id="max_amount" class="form-control" value="<?php echo $slider['max_amount'];?>"> </div> </div> <div class="col-sm-6"> <div class="form-group ctrl_box"> <label>Minimum Donation :</label> <input type="text" name="min_amount" id="min_amount" class="form-control" value="<?php echo $slider['min_amount'];?>"> </div> </div> <div class="col-sm-5"> <div class="form-group ctrl_box"> <label>Start Date :</label> <input type="date" class="form-control" name="s_date" id="s_date"/ value="<?php echo $slider['start_date'];?>"> </div> </div> <div class="col-sm-2"> <div class="form-group"> <label style="margin-left:50px;">Running:</label><br> <input name="running" type="checkbox" id="running" class="larger" value="1" <?php if($slider['camp_status'] == 1) echo 'checked';?> style="margin-left:70px;" onclick="camp_running()"> </div> </div> <div class="col-sm-5" id="camp"> <div class="form-group ctrl_box"> <label>End Date :</label><br> <input type="date" class="form-control" name="e_date" id="e_date" value="<?php echo $slider['end_date'];?>"/> <span id="show" style="display:none;"><?php echo $slider['end_date'];?></span> </div> </div> <div class="col-sm-6"> <div class="form-group ctrl_box"> <label>Description :</label> <input type="text" name="description" id="description" class="form-control" value="<?php echo $slider['discription'];?>"> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label>Campaign Image :</label> <div class="custom-file ctrl_box"> <input name="image" type="file" id="logo_image" onchange="loadLogo(this);" class="custom-file-input" id="customFile"> <label class="custom-file-label" for="customFile">Choose file</label> </div> </div> </div> <!--<div class="col-sm-6">--> <!-- <div class="form-group ctrl_box">--> <!-- <label>Status:</label>--> <!-- <input class="form-control" name="status" id="status" value="">--> <!-- </div>--> <!-- </div>--> <div class="col-sm-6"> <div class="form-group"> <img class="preview_image img-fluid" id="logo" src="uploads/images/<?php echo $slider['image'];?>" alt="your image" /> </div> </div> </div> <div class="row"> <div class="col-sm-12"> <div class="form-group"> <input type="submit" name="add_campaign" class="btn btn-info btn-block" value=" Update Campaign"/> </div> </div> </div> </form> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> </div> </section> </div> <script> function camp_running() { // Get the checkbox var checkBox = document.getElementById("running"); // Get the output text var text = document.getElementById("e_date"); var cont = document.getElementById("show"); // If the checkbox is checked, display the output text if (checkBox.checked == true) { text.style.display = 'none'; } else{ text.style.display = 'block'; } if(checkBox.checked == true){ cont.style.display = 'block'; } else{ cont.style.display = 'none'; } } </script> <script> $(document).ready(function(){ $('.select2').select2(); }); </script>
Save
Edit Campaign
Campaign Name :
Enter Desire Amount :
Maximum Donation :
Minimum Donation :
Start Date :
Running:
style="margin-left:70px;" onclick="camp_running()">
End Date :
Description :
Campaign Image :
Choose file