Вход Регистрация
Файл: InstantSocial/uploud/components/arhive/router.php
Строк: 18
<?php
/******************************************************************************/
//                                                                            //
//                             InstantCMS v1.9                                //
//                        http://www.instantcms.ru/                           //
//                                                                            //
//                   written by InstantCMS Team, 2007-2011                    //
//                produced by InstantSoft, (www.instantsoft.ru)               //
//                                                                            //
//                        LICENSED BY GNU/GPL v2                              //
//                                                                            //
/******************************************************************************/

    
function routes_arhive(){

        
//RewriteRule ^arhive/([0-9]*)/([0-9]*)/([0-9]*)$ /index.php?view=arhive&y=$1&m=$2&d=$3
        
$routes[] = array(
                            
'_uri'  => '/^arhive/([0-9]+)/([0-9]+)/([0-9]+)$/i',
                            
1       => 'y',
                            
2       => 'm',
                            
3       => 'd'
                         
);

        
//RewriteRule ^arhive/([0-9]*)/([0-9]*)$ /index.php?view=arhive&y=$1&m=$2
        
$routes[] = array(
                            
'_uri'  => '/^arhive/([0-9]+)/([0-9]+)$/i',
                            
1       => 'y',
                            
2       => 'm'
                         
);

        
//RewriteRule ^arhive/([0-9]*)$ /index.php?view=arhive&y=$1
        
$routes[] = array(
                            
'_uri'  => '/^arhive/([0-9]+)$/i',
                            
1       => 'y'
                         
);

        return 
$routes;

    }

?>
Онлайн: 1
Реклама