201 lines
9.5 KiB
PHP
201 lines
9.5 KiB
PHP
<!-- Main content -->
|
|
<?php include('common/userstrip.php'); ?>
|
|
|
|
<!--begin::Basic info-->
|
|
<div class="card mb-5 mb-xl-10">
|
|
<!--begin::Card header-->
|
|
<div class="card-header border-0 cursor-pointer" role="button" data-bs-toggle="collapse" data-bs-target="#kt_account_profile_details" aria-expanded="true" aria-controls="kt_account_profile_details">
|
|
<!--begin::Card title-->
|
|
<div class="card-title m-0">
|
|
<h3 class="fw-bolder m-0">Profile Details</h3>
|
|
</div>
|
|
<!--end::Card title-->
|
|
</div>
|
|
<!--begin::Card header-->
|
|
<!--begin::Content-->
|
|
<div id="kt_account_settings_profile_details" class="collapse show">
|
|
<!--begin::Form-->
|
|
<form id="kt_account_profile_details_form" class="form" ction="/member/profile" method='POST'>
|
|
<!--begin::Card body-->
|
|
<div class="card-body border-top p-9">
|
|
<!--begin::Input group-->
|
|
<div class="row mb-6">
|
|
<!--begin::Label-->
|
|
<label class="col-lg-4 col-form-label fw-bold fs-6">Avatar</label>
|
|
<!--end::Label-->
|
|
<!--begin::Col-->
|
|
<div class="col-lg-8">
|
|
<!--begin::Image input-->
|
|
<div class="image-input image-input-outline" data-kt-image-input="true" style="background-image: url('assets/media/svg/avatars/blank.svg')">
|
|
<!--begin::Preview existing avatar-->
|
|
<div class="image-input-wrapper w-125px h-125px" style="background-image: url(<? echo isset($_SESSION['profile_picture'])?isset($_SESSION['profile_picture']):''; ?>)"></div>
|
|
<!--end::Preview existing avatar-->
|
|
|
|
|
|
</div>
|
|
<!--end::Image input-->
|
|
<!--begin::Hint-->
|
|
<div class="form-text">Allowed file types: png, jpg, jpeg.</div>
|
|
<!--end::Hint-->
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
|
|
<!--begin::Input group-->
|
|
<div class="row mb-6">
|
|
<!--begin::Label-->
|
|
<label class="col-lg-4 col-form-label required fw-bold fs-6">Username</label>
|
|
<!--end::Label-->
|
|
<!--begin::Col-->
|
|
<div class="col-lg-8 fv-row">
|
|
<input type="text" name="$username" class="form-control form-control-lg form-control-solid" placeholder="Username" value="<?php echo isset($username)?$username:''; ?>" maxlength="100" readonly />
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
|
|
<!--begin::Input group-->
|
|
<div class="row mb-6">
|
|
<!--begin::Label-->
|
|
<label class="col-lg-4 col-form-label required fw-bold fs-6">Email</label>
|
|
<!--end::Label-->
|
|
<!--begin::Col-->
|
|
<div class="col-lg-8 fv-row">
|
|
<input type="text" name="email" class="form-control form-control-lg form-control-solid" placeholder="Email" value="<?php echo $email; ?>" maxlength="100" />
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
|
|
<!--begin::Input group-->
|
|
<div class="row mb-6">
|
|
<!--begin::Label-->
|
|
<label class="col-lg-4 col-form-label required fw-bold fs-6">Full Name</label>
|
|
<!--end::Label-->
|
|
<!--begin::Col-->
|
|
<div class="col-lg-8">
|
|
<!--begin::Row-->
|
|
<div class="row">
|
|
<!--begin::Col-->
|
|
<div class="col-lg-6 fv-row">
|
|
<input type="text" name="firstname" class="form-control form-control-lg form-control-solid mb-3 mb-lg-0" placeholder="First name" value="<?php echo $firstname; ?>" maxlength="50" />
|
|
</div>
|
|
<!--end::Col-->
|
|
<!--begin::Col-->
|
|
<div class="col-lg-6 fv-row">
|
|
<input type="text" name="lastname" class="form-control form-control-lg form-control-solid" placeholder="Last name" value="<?php echo $lastname; ?>" maxlength="50" />
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Row-->
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
|
|
|
|
<!--begin::Input group-->
|
|
<div class="row mb-6">
|
|
<!--begin::Label-->
|
|
<label class="col-lg-4 col-form-label fw-bold fs-6">
|
|
<span class="required">Country</span>
|
|
<i class="fas fa-exclamation-circle ms-1 fs-7" data-bs-toggle="tooltip" title="Country of origination"></i>
|
|
</label>
|
|
<!--end::Label-->
|
|
<!--begin::Col-->
|
|
<div class="col-lg-8 fv-row">
|
|
<?php echo $country_combo; ?>
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
|
|
|
|
<!--begin::Input group-->
|
|
<div class="row mb-6">
|
|
<!--begin::Label-->
|
|
<label class="col-lg-4 col-form-label required fw-bold fs-6">State/Province</label>
|
|
<!--end::Label-->
|
|
<!--begin::Col-->
|
|
<div class="col-lg-8 fv-row">
|
|
<input type="text" name="state" class="form-control form-control-lg form-control-solid" placeholder="State/Province" value="<?php echo $state; ?>" maxlength="50" />
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
|
|
|
|
<!--begin::Input group-->
|
|
<div class="row mb-6">
|
|
<!--begin::Label-->
|
|
<label class="col-lg-4 col-form-label required fw-bold fs-6">City</label>
|
|
<!--end::Label-->
|
|
<!--begin::Col-->
|
|
<div class="col-lg-8 fv-row">
|
|
<input type="text" class="form-control form-control-lg form-control-solid"placeholder="City" name="city" value="<?php echo $city; ?>" maxlength="50" />
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
|
|
|
|
|
|
<!--begin::Input group-->
|
|
<div class="row mb-6">
|
|
<!--begin::Label-->
|
|
<label class="col-lg-4 col-form-label required fw-bold fs-6">Pref. Communication</label>
|
|
<!--end::Label-->
|
|
<!--begin::Col-->
|
|
<div class="col-lg-8 fv-row">
|
|
<!--begin::Options-->
|
|
<div class="d-flex align-items-center mt-3">
|
|
<!--begin::Option-->
|
|
<label class="form-check form-check-inline form-check-solid me-5">
|
|
<input class="form-check-input" name="communication[]" type="checkbox" value="1" />
|
|
<span class="fw-bold ps-2 fs-6">Email</span>
|
|
</label>
|
|
<!--end::Option-->
|
|
<!--begin::Option-->
|
|
<label class="form-check form-check-inline form-check-solid">
|
|
<input class="form-check-input" name="communication[]" type="checkbox" value="2" />
|
|
<span class="fw-bold ps-2 fs-6">Phone</span>
|
|
</label>
|
|
<!--end::Option-->
|
|
</div>
|
|
<!--end::Options-->
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
<!--begin::Input group-->
|
|
<div class="row mb-0">
|
|
<!--begin::Label-->
|
|
<label class="col-lg-4 col-form-label fw-bold fs-6">Allow Promotions</label>
|
|
<!--begin::Label-->
|
|
<!--begin::Label-->
|
|
<div class="col-lg-8 d-flex align-items-center">
|
|
<div class="form-check form-check-solid form-switch fv-row">
|
|
<input class="form-check-input w-45px h-30px" type="checkbox" id="allowmarketing" />
|
|
<label class="form-check-label" for="allowmarketing"></label>
|
|
</div>
|
|
</div>
|
|
<!--begin::Label-->
|
|
</div>
|
|
<!--end::Input group-->
|
|
</div>
|
|
<!--end::Card body-->
|
|
<!--begin::Actions-->
|
|
<div class="card-footer d-flex justify-content-end py-6 px-9">
|
|
|
|
<button type="submit" class="btn btn-primary" id="kt_account_profile_details_submit">Save Changes</button>
|
|
</div>
|
|
<!--end::Actions-->
|
|
</form>
|
|
<!--end::Form-->
|
|
</div>
|
|
<!--end::Content-->
|
|
</div>
|
|
<!--end::Basic info-->
|
|
|