HEX
Server: LiteSpeed
System: Linux standart108 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: pplae2ji7 (11089)
PHP: 8.3.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/plasmak.com.tr/httpdocs/wp-content/themes/buliten/single-bunch_projects.php
<?php $options = _WSH()->option();
    get_header();
    $allowed_tags = wp_kses_allowed_html('post');
    $settings  = buliten_set(buliten_set(get_post_meta(get_the_ID(), 'bunch_page_meta', true), 'bunch_page_options'), 0);
    $meta = _WSH()->get_meta('_bunch_layout_settings');
    $meta1 = _WSH()->get_meta('_bunch_header_settings');
    $meta2 = _WSH()->get_meta();
    _WSH()->page_settings = $meta;
    if (buliten_set($_GET, 'layout_style')) {
        $layout = buliten_set($_GET, 'layout_style');
    } else {
        $layout = buliten_set($meta, 'layout', 'right');
    }
    if (!$layout || $layout == 'full' || buliten_set($_GET, 'layout_style')=='full') {
        $sidebar = '';
    } else {
        $sidebar = buliten_set($meta, 'sidebar', 'blog-sidebar');
    }
    $classes = (!$layout || $layout == 'full' || buliten_set($_GET, 'layout_style')=='full') ? ' col-lg-12 col-md-12 col-sm-12 col-xs-12 ' : ' col-lg-8 col-md-12 col-sm-12 ' ;
    $bg = buliten_set($meta1, 'header_img');
    $title = buliten_set($meta1, 'header_title');
?>

<!--Page Title-->
<section class="page-title" <?php if ($bg):?>style="background-image:url(<?php echo esc_url($bg)?>);"<?php endif;?>>
    <div class="auto-container">
        <h2><?php if ($title) {
    echo wp_kses($title, $allowed_tags);
} else {
    wp_title('');
}?></h2>

        <?php echo wp_kses(buliten_get_the_breadcrumb(), $allowed_tags); ?>

    </div>
</section>
<!--End Page Title-->

<?php while (have_posts()): the_post();
    $post_meta = _WSH()->get_meta();
?>

<!-- Projects Single Section -->
<section class="projects-single-section">
    <div class="auto-container">
        <!-- Project Info Boxed -->
        <div class="project-info-block">
            <div class="block-info">
                <div class="row clearfix">
                    <?php if ($pro_info = buliten_set($post_meta, 'bunch_project_info')):?>
                    <?php foreach ($pro_info as $keys => $value):?>
                    <!-- Column -->
                    <div class="column col-lg-4 col-md-6 col-sm-12">
                        <div class="project-info">
                            <span class="icon fa <?php echo str_replace("icon ", "", buliten_set($value, 'fontawesome'));?>"></span>
                            <strong><?php echo wp_kses(buliten_set($value, 'pro_title'), $allowed_tags); ?> :</strong>   <?php echo wp_kses(buliten_set($value, 'pro_description'), $allowed_tags); ?>
                        </div>
                    </div>
                    <?php endforeach;?>
                    <?php endif; ?>
                </div>
            </div>
        </div>

        <h2><?php the_title(); ?></h2>
        <div class="bold-text"><?php echo wp_kses(buliten_set($post_meta, 'sub_title'), $allowed_tags);?> </div>

        <!-- Carousel Box -->
        <div class="carousel-box">
            <div class="project-single-carousel owl-carousel owl-theme">
                <?php if ($projects_img = buliten_set($post_meta, 'bunch_projects_image')): ?>
                <?php foreach ($projects_img as $key => $value):?>
                <div class="slide">
                    <div class="image">
                        <img src="<?php echo esc_url(buliten_set($value, 'projects_image'));?>" alt="<?php esc_attr_e('Awesome Image', 'buliten'); ?>" />
                    </div>
                </div>
                <?php endforeach;?>
                <?php endif;?>
            </div>
        </div>

        <?php the_content(); ?>

        <!-- Two Column -->
        <div class="two-column">
            <div class="row clearfix">
                <div class="column col-lg-6 col-md-12 col-sm-12">
                    <h3><?php echo wp_kses(buliten_set($post_meta, 'sub_title_2'), $allowed_tags);?> </h3>
                    <p><?php echo wp_kses(buliten_set($post_meta, 'description'), $allowed_tags);?> </p>
                </div>

                <div class="column col-lg-6 col-md-12 col-sm-12">
                    <!-- Project Info Boxed -->
                    <div class="project-info-block">
                        <div class="block-info">
                            <h4><?php echo wp_kses(buliten_set($post_meta, 'box_title'), $allowed_tags);?> </h4>
                            <div class="row clearfix">
                                <?php if ($pdf_file = buliten_set($post_meta, 'bunch_pdf_file')): ?>
                                <?php foreach ($pdf_file as $key => $value):?>
                                <!-- Column -->
                                <div class="column col-lg-6 col-md-6 col-sm-12">
                                    <div class="project-info">
                                        <span class="icon fa <?php echo str_replace("icon ", "", buliten_set($value, 'fontawesome_two'));?>"></span>
                                        <?php echo wp_kses(buliten_set($value, 'pdf_title'), $allowed_tags);?>
                                    </div>
                                </div>
                                <?php endforeach;?>
                                <?php endif;?>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>

        <!--New Posts-->
        <div class="new-posts">
            <div class="clearfix">

                <div class="pull-left">
                    <?php previous_post_link('%link', '<span class="fa fa-angle-double-left"></span> &ensp; Previous One'); ?>
                </div>

                <div class="pull-right">
                    <?php next_post_link('%link', 'Next One &ensp; <span class="fa fa-angle-double-right"></span>'); ?>
                </div>

            </div>
        </div>

    </div>
</section>
<!-- End Projects Page Section -->
<?php endwhile;?>


<?php if(buliten_set($meta2, 'bg_img')): ?>

<!-- Newsletter Section Two -->
<section class="newsletter-section-two" style="background-image:url(<?php echo esc_url(buliten_set($meta2, 'bg_img')); ?>)">
    <div class="auto-container">
        <div class="row clearfix">
            <!-- Title Column -->
            <div class="title-column col-lg-7 col-md-12 col-sm-12">
                <!-- Sec Title -->
                <div class="sec-title light">
                    <div class="title-inner">
                        <div class="title"><?php echo wp_kses_post(buliten_set($meta2, 'news_sub_title')); ?></div>
                        <h2><?php echo wp_kses_post(buliten_set($meta2, 'news_title')); ?></h2>
                    </div>
                </div>
                <div class="text"><?php echo wp_kses_post(buliten_set($meta2, 'mews_text')); ?></div>
                
                <!-- Newsletter Form -->
                <div class="newsletter-form">
                    <form method="post" action="http://feedburner.google.com/fb/a/mailverify" accept-charset="utf-8">
                        <div class="form-group clearfix">
                            <input type="hidden" id="uri2" name="uri" value="<?php echo wp_kses_post(buliten_set($meta2, 'newsletter_id')); ?>">
                            <input type="email" name="email" value="" placeholder="<?php esc_html_e('Email Address', 'buliten'); ?>" required>
                            <button type="submit" class="theme-btn btn-style-three"><span class="txt"><?php esc_html_e('Submit Now', 'buliten'); ?></span></button>
                        </div>
                    </form>
                </div>
                
            </div>
            <!-- Image Column -->
            <div class="image-column col-lg-5 col-md-12 col-sm-12">
                <div class="inner-column wow slideInRight" data-wow-delay="0ms" data-wow-duration="1500ms">
                    <div class="image">
                        <img src="<?php echo esc_url(buliten_set($meta2, 'newsletter_img')); ?>" alt="<?php esc_html_e('Awesome Image', 'buliten'); ?>" />
                    </div>
                </div>
            </div>
        </div>
    </div>			
</section>

<?php endif; ?>

<?php if ($clients = buliten_set($meta2, 'bunch_our_clients')):?>

<!--Sponsors Section-->
<section class="sponsors-section">
    <div class="auto-container">

        <div class="sponsors-outer">
            <!--Sponsors Carousel-->
            <ul class="sponsors-carousel owl-carousel owl-theme">
                <?php foreach ($clients as $keys => $value):?>
                <li class="slide-item"><figure class="image-box"><a href="<?php echo esc_url(buliten_set($value, 'clients_link')); ?>"><img src="<?php echo esc_url(buliten_set($value, 'clients_img')); ?>" alt="<?php esc_attr_e('Awesome Image', 'buliten'); ?>"></a></figure></li>
                <?php endforeach;?>
            </ul>
        </div>

    </div>
</section>
<!--End Sponsors Section-->

<?php endif; ?>

<?php get_footer(); ?>