?????????. ?? ? ?????? index.html ???, ? ? ??? ?? ?????? ? ?????????? /forum1 ??????? smile ?? ??? ? ???? ????????? ?? ?????...

?????? ???????????. ? ???????????? ?????? ?????-?? ????? ?????? index.html (? ???????? ????????), ?? ? ??????????. ?????? ?????? ? ??????????? index.php.
???????, ??? ??????????? ???????? ????????? ?????? ????? ????????? ????????? ?? ?????. ???????? ???.

?????? ? ??????? "cache" ?????????. ??? ?? ????? ???????? ??? ? ?? ??? ?????? ????? chmod 777.
? Base URL ?????????: http://www.megabotans.noka.ru/forum1
????? ??????: http://megabotans.noka.ru/forum1/index.php ??? http://www.megabotans.noka.ru/forum1/index.php
? ???????? ??? ????????? ?????? ???????? ????? ??? "www", ?? ??? ??? ????? ????????? ? Base URL. ????? ????, ??? ??-?? "www" ?? ?????????
? ??? ?????, ??? ??????????? ???????, ?????????? ??????? message? ? ????? ???????? ?????????, ????? ????? ?????? ????? ? ?????-?????? admin_*.php? ??? ????? ?????? ???? ?????.
???? ? ???? ??? ???????? ?????????.

?????? ???-??? ???????:
? ????? PUN_ROOT.'include/functions.php' ?????? ????????? ? ???????
function message($message, $no_back_link = false)
{ global $lang_common;
  if ($message==$lang_common['Bad referrer']) {}
  else {
    global $db, $pun_config, $pun_start, $tpl_main;
//...
// No changes
//...   
</div>
</div>
<?php

    require PUN_ROOT.'footer.php';
};}
?????? ????? ?????-?????? ?? ?????? ???????? ??, ??????? ???????? $lang_common['Bad referrer'], ??? ?????? ?? ??????. ????? ????????? if ?????? ??????? ????????? ?????? ?? ??????? ?????? ?????? ??????????????.
? ???, ???????, ? ???? PHP ????? :-)

?????. ??????? ?? ??????.
? ???, ??? ??????: ?????? ? ????? admim_options.php ?????? ???????
// Lazy referer check (in case base_url isn't correct)
    if (!isset($_SERVER['HTTP_REFERER']) || !preg_match('#/admin_options\.php#i', $_SERVER['HTTP_REFERER']))
        message($lang_common['Bad referrer']);

?? ????, ?????? ???????, ??????? ????????? ????????, ? ??? ??????????.
???? ??? ???????. ???????? ???????? ??????? ?? ?? ???? ?????? ? ????????? admin_
? ???? ???? ??????????? ? ?????? PunBB: ? ?????? ????? ??????????? ??? ???????, ??????????? ?????? ?????????????, ? ?? ?????? ????????? ????????? ?? ??????.

???????? ??? ???. ?? ???????... Base Url ???????????? ?????????. ?? ????? ?????? ?? ?????? ? ??????? ???????? ?????? ?????, ??????? ?? index.php ??????, ?? ???? ?????? ?? ??????? ???????????????? ? ???????? ???????????...
????? ??????? ??? ???????????????? ???, ????? ??? ???????? ????? ??????? (???????? ?????????)? ? ? ?? ????? ????????...
phpMyAdmin ????????. ?? ???????? ????? ?????? ??????????, ? ????? ?????????????, ??? ? ????? ????? SQL-?????? ? ???????? ??????.
?????, ????????, ????? ?????? ????? ???????? ???????? ???? Language ? English ?? Russian?
?? ? ??? ????? ????????: ???? ????? ???? ??? ?????? ????????? ??????? ??????...

? ???? ???? ??? ??????? ????????? ????????? ?????????? ? ?????????????????, ????? ?????? ??????. ?????? ??? ?????: "???????? ????????. ?? ?????? ?? ??? ???????? ?? ???????????????????? ?????????. ??????????, ????????? ? ?????????? ??? ???. ???? ???????? ????????, ??????????, ????????? ??? '????????? URL' ????????? ?????????? ? ?????????????????/???????? ?, ???, ?? ????????? ?? ????? ????? ???? URL."
???? ????????? URL (?ase URL) ? ???? ?????????? ?????????. ????? ?????????? ??????? ???? ??? ??????, ???????? ? ?????????? lang ????? English ????????? Russian...
??? ????????? ???? ? ???? ???????. ?? ??????? ??? ??? ??? ????? ????. ????? ? ???? ?????? ?????? PunBB 1.2.12 ???????????