????? ???? ????? ???? ????? ????????
مرسل: الاثنين يونيو 30, 2008 10:38 pm
?????? ???? ????? ???? ????? ???????? ????? ??????? /
?? ???? ??????? ???? ????????? ??? ???? ?? ???? ??? .php ???? ? ?? ?? ??????
???? ?? ?? ???? ???? ???? ??? ??? ????? ?? ?????
???? Title Here ??? ????? ?????? ???? ???? ?? ??????? ?? ?????? ????? utf8 ? ? yourpage_body.html ???? ??? ??????? ???? ???? ?????? ???? ??????..
??? ??? ??????? ??? ??? ???? ???? ??????? ??? ?????? ??
? ???????? ???????
? ???? base-name-of-language-file-here ???? ??? ????? ???? ???????? ???? ????? ???????? .php ???? ?? ??? ?? ?????? ??? ??? ??? ??? ??? ???? ??????..
??? ???? ???????? ???? ??? ?????? ??? ??????? ??? ?????? ??
? ??? ????
? ???? ???? ??? ??? ??????? yourpage_body.html (?? ????? ???? ?????? ????)
????? ? ???? ?? ????? ??????
???? Title Here ???? ?????? ? ??? ??? ??? ??????? ?????? ???? ?? Content in here.
?? ???? ??????? ???? ????????? ??? ???? ?? ???? ??? .php ???? ? ?? ?? ??????
???? ?? ?? ???? ???? ???? ??? ??? ????? ?? ?????
كود: تحديد الكل
<?php
????define('IN_PHPBB',?true);
????$phpbb_root_path?=?(defined('PHPBB_ROOT_PATH'))???PHPBB_ROOT_PATH?:?'./';
????$phpEx?=?substr(strrchr(__FILE__,?'.'),?1);
????include($phpbb_root_path?.?'common.'?.?$phpEx);
????//?Start?session?management
????$user->session_begin();
????$auth->acl($user->data);
????$user->setup();
????page_header('Title?Here');
????$template->set_filenames(array(
????????'body'?=>?'yourpage_body.html',
????));
????make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
????page_footer();
?>
???? Title Here ??? ????? ?????? ???? ???? ?? ??????? ?? ?????? ????? utf8 ? ? yourpage_body.html ???? ??? ??????? ???? ???? ?????? ???? ??????..
??? ??? ??????? ??? ??? ???? ???? ??????? ??? ?????? ??
كود: تحديد الكل
$user->setup();?
? ???????? ???????
كود: تحديد الكل
$user->setup('base-name-of-language-file-here');?
? ???? base-name-of-language-file-here ???? ??? ????? ???? ???????? ???? ????? ???????? .php ???? ?? ??? ?? ?????? ??? ??? ??? ??? ??? ???? ??????..
??? ???? ???????? ???? ??? ?????? ??? ??????? ??? ?????? ??
كود: تحديد الكل
$user->setup();?
? ??? ????
كود: تحديد الكل
if?($user->data['user_id']?==?ANONYMOUS)
{
????login_box('',?$user->lang['LOGIN']);
}?
? ???? ???? ??? ??? ??????? yourpage_body.html (?? ????? ???? ?????? ????)
????? ? ???? ?? ????? ??????
كود: تحديد الكل
<!--?INCLUDE?overall_header.html?-->
<h2>Title?Here</h2>
<div?class="panel">
???<div?class="inner"><span?class="corners-top"><span></span></span>
???<div?class="content">
??????<p>
?????????Content?in?here.
??????</p>
???</div>
???<span?class="corners-bottom"><span></span></span></div>
</div>
<!--?INCLUDE?jumpbox.html?-->
<!--?INCLUDE?overall_footer.html?-->?
???? Title Here ???? ?????? ? ??? ??? ??? ??????? ?????? ???? ?? Content in here.