Vergleich printthread.php - 1.00 - 1.16

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * $Id$

 * $Id: printthread.php 324 2005-07-30 08:36:52Z k776 $

 */

define("KILL_GLOBALS", 1);

 */

define("KILL_GLOBALS", 1);

Zeile 55Zeile 55
// Password protected forums ......... yhummmmy!
checkpwforum($fid, $forum['password']);


// Password protected forums ......... yhummmmy!
checkpwforum($fid, $forum['password']);


$query = $db->query("SELECT u.*, u.username AS userusername, p.* FROM ".TABLE_PREFIX."posts p LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=p.uid) WHERE p.tid='$tid' ORDER BY p.dateline");

$query = $db->query("SELECT u.*, u.username AS userusername, p.* FROM ".TABLE_PREFIX."posts p LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=p.uid) WHERE p.tid='$tid' AND p.visible='1' ORDER BY p.dateline");

while($postrow = $db->fetch_array($query))
{
if($postrow['userusername'])
{
$postrow['username'] = $postrow['userusername'];
}

while($postrow = $db->fetch_array($query))
{
if($postrow['userusername'])
{
$postrow['username'] = $postrow['userusername'];
}

	$postrow['subject'] = htmlspecialchars_uni(stripslashes(dobadwords($postrow['subject'])));

	$postrow['subject'] = htmlspecialchars_uni(dobadwords($postrow['subject']));

	$postrow['date'] = mydate($mybb->settings['dateformat'], $postrow['dateline']);
$postrow['time'] = mydate($mybb->settings['timeformat'], $postrow['dateline']);

	$postrow['date'] = mydate($mybb->settings['dateformat'], $postrow['dateline']);
$postrow['time'] = mydate($mybb->settings['timeformat'], $postrow['dateline']);

	$postrow['message'] = postify(stripslashes($postrow['message']), $forum['allowmycode'], $forum['allowsmilies'], $forum['allowimgcode']);

	$postrow['message'] = postify($postrow['message'], $forum['allowhtml'], $forum['allowmycode'], $forum['allowsmilies'], $forum['allowimgcode']);

	// do me code
if($forum['allowmycode'] != "no")
{

	// do me code
if($forum['allowmycode'] != "no")
{