| Server IP : 127.0.0.1 / Your IP : 216.73.216.48 Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64 User : win 10 ( 0) PHP Version : 8.2.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/xampp/htdocs-coblaa/cbname/ |
Upload File : |
<html>
<?php
session_start();
include('db.php');
?>
<head>
<title>Cbname</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="main_css/celeb_list.css" />
<meta name="google-adsense-account" content="ca-pub-4728417548940171"><!--gog ads -->
</head>
<body >
<div style="display:none;">
<?php
$user_ip = getenv('REMOTE_ADDR');
$geo = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$user_ip"));
$city = $geo["geoplugin_city"];
$region = $geo["geoplugin_regionName"];
$country = $geo["geoplugin_countryName"];
/*echo"$user_ip";
echo "City: ".$city."<br>";
echo "Region: ".$region."<br>";
echo "Country: ".$country."<br>";
/*
geoplugin_request
geoplugin_status
geoplugin_credit
geoplugin_city
geoplugin_region
geoplugin_areaCode
geoplugin_dmaCode
geoplugin_countryCode
geoplugin_countryName
geoplugin_continentCode
geoplugin_latitude
geoplugin_longitude
geoplugin_regionCode
geoplugin_regionName
geoplugin_currencyCode
geoplugin_currencySymbol
geoplugin_currencySymbol_UTF8
geoplugin_currencyConverter
*/
?>
</div>
<?php
if(isset($_GET['celeb']))
{
$sea_celeb = $_GET['celeb'];
}
?>
<div class="main_container" >
<h3 class="main_title" ><img src="main_icon/bk_btn.jpg" onClick="history.back();" class="bk_btn" />The meaning of your name</h3>
<?php
//$get_name ="select * from nametb where fname like'$sea_name%' Or lname like'$sea_name%' ";
$get_name ="select * from nametb where fname='$sea_celeb' Or lname='$sea_celeb' ";
$run_get_name = mysqli_query($con,$get_name);
$check_name = mysqli_num_rows($run_get_name);
if($check_name <1){echo"<span class='check_output' >Check your spelling</span>";}else{
while($row_get_name = mysqli_fetch_array($run_get_name))
{
$cur_name = $row_get_name['fname'];
$id_name = $row_get_name['id'];
}
?>
<?php
$search_name ="select * from name_searchtb where name_id='$id_name' ";
$run_search_name = mysqli_query($con,$search_name);
$check_search_name = mysqli_num_rows($run_search_name);
if($check_search_name >0){ ?>
<!--div class="more_search" ><?php echo $check_search_name+1 ?> People have also searched about this name <strong><?php echo $cur_name ?></strong></div-->
<?php }else{
$insert_sea ="insert into name_searchtb (name_id,ipadress,country,city,cur_date,cur_time) values ('$id_name','$user_ip','$country','$city',CURDATE(),CURTIME() )";
$run_insert_sea = mysqli_query($con,$insert_sea);
}
//}
{
?>
<div class="sub_container" >
<div class="celeb_title" > Celebrities with this name </div>
<?php
$celeb_prof ="select * from celebtb where name_id='$id_name' ";
$run_celeb_prof = mysqli_query($con,$celeb_prof);
while($row_celeb_prof = mysqli_fetch_array($run_celeb_prof)){
$celeb_id = $row_celeb_prof['id'];
$celeb_name = $row_celeb_prof['celeb_name'];
$celeb_deta = $row_celeb_prof['celeb_detail'];
$celeb_url = $row_celeb_prof['img_url'];
?>
<div class="single_celeb_div" >
<div id="<?php echo $celeb_id; ?>" class="celeb_div" onClick="celeb_zoom(this.id);" ><img src="celeb_profile/<?php echo $celeb_url; ?>" class="celeb_img" /></div>
<span class="celeb_name" ><?php echo $celeb_name ?></span>
<span class="celeb_detail" ><?php echo $celeb_deta ?></span>
</div>
<?php } ?>
</div>
<?php } } ?>
</div>
<script>
zoom_status =0;
function celeb_zoom(cz)
{
if(zoom_status ==0){
document.getElementById(cz).style="width:100%;height:100%;position:fixed;left:0px;top:0px;";
zoom_status=1;
}else{
document.getElementById(cz).style="position:none;";
zoom_status=0;
}
}
</script>
</body>
</html>