/extremedating/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/extremedating/trunk
2.1.1 by Daniel Johansson
Added csses, index.php and image folder
1
<!DOCTYPE html>
26 by Daniel Johansson
Fixed sessions for logins
2
<?PHP
3
	session_start();
4
?>
9.1.1 by Daniel Johansson
moved login.php, started using db in index.php
5
6
<?PHP
7
	include 'php/db.php';
15 by Daniel Johansson
Fixed stuffz
8
	$userinfo = $db->query("SELECT firstName from Users WHERE loginName="$username);
13 by Daniel Johansson
fixed Query of names on firstpage
9
	$self = $userinfo->fetchAll();
10
	$firstName = $self [0]['firstName'];
15 by Daniel Johansson
Fixed stuffz
11
	$userinfo = $db->query("SELECT surName from Users WHERE loginName="$username);
13 by Daniel Johansson
fixed Query of names on firstpage
12
	$self = $userinfo->fetchAll();
13
	$surName = $self [0]['surName'];
9.1.1 by Daniel Johansson
moved login.php, started using db in index.php
14
?>
15
2.1.1 by Daniel Johansson
Added csses, index.php and image folder
16
<html>
5 by Gustav Hatvigsson
added licingsing information to the CSS and index.php
17
<!--
18
    ExtremeDating - a Hackathon 2013 project.
19
    Copyright (C) 2013 Gustav Hartvigsson <gustav.hartvigsson@gmail.com>
20
    Copyright (C) 2013 Daniel Johansson <maila@danieljohansson.nu>
21
22
23
    This program is free software: you can redistribute it and/or modify
24
    it under the terms of the GNU Affero General Public License as
25
    published by the Free Software Foundation, either version 3 of the
26
    License, or (at your option) any later version.
27
28
    This program is distributed in the hope that it will be useful,
29
    but WITHOUT ANY WARRANTY; without even the implied warranty of
30
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
31
    GNU Affero General Public License for more details.
32
33
    You should have received a copy of the GNU Affero General Public License
34
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
35
-->
2.1.1 by Daniel Johansson
Added csses, index.php and image folder
36
	<header>
37
		<title>Lunchdating</title>
2.1.2 by Daniel Johansson
Fixed first test of profile page
38
		<link rel="stylesheet" type="text/css" href="css/main.css"/>
2.1.5 by Daniel Johansson
Edited html
39
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
2.1.1 by Daniel Johansson
Added csses, index.php and image folder
40
	</header>
41
	<body id="wrapper">
42
		<div id="profile">
2.1.6 by Daniel Johansson
Splitted out profile, started firstpage for flow
43
			<div id="profileheader">
17 by Daniel Johansson
made sweet love to new index.php
44
			<div id="logo">
45
				<img src="img/logo.png"/>
46
			</div>
13 by Daniel Johansson
fixed Query of names on firstpage
47
				<p id="profilename"><?php echo $firstName . " " . $surName;?></p>
2.1.6 by Daniel Johansson
Splitted out profile, started firstpage for flow
48
			</div>
49
			<div id="profileimg">
50
				<img src="img/profilemockup.jpg"/>
51
				<p id="smallheader">Personer jag vill träffa:</p>
52
				<p id="profilelink">Herp Derp</p>
53
				<p id="profilelink">Jane Doe</p>
54
				<p id="smallheader">Personer som vill träffa mig:</p>
55
				<p id="profilelink">Jane Doe</p>
56
			</div>
57
			<div id="wallflow">
58
			</div>
2.1.1 by Daniel Johansson
Added csses, index.php and image folder
59
		</div>
60
	</body>
5 by Gustav Hatvigsson
added licingsing information to the CSS and index.php
61
</html>