-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvlogger_view_vlog.php
More file actions
96 lines (85 loc) · 2.34 KB
/
vlogger_view_vlog.php
File metadata and controls
96 lines (85 loc) · 2.34 KB
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
<?php
session_start();
include("vlogger_header.php");
include("connect.php");
?>
<!-- Start About -->
<div class="about-section-box">
<br/><br/><br/>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="heading-title text-center">
<h2>VLOG DETAIL</h2>
</div>
</div>
<div class="col-md-12">
<?php
$userid=$_SESSION['vlid'];
$qur=mysql_query("select * from vlog_master where user_id='$userid'");
if(mysql_num_rows($qur)>0)
{
echo "<table class='table table-bordered'>
<tr>
<th>VLOG ID</th>
<th>DISH NAME</th>
<th>PLACE NAME</th>
<th>ADDRESS</th>
<th>CITY</th>
<th>REGION NAME</th>
<th>MOBILE NO</th>
<th>VEG/NON-VEG</th>
<th>DISH IMAGE</th>
<th>VIEW VIDEO</th>
<th>STATUS</th>
<th>COMMENTS</th>
</tr>";
while($q1=mysql_fetch_array($qur))
{
echo "<tr>";
echo "<td>$q1[0]</td>";
echo "<td>$q1[1]</td>";
echo "<td>$q1[2]</td>";
echo "<td>$q1[3]</td>";
echo "<td>$q1[4]</td>";
//echo "<td>$q1[5]</td>";
$qur2=mysql_query("select * from region_master where region_id='$q1[5]'");
$q2=mysql_fetch_array($qur2);
echo "<td>$q2[1]</td>";
echo "<td>$q1[6]</td>";
if($q1[9]=="1")
{
echo "<td style='color:green;'>VEG</td>";
}else{
echo "<td style='color:red;'>NON-VEG</td>";
}
echo "<td><img src='$q1[8]' style='width:150px; height:150px;'></td>";
echo "<td><a href='$q1[7]' target='_blank'>VIEW VIDEO</a></td>";
if($q1[10]=="0")
{
echo "<td style='color:pink;'>NEW UPLOADED</td>";
echo "<td style='color:pink;'>--------</td>";
}else if($q1[10]=="1"){
echo "<td style='color:green;'>VERIFIED</td>";
echo "<td style='color:green;'>--------</td>";
}else if($q1[10]=="2"){
echo "<td style='color:red;'>NOT VERIFIED</td>";
echo "<td style='color:red;'>$q1[11]</td>";
}
echo "</tr>";
}
echo "</table>";
}
else
{
echo "<h2>No Record Found</h2>";
}
?>
</div>
</div>
</div>
</div>
<!-- End About -->
<?php
include("footer.php");
?>