[討論]關於自行製作外掛。
發表於 : 2005-03-07 15:25
hello~各位
最近想要自行製作外掛,大概有點類似竹貓之前的 瘋狂大冒險。
但是不需要這麼複雜。
大概只是類似查詢的網頁這樣。
整個版面的樣式 是希望如下
自己初步嘗試過
總是一值出現\r
目前初步的index.php檔案如下 只是先嘗試呼叫而已\r
不知道我哪裡沒有注意到的?? 謝謝各位的指導~*
最近想要自行製作外掛,大概有點類似竹貓之前的 瘋狂大冒險。
但是不需要這麼複雜。
大概只是類似查詢的網頁這樣。
整個版面的樣式 是希望如下
代碼: 選擇全部
表頭 匯入over_header.tpl 方便使用者回討論區
中間就是我設計的程式
表尾 匯入overall_footer.tpl 做個版權的宣告。總是一值出現\r
代碼: 選擇全部
Warning: Cannot modify header information - headers already sent by (output started at /home/www/data/domodata.php:2) in /home/www/data/includes/sessions.php on line 308
Warning: Cannot modify header information - headers already sent by (output started at /home/www/data/domodata.php:2) in /home/www/data/includes/sessions.php on line 309
Warning: Cannot modify header information - headers already sent by (output started at /home/www/data/domodata.php:2) in /home/www/data/includes/page_header.php on line 661
Warning: Cannot modify header information - headers already sent by (output started at /home/www/data/domodata.php:2) in /home/www/data/includes/page_header.php on line 667
Warning: Cannot modify header information - headers already sent by (output started at /home/www/data/domodata.php:2) in /home/www/data/includes/page_header.php on line 668代碼: 選擇全部
<link rel="stylesheet" type="text/css" href="../templates/fisubsilversh/fisubsilversh.css" />
<?php
define('IN_PHPBB', true);
$phpbb_root_path = '../';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include_once($phpbb_root_path . 'includes/functions_announces.'. $phpEx);
if (file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lan g'] . "/lang_main_link.$phpEx"))
{
include_once($phpbb_root_path . 'language/lang_' . $boar d_config['default_lang'] . "/lang_main_link.$phpEx");
}
elseif (file_exists($phpbb_root_path . "language/lang_english/la ng_main_link.$phpEx"))
{
include_once($phpbb_root_path . "language/lang_english/l ang_main_link.$phpEx");
}
else
{
message_die(GENERAL_ERROR, "Unable to find a suitable la nguage file for Advanced Links Mod", '');
}
message_die(GENERAL_MESSAGE, $lang['No_forums']);