-
Notifications
You must be signed in to change notification settings - Fork 0
/
photobooth.php
53 lines (53 loc) · 1.66 KB
/
photobooth.php
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
<?php require_once("build/includes/initialize.php"); ?>
<?php $photobooth_photo = new Photobooth($_GET['photo_id']); ?>
<html>
<head>
</head>
<body>
<?php require_once("build/includes/analyticstracking.php"); ?>
<div class="photobooth-photo-page" data-photo-id="<?php echo $_GET['photo_id']; ?>">
<div class="photobooth-photo-container">
<?php
echo '<img src="../..' . $photobooth_photo->photo_path . '" />';
?>
</div>
<div class="photobooth-social-container">
<div class="photobooth-favorites-container">
<div class="photobooth-favorites-count">
<span class="photobooth-favorites-number"><?php echo $photobooth_photo->votes; ?>
</span>
</div>
<div class="photobooth-favorites-people">
</div>
</div>
<div class="photobooth-conversation-container">
<div class="photobooth-conversation-caption photobooth-comment">
<span class="username">
<a href="/profile.php?user_id=<?php echo $photobooth_photo->user_id; ?>">
<?php echo $photobooth_photo->user_handle; ?>
</a>
</span>
<span class="comment-text">
<?php echo $photobooth_photo->photo_description; ?>
</span>
<?php $photobooth_photo->print_tags(); ?>
<span class="comment-time">
<?php
$datestamp = Comment::format_datestamp($photobooth_photo->photo_date);
echo $datestamp;
?>
</span>
</div>
<ul id="commemtWall">
<?php $photobooth_photo->print_comment_wall(); ?>
</ul>
<form class="photobooth-comment-composer">
<textarea value="Add a comment">Add a comment</textarea>
</form>
</div>
</div>
<div class="photobooth-sidebar-container">
</div>
</div>
</body>
</html>