One Hat Cyber Team
Your IP :
172.70.80.191
Server IP :
188.114.96.4
Server :
Linux thuru 6.5.11-4-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-4 (2023-11-20T10:19Z) x86_64
Server Software :
Apache/2.4.51 (Unix) OpenSSL/1.0.2k-fips
PHP Version :
7.3.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
thuruk
/
public_html
/
application
/
views
/
Edit File:
trees_list_copy.php
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Thuru Kapakaru | Tree List</title> <link href="<?php echo base_url();?>public/assets/css/bootstrap.css" rel="stylesheet"> <link href="<?php echo base_url();?>public/assets/css/style.css" rel="stylesheet"> <link href="<?php echo base_url();?>public/assets/css/revolution-slider.css" rel="stylesheet"> <link href="<?php echo base_url();?>public/assets/css/mystyle.css" rel="stylesheet"> <link href="<?php echo base_url();?>public/assets/css/main.css" rel="stylesheet"> <link href="<?php echo base_url();?>public/assets/css/tree-style.css" rel="stylesheet"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <link href="<?php echo base_url();?>public/assets/css/responsive.css" rel="stylesheet"> <script src="https://raw.githubusercontent.com/mebjas/html5-qrcode/master/minified/html5-qrcode.min.js"></script> <style> .title-box { text-align: center; } .card { box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); transition: 0.3s; width: 30%; display: inline-block; margin: 5px; margin-bottom: 10px; height:500px; padding: 10px; background: #fff; border-radius: 15px; } .card-description { margin-top: 15px; border-left: 10px solid #6ac610; height: 275px; text-align: left; padding: 20px; margin-left: -10px; border-bottom-left-radius: 15px; display: flex; flex-direction: column; } .card:hover { box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); } .container { padding: 2px 16px; } .card-holder { width: 85%; display: inline-block; text-align: right; } .left-tree-list ul { margin-left: 30px; margin-top: 30px; } .left-tree-list ul li { padding: 15px; background-color: green; margin-bottom: 15px; border-radius: 15px; color: #fff; text-align: center; } p.tree-title { color: #6ac610; font-size: 16px; overflow: hidden; height: 100%; } .card span { color: #000; font-size: 18px; } .read-more-btn { display: block; background-color: #6ac610; color: #fff; width: max-content; padding: 10px 15px; border-radius: 10px; } .read-more-btn:hover { background-color: #000; color: #fff; } .left-tree-list { display: inline-block; width: 20%; } .tree-container { display: flex; } img.tree- { transition: transform 0.3s; } img.tree-img:hover { -ms-transform: scale(1.5); /* IE 9 */ -webkit-transform: scale(1.5); /* Safari 3-8 */ transform: scale(1.2); } /*mobile-view*/ @media screen and (max-width: 767px) { .card { width: 100%; } } /*tab-portrait*/ @media (min-width: 768px) and (max-width: 991px) { } /*large screen*/ @media screen and (min-width: 1400px) { } /*windows mobile*/ @media (max-width: 767px) and (min-width: 451px){ } </style> <?php $page='trees'; ?> </head> <body> <div class="page-wrapper"> <!-- Preloader <div class="preloader"></div> --> <?php // $path = $_SERVER['DOCUMENT_ROOT']; $path = "/resources/includes/header.php"; /*$path .= */ require_once(__DIR__.$path); ?> <!--Page Title--> <section class="testimonials-section" style="background-image:url(<?php echo base_url();?>public/assets/images/main-slider/1.jpg);"> <div class="auto-container"> <!--Slider--> <div class="row"> <h2 class="parallax-heading">Search Planted Tree Here </h2> </div> <div class="row"> <div class="container"> <div class="col-xs-12"> <!--search area--> <div class="s003 col-xs-12"> <form action="<?php echo base_url();?>Trees/TreeLibraryInfo" > <div class="inner-form"> <!-- <div class="input-field second-wrap"> <input id="search" type="text"name="keyword" placeholder="Enter Keywords?" /> </div> --> <div class="form-group search-group"> <select class="form-control" id="plant" name="name" > <option value="">Select a tree...</option> <?php $plantquery="select * from tree_name"; if ($plantresult = mysqli_query($connect,$plantquery)) { // Get field information for all fields while ($plantrow = mysqli_fetch_assoc($plantresult)) { ?> <option value="<?php echo $plantrow['name'];?>"><?php echo $plantrow['name'];?></option> <?php } } ?> </select> </div> <div class="input-field third-wrap"> <button class="btn-search" type="submit" > <svg class="svg-inline--fa fa-search fa-w-16" aria-hidden="true" data-prefix="fas" data-icon="search" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> <path fill="currentColor" d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"></path> </svg> </button> </div> </div> </form> </div> </div> </div> </div> </div> </section> <section class="default-section tree-section"> <div class="auto-container"> <div class="row clearfix"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"> <div class="container tree-container"> <!-- Tree cards --> <?php $x = 1;?> <div class="card-holder"> <?php while($row=mysqli_fetch_assoc($result)){ ?> <div class="card"> <img class="tree-img" src="<?php echo $row['image'];?>" style="width:100%;height:200px"> <div class="card-description"> <span>Name : </span> <p class="tree-title"><?php echo $row['title'];?></p> <span>Scientific Name : </span> <p class="tree-title"><?php echo $row['sname'];?></p> <a class="read-more-btn" href="<?php echo base_url()?>Trees/TreeInfo/<?php echo $row['plant_details_id']?>">Read More</a> </div> </div> <?php } ?> <?php $x++; ?> </div> </div> </div> </div> </div> </section> <!--Main Footer--> <?php include __DIR__.'/resources/includes/footer.php'; ?> </div> <!--End pagewrapper--> <!--Donate Popup--> <div class="modal fade pop-box" id="donate-popup" tabindex="-1" role="dialog" aria-labelledby="donate-popup" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <!--Donation Section--> <section class="donation-section"> <div class="donation-form-outer"> <form method="post" action="contact.html"> <!--Form Portlet--> <div class="form-portlet"> <h3>How Much Would you like to Donate?</h3> <div class="row clearfix"> <div class="form-group col-lg-7 col-md-12 col-xs-12 clearfix"> <div class="radio-select"> <input type="radio" name="sel-amount" id="amount-1"> <label for="amount-1">$10</label> </div> <div class="radio-select"> <input type="radio" name="sel-amount" id="amount-2" checked> <label for="amount-2">$25</label> </div> <div class="radio-select"> <input type="radio" name="sel-amount" id="amount-3"> <label for="amount-3">$50</label> </div> <div class="radio-select"> <input type="radio" name="sel-amount" id="amount-4"> <label for="amount-4">$100</label> </div> <div class="radio-select"> <input type="radio" name="sel-amount" id="amount-5"> <label for="amount-5">$150</label> </div> </div> <div class="form-group other-amount col-lg-5 col-md-8 col-xs-12 padd-top-10"> <input type="text" name="other-amount" value="" placeholder="Or Other Amount"> </div> </div> </div> <br> <!--Form Portlet--> <div class="form-portlet"> <h4>Billing Information</h4> <div class="row clearfix"> <div class="form-group col-lg-6 col-md-6 col-xs-12"> <div class="field-label">First Name <span class="required">*</span></div> <input type="text" name="name" value="" placeholder="First Name" required> </div> <div class="form-group col-lg-6 col-md-6 col-xs-12"> <div class="field-label">Last Name <span class="required">*</span></div> <input type="text" name="name" value="" placeholder="Last Name" required> </div> <div class="form-group col-lg-6 col-md-6 col-xs-12"> <div class="field-label">Email <span class="required">*</span></div> <input type="email" name="name" value="" placeholder="Email" required> </div> <div class="form-group col-lg-6 col-md-6 col-xs-12"> <div class="field-label">Phone <span class="required">*</span></div> <input type="text" name="name" value="" placeholder="Phone" required> </div> <div class="form-group col-lg-6 col-md-6 col-xs-12"> <div class="field-label">Address 1 <span class="required">*</span></div> <input type="text" name="name" value="" placeholder="Address 1" required> </div> <div class="form-group col-lg-6 col-md-6 col-xs-12"> <div class="field-label">Address 2 <span class="required">*</span></div> <input type="text" name="name" value="" placeholder="Address 2" required> </div> </div> </div> <br> <!--Form Portlet--> <div class="form-portlet"> <h4>Payment Information</h4> <div class="payment-option-logo"><img class="img-responsive" src="../images/resource/payment-logos.png" alt=""></div> <br> <div class="row clearfix"> <div class="form-group col-lg-6 col-md-6 col-xs-12"> <div class="field-label">Card Number <span class="required">*</span></div> <input type="text" name="name" value="" placeholder="Card Number" required> </div> <div class="form-group col-lg-6 col-md-6 col-xs-12"> <div class="field-label">Card Holder Name <span class="required">*</span></div> <input type="text" name="name" value="" placeholder="Card Holder Name" required> </div> <div class="form-group col-lg-3 col-md-3 col-xs-12"> <div class="field-label">Expire Date <span class="required">*</span></div> <select> <option>01</option> <option>02</option> <option>03</option> <option>04</option> <option>05</option> <option>06</option> <option>07</option> <option>08</option> <option>09</option> <option>10</option> <option>11</option> <option>12</option> </select> </div> <div class="form-group col-lg-3 col-md-3 col-xs-12"> <div class="field-label"> </div> <select> <option>2016</option> <option>2017</option> <option>2018</option> <option>2019</option> <option>2020</option> </select> </div> <div class="form-group col-lg-6 col-md-6 col-xs-12"> <div class="field-label">Security Code (CVC) <span class="required">*</span></div> <input type="text" name="name" value="" placeholder="Security Code" required> </div> </div> </div> <div class="text-left"><button type="submit" class="theme-btn btn-style-two">Donate Now</button></div> </form> </div> </section> </div> <!-- /.modal-content --> </div> <!-- /.modal-dialog --> </div> <!-- /.modal --> <!--registration js--> <script> var currentTab = 0; // Current tab is set to be the first tab (0) showTab(currentTab); // Display the current tab function showTab(n) { // This function will display the specified tab of the form ... var x = document.getElementsByClassName("tab"); x[n].style.display = "block"; // ... and fix the Previous/Next buttons: if (n == 0) { document.getElementById("prevBtn").style.display = "none"; } else { document.getElementById("prevBtn").style.display = "inline"; } if (n == (x.length - 1)) { document.getElementById("nextBtn").innerHTML = "Submit"; } else { document.getElementById("nextBtn").innerHTML = "Next"; } // ... and run a function that displays the correct step indicator: fixStepIndicator(n) } function nextPrev(n) { // This function will figure out which tab to display var x = document.getElementsByClassName("tab"); // Exit the function if any field in the current tab is invalid: if (n == 1 && !validateForm()) return false; // Hide the current tab: x[currentTab].style.display = "none"; // Increase or decrease the current tab by 1: currentTab = currentTab + n; // if you have reached the end of the form... : if (currentTab >= x.length) { //...the form gets submitted: document.getElementById("regForm").submit(); return false; } // Otherwise, display the correct tab: showTab(currentTab); } function validateForm() { // This function deals with validation of the form fields var x, y, i, valid = true; x = document.getElementsByClassName("tab"); y = x[currentTab].getElementsByTagName("input"); // A loop that checks every input field in the current tab: for (i = 0; i < y.length; i++) { // If a field is empty... if (y[i].value == "") { // add an "invalid" class to the field: y[i].className += " invalid"; // and set the current valid status to false: valid = false; } } // If the valid status is true, mark the step as finished and valid: if (valid) { document.getElementsByClassName("step")[currentTab].className += " finish"; } return valid; // return the valid status } function fixStepIndicator(n) { // This function removes the "active" class of all steps... var i, x = document.getElementsByClassName("step"); for (i = 0; i < x.length; i++) { x[i].className = x[i].className.replace(" active", ""); } //... and adds the "active" class to the current step: x[n].className += " active"; } </script> <script src="<?php echo base_url();?>public/assets/js/jquery.js"></script> <script src="<?php echo base_url();?>public/assets/js/bootstrap.min.js"></script> <script src="<?php echo base_url();?>public/assets/js/revolution.min.js"></script> <script src="<?php echo base_url();?>public/assets/js/jquery.fancybox.pack.js"></script> <script src="<?php echo base_url();?>public/assets/js/jquery.fancybox-media.js"></script> <script src="<?php echo base_url();?>public/assets/js/owl.js"></script> <script src="<?php echo base_url();?>public/assets/js/wow.js"></script> <script src="<?php echo base_url();?>public/assets/js/script.js"></script> <script src="http://code.jquery.com/jquery-1.10.2.js"></script> <script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script> </body> </html>
Simpan