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 2224 2006-09-14 00:35:33Z chris $
| * $Id: misc.php 2702 2007-02-04 10:48:18Z 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 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 351 | Zeile 351 |
---|
$query = $db->simple_select(TABLE_PREFIX."smilies", "*", "", array('order_by' => 'disporder')); while($smilie = $db->fetch_array($query)) {
|
$query = $db->simple_select(TABLE_PREFIX."smilies", "*", "", array('order_by' => 'disporder')); while($smilie = $db->fetch_array($query)) {
|
$smiliefind = $smilie['find']; $smilie['find'] = $db->escape_string($smilie['find']);
| $smilie['insert'] = addslashes($smilie['find']); $smilie['find'] = htmlspecialchars_uni($smilie['find']);
|
eval("\$smilies .= \"".$templates->get("misc_smilies_popup_smilie")."\";"); if($e == 2) {
| eval("\$smilies .= \"".$templates->get("misc_smilies_popup_smilie")."\";"); if($e == 2) {
|
Zeile 379 | Zeile 379 |
---|
$query = $db->simple_select(TABLE_PREFIX."smilies", "*", "", array('order_by' => 'disporder')); while($smilie = $db->fetch_array($query)) {
|
$query = $db->simple_select(TABLE_PREFIX."smilies", "*", "", array('order_by' => 'disporder')); while($smilie = $db->fetch_array($query)) {
|
| $smilie['find'] = htmlspecialchars_uni($smilie['find']);
|
eval("\$smilies .= \"".$templates->get("misc_smilies_smilie")."\";"); $class = alt_trow(); }
| eval("\$smilies .= \"".$templates->get("misc_smilies_smilie")."\";"); $class = alt_trow(); }
|