Location: PHPKode > scripts > Create Your Own Directory > cms/HRAS/users/index.php
<!-- This tool is developed by HIOX INDIA.	-->
<html>
<?php
include "../login/A-header.php";
?>
<?php
include "../login/A-urls.php";
//$em=$_GET['email'];
$em=$_SESSION['email'];

$link=mysql_connect($hostname, $username, $password);
$dbcon=mysql_select_db($dbname,$link);
$quer="select UserId,UserName from user where email='$em'";
$result=mysql_query($quer,$link);
while ($row=mysql_fetch_array($result,MYSQL_ASSOC))
{
  $name1=$row['UserName'];
  $id1=$row['UserId'];
}
$name="Welcome <font color=\"green\">$name1</font>";
?>
<br><br>
<table width=70% align=center>
<tr><td class=heading align=left height=60><?php echo($name)?></td></tr>
<tr><td height=60>
<?php
if($typ[7]=="updated")
      	{

      		echo"<img src=".$home."includes/print.php?cnt=".$id[7]." width=".$width[7]." height=".$height[7]." border=0 ><a class=heading href='viewprofile.php?name=$name1&email=$em'> View Profile</a> ";

      	}else{
      		echo"<img src=".$home."image/img7.gif  width=".$width[7]." height=".$height[7]." border=0 ><a class=heading href='viewprofile.php?name=$name1&email=$em'> View Profile</a> ";

   		}
	
    echo"</td><td height=60>";


if($typ[7]=="updated")
      	{

      		echo"<img src=".$home."includes/print.php?cnt=".$id[7]." width=".$width[7]." height=".$height[7]." border=0 ><a class=heading href='userlisting.php?name=$name1&id=$id1'> View Listing</a>";

      	}else{
      		echo"<img src=".$home."image/img7.gif  width=".$width[7]." height=".$height[7]." border=0 ><a class=heading href='userlisting.php?name=$name1&id=$id1'> View Listing</a>";

   		}
	
   echo"</td></tr><tr><td height=60>";
if($typ[7]=="updated")
      	{

      		echo"<img src=".$home."includes/print.php?cnt=".$id[7]." width=".$width[7]." height=".$height[7]." border=0 ><a class=heading href='addcontent.php?name=$name1&id=$id1'>Add Listing</a>";

      	}else{
      		echo"<img src=".$home."image/img7.gif  width=".$width[7]." height=".$height[7]." border=0 ><a class=heading href='addcontent.php?name=$name1&id=$id1'>Add Listing</a>";

   		}

echo" </td><td height=60>";

if($typ[7]=="updated")
      	{

      		echo"<img src=".$home."includes/print.php?cnt=".$id[7]." width=".$width[7]." height=".$height[7]." border=0 ><a class=heading href='favourite.php?sub=list&usrid=$id1'>Favourities</a>";

      	}else{
      		echo"<img src=".$home."image/img7.gif  width=".$width[7]." height=".$height[7]." border=0 ><a class=heading href='favourite.php?sub=list&usrid=$id1'>Favourities</a>";

   		}


echo"</td></tr></table></td></tr>";
?>
<?php
include "../login/A-footer.php";
?>
</html>
Return current item: Create Your Own Directory