183 lines
8.0 KiB
PHP
183 lines
8.0 KiB
PHP
<?php
|
|
include('header.php');
|
|
?>
|
|
<section class="wrapper bg-gray">
|
|
<div class="container pt-10 pb-12 pt-md-14 pb-md-16 text-center">
|
|
<div class="row">
|
|
<div class="col-md-7 col-lg-6 col-xl-5 mx-auto">
|
|
<h1 class="display-1 mb-3">Research, Design & Implementation</h1>
|
|
<p class="lead px-lg-5 px-xxl-8">Welcome to ChieSoft Network. Here you can find the latest technical discussion and connect with projects.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section class="wrapper bg-light">
|
|
<div class="container py-14 py-md-16">
|
|
<div class="row gx-lg-8 gx-xl-12">
|
|
<div class="col-lg-8 order-lg-2">
|
|
<div class="blog classic-view">
|
|
<?php
|
|
|
|
$blgr = $blog_featured; // $blog_array[0];
|
|
// print_r($blgr);
|
|
$title = $blgr["post_title"];
|
|
$content = substr($blgr["post_content"], 0, 100);
|
|
$post_date = $blgr["post_date"];
|
|
$blog_id = $blgr["id"];
|
|
$comment_count = $blgr["comment_count"];
|
|
$meta_value = $blgr["meta_value"];
|
|
$blog_link="https://blog.chiefsoft.com/?p=".$blog_id;
|
|
$blog_image = "https://blog.chiefsoft.com/wp-content/uploads/".$meta_value;
|
|
|
|
$date=date_create($post_date);
|
|
$post_date = date_format($date,"Y/m/d");
|
|
|
|
// echo "HERE HERE ";
|
|
?>
|
|
<article class="post">
|
|
<div class="card" style="background-color: aliceblue;">
|
|
<figure class="card-img-top overlay overlay-1 hover-scale"><a href="<?=$blog_link?>">
|
|
<img style="height: 150px; width: auto;" src="<?=$blog_image?>" alt="" />
|
|
</a>
|
|
<figcaption>
|
|
<h5 class="from-top mb-0">Read More</h5>
|
|
</figcaption>
|
|
</figure>
|
|
<div class="card-body">
|
|
<div class="post-header">
|
|
<div class="post-category text-line">
|
|
<a href="<?=$blog_link?>" class="hover" rel="category">ChiefSoft</a>
|
|
</div>
|
|
<!-- /.post-category -->
|
|
<h2 class="post-title mt-1 mb-0"><a class="link-dark" href="#"><?=$title?></a></h2>
|
|
</div>
|
|
<!-- /.post-header -->
|
|
<div class="post-content">
|
|
<p> <?php echo $content; ?></p>
|
|
</div>
|
|
<!-- /.post-content -->
|
|
</div>
|
|
<!--/.card-body -->
|
|
<div class="card-footer">
|
|
<ul class="post-meta d-flex mb-0">
|
|
<li class="post-date"><i class="uil uil-calendar-alt"></i><span><?=$post_date?></span></li>
|
|
<li class="post-comments"><a href="<?=$blog_link?>"><i class="uil uil-comment"></i><?=$comment_count?><span> Comments</span></a></li>
|
|
</ul>
|
|
<!-- /.post-meta -->
|
|
</div>
|
|
<!-- /.card-footer -->
|
|
</div>
|
|
<!-- /.card -->
|
|
</article>
|
|
|
|
</div>
|
|
<!-- /.blog -->
|
|
<div class="blog grid grid-view">
|
|
<div class="row isotope gx-md-8 gy-8 mb-8">
|
|
<?php
|
|
$tt = 0;
|
|
foreach ($blog_array as $blgr) {
|
|
|
|
// print_r($blgr);
|
|
$title = $content = substr($blgr["post_title"], 0, 50);// $blgr["post_title"];
|
|
$content = substr($blgr["post_content"], 0, 100);
|
|
$post_date = $blgr["post_date"];
|
|
$blog_id = $blgr["id"];
|
|
$comment_count = $blgr["comment_count"];
|
|
$meta_value = $blgr["meta_value"];
|
|
|
|
$blog_link="https://blog.chiefsoft.com/?p=".$blog_id;
|
|
$blog_image = "https://blog.chiefsoft.com/wp-content/uploads/".$meta_value;
|
|
$date=date_create($post_date);
|
|
$post_date = date_format($date,"Y/m/d");
|
|
$tt++;
|
|
if($tt> 1){
|
|
include 'blog_block.php';
|
|
}
|
|
|
|
|
|
?>
|
|
|
|
<?php
|
|
|
|
}
|
|
?>
|
|
|
|
|
|
</div>
|
|
<!-- /.row -->
|
|
</div>
|
|
<!-- /.blog -->
|
|
|
|
<!-- /nav -->
|
|
</div>
|
|
<!-- /column -->
|
|
<aside class="col-lg-4 sidebar mt-8 mt-lg-6">
|
|
|
|
<!-- /.widget -->
|
|
<div class="widget">
|
|
<h4 class="widget-title mb-3">About Us</h4>
|
|
<p>ChiefSoft Works provides expert system design and software consulting services. Whether you are looking to buy or build a software program for your business.</p>
|
|
<nav class="nav social">
|
|
<a href="<?=SITE_TWITTER?>"><i class="uil uil-twitter"></i></a>
|
|
<a href="<?=SITE_FACEBOOK?>"><i class="uil uil-facebook-f"></i></a>
|
|
<a href="<?=SITE_DRIBBLE?>"><i class="uil uil-dribbble"></i></a>
|
|
<a href="<?=SITE_INSTAGRAM?>"><i class="uil uil-instagram"></i></a>
|
|
<a href="#"><i class="uil uil-youtube"></i></a>
|
|
</nav>
|
|
<!-- /.social -->
|
|
</div>
|
|
<!-- /.widget -->
|
|
<div class="widget">
|
|
<h4 class="widget-title mb-3">Popular Posts</h4>
|
|
<ul class="image-list">
|
|
<li>
|
|
<figure class="rounded"><a href="https://blog.chiefsoft.com/2018/12/machine-learning-platforms/"><img src="https://blog.chiefsoft.com/wp-content/uploads/2018/12/machine-learning-1920x1024.jpg" alt="" /></a></figure>
|
|
<div class="post-content">
|
|
<h6 class="mb-2"> <a class="link-dark" href="https://blog.chiefsoft.com/2018/12/machine-learning-platforms/">Machine Learning Platforms</a> </h6>
|
|
<ul class="post-meta">
|
|
<li class="post-date"><i class="uil uil-calendar-alt"></i><span>22 Dec 2018</span></li>
|
|
<li class="post-comments"><a href="https://blog.chiefsoft.com/2018/12/machine-learning-platforms/"><i class="uil uil-comment"></i>2</a></li>
|
|
</ul>
|
|
<!-- /.post-meta -->
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<figure class="rounded"> <a href="https://blog.chiefsoft.com/2018/10/iot/"><img src="https://blog.chiefsoft.com/wp-content/uploads/2018/10/internet-of-things-1-1920x1024.jpg" alt="" /></a></figure>
|
|
<div class="post-content">
|
|
<h6 class="mb-2"> <a class="link-dark" href="https://blog.chiefsoft.com/2018/10/iot/">IoT</a> </h6>
|
|
<ul class="post-meta">
|
|
<li class="post-date"><i class="uil uil-calendar-alt"></i><span>24 Oct 2018</span></li>
|
|
<li class="post-comments"><a href="https://blog.chiefsoft.com/2018/10/iot/"><i class="uil uil-comment"></i>1</a></li>
|
|
</ul>
|
|
<!-- /.post-meta -->
|
|
</div>
|
|
</li>
|
|
|
|
</ul>
|
|
<!-- /.image-list -->
|
|
</div>
|
|
<!-- /.widget -->
|
|
<div class="widget">
|
|
<h4 class="widget-title mb-3">Links</h4>
|
|
<ul class="unordered-list bullet-primary text-reset">
|
|
<li><a href="https://blog.chiefsoft.com/category/scripting/">Scripting</a></li>
|
|
<li><a href="https://blog.chiefsoft.com/category/blockchain/">Blockchain</a></li>
|
|
<li><a href="https://blog.chiefsoft.com/category/machine-learning/">A.I</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</aside>
|
|
<!-- /column .sidebar -->
|
|
</div>
|
|
<!-- /.row -->
|
|
</div>
|
|
<!-- /.container -->
|
|
</section>
|
|
<!-- /section -->
|
|
</div>
|
|
|
|
<?php
|
|
include('footer.php');
|
|
?>
|