| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/clients/client2/web20/web/wp-content/themes/arni/ |
Upload File : |
<?php
global $smarty;
global $wordpress;
global $wp_query;
$html_content = "";
$html_content.= $smarty->fetch( "structure/header.tpl");
if( get_post_type() != "post" ) {
$checkPostTypeTemplate = get_template_directory() . '/includes/templates/content/functions/elements/' . get_post_type() . '/';
} else {
$checkPostTypeTemplate = FALSE;
}
if( isset($wp_query->query['ID']) && get_post_type() != "post" && is_file( $checkPostTypeTemplate . 'single.tpl' && get_post_type() == "products" ) ) {
$smarty->assign( "ptElement", get_post( $wp_query->queried_object->ID ) );
}
$html_content.= $smarty->fetch( $checkPostTypeTemplate . "single.tpl" );
$html_content.= $smarty->fetch( "structure/footer.tpl");
// HTML Output
echo sanitize_output( $html_content );