?> <?php if (!empty($sendmessage)) { ?> <li><a href="#view18">Send Message</a></li> <?php } ?> </ul> <div class="tabcontents"> <div id="view1"> <h2>User Profile</h2> <?php //user Profile data LoginRadius_userdata_format($UserProfileData); ?> </div> <?php //user Photo albams if (!empty($UserPhotoalbums)) { ?> <div id="view2"> <div id="ajaxDiv"></div> <h2>Album</h2> <table class="gridtable" cellspacing="0"> <thead> <tr> <th><?php echo 'ID'; ?>
function LoginRadius_Userdata_Check($value) { if (is_object($value)) { LoginRadius_userdata_format($value, true); } elseif (is_array($value)) { foreach ($value as $aid => $avalue) { if (is_object($avalue)) { LoginRadius_userdata_format($avalue); } else { LoginRadius_Userdata_Check($avalue); } } } else { echo '<td scope="col" >' . ucfirst($value) . '</td>'; } }