403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/penpaleurope.com/backup/app/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/penpaleurope.com/backup/app//register.php
<?php include "general.php";
include "connect.php";


?>


<!DOCTYPE HTML>
<!--
	Latitude by Pixelarity
	pixelarity.com @pixelarity
	License: pixelarity.com/license
-->
<html>
	<head>
		<title>PenpalAfrica - Make New Friends in Africa</title>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
		<link rel="stylesheet" href="assets/css/main.css" />
		<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
		<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
<script>
  var OneSignal = window.OneSignal || [];
  OneSignal.push(function() {
    OneSignal.init({
      appId: "2f77761a-d6e8-4020-804d-5df63e9573fc",
    });
  });
</script>
	</head>
	<body>
		<div id="page-wrapper">

			<!-- Header -->
				<header id="header">
					<h1><a href="index.php"><img width='196' height='60' src='http://www.penpalafrica.com/api/penpallogo.png' alt='PenpalAfrica logo' /></a></h1>
					<nav id="nav">
						<ul>
							<li><a href="index.php">Home</a></li>
								<li><a href="login.php">Login</a></li>
							<li><a href="register.php">Register</a></li>
							<li><a href="faq.html">FAQ</a></li>

						</ul>

					</nav>
				</header>

			<!-- Main -->
				<section id="main" class="wrapper style1">
					<header class="major2">
						<h2>Register to get your PIN for chatting<br /></span></h2>

					</header>


<!-- Extra -->

                  <div class="container">




<!-- Form -->

							<section>
								<h3>Complete The Form Below</h3>
								<?php
					$errno = isset($_GET['err']) ? $_GET['err'] : '';
									 if($errno ==='1')
											{
												echo "<p style='color:red'>Database Error, please try again or contact your account manager</p>";
											}

						 if($errno ==='2')
											{
												echo "<p style='color:red'>Nickname, email, phonenumber, location, profile,country, age fields cannot be blank</p>";
											}

						 if($errno ==='3')
											{
												echo "<p  style='color:red'>Nickname or Passwword field must be 3+ characters long</p>";
											}

							if($errno ==='4')
											{
												echo "<p style='color:red'>Profile  Message is too short. It must be 30+ characters long</p>";
											}
							 if($errno ==='5')
											{
												echo "<p style='color:red'>Invalid Email</p>";
											}

							if($errno ==='6')
											{
												echo "<p style='color:red'>Phonenumber must be 7+ digits long</p>";
											}

							 if($errno ==='7')
											{
												echo "<p style='color:red'>Age Field must be a number</p>";
											}
							if($errno ==='23')
		 									{
		 													echo "<p style='color:red'>Pal Age must be 18+. You provided age less than 18 years.</p>";
		 									}

							 if($errno ==='8')
											{
												echo "<p style='color:red'>Nigerian Phonenumbers must be 13 digits long(Eg. 2348033214031)</p>";
											}

						 if($errno ==='9')
											{
												echo "<p style='color:red'>Nigerian Phonenumbers must start with 234 (Eg. 2348033214031)</p>";
											}

						 if($errno ==='10')
											{
												echo "<p style='color:red'>Username has been taken. Please select another username</p>";
											}

						 if($errno ==='11')
											{
												echo "<p style='color:red'>Email already exists. Please use another email or use forgot passsword to retrieve password</p>";
											}

							if($errno ==='12')
											{
												echo "<p style='color:red'>Phonenumber  already used. Please use another phonenumber</p>";
											}

						 if($errno ==='13')
											{
												echo "<p style='color:red'>Sorry we could not register you at this time. Please try later.</p>";
											}

						 if($errno ==='14')
											{
												echo "<p  style='color:red'>Please complete the form below to continue</p>";
											}


						 if($errno ==='18')
										{
											echo "<p style='color:red'>Ghana Phonenumbers must be 12 digits long(Eg. 233503321403)</p>";
										}

					 if($errno ==='19')
										{
											echo "<p style='color:red'>Ghana Phonenumbers must start with 233 (Eg. 233503321403)</p>";
										}


					 if($errno ==='20')
									{
										echo "<p style='color:red'>South Africa Phonenumbers must be 11 digits long(Eg. 27733321403)</p>";
									}

				 if($errno ==='21')
									{
										echo "<p style='color:red'>South Africa Phonenumbers must start with 27 (Eg. 27733321403)</p>";
									}
					if($errno ==='24')
			 										{
			 											echo "<p style='color:red'>Password did not match with confirm password</p>";
			 										}
					if($errno ==='25')
							 										{
							 											echo "<p style='color:red'>The Password provided is too short. Provide minimum of 6 Characters Password</p>";
							 										}


						 if($errno ==='26')
											{
												echo "<p style='color:red'>Phonenumber must be a number (Eg. 2348033214031)</p>";
											}

				 		 if($errno ==='27')
				 						 											{
				 						 												echo "<p style='color:red'>Phonenumber is in wrong format (2340) but should be 234 follow by a digit other than zero (0). (Eg. 2348033214031)</p>";
				 						 											}
			?>
								<form method="post" action="regsub.php">
									<div class="row uniform 50%">
										<div class="6u 12u(mobilep)">
											     <label for="name">Pick Nickname</label>
											     <input type="text" name="name" id="name" value="<?= $_SESSION['username'] ?>" placeholder="Pick Nickname eg Jane" required/>
										</div>
										<div class="6u 12u(mobilep)">
											<label for="email">Enter Email</label>
											<input type="email" name="email" id="email" value="<?= $_SESSION['email'] ?>" placeholder="Email, your initial password will be sent there"  required/>
										</div>
									</div>

									<div class="row uniform 50%">
										<div class="6u 12u(mobilep)">
											     <label for="pass">Enter Password (minimum of 6 characters)</label>
											     <input type="password" name="pass" id="pass" value=""  required/>
										</div>
										<div class="6u 12u(mobilep)">
											<label for="cpass">Confirm Password</label>
											<input type="password" name="cpass" id="cpass" value=""  required/>
										</div>
									</div>

									<div class="row uniform 50%">
										<div class="6u 12u(mobilep)">
											<label for="phone">Phonenumber</label>
											<input type="text" name="phone" id="phone" value="<?= $_SESSION['phone'] ?>" placeholder="Phonenumber" required/>
										</div>
										<div class="6u 12u(mobilep)">
											<label for="location">Location</label>
											<input type="text" name="location" id="location" value="<?= $_SESSION['location'] ?>" placeholder="Location Eg Lagos, Accra" required/>
										</div>
									</div>
				<div class="row uniform 50%">
							<div class="12u">
									<div class="select-wrapper">
				<label for="country">Country</label>
				<SELECT name="country" id="country"  >
				<option value="" selected="selected" >- Select Country - </option>

				<option value="Algeria">Algeria</option>
				<option value="Angola">Angola</option>
				<option value="Benin">Benin</option>
				<option value="Botswana">Botswana</option>
				<option value="Burkina Faso">Burkina Faso</option>
				<option value="Burundi">Burundi</option>
				<option value="Cabo Verde">Cabo Verde</option>
				<option value="Cameroon">Cameroon</option>
				<option value="Central African Republic (CAR)">Central African Republic (CAR)</option>
				<option value="Chad">Chad</option>
				<option value="Comoros">Comoros</option>
				<option value="Democratic Republic of the Congo">Democratic Republic of the Congo</option>
				<option value="Republic of the Congo">Republic of the Congo</option>
				<option value="Cote d'Ivoire">Cote d'Ivoire</option>
				<option value="Djibouti">Djibouti</option>
				<option value="Egypt">Egypt</option>
				<option value="Equatorial Guinea">Equatorial Guinea</option>
				<option value="Eritrea">Eritrea</option>
				<option value="Ethiopia">Ethiopia</option>
				<option value="Gabon">Gabon</option>
				<option value="Gambia">Gambia</option>
				<option value="Ghana">Ghana</option>
				<option value="Guinea">Guinea</option>
				<option value="Guinea-Bissau">Guinea-Bissau</option>
				<option value="Kenya">Kenya</option>
				<option value="Lesotho">Lesotho</option>
				<option value="Liberia">Liberia</option>
				<option value="Libya">Libya</option>
				<option value="Madagascar">Madagascar</option>
				<option value="Malawi">Malawi</option>
				<option value="Mali">Mali</option>
				<option value="Mauritania">Mauritania</option>
				<option value="Mauritius">Mauritius</option>
				<option value="Morocco">Morocco</option>
				<option value="Mozambique">Mozambique</option>
				<option value="Namibia">Namibia</option>
				<option value="Niger">Niger</option>
				<option value="Nigeria">Nigeria</option>
				<option value="Rwanda">Rwanda</option>
				<option value="Sao Tome and Principe">Sao Tome and Principe</option>
				<option value="Senegal">Senegal</option>
				<option value="Seychelles">Seychelles</option>
				<option value="Sierra Leone">Sierra Leone</option>
				<option value="Somalia">Somalia</option>
				<option value="South Africa">South Africa</option>
				<option value="South Sudan">South Sudan</option>
				<option value="Sudan">Sudan</option>
				<option value="Swaziland">Swaziland</option>
				<option value="Tanzania">Tanzania</option>
				<option value="Togo">Togo</option>
				<option value="Tunisia">Tunisia</option>
				<option value="Uganda">Uganda</option>
				<option value="Zambia">Zambia</option>
				<option value="Zimbabwe">Zimbabwe</option>


				</SELECT>
			</div>
								</div>
							</div>


									<div class="row uniform 50%">
										<div class="4u 12u(mobile)">
											<label for="male">Gender</label>
											<input type="radio" id="male" value ="M" name="sex" checked>
											<label for="male">Male</label>
										</div>
										<div class="4u 12u(mobile)">
											<label for="female">Gender</label>
											<input type="radio" id="female" value ="F" name="sex">
											<label for="female">Female</label>
										</div>
										<div class="6u 12u(mobilep)">
											<label for="age">Age</label>
											<input type="text" name="age" id="age" value="<?= $_SESSION['age'] ?>" placeholder="Your Age(18+)" />
										</div>
									</div>
									<div class="row uniform 50%">
										<div class="12u">
											<label for="profile">Profile Eg. I am Jane from Accra, I want Pals from Africa.</label>
											<textarea name="profile" id="profile" placeholder="Enter your profiile messsage Eg. I am Jane from Accra, I want Pals from Africa." rows="3" maxlength="500" required><?= $_SESSION['profile'] ?></textarea>
										</div>
									</div>
									<div class="row uniform">
										<div class="12u">
											<ul class="actions">
												<li><input type="submit" value="Submit" class="special" /></li>
												<li><input type="reset" value="Reset" /></li>
											</ul>
										</div>
									</div>
								</form>
							</section>


							<section>
								<header>
									<h3>Great People, Great Countries, and Great Continent</h3>
									<p>Meet New Friends in Nigeria & Ghana. Other Countries coming soon.</p>
								</header>

								<div class="row">
									<div class="3u 6u(narrow) 12u$(mobilep)">
										<a href="#" class="image fit"><img src="images/pic06.jpg" alt="" /></a>
										<p><strong>Nigeria Pals</strong> To Get started Send Penpal to 32811 N30.00 per sms</p>
									</div>
									<div class="3u 6u$(narrow) 12u$(mobilep)">
										<a href="#" class="image fit"><img src="images/pic07.jpg" alt="" /></a>
										<p><strong>Ghana Pals</strong> To Get started Send Penpal to 1903 CHc0.50 per sms</p>
									</div>
									<div class="3u 6u(narrow) 12u$(mobilep)">
										<a href="#" class="image fit"><img src="images/pic08.jpg" alt="" /></a>
										<p><strong>South Africa Pals</strong> To Get started Send Penpal to 33282 R1.50 per sms</p>
									</div>
									<div class="3u$ 6u$(narrow) 12u$(mobilep)">
										<a href="#" class="image fit"><img src="images/pic09.jpg" alt="" /></a>
										<p><strong>Other Africa Countries</strong> Coming soon. Please watch out</p>
									</div>
								</div>
							</section>


					</div>



					<div class="container">

						<!-- Content -->
						<section id="content">
     <h2>Check Below Latest 20 Pals <span>from Nigeria, Ghana and South Africa<br /></span></h2>


	  <?php

	     $query ="select nickname,age,sex,palid,location,country,profile, date(datesent) from penpalsubscriber where status ='1' and profile !='' order by sn desc limit 20;";
//echo $query;
if(!$result= mysqli_query($con,$query))
{
  //echo mysqli_error($con);
  echo "Database error please try again";
   mysqli_close($con);
   exit();
}

$cnt= "";
echo "<div class='table-wrapper'><table  class='alt' >";
echo "<tr>";

echo "<th>" ."Nickname" . "</th>". "<th>". "Age" . "</th>". "<th>". "Sex" . "</th>". "<th>" . "PIN". "</th>". "<th>" . "Location". "</th>"."<th>". "Country"."</th>"."<th>". "Profile"."</th>"."<th>". "Date Joined"."</th>";

echo "</tr>";
$cnt = 1;
$precountry = "";
while($row = mysqli_fetch_array($result))
{
  if ($cnt ==1)
   echo "<tr>";
  else
   echo "<tr class='alt'>";
  $cnt = $cnt+1;
  if ($cnt > 2)
      $cnt =1;

	$country = $row['country'];
	//$naira = $row['rp1'];
	//$euro = $row['rp5'];
	//$dollars = $row['rp8'];

//	if($precountry != $country)
//	echo "<td>" . $country."</td>";
	//else
	//echo "<td></td>";

	echo "<td>".$row['nickname']."</td>" . "<td>".$row['age']."</td>". "<td>". $row['sex']. "</td>". "<td>". $row['palid'] . "</td>". "<td>". $row['location'] . "</td>" . "<td>". $row['country'] . "</td>". "<td>". $row['profile'] . "</td>". "<td>". $row['date(datesent)'] . "</td>";
	echo "</tr>";

}


echo "</table></div>";
//echo $cnt;
mysqli_close($con);
	  ?>






                                               </section>
		</div>

		<div class="container">

		<section>
		<header>
		<h3>Advertisements</h3>
		<p></p>
		</header>

		<div class="row">
		<div class="3u 6u(narrow) 12u$(mobilep)">

			<p><strong>Bulsksms Service = Mobile Marketing</strong> Reach your clients through our bulksms platform, thousand of clients are alreading doing so. Registration is free.</p>
			<a href="http://www.247sms.com" class="image fit" target="_blank">Bulksms Service - Click here</a>
		</div>
		<div class="3u 6u$(narrow) 12u$(mobilep)">
			<a></a>
			<p></p>
		</div>
		<div class="3u 6u$(narrow) 12u$(mobilep)">
			<a></a>
			<p></p>
		</div>
		<div class="3u 6u$(narrow) 12u$(mobilep)">
			<a></a>
			<p></p>
		</div>

		</div>
		</section>


		</div>


		<!-- Footer -->
<footer id="footer">
<div class="container">
<div class="row">
<div class="3u 6u(narrow) 12u$(mobilep)">
	<h3>Penpal Africa - Nigeria</h3>
	<ul class="alt">
		<li><a href="#">Send Penpal to 33811 to Register</a></li>

	</ul>
	<h3>Penpal Africa - Kenya</h3>
	<ul class="alt">
		<li><a href="#">Send FOR15 Penpal to 72222 to Register</a></li>

	</ul>
</div>
<div class="3u 6u$(narrow) 12u$(mobilep)">
	<h3>Penpal Africa - Ghana</h3>
	<ul class="alt">
		<li><a href="#">Send Penpal to 1903 to Register</a></li>

	</ul>
	<h3>Penpal Africa - South Africa</h3>
	<ul class="alt">
		<li><a href="#">Send Penpal to 33282 to Register</a></li>

	</ul>
</div>
<div class="6u 12u$(narrow)">

	<h3>Contact Us</h3>
	<div class="row">

		<div class="6u 12u(mobilep)">
			<ul class="labeled-icons">
				<li>
					<h3 class="icon fa-envelope"><span class="label">Email</span></h3>
					<a href="#">support@penpalafrica.com</a>
				</li>
				<li>
					<h3 class="icon fa-twitter"><span class="label">Twitter</span></h3>
					<a href="#">@penpalafrica</a>
				</li>
			</ul>
		</div>
	</div>
</div>
</div>
</div>
<div class="copyright">
&copy; Penpal Africa 2017. All rights reserved.
</div>
</footer>

		</div>

		<!-- Scripts -->
			<script src="assets/js/jquery.min.js"></script>
			<script src="assets/js/jquery.dropotron.min.js"></script>
			<script src="assets/js/jquery.scrollgress.min.js"></script>
			<script src="assets/js/skel.min.js"></script>
			<script src="assets/js/util.js"></script>
			<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
			<script src="assets/js/main.js"></script>

	</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit