-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnorth-indian-recipes.php
65 lines (58 loc) · 1.97 KB
/
north-indian-recipes.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
<?php include('head.php');?>
<?php include('header_logout.php');?>
<?php include('connect.php');?>
<!-- Start All Pages -->
<div class="all-page-title page-breadcrumb">
<div class="container text-center">
<div class="row">
<div class="col-lg-12">
<h1>North Indian Recipes</h1>
</div>
</div>
</div>
</div>
<!-- End All Pages -->
<!-- Start blog -->
<div class="blog-box">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="heading-title text-center">
<h2>North Indian Recipes</h2>
<p>Find recipes for kadai paneer, chole, allo paratha and more!</p>
</div>
</div>
</div>
<div class="row">
<?php
$sqlr1 = "SELECT * FROM recipes_1,recipes_2 where category='North Indian Recipes' and recipes_1.id=r1_id";
$qsqlr1 = mysqli_query($conn,$sqlr1);
while ($rsr1 = mysqli_fetch_array($qsqlr1)) {
?>
<div class="col-lg-4 col-md-6 col-12">
<div class="blog-box-inner">
<div class="blog-img-box">
<img class="img-fluid" src="images/blog-img-01.jpg" alt="">
</div>
<div class="blog-detail">
<h4><?php echo $rsr1['title'] ?></h4>
<ul>
<li><span>Post by <?php echo $rsr1['user_name']; ?></span></li>
<li>|</li>
<li><span><?php echo date("d-M-Y",strtotime($rsr1['date'])); ?></span></li>
</ul>
<p><?php echo $rsr1['description'] ?></p>
<p>
<strong>Cook Time :</strong> <?php echo $rsr1['cook_time']; ?> m <br/>
<strong>Prep Time :</strong> <?php echo $rsr1['prep_time']; ?> m
</p>
<a href="recipe-details.php?item=<?php echo $rsr1['r1_id']; ?>"><button class="btn btn-lg btn-circle btn-outline-new-white" name="submitbtn">READ MORE</button></a>
</div>
</div>
</div>
<?php }?>
</div>
</div>
</div>
<!-- End blog -->
<?php include('footer.php');?>