require_once 'includes/header.php'; if ($_SESSION["username"] == ADMINNAME) { header("Location: admin/index.php"); exit; } ?> <br><br><br><br> <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xs-offset-0 col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad"> <div class="panel-body"> <div class="row"> <div class="col-md-3 col-lg-3 " align="center"> <img alt="User Pic" src="pic/avatar.png" class="img-circle"> </div> <div class=" col-md-9 col-lg-9 "> <table class="table table-user-information"> <tbody> <?php userProfile($_SESSION["username"]); ?> <tr> <td>Home Address</td> <td>Nanjing,Qixia Wenyuan Road9 </td> </tr> </tbody> </table> <a href="edit.html" class="btn btn-primary">edit profile</a> </div> </div> </div> </div>
tabClass( $option, $task, $_CB_framework->myId() ); break; case "done": break; case "performcheckusername": performCheckUsername( cbGetParam( $_POST, 'value' ), cbGetParam( $_GET, 'function' ) ); break; case "performcheckemail": performCheckEmail( cbGetParam( $_POST, 'value' ), cbGetParam( $_GET, 'function' ) ); break; default: userProfile($option, $_CB_framework->myId(), _UE_UPDATE); break; } if (!is_null($oldignoreuserabort)) ignore_user_abort($oldignoreuserabort); echo $_CB_framework->getAllJsPageCodes(); $html = ob_get_contents(); ob_end_clean(); if ( ( cbGetParam( $_GET, 'no_html', 0 ) != 1 ) && ( cbGetParam( $_GET, 'format' ) != 'raw' ) ) { // Translations debug: if ( ! defined( 'JPATH_ADMINISTRATOR' ) ) { global $_CB_TxtIntStore;
break; case "fieldclass": case "tabclass": case "pluginclass": tabClass($option, $task, $_CB_framework->myId()); break; case "done": break; case "performcheckusername": performCheckUsername(cbGetParam($_POST, 'value'), cbGetParam($_GET, 'function')); break; case "performcheckemail": performCheckEmail(cbGetParam($_POST, 'value'), cbGetParam($_GET, 'function')); break; default: userProfile($option, $_CB_framework->myId(), CBTxt::T('UE_UPDATE', 'Update')); break; } if (!is_null($oldignoreuserabort)) { ignore_user_abort($oldignoreuserabort); } $_CB_framework->getAllJsPageCodes(); $html = ob_get_contents(); ob_end_clean(); if (cbGetParam($_GET, 'no_html', 0) != 1 && cbGetParam($_GET, 'format') != 'raw') { echo $_CB_framework->document->outputToHead(); } echo $html; // END OF MAIN. function sendUserEmail($option, $toId, $fromId, $emailName, $emailAddress, $subject, $message) {