<?php $post = get_post(get_queried_object_id()); ?>
<?php $adfoxDate = date("U"); ?>
<?php if (in_array(get_post_type(), array('anew', 'yellow'))): ?>
    <?php get_template_part('content', 'page-template-anew'); ?>
<?php else: ?>
    <?php get_template_part('content', 'page-template-profile_article'); ?>
<?php endif; ?>