-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathterms.php
executable file
·153 lines (95 loc) · 5.69 KB
/
terms.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
150
151
152
153
<?php
$active='Shop';
include("includes/header.php");
?>
<div id="content"><!-- #content Begin -->
<div class="container"><!-- container Begin -->
<div class="col-md-12"><!-- col-md-12 Begin -->
<ul class="breadcrumb"><!-- breadcrumb Begin -->
<li>
<a href="index.php">Home</a>
</li>
<li>
Terms & Conditions | Refund
</li>
</ul><!-- breadcrumb Finish -->
</div><!-- col-md-12 Finish -->
<div class="col-md-3"><!-- col-md-3 Begin -->
<div class="box"><!-- box Begin -->
<ul class="nav nav-pills nav-stacked"><!-- nav nav-pills nav-stacked Begin -->
<?php
$get_terms = "select * from terms LIMIT 0,1";
$run_terms = mysqli_query($con,$get_terms);
while($row_terms=mysqli_fetch_array($run_terms)){
$term_title = $row_terms['term_title'];
$term_link = $row_terms['term_link'];
?>
<li class="active"><!-- li.active Begin -->
<a data-toggle="pill" href="#<?php echo $term_link; ?>">
<?php echo $term_title; ?>
</a>
</li><!-- /li.active Begin -->
<?php } ?>
<?php
$count_terms = "select * from terms";
$run_count_terms = mysqli_query($con,$count_terms);
$count = mysqli_num_rows($run_count_terms);
$get_terms = "select * from terms LIMIT 1,$count";
$run_terms = mysqli_query($con,$get_terms);
while($row_terms=mysqli_fetch_array($run_terms)){
$term_title = $row_terms['term_title'];
$term_link = $row_terms['term_link'];
?>
<li><!-- li Begin -->
<a data-toggle="pill" href="#<?php echo $term_link; ?>">
<?php echo $term_title; ?>
</a>
</li><!-- /li Begin -->
<?php } ?>
</ul><!-- /nav nav-pills nav-stacked Begin -->
</div><!-- /box Begin -->
</div><!-- /col-md-3 Finish -->
<div class="col-md-9"><!-- col-md-9 Begin -->
<div class="box"><!-- box Begin -->
<div class="tab-content"><!-- tab-content Begin -->
<?php
$get_terms = "select * from terms LIMIT 0,1";
$run_terms = mysqli_query($con,$get_terms);
while($row_terms=mysqli_fetch_array($run_terms)){
$term_title = $row_terms['term_title'];
$term_desc = $row_terms['term_desc'];
$term_link = $row_terms['term_link'];
?>
<div id="<?php echo $term_link; ?>" class="tab-pane fade in active"><!-- tab-pane fade in active Begin -->
<h1 class="tabTitle"><?php echo $term_title; ?></h1>
<p class="tabDesc"><?php echo $term_desc; ?></p>
</div><!-- tab-pane fade in active Finish -->
<?php } ?>
<?php
$count_terms = "select * from terms";
$run_count_terms = mysqli_query($con,$count_terms);
$count = mysqli_num_rows($run_count_terms);
$get_terms = "select * from terms LIMIT 1,$count";
$run_terms = mysqli_query($con,$get_terms);
while($row_terms=mysqli_fetch_array($run_terms)){
$term_title = $row_terms['term_title'];
$term_desc = $row_terms['term_desc'];
$term_link = $row_terms['term_link'];
?>
<div id="<?php echo $term_link; ?>" class="tab-pane fade in"><!-- tab-pane fade in active Begin -->
<h1 class="tabTitle"><?php echo $term_title; ?></h1>
<p class="tabDesc"><?php echo $term_desc; ?></p>
</div><!-- tab-pane fade in active Finish -->
<?php } ?>
</div><!-- tab-content Finish -->
</div><!-- /box Finish -->
</div><!-- /col-md-9 Finish -->
</div><!-- container Finish -->
</div><!-- #content Finish -->
<?php
include("includes/footer.php");
?>
<script src="js/jquery-331.min.js"></script>
<script src="js/bootstrap-337.min.js"></script>
</body>
</html>