qTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTr
U                                  йԴվ                                    U
U                                                                                    U
U              Դ:www.downcode.com  Դ̳:www.downcode.net                  U
U                                                                                    U
U                       תɾϢлл                           U
tTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTs
qTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTr
U ʹ˵   U
tTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTs



/*
//=============================================================================
/*
/* CTB - China Text Bulletin
/*
/* ӭʹ CTB ̳ʼʹ֮ǰĶȫ˵
/*
/* Welcome to http://www.11cn.org & http://ctb.11cn.org */ 
/*
/* ĵװҳ˵
/*
//=============================================================================
*/

CTB ע

1Ϊ̳ȫϴ̳ admin Ŀ¼޸ĳֻԼ֪Ŀ¼

2ϵͳ windows ģмǰйĿ¼ļΪ 777ûаգͰĿ¼ļΪ 777Ŀ¼µģ

3 CTB ̨֮Կ PHP Ƿ˰ȫģʽȫģʽ°ʱҪֶ£
  a data Ŀ¼£ͨ FTP ½һĿ¼ҪеĿ¼ 1Ϊ 777
  bҪ½飬ظϲ
  c¼̨°

//+---------------------------------------------------------------------------+

CTB װ

1ԭĿ¼ṹϴ

2ķϵͳ windowsҪ޸һЩĿ¼ļΪ 777
  a޸ include Ŀ¼µ config.php ļ
  b޸ admin Ŀ¼µ tmp Ŀ¼
  c޸ data Ŀ¼
  d޸ data Ŀ¼µĿ¼ļdata ļĿ¼ԼĿ¼µļ

3ķϵͳ windowsϵ 2 Ҫ

4ʹԤʺţctb/ctb̨̨ admin Ŀ¼磺http://www.some_site/ctb/adminٴν admin Ŀ¼ΪֻԼ֪֣

5³Աʺţʺŵ¼̨ɾ ctb Ԥ賬Ա

//+---------------------------------------------------------------------------+

CTB 

1ȱ̳ݣѡų́ıݳҲԿ data Ŀ¼Լ include Ŀ¼µ config.php ļ

2ԭ·ϴ°汾г data Ŀ¼ȫĿ¼ļ

3ָԭеļҪ޸ԣģ

4°汾ļλڸĿ¼£ļ up1.5to1.6.phpиļϸʾ

//+---------------------------------------------------------------------------+

CTB ҳá

һҪ CTB ̨ȷ̳·

1ں̨-->ϵͳ-->ϵͳѡctb̳url:Ϊ̳·

磺
http://www.some_site.com/ctb

ע⣺治бܣҲindex.php
öǴģ
http://www.some_site.com/ctb/
http://www.some_site.com/ctb/index.php

2õʱ

 <table> ǩҪĸʽ⣬ҳ CSS ҲҪ <td> ʽЩҪһЩ HTML ֪ʶοֲ鼮

ֳõҳ

1ȫ̳

<table>
  <script language="JavaScript" src="http://ctb.11cn.org/index.php?mods=others&action=index_news"></script>
</table>

    ˵ http://ctb.11cn.org/index.php ޸ĳԼַ

2õ

<table>
  <script language="JavaScript" src="http://ctb.11cn.org/index.php?mods=others&action=forum_news&forumid=2&topicNum=10"></script>
</table>

   ˵http://ctb.11cn.org/index.php ޸ĳԼַ
            forumid ֵΪõİ id
            topicNum ֵΪõ

3ҳ̳ͶƱ

<table>
  <script language="JavaScript" src="http://ctb.11cn.org/index.php?mods=others&action=index_vote&forumid=2&postid=939"></script>
<table>

   ˵http://ctb.11cn.org/index.php ޸ĳԼַ
            forumid ֵΪõİ id
            postid ֵΪõͶƱ id 

//=============================================================================

CTB ϵʽ

Website: http://www.11cn.org

֧̳: http://ctb.11cn.org

ӭʵվһ web ̵ϼվ㡣

Ƕڷѹ򣬲ͬʱΪҵͻҵ

ǵĿǹͬѧϰͬΪй web ԼĹס