<?php
//v1.0.4 www.bcoos.net 2006/10 GPL
//v3.1 www.exoops.info 2006/03
##################################################################################
# Friend Finder for e-xoops  Version 3.02 beta                                 #
#                                                                                #
# Script design  : PhpMeet  :   Copyright 2002 Jeremy Ross-webmaster@phprank.com #
# Created 15/01/02              Last Modified 15/01/02                           #
# Scripts Home              :   http://www.jrscripts.com                         #
#                                                                                #
# Xoops-RC2 French Version  :   jokerman@free.fr                                 #
# Web Home                     :   http://www.webetfric.com                      #
#                                                                                #
# Xoops-RC2 English Version :          Neon@neon.qldgamers.com                   #
# Web Home                  :   http://neon.qldgamers.com                        #
#                                                                                #
#                 Redesigned and new improvemends by                             #
#        eagle81 Manuel Caballero       Manuel@dancepartner.net                  #
#                    http://www.dancepartner.net                                 #
#                             2002-09-12                                         #
##################################################################################
// ORIGINAL FILE INFO
include("../../mainfile.php");
$bcoosConfig['title'] .= " - ".XFF;
include(XOOPS_ROOT_PATH."/header.php");
include(XOOPS_ROOT_PATH."/modules/friendfinder/cache/config.php");
include(XOOPS_ROOT_PATH."/modules/friendfinder/header.php");
include(XOOPS_ROOT_PATH."/modules/friendfinder/age.php");
include(XOOPS_ROOT_PATH."/include/xoopscodes.php");
$xoopsOption['show_rblock'] =1;
global $db, $xoopsTheme, $bcoosConfig, $xoopsModule, $myts,$xoopsUser;
global $dateformat, $autoactive, $imagesize, $heightunit, $weightunit;
        OpenTable();
//************************************************************
if (isset($id) || $id != "")
{
$view = $db->query("SELECT id,user,active,sex,category,name,email,city,state,country,hobby,partner,height,weight,birth,pic,Description,imgname,imgtime,date, title FROM ".$db->prefix("friendfinder")."
inner join ".$db->prefix("friendfinder_state")." on state = cid WHERE id = '$id'");
        while (list($id,$user,$active,$sex,$category,$name,$email,$city,$state,$country,$hobby,$partner,$height,$weight,$birth,$pic,$Description,$imgname,$imgtime,$date,$title ) = $db->fetchRow($view)) {
if ($pic != "") {
 echo"<table align=center width=600><tr><td width=400>"; }
echo"
  <table align=center border=0 cellpadding=5 width=400>
  <tr><td> "._UNAME." </td></td>
  <td> ".$myts->makeTboxData4Show($user)."</td></tr>
  <tr><td> "._TEXTVIEWREALNAME."</td>
  <td>".$myts->makeTboxData4Show($name)."</td></tr>
  <tr><td>"._EMAIL.':'."</td>
  <td><a href=email.php?id=".$myts->makeTboxData4Show($id).">  "._TEXTVIEWEMAILSEND." </td></tr>
  <tr><td> "._TEXTVIEWCOUNTRY."</td>
  <td>".$myts->makeTboxData4Show($country)."</td></tr>
  <tr> <td>"._TEXTREGION."</td>
  <td>".$myts->makeTboxData4Show($title)."</td></tr>
  <tr><td>"._TEXTVIEWCITY."</td>
  <td>".$myts->makeTboxData4Show($city)."</td></tr>
  <tr><td>"._TEXTWEIGHT."</td>
  <td>".$myts->makeTboxData4Show($weight)."
  ".$weightunit."</td></tr>
  <tr><td>"._TEXTHEIGHT."</td>
  <td>".$myts->makeTboxData4Show($height)."
  ".$heightunit."</td></tr>
  <tr><td>"._TEXTAGE."</td>
  <td>".getage($myts->makeTboxData4Show($birth))."</td></tr>
  <tr><td> "._HOBBY."</td>
  <td>".$myts->makeTboxData4Show($hobby)."</td></tr>
  <tr><td> "._DESCRIPTION.':'."</td>
  <td>".$myts->makeTboxData4Show($Description)."</td></tr>
   </table>";
 if ($pic != "") {
   echo"</td>
    <td width=432><img src='members/uploads/".$myts->makeTboxData4Show($pic)."' arsch  border=0></td>
  </tr>
</table>";
}
}
} else {
echo "<font face=arial size=2>No ID set!</font>";
}
include "admin/foot.php";
//************************************************************
        CloseTable();
include("../../footer.php");
?>
