:</strong> <a href="groups/<?php echo $this->_model->getGroupName($topic->topicinfo->IdGroup); ?> "> <?php echo $this->_model->getGroupName($topic->topicinfo->GroupName); ?> </a> </p> <?php } ?> <?php $url = ForumsView::getURI() . ''; $breadcrumb = ''; // Append slash to URL if it's not there yet if (substr($url, -1) != '/') { $url = $url . '/'; } $replyuri = preg_replace('#/page.{1,3}/#', '/', $uri . 'reply'); $tagBase = $url; if (isset($topic->topicinfo->continent) && $topic->topicinfo->continent) { $url = $url . 'k' . $topic->topicinfo->continent . '-' . Forums::$continents[$topic->topicinfo->continent] . '/'; $breadcrumb .= '<a href="' . $url . '">' . Forums::$continents[$topic->topicinfo->continent] . '</a> '; if (isset($topic->topicinfo->countryname) && $topic->topicinfo->countryname) { $url = $url . 'c' . $topic->topicinfo->countrycode . '-' . $topic->topicinfo->countryname . '/'; $breadcrumb .= '» <a href="' . $url . '">' . $topic->topicinfo->countryname . '</a> '; if (isset($topic->topicinfo->adminname) && $topic->topicinfo->adminname) { $url = $url . 'a' . $topic->topicinfo->admincode . '-' . $topic->topicinfo->adminname . '/';
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/> or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ $User = APP_User::login(); $words = new MOD_words(); $layoutbits = new MOD_layoutbits(); ?> <?php $uri = ForumsView::getURI(); if ($threads = $boards->getThreads()) { ?> <table class="forumsboardthreads floatbox"> <?php $threadsliced = array_slice($threads, 0, 5); foreach ($threadsliced as $cnt => $thread) { $url = ForumsView::threadURL($thread); if ($url[0] == 's') { // JeanYves Hack/Fix to be sure that forums/ is written in the beginning of the links ! $url = "forums/" . $url; } $max = $thread->replies + 1; $maxPage = ceil($max / $this->_model->POSTS_PER_PAGE);