Beispiel #1
0
<div class="pProfileItemCon" id="pSexualOr">
<?php 
$pProfile->getSexOrient();
?>
</div>

<!--Relationship-->
<div class="pProfileItemCon" id="rRelationshipID">
<?php 
$pProfile->getRelationship();
?>
</div>

<div class="pProfileItemCon" id="pKids">
<?php 
$pProfile->getPKids();
?>

</div>

<div class="pProfileItemCon" id="pLanguage">
<?php 
$pProfile->getLanguage();
?>
</div>

<div class="pProfileItemCon" id="pReligion">
<?php 
$pProfile->getReligion();
?>
Beispiel #2
0
        echo $pProfile->getRelationship();
    }
}
//RELATIONSHIP ADD PROFILE
if ($_GET['relationAdd'] == true) {
    echo $pProfile->getRelationship(true);
}
//===========================  NUMBER OF CHILDREN ==============================
//NUMBER OF CHILDREN PNKIDS SAVE
if ($_GET['pNKids'] == true) {
    $pNKidsData = cleanInput(trim($_GET['pNKidsData']));
    $pProfile->setRquery("SELECT * FROM amistiPersonal WHERE userID=?", array($UID));
    $res = $pProfile->getRquery();
    if (count($res) > 0) {
        $pProfile->setRquery("UPDATE amistiPersonal SET pKids=? WHERE userID=?", array($pNKidsData, $UID));
        $pProfile->getPKids();
    } else {
        $id = autoID();
        $pProfile->setRquery("INSERT INTO amistiPersonal VALUES(?,?,?,?,?,?,?,?,?,?,?)", array($id, $UID, NULL, NULL, NULL, '', '', '', $pNKidsData, '', ''));
        $pProfile->getPKids();
    }
}
//PNEDIT OF CHILDREN
if ($_GET['pNEdit'] == true) {
    echo $pProfile->editPKids();
}
//PNDELETE CLICKED
if ($_GET['pNDelete'] == true) {
    if ($pProfile->setRquery("UPDATE amistiPersonal SET pKids=? WHERE userID=?", array(NULL, $UID))) {
        echo $pProfile->getPKids();
    }