corrected description, fixed bug in sub display where edited posts would not be shown
parent
941e1e9191
commit
cce7093283
|
@ -2,31 +2,7 @@
|
|||
|
||||
/*
|
||||
* This is the endboard software, version beta 0.71, index file for mobiles
|
||||
* It is a forced anonymous textboard without timestamps, written for the
|
||||
* use in the darknets.
|
||||
*
|
||||
* Features are:
|
||||
*
|
||||
* -users can create their own subs
|
||||
* -admin interface: delete single messages, ranges or whole subs
|
||||
* -moderators interface: shadow single messages, ranges or whole subs
|
||||
* -an api for automated posting
|
||||
* -a simple spam check and doublepost protection
|
||||
* -an api to export any sub to a json file
|
||||
* -a bot trap and block for those following invisible links
|
||||
* -a landing page
|
||||
* -five diffent styles (css-files)
|
||||
* -a simple BBCode dialect
|
||||
*
|
||||
* In contrast to earlier versions, this one relies on sqlite3 to save
|
||||
* the messages and hashes for the captchas.
|
||||
* Also, it respects the recent Linux conventions, so configfiles go to
|
||||
* /etc/opt/endboard, workingfiles go to /var/opt/endboard and the
|
||||
* actual webcontent goes to /srv/endboard.
|
||||
* If you want custom paths, you'll need to change them in this file
|
||||
* (index.php) as well as in config.php.
|
||||
* However, the files "board.db" and "config.php" should not
|
||||
* be in the webroot.
|
||||
* It is a textboard, written for the use in the darknets.
|
||||
*
|
||||
* The writing of this code started some time ago with another software
|
||||
* called smolBBS. Although there is almost no original code left now,
|
||||
|
@ -1634,7 +1610,7 @@ function print_sub($db, $sub, $settings, $page)
|
|||
FROM threads
|
||||
WHERE sub = '$sub'
|
||||
AND shadow = 'no'
|
||||
AND org_id = original
|
||||
AND original = org_id
|
||||
ORDER BY ROWID DESC");
|
||||
} elseif ($page > 0) {
|
||||
// if the page is defined
|
||||
|
@ -1643,7 +1619,7 @@ function print_sub($db, $sub, $settings, $page)
|
|||
FROM threads
|
||||
WHERE sub = '$sub'
|
||||
AND shadow = 'no'
|
||||
AND org_id = original
|
||||
AND original = org_id
|
||||
ORDER BY ROWID DESC
|
||||
LIMIT '$page_start', '$pagination'");
|
||||
} else {
|
||||
|
@ -1651,7 +1627,7 @@ function print_sub($db, $sub, $settings, $page)
|
|||
FROM threads
|
||||
WHERE sub = '$sub'
|
||||
AND shadow = 'no'
|
||||
AND org_id = original
|
||||
AND original = org_id
|
||||
ORDER BY ROWID DESC
|
||||
LIMIT '$pagination'");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue