<p> <?php if (!isset($_SESSION['un'])) { echo ' <ul class="center-block"> <h1><small>You must log in first.</small></h1>'; } else { echo '<h1><small>Under construction, more features to come.</small></h1><form action= "" method = "post" enctype = "multipart/form-data"> <input type = "file" name = "fileToUpload" id = "fileToUpload" style = "padding-left: 300px;"> <input type = "submit" name = "submit" value = "Upload Picture" style = "display: block;margin-top:10px;padding-left: 300px;"> </form>'; } ?> </p> <?php if (isset($response)) { echo "<h4 class='alert'>" . $response . "</h4>"; } ?> </div> <div class = "pic"> <?php $imgDirectories = $Membership->grab_User_Pictures(); foreach ($imgDirectories as $path) { echo ' <img src = "' . $path . '" >'; } ?> </div> </body> </html>