query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { $uid = $row["uid"]; $fname = $row["fname"]; $gender = $row["gender"]; $married = $row["married"]; $myage = $row["myage"]; $dob = $row["dob"]; $nage = formatage("$dob"); $mycity = $row["my_city"]; $newcity = trim($mycity, " 1..9"); $mytaluka = $row["my_taluka"]; $mydiv = $row["my_div"]; $mystate = $row["my_state"]; $height = $row["height"]; $unchi = getMeasurements("$height"); $weight = $row["weight"]; $bloodgroup = $row["bloodgroup"]; $bgroup = getbloodgroup("$bloodgroup"); $birthplace = $row["birthplace"]; $skincolor = $row["complexion"]; $skincolor = getskin("$skincolor"); $bodytype = $row["body_type"]; $getphstatus = $row["phstatus"]; if($getphstatus=='0') { $phstatus = 'NO'; }else{ $phstatus = $row["phch"]; } $uaddress = "$newcity, $mytaluka, $mydiv, $mystate"; /////////$uaddress = "$newcity, $mytaluka, $mydiv, $mystate"; $mid = $row["mem_id"]; $religion = $row["religion"]; $caste = $row["caste"]; if($gender=='m') { $gender = 'Male'; $ogender = 'Female'; if($married=='u') { $mstatus = 'Unmarried'; }else if($married=='d') { $mstatus = 'Divorcee'; }else if($married=='w') { $mstatus = 'Widower'; }else { $mstatus = 'Not Specified'; } }else{ $gender = 'Female'; $ogender = 'Male'; if($married=='u') { $mstatus = 'Unmarried'; }else if($married=='d') { $mstatus = 'Divorcee'; }else if($married=='w') { $mstatus = 'Widow'; }else { $mstatus = 'Not Specified'; } } $education = $row["education"]; $education = formateducation("$education"); $eduspec = $row["eduspec"]; $occutype = $row["occupation_type"]; $occupation = $row["occupation"]; $mincome = $row["monthlyincome"]; $get_amount = AmountInWords($mincome); $mlang = $row["my_lang"]; $olang = $row["other_lang"]; echo " $sitename | $fname $mid's Profile
"; include("pages/header.php"); echo "
\"cover-pic\"
Edit Photo
\"DP\"
Edit

$fname ( $mid )

Active 02 Minutes Ago

\"profile\"

Active 02 Minutes Ago

Basic Information
  • Name & Age & Gender

    $fname $nage Years old $gender

  • Marital Status

    $mstatus

  • Date of Birth

    $dob

  • Address (City)

    $uaddress

  • Languages

    $mlang & $olang

"; if(($married=='w') || ($married=='d')) { $sql = "SELECT * FROM for_second_marriage WHERE `uid`='$uid'"; $result = $db->query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { $hchild = $row["has_child"]; if($hchild=='0') { $cchild = 'No'; }else if($hchild=='1') { $cchild = 'Yes'; } $noch = $row["no_of_child"]; $chincus = $row["child_in_custody"]; echo "
Additional Information for $mstatus Profile
  • Has Child ?

    $cchild

  • "; if($hchild>0) { echo "
  • No. of Childrens

    $noch

  • Childrens in custody

    $chincus

  • "; } echo "
"; } }else{ echo "
No Additional Information for This $mstatus Profile
"; } } /////////////////////////// contact info $sql = "SELECT * FROM ask_contact WHERE `byuid`='$myid' AND `touid`='$uid'"; $result = $db->query($sql); if ($result->num_rows > 0) { while($row = $result->fetch_assoc()) { $askstatus = $row["status"]; if($askstatus=='1') { $sql = "SELECT * FROM data_contact WHERE `uid`='$uid'"; $cresult = $db->query($sql); if ($cresult->num_rows > 0) { while($row = $cresult->fetch_assoc()) { $currentresidence = $row["currentresidence"]; $umobile = $row["mobile"]; $ulandline = $row["landline"]; echo "
Contact information
  • Mobile Number

    $umobile

  • Landline Number

    $ulandline

"; } } }else{ echo "
Your Contact Request is still pending
"; } } }else{ echo "
Contact Details Are Not Filled By USer
"; } echo "
Educational & Professional information
  • Education & Educational Specification

    $education ( $eduspec )

  • Profession & Type

    $occupation ( $occutype )

  • Monthly income in INR

    $mincome /- Rupees ( $get_amount )

Physical information
  • BloodGroup

    $bgroup

  • Height

    $unchi ($height cm)

  • Weight

    $weight kg

  • Skin Color ( Complexion )

    $skincolor

  • Physically Handicapped ?

    $phstatus

  • Body Type

    $bodytype

"; $sql = "SELECT * FROM data_religious WHERE `uid`='$uid'"; $result = $db->query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { $gotra = $row["gotra"]; $ras = $row["ras"]; $mangalik = $row["mangalik"]; $nakshtra = $row["nakshtra"]; $birthtime = $row["birthtime"]; $naadi = $row["naadi"]; $gan = $row["gan"]; $charan = $row["charan"]; echo "
Religious , Horoscope & Social information
  • Religion - Caste

    $religion - $caste

  • Gotra

    $gotra

  • Raas

    $ras

  • Mangalik

    $mangalik

  • Nakshatra

    $nakshtra

  • Birth Place & Birth Time

    $birthplace ( $birthtime )

  • Naadi

    $naadi

  • Gan

    $gan

  • Charan

    $charan

  • Languages

    $mlang & $olang

"; } } $sql = "SELECT * FROM data_family WHERE `uid`='$uid'"; $result = $db->query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { $fatherexists = $row["fatherexists"]; if($fatherexists=='0') { $fex = '(He Is No More Now)'; }else if($fatherexists=='1') { $fex = ''; } $father = $row["father"]; $motherexists = $row["motherexists"]; if($motherexists=='0') { $mex = '(She Is No More Now)'; }else if($motherexists=='1') { $mex = ''; } $mother = $row["mother"]; $bro = $row["brothers"]; $mbro = $row["marriedbrothers"]; $sis = $row["sisters"]; $msis = $row["marriedsisters"]; $relatives = $row["relatives"]; $nativeplace = $row["nativeplace"]; $mama = $row["mama"]; $poccupation = $row["poccupation"]; $familyproperty = $row["familyproperty"]; echo "
Family Details
  • Father Name

    $father $fex

  • Mother Name

    $mother $mex

  • Brothers

    $bro ($mbro Married)

  • Sisters

    $sis ($msis Married)

  • Relatives

    $relatives

  • Mama

    $mama

  • Native Place

    $nativeplace

  • Family Occupation / Job

    $poccupation

  • Family Property

    $familyproperty

"; } }else{ echo "
Family Details Are Not Filled By USer
"; } $sql = "SELECT * FROM more_info WHERE `uid`='$uid' AND `status` = '1'"; $result = $db->query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { $abtme = $row["about_me"]; echo "
Myself Summary

$abtme

"; } }else{ echo "
Myself Summary not added by user
"; } $sql = "SELECT * FROM exp_partner WHERE `uid`='$uid'"; $result = $db->query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { $agediff = $row["agediff"]; $minheight = $row["minheight"]; $minunchi = getMeasurements("$minheight"); $ica = $row["intercaste_allowed"]; if($ica=='0') { $incaa = 'No'; }else if($ica=='1') { $incaa = 'Yes'; }else{ $incaa = 'Does Not Matter'; } $expearn = $row["expearn"]; $getamount = AmountInWords($expearn); $expedu = $row["expedu"]; $expmangal = $row["expmangal"]; if($expmangal=='0') { $amangal = 'No'; }else if($expmangal=='1') { $amangal = 'Yes'; }else{ $amangal = 'Does Not Matter'; } $rfsm = $row["ready_for_second_lagn"]; if($rfsm=='0') { $rfkl = 'No'; }else if($rfsm='1') { $rfkl = 'Yes'; } $rfc = $row["ready4child"]; $expphy = $row["expphy"]; if($expphy=='no') { $expphh = 'No'; }else if($expphy=='yes') { $expphh = 'Yes.'; }else{ $expphh = "Yes. $expphy "; } $expcity = $row["expcity"]; $abtpartner = $row["about_partner"]; echo "
Expectation About Partner
  • Age Difference Upto

    $agediff Years

  • Inter Caste Accepted

    $incaa

  • Minimum Height

    $minunchi ($minheight cm)

  • Monthly Income

    $expearn /- ( $getamount )

  • Education

    $expedu

  • Accept Mangal

    $amangal

  • Accept Physically Challanged

    $expphh

  • Prefered City

    $expcity

  • Divorcee & Widow (Widower) Accepted

    $rfkl

  • "; if($rfsm=='1') { echo "
  • Ready To Accept Child of Partner

    $rfc

  • "; } echo "
  • In a words

    $abtpartner

"; } }else{ echo "
Expectation Form Not Filled by User
"; } echo "

All Uploaded Pictures

\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
\"image\"
"; include("pages/footer.php"); echo " "; } } else { echo "No Profile Found"; } ?>