default: $sqlsortfield = 'lastpost'; $sortfield = 'lastpost';
default: if ( $foruminfo['forumid'] == $yourforumid ) : $sqlsortfield = 'thread.title' ; else : $sqlsortfield = 'lastpost' ; $sortfield = 'lastpost' ; endif ;