| 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 : /HostingSpaces/admin/penpalamerica.com/wwwroot/newpal2/ |
Upload File : |
<!DOCTYPE HTML>
<!--
Tactile by Pixelarity
pixelarity.com @pixelarity
License: pixelarity.com/license
-->
<html>
<head>
<title>PenpalAmerica - Get America Talking</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 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
</head>
<body>
<!-- Header -->
<header id="header">
<h1><a href="index.html">Penpal America <span>- Get America Talking</span></a></h1>
<a href="#">Android Mobile Phone Users Only</a>
<a href="#menu">Menu</a>
</header>
<!-- Menu -->
<nav id="menu">
<ul class="links">
<li><a href="index.html">Home</a></li>
<li><a href="newusers.php">New Users</a></li>
<li><a href="faq.html">FAQ</a></li>
</ul>
</nav>
<!-- Main -->
<article id="main">
<header>
<h2 class="major special">New Users to Penpal America</h2>
<p>Join Penpal America to make new friends in America</p>
</header>
<section class="wrapper">
<div class="inner">
<h2>The Latest 50 New Users to Join Penpal America</h2>
<?php
include "connect.php";
$query ="select nickname,age,sex,location,country,profile, date(datesent) from penpalsubscriberamerica where nickname != '' and profile !='' order by sn desc limit 50;";
//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>" . "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['location'] . "</td>" . "<td>". $row['country'] . "</td>". "<td width='40%'>". $row['profile'] . "</td>". "<td>". $row['date(datesent)'] . "</td>";
echo "</tr>";
}
echo "</table></div>";
//echo $cnt;
mysqli_close($con);
?>
<?php
include "connect.php";
$query ="select nickname,Sex,Age,location, country, profile from penpalsubscriberamerica where date(datesent) >='2019/11//17' and msisdn not like '+234%';";
//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 border=1 >";
echo "<tr>";
echo "<th>" ."Nickname" . "</th>". "<th>". "Sex" . "</th>". "<th>". "Age" . "</th>". "<th>" . "Location". "</th>"."<th>". "Country"."</th>"."<th>". "Profile"."</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['Sex']."</td>". "<td>". $row['Age']. "</td>". "<td>". $row['location'] . "</td>" . "<td>". $row['country'] . "</td>". "<td width='40%'>". $row['profile'] . "</td>";
echo "</tr>";
}
echo "</table></div>";
//echo $cnt;
mysqli_close($con);
?>
</div>
</section>
</article>
<!-- Footer -->
<footer id="footer">
<div class="inner">
</div>
<div class="copyright">
<ul class="labeled-icons">
<li>
© Penpal America 2019. All rights reserved.
</li>
<li>
<a href="privacy.html">Privacy</a>
</li>
<li>
<a href="terms.html">Terms</a>
</li>
<li>
<a href="#">support@penpalamerica.com</a>
</li>
</ul>
</div>
</footer>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrolly.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>