<?php
if(isset($_GET['code']))
{
    $row = $DVR->get_row(" SELECT * FROM `news` WHERE `link` = '".check_string($_GET['code'])."'  ");
    if(!$row)
    {
        die('<script type="text/javascript">if(!alert("Không tồn tại!")){window.history.back().location.reload();}</script>');
    }
    $DVR->cong("news", "luotxem", 1, " `link` = '".check_string($_GET['code'])."' ");
}
else
{
    die('<script type="text/javascript">if(!alert("Không tồn tại!")){window.history.back().location.reload();}</script>');
}
$title = 'Hệ Thống Tố Cáo Lừa Đảo | ' . $DVR->site('title');
$body['header'] = '
';
$body['footer'] = '

';
require_once __DIR__ . '/../../../core/is_user.php';
require_once __DIR__ . '/header.php';
require_once __DIR__ . '/nav.php';
//CheckLogin();
?>
<div id="main" class="main">
    <style>
    .zi-2 {
	z-index: 2;
}
        .section-banner_child {
	min-height: 320px;
	background: center center/cover no-repeat;
	padding: 50px 0;
}

.section-banner_child:before {
	display: block;
	background: rgba(3, 28, 72, 0.9);
	pointer-events: none;
	inset: 0;
}

.section-banner_child .banner-title {
	font-size: 2em;
	font-weight: 700;
	color: white;
	margin-bottom: 6px;
}

.section-banner_child .banner-description {
	font-size: 1em;
	letter-spacing: .3px;
	color: white;
}

.section-banner_child .banner-description p:last-child,
.section-banner_child .banner-description ul:last-child {
	margin-bottom: 0;
}

.section-banner_child .banner-description ul {
	list-style: none;
	padding-left: 0;
}

.section-banner_child .banner-description ul li {
	padding: 5px 0 5px 25px;
	position: relative;
	display: inline-block;
}

.section-banner_child .banner-description ul li:before {
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	background: var(--bs-white) url('../images/check-green.svg') center center/cover no-repeat;
	top: 8px;
	left: 0;
	content: "";
}
    </style>
    <div class="section-banner_child position-relative pseudo vstack justify-content-center text-center" style="background-image: url('https://checkscam.com/assets/default/images/breadcrumb-bg.png')">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-lg-10">
                    <div class="banner-inner position-relative zi-2">
                        <br>
                        <br>
                        <div class="banner-title">
                            QUỸ BẢO HIỂM ADMIN
                        </div>
                        <div class="banner-description">
                           Nền tạng website mxh chống lừa đảo uy tín
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
        <div class="container">
        <div class="row">
            <div class="col-12">
                <div class="section-breadcrumb">
                    <ol class="breadcrumb">
                                                <li class="breadcrumb-item">
                            <a href="/">Trang chủ</a>
                        </li>
                                                <li class="breadcrumb-item">
                            <a href="">Tin Tức</a>
                        </li>
                                            </ol>
                </div>
            </div>
        </div>
    </div>

        <div class="container">
                <div class="template-1-single-article bg-white rounded-sm border p-md-4 p-3">
        <div class="title">
 <h5><?=$row['tieude']; ?></h5>
        </div>
        <div class="content">
        <?=base64_decode($row['noidung']); ?>
                    </div>

    </div>
<div class="row g-4 align-items-center flex-column flex-md-row">
                                <div class="col-auto flex-shrink-0 mb-1 mb-md-0">
                                    <div class="article-meta hstack gap-15px">
                                        <div class="article-meta_item">
                                            <i class="far fa-clock"></i>
                                            <span><?=$row['ngaydang']; ?></span>
                                        </div>
                                        <div class="article-meta_item">
                                            <i class="far fa-eye"></i>
                                            <span><?=$row['luotxem']; ?> lượt xem</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-auto flex-grow-1 d-flex justify-content-md-end">
                                    <div class="article-social">
                                        <ul class="list-unstyled mb-0 d-flex flex-sm-nowrap justify-content-sm-end justify-content-center flex-wrap gap-5px">
                                            <li class="article-social_share">
                                                Chia sẻ:
                                            </li>
                                            <li>
                                                <div class="fb-share-button" data-href="https://<?=$_SERVER['HTTP_HOST']?>/<?=$row['link']; ?>" data-layout="button" data-size="small">
                                                    <a target="_blank" href="https://<?=$_SERVER['HTTP_HOST']?>/<?=$row['link']; ?>" class="fb-xfbml-parse-ignore">Chia sẻ</a>
                                                </div>
                                            </li>
                                            <li>
                                                <script async="" src="https://<?=$_SERVER['HTTP_HOST']?>/<?=$row['link']; ?>" data-telegram-share-url="https://<?=$_SERVER['HTTP_HOST']?>/<?=$row['link']; ?>" data-comment="Chỉ 1 click bay ngay tiền tỷ"></script>
                                            </li>
                                            <li>
                                                <div class="zalo-share-button" data-href="https://<?=$_SERVER['HTTP_HOST']?>/<?=$row['link']; ?>" data-oaid="579745863508352884" data-color="blue" data-customize="false"></div>
                                            </li>
                                            
                                            
                                            
                                        </ul>
                                    </div>
                                </div>
                            </div>
        </div>
</div>
<?php require_once __DIR__ . '/footer.php'; ?>