|
<?php
1. Распаковать архив в корень
2. Залить таблицы с файла sql.sql
3. Прописать в .htaccess эти строки
#Реврайты для газеты сайта#
RewriteRule ^newspaper/?$ newspaper/index.php [L,QSA]
RewriteRule ^newspaper/kat_add?$ newspaper/index.php?act=kat_add [L,QSA]
RewriteRule ^newspaper/edit_kat([0-9]*)/?$ newspaper/index.php?act=edit_kat&id=$1 [L,QSA]
RewriteRule ^newspaper/del_kat([0-9]*)/?$ newspaper/index.php?act=del_kat&id=$1 [L,QSA]
RewriteRule ^newspaper/kat([0-9]*)/?$ newspaper/index.php?act=kat&id=$1 [L,QSA]
RewriteRule ^newspaper/new_paper([0-9]*)/?$ newspaper/index.php?act=new_paper&id=$1 [L,QSA]
RewriteRule ^newspaper/read([0-9]*)/?$ newspaper/index.php?act=read&id=$1 [L,QSA]
RewriteRule ^newspaper/foto_read([0-9]*)/?$ newspaper/index.php?act=foto_read&id=$1 [L,QSA]
RewriteRule ^newspaper/edit_read([0-9]*)/?$ newspaper/index.php?act=edit_read&id=$1 [L,QSA]
RewriteRule ^newspaper/del_read([0-9]*)/?$ newspaper/index.php?act=del_read&id=$1 [L,QSA]
RewriteRule ^newspaper/zaklad_read([0-9]*)/?$ newspaper/index.php?act=zaklad_read&id=$1 [L,QSA]
RewriteRule ^newspaper/zaklad?$ newspaper/index.php?act=my_zaklad [L,QSA]
RewriteRule ^newspaper/search?$ newspaper/index.php?act=search [L,QSA]
4. Перейти по ссылке вашсайт/news
///////Автор мода Shot_///////
?>