hjkhjkjhkhjkgjghjhgjhgjghjhghjghjhgjjnbvnvbnvk
bnmbnmbnhjkhjkhjkhjktyutyutyuytutyutyutyhgjgjghjgjghjguytutyry
/
home
/
u932676976
/
domains
/
goldeninfradeveloper.com
/
public_html
/
Upload FileeE
HOME
<?php include 'function.php'; include 'db.php'; $siteid=$_GET['siteid']; $bbb="select * from site where siteid='$siteid'"; $bb=mysqli_query($con,$bbb); $b=mysqli_fetch_assoc($bb); $siten=$b['name']; ?> <html> <head> <title><?php cname();?></title> <link rel="shortcut icon" href="logo.png"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> .tooltip { position: relative; display: inline-block; border-bottom: 1px dotted black; } .tooltip .tooltiptext { visibility: hidden; width: 120px; background-color: yellow; color: red; text-align: center; border-radius: 6px; padding: 5px 0; font-size:10px; /* Position the tooltip */ position: absolute; z-index: 1; } .tooltip:hover .tooltiptext { visibility: visible; } </style> </head> <body> <center> <div style="width:60%;float:left;background-color:white;"> <?php $siteid=$_GET['siteid']; include 'db.php'; $aaa="select * from plot where sitename='$siteid'"; $aa=mysqli_query($con,$aaa); while($a=mysqli_fetch_assoc($aa)){ $plotno=$a['plotno'];$plotid=$a['plotid']; $plotcode=$a['plotcode']; $plotsize=$a['plotsize']; $width=$a['width']; $height=$a['lenth']; $avl=$a['availability']; $registrystatus=$a['registrystatus']; $bbb="select * from tenure where plotcode='$plotcode'"; $bb=mysqli_query($con,$bbb); $b=mysqli_fetch_assoc($bb); $usercode=$b['usercode']; $ccc="select * from user where usercode='$usercode'"; $cc=mysqli_query($con,$ccc); $c=mysqli_fetch_assoc($cc); $name=$c['name']; $ddd="select sum(amount) as dd from business where usercode='$usercode'"; $dd=mysqli_query($con,$ddd); $d=mysqli_fetch_assoc($dd); $deposit=$d['dd']; if($deposit){ $deposit=$deposit; }else{ $deposit="0"; } if($avl=="0"){ $stc="<div style='width:70px;height:25px;background-color:green;float:left;margin:.5px;color:white;' class='tooltip'>$plotno<span class='tooltiptext'>Available<br>Plot No : $plotno<br>Size : $plotsize sqyd($width*$height)<br>Status : Available</span></div>"; }elseif($avl=="3"){ $stc="<div style='width:70px;height:25px;background-color:orange;float:left;margin:.5px;color:white;'class='tooltip'>$plotno<span class='tooltiptext'>Plot No : $plotno<br>Size : $plotsize sqyd($width*$height)<br>Status : Onhold</span></div>"; }else{ $stc="<div style='width:70px;height:25px;background-color:red;float:left;margin:.5px;color:white;'class='tooltip'>$plotno<span class='tooltiptext'>Plot No : $plotno<br>Size : $plotsize sqyd($width*$height)</span></div>"; } if($registrystatus=="1"){ $stc="<div style='width:70px;height:25px;background-color:blue;float:left;margin:.5px;color:white;'class='tooltip'>$plotno<span class='tooltiptext'>Plot No : $plotno<br>Size : $plotsize sqyd($width*$height)<br></span></div>"; } echo "<a href='plotdetail.php?plotid=$plotid'>".$stc."</a>"; } ?> </div> <div style="width:30%;float:left;background-color:white;"> <b><?php echo $siten?> <br>Total Plots : <?php totalcount($siteid)?></b> <table> <tr><td><div style="background-color:green;width:50px;height:20px;"></div></td><td>Available</td><td><?php unbookedcount($siteid)?></td></tr> <tr><td><div style="background-color:red;width:50px;height:20px;"></div></td><td>Booked</td><td><?php bookedcount($siteid)?></td></tr> <tr><td><div style="background-color:orange;width:50px;height:20px;"></div></td><td>Oh hold</td><td><?php holdcount($siteid)?></td></tr> <tr><td><div style="background-color:blue;width:50px;height:20px;"></div></td><td>Registry</td><td><?php registrycount($siteid)?></td></tr> </table> </div> </center> </body> </html>