403Webshell
Server IP : 51.89.169.208  /  Your IP : 18.216.230.65
Web Server : Apache
System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64
User : yellowleaf ( 1019)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/yellowleaf/public_html/members/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yellowleaf/public_html/members/website.php
<?php
header('Content-Type: text/html; charset=utf-8');
$path  = $_SERVER['DOCUMENT_ROOT'];
include_once $path . '/connect_db.php';
include 'accesscontrol.php';
// css for menu
$styleAccount = 'color:#ff6131;background-color:#fff;border-top:1px solid #c9c9c9;font-weight:bold;';


if (isset($_POST["update_personal_details"])) {
	$fname = addslashes(trim($_POST["fname"]));
	$surname = addslashes(trim($_POST["surname"]));
	$address = addslashes(trim($_POST["address"]));
	$postcode = addslashes(trim($_POST["postcode"]));
	$telephone = addslashes(trim($_POST["telephone"]));

	$query = $connect->query("SELECT * FROM members WHERE ename='{$memberemail}'");
	$numrows = $query->num_rows;

	if ($numrows > 0) {
		$q3 = "UPDATE members SET
			  contactname = '{$fname}',
			  surname = '{$surname}',
			  address = '{$address}',
			  postcode = '{$postcode}',
			  phone = '{$telephone}'
			  WHERE ename = '{$memberemail}' ";

		$r3 = $connect->query($q3) or die($connect->error);
		if ($r3) {
			$memberName = $fname;
			$surname = $surname;
			$member_address = $address;
			$member_postcode = $postcode;
			$member_phone = $telephone;
			$form2Err = '<span style="padding: 5px;background: #d0ffc6;display: block;margin-bottom: 10px;border-radius: 5px;color: #005309;border: 1px solid #005309;">Update Successful</span>';
		} else {
			$form2Err = '<span style="padding: 5px;background: #ffc6c6;display: block;margin-bottom: 10px;border-radius: 5px;color: #8a0606;border: 1px solid #8a0606;">Something went wrong please try again!</span>';
		}
	} else {
		$form2Err = '<span style="padding: 5px;background: #ffc6c6;display: block;margin-bottom: 10px;border-radius: 5px;color: #8a0606;border: 1px solid #8a0606;">Something went wrong please try again!</span>';
	}
}

if (isset($_POST["update_email"])) {
	$email = addslashes(trim($_POST["email"]));
	$password = addslashes(trim($_POST["password"]));

	if (!empty($email) && !empty($password)) {
		$query = $connect->query("SELECT * FROM members WHERE ename='{$memberemail}'");
		$numrows = $query->num_rows;

		if ($numrows > 0) {
			$row = $query->fetch_assoc();
			$dbusername = $row['ename'];
			$memberid = $row['id'];
			$dbpassword = password_verify($password, $row['epass']);
			$dbcode = $row['code'];

			if ($dbpassword) {
				$update = $connect->query("UPDATE `members` SET `ename` = '$email' WHERE `ename` = '$memberemail'");
				if ($update) {
					setcookie("yl_user", $email, time() + 60 * 60 * 1000 * 100, "/");
					$_SESSION['ename'] = $email;
					$_SESSION['memberid'] = $memberid;
					$memberemail = $email;
					$form1Err = '<span style="padding: 5px;background: #d0ffc6;display: block;margin-bottom: 10px;border-radius: 5px;color: #005309;border: 1px solid #005309;">Update Successful</span>';
				} else {
					$form1Err = '<span style="padding: 5px;background: #ffc6c6;display: block;margin-bottom: 10px;border-radius: 5px;color: #8a0606;border: 1px solid #8a0606;">Something went wrong please try again!</span>';
				}
			} else {
				$form1Err = '<span style="padding: 5px;background: #ffc6c6;display: block;margin-bottom: 10px;border-radius: 5px;color: #8a0606;border: 1px solid #8a0606;">Invalid password</span>';
			}
		} else {
			$form1Err = '<span style="padding: 5px;background: #ffc6c6;display: block;margin-bottom: 10px;border-radius: 5px;color: #8a0606;border: 1px solid #8a0606;">Invalid Email address</span>';
		}
	}
}

if (isset($_POST["update_password"])) {
	$oldpassword = addslashes(trim($_POST["oldpassword"]));
	$newpassword = addslashes(trim($_POST["newpassword"]));
	$repassword = addslashes(trim($_POST["repassword"]));

	if (!empty($oldpassword) && !empty($newpassword) && !empty($repassword)) {

		if ($newpassword == $repassword) {
			$query = $connect->query("SELECT * FROM members WHERE ename='{$memberemail}'");
			$numrows = $query->num_rows;

			if ($numrows > 0) {
				$row = $query->fetch_assoc();
				$dbusername = $row['ename'];
				$memberid = $row['id'];
				$dbpassword = password_verify($oldpassword, $row['epass']);
				$dbcode = $row['code'];
				$encpass = password_hash($newpassword, PASSWORD_DEFAULT);

				if ($dbpassword) {
					$update = $connect->query("UPDATE `members` SET `epass` = '$encpass' WHERE `ename` = '$memberemail'");
					if ($update) {
						$form1Err = '<span style="padding: 5px;background: #d0ffc6;display: block;margin-bottom: 10px;border-radius: 5px;color: #005309;border: 1px solid #005309;">Update Successful</span>';
					} else {
						$form1Err = '<span style="padding: 5px;background: #ffc6c6;display: block;margin-bottom: 10px;border-radius: 5px;color: #8a0606;border: 1px solid #8a0606;">Something went wrong please try again!</span>';
					}
				} else {
					$form1Err = '<span style="padding: 5px;background: #ffc6c6;display: block;margin-bottom: 10px;border-radius: 5px;color: #8a0606;border: 1px solid #8a0606;">Invalid password</span>';
				}
			} else {
				$form1Err = '<span style="padding: 5px;background: #ffc6c6;display: block;margin-bottom: 10px;border-radius: 5px;color: #8a0606;border: 1px solid #8a0606;">Invalid Email address</span>';
			}
		} else {
			$form1Err = '<span style="padding: 5px;background: #ffc6c6;display: block;margin-bottom: 10px;border-radius: 5px;color: #8a0606;border: 1px solid #8a0606;">Confirm password not matching.</span>';
		}
	}
}

$display_message = '';

/** delete page */
if(addslashes($_GET['del'])=="yes"){
	$pageid=addslashes($_GET['pageid']);
	// deleting page
	$query = $connect->query("DELETE FROM pages WHERE pageid='{$pageid}' AND member_id ='{$memberid}'") or die($connect->error);
	
	if($query){
		$display_message = '<p id="page-added-success" class="alert-success"
		style="padding: 10px; border: 1px solid green; font-size: 20px; margin-bottom: 10px; margin-top: 10px">Page has been successfully deleted.</p>';
	} else{
		$display_message = '<p id="page-added-error" class="alert-error"
		style="padding: 10px; font-weight: bold; border: 1px solid red; font-size: 20px; margin-bottom: 10px; margin-top: 10px">Oops!
		something went wrong.</p>';
	}
}


$query_pages = $connect->query("SELECT * FROM pages WHERE member_id = '{$memberid}'");
$number_of_pages = $query_pages->num_rows;

?>
<!DOCTYPE html>
<html lang="en">

<head>
	<title>YellowLeaf - My Account</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link href='https://unpkg.com/boxicons@2.0.9/css/boxicons.min.css' rel='stylesheet'>
	<link rel="stylesheet" href="/header-footer/global.css">
	<link rel="stylesheet" href="index.css">
	<style>
		.form-group .select,
		.form-group input {
			border-radius: 4px;
			padding: 0 16px;
		}

		.form-group textarea {
			border-radius: 4px;
			padding: 12px 16px;
		}

		.avatar-section {
			margin-bottom: 1rem;
			width: 100%;
			/* height: 150px; */
			display: flex;
			gap: 10px;
			flex-wrap: wrap;
		}

		.avatar-box {
			/* position: relative; */
			width: 150px;
			/* height: 150px; */
			/* top: 0;
      left: 0;
      right: 0;
      bottom: 0; */
			/* background-size: cover; */
			/* z-index: 10000000; */
			/* border-radius: 50%; */
			/* overflow: hidden; */
			/* border: 1px solid gray; */
		}

		#upload_file {
			/* position: absolute;
      bottom: 0;
      left: 0;
      right: 0; */
			/* outline: none;
      color: transparent; */
			width: 100%;
			box-sizing: border-box;
			padding: 1rem 2rem;
			/* background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)); */
			/* transition: 0.5s; */
			/* display: none; */
			cursor: pointer;
			/* background: yellow; */
		}

		#upload_label {
			padding: 5px;
			background: var(--yellow);
			cursor: pointer;
			border-radius: 5px;

		}

		/* #upload_file::-webkit-file-upload-button {
		visibility: hidden;
		}

		#upload_file::before {
		content: "upload logo";
		font-size: 1rem;
		color: #fff;
		-webkit-user-select: none;
		margin-left: 2rem;
		} */

		.avatar-box img {
			width: 100%;
		}

		.popup-close {
			background-color: transparent;
			color: var(--red);
			cursor: pointer;
			border: none;
			outline: none;
		}

		.page_container {
			width: 100%;
			display: grid;
			grid-template-columns: 1fr 1fr 1fr;
			gap: 1rem;
			margin: 24px 0 0;
		}

		.page_container .page_content {
			background-color: #fafafa;
			cursor: pointer;
			border-radius: 6px;
			border: 1px solid var(--gray-100);
			overflow: hidden;
		}

		.page_container .page_content svg {
			width: 10rem;
			max-height: 20rem;
			margin: 0 auto;
			display: block;
		}
		
		.page-content-info {
			text-align: center;
			background-color: var(--white);
		}

		.page-content-title {
			padding: 12px 16px;
			font-weight: 500;
			font-size: 17px;
		}

		.page-content-action {
			display: flex;
			border-top: 1px solid var(--gray-100);
		}

		.page-content-action > * {
			width: 100%;
			padding: 8px 12px;
			text-align: center;
			text-decoration: none;
			color: var(--gray-500);
			transition: all .3s;
		}

		.page-content-action > :hover {
			background-color: var(--gray);
		}

		.page-content-action > :not(:last-child) {
			border-right: 1px solid var(--gray-100);
		}

		.account-email button {
			padding: 6px 12px;
			background-color: var(--white);
			border-radius: 4px;
			cursor: pointer;
			outline: none;
			border: 1px solid var(--gray-100);
			font-size: 16px;
		}

		#eye-icon {
			position: absolute;
			top: 12px;
			right: 10px;
			cursor: pointer;
			fill: #c7c7c7;
		}

		.main-box .form-box {
			margin-bottom: 16px;
		}

		@media only screen and (max-width: 991px) {
			.page_container {
				grid-template-columns: 1fr 1fr;
			}
		}

		@media only screen and (max-width: 575px) {
			.page_container {
				grid-template-columns: 1fr;
			}
		}
	</style>
</head>

<body>
	<? include 'member_menu.php'; ?>

	<!-- NAVBAR -->
	<section id="content">
		<!-- NAVBAR -->
		<nav>
			<i class='bx bx-menu toggle-sidebar'></i>
			<a href="/members/logout.php" class="logout">
				<i class='bx bx-log-out'></i>
				Logout
			</a>
		</nav>
		<!-- NAVBAR -->

		<!-- MAIN -->
		<main>
			<div class="container">
				<h1 class="title">Create Free Website</h1>
				<!-- <ul class="breadcrumbs">
			<li><a href="#">Home</a></li>
			<li class="divider">/</li>
			<li><a href="#" class="active">Dashboard</a></li>
			</ul> -->
				<!-- <div class="profile-photo">
					<img src="/upload/logo/52.png" alt="">
				</div> -->
				<div class="main-content">
					<?php

					if (isset($_POST['update_web_config'])) {
						$website_name = addslashes(trim(strtolower($_POST['website-name'])));
						$index_page = addslashes(trim($_POST['index-page']));

						$website_name = str_replace(" ", "", $website_name);
						
						if (!empty($website_name) && !empty($index_page)) {
							$check = $connect->query("SELECT * FROM `customer_website` WHERE `user_id` = '$memberid'");
							$check_website_name = $connect->query("SELECT * FROM `customer_website` WHERE `website_name` = '$website_name' && `memberid` != '$memberid'");
							if ($check_website_name->num_rows > 0) {
								echo "<div class='alert alert-danger'>Website name already exists, try different one.</div>";
							}else{
								if ($check->num_rows > 0) {
									$update = $connect->query("UPDATE `customer_website` SET `website_name` = '$website_name', `index_page_id` = '$index_page' WHERE `memberid` = '$memberid'");
									if ($update) {
										echo "<div class='alert alert-success'>Website config updated successfully.</div>";
									} else {
										echo "<div class='alert alert-danger'>Something went wrong.</div>";
									}
								} else {
									$insert = $connect->query("INSERT INTO `customer_website` (`memberid`, `website_name`, `index_page_id`, `publish_status`) VALUES ('$memberid', '$website_name', '$index_page', '0')");
									if ($insert) {
										echo "<div class='alert alert-success'>Website config updated successfully.</div>";
									} else {
										echo "<div class='alert alert-danger'>Something went wrong.</div>";
									}
								}
							}
						} else {
							echo "<div class='alert alert-danger'>Please fill all fields.</div>";
						}
					}

					$res_web_data = $connect->query("SELECT * FROM `customer_website` WHERE `memberid` = '$memberid'");

					if ($res_web_data->num_rows > 0) {
						$row_web_data = $res_web_data->fetch_assoc();
						$website_name = $row_web_data['website_name'];
						$index_page = $row_web_data['index_page_id'];
						$publish_status = $row_web_data['publish_status'];
					} else {
						$website_name = '';
						$index_page = '';
						$publish_status = '';
					}

					?>
					<form action="" method="POST">
						<div class="main-box">
							<div class="form-box">
							<label for="">Website name</label>
								<div class="form-group">
									<input type="text" name="website-name" value="<?= $website_name; ?>" placeholder="Website name">
								</div>
							</div>
							<div class="form-box">
							<label for="">Index page</label>
								<div class="form-group">
									<select name="index-page">
										<option selected="" value="index">Select an index page</option>
										<?php
										$res_pages = $connect->query("SELECT * FROM pages WHERE member_id = '$memberid'");

										while ($row_pages = $res_pages->fetch_assoc()) {
											if ($row_pages['pageid'] == $index_page) {
												$selected = "selected";
											}else{
												$selected = "";
											}
											echo '<option value="'.$row_pages["pageid"].'" '.$selected.'>'.$row_pages["title"].'</option>';
										}
										?>
									</select>
								</div>
							</div>
							<button type="submit" name="update_web_config" class="button button-yellow">Update</button>
						</div>
					</form>
					<form action="" method="POST">
						<div class="main-box">
							<h2 class="main-title">Pages | Current Number of Pages (<?= $number_of_pages ?>)</h2>
							<?= $form1Err; ?>
							<a href="/members/add_page.php" class="button button-yellow">Add Page</a>
							<?= $display_message; ?>
							<div class="page_container">
								<?php while ($row_pages = $query_pages->fetch_assoc()) : ?>
									<div class="page_content">
										<span>
											<svg id="e9f74635-ebc8-4876-b388-2a2b0ea07be1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 715.36 956.57">
												<defs>
													<style>
														.b704cf01-8e8e-4f64-af15-4089db401ebb {
															fill: #fff;
														}

														.ff5e0bf2-8acc-4b38-a6b6-3174a1854525 {
															fill: #d7d6d6;
														}

														.a410596e-761e-464b-9c78-f37dd06c02f8 {
															fill: #d76d6d;
														}

														.e6b2598e-2324-4c21-8936-2e4560eb17db {
															fill: #d9dadb;
														}
													</style>
												</defs>
												<title>Untitled-1</title>
												<rect class="b704cf01-8e8e-4f64-af15-4089db401ebb" x="29.79" y="14.33" width="648.97" height="927.91" />
												<rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="42.69" width="40.2" height="40.2" />
												<rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="479.27" y="42.69" width="168.72" height="40.2" />
												<rect class="a410596e-761e-464b-9c78-f37dd06c02f8" x="29.79" y="104.29" width="648.97" height="307.12" />
												<rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="457.7" width="284.52" height="186.96" />
												<rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="457.7" width="271.64" height="25.23" />
												<rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="496.25" width="271.64" height="25.23" />
												<rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="539.23" width="271.64" height="25.23" />
												<rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="579.51" width="271.64" height="25.23" />
												<rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="619.43" width="271.64" height="25.23" />
												<rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="689.17" width="284.52" height="186.96" />
												<rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="689.17" width="271.64" height="25.23" />
												<rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="727.71" width="271.64" height="25.23" />
												<rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="770.69" width="271.64" height="25.23" />
												<rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="810.97" width="271.64" height="25.23" />
												<rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="850.9" width="271.64" height="25.23" />
											</svg>
											<div class="page-content-info">
												<h3 class="page-content-title"><?= $row_pages['title'] ?></h3>
												<div class="page-content-action">
													<a href="./edit_page.php?pageid=<?= $row_pages['pageid'] ?>" title="Edit Page"><i class='bx bxs-edit-alt'></i></a>
													<a href="./page_configuration.php?pageid=<?= $row_pages['pageid'] ?>" title="Add Components"><i class='bx bxs-plus-circle'></i></a>
													<a href="./website.php?del=yes&pageid=<?= $row_pages['pageid'] ?>" onclick="return confirm('Are you sure to delete?')" title="Delete Page"><i class='bx bxs-trash'></i></a>
												</div>
											</div>
										</span>
									</div>
								<?php endwhile ?>
								<!-- <div class="page_content">
								<svg id="e9f74635-ebc8-4876-b388-2a2b0ea07be1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 715.36 956.57"><defs><style>.b704cf01-8e8e-4f64-af15-4089db401ebb{fill:#fff;}.ff5e0bf2-8acc-4b38-a6b6-3174a1854525{fill:#d7d6d6;}.a410596e-761e-464b-9c78-f37dd06c02f8{fill:#d76d6d;}.e6b2598e-2324-4c21-8936-2e4560eb17db{fill:#d9dadb;}</style></defs><title>Untitled-1</title><rect class="b704cf01-8e8e-4f64-af15-4089db401ebb" x="29.79" y="14.33" width="648.97" height="927.91"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="42.69" width="40.2" height="40.2"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="479.27" y="42.69" width="168.72" height="40.2"/><rect class="a410596e-761e-464b-9c78-f37dd06c02f8" x="29.79" y="104.29" width="648.97" height="307.12"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="457.7" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="457.7" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="496.25" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="539.23" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="579.51" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="619.43" width="271.64" height="25.23"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="689.17" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="689.17" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="727.71" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="770.69" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="810.97" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="850.9" width="271.64" height="25.23"/></svg>
								</div>
								<div class="page_content">
								<svg id="e9f74635-ebc8-4876-b388-2a2b0ea07be1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 715.36 956.57"><defs><style>.b704cf01-8e8e-4f64-af15-4089db401ebb{fill:#fff;}.ff5e0bf2-8acc-4b38-a6b6-3174a1854525{fill:#d7d6d6;}.a410596e-761e-464b-9c78-f37dd06c02f8{fill:#d76d6d;}.e6b2598e-2324-4c21-8936-2e4560eb17db{fill:#d9dadb;}</style></defs><title>Untitled-1</title><rect class="b704cf01-8e8e-4f64-af15-4089db401ebb" x="29.79" y="14.33" width="648.97" height="927.91"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="42.69" width="40.2" height="40.2"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="479.27" y="42.69" width="168.72" height="40.2"/><rect class="a410596e-761e-464b-9c78-f37dd06c02f8" x="29.79" y="104.29" width="648.97" height="307.12"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="457.7" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="457.7" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="496.25" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="539.23" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="579.51" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="619.43" width="271.64" height="25.23"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="689.17" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="689.17" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="727.71" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="770.69" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="810.97" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="850.9" width="271.64" height="25.23"/></svg>
								</div>
								<div class="page_content">
								<svg id="e9f74635-ebc8-4876-b388-2a2b0ea07be1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 715.36 956.57"><defs><style>.b704cf01-8e8e-4f64-af15-4089db401ebb{fill:#fff;}.ff5e0bf2-8acc-4b38-a6b6-3174a1854525{fill:#d7d6d6;}.a410596e-761e-464b-9c78-f37dd06c02f8{fill:#d76d6d;}.e6b2598e-2324-4c21-8936-2e4560eb17db{fill:#d9dadb;}</style></defs><title>Untitled-1</title><rect class="b704cf01-8e8e-4f64-af15-4089db401ebb" x="29.79" y="14.33" width="648.97" height="927.91"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="42.69" width="40.2" height="40.2"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="479.27" y="42.69" width="168.72" height="40.2"/><rect class="a410596e-761e-464b-9c78-f37dd06c02f8" x="29.79" y="104.29" width="648.97" height="307.12"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="457.7" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="457.7" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="496.25" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="539.23" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="579.51" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="619.43" width="271.64" height="25.23"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="689.17" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="689.17" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="727.71" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="770.69" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="810.97" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="850.9" width="271.64" height="25.23"/></svg>
								</div>
								<div class="page_content">
								<svg id="e9f74635-ebc8-4876-b388-2a2b0ea07be1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 715.36 956.57"><defs><style>.b704cf01-8e8e-4f64-af15-4089db401ebb{fill:#fff;}.ff5e0bf2-8acc-4b38-a6b6-3174a1854525{fill:#d7d6d6;}.a410596e-761e-464b-9c78-f37dd06c02f8{fill:#d76d6d;}.e6b2598e-2324-4c21-8936-2e4560eb17db{fill:#d9dadb;}</style></defs><title>Untitled-1</title><rect class="b704cf01-8e8e-4f64-af15-4089db401ebb" x="29.79" y="14.33" width="648.97" height="927.91"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="42.69" width="40.2" height="40.2"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="479.27" y="42.69" width="168.72" height="40.2"/><rect class="a410596e-761e-464b-9c78-f37dd06c02f8" x="29.79" y="104.29" width="648.97" height="307.12"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="457.7" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="457.7" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="496.25" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="539.23" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="579.51" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="619.43" width="271.64" height="25.23"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="689.17" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="689.17" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="727.71" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="770.69" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="810.97" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="850.9" width="271.64" height="25.23"/></svg>
								</div>
								<div class="page_content">
								<svg id="e9f74635-ebc8-4876-b388-2a2b0ea07be1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 715.36 956.57"><defs><style>.b704cf01-8e8e-4f64-af15-4089db401ebb{fill:#fff;}.ff5e0bf2-8acc-4b38-a6b6-3174a1854525{fill:#d7d6d6;}.a410596e-761e-464b-9c78-f37dd06c02f8{fill:#d76d6d;}.e6b2598e-2324-4c21-8936-2e4560eb17db{fill:#d9dadb;}</style></defs><title>Untitled-1</title><rect class="b704cf01-8e8e-4f64-af15-4089db401ebb" x="29.79" y="14.33" width="648.97" height="927.91"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="42.69" width="40.2" height="40.2"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="479.27" y="42.69" width="168.72" height="40.2"/><rect class="a410596e-761e-464b-9c78-f37dd06c02f8" x="29.79" y="104.29" width="648.97" height="307.12"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="457.7" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="457.7" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="496.25" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="539.23" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="579.51" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="619.43" width="271.64" height="25.23"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="689.17" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="689.17" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="727.71" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="770.69" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="810.97" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="850.9" width="271.64" height="25.23"/></svg>
								</div>
								<div class="page_content">
								<svg id="e9f74635-ebc8-4876-b388-2a2b0ea07be1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 715.36 956.57"><defs><style>.b704cf01-8e8e-4f64-af15-4089db401ebb{fill:#fff;}.ff5e0bf2-8acc-4b38-a6b6-3174a1854525{fill:#d7d6d6;}.a410596e-761e-464b-9c78-f37dd06c02f8{fill:#d76d6d;}.e6b2598e-2324-4c21-8936-2e4560eb17db{fill:#d9dadb;}</style></defs><title>Untitled-1</title><rect class="b704cf01-8e8e-4f64-af15-4089db401ebb" x="29.79" y="14.33" width="648.97" height="927.91"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="42.69" width="40.2" height="40.2"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="479.27" y="42.69" width="168.72" height="40.2"/><rect class="a410596e-761e-464b-9c78-f37dd06c02f8" x="29.79" y="104.29" width="648.97" height="307.12"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="457.7" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="457.7" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="496.25" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="539.23" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="579.51" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="619.43" width="271.64" height="25.23"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="689.17" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="689.17" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="727.71" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="770.69" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="810.97" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="850.9" width="271.64" height="25.23"/></svg>
								</div>
								<div class="page_content">
								<svg id="e9f74635-ebc8-4876-b388-2a2b0ea07be1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 715.36 956.57"><defs><style>.b704cf01-8e8e-4f64-af15-4089db401ebb{fill:#fff;}.ff5e0bf2-8acc-4b38-a6b6-3174a1854525{fill:#d7d6d6;}.a410596e-761e-464b-9c78-f37dd06c02f8{fill:#d76d6d;}.e6b2598e-2324-4c21-8936-2e4560eb17db{fill:#d9dadb;}</style></defs><title>Untitled-1</title><rect class="b704cf01-8e8e-4f64-af15-4089db401ebb" x="29.79" y="14.33" width="648.97" height="927.91"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="42.69" width="40.2" height="40.2"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="479.27" y="42.69" width="168.72" height="40.2"/><rect class="a410596e-761e-464b-9c78-f37dd06c02f8" x="29.79" y="104.29" width="648.97" height="307.12"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="457.7" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="457.7" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="496.25" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="539.23" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="579.51" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="619.43" width="271.64" height="25.23"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="689.17" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="689.17" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="727.71" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="770.69" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="810.97" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="850.9" width="271.64" height="25.23"/></svg>
								</div>
								<div class="page_content">
								<svg id="e9f74635-ebc8-4876-b388-2a2b0ea07be1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 715.36 956.57"><defs><style>.b704cf01-8e8e-4f64-af15-4089db401ebb{fill:#fff;}.ff5e0bf2-8acc-4b38-a6b6-3174a1854525{fill:#d7d6d6;}.a410596e-761e-464b-9c78-f37dd06c02f8{fill:#d76d6d;}.e6b2598e-2324-4c21-8936-2e4560eb17db{fill:#d9dadb;}</style></defs><title>Untitled-1</title><rect class="b704cf01-8e8e-4f64-af15-4089db401ebb" x="29.79" y="14.33" width="648.97" height="927.91"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="42.69" width="40.2" height="40.2"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="479.27" y="42.69" width="168.72" height="40.2"/><rect class="a410596e-761e-464b-9c78-f37dd06c02f8" x="29.79" y="104.29" width="648.97" height="307.12"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="457.7" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="457.7" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="496.25" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="539.23" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="579.51" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="619.43" width="271.64" height="25.23"/><rect class="ff5e0bf2-8acc-4b38-a6b6-3174a1854525" x="58.8" y="689.17" width="284.52" height="186.96"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="689.17" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="727.71" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="770.69" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="810.97" width="271.64" height="25.23"/><rect class="e6b2598e-2324-4c21-8936-2e4560eb17db" x="376.36" y="850.9" width="271.64" height="25.23"/></svg>
								</div> -->
							</div>
						</div>
					</form>
				</div>
			</div>
		</main>
		<!-- MAIN -->
	</section>
	<!-- NAVBAR -->

	<div class="popup" id="update-email-popup">
		<div class="popup-dialog">
			<div class="popup-content">
				<div class="popup-header">
					<h3>Update Email</h3>
					<button type="button" class="popup-close">&times;</button>
				</div>
				<form action="" method="POST">
					<div class="form-box">
						<div class="form-description">Your email address</div>
						<div class="form-group">
							<input type="email" name="email" id="email" value="<?= $memberemail ?>" placeholder="Email">
						</div>
					</div>
					<div class="form-box">
						<div class="form-description">Password</div>
						<div class="form-group">
							<input type="password" name="password" id="password" placeholder="Password">
							<svg class="toggle-password">
								<use xlink:href="index.svg#eye-line"></use>
							</svg>
						</div>
					</div>
					<button type="submit" name="update_email" class="button button-yellow">Update Email</button>
				</form>
			</div>
		</div>
	</div>

	<div class="popup" id="update-password-popup">
		<div class="popup-dialog">
			<div class="popup-content">
				<div class="popup-header">
					<h3>Update password</h3>
					<button type="button" class="popup-close">&times;</button>
				</div>
				<form action="" method="POST">
					<div class="form-box">
						<div class="form-description">Old password</div>
						<div class="form-group">
							<input type="password" name="oldpassword" id="password" placeholder="Old Password"> <svg class="toggle-password">
								<use xlink:href="index.svg#eye-line"></use>
							</svg>
						</div>
					</div>
					<div class="form-box">
						<div class="form-description">New password</div>
						<div class="form-group">
							<input type="password" name="newpassword" id="password" placeholder="New Password"> <svg class="toggle-password">
								<use xlink:href="index.svg#eye-line"></use>
							</svg>
						</div>
					</div>
					<div class="form-box">
						<div class="form-description">Re-enter new password</div>
						<div class="form-group">
							<input type="password" name="repassword" id="password-confirmation" placeholder="Confirm password"> <svg class="toggle-password">
								<use xlink:href="index.svg#eye-line"></use>
							</svg>
						</div>
					</div>
					<button type="submit" name="update_password" class="button button-yellow">Update Password</button>
				</form>
			</div>
		</div>
	</div>

	<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
	<script src="script.js"></script>
	<script type="text/javascript">
		var google_conversion_id = 1002183308;
		var google_conversion_language = "en";
		var google_conversion_format = "1";
		var google_conversion_color = "ffffff";
		var google_conversion_label = "VkY6CNTn7FEQjLXw3QM";
		var google_conversion_value = 0;

		function CheckRegister() {
			var em = /@/;

			if (document.RegForm.ename.value == "") {
				window.alert('Please enter your email address');
				document.RegForm.ename.focus();
				return false;
			}
			if (!em.test(document.RegForm.ename.value)) {
				alert("Please enter a valid email address");
				document.RegForm.ename.focus();
				return false;
			}
			if (document.RegForm.epass.value == "") {
				window.alert('Please enter your password');
				document.RegForm.epass.focus();
				return false;
			}
			if (document.RegForm.epass.value !== document.RegForm.cepass.value) {
				window.alert('Your passwords do not match');
				document.RegForm.epass.focus();
				return false;
			}
			if (document.RegForm.contactname.value == "") {
				window.alert('Please enter your full name');
				document.RegForm.contactname.focus();
				return false;
			}
		}

		$('[data-toggle="popup"]').click(function(e) {
			e.preventDefault()
			$($(this).attr('data-target')).addClass('active')
			$('html').addClass('overflow-hidden')
		})

		$('.popup-close').click(function() {
			$(this).closest('.popup').removeClass('active')
			$('html').removeClass('overflow-hidden')
		})

		$('.toggle-password').click(function() {
			var el = $(this).siblings('input')

			if (el.attr('type') === 'password') {
				el.attr('type', 'text')
				$(this).children().attr('xlink:href', 'index.svg#eye-off-line')
			} else {
				el.attr('type', 'password')
				$(this).children().attr('xlink:href', 'index.svg#eye-line')
			}
		})
	</script>
	<script src="http://www.googleadservices.com/pagead/conversion.js"></script>
	<noscript>
		<div style="display:inline;">
			<img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/1002183308/?value=0&amp;label=VkY6CNTn7FEQjLXw3QM&amp;guid=ON&amp;script=0" />
		</div>
	</noscript>

</body>

</html>



<!-- <section>
		<div class="container">
			<div class="advert-wrapper">
			<? die(); ?>
				<div class="advert-main">
					<div class="advert-main-header">
						<div>
							<div class="advert-main-title">Update Account Details</div>
							<p>Update your account information.</p>
						</div>
					</div>
					<form action="">
						<div class="advert-account-group">
							<div class="advert-account-title">Account details</div>
							<div class="advert-account-group-body">
								<div class="submit-advert-form-group">
									<label for="email">Email*:</label>
									<p class="submit-advert-label-description ">Please enter your email address.</p>
									<input type="email" id="email" class="form-control">
								</div>
								<div class="submit-advert-form-group">
									<label for="password">Password*:</label>
									<p class="submit-advert-label-description ">Please enter your password.</p>
									<input type="password" id="password" class="form-control">
								</div>
								<div class="submit-advert-form-group">
									<label for="re-password">Confirm Password*:</label>
									<p class="submit-advert-label-description ">Please re-enter your password.</p>
									<input type="password" id="re-password" class="form-control">
								</div>
							</div>
						</div>
						<div class="advert-account-group">
							<div class="advert-account-title">Personal details</div>
							<div class="advert-account-group-body">
								<div class="submit-advert-form-group">
									<label for="email">Contact Name*:</label>
									<p class="submit-advert-label-description ">Please enter your full name.</p>
									<input type="text" id="email" class="form-control">
								</div>
								<div class="submit-advert-form-group">
									<label for="address">Address:</label>
									<p class="submit-advert-label-description ">Please enter your home address.</p>
									<textarea id="address" cols="30" rows="5" class="form-control"></textarea>
								</div>
								<div class="submit-advert-form-group">
									<label for="postcode">Postcode:</label>
									<p class="submit-advert-label-description ">Please enter your postcode.</p>
									<input type="text" id="postcode" class="form-control">
								</div>
								<div class="submit-advert-form-group">
									<label for="phone">Telephone:</label>
									<p class="submit-advert-label-description ">Please enter your telephone number.</p>
									<input type="tel" id="phone" class="form-control">
								</div>
							</div>
						</div>
						<p class="advert-account-form-note">* Required fields</p>
						<button type="submit" class="btn btn-yellow">Update Information</button>
					</form>
				</div>
			</div>
		</div>
	</section> -->

Youez - 2016 - github.com/yon3zu
LinuXploit