Sindbad~EG File Manager
<!doctype html>
<html class="no-js" lang="en">
<?php include 'head.php'; ?>
<body>
<?php include 'header.php'; ?>
<!-- popular causes version 2 section -->
<section class="waypoint-tigger xs-section-padding xs-popularCauses-v2 " id="service">
<?php
include('admin/dbconfig.php');
$stmt = $DB_con->prepare('SELECT userID, a1, a2, a3, a4, a5, a6,aimg FROM tbl_dyn_pg_ser ORDER BY userID DESC ');
$stmt->execute();
?>
<div class="container">
<h2 class="color-navy-blue">What We Do?</h2>
<div class="row">
<?php
if($stmt->rowCount() > 0)
{
while($row=$stmt->fetch(PDO::FETCH_ASSOC))
{
extract($row);
?>
<div class="col-lg-4 col-md-6">
<a href="service.php?view_id=<?php echo $row['userID']; ?>" >
<div class="xs-popular-item xs-box-shadow">
<div class="xs-item-header">
<img src="dyn/ser/<?php echo $row['aimg'];?>" class="img-fluid" />
</div>
<div class="xs-item-content">
<div class="xs-simple-tag">
<h4 class="color-light-red "><?php echo $row['a1'];?></h4>
</div>
<p href="#" class="xs-post-title xs-mb-30"><?php echo $row['a2'];?></p>
<style>
.sdsd li { line-height:1.5; line-height:1.5; max-height:20px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
max-height: 110px;
/* The number of lines to be displayed */
-webkit-line-clamp:6;
-webkit-box-orient: vertical; }
/* Show only 3 Rows */
.sdsd li:nth-of-type(1n+3) {
display: none;
}
</style>
<ul class="xs-list-with-content minhs sdsd text-center">
<?php
$myString = $row['a6'];
$myArray = explode(',', $myString);
foreach($myArray as $my_Array){
echo "<li >" . $my_Array . "</li>";
}
?>
</ul>
<span class="xs-separetor"></span>
<div class="row justify-content-center">
<div class="btn btn-primary bg-purple float-right mt-0">
Read More
</div>
</div>
</div>
</div>
</a>
</div>
<?php
}
}
else
{
?>
<tr>
<td> No Data Found ...</td>
</tr>
<?php
}
?>
</div><!-- .row end -->
<a href="services.php" class="btn btn-primary bg-green float-right mt-0">View All Services</a>
</div><!-- .container end -->
</section><!-- End popular causes version 2 section -->
<?php include 'donate.php'; ?>
<?php include 'footer.php'; ?>
</body>
<!-- Mirrored from demo.xpeedstudio.com/html/charitypress/index-v2.php by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 07 Aug 2020 20:53:31 GMT -->
</html>
<!-- footer section end -->
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists