| 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 : |
<?php include "general.php";
include "connect.php";
//if((( !empty($_SESSION['palid'])) && (!empty($_SESSION['nickname']))){
//header('Location: /penpal/login.php');
// die();
//}
?>
<!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='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>Login To Start Chatting<br /></span></h2>
</header>
<!-- Extra -->
<div class="container">
<!-- Form -->
<section>
<h3>Enter Email & Password to Login</h3>
<?php
$errno = isset($_GET['err']) ? $_GET['err'] : '';
if($errno ==='0')
{
echo "<p style='color:blue'>Bravo, Registration completed! <br>Please check your email for activation link. <br>Check SPAM folder in case it is not in your inbox. </p>";
}
if($errno ==='1')
{
echo "<p style='color:red'>Sorry, You must login before using the service, Kindly login here.</p>";
}
if($errno ==='2')
{
echo "<p style='color:red'>You have used wrong activation link. Please check your email for correct link</p>";
}
if($errno ==='3')
{
echo "<p style='color:red'>Your account has already be activated before. <br>Please use your email and password to login and start chatting with Pals.</p>";
}
if($errno ==='4')
{
echo "<p style='color:blue'>Your account successfully activated. Please use your email and password to login and start chatting with Pals</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</p>";
}
if($errno ==='12')
{
echo "<p style='color:red'>Phonenumber already used. Please use another phonenumber</p>";
}
if($errno ==='13')
{
echo "<p><span class='redwords'>Sorry we could not send you an SMS this time. Please try later.</span></p>";
}
if($errno ==='14')
{
echo "<p style='color:red'>Please complete the form below to continue</p>";
}
if($errno ==='15')
{
echo "<p style='color:red'>Sorry, we cannot change your password now. Kindly try again.</p>";
}
if($errno ==='16')
{
echo "<p style='color:red'>Sorry, the password reset link has expired. <br>Start again from here by clicking on forgot password link</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 ==='22')
{
echo "<p style='color:red'>Sorry, Your Email or Password is not correct. <br>Please try again or use the Forgot Password to retrieve your Password.</p>";
}
if($errno ==='25')
{
echo "<p style='color:blue'>Success, Password Reset successful. Kindly login with the new password</p>";
}
if($errno ==='26')
{
echo "<p style='color:blue'>You have successfully logged out. <br>To login again kindly enter your Email and Password.</p>";
}
if($errno ==='28')
{
echo "<p style='color:red'>Sorry, You need to activate your account before logging in. <br>We have sent you the activation link to your email. <br>kindly check your email.</p>";
}
if($errno ==='29')
{
echo "<p style='color:red'>Sorry, We cannot locate your account details. Kindly try again or contact support @ penpalafrica.com</p>";
}
if($errno ==='30')
{
echo "<p style='color:blue'>You have successfully unsubscribed from PenpalAfrica Mailing List. <br>You will not get any email from use any more</p>";
}
if($errno ==='31')
{
echo "<p style='color:red'>Sorry, we cannot automatically retrieve your messages. . Please login here to check your message. </p>";
}
?>
<form method="post" action="validatelogin.php">
<div class="row uniform 50%">
<div class="6u 12u(mobilep)">
<label for "email">Enter Email</label>
<input type="email" name="email" id="email" value="" placeholder="Enter Your Email" required/>
</div>
</div>
<div class="row uniform 50%">
<div class="6u 12u(mobilep)">
<label for "pass">Enter Password</label>
<input type="password" name="pass" id="pass" value="" placeholder="Enter Your Password" required/>
</div>
</div>
<div class="row uniform">
<div class="12u">
<ul class="actions">
<li><input type="submit" value="Login" class="special" /></li>
</ul>
</div>
</div>
<div class="row uniform 50%">
<div class="12u">
<ul class="actions">
<li><a href="fpassword.php">Forgot Password</a></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>
<!-- 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">
© 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>