MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.138.101.219
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/arcadestudioarchitects.com/../aviorinternational.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/arcadestudioarchitects.com/../aviorinternational.com/blog.php
<?php 
    include_once('config.php');
    $sql3 = "SELECT * FROM `tb4_blog` ";
    $run3 = mysqli_query($db,$sql3) or die("Query Not run");
    $data3 = mysqli_fetch_assoc($run3);
      
?>
<!doctype html>
<html lang="en">

<meta http-equiv="content-type" content="text/html;charset=utf-8" />

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">


    <title><?php echo $data3['meta_title']?></title>
    <meta name="description" content="Shop powered by PrestaShop">
    <meta name="keywords" content="">

<?php include 'top-link.php';?>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body id="index" class="lang-en country-us currency-usd layout-full-width page-index tax-display-disabled fullwidth">
    <main>

        
        <?php include 'header.php';?>

        <div>
            <img class="img-responsive" src="modules/fieldstaticblocks/images/banner-top.jpg" alt="" />
        </div>

        <section id="wrapper" class="active_grid">
            <h2 style="display:none !important">.</h2>
            <div class="container">

                <nav class="breadcrumb">
                    <ol itemscope itemtype="http://schema.org/BreadcrumbList">
                        <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                            <a itemprop="item" href="index.php">
                                <span itemprop="name">Home</span>
                            </a>
                        </li>
                        <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                            <a itemprop="item" href="all-blogs-page.php">
                                <span itemprop="name">All Blog </span>
                            </a>
                        </li>

                        <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                            <a itemprop="item" href="#">
                                <span itemprop="name">Summer Entertaining</span>
                            </a>
                        </li>
                    </ol>
                </nav>

                <div class="row">

                    <div id="left-column" class="col-xs-12 col-sm-4 col-md-3">



                       
                        <div id="recent_article_smart_blog_block_left" class="vertical_mode block">
                            <h4 class="title_block title_font"><a class="title_text" href="../smartblog.html">Recent
                                    Posts</a></h4>
                            <div class="block_content sdsbox-content">
                                <ul class="recentArticles">
                                    <?php 
                                    include_once('config.php');
                                    $sql3 = "SELECT * FROM `tb4_blog` ORDER BY id DESC";
                                    $run3 = mysqli_query($db,$sql3) or die("Query Not run");
                                    while($data3 = mysqli_fetch_assoc($run3)){
                                        if(mysqli_num_rows($run3) > 0){
                                ?>
                                    <li>
                                        <a class="image" title="Summer Entertaining"
                                            href="blog.php?id=<?php echo $data3['id']?>">
                                            <img style="" alt="Summer Entertaining"
                                                 class="img-fluid"src="img/blogs/<?php echo $data3['image']?>">
                                        </a>
                                        <div class="right-block-smart">
                                            <a class="title" title="Summer Entertaining"
                                                href="blog.php?id=<?php echo $data3['id']?>"><?php echo $data3['blog_title']?></a>
                                            <span class="info">?id=<?php echo $data3['date']?></span>
                                        </div>
                                    </li>
                                    <?php }}?>
                                    <!--<li>-->
                                    <!--    <a class="image" title="Summer Entertaining"-->
                                    <!--        href="blog.php">-->
                                    <!--        <img style="" alt="Summer Entertaining"-->
                                    <!--             class="img-fluid"src="img/blog2.jpg">-->
                                    <!--    </a>-->
                                    <!--    <div class="right-block-smart">-->
                                    <!--        <a class="title" title="Summer Entertaining"-->
                                    <!--            href="blog.php">Summer Entertaining</a>-->
                                    <!--        <span class="info">April 07, 2023</span>-->
                                    <!--    </div>-->
                                    <!--</li>-->
                                    <!--<li>-->
                                    <!--    <a class="image" title="Summer Entertaining"-->
                                    <!--        href="blog.php">-->
                                    <!--        <img style="" alt="Summer Entertaining"-->
                                    <!--             class="img-fluid"src="img/blog2.jpg">-->
                                    <!--    </a>-->
                                    <!--    <div class="right-block-smart">-->
                                    <!--        <a class="title" title="Summer Entertaining"-->
                                    <!--            href="blog.php">Summer Entertaining</a>-->
                                    <!--        <span class="info">April 07, 2023</span>-->
                                    <!--    </div>-->
                                    <!--</li>-->
                                    <!--<li>-->
                                    <!--    <a class="image" title="Summer Entertaining"-->
                                    <!--        href="blog.php">-->
                                    <!--        <img style="" alt="Summer Entertaining"-->
                                    <!--             class="img-fluid"src="img/blog2.jpg">-->
                                    <!--    </a>-->
                                    <!--    <div class="right-block-smart">-->
                                    <!--        <a class="title" title="Summer Entertaining"-->
                                    <!--            href="blog.php">Summer Entertaining</a>-->
                                    <!--        <span class="info">April 07, 2023</span>-->
                                    <!--    </div>-->
                                    <!--</li>-->
                                </ul>
                            </div>
                        </div>
                        <div class="field-slideshow-container">
                            <div class="flexslider field-nivoslider">
                                <div class="field-loading"></div>
                                <div id="field-slideshow-home" class="slides">
                                    <img style="display:none"
                                            src="img/minislide.jpg"
                                            alt="" title="#htmlcaption1" />
                                    <img style="display:none"
                                            src="img/minislide2.jpg"
                                            alt="" title="#htmlcaption2" />
                                    <img style="display:none"
                                            src="img/minislide3.jpg"
                                            alt="" title="#htmlcaption3" />
                                </div>
                            </div>
                        </div>

                        <script type="text/javascript">
                            $(window).load(function () {
                                $('#field-slideshow-home').nivoSlider({
                                    effect: 'random',
                                    slices: 15,
                                    boxCols: 8,
                                    boxRows: 4,
                                    animSpeed: '1000',
                                    pauseTime: '4800',
                                    startSlide: 0,
                                    directionNav: false,
                                    controlNav: 1,
                                    controlNavThumbs: false,
                                    pauseOnHover: true,
                                    manualAdvance: false,
                                    prevText: 'Prev',
                                    nextText: 'Next',
                                    afterLoad: function () {
                                        $('.field-loading').css("display", "none");
                                    },
                                    beforeChange: function () {
                                        $('.field-slideshow-title, .field-slideshow-des').css("left", "-100%");
                                        $('.field-slideshow-readmore').css("left", "-100%");
                                    },
                                    afterChange: function () {
                                        $('.field-slideshow-title, .field-slideshow-des, .field-slideshow-readmore').css("left", "0")
                                    }
                                });
                            });
                        </script>

                    </div>



                    <div id="content-wrapper" class="left-column col-xs-12 col-sm-8 col-md-9">

                        <div id="content" class="block">
                            <?php 
                                    include_once('config.php');
                                    $aid = $_GET ['id'];
                                    $sql3 = "SELECT * FROM `tb4_blog` WHERE id = '$aid'";
                                    $run3 = mysqli_query($db,$sql3) or die("Query Not run");
                                    $data3 = mysqli_fetch_assoc($run3);
                                ?>
                            <div itemtype="#" itemscope="" id="sdsblogArticle" class="blog-post">
                                <div class="sdsblogArticle-inner" itemprop="articleBody">
                                    <div id="lipsum">

                                        <a id="post_images"
                                            href="img/blogs/<?php echo $data3['image']?>"><img
                                                class="img-responsive"
                                                src="img/blogs/<?php echo $data3['image']?>"
                                                alt="Summer Entertaining"></a>
                                    </div>
                                    <div class="page-item-title">
                                        <h1 class="title_font"><?php echo $data3['blog_title']?></h1>
                                    </div>
                                    <div class="info-category">
                                        <span>
                                            <i class="fa fa-edit"></i>Author:- <?php echo $data3['blog_author']?>
                                        </span>
                                        <span><i class="fa fa-calendar"></i>Date:- <?php echo $data3['date']?></span>
                                        

                                        <a title="" style="display:none" itemprop="url" href="#"></a>
                                    </div>
                                    <div class="sdsarticle-des">
                                        <p><?php echo $data3['blog_desc']?></p>
                                    </div>
                                </div>
                            </div>
                            

                        </div>
                    

                        <script type="text/javascript">
                            $('#submitComment').bind('click', function (event) {
                                event.preventDefault();


                                var data = {
                                    'action': 'postcomment',
                                    'id_post': $('input[name=\'id_post\']').val(),
                                    'comment_parent': $('input[name=\'comment_parent\']').val(),
                                    'name': $('input[name=\'name\']').val(),
                                    'website': $('input[name=\'website\']').val(),
                                    'smartblogcaptcha': $('input[name=\'smartblogcaptcha\']').val(),
                                    'comment': $('textarea[name=\'comment\']').val(),
                                    'mail': $('input[name=\'mail\']').val()
                                };
                                $.ajax({
                                    url: baseUri + 'modules/smartblog/ajax.php',
                                    data: data,

                                    dataType: 'json',

                                    beforeSend: function () {
                                        $('.success, .warning, .error').remove();
                                        $('#submitComment').attr('disabled', true);
                                        $('#commentInput').before('<div class="attention"><img src="http://321cart.com/sellya/catalog/view/theme/default/image/loading.gif" alt="" />Please wait!</div>');

                                    },
                                    complete: function () {
                                        $('#submitComment').attr('disabled', false);
                                        $('.attention').remove();
                                    },
                                    success: function (json) {
                                        if (json['error']) {

                                            $('#commentInput').before('<div class="warning">' + '<i class="icon-warning-sign icon-lg"></i>' + json['error']['common'] + '</div>');

                                            if (json['error']['name']) {
                                                $('.inputName').after('<span class="error">' + json['error']['name'] + '</span>');
                                            }
                                            if (json['error']['mail']) {
                                                $('.inputMail').after('<span class="error">' + json['error']['mail'] + '</span>');
                                            }
                                            if (json['error']['comment']) {
                                                $('.inputContent').after('<span class="error">' + json['error']['comment'] + '</span>');
                                            }
                                            if (json['error']['captcha']) {
                                                $('.smartblogcaptcha').after('<span class="error">' + json['error']['captcha'] + '</span>');
                                            }
                                        }

                                        if (json['success']) {
                                            $('input[name=\'name\']').val('');
                                            $('input[name=\'mail\']').val('');
                                            $('input[name=\'website\']').val('');
                                            $('textarea[name=\'comment\']').val('');
                                            $('input[name=\'smartblogcaptcha\']').val('');

                                            $('#commentInput').before('<div class="success">' + json['success'] + '</div>');
                                            setTimeout(function () {
                                                $('.success').fadeOut(300).delay(450).remove();
                                            }, 2500);

                                        }
                                    }
                                });
                            });






                            var addComment = {
                                moveForm: function (commId, parentId, respondId, postId) {

                                    var t = this, div, comm = t.I(commId), respond = t.I(respondId), cancel = t.I('cancel-comment-reply-link'), parent = t.I('comment_parent'), post = t.I('comment_post_ID');

                                    if (!comm || !respond || !cancel || !parent)
                                        return;

                                    t.respondId = respondId;
                                    postId = postId || false;

                                    if (!t.I('wp-temp-form-div')) {
                                        div = document.createElement('div');
                                        div.id = 'wp-temp-form-div';
                                        div.style.display = 'none';
                                        respond.parentNode.insertBefore(div, respond);
                                    }


                                    comm.parentNode.insertBefore(respond, comm.nextSibling);
                                    if (post && postId)
                                        post.value = postId;
                                    parent.value = parentId;
                                    cancel.style.display = '';

                                    cancel.onclick = function () {
                                        var t = addComment, temp = t.I('wp-temp-form-div'), respond = t.I(t.respondId);

                                        if (!temp || !respond)
                                            return;

                                        t.I('comment_parent').value = '0';
                                        temp.parentNode.insertBefore(respond, temp);
                                        temp.parentNode.removeChild(temp);
                                        this.style.display = 'none';
                                        this.onclick = null;
                                        return false;
                                    };

                                    try { t.I('comment').focus(); }
                                    catch (e) { }

                                    return false;
                                },

                                I: function (e) {
                                    return document.getElementById(e);
                                }
                            };



                        </script>
                        <style>

                        </style>

                    </div>



                </div>



            </div>

        </section>


        <?php include 'footer.php';?>

MMCT - 2023