<?php if(isDesktop()){ include(drupal_get_path('theme', 'mytheme') . '/templates/include/news_desktop.inc.php'); }else{ include(drupal_get_path('theme', 'mytheme') . '/templates/include/news_mobile.inc.php'); } ?>