-
Notifications
You must be signed in to change notification settings - Fork 1
/
userpage.php.orig
86 lines (72 loc) · 2.07 KB
/
userpage.php.orig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Social Collage</title>
<link rel="stylesheet" type="text/css" href="http://960ls.atomidata.com/static/cssserve/1/1/6/6/7/5/116675.css">
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/960.css">
<link rel="stylesheet" type="text/css" href="css/userpage.css">
<<<<<<< HEAD
<script type="text/javascript" href="search/static/jquery-1.4.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$.get("user.php",
function(data) {
$('#collageinfo').html(data);
alert("hell yeah!");
});
});
</script>
=======
<script type="text/javascript" src="jquery-1.4.3.min.js"></script>
>>>>>>> babc3f9d4497345cb4a77fe2f942159e13c8c10f
</head>
<body>
<div id="header" class="container_12">
<div id="logo" class="grid_3 ">
<img src="logo2.png" width='200px' style='margin-top: 10px;'></img>
</div>
<div id="linkbar" class="grid_7 ">
</div>
<div id="loginbar" class="grid_2 ">
</div>
</div>
<div id="content" class="container_12">
<?
// include('search/index.html');
?>
</div>
<div id="footer" class="container_12">
<div id="meta" class="grid_12 ">
Meta
</div>
</div>
</body>
<<<<<<< HEAD
</html>
=======
</html>
<?
class Collage {
private $images = array();
private $username = "nil";
private $userurl = "socialcollage/userpage.php?";
public function createUser($usr) {
$username = $usr;
$userurl = "socialcollage/userpage.php?".$username;
}
public function addImg($imgurl) {
$images.array_push($imgurl);
}
public function printCollage() {
echo "<div class='collage' id='".$username."collage'>";
foreach ($images as $image) {
echo "<div class='collageimg'>".
"<img src = '".$image."'>".
"</div>";
}
echo "<div>";
}
}
?>
>>>>>>> babc3f9d4497345cb4a77fe2f942159e13c8c10f