Eğer yönlendirme modu kurulu ise
uyeye_ozel_html_sayfa.phpNot: Kod içerisindeki dosya ismini de buna göre değiştirmelisin.
[syntax="php"]<?php
define('IN_PHPBB', true);
$phpbb_root_path = './'; // <--
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
init_userprefs($userdata);
if ( !$userdata['session_logged_in'])
{
redirect(append_sid("login.$phpEx?redirect=uyeye_ozel_html_sayfa.$phpEx", true));
}
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
?>
<!-- [+] HTML KODLARI-->
<!-- [-] HTML KODLARI-->
<?
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>[/syntax]
Yok eğer, yönlendirme modu kurulu değilse:
[syntax="php"]<?php
define('IN_PHPBB', true);
$phpbb_root_path = './'; // <--
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
init_userprefs($userdata);
if ( !$userdata['session_logged_in'])
{
redirect(append_sid("login.$phpEx", true));
}
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
?>
<!-- [+] HTML KODLARI-->
<!-- [-] HTML KODLARI-->
<?
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>[/syntax]