Exemplo n.º 1
0
} else {
    header("Location: ../views/signinPage.php?message=" . urlencode("Login again!"));
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<?php 
require_once "engine.php";
require_once "../models/user.php";
require_once "../models/photo.php";
require_once "../models/album.php";
require_once "../models/DataAccessHelper.php";
echo $includes;
$imgsrc = array();
$rs = photo::getImageusername($temp['username']);
foreach ($rs as $row) {
    $imgsrc[] = 'data:image/jpg;base64,' . base64_encode($row['imageFile']);
}
?>
				
	<title>
		PhotoShare
	</title>
</head>
	<script>

	</script> 
<body>
	<?php 
echo $navbar;