This commit is contained in:
2022-04-10 19:04:17 -04:00
parent 6596089608
commit 577995cf03
5 changed files with 54 additions and 25 deletions
+3 -3
View File
@@ -28,7 +28,7 @@
<!--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 $_SESSION['profile_picture']; ?>)"></div>
<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-->
@@ -49,7 +49,7 @@
<!--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 $username; ?>" maxlength="100" readonly />
<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>
@@ -132,7 +132,7 @@
<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" placeholder="City" name="city" value="<?php echo $city; ?>" maxlength="50">
<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-->