AnonSec Team
Server IP : 10.128.40.6  /  Your IP : 216.73.216.233
Web Server : Apache
System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : logmcpe ( 111175)
PHP Version : 7.3.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/logmcpe/www/TEST/www/wp-content/plugins/../themes/cleanmate/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/logmcpe/www/TEST/www/wp-content/plugins/../themes/cleanmate/single-ql_projects.php
<?php
/*
Template Name: Project
*/
get_header();
/*get page with single project template set*/
$has_post_thumbnail = has_post_thumbnail();
$post_template_page_array = get_pages(array(
	'post_type' => 'page',
	'post_status' => 'publish',
	'meta_key' => '_wp_page_template',
	'meta_value' => 'single-ql_projects.php'
));
if(count($post_template_page_array))
{
	$post_template_page_array = array_values($post_template_page_array);
	$post_template_page = $post_template_page_array[0];
	if(count($post_template_page_array) && isset($post_template_page))
	{
		$has_post_thumbnail = has_post_thumbnail($post_template_page);
	}
}
if($has_post_thumbnail)
{
?>
	<div class="vc_row wpb_row vc_row-fluid gray full-width page-header vertical-align-table">
		<div class="vc_row wpb_row vc_inner vc_row-fluid">
			<div class="page-header-left">
				<h1><?php the_title(); ?></h1>
			</div>
			<div class="page-header-right">
				<div class="bread-crumb-container">
					<ul class="bread-crumb">
						<li>
							<a href="<?php echo esc_url(get_home_url()); ?>" title="<?php esc_attr_e('Home', 'cleanmate'); ?>">
								<?php _e('Home', 'cleanmate'); ?>
							</a>
						</li>
						<?php
						$parent_id = wp_get_post_parent_id(get_the_ID());
						if($parent_id)
						{
							$parent = get_post($parent_id);
							?>
							<li class="separator">
								&#47;
							</li>
							<li>
								<a href="<?php echo esc_url(get_permalink($parent)); ?>" title="<?php echo esc_attr($parent->post_title); ?>">
									<?php echo $parent->post_title; ?>
								</a>
							</li>
							<?php
						}
						?>
						<li class="separator">
							&#47;
						</li>
						<li>
							<?php the_title(); ?>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>
<?php
}
?>
<div class="theme-page">
	<?php
	if(!$has_post_thumbnail)
	{
	?>
	<div class="vc_row wpb_row vc_row-fluid gray full-width page-header vertical-align-table">
		<div class="vc_row wpb_row vc_inner vc_row-fluid">
			<div class="page-header-left">
				<h1><?php the_title(); ?></h1>
			</div>
			<div class="page-header-right">
				<div class="bread-crumb-container">
					<ul class="bread-crumb">
						<li>
							<a href="<?php echo esc_url(get_home_url()); ?>" title="<?php esc_attr_e('Home', 'cleanmate'); ?>">
								<?php _e('Home', 'cleanmate'); ?>
							</a>
						</li>
						<?php
						$parent_id = wp_get_post_parent_id(get_the_ID());
						if($parent_id)
						{
							$parent = get_post($parent_id);
							?>
							<li class="separator">
								&#47;
							</li>
							<li>
								<a href="<?php echo esc_url(get_permalink($parent)); ?>" title="<?php echo esc_attr($parent->post_title); ?>">
									<?php echo $parent->post_title; ?>
								</a>
							</li>
							<?php
						}
						?>
						<li class="separator">
							&#47;
						</li>
						<li>
							<?php the_title(); ?>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<?php
	}
	else if(count($post_template_page_array) && isset($post_template_page))
	{
	?>
		<div class="row full-width header-background" style="background-image: url('<?php echo esc_url(get_the_post_thumbnail_url($post_template_page)); ?>')"></div>
	<?php
	}
	?>
	<div class="clearfix">
		<?php
		if(function_exists("vc_map"))
		{
			if(count($post_template_page_array) && isset($post_template_page))
			{
				echo wpb_js_remove_wpautop(apply_filters('the_content', $post_template_page->post_content));
				global $post;
				$post = $post_template_page;
				setup_postdata($post);
			}
			else
			{
				echo wpb_js_remove_wpautop(apply_filters('the_content', '[vc_row top_margin="page-margin-top-section" el_class="padding-bottom-100"][vc_column][single_project][/vc_column][/vc_row]'));
			}
		}
		else
		{
			cm_get_theme_file("/shortcodes/single-project.php");
			echo '<div class="vc_row wpb_row vc_row-fluid page-margin-top-section padding-bottom-100"><div class="vc_col-sm-12 wpb_column vc_column_container">' . cm_theme_single_project(array()) . '</div></div>';
		}
		?>
	</div>
</div>
<?php
get_footer();
?>

AnonSec - 2021