A function for punbb
来源:互联网 发布:java程序的入口是什么 编辑:程序博客网 时间:2024/05/18 02:23
define('PUN_ROOT', './bbs/');
require PUN_ROOT.'include/common.php';
require PUN_ROOT.'include/common.php';
function ShowForum($fid,$loop){
//show $loop topics of Forum $fid
//fid: Forum id;
//$loop: number of topics;
$result = mysql_query("SELECT * FROM punbb_topics WHERE forum_id='$fid' ORDER BY id DESC");
//show $loop topics of Forum $fid
//fid: Forum id;
//$loop: number of topics;
$result = mysql_query("SELECT * FROM punbb_topics WHERE forum_id='$fid' ORDER BY id DESC");
while(($row = mysql_fetch_array($result)) && ($loop>0))
{
echo "" . $row['subject'] . " ";
echo "
";
$loop--;
}
}//function ShowForum
{
echo "
echo "
";
$loop--;
}
}//function ShowForum
ShowForum(1,10);
?>
?>
- A function for punbb
- A Hash Function for Hash Table Lookup
- a simple function for memory dumping
- Punbb footer.php
- A high performance string format function for JavaScript
- A Diversity-Promoting Objective Function for Neural Conversation Models
- A function returns function
- A function
- JS:Trim() in javascript, how to define a function of checkinput for a WebControl(ascx)
- Just a quick post of a potentially useful function for LoadRunner
- Element type is invalid: expected a string (for built-in components) or a class/function (for compos
- Descriptors for function interfaces
- hash function for proxy
- code for qint function
- Scala的for、function
- C++ FUNCTION FOR ACM
- How to define a bash function for use in any script?
- Notes for Python's function# Defining a class class class_name: [statement 1] [statement 2]
- 定时任务网站
- MTK主题风格
- 2010 - 02 - 10, Marriage
- 3 Ways to Kill an Application/Activity/Process in Android
- A Fall in Love Story
- A function for punbb
- Amazon's wish list service is amazing
- Android G2手机如何使用CMWAP上网
- Android Function: public static boolean isCmwap(Context context)
- A First Look at the Android Testing Framework
- Android 文件操作 读/写
- Android取用户屏幕大小
- Blackberry version "hello world", which use a socket to send msg to a server
- Compiler CC and gcc under Unix are able to link each