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: misc.php 2163 2006-08-30 05:53:05Z chris $
| * $Id: misc.php 2449 2006-11-27 22:57:17Z CraKteR $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 42 | Zeile 42 |
---|
if($mybb->user['uid'] != 0) { $db->update_query(TABLE_PREFIX."users", array('lastvisit' => time()), "uid='".$mybb->user['uid']."'");
|
if($mybb->user['uid'] != 0) { $db->update_query(TABLE_PREFIX."users", array('lastvisit' => time()), "uid='".$mybb->user['uid']."'");
|
require_once MYBB_ROOT."/inc/functions_user.php";
| require_once MYBB_ROOT."inc/functions_user.php";
|
update_pm_count('', 2); } else
| update_pm_count('', 2); } else
|
Zeile 61 | Zeile 61 |
---|
if($mybb->input['fid']) {
|
if($mybb->input['fid']) {
|
my_setcookie("forumpass[".intval($mybb->input['fid'])."]", '');
| my_unsetcookie("forumpass[".intval($mybb->input['fid'])."]");
|
redirect("index.php", $lang->redirect_forumpasscleared); } }
| redirect("index.php", $lang->redirect_forumpasscleared); } }
|
Zeile 89 | Zeile 89 |
---|
$forum['rulestitle'] = sprintf($lang->forum_rules, $forum['name']); }
|
$forum['rulestitle'] = sprintf($lang->forum_rules, $forum['name']); }
|
require_once MYBB_ROOT."/inc/class_parser.php";
| require_once MYBB_ROOT."inc/class_parser.php";
|
$parser = new postParser(); $parser_options = array( "allow_html" => 'yes',
| $parser = new postParser(); $parser_options = array( "allow_html" => 'yes',
|
Zeile 352 | Zeile 352 |
---|
while($smilie = $db->fetch_array($query)) { $smiliefind = $smilie['find'];
|
while($smilie = $db->fetch_array($query)) { $smiliefind = $smilie['find'];
|
$smilie['find'] = $db->escape_string($smilie['find']);
| $smilie['find'] = addslashes($smilie['find']);
|
eval("\$smilies .= \"".$templates->get("misc_smilies_popup_smilie")."\";"); if($e == 2) {
| eval("\$smilies .= \"".$templates->get("misc_smilies_popup_smilie")."\";"); if($e == 2) {
|