PHP Classes

File: upload/themes/bb_simple/routes.php

Recommend this page to a friend!
  Classes of James Brows   PHP Bulletin Board   upload/themes/bb_simple/routes.php   Download  
File: upload/themes/bb_simple/routes.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Bulletin Board
Manage and post messages in multi-user forums
Author: By
Last change:
Date: 2 years ago
Size: 923 bytes
 

Contents

Class file image Download
<?php

// Routes::get('(:word)/(:word)','basic/$1@$2');

if(!function_exists('bb_load_all_forum_data'))
{
    die(
'You need install bulletinboard!');
}

require_once(
THEMES_PATH.'bb_simple/libs.php');

Routes::get('^f-(.*?)_(:num).html','bb_simple/Forum@index');
Routes::get('^t-(.*?)_(:num).html','bb_simple/Threads@index');
Routes::get('^post-(.*?).html','bb_simple/Posts@index');
Routes::get('^profile-(:word).html','bb_simple/Members@index');
Routes::get('^threadreply/thread-(:num)','bb_simple/ThreadReply@index');
Routes::get('^postedit/id-(:num)','bb_simple/PostEdit@index');
Routes::get('^threadedit/id-(:num)','bb_simple/ThreadEdit@index');
Routes::get('^attach_file/file-(:num)','bb_simple/AttachFile@index');
Routes::get('^forgot_password','bb_simple/ForgotPassword@index');

Routes::get('(:word)/(:word)','bb_simple/$1@$2');
Routes::get('(:word)','bb_simple/$1@index');

Routes::get('','bb_simple/Home@index');