- <br />
- aboutus.php (در این مثال این نام را انتخاب کرده ایم)<br />
- aboutus_body.html (در این مثال این نام را انتخاب کرده ایم)
کد: انتخاب همه
<br /><?php<br />define('IN_PHPBB', true);<br />$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';<br />$phpEx = substr(strrchr(__FILE__, '.'), 1);<br />include($phpbb_root_path . 'common.' . $phpEx);<br /><br />// Start session management<br />$user->session_begin();<br />$auth->acl($user->data);<br />$user->setup();<br /><br />page_header('About Us');<br /><br />$template->set_filenames(array(<br /> 'body' => 'aboutus_body.html',<br />));<br /><br />make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));<br />page_footer();<br /><br />?>
کد: انتخاب همه
aboutus_body.html:<br /> <!-- INCLUDE overall_header.html --><br /><br /> <h2>About Us</h2><br /><br /> <div class="panel"><br /> <div class="inner"><span class="corners-top"><span></span></span><br /><br /> <div class="content"><br /> <p><br /> We were founded this year to bring you the best forum on the Internet!<br /> <br /> We promise to do the following:<br /> <ul><br /> <li>Provide new content</li><br /> <li>provide a friendly atmosphere</li><br /> <li>Provide an environment where you can have fun!</li><br /> </ul><br /> </p><br /> </div><br /><br /> <span class="corners-bottom"><span></span></span></div><br /> </div><br /><br /> <!-- INCLUDE jumpbox.html --><br /> <!-- INCLUDE overall_footer.html -->