-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconvo-photo.php
149 lines (93 loc) · 3.26 KB
/
convo-photo.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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?php ob_start(); ?>
<?php include"sessions.php";
$path =$_COOKIE['path'];
?>
<!DOCTYPE html>
<html>
<head>
<?php
?>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>IntelliFeed</title>
<!-- Path to Framework7 Library CSS-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="css/framework7.material.min.css">
<!-- Path to your custom app styles-->
<link rel="stylesheet" href="css/my-app.css">
</head>
<body style='background:<?php echo"$postcolor"; ?>';>
<div class="views">
<div class="view view-main">
<div class="pages navbar-fixed toolbar-fixed">
<div class="page" data-page="index">
<div class="navbar " style="background-color:#0c56ac" >
<div class="navbar-inner">
<div class="left"><a href="
<?php
$from_url = $_SERVER['HTTP_REFERER'];
if($from_url){
echo"$from_url";
}else{
echo"home.php";
}
?>
" class="back link icon-only"><i class="icon icon-back"></i></a></div>
<a href="home.php" style="color:#FFF"> <div class="center">IntelliFeed</div></a>
<div class="right"><a href="#" class="link open-panel icon-only"><i class="icon icon-bars"></i></a></div>
</div>
</div>
<div class="page-content">
<div data-pagination=".swiper-pagination" data-zoom="true" data-next-button=".swiper-button-next" data-prev-button=".swiper-button-prev" class="swiper-container swiper-init ks-demo-slider">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="swiper-zoom-container">
<?php
if($_GET['pid']!=""){
$look= $_GET['pid'];
include "connect.php";
$ui = "SELECT convo_id,content,message_id,timestamp,recepient,user_id,image,viewed
FROM convo
WHERE convo_id = $look
";
$pinfo=mysqli_query($conn, $ui);
mysqli_close($conn);
if($pinfo){
while ($stuff = mysqli_fetch_array($pinfo)) {
$comment_id = $stuff['convo_id'];
$comment = $stuff['content'];
$message_id = $stuff['message_id'];
$receipt = $stuff['recepient'];
$timed = $stuff['timestamp'];
$comment_user = $stuff['user_id'];
$images = $stuff['image'];
mysqli_close($conn);
}
echo"
<img src='$images'/>";
}
}
echo"
";
?>
</div>
</div
</div>
</div>
</div>
</div>
<br><br> <p class='buttons-row'><i class='icon f7-icons'>bell</i><a href='convo-media.php?all=more' class='button button-fill button-raised' style='background-color:teal' >Conversation Photos</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Path to Framework7 Library JS-->
<script type="text/javascript" src="js/framework7.min.js"></script>
<!-- Path to your app js-->
<script type="text/javascript" src="js/my-app.js"></script>
<script type="text/javascript" src="cordova.js"></script>
</body>
</html>