* * MemberMouse(TM) (http://www.membermouse.com) * (c) MemberMouse, LLC. All rights reserved. */ global $current_user; $user = new MM_User($current_user->ID); $enableUsernameChange = MM_OptionUtils::getOption(MM_OptionUtils::$OPTION_KEY_ENABLE_USERNAME_CHANGE) == "1" ? true : false; ?> <div id="mm-form-container"> <p class="mm-myaccount-dialog-section-header">Account Information</p> <table> <tr> <td><span class="mm-myaccount-dialog-label">First Name</span></td> <td><input id="mm_first_name" name="mm_first_name" type="text" class="mm-myaccount-form-field" value="<?php echo $user->getFirstName(); ?> "/></td> </tr> <tr> <td><span class="mm-myaccount-dialog-label">Last Name</span></td> <td><input id="mm_last_name" name="mm_last_name" type="text" class="mm-myaccount-form-field" value="<?php echo $user->getLastName(); ?> "/></td> </tr> <tr> <td><span class="mm-myaccount-dialog-label">Phone</span></td> <td><input id="mm_phone" name="mm_phone" type="text" class="mm-myaccount-form-field" value="<?php echo $user->getPhone(); ?>
case "user_registered": $row[] = array('content' => $user->getRegistrationDate(true)); break; case "status_updated": $row[] = array('content' => MM_Utils::dateToLocal($item->status_updated)); break; } $row[] = array('content' => $userEngagement); $row[] = array('content' => $status); $row[] = array('content' => $actions); $datagridRows[] = $row; // build CSV row if ($doGenerateCsv) { $csvRow = array(); $csvRow[] = $user->getId(); $csvRow[] = $user->getFirstName(); $csvRow[] = $user->getLastName(); $csvRow[] = $user->getEmail(); $csvRow[] = $user->getPhone(); $csvRow[] = $user->getMembershipName(); $csvRow[] = $bundles == MM_NO_DATA ? "" : $bundles; $csvRow[] = $user->getRegistrationDate(true); $csvRow[] = MM_Utils::dateToLocal($item->status_updated); $csvRow[] = $user->getStatusName(); $csvRow[] = $user->getBillingAddress(); $csvRow[] = $user->getBillingCity(); $csvRow[] = $user->getBillingState(); $csvRow[] = $user->getBillingZipCode(); $csvRow[] = $user->getBillingCountryName(); $csvRow[] = $user->getShippingAddress(); $csvRow[] = $user->getShippingCity();