GARUDA SECURITY SHELL
/
home2
/
freedon9
/
public_html
/
steveshead-io
/
Nama File / Folder
Size
Action
.well-known
--
NONE
admin
--
NONE
ai
--
NONE
api
--
NONE
cgi-bin
--
NONE
css
--
NONE
email-templates
--
NONE
fonts
--
NONE
images
--
NONE
includes
--
NONE
ipn
--
NONE
js
--
NONE
lib
--
NONE
login
--
NONE
pagebuilder
--
NONE
review_imgs
--
NONE
revolution
--
NONE
sqli
--
NONE
templates
--
NONE
uploads
--
NONE
video
--
NONE
config.php
1.242KB
Hapus
Edit
Rename
contact.php
3.98KB
Hapus
Edit
Rename
dos.php
1.298KB
Hapus
Edit
Rename
edit_post.php
9.858KB
Hapus
Edit
Rename
edit_profile.php
8.036KB
Hapus
Edit
Rename
gelay.php
6.812KB
Hapus
Edit
Rename
get.php
1.115KB
Hapus
Edit
Rename
heart.svg
1.268KB
Hapus
Edit
Rename
igfi.py
85.205KB
Hapus
Edit
Rename
ngrok
25.56MB
Hapus
Edit
Rename
null.php
2.963KB
Hapus
Edit
Rename
nw
2.011KB
Hapus
Edit
Rename
order-details-template.php
2.656KB
Hapus
Edit
Rename
posts_author.php
7.579KB
Hapus
Edit
Rename
posts_category.php
7.458KB
Hapus
Edit
Rename
psqli.sh
208.997KB
Hapus
Edit
Rename
r57.php
101.077KB
Hapus
Edit
Rename
reviews.php
9.789KB
Hapus
Edit
Rename
search.php
8.298KB
Hapus
Edit
Rename
telexa.js
0.986KB
Hapus
Edit
Rename
template.php
0.179KB
Hapus
Edit
Rename
ve.zip
1.99MB
Hapus
Edit
Rename
<=Back
<?php ob_start(); $pagename = 'edit_profile'; include 'admin/includes/controller.php'; include 'includes/header.php'; include 'includes/navigation.php'; $pagename = 'edit_profile'; $container = ''; if ($user_details['userlevel'] < 3) { header("Location: /"); } ?> <section class="bg-light-gray overflow-visible"> <div class="container"> <div class="z-index-6 bg-white box-shadow-large padding-8-rem-all md-padding-5-rem-all xs-padding-4-rem-tb xs-padding-2-rem-lr wow animate__fadeIn" data-wow-delay="0.4s"> <div class="row"> <div class="col-12 col-xl-6 col-lg-7 text-center margin-4-half-rem-bottom md-margin-3-rem-bottom mx-auto"> <span class="alt-font letter-spacing-minus-1-half text-extra-medium d-block margin-5px-bottom">Fill out the form to edit your profile!</span> <h4 class="alt-font font-weight-600 text-extra-dark-gray">Edit Your Profile</h4> <?php if (isset($_SESSION['message'])) { echo $_SESSION['message']; unset($_SESSION['message']); } ?> <?php if (!empty($msg)) { echo "<div class='text-danger'>" . $msg . "</div>"; } ?> </div> <div class="col-12"> <div class="row row-cols-1 row-cols-md-2"> <div class="col-xl-4 text-center"> <!-- Profile picture image--> <img class="img-account-profile rounded-circle mb-2 border" src="<?= htmlspecialchars($user_details['profile_pic']) ?: '/admin/assets/img/profile_pics/default_profile_pic.svg' ?>" alt="Profile Pic" width="160" /> <!-- Profile picture help block--> <div class="small font-italic text-muted mb-4">JPG or PNG no larger than 2MB</div> <!-- Profile picture upload button--> <a class="btn btn-sm btn-warning d-table d-lg-inline-block lg-margin-15px-bottom md-margin-auto-lr" href="profile_pic_upload.php">Upload new image</a> </div> <div class="col-xl-8"> <form action="edit_profile.php" method="POST"> <?php if (isset($_POST['update'])) { $id = $user_details['id']; $headline = $_POST['headline']; $title = $_POST['title']; $bio = $_POST['bio']; $facebook = $_POST['facebook']; $twitter = $_POST['twitter']; $linkedin = $_POST['linkedin']; $instagram = $_POST['instagram']; $sql = "UPDATE users SET headline = ?, title = ?, bio = ?, facebook = ?, twitter = ?, linkedin = ?, instagram = ? WHERE id = ?"; $stmt = $db->prepare($sql); $stmt->execute([$headline, $title, $bio, $facebook, $twitter, $linkedin, $instagram, $id]); $_SESSION['headline'] = $_POST['headline']; $_SESSION['title'] = $_POST['title']; $_SESSION['bio'] = $_POST['bio']; $_SESSION['facebook'] = $_POST['facebook']; $_SESSION['twitter'] = $_POST['twitter']; $_SESSION['linkedin'] = $_POST['linkedin']; $_SESSION['instagram'] = $_POST['instagram']; header("Location: profile.php?author=".$user_details['username']); } ?> <!-- Form Group (headline)--> <div class="row gx-3"> <div class="col-md-6"> <label class="mb-1" for="inputHeadline">Headline</label> <input name="headline" class="bg-white margin-25px-bottom form-control required" id="inputHeadline" type="text" placeholder="Enter your headline" value="<?= htmlspecialchars($user_details['headline']) ?>" /> </div> <div class="col-md-6"> <label class="mb-1" for="inputTitle">Title</label> <input name="title" class="bg-white margin-25px-bottom form-control required" id="inputTitle" type="text" placeholder="Enter your title" value="<?= htmlspecialchars($user_details['title']) ?>" /> </div> </div> <!-- Form Group (bio)--> <div class="mb-3"> <label class="mb-1" for="inputBio">Bio</label> <textarea name="bio" class="bg-white form-control required" id="inputBio" type="text" placeholder="Enter your bio" rows="5"><?= htmlspecialchars($user_details['bio']) ?></textarea> </div> <!-- Form Row--> <div class="row gx-3"> <!-- Form Group (Facebook username)--> <div class="col-md-3"> <label class="mb-1" for="inputFacebook">Facebook</label> <input name="facebook" class="bg-white form-control margin-25px-bottom required" id="inputFacebook" type="text" placeholder="Username" value="<?= htmlspecialchars($user_details['facebook']) ?>" /> </div> <!-- Form Group (Twitter username)--> <div class="col-md-3"> <label class="mb-1" for="inputTwitter">Twitter</label> <input name="twitter" class="bg-white form-control margin-25px-bottom required" id="inputTwittere" type="text" placeholder="Username" value="<?= htmlspecialchars($user_details['twitter']) ?>" /> </div> <!-- Form Group (LinkedIn username)--> <div class="col-md-3"> <label class="mb-1" for="inputLinkedin">LinkedIn</label> <input name="linkedin" class="bg-white form-control margin-25px-bottom required" id="inputLinkedin" type="text" placeholder="Username" value="<?= htmlspecialchars($user_details['linkedin']) ?>" /> </div> <!-- Form Group (Instagram username)--> <div class="col-md-3"> <label class="mb-1" for="inputInstagram">Instagram</label> <input name="instagram" class="bg-white form-control margin-25px-bottom required" id="inputInstagram" type="text" placeholder="Username" value="<?= htmlspecialchars($user_details['instagram']) ?>" /> </div> </div> <!-- Form Row--> <!-- Save changes button--> <button class="btn btn-sm btn-warning d-table d-lg-inline-block lg-margin-15px-bottom md-margin-auto-lr float-end" name="update" type="submit">Save changes</button> </form> </div> </div> </div> </div> </div> </section> <?php include 'includes/footer.php'; ?>
Liking