|
Server : LiteSpeed System : Linux terra.hostitbro.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : outerorb ( 1091) PHP Version : 8.1.34 Disable Function : mail Directory : /home2/outerorb/zapnixinc.com/ | |
|
Path: /home2/outerorb/zapnixinc.com/blog.php
Size: 3.17 KB
Permissions: 0644
<?php include_once("include/main.inc.php");
$admin_res = getAdminDetails();
// $blogmeta = mysqli_query($GLOBALS['dbconn'], "select catName,blogDname,pageTitle,catDesc,pageKeywords,pageDescription,blog_written,catImage,blogDate from blog_tbl where status='Y'");
$blogmeta = mysqli_query($GLOBALS['dbconn'], "SELECT catName, blogDname, pageTitle, catDesc, pageKeywords, pageDescription, blog_written, catImage, blogDate
FROM blog_tbl WHERE status = 'Y' AND catDesc1 = ''");
$page_metatitle = 'Blogs - '.COMPANY;
$page_metakey = 'Blogs - '.COMPANY;
$page_metadesc = 'Blogs - '.COMPANY;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php include 'app_top.php'; ?>
</head>
<body>
<?php include 'app_header.php'; ?>
<div class="main-sec py-5">
<div class="container">
<div class="tt-bx position-static my-5" style="transform: none;">
<div class="subtt fs-1">Insights</div>
<div class="tt text-secondary fw-normal fs-5 lh-base">Peruse the most recent experiences and thoughts from our group. Find content zeroed in on the patterns forming the fate of work across basic businesses all over the planet.</div>
</div>
</div>
</div>
<div class="blog-sec">
<div class="container">
<div class="tt-bx">
<div class="subtt">Resources</div>
<div class="tt">Read the latest from our team</div>
</div>
<div class="row g-4">
<?php
while($res_blog = mysqli_fetch_assoc($blogmeta))
{
if($res_blog['catImage']!=''){
$imglink= getImage($res_blog['catImage'], 376, 248, $res_blog['catName'],"/uploaded-files/blog/images/");
} else {
$imglink= NO_IMG_URL;
}
?>
<div class="col-lg-4 col-md-6 col-12">
<div class="blog-bx">
<a href="<?=site_url;?>/blog/<?=getValidFileName($res_blog['catName']);?>.html" tilt="<?=$res_blog['blogDname'];?>" class="blog-img">
<img src="<?=$imglink;?>" alt="<?=$res_blog['blogDname'];?>" title="<?=$res_blog['blogDname'];?>">
</a>
<div class="blog-des">
<div class="head"><a href="<?=site_url;?>/blog/<?=getValidFileName($res_blog['catName']);?>.html" title="<?=$res_blog['blogDname'];?>"><?=$res_blog['blogDname'];?></a></div>
<p><?=substr($res_blog['catDesc'],0,95);?>...</p>
<a href="<?=site_url;?>/blog/<?=getValidFileName($res_blog['catName']);?>.html" class="_re_mr" title="Read More">Read More
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-arrow-right" viewBox="0 0 16 16">
<path fill-rule="evenodd"
d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z">
</path>
</svg>
</a>
</div>
</div>
</div>
<?php }?>
</div>
</div>
</div>
<?php include 'app_footer.php'; ?>
<?php include 'app_bottom.php'; ?>
</body>
</html>