getArtContent( $type ); if(!$returnInfo[0]['title']){ $returnInfo[0]['title'] = $artArry[$type]; } $smarty->assign( 'list', $artArry ); $smarty->assign( 'type', $type ); $smarty->assign( 'content', $returnInfo ); $smarty->display( 'art.tpl.html' ); include_once ( 'bottom.php' ); ?>