MOON
Server: Apache
System: Linux ip-208-109-13-31.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els4.x86_64 #1 SMP Sat Aug 31 06:58:57 UTC 2024 x86_64
User: durgeshpandey215 (1013)
PHP: 8.1.29
Disabled: NONE
Upload Files
File: /home/durgeshpandey215/public_html/zeeroprice.skilladders.com/profile.php
<?include "application_top.php";
require "protect.php";
	$sql = "select * from register where istatus = ? and userid =? limit 1";
	$param[] = 1;
	$param[] = $_SESSION['useridsess'];
	$rows = $db->rawQuery($sql,$param);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>My profile</title>
<? require_once "scripts.php";?>
</head>
<body>

	<? $pagename = 'register'; require "include/header.php";?>
	<? require "top-links-user.php";?>
	<div class="w3-col m8 w3-container"><!--w3-twothird starts here -->

		<div class="w3-row">
			<div class="w3-col s8">
			<h1>Your Profile</h1>
			</div>
			<div class="w3-col s4 w3-right-align">
			</div>
		</div>
		<?=$msg;?>
			
			
			<a id="peopleknow"></a>
			<center>
			<div id="whatsappDiv" >
			<a href="https://wa.me/?text=Hey! check out my <?=HTTP_CITYNAME;?>City page here <?=HTTP_SERVER;?>People-in-<?=str_replace(" ","-",titlecase($rows[0]['area']));?>-<?=urlencode(HTTP_CITYNAME);?>/<?=urlencode(str_replace(" ","-",$rows[0]['fullname']));?>_<?=encode($rows[0]['userid']);?>.html Thanks!" data-action="share/whatsapp/share">
			<img src="<?=HTTP_SERVER;?>images/whatsapp.png"/>
			<br/>व्हाट्सएप पर अपनी प्रोफाइल शेयर करें.
			</a>
			</div>
			</center>
			
			<h2>इन लोगों ने आपको ऐरोली में देखा है</h2>
			<div class="w3-row">
				<div class="w3-col m12">
			<?	
				
				//--------------pagination BOF-------------------------------------------
					$from_where = '* from iknowu where u = ?' ;
					$whereParams[] = $userid;
					$extra = "&#peopleknow";
					$adjacents = 3;
					$limit = 30; 							//how many items to show per page
					$targetpage = strtok($_SERVER["REQUEST_URI"],'?');; 	//your file name  (the name of this file)
					$total_pages = "";
					require "paginationseo.php";
				//--------------pagination EOF--------------------------------------------
				$peoplearr = array();
				$peoplequest = "";
				foreach($rows as $rowpeople){
					$peoplearr[] = $rowpeople['i'];	
					$peoplequest = ($peoplequest)? $peoplequest.',?':'?';
				}
				if(count($peoplearr)){
				$sql = "SELECT userid,fullname,area,pic,gender FROM register WHERE userid IN ($peoplequest) limit $limit";
				$rows = $db->rawQuery($sql,$peoplearr);			
					foreach($rows as $row){
					?>
					<? $picname = $row['pic']; if($picname=='' && $row['gender']=='M'){ $picname='male.png';}else if($picname=='' && $row['gender']=='F'){$picname='female.png';}?>
					<div class="w3-col m3 w3-animate-bottom" style="padding:10px;background-color:#eee;">
						<center><a href="<?=HTTP_SERVER;?>People-in-<?=str_replace(" ","-",titlecase($row['area']));?>-<?=urlencode(HTTP_CITYNAME);?>/<?=urlencode(str_replace(" ","-",$row['fullname']));?>_<?=encode($row['userid']);?>.html" class="masterTooltip" title="<?=$row['fullname'];?>">
						<img src="<?=HTTP_SERVER;?>images/photos/photosThumbs/<?=$picname;?>" style="max-height:150px;display:block;"/>
						</a>
						<span><?=truncate($row['fullname'],30);?></span>
						</center>
					</div>
					<?
					}
				}else{
					?>Nobody Yet :( <?
				}
				?><center><?=$pagination;?></center><?
			?>
				</div>
			</div>
		
	<br/><br/>
	</div><!--w3-twothird ends here -->
	<? include "userleftDiv.php";?>	
	<? include "include/footer.php";?>
</body>
</html>