<?php
if (!defined("FUNC_FILE")) die("Illegal File Access");
$rewrite_out = array(
// Файлы
"Files-new.html",
"Files-print-\\1.html",
"Files-view-\\1-\\2.html",
"Files-view-\\1.html",
"Files-view-\\1.html",
"Files-broken-\\1.html",
"Files-list-\\1.html",
"Files-list.html",
"Files-add.html",
"Files-best-\\1.html",
"Files-best.html",
"Files-hits-\\1.html",
"Files-hits.html",
"Files-\\1.html",
"Files-cat-\\1-\\2.html",
"Files-cat-\\1.html",
"Files.html",
// Новости
"News-topic-\\1-page-\\2.html",
"News-topic-\\1.html",
"News-friendsend-\\1.html",
"News-print-\\1.html",
"News-view-\\1-\\2.html",
"News-view-\\1-word-\\2.html",
"News-view-\\1.html",
"News-list-\\1.html",
"News-list.html",
"News-best-\\1.html",
"News-best.html",
"News-hits-\\1.html",
"News-hits.html",
"News-cat-\\1-\\2.html",
"News-cat-\\1.html",
"News-\\1.html",
"News.html",
//Статьи
//Голосование
"Voting-pollresult-\\1.html",
"Voting-pollshow-\\1.html",
"Voting.html",
// ЧАВО
"Faq-showcat-\\1-asc.html",
"Faq-showcat-\\1-desc.html",
"Faq-showcat-\\1-az.html",
"Faq-showcat-\\1-za.html",
"Faq-showcat-\\1.html",
"Faq-send.html",
"Faq.html",
//Интернет радио
"Internet_Radio.html",
//Актуальные темы
"Topics.html",
//Рекомендовать
"Recommend.html",
//RSS информер
"Info.html",
//Поиск
"Search.html",
//Top пользоватилей
"ShowRules.html",
"ShowStats.html",
"Top_Users.html",
//Обратная связь
"Contact.html",
//генератор паролий
"Generate_password.html",
//Главная страница
"index.html",
);
$rewrite_in = array(
// Файлы
"'(?<!/)index.php\?name=Files&new'",
"'(?<!/)index.php\?name=Files&op=printe&id=([0-9]*)'",
"'(?<!/)index.php\?name=Files&op=view&id=([0-9]*)&num=([0-9]*)'",
"'(?<!/)index.php\?name=Files&op=view&id=([0-9]*)&word=([%&;/:|\s\-\'{}().&_a-zA-Zа-яА-Я0-9+=-]*)'",
"'(?<!/)index.php\?name=Files&op=view_file&lid=([0-9]*)'",
"'(?<!/)index.php\?name=Files&op=broken&lid=([0-9]*)'",
"'(?<!/)index.php\?name=Files&op=liste&num=([0-9]*)'",
"'(?<!/)index.php\?name=Files&op=liste'",
"'(?<!/)index.php\?name=Files&op=add_file'",
"'(?<!/)index.php\?name=Files&best=1&num=([0-9]*)'",
"'(?<!/)index.php\?name=Files&best=1'",
"'(?<!/)index.php\?name=Files&hits=1&num=([0-9]*)'",
"'(?<!/)index.php\?name=Files&hits'",
"'(?<!/)index.php\?name=Files&num=([0-9]*)'",
"'(?<!/)index.php\?name=Files&op=cat&id=([0-9]*)&pagenum=([0-9]*)'",
"'(?<!/)index.php\?name=Files&op=cat&id=([0-9]*)'",
"'(?<!/)index.php\?name=Files'",
// Новости
"'(?<!/)index.php\?name=News&new_topic=([0-9]*)&pagenum=([0-9]*)'",
"'(?<!/)index.php\?name=News&new_topic=([0-9]*)'",
"'(?<!/)index.php\?name=News&op=friendsend&sid=([0-9]*)'",
"'(?<!/)index.php\?name=News&op=printpage&sid=([0-9]*)'",
"'(?<!/)index.php\?name=News&op=article&sid=([0-9]*)&num=([0-9]*)'",
"'(?<!/)index.php\?name=News&op=article&sid=([0-9]*)&word=([%&;/:|\s\-\'{}().&_a-zA-Zа-яА-Я0-9+=-]*)'",
"'(?<!/)index.php\?name=News&op=article&sid=([0-9]*)'",
"'(?<!/)index.php\?name=News&op=liste&num=([0-9]*)'",
"'(?<!/)index.php\?name=News&op=liste'",
"'(?<!/)index.php\?name=News&best=1&num=([0-9]*)'",
"'(?<!/)index.php\?name=News&best=1'",
"'(?<!/)index.php\?name=News&hits=1&num=([0-9]*)'",
"'(?<!/)index.php\?name=News&hits=1'",
"'(?<!/)index.php\?name=News&cat=([0-9]*)&num=([0-9]*)'",
"'(?<!/)index.php\?name=News&cat=([0-9]*)'",
"'(?<!/)index.php\?name=News&num=([0-9]*)'",
"'(?<!/)index.php\?name=News'",
//Статьи
//Голосование
"'(?<!/)index.php\?name=Voting&op=poll_result&poll_id=([0-9]*)'",
"'(?<!/)index.php\?name=Voting&op=poll_show&poll_id=([0-9]*)'",
"'(?<!/)index.php\?name=Voting'",
//ЧАВО
"'(?<!/)index.php\?name=FAQ&op=showcat&id_cat=([0-9]*)&howorder=asc'",
"'(?<!/)index.php\?name=FAQ&op=showcat&id_cat=([0-9]*)&howorder=desc'",
"'(?<!/)index.php\?name=FAQ&op=showcat&id_cat=([0-9]*)&howorder=az'",
"'(?<!/)index.php\?name=FAQ&op=showcat&id_cat=([0-9]*)&howorder=za'",
"'(?<!/)index.php\?name=FAQ&op=showcat&id_cat=([0-9]*)'",
"'(?<!/)index.php\?name=FAQ&op=faqsend'",
"'(?<!/)index.php\?name=FAQ'",
//Интернет радио
"'(?<!/)index.php\?name=Internet_Radio'",
//Актуальные темы
"'(?<!/)index.php\?name=Topics'",
//Рекомендовать
"'(?<!/)index.php\?name=Recommend'",
//RSS информер
"'(?<!/)index.php\?name=Info'",
//Поиск
"'(?<!/)index.php\?name=Search'",
//Top пользоватилей
"'(?<!/)index.php\?name=Top_Users&op=ShowRules'",
"'(?<!/)index.php\?name=Top_Users&op=ShowStats'",
"'(?<!/)index.php\?name=Top_Users'",
//Обратная связь
"'(?<!/)index.php\?name=Contact'",
//Генератор паролий
"'(?<!/)index.php\?name=Genpass'",
//Главная страница
"'(?<!/)index.php'",
);
?>