📁 File Manager
Editing:
/home/wedigitalindia/public_html/demo.wedigitalindia.com/samargrand.in/blog.php
<!DOCTYPE html> <html> <head> <?php require_once("include/head.php"); require_once("connection.php") ?> <style> .elementor-785 .elementor-element.elementor-element-3819d2cc:not(.elementor-motion-effects-element-type-background), .elementor-785 .elementor-element.elementor-element-3819d2cc>.elementor-motion-effects-container>.elementor-motion-effects-layer, .elementor-278 .elementor-element.elementor-element-3819d2cc:not(.elementor-motion-effects-element-type-background){ <?php $query=mysqli_query($con,"select * from banner where bannertype='news' AND mobile='0'"); $row=mysqli_fetch_array($query); ?> background-image: url(images/banners/<?php echo $row['image']; ?>); } @media screen and (max-width: 767px){ .elementor-785 .elementor-element.elementor-element-3819d2cc:not(.elementor-motion-effects-element-type-background), .elementor-785 .elementor-element.elementor-element-3819d2cc>.elementor-motion-effects-container>.elementor-motion-effects-layer, .elementor-278 .elementor-element.elementor-element-3819d2cc:not(.elementor-motion-effects-element-type-background){ <?php $query=mysqli_query($con,"select * from banner where bannertype='news' AND mobile='1'"); $row=mysqli_fetch_array($query); ?> background-image: url(images/banners/<?php echo $row['image']; ?>); } } </style> </head> <body class="home tg_menu_transparent tg_lightbox_black centeralign3 loftloader-lite-enabled"> <?php require_once("include/mob-header.php")?> <div id="wrapper" class="hasbg transparent"> <?php require_once("include/header.php")?> <div id="page_content_wrapper" class="noheader"> <div class="inner"> <div class="inner_wrapper"> <div class="sidebar_content full_width"> <div data-elementor-type="wp-post" data-elementor-id="785" class="elementor elementor-785" data-elementor-settings="[]"> <div class="elementor-inner"> <div class="elementor-section-wrap"> <section class="elementor-section elementor-top-section elementor-element elementor-element-3819d2cc elementor-section-stretched elementor-section-height-min-height elementor-section-boxed elementor-section-height-default elementor-section-items-middle" data-id="3819d2cc" data-element_type="section" data-settings='{"stretch_section":"section-stretched","background_background":"classic","hoteller_ext_is_background_parallax":"false","hoteller_ext_is_background_on_scroll":"false"}'> <div class="elementor-background-overlay"></div> <div class="elementor-container elementor-column-gap-default"> <div class="elementor-row"> <div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-712ebef7" data-id="712ebef7" data-element_type="column" data-settings='{"hoteller_ext_is_scrollme":"false","hoteller_ext_is_smoove":"false","hoteller_ext_is_parallax_mouse":"false","hoteller_ext_is_infinite":"false","hoteller_ext_is_fadeout_animation":"false"}'> <div class="elementor-column-wrap elementor-element-populated"> <div class="elementor-widget-wrap"> </div> </div> </div> </div> </div> </section> <section class="elementor-section elementor-top-section elementor-element my-5 elementor-element-b86fc27 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="b86fc27" data-element_type="section" data-settings="{"hoteller_ext_is_background_parallax":"false","hoteller_ext_is_background_on_scroll":"false"}"> <div class="elementor-container elementor-column-gap-default"> <div class="elementor-row"> <div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-08d06cf" data-id="08d06cf" data-element_type="column" data-settings="{"hoteller_ext_is_scrollme":"false","hoteller_ext_is_smoove":"false","hoteller_ext_is_parallax_mouse":"false","hoteller_ext_is_infinite":"false","hoteller_ext_is_fadeout_animation":"false"}"> <div class="elementor-column-wrap elementor-element-populated"> <div class="elementor-widget-wrap"> <div class="elementor-element elementor-element-93cba18 elementor-widget elementor-widget-hoteller-blog-posts" data-id="93cba18" data-element_type="widget" data-settings="{"hoteller_ext_is_scrollme":"false","hoteller_ext_is_smoove":"false","hoteller_ext_is_parallax_mouse":"false","hoteller_ext_is_infinite":"false","hoteller_ext_is_fadeout_animation":"false"}" data-widget_type="hoteller-blog-posts.default"> <div class="elementor-widget-container"> <div class="blog_post_content_wrapper layout_grid"> <?php $qry=mysqli_query($con,"SELECT * FROM blogs "); while($row=mysqli_fetch_array($qry)){ $title = $row['name']; $title = str_replace(" ","-", $title); ?> <div class="blog-posts-grid post-215 post type-post status-publish format-standard has-post-thumbnail hentry category-luxury category-travel category-vacation tag-hotel tag-luxury tag-vacation"> <div class="post_wrapper"> <div class="post_img static"> <div class="post_img_hover"> <img src="images/samar-blog.jpeg" class="" alt=""> <a href="blog/<?php echo $title ?>.html"></a> </div> </div> <div class="post_content_wrapper text_left"> <div class="post_header"> <div class="post_header_title"> <h5> <a href="blog/<?php echo $title ?>.html"title="Disclosing the Secrets of Success in Luxury Hospitality"> <?php echo $row['name']; ?> </a> </h5> </div> </div> <div class="post_header_wrapper"> <p> <?php echo $row['short_description']; ?></p> <div class="post_button_wrapper"> <div class="post_attribute"> <a href="blog-detail.php?id=<?php echo $row['id']; ?>" title="Disclosing the Secrets of Success in Luxury Hospitality"> <?php $date = $row['created_at']; $time = strtotime($date); $day = date('d M Y', $time); echo $day ?> </a> </div> </div> </div> </div> </div> </div> <!-- End each blog post --> <?php } ?> </div> <br class="clear"> </div> </div> </div> </div> </div> </div> </div> </section> </div> </div> </div> </div> </div> </div> <br class="clear"> </div> </div> <?php require_once("include/footer.php")?> </body> </html>
Save
Cancel