Example #1
0
</div>

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





<div class="CC">
<div class="ccTop">contact information</div>

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

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

</div>

<div class="pProfileItemCon" id="">
<div class="pProfileICHeader"> other phone</div>
other phones<br>
</div>
Example #2
0
    echo $pProfile->editPolitics();
}
//DELETE CHECK
if ($_GET['polilDelCheck']) {
    echo 'You are about to delete your Political view';
}
//DELETE NOW
if ($_GET['poliDelNow']) {
    if ($pProfile->setRquery("UPDATE amistiPersonal SET pPolitics=? WHERE userID=?", array('', $UID))) {
        echo $pProfile->getPolitics();
    }
}
//=======================LOCATION ADDRESS ========================================
//SHOW ADDRESS
if ($_GET['gAddressAdd']) {
    $pProfile->getUserAddress(true);
}
//CANCELL
if ($_GET['gUserCancel']) {
    $pProfile->getUserAddress();
}
//SAVE ADDRESS
if ($_GET['gUserSave']) {
    $ctr = cleanInput(ucfirst(trim($_GET['ctr'])));
    $city = cleanInput(ucfirst(trim($_GET['city'])));
    $addr = cleanInput(ucfirst(trim($_GET['addr'])));
    $id = autoID();
    $pProfile->setRquery("SELECT * FROM amistiAddress WHERE userID=?", array(UID));
    $res = $pProfile->getRquery();
    if (count($res) > 0) {
        $pProfile->setRquery("UPDATE amistiAddress SET aCountry=?,aCity=?,aAddress=? WHERE userID=?", array($ctr, $city, $addr, UID));