{include file='topic_part_header.tpl'} {assign var=oMainPhoto value=$oTopic->getPhotosetMainPhoto()} {if $oMainPhoto}