</li> <li><a>Patients <span>Click here to login</span></a> <ul> <li> <form action="php/process_loginp.php" method="post" name="login_form"> Email: <input type="text" name="email" /> Password: <input type="password" name="password" id="password"/> <input type="submit" value="Login" /> </form> </li> </ul> </li> <li><a href="">Lifestyle Tips <span>Your Health & Happiness</span></a> </li> <?php if (login_checkd($mysqli) == true) { echo '<li>'; echo '<a href=protected_page.php>Patients under your care</a>'; echo '</li>'; } ?> <li><a href="contact.php">Contact us<span>Get in touch!</span></a> </li> <li><?php if (login_check($mysqli) == true) { echo '<p>Currently logged ' . $logged . ' as ' . htmlentities($_SESSION['type']) . " " . htmlentities($_SESSION['name']) . '.</p>'; echo '<p>Do you want to change user? <a href="php/logout.php">Log out</a>.</p>'; } else { echo '<p>Currently logged ' . $logged . '.</p>'; echo "<p>If you don't have a login, please <a href='register.php'>register</a></p>"; } ?>
margin-left: 0; margin-top: 50px; border-style: solid; } </style> <meta charset="UTF-8"> <title>Comparison display</title> <link rel="stylesheet" href="styles/main.css" /> <script src="Resemble.js"></script> <script src="main.js"> </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> </head> <body> <section class="subcontent"> <?php if (login_checkd($mysqli) == true || login_check($mysqli)) { ?> <p style="font-size:15px">Welcome <?php echo htmlentities($_SESSION['type']) . " " . htmlentities($_SESSION['name']); ?> !</p> <?php $email = $_GET['email']; ?> <p style="font-size:13px"> User <?php echo $email; ?> image attempt </p> </section> <img src="userimages/original.jpg" id="file1"/>