<?php include 'header.php'; $cat_id = '%DESERTDELIGHT%'; ?>
<style>
#product_white
{
padding-top:50px;
}
</style>
<section id="menu_transparent">
<div class="container">
<div class="col-md-12 banner_top_10" >
<div class="row">
<div class="col-md-7">
<h2 style="margin-top: 20%;">Desert Delight</h2>
<p>Succulents are desert plants. Try out different kinds of succulents. They’re not all alike. If it can survive in the desert, it can certainly survive in your apartment. Succulents are among the most low-maintenance, best indoor plants.</p>
</div>
<div class="col-md-5 banner_img_right">
<img src="/images/PF-Banner.png" class="img-responsive">
</div>
</div>
</div>
</div>
</section>
<section id="cat_banner_below">
<div class="container">
<div class="col-md-12">
<p>Succulent plants are trendy for a reason. With juicy leaves, stems, or roots, succulents form a vast and diverse group of plants, offering easy-care choices for your home. Plus, they look stunning planted alone or as companions.</p>
<p>The color variation of succulents seems almost endless: blue-green, chartreuse, pink, red, yellow, white, burgundy, almost black, variegated, and more. The leaves may be rounded, needlelike, berrylike, ruffled, or spiky. Many have an enticing "touch me" quality - even cacti.</p>
<p>All cacti are succulents, but not all succulents are cacti.</p>
<p>While some types of succulents have somewhat exacting care requirements, most are easy to grow because they evolved with special water-storage tissues that allow them to survive in environments that are too dry for most other plants.</p>
<p>Succulents like the dry humidity and warm conditions found in most homes, and while they like direct light, they can adapt to lower light. They all prefer a fast-draining potting medium that's not watered too often. Allow the soil to dry out between waterings.</p>
<p>Give succulents as much sun as possible. Succulents are desert plants. They thrive in hot places with plenty of sunshine. It’s no surprise that a sun-loving plant doesn’t enjoy life in my dimly lit apartment.</p>
<p>Start with the green ones. The greener their leaves, the greater the chances that they’ll survive inside. Pass up the gray ones, the blue ones, and the purple ones, and head straight for succulents with bright green leaves.</p>
</div>
</div>
</section>
<!--<section class="plant-description">-->
<!-- <div class="container">-->
<!--<div class="col-md-12"> -->
<!-- <h2>Plant Details</h2>-->
<!--</div>-->
<!-- --><?php
// $search_cat_features= $con->prepare("SELECT * FROM tbl_category_features WHERE cat_id=:cat_id");
// $search_cat_features->bindParam(":cat_id", $cat_id);
// $search_cat_features->execute();
// $fetch_cat_features = $search_cat_features->fetch(PDO::FETCH_ASSOC);
// ?>
<!-- <div class="col-md-8 col-md-offset-2" style="border-top: 1px dashed #000; padding-top: 15px; padding-bottom: 15px; border-bottom: 1px dashed #000;">-->
<!-- -->
<!-- <div class="row">-->
<!---->
<!-- <div class='col-md-6 dashed_border '>-->
<!-- <div class='well'>-->
<!-- <div class='row'>-->
<!-- <div class='col-xs-4 text-center'>-->
<!-- <span><img src="/images/cp4.png" class="img-responsive"/></span>-->
<!-- </div>-->
<!-- <div class='col-xs-8'>-->
<!-- <h3>Maintenance</h3>-->
<?php //
// if($fetch_cat_features['maint_low'])
// { ?>
<!-- <p>Low</p>-->
<?php
// } ?>
<?php //
// if($fetch_cat_features['maint_medium'])
// { ?>
<!-- <p>Medium</p>-->
<?php
// } ?>
<!---->
<?php //
// if($fetch_cat_features['maint_high'])
// { ?>
<!-- <p>High</p>-->
<?php
// } ?>
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!---->
<!-- <div class='col-md-6'>-->
<!-- <div class='well'>-->
<!-- <div class='row'>-->
<!-- <div class='col-xs-4 text-center'>-->
<!-- <span><img src="/images/cp3.png" class="img-responsive"/></span>-->
<!-- </div>-->
<!-- <div class='col-xs-8'>-->
<!-- <h3>Lighting</h3>-->
<!-- --><?php //
// if($fetch_cat_features['light_low_light'])
// { ?>
<!-- <p>Light Low Light</p>-->
<?php
// }
// if($fetch_cat_features['light_medium_light'])
// { ?>
<!-- <p>Light Medium Light</p>-->
<?php
// } ?>
<!---->
<?php //
// if($fetch_cat_features['light_high_light'])
// { ?>
<!-- <p>Light High Light</p>-->
<?php
// }
// if($fetch_cat_features['light_out_sun'])
// { ?>
<!-- <p>Light Out Sun</p>-->
<?php
// }
// if($fetch_cat_features['light_out_part_sun'])
// { ?>
<!-- <p>Light Out Part Sun</p>-->
<?php
// }
// if($fetch_cat_features['light_out_shade'])
// { ?>
<!-- <p>Light Out Shade</p>-->
<?php
// } ?>
<!-- -->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!--</div>-->
<!--<div class="row">-->
<!-- <div class='col-md-6 dashed_border '>-->
<!-- <div class='well'>-->
<!-- <div class='row'>-->
<!-- <div class='col-xs-4 text-center'>-->
<!-- <span><img src="/images/cp2.png" class="img-responsive"/></span>-->
<!-- </div>-->
<!-- <div class='col-xs-8'>-->
<!-- <h3>Color</h3>-->
<!-- --><?php //
// if($fetch_cat_features['shade_low'])
// { ?>
<!-- <p>Low</p>-->
<?php
// } ?>
<?php //
// if($fetch_cat_features['shade_medium'])
// { ?>
<!-- <p>Medium</p>-->
<?php
// } ?>
<!---->
<?php //
// if($fetch_cat_features['shade_high'])
// { ?>
<!-- <p>High</p>-->
<?php
// } ?>
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!---->
<!-- <div class='col-md-6'>-->
<!-- <div class='well'>-->
<!-- <div class='row'>-->
<!-- <div class='col-xs-4 text-center'>-->
<!-- <span><img src="/images/cp1.png" class="img-responsive" /></span>-->
<!-- </div>-->
<!-- <div class='col-xs-8'>-->
<!-- <h3>Other</h3>-->
<!-- <p> </p>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!---->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!-- </section> -->
<section id="social_icons">
<?php
$social_id=1;
$select_social_media = $con->prepare("SELECT * FROM tbl_social_media WHERE id=:social_id");
$select_social_media ->bindPAram(":social_id", $social_id);
$select_social_media ->execute();
$fetch_social_media= $select_social_media ->fetch(PDO::FETCH_ASSOC);
?>
<div class="container">
<div class="col-md-12">
<p><a href="<?php echo $fetch_social_media['f_link']; ?>"><span class="fb"><i class="fa fa-facebook" aria-hidden="true"></i></span></a> <a href="<?php echo $fetch_social_media['g_link']; ?>"><span class="gp"><i class="fa fa-google-plus" aria-hidden="true"></i></span></a> <a href="<?php echo $fetch_social_media['t_link']; ?>"><span class="tw"><i class="fa fa-twitter" aria-hidden="true"></i></span></a> <a href="<?php echo $fetch_social_media['l_link']; ?>"><span class="li"><i class="fa fa-linkedin" aria-hidden="true"></i></span></a></p>
</div>
</div>
</section>
<section id="product_white">
<div class="container">
<?php
$search_all_plants= $con->prepare("SELECT * FROM tbl_plants WHERE pl_category LIKE :pl_category and pl_status=1");
$search_all_plants->bindParam(":pl_category", $cat_id );
$search_all_plants->execute();
$number = $search_all_plants->rowCount();
if(!$number)
{
echo '<h1 style="text-align: center;">Oops... No result found.</h1>';
}
while($fetch_all_plants = $search_all_plants->fetch(PDO::FETCH_ASSOC))
{
?>
<div class="col-md-3 col-sm-6 search_blok">
<a href="/plants.php?id=<?php echo $fetch_all_plants ['id']; ?>"><img src="/plant_images/<?php echo $fetch_all_plants ['plant_image']; ?>" class="img-responsive">
<!-- <span class="price_tag">--><?php //echo $fetch_all_plants['plant_price']; ?><!--</span>-->
</a>
<a href="/plants.php?id=<?php echo $fetch_all_plants ['id']; ?>"><h3><?php echo $fetch_all_plants ['pl_name']; ?></h3></a>
<h5><?php echo $fetch_all_plants['pl_family_name']; ?></h5>
<p><?php echo substr($fetch_all_plants ['pl_slogan'],0,110).' .....'; ?><p>
</div>
<?php
}
?>
</div>
</section>
<?php include 'footer.php'; ?> |