Example #1
0
<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();
?>

</div>

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

</div>

<!--<div class="ccBot"></div>-->
</div>

Example #2
0
if ($_GET['relView']) {
    $relData = trim($_GET['relData']);
    for ($x = 0; $x < count($regArray); $x++) {
        if (startsWith($regArray[$x], $relData)) {
            ?>
		 <li class="regPAutoPick"> <?php 
            echo $regArray[$x];
            ?>
</li>
		 <?php 
        }
    }
}
//RELIGION CANCEL BUTTON CLICK
if ($_GET['relCancel']) {
    echo $pProfile->getReligion();
}
//RELIGION ADD BUTTON CLICK
if ($_GET['religionAdd']) {
    echo $pProfile->getReligion(true);
}
//RELIGION SAVE CLICK
if ($_GET['religionSave']) {
    $relSaveData = cleanInput(trim($_GET['relSaveData']));
    $pProfile->setRquery("SELECT * FROM amistiPersonal WHERE userID=?", array($UID));
    $res = $pProfile->getRquery();
    if (count($res) > 0) {
        $pProfile->setRquery("UPDATE amistiPersonal SET pReligion=? WHERE userID=?", array($relSaveData, $UID));
        echo $pProfile->getReligion();
    } else {
        $id = autoID();