Zeile 6 | Zeile 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: post.php 2180 2006-09-02 07:36:22Z chris $
| * $Id: post.php 2280 2006-09-27 12:21:17Z chris $
|
*/
/*
| */
/*
|
Zeile 125 | Zeile 125 |
---|
// Sanitize the username $post['username'] = htmlspecialchars_uni($post['username']);
|
// Sanitize the username $post['username'] = htmlspecialchars_uni($post['username']);
|
|
|
return true; }
| return true; }
|
Zeile 522 | Zeile 523 |
---|
// Automatic subscription to the thread if($post['options']['emailnotify'] != "no" && $post['uid'] > 0) {
|
// Automatic subscription to the thread if($post['options']['emailnotify'] != "no" && $post['uid'] > 0) {
|
$query = $db->simple_select(TABLE_PREFIX."favorites", "fid", "tid='".intval($post['uid'])."' AND tid='".intval($post['tid'])."' AND type='s'", array("limit" => 1));
| $query = $db->simple_select(TABLE_PREFIX."favorites", "fid", "uid='".intval($post['uid'])."' AND tid='".intval($post['tid'])."' AND type='s'", array("limit" => 1));
|
$already_subscribed = $db->fetch_field($query, "fid"); if(!$already_subscribed) {
| $already_subscribed = $db->fetch_field($query, "fid"); if(!$already_subscribed) {
|
Zeile 536 | Zeile 537 |
---|
}
// Perform any selected moderation tools.
|
}
// Perform any selected moderation tools.
|
if(is_moderator($post['fid'], "", $post['uid']) == "yes" && $post['modoptions'])
| if(is_moderator($post['fid'], "", $post['uid']) == "yes")
|
{ // Fetch the thread $thread = get_thread($post['tid']);
| { // Fetch the thread $thread = get_thread($post['tid']);
|
Zeile 582 | Zeile 583 |
---|
{ $db->query(" UPDATE ".TABLE_PREFIX."threads
|
{ $db->query(" UPDATE ".TABLE_PREFIX."threads
|
SET $newclosed$sep$newstick
| SET {$newclosed}{$sep}{$newstick}
|
WHERE tid='{$thread['tid']}' "); }
| WHERE tid='{$thread['tid']}' "); }
|
Zeile 756 | Zeile 757 |
---|
update_forum_count($post['fid']); }
|
update_forum_count($post['fid']); }
|
if($visible != 2)
| if($visible != -2)
|
{ $now = time(); if($forum['usepostcounts'] != "no")
| { $now = time(); if($forum['usepostcounts'] != "no")
|