###################################### # # # WoltLab Burning Board 2.3.6pl2 # # Update PHP-Version 7.x - 8.x # # (Für unmodifizierte Foren) # # # ###################################### #////////////////////////////////////# ###################################### Hinweis: Die beschriebenen Änderungen werden auf eigene Gefahr durchgeführt. Es besteht kein Anspruch auf Support und es wird keine Haftung für eventuelle Schäden übernommen. Einbauhinweise: - Mache Sicherungskopien von den zu ändernden Dateien. - Befolge die Anleitung von Oben nach Unten und überspringe, falls möglich, keinen einzigen Punkt. - Durchsuche niemals die gesamte Datei, denn die Suchstellen sollten in den Dateien in der exakt gleichen Reihenfolge vorkommen, wie sie in der Anleitung vorkommen. Sprich: Wird ein Punkt übersprungen und findet man einen Text, der der vorhergehenden Suchstelle entspricht oder ähnelt, ist diese Stelle wahrscheinlich NICHT gemeint. ############################################## # # # Zu ändernde Dateien: # # -------------------- # # /addreply.php # # /attachment.php # # /attachmentedit.php # # /board.php # # /calendar.php # # /editpost.php # # /forgotpw.php # # /formmail.php # # /global.php # # /index.php # # /login.php # # /memberslist.php # # /misc.php # # /modcp.php # # /newthread.php # # /pms.php # # /polledit.php # # /pollvote.php # # /print.php # # /profile.php # # /regimage.php # # /register.php # # /report.php # # /search.php # # /team.php # # /thread.php # # /threadrating.php # # /usercp.php # # /usergroups.php # # /acp/avatar.php # # /acp/bbcodes.php # # /acp/board.php # # /acp/database.php # # /acp/designpack.php # # /acp/global.php # # /acp/group.php # # /acp/icon.php # # /acp/index.php # # /acp/languagepack.php # # /acp/login.php # # /acp/logout.php # # /acp/memberslist.php # # /acp/misc.php # # /acp/options.php # # /acp/otherstuff.php # # /acp/profilefield.php # # /acp/ranks.php # # /acp/setup.php # # /acp/smilie.php # # /acp/style.php # # /acp/template.php # # /acp/threads.php # # /acp/users.php # # /acp/lib/admin_functions.php # # /acp/lib/class_adminsession.php # # /acp/lib/class_headers.php # # /acp/lib/class_parse.php # # /acp/lib/class_variableimport.php # # /acp/lib/class_wiw.php # # /acp/lib/functions.php # # /acp/lib/session.php # # /acp/templates/group_copy.htm # # /acp/templates/group_permissionsbit.htm # # /acp/templates/group_viewbit.htm # # /acp/templates/style_import.htm # # /acp/templates/threads_spinbit.htm # # /acp/templates/threads_spinclosebit.htm # # /acp/templates/threads_spindelbit.htm # # /acp/templates/threads_spinmovebit.htm # # /acp/templates/wordmatch_wordbit.htm # # /archive/board.php # # /archive/global.php # # # ############################################## ////////////////////////////////////////////// ############################################## ########################### suche in addreply.php nach: --------------------------- unset($message); unset($topic); unset($guestname); --------------------------- ersetze gegen: --------------------------- $message = ''; $topic = ''; $guestname = ''; --------------------------- suche: --------------------------- if ($result['postid']) { --------------------------- ersetze gegen: --------------------------- if (!empty($result['postid'])) { --------------------------- suche: --------------------------- if (!isset($iconid)) $iconid = 0; --------------------------- füge darüber ein: --------------------------- $newthread_icons = ''; $bbcode_buttons = ''; $smilies = ''; $bbcode_smilies = ''; --------------------------- suche: --------------------------- $imgsize = @getimagesize("./attachments/attachment-$attachment[attachmentid].$attachment[attachmentextension]"); --------------------------- füge darunter ein: --------------------------- if(!is_array($imgsize)) $imgsize = array(0, 0); --------------------------- suche: --------------------------- else $attachment = ''; --------------------------- ersetze gegen: --------------------------- else { $attachmentids = ''; $attachment = ''; } ########################### ############################## suche in /attachment.php nach: ------------------------------ require('./global.php'); ------------------------------ füge darunter ein: ------------------------------ if (!isset($attachmentid)) error($lang->get("LANG_GLOBAL_ERROR_FALSELINK", array('$adminmail' => $adminmail))); ############################## ################################## suche in /attachmentedit.php nach: ---------------------------------- } $pmAttachment = false; } ---------------------------------- füge darunter ein: ---------------------------------- else $boardid = 0; ---------------------------------- suche: ---------------------------------- } $idhash = ''; $pmAttachment = false; } ---------------------------------- füge darunter ein: ---------------------------------- else $postid = 0; ################################## ######################### suche in /board.php nach: ------------------------- $boardnavcache = array(); ------------------------- füge darunter ein: ------------------------- $boardbit = ''; ------------------------- suche: ------------------------- $boardvisit[$row['boardid']] = $row['lastvisit']; ------------------------- füge darüber ein: ------------------------- if(!isset($row['lastvisit'])) $row['lastvisit'] = 0; ------------------------- suche: ------------------------- if ($row['lastposttime'] > $row['lastvisit']) ------------------------- ersetze gegen: ------------------------- if (!isset($row['lastvisit']) || $row['lastposttime'] > $row['lastvisit']) ------------------------- suche: ------------------------- if ($showboardjump == 1) $boardjump = makeboardjump($boardid); ------------------------- füge darunter ein: ------------------------- else $boardjump = ''; ------------------------- suche: ------------------------- $threads['views'] = '-'; } else { ------------------------- füge darunter ein: ------------------------- if(!isset($threads['lastvisit'])) $threads['lastvisit'] = 0; ------------------------- suche: ------------------------- if ($threads['important'] == 0) eval("\$threadbit2 .= \"".$tpl->get("board_threadbit")."\";"); ------------------------- füge darüber ein: ------------------------- if(!isset($search['searchstring'])) $search['searchstring'] = ''; if(!isset($search['searchuserid'])) $search['searchuserid'] = ''; ------------------------- suche: ------------------------- if ($board['closed'] == 0) eval("\$newthread = \"".$tpl->get("board_newthread")."\";"); ------------------------- füge darunter ein: ------------------------- else $newthread = ''; ######################### ############################ suche in /calendar.php nach: ---------------------------- if (count($birthdaycache[$day])) { ---------------------------- ersetze gegen: ---------------------------- if (isset($birthdaycache[$day]) && count($birthdaycache[$day])) { ---------------------------- suche: ---------------------------- if (!$event['eventid']) ---------------------------- ersetze gegen: ---------------------------- if (empty($event['eventid'])) ---------------------------- suche: ---------------------------- $eventdate[0] = intval($eventdate[0]); $eventdate[1] = intval($eventdate[1]); $eventdate[2] = intval($eventdate[2]); ---------------------------- ersetze gegen: ---------------------------- $eventdate[0] = intval($eventdate[0]); if(isset($eventdate[1])) $eventdate[1] = intval($eventdate[1]); else $eventdate[1] = 0; if(isset($eventdate[2])) $eventdate[2] = intval($eventdate[2]); else $eventdate[2] = 0; ---------------------------- suche: ---------------------------- eval("\$tpl->output(\"".$tpl->get("calendar_viewbirthdays")."\");"); } ---------------------------- füge darüber ein: ---------------------------- if(!isset($birthdaybit)) $birthdaybit = ''; ---------------------------- suche: ---------------------------- if ($wbbuserdata['can_use_event_bbcode'] && $wbbuserdata['usewysiwyg'] != 1) $bbcode_buttons = getcodebuttons(); ---------------------------- füge darüber ein: ---------------------------- $bbcode_buttons = ''; $smilies = ''; $bbcode_smilies = ''; ---------------------------- suche: ---------------------------- if ($event['userid'] != $wbbuserdata['userid'] && ($event['public'] != 2 || $wbbuserdata['can_edit_public_event'] == 0)) access_error(); ---------------------------- ersetze gegen: ---------------------------- if (!isset($event) || ($event['userid'] != $wbbuserdata['userid'] && ($event['public'] != 2 || $wbbuserdata['can_edit_public_event'] == 0))) access_error(); ---------------------------- suche: ---------------------------- if ($wbbuserdata['can_use_event_bbcode'] && $wbbuserdata['usewysiwyg'] != 1) $bbcode_buttons = getcodebuttons(); ---------------------------- füge darüber ein: ---------------------------- $bbcode_buttons = ''; $smilies = ''; $bbcode_smilies = ''; ############################ ############################ suche in /editpost.php nach: ---------------------------- if (!$result['userid']) ---------------------------- ersetze gegen: ---------------------------- if (empty($result['userid'])) ---------------------------- suche: ---------------------------- if (!isset($iconid)) $iconid = 0; ---------------------------- füge darüber ein: ---------------------------- $newthread_icons = ''; $bbcode_buttons = ''; $smilies = ''; $bbcode_smilies = ''; ---------------------------- suche: ---------------------------- else $attachment = ''; ---------------------------- ersetze gegen: ---------------------------- else { $attachmentids = ''; $attachment = ''; } ############################ ################################ suche in /forgotpw.php nach(2x): -------------------------------- if (!$result['userid']) -------------------------------- ersetze gegen(2x): -------------------------------- if (empty($result['userid'])) ################################ ############################ suche in /formmail.php nach: ---------------------------- if (isset($_POST['send'])) { ---------------------------- füge darüber ein: ---------------------------- $subject = ''; $message = ''; ---------------------------- suche: ---------------------------- if (!$user['email']) ---------------------------- ersetze gegen: ---------------------------- if (empty($user['email'])) ---------------------------- suche: ---------------------------- if (!$user['username']) ---------------------------- ersetze gegen: ---------------------------- if (empty($user['username'])) ############################ ########################## suche in /global.php nach: -------------------------- if (!$post['postid']) -------------------------- ersetze gegen: -------------------------- if (empty($post['postid'])) -------------------------- suche: -------------------------- $thread = $db->query_first("SELECT t.*".$select." FROM bb".$n."_threads t".$join." WHERE t.threadid = '$threadid'"); -------------------------- füge darunter ein: -------------------------- if(!empty($thread) && $filename == "thread.php" && !$wbbuserdata['userid']) { $thread['lastvisit'] = 0; $thread['emailnotify'] = 0; $thread['countemails'] = 0; } -------------------------- suche: -------------------------- if (!$thread['threadid']) -------------------------- ersetze gegen: -------------------------- if (empty($thread['threadid'])) -------------------------- suche: -------------------------- if (!$poll['pollid']) -------------------------- ersetze gegen: -------------------------- if (empty($poll['pollid'])) -------------------------- suche: -------------------------- if (!$attachment['attachmentid']) -------------------------- ersetze gegen: -------------------------- if (empty($attachment['attachmentid'])) -------------------------- suche: -------------------------- if ($attachment['postid'] && !$attachment['privatemessageid']) -------------------------- ersetze gegen: -------------------------- if (!empty($attachment['postid']) && empty($attachment['privatemessageid'])) -------------------------- suche: -------------------------- elseif (!$attachment['postid'] && $attachment['privatemessageid']) -------------------------- ersetze gegen: -------------------------- elseif (empty($attachment['postid']) && !empty($attachment['privatemessageid'])) -------------------------- suche: -------------------------- if (!$board['boardid']) -------------------------- ersetze gegen: -------------------------- if (empty($board['boardid'])) -------------------------- suche: -------------------------- if (in_array(wbb_strtoupper(ENCODING), $supportedCharsets) && extension_loaded('mbstring') && version_compare($phpversion, '4.3.0') >= 0) { -------------------------- ersetze gegen: -------------------------- if (in_array(wbb_strtoupper(ENCODING), $supportedCharsets) && extension_loaded('mbstring')) { ########################## ######################### suche in /index.php nach: ------------------------- $boardvisit[$row['boardid']] = $row['lastvisit']; ------------------------- füge darüber ein: ------------------------- if(!isset($row['lastvisit'])) $row['lastvisit'] = 0; ------------------------- suche: ------------------------- if ($row['lastposttime'] > $row['lastvisit']) ------------------------- ersetze gegen: ------------------------- if (!isset($row['lastvisit']) || $row['lastposttime'] > $row['lastvisit']) ######################### ############################# suche in /login.php nach(2x): ----------------------------- !$result['userid'] ----------------------------- ersetze gegen(2x): ----------------------------- empty($result['userid']) ############################# ############################### suche in /memberslist.php nach: ------------------------------- $row_datearray = explode("-", $fieldcontent); ------------------------------- füge darunter ein: ------------------------------- if(!isset($row_datearray[1])) $row_datearray[1] = ''; if(!isset($row_datearray[2])) $row_datearray[2] = ''; ------------------------------- suche: ------------------------------- $birthday_array = explode("-", $members['birthday']); ------------------------------- füge darunter ein: ------------------------------- if(!isset($birthday_array[1])) $birthday_array[1] = ''; if(!isset($birthday_array[2])) $birthday_array[2] = ''; ------------------------------- suche: ------------------------------- $a_show = explode("|", $memberslistoptions_show); ------------------------------- füge darunter ein: ------------------------------- $pagelink = ''; ------------------------------- suche: ------------------------------- $sel_order[$order] = " selected=\"selected\" "; ------------------------------- füge darüber ein: ------------------------------- $sel_order = array('ASC' => '','DESC' => ''); ------------------------------- suche: ------------------------------- $dayfield = $_REQUEST['dayfield']; $monthfield = $_REQUEST['monthfield']; $yearfield = $_REQUEST['yearfield']; ------------------------------- ersetze gegen: ------------------------------- if(isset($_REQUEST['dayfield'])) $dayfield = $_REQUEST['dayfield']; else $dayfield = ''; if(isset($_REQUEST['monthfield'])) $monthfield = $_REQUEST['monthfield']; else $monthfield = ''; if(isset($_REQUEST['yearfield'])) $yearfield = $_REQUEST['yearfield']; else $yearfield = ''; ############################### ######################## suche in /misc.php nach: ------------------------ if ($result['id']) { ------------------------ ersetze gegen: ------------------------ if (!empty($result['id'])) { ------------------------ suche: ------------------------ if (!$user['userid']) { ------------------------ ersetze gegen: ------------------------ if (empty($user['userid'])) { ######################## ######################### suche in /modcp.php nach: ------------------------- if (is_array($_POST['postids']) && count($_POST['postids'])) ------------------------- ersetze gegen: ------------------------- if (isset($_POST['postids']) && is_array($_POST['postids']) && count($_POST['postids'])) ------------------------- suche: ------------------------- if ($pages > 1) $pagelink = makepagelink("modcp.php?action=post_del&threadid=$threadid".$SID_ARG_2ND, $page, $pages, $showpagelinks - 1); ------------------------- füge darunter ein: ------------------------- else $pagelink = ''; ------------------------- suche: ------------------------- if (is_array($_POST['postids']) && count($_POST['postids'])) $postids = implode(',', intval_array($_POST['postids'])); ------------------------- ersetze gegen: ------------------------- if (isset($_POST['postids']) && is_array($_POST['postids']) && count($_POST['postids'])) else $postids = ''; ------------------------- suche: ------------------------- if (!$newboard['boardid']) ------------------------- ersetze gegen: ------------------------- if (empty($newboard['boardid'])) ------------------------- suche: ------------------------- ".(($post['attachmentid']) ? (", attachments=attachments-1") : (""))." ------------------------- Lösche Es! ------------------------- ------------------------- suche: ------------------------- if ($pages > 1) $pagelink = makepagelink("modcp.php?action=thread_cut&threadid=$threadid".$SID_ARG_2ND, $page, $pages, $showpagelinks - 1); ------------------------- füge darunter ein: ------------------------- else $pagelink = ''; ------------------------- suche: ------------------------- list ($script, $query) = split ('[?]', $mergeurl); ------------------------- ersetze gegen: ------------------------- $array = explode('?', $mergeurl); $script = $array[0]; if(isset($array[1])) $query = $array[1]; else $query = ''; ------------------------- suche: ------------------------- list ($varname, $value) = explode('=', $val); ------------------------- ersetze gegen: ------------------------- $array = explode('=', $val); $varname = $array[0]; if(isset($array[1])) $value = $array[1]; else $value = ''; ------------------------- suche: ------------------------- !$merge_thread['threadid'] ------------------------- ersetze gegen: ------------------------- empty($merge_thread['threadid']) ------------------------- suche: ------------------------- intval($_POST['closed']) ------------------------- ersetze gegen: ------------------------- isset($_POST['closed']) ------------------------- suche: ------------------------- $lang->load('POSTINGS'); ------------------------- füge darunter ein: ------------------------- $newthread_icons = ''; $checked = ''; ------------------------- suche: ------------------------- if ($m_is_mod == 1) { ------------------------- ersetze gegen: ------------------------- $change_important = ''; $remove_redirect = ''; if ($m_is_mod == 1) { $imp_checked = array('', '', ''); ------------------------- suche: ------------------------- if ($board['prefixuse'] > 0 && checkpermissions('can_use_prefix')) { ------------------------- füge darüber ein: ------------------------- $select_prefix = ''; ------------------------- suche: ------------------------- $pollinfo['pollid'] > 0 ------------------------- ersetze gegen: ------------------------- (isset($pollinfo['pollid']) && $pollinfo['pollid'] > 0) ------------------------- suche: ------------------------- if ($_POST['send']) { ------------------------- ersetze gegen: ------------------------- if (!empty($_POST['send'])) { ######################### ############################# suche in /newthread.php nach: ----------------------------- $_REQUEST['action'] == 'announce' ----------------------------- ersetze gegen: ----------------------------- isset($_REQUEST['action']) && $_REQUEST['action'] == 'announce' ----------------------------- suche: ----------------------------- unset($message); unset($topic); unset($guestname); ----------------------------- Lösche Es! ----------------------------- ----------------------------- suche: ----------------------------- /* checkbox preselect */ ----------------------------- füge darüber ein: ----------------------------- $message = ''; $topic = ''; $guestname = ''; $preview_window = ''; $newthread_error = ''; $poll_id = 0; $checked = array('', '', '', '', '', '', ''); ----------------------------- suche: ----------------------------- $imp_checked[0] = 'checked="checked"'; ----------------------------- füge darunter ein: ----------------------------- $imp_checked[1] = ''; $imp_checked[2] = ''; ----------------------------- suche: ----------------------------- if ($_POST['parseurl'] == 1 && $allowbbcode == 1) ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['parseurl']) && $_POST['parseurl'] == 1 && $allowbbcode == 1) ----------------------------- suche: ----------------------------- if ($result['threadid']) { ----------------------------- ersetze gegen: ----------------------------- if (!empty($result['threadid'])) { ----------------------------- suche: ----------------------------- $poll_verify['threadid'] || ----------------------------- ersetze gegen: ----------------------------- !empty($poll_verify['threadid']) || ----------------------------- suche: ----------------------------- if (intval($_POST['important']) == 1 && checkmodpermissions("m_can_thread_top")) $important = 1; elseif (intval($_POST['important']) == 2 && checkmodpermissions("m_can_announce")) $important = 2; else $important = 0; ----------------------------- ersetze gegen: ----------------------------- if(isset($_POST['important'])) { if (intval($_POST['important']) == 1 && checkmodpermissions("m_can_thread_top")) $important = 1; elseif (intval($_POST['important']) == 2 && checkmodpermissions("m_can_announce")) $important = 2; else $important = 0; } else $important = 0; ----------------------------- suche: ----------------------------- if ($_POST['poll_id']) ----------------------------- ersetze gegen: ----------------------------- if ($poll_id) ----------------------------- suche: ----------------------------- '".intval($_POST['showsignature'])."' ----------------------------- ersetze gegen: ----------------------------- '".isset($_POST['showsignature'])."' ----------------------------- suche: ----------------------------- if ($_POST['emailnotify'] == 1 && $wbbuserdata['userid']) ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['emailnotify']) && $_POST['emailnotify'] == 1 && $wbbuserdata['userid']) ----------------------------- suche: ----------------------------- ($_POST['parseurl'] == 1 && $allowbbcode) ----------------------------- ersetze gegen: ----------------------------- (isset($_POST['parseurl']) && $_POST['parseurl'] == 1 && $allowbbcode) ----------------------------- suche: ----------------------------- $preview_posticon = makeimgtag($result['iconpath'], getlangvar($result['icontitle'], $lang), 0); } ----------------------------- füge darunter ein: ----------------------------- else $preview_posticon = ''; ----------------------------- suche: ----------------------------- if ($_POST['parseurl'] == 1 && !$_POST['disablebbcode']) ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['parseurl']) && $_POST['parseurl'] == 1 && empty($_POST['disablebbcode'])) ----------------------------- suche: ----------------------------- if ($_POST['emailnotify'] == 1) ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['emailnotify']) && $_POST['emailnotify'] == 1) ----------------------------- suche: ----------------------------- if ($_POST['disablesmilies'] == 1) ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['disablesmilies']) && $_POST['disablesmilies'] == 1) ----------------------------- suche: ----------------------------- if ($_POST['disablehtml'] == 1) ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['disablehtml']) && $_POST['disablehtml'] == 1) ----------------------------- suche: ----------------------------- if ($_POST['disablebbcode'] == 1) ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['disablebbcode']) && $_POST['disablebbcode'] == 1) ----------------------------- suche: ----------------------------- if ($_POST['disableimages'] == 1) ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['disableimages']) && $_POST['disableimages'] == 1) ----------------------------- suche: ----------------------------- if ($_POST['showsignature'] == 1) ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['showsignature']) && $_POST['showsignature'] == 1) ----------------------------- suche: ----------------------------- else $attachment = ''; ----------------------------- ersetze gegen: ----------------------------- else { $attachmentids = ''; $attachment = ''; } ----------------------------- suche: ----------------------------- if ($board['prefixuse'] > 0 && checkpermissions("can_use_prefix")) { ----------------------------- füge darüber ein: ----------------------------- $select_prefix = ''; ----------------------------- suche: ----------------------------- $_POST['prefix'] = htmlconverter($_POST['prefix']); ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['prefix'])) $_POST['prefix'] = htmlconverter($_POST['prefix']); else $_POST['prefix'] = ''; ############################# ####################### suche in /pms.php nach: ----------------------- else $folderid = ''; if ($folderid === 0) $folderid = ''; ----------------------- ersetze gegen: ----------------------- else $folderid = 0; ----------------------- suche: ----------------------- $d_select[365] = ''; ----------------------- füge darunter ein: ----------------------- $d_select[1000] = ''; $d_select[1500] = ''; ----------------------- suche(6x): ----------------------- {$style[imagefolder]} ----------------------- ersetze gegen(6x): ----------------------- {$style['imagefolder']} ----------------------- suche: ----------------------- if ($_POST['pmid'] && count($_POST['pmid'])) ----------------------- ersetze gegen: ----------------------- if (!empty($_POST['pmid']) && count($_POST['pmid'])) ----------------------- suche: ----------------------- if (isset($_GET['outbox'])) { ----------------------- füge darüber ein: ----------------------- if(!isset($_GET['pmid'])) $_GET['pmid'] = 0; $signature = ''; ----------------------- suche: ----------------------- if ($pm['senderid'] != $wbbuserdata['userid']) ----------------------- ersetze gegen: ----------------------- if (!isset($pm['senderid']) || $pm['senderid'] != $wbbuserdata['userid']) ----------------------- suche: ----------------------- if ($pm['recipientid'] != $wbbuserdata['userid']) ----------------------- ersetze gegen: ----------------------- if (!isset($pm['recipientid']) || $pm['recipientid'] != $wbbuserdata['userid']) ----------------------- suche: ----------------------- /* checkbox preselect */ ----------------------- füge darüber ein: ----------------------- $checked = array('', '', '', '', '', '', '', ''); ----------------------- suche: ----------------------- if (isset($_REQUEST['pmid'])) $pmid = intval($_REQUEST['pmid']); ----------------------- füge darunter ein: ----------------------- else $pmid = 0; $pm_error = ''; $boardid = 0; $recipients = ''; $recipients_bcc = ''; $subject = ''; $message = ''; ----------------------- suche: ----------------------- $result = $user_check[wbb_strtolower($recipient)]; ----------------------- ersetze gegen: ----------------------- if(isset($user_check[wbb_strtolower($recipient)])) $result = $user_check[wbb_strtolower($recipient)]; else unset($result); ----------------------- suche: ----------------------- if (!$result['userid']) ----------------------- ersetze gegen: ----------------------- if (empty($result['userid'])) ----------------------- suche: ----------------------- if ($_POST['savecopy'] == 1) { ----------------------- ersetze gegen: ----------------------- if (isset($_POST['savecopy']) && $_POST['savecopy'] == 1) { ----------------------- suche: ----------------------- if ($_POST['parseurl'] == 1) ----------------------- ersetze gegen: ----------------------- if (isset($_POST['parseurl']) && $_POST['parseurl'] == 1) ----------------------- suche: ----------------------- $_POST['savecopy'] ----------------------- ersetze gegen: ----------------------- isset($_POST['savecopy']) ----------------------- suche: ----------------------- $_POST['showsignature'] ----------------------- ersetze gegen: ----------------------- isset($_POST['showsignature']) ----------------------- suche: ----------------------- $_POST['tracking'] ----------------------- ersetze gegen: ----------------------- isset($_POST['tracking']) ----------------------- suche: ----------------------- ($_POST['parseurl'] == 1) ----------------------- ersetze gegen: ----------------------- (isset($_POST['parseurl']) && $_POST['parseurl'] == 1) ----------------------- suche: ----------------------- $preview_posticon = makeimgtag($result['iconpath'], getlangvar($result['icontitle'], $lang), 0); } ----------------------- füge darunter ein: ----------------------- else $preview_posticon = ''; ----------------------- suche: ----------------------- if ($_POST['parseurl'] == 1) ----------------------- ersetze gegen: ----------------------- if (isset($_POST['parseurl']) && $_POST['parseurl'] == 1) ----------------------- suche: ----------------------- if ($_POST['disablesmilies'] == 1) ----------------------- ersetze gegen: ----------------------- if (isset($_POST['disablesmilies']) && $_POST['disablesmilies'] == 1) ----------------------- suche: ----------------------- if ($_POST['showsignature'] == 1) ----------------------- ersetze gegen: ----------------------- if (isset($_POST['showsignature']) && $_POST['showsignature'] == 1) ----------------------- suche: ----------------------- if ($_POST['savecopy'] == 1) ----------------------- ersetze gegen: ----------------------- if (isset($_POST['savecopy']) && $_POST['savecopy'] == 1) ----------------------- suche: ----------------------- if ($_POST['tracking'] == 1) ----------------------- ersetze gegen: ----------------------- if (isset($_POST['tracking']) && $_POST['tracking'] == 1) ----------------------- suche: ----------------------- if ($_POST['disablehtml'] == 1) ----------------------- ersetze gegen: ----------------------- if (isset($_POST['disablehtml']) && $_POST['disablehtml'] == 1) ----------------------- suche: ----------------------- if ($_POST['disablebbcode'] == 1) ----------------------- ersetze gegen: ----------------------- if (isset($_POST['disablebbcode']) && $_POST['disablebbcode'] == 1) ----------------------- suche: ----------------------- if ($_POST['disableimages'] == 1) ----------------------- ersetze gegen: ----------------------- if (isset($_POST['disableimages']) && $_POST['disableimages'] == 1) ----------------------- suche: ----------------------- if ($pm['view'] == 0) { ----------------------- füge darüber ein: ----------------------- if (!isset($pm['privatemessageid'])) error($lang->get("LANG_GLOBAL_ERROR_FALSELINK", array('$adminmail' => $adminmail))); ----------------------- suche: ----------------------- if (!isset($iconid)) $iconid = 0; ----------------------- füge darüber ein: ----------------------- $pm_icons = ''; $bbcode_buttons = ''; $smilies = ''; $bbcode_smilies = ''; ----------------------- suche: ----------------------- else $attachment = ''; ----------------------- ersetze gegen: ----------------------- else { $attachmentids = ''; $attachment = ''; } ----------------------- suche(2x): ----------------------- if ($_POST['pmid'] && count($_POST['pmid'])) { ----------------------- ersetze gegen(2x): ----------------------- if (!empty($_POST['pmid']) && count($_POST['pmid'])) { ----------------------- suche: ----------------------- if (isset($_GET['action']) && $_GET['action'] == 'downloadpm') { ----------------------- füge darunter ein: ----------------------- if(!isset($_GET['pmid'])) $_GET['pmid'] = 0; ----------------------- suche: ----------------------- if (!$pm['privatemessageid']) ----------------------- ersetze gegen: ----------------------- if (!isset($pm['privatemessageid'])) ----------------------- suche: ----------------------- $mime_type = (USR_BROWSER_AGENT == 'IE' || USR_BROWSER_AGENT == 'OPERA') ? 'application/octetstream' : 'application/octet-stream'; $content_disp = (USR_BROWSER_AGENT == 'IE') ? 'inline; ' : 'attachment; '; ----------------------- ersetze gegen: ----------------------- if (preg_match("/MSIE [0-9]\.[0-9]{1,2}/", $_SERVER['HTTP_USER_AGENT'])) $browser_type = 1; // IE else if (preg_match("/Opera\/[0-9]\.[0-9]{1,2}/", $_SERVER['HTTP_USER_AGENT'])) $browser_type = 2; // Opera else $browser_type = 3; // other... if ($browser_type == 1 || $browser_type == 2) $mime_type = "application/octetstream"; else $mime_type = "application/octet-stream"; if ($browser_type == 1) $content_disp = "inline; "; else $content_disp = "attachment; "; ----------------------- suche: ----------------------- $pmid = intval($_REQUEST['pmid']); ----------------------- ersetze gegen: ----------------------- if(isset($_REQUEST['pmid'])) $pmid = intval($_REQUEST['pmid']); else $pmid = 0; ----------------------- suche: ----------------------- if ($pm['privatemessageid'] && $pm['recipientid'] == $wbbuserdata['userid']) { ----------------------- ersetze gegen: ----------------------- if (!empty($pm['privatemessageid']) && $pm['recipientid'] == $wbbuserdata['userid']) { ----------------------- suche: ----------------------- $pmid = intval($_REQUEST['pmid']); ----------------------- ersetze gegen: ----------------------- if(isset($_REQUEST['pmid'])) $pmid = intval($_REQUEST['pmid']); else $pmid = 0; ----------------------- suche: ----------------------- if ($pm['recipientid'] != $wbbuserdata['userid']) ----------------------- ersetze gegen: ----------------------- if (!isset($pm['recipientid']) || $pm['recipientid'] != $wbbuserdata['userid']) ----------------------- suche(2x): ----------------------- if ($_POST['pmid'] && count($_POST['pmid'])) ----------------------- ersetze gegen(2x): ----------------------- if (!empty($_POST['pmid']) && count($_POST['pmid'])) ####################### ############################ suche in /polledit.php nach: ---------------------------- $question = htmlconverter($question); ---------------------------- füge darunter ein: ---------------------------- $polloptions = ''; ############################ ########################### suche in pollvote.php nach: --------------------------- if (!count($_POST['polloptionid'])) --------------------------- ersetze gegen: --------------------------- if (!isset($_POST['polloptionid']) || !count($_POST['polloptionid'])) --------------------------- suche: --------------------------- if ($votecheck['pollid']) --------------------------- ersetze gegen: --------------------------- if (!isset($votecheck['pollid'])) ########################### ######################### suche in /print.php nach: ------------------------- while ($posts = $db->fetch_array($result)) { ------------------------- füge darüber ein: ------------------------- $print_postbit = ''; ######################### ########################### suche in /profile.php nach: --------------------------- $userid = intval($_GET['userid']); --------------------------- ersetze gegen: --------------------------- if(isset($_GET['userid'])) $userid = intval($_GET['userid']); else $userid = 0; --------------------------- suche: --------------------------- if (!$user_info['userid']) --------------------------- ersetze gegen: --------------------------- if (empty($user_info['userid'])) --------------------------- suche: --------------------------- elseif ($user_info['avatarextension'] != "swf") eval("\$useravatar = \"".$tpl->get("avatar_image")."\";"); } --------------------------- füge darunter ein: --------------------------- else $useravatar = ''; --------------------------- suche: --------------------------- if ($lastpost['postid']) { --------------------------- ersetze gegen: --------------------------- if (!empty($lastpost['postid'])) { ########################### ############################ suche in /regimage.php nach: ---------------------------- if (!$result['key_string']) exit; ---------------------------- ersetze gegen: ---------------------------- if (empty($result['key_string'])) exit; ---------------------------- suche: ---------------------------- imageFill($imageTemp, 0, 0, $color); ---------------------------- ersetze gegen: ---------------------------- imageFill($imageTemp, 0, 0, $background); ############################ ############################ suche in /register.php nach: ---------------------------- if (!$result['userid']) ---------------------------- ersetze gegen: ---------------------------- if (empty($result['userid'])) ---------------------------- suche: ---------------------------- if (isset($_POST['disclaimer'])) $disclaimer = $_POST['disclaimer']; ---------------------------- füge darunter ein: ---------------------------- else $disclaimer = ''; ---------------------------- suche: ---------------------------- $emailnotify = array(0 => '', 1 => ''); ---------------------------- füge darunter ein: ---------------------------- $notificationperpm = array(0 => '', 1 => ''); ---------------------------- suche: ---------------------------- $sthreadview = array(0 => '', 1 => ''); ---------------------------- füge darunter ein: ---------------------------- $usewysiwyg = array(0 => '', 1 => ''); ---------------------------- suche: ---------------------------- if (isset($_POST['r_emailnotify'])) $r_emailnotify = $_POST['r_emailnotify']; ---------------------------- füge darunter ein: ---------------------------- if (isset($_POST['r_notificationperpm'])) $r_notificationperpm = $_POST['r_notificationperpm']; ---------------------------- suche: ---------------------------- if (!$dayfield[$row['profilefieldid']] || !$monthfield[$row['profilefieldid']] || !$yearfield[$row['profilefieldid']]) { ---------------------------- ersetze gegen: ---------------------------- if (empty($dayfield[$row['profilefieldid']]) || empty($monthfield[$row['profilefieldid']]) || empty($yearfield[$row['profilefieldid']])) { ---------------------------- suche: ---------------------------- if (!$result['key_string'] || $result['key_string'] != strtoupper($key_string)) ---------------------------- ersetze gegen: ---------------------------- if (empty($result['key_string']) || $result['key_string'] != strtoupper($key_string)) ---------------------------- suche: ---------------------------- if (!count($field[$row['profilefieldid']])) { ---------------------------- ersetze gegen: ---------------------------- if (!isset($field[$row['profilefieldid']]) || !count($field[$row['profilefieldid']])) { ---------------------------- suche: ---------------------------- if ($result['users']) ---------------------------- ersetze gegen: ---------------------------- if (!empty($result['users'])) ---------------------------- suche: ---------------------------- '$rankid[rankid]' ---------------------------- ersetze gegen: ---------------------------- '".(isset($rankid['rankid']) ? $rankid['rankid'] : '')."' ---------------------------- suche: ---------------------------- $r_year = 0; ---------------------------- füge darunter ein: ---------------------------- $r_gender = 0; ---------------------------- suche: ---------------------------- $year_tmp = $yearfield[$row['profilefieldid']]; $month_tmp = $monthfield[$row['profilefieldid']]; $day_tmp = $dayfield[$row['profilefieldid']]; ---------------------------- ersetze gegen: ---------------------------- if(isset($yearfield[$row['profilefieldid']])) $year_tmp = $yearfield[$row['profilefieldid']]; else $year_tmp = ''; if(isset($monthfield[$row['profilefieldid']])) $month_tmp = $monthfield[$row['profilefieldid']]; else $month_tmp = ''; if(isset($dayfield[$row['profilefieldid']])) $day_tmp = $dayfield[$row['profilefieldid']]; else $day_tmp = ''; ############################ ########################## suche in /report.php nach: -------------------------- if ($mod['languagepackid'] == $lang->languagepackid) $userlang = $lang; -------------------------- füge darüber ein: -------------------------- if(!isset($mod)) { header("Location: thread.php?postid=$postid".$SID_ARG_2ND_UN."#post$postid"); exit(); } ########################## ############################## suche in /search.php nach(2x): ------------------------------ if ($result['searchid']) { ------------------------------ ersetze gegen(2x): ------------------------------ if (!empty($result['searchid'])) { ------------------------------ suche: ------------------------------ $userid = intval($_GET['userid']); ------------------------------ ersetze gegen: ------------------------------ if(isset($_GET['userid'])) $userid = intval($_GET['userid']); else $userid = 0; ------------------------------ suche(2x): ------------------------------ if ($result['searchid']) { ------------------------------ ersetze gegen(2x): ------------------------------ if (!empty($result['searchid'])) { ------------------------------ suche: ------------------------------ $searchid = intval($_GET['searchid']); ------------------------------ ersetze gegen: ------------------------------ if(isset($_GET['searchid'])) $searchid = intval($_GET['searchid']); else $searchid = 0; ------------------------------ suche: ------------------------------ if (!$search['searchid']) ------------------------------ ersetze gegen: ------------------------------ if (empty($search['searchid'])) ------------------------------ suche: ------------------------------ if ($pages > 1) $pagelink = makepagelink("search.php?searchid=$searchid".$SID_ARG_2ND, $page, $pages, $showpagelinks - 1); ------------------------------ füge darunter ein: ------------------------------ else $pagelink = ''; ------------------------------ suche: ------------------------------ $postids .= ",".$row[postid]; ------------------------------ ersetze gegen: ------------------------------ $postids .= ",".$row['postid']; ------------------------------ suche: ------------------------------ if ($posts['hotthread_view'] == 0) $posts['hotthread_view'] = $default_hotthread_view; ------------------------------ füge darunter ein: ------------------------------ if(!isset($posts['boardlastvisit'])) $posts['boardlastvisit'] = 0; if(!isset($posts['threadlastvisit'])) $posts['threadlastvisit'] = 0; ------------------------------ suche: ------------------------------ eval("\$postbit .= \"".$tpl->get("search_postbit")."\";"); ------------------------------ füge darüber ein: ------------------------------ if(!isset($postsign)) $postsign = ''; ------------------------------ suche: ------------------------------ if ($pages > 1) $pagelink = makepagelink("search.php?searchid=$searchid".$SID_ARG_2ND, $page, $pages, $showpagelinks - 1); ------------------------------ füge darunter ein: ------------------------------ else $pagelink = ''; ------------------------------ suche: ------------------------------ ($sortby == "f.title") ------------------------------ ersetze gegen: ------------------------------ ($sortby == "b.title") ------------------------------ suche: ------------------------------ while ($threads = $db->fetch_array($result)) { ------------------------------ füge darüber ein: ------------------------------ $threadbit = ''; ------------------------------ suche: ------------------------------ unset($firstnew); unset($multipages); unset($attachments); $prefix = ''; ------------------------------ ersetze gegen: ------------------------------ $firstnew = ''; $multipages = ''; $attachments = ''; $prefix = ''; if(!isset($threads['boardlastvisit'])) $threads['boardlastvisit'] = 0; if(!isset($threads['threadlastvisit'])) $threads['threadlastvisit'] = 0; ------------------------------ suche: ------------------------------ $searchuser = wbb_trim($_POST['searchuser']); $searchprefix = wbb_trim($_POST['searchprefix']); ------------------------------ ersetze gegen: ------------------------------ if(isset($_POST['searchuser'])) $searchuser = wbb_trim($_POST['searchuser']); else $searchuser = ''; if(isset($_POST['searchprefix'])) $searchprefix = wbb_trim($_POST['searchprefix']); else $searchprefix = ''; ------------------------------ suche: ------------------------------ $postids = ''; ------------------------------ füge darunter ein: ------------------------------ $userids = ''; $tempsearchstring = ''; ------------------------------ suche: ------------------------------ (!isset($goodwords[$val]) && !$goodwords[$val]) ------------------------------ ersetze gegen: ------------------------------ (!isset($goodwords[$val]) || !$goodwords[$val]) ------------------------------ suche: ------------------------------ if ($doublecount == 1) { ------------------------------ füge darüber ein: ------------------------------ if($addsplit == '') $addsplit = 'AND'; ------------------------------ suche: ------------------------------ if ($wordids) { ------------------------------ ersetze gegen: ------------------------------ if (!empty($wordids)) { ------------------------------ suche: ------------------------------ if (count($wordidcache[$addsplit[$i]])) { ------------------------------ ersetze gegen: ------------------------------ if (isset($wordidcache[$addsplit[$i]]) && is_array($wordidcache[$addsplit[$i]]) && count($wordidcache[$addsplit[$i]])) { ------------------------------ suche: ------------------------------ else $searchdate = "posttime<'$cutetime'"; } ------------------------------ füge darunter ein: ------------------------------ else $searchdate = ''; ------------------------------ suche: ------------------------------ if (isset($_POST['boardids']) && is_array($_POST['boardids'])) { ------------------------------ füge darüber ein: ------------------------------ $selectedids = ''; ------------------------------ suche: ------------------------------ if ($row['childlist']) $selectedids .= ",".$row['childlist']; } } } } ------------------------------ füge darunter ein: ------------------------------ else $_POST['boardids'] = array('*'); ------------------------------ suche: ------------------------------ if ($result['searchid']) { ------------------------------ ersetze gegen: ------------------------------ if (!empty($result['searchid'])) { ############################## ######################## suche in /team.php nach: ------------------------ if (!$user['userid']) continue; ------------------------ füge darunter ein: ------------------------ if(!isset($userbits[$user['groupid']])) $userbits[$user['groupid']] = ''; if(!isset($groupleaderbits[$user['groupid']])) $groupleaderbits[$user['groupid']] = ''; ------------------------ suche: ------------------------ if ($showboardjump == 1) $boardjump = makeboardjump(0); ------------------------ füge darunter ein: ------------------------ else $boardjump = ''; ######################## ########################## suche in /thread.php nach: -------------------------- if ($result['postid']) -------------------------- ersetze gegen: -------------------------- if (!empty($result['postid'])) -------------------------- suche: -------------------------- if (!$result['threadid']) -------------------------- ersetze gegen: -------------------------- if (empty($result['threadid'])) -------------------------- suche: -------------------------- $thread = $db->query_first("SELECT t.*".$select." FROM bb".$n."_threads t".$join." WHERE t.threadid = '".$this->threadid."'"); ------------------------ füge darunter ein: ------------------------ if(!$wbbuserdata['userid']) { $thread['lastvisit'] = 0; $thread['emailnotify'] = 0; $thread['countemails'] = 0; } -------------------------- suche: -------------------------- if (!$result['threadid']) -------------------------- ersetze gegen: -------------------------- if (empty($result['threadid'])) -------------------------- suche: -------------------------- $thread = $db->query_first("SELECT t.*".$select." FROM bb".$n."_threads t".$join." WHERE t.threadid = '".$this->threadid."'"); ------------------------ füge darunter ein: ------------------------ if(!$wbbuserdata['userid']) { $thread['lastvisit'] = 0; $thread['emailnotify'] = 0; $thread['countemails'] = 0; } -------------------------- suche: -------------------------- $_GET['page'] = ceil($result['posts'] / $postsperpage); -------------------------- ersetze gegen: -------------------------- if(isset($result['posts'])) $_GET['page'] = ceil($result['posts'] / $postsperpage); else $_GET['page'] = 0; -------------------------- suche: -------------------------- if ($showboardjump == 1) $boardjump = makeboardjump($boardid); -------------------------- füge darunter ein: -------------------------- else $boardjump = ''; -------------------------- suche: -------------------------- if (checkmodpermissions("m_can_edit_poll")) eval("\$mod_poll_edit = \"".$tpl->get("thread_poll_edit")."\";"); -------------------------- füge darunter ein: -------------------------- else $mod_poll_edit = ''; -------------------------- suche: -------------------------- if ($_REQUEST['preresult'] != 1 && checkpermissions("can_vote_poll") == 1 && $timeout >= time()) { -------------------------- ersetze gegen: -------------------------- if ((!isset($_REQUEST['preresult']) || $_REQUEST['preresult'] != 1) && checkpermissions("can_vote_poll") == 1 && $timeout >= time()) { -------------------------- suche: -------------------------- if ($_REQUEST['preresult'] == 1 || $votecheck['pollid'] || !checkpermissions("can_vote_poll") || $timeout < time()) { -------------------------- ersetze gegen: -------------------------- if ((isset($_REQUEST['preresult']) && $_REQUEST['preresult'] == 1) || !empty($votecheck['pollid']) || !checkpermissions("can_vote_poll") || $timeout < time()) { -------------------------- suche: -------------------------- if (count($polloptions)) { -------------------------- füge darunter ein: -------------------------- $thread_poll_resultbit = ''; -------------------------- suche: -------------------------- $result = $db->unbuffered_query("SELECT * FROM bb".$n."_polloptions WHERE pollid='$thread[pollid]' ORDER BY showorder ASC"); -------------------------- füge darüber ein: -------------------------- $thread_pollbit = ''; -------------------------- suche: -------------------------- eval("\$thread_poll = \"".$tpl->get("thread_poll")."\";"); -------------------------- füge darüber ein: -------------------------- if(!isset($page)) $page = ''; -------------------------- suche: -------------------------- if ($board['allowratings'] == 1) { -------------------------- füge darüber ein: -------------------------- $threadrating = ''; -------------------------- suche: -------------------------- else $threadrating = ''; -------------------------- Lösche Es! -------------------------- -------------------------- suche: -------------------------- if ($board['closed'] == 0) eval("\$newthread = \"".$tpl->get("board_newthread")."\";"); -------------------------- füge darüber ein: -------------------------- $newthread = ''; $addreply = ''; ########################## #################################### suche in /threadrating.php nach(2x): ------------------------------------ if (!$result[0]) ------------------------------------ ersetze gegen(2x): ------------------------------------ if (empty($result[0])) #################################### ########################## suche in /usercp.php nach: -------------------------- if (!$dayfield[$row['profilefieldid']] || !$monthfield[$row['profilefieldid']] || !$yearfield[$row['profilefieldid']]) { -------------------------- ersetze gegen: -------------------------- if (empty($dayfield[$row['profilefieldid']]) || empty($monthfield[$row['profilefieldid']]) || empty($yearfield[$row['profilefieldid']])) { -------------------------- suche: -------------------------- if (!count($field[$row['profilefieldid']])) { -------------------------- ersetze gegen: -------------------------- if (!isset($field[$row['profilefieldid']]) || !count($field[$row['profilefieldid']])) { -------------------------- suche: -------------------------- $selected_options = array(); -------------------------- füge darunter ein: -------------------------- if (!isset($field[$row['profilefieldid']])) $field[$row['profilefieldid']] = ''; -------------------------- suche: -------------------------- $year_tmp = $yearfield[$row['profilefieldid']]; $month_tmp = $monthfield[$row['profilefieldid']]; $day_tmp = $dayfield[$row['profilefieldid']]; -------------------------- ersetze gegen: -------------------------- if(isset($yearfield[$row['profilefieldid']])) $year_tmp = $yearfield[$row['profilefieldid']]; else $year_tmp = ''; if(isset($monthfield[$row['profilefieldid']])) $month_tmp = $monthfield[$row['profilefieldid']]; else $month_tmp = ''; if(isset($dayfield[$row['profilefieldid']])) $day_tmp = $dayfield[$row['profilefieldid']]; else $day_tmp = ''; -------------------------- suche: -------------------------- if ($wbbuserdata['can_use_sig_bbcode'] == 1 && $wbbuserdata['usewysiwyg'] != 1) $bbcode_buttons = getcodebuttons(); -------------------------- füge darüber ein: -------------------------- $bbcode_buttons = ''; $smilies = ''; $bbcode_smilies = ''; -------------------------- suche: -------------------------- $lang->load('REGISTER,POSTINGS'); -------------------------- füge darunter ein: -------------------------- $invisible = array(0 => '',1 => ''); $usecookies = array(0 => '',1 => ''); $admincanemail = array(0 => '',1 => ''); $showemail = array(0 => '',1 => ''); $usercanemail = array(0 => '',1 => ''); $emailnotify = array(0 => '',1 => ''); $notificationperpm = array(0 => '',1 => ''); $receivepm = array(0 => '',1 => ''); $emailonpm = array(0 => '',1 => ''); $spmpopup = array(0 => '',1 => ''); $showsignatures = array(0 => '',1 => ''); $showavatars = array(0 => '',1 => ''); $showimages = array(0 => '',1 => ''); $sdaysprune = array(0 => '',1 => '',2 => '',5 => '',10 => '',20 => '',30 => '',45 => '',60 => '',75 => '',100 => '',365 => '',1000 => '',1500 => ''); $sumaxposts = array(0 => '',5 => '',10 => '',20 => '',30 => '',40 => ''); $sthreadview = array(0 => '',1 => ''); $emailonapplication = array(0 => '',1 => ''); $usewysiwyg = array(0 => '',1 => ''); -------------------------- suche: -------------------------- str_replace(" ", "','", $wbbuserdata[buddylist]) -------------------------- ersetze gegen: -------------------------- str_replace(" ", "','", $wbbuserdata['buddylist']) -------------------------- suche: -------------------------- if (!$result['userid']) -------------------------- ersetze gegen: -------------------------- if (empty($result['userid'])) -------------------------- suche: -------------------------- if ($_GET['remove']) { -------------------------- ersetze gegen: -------------------------- if (!empty($_GET['remove'])) { -------------------------- suche: -------------------------- if ($_GET['add']) { -------------------------- ersetze gegen: -------------------------- if (!empty($_GET['add'])) { -------------------------- suche: -------------------------- if ($_GET['remove']) { -------------------------- ersetze gegen: -------------------------- if (!empty($_GET['remove'])) { -------------------------- suche: -------------------------- if ($_GET['add']) { -------------------------- ersetze gegen: -------------------------- if (!empty($_GET['add'])) { -------------------------- suche: -------------------------- if (!$result['userid']) -------------------------- ersetze gegen: -------------------------- if (empty($result['userid'])) -------------------------- suche: -------------------------- $lang->load('POSTINGS,REGISTER'); -------------------------- füge darunter ein: -------------------------- $havatar = ''; $havatarid = 0; $ownavatar_checked = ''; $page = 0; -------------------------- suche: -------------------------- if (!$result['avatarid']) -------------------------- ersetze gegen: -------------------------- if (empty($result['avatarid'])) -------------------------- suche: -------------------------- if ($oldavatar['avatarid']) { -------------------------- ersetze gegen: -------------------------- if (!empty($oldavatar['avatarid'])) { -------------------------- suche: -------------------------- $imgsize = @getimagesize("./images/avatars/avatar-".$avatarid.".".$avatar_file_extension); -------------------------- füge darunter ein: -------------------------- if(!is_array($imgsize)) $imgsize = array(0, 0); -------------------------- suche: -------------------------- if ($oldavatar['avatarid']) { -------------------------- ersetze gegen: -------------------------- if (!empty($oldavatar['avatarid'])) { -------------------------- suche: -------------------------- if ($wbbuserdata['avatarid'] == 0 || ($wbbuserdata['can_use_avatar'] == 0 && $wbbuserdata['can_upload_avatar'] == 0)) $noavatar_checked = " checked=\"checked\""; -------------------------- füge darunter ein: -------------------------- else $noavatar_checked = ''; -------------------------- suche: -------------------------- $count = 0; -------------------------- füge darunter ein: -------------------------- $avatarbit_tr = ''; -------------------------- suche: -------------------------- if ($i == 0 && !$avatarArray[$count]) -------------------------- ersetze gegen: -------------------------- if ($i == 0 && empty($avatarArray[$count])) -------------------------- suche: -------------------------- if ($pages > 1) $pagelink = makepagelink("usercp.php?action=avatars".$SID_ARG_2ND, $page, $pages, $showpagelinks - 1); -------------------------- füge darunter ein: -------------------------- else $pagelink = ''; -------------------------- suche: -------------------------- if ($ownavatar['avatarid']) { -------------------------- ersetze gegen: -------------------------- if (!empty($ownavatar['avatarid'])) { -------------------------- suche: -------------------------- $badThreadIDs = ''; -------------------------- füge darunter ein: -------------------------- $d_select = array(1 => '',2 => '',5 => '',10 => '',20 => '',30 => '',45 => '',60 => '',75 => '',100 => '',365 => '',1000 => '',1500 => ''); -------------------------- suche: -------------------------- eval("\$boardbit .= \"".$tpl->get("index_boardbit")."\";"); -------------------------- füge darüber ein: -------------------------- if(!isset($subboardbit)) $subboardbit = ''; -------------------------- suche: -------------------------- eval("\$threadbit .= \"".$tpl->get("board_threadbit")."\";"); -------------------------- füge darüber ein: -------------------------- $board['allowratings'] = ''; if(!isset($search['searchstring'])) $search['searchstring'] = ''; if(!isset($search['searchuserid'])) $search['searchuserid'] = ''; -------------------------- suche: -------------------------- $pmmaxrecipientlistsize = 10; -------------------------- füge darunter ein: -------------------------- $percent = 0; -------------------------- suche: -------------------------- if (!checkpermissions("can_enter_board", $wbbuserdata['permissions'][$row['boardid']])) $invisible = true; -------------------------- ersetze gegen: -------------------------- if (!checkpermissions("can_enter_board", (isset($wbbuserdata['permissions'][$row['boardid']]) ? $wbbuserdata['permissions'][$row['boardid']] : ''))) $invisible = true; -------------------------- suche: -------------------------- if ($ismod == 0 && ($row['closed'] == 1 || !checkpermissions('can_edit_own_post', $wbbuserdata['permissions'][$row['boardid']]))) $undeleteable = true; -------------------------- ersetze gegen: -------------------------- if ($ismod == 0 && ($row['closed'] == 1 || !checkpermissions('can_edit_own_post', (isset($wbbuserdata['permissions'][$row['boardid']]) ? $wbbuserdata['permissions'][$row['boardid']] : '')))) $undeleteable = true; -------------------------- suche: -------------------------- if (!checkpermissions("can_enter_board", $wbbuserdata['permissions'][$row['boardid']])) continue; -------------------------- ersetze gegen: -------------------------- if (!checkpermissions("can_enter_board", (isset($wbbuserdata['permissions'][$row['boardid']]) ? $wbbuserdata['permissions'][$row['boardid']] : ''))) continue; -------------------------- suche: -------------------------- if ($ismod == 0 && ($row['closed'] == 1 || !checkpermissions('can_edit_own_post', $wbbuserdata['permissions'][$row['boardid']]))) continue; -------------------------- ersetze gegen: -------------------------- if ($ismod == 0 && ($row['closed'] == 1 || !checkpermissions('can_edit_own_post', (isset($wbbuserdata['permissions'][$row['boardid']]) ? $wbbuserdata['permissions'][$row['boardid']] : '')))) continue; ########################## ############################## suche in /usergroups.php nach: ------------------------------ $groupid = $group['groupid']; ------------------------------ füge darunter ein: ------------------------------ if($groupid != $wbbuserdata['rankgroupid']) $checked[$groupid] = ''; ------------------------------ suche: ------------------------------ if (!$rankresult['rankid']) $rankresult['ranktitle'] = $lang->get("LANG_USERGROUPS_GROUPS_NORANK"); else $rankresult['ranktitle'] = getlangvar($rankresult['ranktitle'], $lang); $rankimages = formatRI($rankresult['rankimages']); ------------------------------ ersetze gegen: ------------------------------ if(isset($rankresult['rankid'])) { if (!$rankresult['rankid']) $rankresult['ranktitle'] = $lang->get("LANG_USERGROUPS_GROUPS_NORANK"); else $rankresult['ranktitle'] = getlangvar($rankresult['ranktitle'], $lang); $rankimages = formatRI($rankresult['rankimages']); } else { $rankresult['ranktitle'] = $lang->get("LANG_USERGROUPS_GROUPS_NORANK"); $rankimages = ''; } ------------------------------ suche: ------------------------------ $groupid = $group['groupid']; ------------------------------ füge darunter ein: ------------------------------ if($groupid != $wbbuserdata['useronlinegroupid']) $checked[$groupid] = ''; ------------------------------ suche: ------------------------------ if (!$check['applicationid']) { ------------------------------ ersetze gegen: ------------------------------ if (empty($check['applicationid'])) { ------------------------------ suche: ------------------------------ '".intval($_POST['notifyperemail'])."' ------------------------------ ersetze gegen: ------------------------------ '".isset($_POST['notifyperemail'])."' ------------------------------ suche: ------------------------------ if (!$application['applicationid']) { ------------------------------ ersetze gegen: ------------------------------ if (empty($application['applicationid'])) { ------------------------------ suche: ------------------------------ notifyperemail='".intval($_POST['notifyperemail'])."' ------------------------------ ersetze gegen: ------------------------------ notifyperemail='".isset($_POST['notifyperemail'])."' ------------------------------ suche: ------------------------------ if (!$application['applicationid']) { ------------------------------ ersetze gegen: ------------------------------ if (empty($application['applicationid'])) { ------------------------------ suche: ------------------------------ if (!$check['userid']) ------------------------------ ersetze gegen: ------------------------------ if (empty($check['userid'])) ------------------------------ suche: ------------------------------ if (is_array($_POST['applicationids'])) ------------------------------ ersetze gegen: ------------------------------ if (isset($_POST['applicationids']) && is_array($_POST['applicationids'])) ------------------------------ suche: ------------------------------ if (!$check['userid']) ------------------------------ ersetze gegen: ------------------------------ if (empty($check['userid'])) ------------------------------ suche: ------------------------------ if ($pages > 1) $pagelink = makepagelink("usergroups.php?action=memberlist&groupid=$groupid".$SID_ARG_2ND, $page, $pages, $showpagelinks - 1); ------------------------------ füge darunter ein: ------------------------------ else $pagelink = ''; ------------------------------ suche: ------------------------------ if (!$check['userid']) ------------------------------ ersetze gegen: ------------------------------ if (empty($check['userid'])) ------------------------------ suche: ------------------------------ if (is_array($_POST['userids'])) { ------------------------------ ersetze gegen: ------------------------------ if (isset($_POST['userids']) && is_array($_POST['userids'])) { ################################## ############################## suche in /acp/avatar.php nach: ------------------------------ else $sortby = 0; ------------------------------ ersetze gegen: ------------------------------ else { $_REQUEST['sortby'] = 0; $sortby = 0; } ------------------------------ suche: ------------------------------ $pages = ceil($avatarcount / $avatarsperpage); ------------------------------ füge darunter ein: ------------------------------ $avatar_viewbit = ''; ------------------------------ suche: ------------------------------ if ($pages > 1) $pagelink = makePageLink("avatar.php?action=view&sid=$session[hash]&sortby=$sortby&orderby=$orderby", $page, $pages, 2); ------------------------------ füge darunter ein: ------------------------------ else $pagelink = ''; ------------------------------ suche: ------------------------------ checkAdminPermissions('a_can_avatars_add', 1); ------------------------------ füge darunter ein: ------------------------------ $avatar_error = ''; ------------------------------ suche: ------------------------------ $imagesize = @getimagesize("./../images/avatars/avatar-".$avatarid.".".$avatar_extension); ------------------------------ füge darunter ein: ------------------------------ if(!is_array($imagesize)) $imagesize = array(0, 0); ------------------------------ suche: ------------------------------ if ($row['avatarextension'] == "swf") ------------------------------ ersetze gegen: ------------------------------ if ($avatar['avatarextension'] == "swf") ------------------------------ suche: ------------------------------ $avatar = $db->query_first("SELECT avatarid, avatarname, avatarextension, width, height, groupid, needposts FROM bb".$n."_avatars WHERE avatarid = '".$avatarid."'"); ------------------------------ füge darunter ein: ------------------------------ if(empty($avatar['avatarid'])) { header("Location: avatar.php?action=view&sid=$session[hash]"); exit(); } ------------------------------ suche: ------------------------------ if ($row['avatarextension'] == "swf") ------------------------------ ersetze gegen: ------------------------------ if ($avatar['avatarextension'] == "swf") ------------------------------ suche: ------------------------------ $avatar = $db->query_first("SELECT avatarid, avatarname, avatarextension, width, height, userid FROM bb".$n."_avatars WHERE avatarid = '".$avatarid."'"); ------------------------------ füge darunter ein: ------------------------------ if(empty($avatar['avatarid'])) { header("Location: avatar.php?action=view&sid=$session[hash]"); exit(); } ------------------------------ suche: ------------------------------ $imagesize = @getimagesize("$avatarfolder/$file"); ------------------------------ füge darunter ein: ------------------------------ if(!is_array($imagesize)) $imagesize = array(0, 0); ############################## ############################### suche in /acp/bbcodes.php nach: ------------------------------- $count = ''; ------------------------------- ersetze gegen: ------------------------------- $count = 0; ------------------------------- suche: ------------------------------- $bbcodeid = intval($_REQUEST['bbcodeid']); ------------------------------- ersetze gegen: ------------------------------- if(isset($_REQUEST['bbcodeid'])) $bbcodeid = intval($_REQUEST['bbcodeid']); else $bbcodeid = 0; $sel_params = array('', '', ''); $sel_eval_replacement = array('', ''); ------------------------------- suche: ------------------------------- $bbcode = $db->query_first("SELECT * FROM bb".$n."_bbcodes WHERE bbcodeid='$bbcodeid'"); ------------------------------- füge darunter ein: ------------------------------- if(empty($bbcode['bbcodeid'])) { header("Location: bbcodes.php?action=view&sid=$session[hash]"); exit(); } ------------------------------- suche: ------------------------------- $bbcodeid = intval($_REQUEST['bbcodeid']); ------------------------------- ersetze gegen: ------------------------------- if(isset($_REQUEST['bbcodeid'])) $bbcodeid = intval($_REQUEST['bbcodeid']); else $bbcodeid = 0; ------------------------------- suche: ------------------------------- $bbcode = $db->query_first("SELECT bbcodetag FROM bb".$n."_bbcodes WHERE bbcodeid='$bbcodeid'"); ------------------------------- füge darunter ein: ------------------------------- if(!isset($bbcode)) { header("Location: bbcodes.php?action=view&sid=$session[hash]"); exit(); } ############################### ############################# suche in /acp/board.php nach: ----------------------------- if (!isset($boardcache[$boardid])) return; ----------------------------- füge darunter ein: ----------------------------- $out = ''; ----------------------------- suche: ----------------------------- unset($options); ----------------------------- ersetze gegen: ----------------------------- $options = ''; ----------------------------- suche: ----------------------------- $tree .= makeboardtree($boards['boardid'], $x + 1, $permissioncache[$boards['boardid']], $accesscache[$boards['boardid']]); ----------------------------- ersetze gegen: ----------------------------- $tree .= makeboardtree($boards['boardid'], $x + 1, (isset($permissioncache[$boards['boardid']]) ? $permissioncache[$boards['boardid']] : array()), (isset($accesscache[$boards['boardid']]) ? $accesscache[$boards['boardid']] : array())); ----------------------------- suche: ----------------------------- $tree = makeboardtree(0); ----------------------------- füge darüber ein: ----------------------------- $boardlist = ''; ----------------------------- suche: ----------------------------- if (!isset($boardcache[$boardid])) return; ----------------------------- füge darunter ein: ----------------------------- $out = ''; ----------------------------- suche: ----------------------------- $parentid = intval($parentid); ----------------------------- ersetze gegen: ----------------------------- if(isset($parentid)) $parentid = intval($parentid); else $parentid = 0; ----------------------------- suche: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && !$modpermissions[$parentid]) ----------------------------- ersetze gegen: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && empty($modpermissions[$parentid])) ----------------------------- suche: ----------------------------- $parentlist = $result['parentlist'].",".$parentid; ----------------------------- ersetze gegen: ----------------------------- if(isset($result['parentlist'])) $parentlist = $result['parentlist'].",".$parentid; else $parentlist = "0"; ----------------------------- suche: ----------------------------- if (count($boardcache)) { ----------------------------- ersetze gegen: ----------------------------- if (isset($boardcache) && is_countable($boardcache) && count($boardcache)) { ----------------------------- suche: ----------------------------- $boardid = intval($_REQUEST['boardid']); ----------------------------- ersetze gegen: ----------------------------- if(isset($_REQUEST['boardid'])) $boardid = intval($_REQUEST['boardid']); else $boardid = 0; ----------------------------- suche: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && !$modpermissions[$boardid]) ----------------------------- ersetze gegen: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && empty($modpermissions[$boardid])) ----------------------------- suche: ----------------------------- $board = $db->query_first("SELECT * FROM bb".$n."_boards WHERE boardid = '$boardid'"); ----------------------------- füge darüber ein: ----------------------------- $sel_isboard = array(0 => '',1 => ''); $sel_closed = array(0 => '',1 => ''); $sel_invisible = array(0 => '',1 => '',2 => ''); $sel_showinarchive = array(0 => '',1 => ''); $sel_daysprune = array(0 => '',1 => '',2 => '',5 => '',10 => '',20 => '',30 => '',45 => '',60 => '',75 => '',100 => '',365 => '',1000 => '',1500 => ''); $sel_postorder = array(0 => '',1 => ''); $sel_countuserposts = array(0 => '', 1 => ''); $sel_moderatenewthreads = array(0 => '',1 => ''); $sel_moderatenewposts = array(0 => '',1 => ''); $sel_enforcestyle = array(0 => '', 1 => ''); $sel_allowratings = array(0 => '', 1 => ''); $sel_prefixuse = array(0 => '', 1 => '',2 => '',3 => ''); $sel_prefixrequired = array(0 => '', 1 => ''); $sel_threadtemplateuse = array(0 => '', 1 => '',2 => ''); $sel_posttemplateuse = array(0 => '', 1 => '',2 => ''); $sel_sortfield = array('prefix' => '','topic' => '','starttime' => '','replycount' => '','starter' => '','views' => '','vote' => '','lastposttime' => '','lastposter' => ''); $sel_sortorder = array('ASC' => '','DESC' => ''); ----------------------------- suche: ----------------------------- $board = $db->query_first("SELECT * FROM bb".$n."_boards WHERE boardid = '$boardid'"); ----------------------------- füge darunter ein: ----------------------------- if(empty($board['boardid'])) { header("Location: board.php?action=view&sid=$session[hash]"); exit(); } ----------------------------- suche: ----------------------------- if ($parentlist != "0") updateBoardInfo("$parentlist", $board['lastposttime']); } ----------------------------- füge darunter ein: ----------------------------- else $parentchange = ''; ----------------------------- suche: ----------------------------- $sel_allowbbcode[$board['allowbbcode']] = " selected=\"selected\""; $sel_allowimages[$board['allowimages']] = " selected=\"selected\""; $sel_allowhtml[$board['allowhtml']] = " selected=\"selected\""; $sel_allowsmilies[$board['allowsmilies']] = " selected=\"selected\""; $sel_allowicons[$board['allowicons']] = " selected=\"selected\""; ----------------------------- Lösche Es! ----------------------------- ----------------------------- suche: ----------------------------- if (count($boardcache)) { ----------------------------- ersetze gegen: ----------------------------- if (isset($boardcache) && is_countable($boardcache) && count($boardcache)) { ----------------------------- suche: ----------------------------- $boardid = intval($_REQUEST['boardid']); ----------------------------- ersetze gegen: ----------------------------- if(isset($_REQUEST['boardid'])) $boardid = intval($_REQUEST['boardid']); else $boardid = 0; ----------------------------- suche: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && !$modpermissions[$boardid]) ----------------------------- ersetze gegen: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && empty($modpermissions[$boardid])) ----------------------------- suche: ----------------------------- $boardid = intval($_REQUEST['boardid']); ----------------------------- ersetze gegen: ----------------------------- if(isset($_REQUEST['boardid'])) $boardid = intval($_REQUEST['boardid']); else $boardid = 0; ----------------------------- suche: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && !$modpermissions[$boardid]) ----------------------------- ersetze gegen: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && empty($modpermissions[$boardid])) ----------------------------- suche: ----------------------------- $boardid = intval($_REQUEST['boardid']); ----------------------------- ersetze gegen: ----------------------------- if(isset($_REQUEST['boardid'])) $boardid = intval($_REQUEST['boardid']); else $boardid = 0; ----------------------------- suche: ----------------------------- if (!checkAdminPermissions("a_can_boards_global") && !$modpermissions[$boardid]) ----------------------------- ersetze gegen: ----------------------------- if (!checkAdminPermissions("a_can_boards_global") && empty($modpermissions[$boardid])) ----------------------------- suche: ----------------------------- $boardid = intval($_REQUEST['boardid']); ----------------------------- ersetze gegen: ----------------------------- if(isset($_REQUEST['boardid'])) $boardid = intval($_REQUEST['boardid']); else $boardid = 0; ----------------------------- suche: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && !$modpermissions[$boardid]) ----------------------------- ersetze gegen: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && empty($modpermissions[$boardid])) ----------------------------- suche: ----------------------------- $groups_options = ''; ----------------------------- ersetze gegen: ----------------------------- $group_options = ''; ----------------------------- suche: ----------------------------- ($row['boardid'] ? 'red' : '') ----------------------------- ersetze gegen: ----------------------------- (!empty($row['boardid']) ? 'red' : '') ----------------------------- suche: ----------------------------- $selected = array(); ----------------------------- ersetze gegen: ----------------------------- $selected = array('', '', ''); ----------------------------- suche: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && !$modpermissions[$boardid]) ----------------------------- ersetze gegen: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && empty($modpermissions[$boardid])) ----------------------------- suche: ----------------------------- $rightbit = ''; ----------------------------- füge darunter ein: ----------------------------- $selected = array('', '', ''); ----------------------------- suche(2x): ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && !$modpermissions[$boardid]) ----------------------------- ersetze gegen(2x): ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && empty($modpermissions[$boardid])) ----------------------------- suche: ----------------------------- $moderator = $db->query_first("SELECT m.*, u.username FROM bb".$n."_moderators m LEFT JOIN bb".$n."_users u USING(userid) WHERE m.boardid = '".$boardid."' AND m.userid='".$userid."'"); ----------------------------- füge darunter ein: ----------------------------- if(empty($moderator['userid'])) { header("Location: board.php?action=viewmoderator?boardid=$boardid&sid=$session[hash]"); exit(); } ----------------------------- suche: ----------------------------- $selected = array(); ----------------------------- ersetze gegen: ----------------------------- $selected = array("", "", ""); ----------------------------- suche: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && !$modpermissions[$boardid]) ----------------------------- ersetze gegen: ----------------------------- if (!checkAdminPermissions('a_can_boards_global') && empty($modpermissions[$boardid])) ----------------------------- suche: ----------------------------- $moderator = $db->query_first("SELECT m.*, u.username, b.title FROM bb".$n."_moderators m LEFT JOIN bb".$n."_users u USING(userid) LEFT JOIN bb".$n."_boards b ON(m.boardid=b.boardid) WHERE m.boardid = '".$boardid."' AND m.userid='".$userid."'"); ----------------------------- füge darunter ein: ----------------------------- if(empty($moderator['userid'])) { header("Location: board.php?action=viewmoderator?boardid=$boardid&sid=$session[hash]"); exit(); } ############################# ################################ suche in /acp/database.php nach: -------------------------------- ($_REQUEST['use_gz'] && function_exists("gzopen")) -------------------------------- ersetze gegen: -------------------------------- (!empty($_REQUEST['use_gz']) && function_exists("gzopen")) -------------------------------- suche: -------------------------------- if ($_POST['download'] == 2) { if (count($_POST['tables'])) { -------------------------------- ersetze gegen: -------------------------------- if (isset($_POST['download']) && $_POST['download'] == 2) { if (isset($_POST['tables']) && count($_POST['tables'])) { -------------------------------- suche: -------------------------------- if ($_POST['structure'] == 0) -------------------------------- ersetze gegen: -------------------------------- if (isset($_POST['structure']) && $_POST['structure'] == 0) -------------------------------- suche: -------------------------------- if ($_POST['drop_table'] == 1) -------------------------------- ersetze gegen: -------------------------------- if (isset($_POST['drop_table']) && $_POST['drop_table'] == 1) -------------------------------- suche: -------------------------------- if ($_POST['use_gz'] == 1) -------------------------------- ersetze gegen: -------------------------------- if (isset($_POST['use_gz']) && $_POST['use_gz'] == 1) -------------------------------- suche: -------------------------------- if (!$_POST['tables'] || !count($_POST['tables'])) -------------------------------- ersetze gegen: -------------------------------- if (empty($_POST['tables']) || !count($_POST['tables'])) -------------------------------- suche: -------------------------------- if ($_POST['structure'] == 1) { -------------------------------- ersetze gegen: -------------------------------- if (isset($_POST['structure']) && $_POST['structure'] == 1) { -------------------------------- suche: -------------------------------- elseif ($_POST['delete_all'] == 1) -------------------------------- ersetze gegen: -------------------------------- elseif (isset($_POST['delete_all']) && $_POST['delete_all'] == 1) -------------------------------- suche: -------------------------------- if ($_POST['download'] == 1) { -------------------------------- ersetze gegen: -------------------------------- if (isset($_POST['download']) && $_POST['download'] == 1) { -------------------------------- suche: -------------------------------- $result = mysql_list_tables($sqldb); -------------------------------- ersetze gegen: -------------------------------- $result = $db->query("SHOW TABLES FROM $sqldb"); -------------------------------- suche: -------------------------------- elseif ($_POST['query']) -------------------------------- ersetze gegen: -------------------------------- elseif (!empty($_POST['query'])) -------------------------------- suche: -------------------------------- elseif ($_POST['filename'] && file_exists($_POST['filename'])) { -------------------------------- ersetze gegen: -------------------------------- elseif (!empty($_POST['filename']) && file_exists($_POST['filename'])) { -------------------------------- suche: -------------------------------- if (!$_POST['tables'] || !count($_POST['tables'])) -------------------------------- ersetze gegen: -------------------------------- if (empty($_POST['tables']) || !count($_POST['tables'])) -------------------------------- suche: -------------------------------- if ($_POST['what'] == 1) -------------------------------- ersetze gegen: -------------------------------- if (isset($_POST['what']) && $_POST['what'] == 1) -------------------------------- suche: -------------------------------- elseif ($_POST['what'] == 2) -------------------------------- ersetze gegen: -------------------------------- elseif (isset($_POST['what']) && $_POST['what'] == 2) ################################ ################################## suche in /acp/designpack.php nach: ---------------------------------- header("Location: designpack.php?action=view&sid=$session[hash]"); exit(); } ---------------------------------- füge darunter ein: ---------------------------------- else { $designpackid = 0; $designpackname = ''; $result1 = $db->query("SELECT designpackid FROM bb".$n."_designpacks ORDER BY designpackid DESC LIMIT 1"); $row1 = $db->fetch_array($result1); $design = array(); if(isset($row1)) { $result2 = $db->query("SELECT element FROM bb".$n."_designelements WHERE designpackid='".$row1['designpackid']."'"); while ($row2 = $db->fetch_array($result2)) $design[$row2['element']] = ''; } else { $design['pagebgcolor'] =''; $design['fontcolor'] =''; $design['fontfamily'] =''; $design['bodymore'] =''; $design['tableoutbordercolor'] =''; $design['mainbgcolor'] =''; $design['tableoutwidth'] =''; $design['tableoutborder'] =''; $design['tableoutcellspacing'] =''; $design['tableoutcellpadding'] =''; $design['tableinbordercolor'] =''; $design['tableinwidth'] =''; $design['tableinborder'] =''; $design['tableincellspacing'] =''; $design['tableincellpadding'] =''; $design['tabletitlebgcolor'] =''; $design['tabletitlefontcolor'] =''; $design['tabletitlemore'] =''; $design['tablecatbgcolor'] =''; $design['tablecatfontcolor'] =''; $design['tablecatmore'] =''; $design['tableabgcolor'] =''; $design['tableafontcolor'] =''; $design['tableamore'] =''; $design['tablebbgcolor'] =''; $design['tablebfontcolor'] =''; $design['tablebmore'] =''; $design['inposttablebgcolor'] =''; $design['inposttablemore'] =''; $design['normalfontface'] =''; $design['normalfontsize'] =''; $design['normalfontcolor'] =''; $design['normalfontmore'] =''; $design['smallfontface'] =''; $design['smallfontsize'] =''; $design['smallfontcolor'] =''; $design['smallfontmore'] =''; $design['highlightfontcolor'] =''; $design['highlightfontweight'] =''; $design['highlightdeco'] =''; $design['highlightmore'] =''; $design['prefixfontcolor'] =''; $design['prefixfontweight'] =''; $design['prefixdeco'] =''; $design['prefixmore'] =''; $design['timefontcolor'] =''; $design['timefontweight'] =''; $design['timedeco'] =''; $design['timemore'] =''; $design['publiceventfontcolor'] =''; $design['publiceventmore'] =''; $design['privateeventfontcolor'] =''; $design['privateeventmore'] =''; $design['selectbgcolor'] =''; $design['selectfontcolor'] =''; $design['selectfontsize'] =''; $design['selectfontface'] =''; $design['selectmore'] =''; $design['textareabgcolor'] =''; $design['textareafontcolor'] =''; $design['textareafontsize'] =''; $design['textareafontface'] =''; $design['textareamore'] =''; $design['inputbgcolor'] =''; $design['inputfontcolor'] =''; $design['inputfontsize'] =''; $design['inputfontface'] =''; $design['inputmore'] =''; $design['gradientleft'] =''; $design['gradientmiddle'] =''; $design['gradientright'] =''; $design['imagefolder'] =''; $design['logoimage'] =''; $design['logobackground'] =''; $design['pagelinkcolor'] =''; $design['pagelinkdeco'] =''; $design['pagelinkmore'] =''; $design['pagelinkhovercolor'] =''; $design['pagelinkhoverdeco'] =''; $design['pagelinkhovermore'] =''; $design['tabletitlelinkcolor'] =''; $design['tabletitlelinkdeco'] =''; $design['tabletitlelinkmore'] =''; $design['tabletitlelinkhovercolor'] =''; $design['tabletitlelinkhoverdeco'] =''; $design['tabletitlelinkhovermore'] =''; $design['tablecatlinkcolor'] =''; $design['tablecatlinkdeco'] =''; $design['tablecatlinkmore'] =''; $design['tablecatlinkhovercolor'] =''; $design['tablecatlinkhoverdeco'] =''; $design['tablecatlinkhovermore'] =''; $design['tablealinkcolor'] =''; $design['tablealinkdeco'] =''; $design['tablealinkmore'] =''; $design['tablealinkhovercolor'] =''; $design['tablealinkhoverdeco'] =''; $design['tablealinkhovermore'] =''; $design['tableblinkcolor'] =''; $design['tableblinkdeco'] =''; $design['tableblinkmore'] =''; $design['tableblinkhovercolor'] =''; $design['tableblinkhoverdeco'] =''; $design['tableblinkhovermore'] =''; $design['cssmore'] =''; } } ################################## ############################## suche in /acp/global.php nach: ------------------------------ if ($_GET['sid'] || $_POST['sid']) { ------------------------------ ersetze gegen: ------------------------------ if (!empty($_GET['sid']) || !empty($_POST['sid'])) { ------------------------------ suche: ------------------------------ if ($_GET['sid']) $adminsession_error = $adminsession->update($_GET['sid'], $REMOTE_ADDR, $HTTP_USER_AGENT); else $adminsession_error = $adminsession->update($_POST['sid'], $REMOTE_ADDR, $HTTP_USER_AGENT); ------------------------------ ersetze gegen: ------------------------------ if (!empty($_GET['sid'])) $adminsession_error = $adminsession->update($REMOTE_ADDR, $HTTP_USER_AGENT, $_GET['sid']); else $adminsession_error = $adminsession->update($REMOTE_ADDR, $HTTP_USER_AGENT, $_POST['sid']); ------------------------------ suche: ------------------------------ $session['hash'] = $adminsession->hash; } ------------------------------ füge darunter ein: ------------------------------ else $adminsession_error = 0; ------------------------------ suche: ------------------------------ if (!$wbbuserdata['dateformat']) $wbbuserdata['dateformat'] = $dateformat; if (!$wbbuserdata['timeformat']) $wbbuserdata['timeformat'] = $timeformat; ------------------------------ ersetze gegen: ------------------------------ if (empty($wbbuserdata['dateformat'])) $wbbuserdata['dateformat'] = $dateformat; if (empty($wbbuserdata['timeformat'])) $wbbuserdata['timeformat'] = $timeformat; ------------------------------ suche: ------------------------------ if (!$wbbuserdata['userid']) { ------------------------------ ersetze gegen: ------------------------------ if (empty($wbbuserdata['userid'])) { ------------------------------ suche: ------------------------------ if (!WBB_ACP_LOGIN && !$wbbuserdata['a_can_use_acp']) ------------------------------ ersetze gegen: ------------------------------ if (!WBB_ACP_LOGIN && empty($wbbuserdata['a_can_use_acp'])) ------------------------------ suche: ------------------------------ if (isSet($_REQUEST['acpmode']) && $wbbuserdata['acpmode'] != intval($_REQUEST['acpmode'])) { ------------------------------ ersetze gegen: ------------------------------ if (isSet($_REQUEST['acpmode']) && (!isset($wbbuserdata['acpmode']) || $wbbuserdata['acpmode'] != intval($_REQUEST['acpmode']))) { ------------------------------ suche: ------------------------------ if ($wbbuserdata['acppersonalmenu'] == 1 && isSet($_REQUEST['countmenuitemgroupid'])) { ------------------------------ ersetze gegen: ------------------------------ if (isset($wbbuserdata['acppersonalmenu']) && $wbbuserdata['acppersonalmenu'] == 1 && isSet($_REQUEST['countmenuitemgroupid'])) { ------------------------------ suche: ------------------------------ if ($wbbuserdata['acppersonalmenu'] == 1 && isSet($_REQUEST['countmenuitemid'])) { ------------------------------ ersetze gegen: ------------------------------ if (isset($wbbuserdata['acppersonalmenu']) && $wbbuserdata['acppersonalmenu'] == 1 && isSet($_REQUEST['countmenuitemid'])) { ############################## ############################# suche in /acp/group.php nach: ----------------------------- $groupid = intval($_REQUEST['groupid']); ----------------------------- ersetze gegen: ----------------------------- if(isset($_REQUEST['groupid'])) $groupid = intval($_REQUEST['groupid']); else $groupid = 0; ----------------------------- suche: ----------------------------- if (!$group['groupid']) { ----------------------------- ersetze gegen: ----------------------------- if (empty($group['groupid'])) { ----------------------------- suche: ----------------------------- if ($result[0]) { ----------------------------- ersetze gegen: ----------------------------- if (!empty($result[0])) { ----------------------------- suche: ----------------------------- if (is_array($_POST['groupleaders']) && count($_POST['groupleaders'])) { ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['groupleaders']) && is_array($_POST['groupleaders']) && count($_POST['groupleaders'])) { ----------------------------- suche: ----------------------------- $groupid = intval($_REQUEST['groupid']); ----------------------------- ersetze gegen: ----------------------------- if(isset($_REQUEST['groupid'])) $groupid = intval($_REQUEST['groupid']); else $groupid = 0; ----------------------------- suche: ----------------------------- if (!$group['groupid']) { ----------------------------- ersetze gegen: ----------------------------- if (empty($group['groupid'])) { ----------------------------- suche: ----------------------------- , showonteam='".intval($_POST['showonteam'])."' ----------------------------- ersetze gegen: ----------------------------- ".(($group['grouptype'] > 4) ? (", showonteam='".intval($_POST['showonteam'])."'") : (""))." ----------------------------- suche: ----------------------------- if (is_array($_POST['groupleaders'])) { ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['groupleaders']) && is_array($_POST['groupleaders'])) { ----------------------------- suche: ----------------------------- $selected = array("", "", "", "", "", "", ""); ----------------------------- ersetze gegen: ----------------------------- $selected = array("", "", "", "", "", "", "", ""); ----------------------------- suche: ----------------------------- if ($group['grouptype'] < 5) $grouptypedisabled = " disabled=\"disabled\""; ----------------------------- füge darunter ein: ----------------------------- else $grouptypedisabled = ''; ----------------------------- suche: ----------------------------- if (!$group['groupid']) { ----------------------------- ersetze gegen: ----------------------------- if (empty($group['groupid'])) { ----------------------------- suche: ----------------------------- function makevariablelist($variablegroupid, $level = 0) { global $variablegroupcache, $valuecache, $maxcolspan, $lang, $tpl; ----------------------------- füge darunter ein: ----------------------------- $variablelist = ''; ----------------------------- suche: ----------------------------- if (is_array($variablegroupcache[$variablegroupid])) { ----------------------------- ersetze gegen: ----------------------------- if (isset($variablegroupcache[$variablegroupid]) && is_array($variablegroupcache[$variablegroupid])) { ----------------------------- suche: ----------------------------- if (is_array($valuecache[$val['variablegroupid']])) { ----------------------------- ersetze gegen: ----------------------------- if (isset($valuecache[$val['variablegroupid']]) && is_array($valuecache[$val['variablegroupid']])) { ----------------------------- suche: ----------------------------- if ($level == 0 && is_array($valuecache[$variablegroupid])) { ----------------------------- ersetze gegen: ----------------------------- if ($level == 0 && isset($valuecache[$variablegroupid]) && is_array($valuecache[$variablegroupid])) { ----------------------------- suche: ----------------------------- $groupid = intval($_REQUEST['groupid']); ----------------------------- ersetze gegen: ----------------------------- if(isset($_REQUEST['groupid'])) $groupid = intval($_REQUEST['groupid']); else $groupid = 0; ----------------------------- suche: ----------------------------- if (!$group['groupid']) { ----------------------------- ersetze gegen: ----------------------------- if (empty($group['groupid'])) { ----------------------------- suche: ----------------------------- $username = wbb_trim($_POST['username']); ----------------------------- ersetze gegen: ----------------------------- if(isset($_POST['username'])) $username = wbb_trim($_POST['username']); else $username = ''; ----------------------------- suche: ----------------------------- if (is_array($_POST['securitylevels']) && count($_POST['securitylevels'])) { ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['securitylevels']) && is_array($_POST['securitylevels']) && count($_POST['securitylevels'])) { ----------------------------- suche: ----------------------------- if (is_array($variablegroupcache[$variablegroupid])) { ----------------------------- ersetze gegen: ----------------------------- if (isset($variablegroupcache[$variablegroupid]) && is_array($variablegroupcache[$variablegroupid])) { ----------------------------- suche: ----------------------------- if (!isset($boardcache[$boardid])) return; ----------------------------- füge darunter ein: ----------------------------- $out = ''; ----------------------------- suche: ----------------------------- $boardpermissionIncomplete = $permissioncache[$boards['boardid']]['boardpermissionIncomplete']; ----------------------------- ersetze gegen: ----------------------------- if(isset($permissioncache[$boards['boardid']]['boardpermissionIncomplete'])) $boardpermissionIncomplete = $permissioncache[$boards['boardid']]['boardpermissionIncomplete']; else $boardpermissionIncomplete = ''; ----------------------------- suche: ----------------------------- $groupid = intval($_REQUEST['groupid']); ----------------------------- ersetze gegen: ----------------------------- if(isset($_REQUEST['groupid'])) $groupid = intval($_REQUEST['groupid']); else $groupid = 0; ----------------------------- suche: ----------------------------- if (!$group['groupid']) { ----------------------------- ersetze gegen: ----------------------------- if (empty($group['groupid'])) { ----------------------------- suche: ----------------------------- if (!$group['groupid']) { ----------------------------- ersetze gegen: ----------------------------- if (empty($group['groupid'])) { ----------------------------- suche: ----------------------------- $checked = array(); ----------------------------- ersetze gegen: ----------------------------- $checked = array('', '', '', '', '', '', ''); ----------------------------- suche: ----------------------------- if ($_POST['parseurl'] == 1) ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['parseurl']) && $_POST['parseurl'] == 1) ############################# ############################ suche in /acp/icon.php nach: ---------------------------- $count = ''; ---------------------------- ersetze gegen: ---------------------------- $count = 0; ---------------------------- suche: ---------------------------- $result2['value'] ---------------------------- ersetze gegen: ---------------------------- (isset($result2['value']) ? $result2['value'] : '') ---------------------------- suche: ---------------------------- if ($_POST['send'] == 'send') { ---------------------------- ersetze gegen: ---------------------------- if(isset($_POST['iconid'])) $_POST['iconid'] = intval($_POST['iconid']); else $_POST['iconid'] = 0; if(isset($_REQUEST['iconid'])) $_REQUEST['iconid'] = intval($_REQUEST['iconid']); else $_REQUEST['iconid'] = 0; if (isset($_POST['send']) && $_POST['send'] == 'send') { ---------------------------- suche: ---------------------------- $icon = $db->query_first("SELECT iconid, iconpath, icontitle, iconorder FROM bb".$n."_icons WHERE iconid = '".$_REQUEST['iconid']."'"); ---------------------------- füge darunter ein: ---------------------------- if(empty($icon['iconid'])) { header("Location: icon.php?action=view&sid=$session[hash]"); exit(); } ---------------------------- suche: ---------------------------- if (isset($_POST['send'])) { ---------------------------- füge darüber ein: ---------------------------- if(!isset($_POST['iconid'])) $_POST['iconid'] = 0; if(!isset($_REQUEST['iconid'])) $_REQUEST['iconid'] = 0; ---------------------------- suche: ---------------------------- $icon = $db->query_first("SELECT iconid, icontitle FROM bb".$n."_icons WHERE iconid = '".intval($_REQUEST['iconid'])."'"); ---------------------------- füge darunter ein: ---------------------------- if(empty($icon['iconid'])) { header("Location: icon.php?action=view&sid=$session[hash]"); exit(); } ############################ ############################# suche in /acp/index.php nach: ----------------------------- if (!$wbbuserdata['a_can_use_acp']) { ----------------------------- ersetze gegen: ----------------------------- if (empty($wbbuserdata['a_can_use_acp'])) { ----------------------------- suche: ----------------------------- $result['userid'] ----------------------------- ersetze gegen: ----------------------------- ((isset($result) && is_array($result) && isset($result['userid'])) ? $result['userid'] : 0) ----------------------------- suche: ----------------------------- $session['hash'] = $adminsession->hash; } ----------------------------- ersetze gegen: ----------------------------- $session['hash'] = $adminsession->hash; } else $session['hash'] = ''; ############################# #################################### suche in /acp/languagepack.php nach: ------------------------------------ $languagepackname = getlangvar($lp['languagepackname'], $lang); ------------------------------------ füge darüber ein: ------------------------------------ if(!isset($lp['languagepackid'])) { header("Location: languagepack.php?action=view&sid=$session[hash]"); exit(); } ------------------------------------ suche: ------------------------------------ $lang->items['LANG_ACP_LANGUAGEPACK_NAME_COPY_OF'] = $lang->get("LANG_ACP_LANGUAGEPACK_NAME_COPY_OF", array('$languagepackname' => $languagepackname)); } ------------------------------------ füge darunter ein: ------------------------------------ else { $languagepackname = ''; $languagecode = ''; } ------------------------------------ suche(3x): ------------------------------------ $lp = $db->query_first("SELECT * FROM bb".$n."_languagepacks WHERE languagepackid='$languagepackid'"); ------------------------------------ füge darunter ein(3x): ------------------------------------ if(!isset($lp['languagepackid'])) { header("Location: languagepack.php?action=view&sid=$session[hash]"); exit(); } ------------------------------------ suche: ------------------------------------ $row['translation'] = htmlconverter($row['translation']); ------------------------------------ ersetze gegen: ------------------------------------ if(isset($row['translation'])/*$translation != -1*/) $row['translation'] = htmlconverter($row['translation']); else $row['translation'] = ''; ------------------------------------ suche: ------------------------------------ if (!$lngcategory['catid']) { ------------------------------------ ersetze gegen: ------------------------------------ if (empty($lngcategory['catid'])) { ------------------------------------ suche: ------------------------------------ $item = $db->query_first("SELECT * FROM bb".$n."_languages WHERE itemid='$itemid'"); ------------------------------------ füge darunter ein: ------------------------------------ if(empty($item['itemid'])) { header("Location: languagepack.php?action=view&sid=$session[hash]"); exit(); } ------------------------------------ suche: ------------------------------------ $lp = $db->query_first("SELECT * FROM bb".$n."_languagepacks WHERE languagepackid='$languagepackid'"); ------------------------------------ füge darunter ein: ------------------------------------ if(!isset($lp['languagepackid'])) { header("Location: languagepack.php?action=view&sid=$session[hash]"); exit(); } ------------------------------------ suche: ------------------------------------ if (!$lngfile || !file_exists($lngfile)) ------------------------------------ ersetze gegen: ------------------------------------ if (empty($lngfile) || !file_exists($lngfile)) ------------------------------------ suche: ------------------------------------ $languagepackname = $_POST['languagepackname']; ------------------------------------ ersetze gegen: ------------------------------------ if(isset($_POST['languagepackname'])) $languagepackname = $_POST['languagepackname']; else $languagepackname = ''; ------------------------------------ suche(2x): ------------------------------------ if (count($lngdata['cats'])) { ------------------------------------ ersetze gegen(2x): ------------------------------------ if (isset($lngdata['cats']) && is_countable($lngdata['cats']) && count($lngdata['cats'])) { ------------------------------------ suche: ------------------------------------ if (count($lngdata['items'])) { ------------------------------------ ersetze gegen: ------------------------------------ if (isset($lngdata['items']) && is_countable($lngdata['items']) && count($lngdata['items'])) { ------------------------------------ suche: ------------------------------------ $prevcat = ''; ------------------------------------ füge darunter ein: ------------------------------------ $languageitems_options = ''; ------------------------------------ suche: ------------------------------------ $cacheids[$newlanguagepackid][$newitems[$itemname]['catid']] = true; ------------------------------------ ersetze gegen: ------------------------------------ if(isset($newitems[$itemname]['catid'])) $cacheids[$newlanguagepackid][$newitems[$itemname]['catid']] = true; #################################### ############################# suche in /acp/login.php nach: ----------------------------- $result = getwbbuserdata($_POST['l_username'], "username"); ----------------------------- füge darüber ein: ----------------------------- if(!isset($_POST['l_username'])) $_POST['l_username'] = ''; ----------------------------- suche: ----------------------------- if ($allowloginencryption == 1 && $_POST['crypted'] == "true" && $result['sha1_password']) { ----------------------------- ersetze gegen: ----------------------------- if ($allowloginencryption == 1 && isset($_POST['crypted']) && $_POST['crypted'] == "true" && isset($result['sha1_password'])) { ----------------------------- suche: ----------------------------- if (!$result['userid'] || $authentificationcode != $_POST['authentificationcode']) { ----------------------------- ersetze gegen: ----------------------------- if (empty($result['userid']) || $authentificationcode != $_POST['authentificationcode']) { ----------------------------- suche: ----------------------------- $wbb_userpassword = md5($_POST['l_password']); ----------------------------- füge darüber ein: ----------------------------- if(!isset($_POST['l_password'])) $_POST['l_password'] = ''; ----------------------------- suche: ----------------------------- if (!$result['userid'] || $result['password'] != $wbb_userpassword) ----------------------------- ersetze gegen: ----------------------------- if (empty($result['userid']) || $result['password'] != $wbb_userpassword) ############################# ############################## suche in /acp/logout.php nach: ------------------------------ if ($adminsession->hash) { ------------------------------ ersetze gegen: ------------------------------ if (!empty($adminsession->hash)) { ############################## ################################### suche in /acp/memberslist.php nach: ----------------------------------- checkAdminPermissions('a_can_memberslist', 1); ----------------------------------- füge darunter ein: ----------------------------------- $s_sortorder = array('ASC' => '','DESC' => ''); ################################### ############################ suche in /acp/misc.php nach: ---------------------------- var $itemgroupbit1; var $itemgroupbit2; ---------------------------- füge darunter ein: ---------------------------- function __construct(&$itemgroupbit1, &$itemgroupbit2, $personalmenu = 1, $markfirst = 0, $hidelast = 0) { $this->menu($itemgroupbit1, $itemgroupbit2, $personalmenu, $markfirst, $hidelast); } ---------------------------- suche: ---------------------------- $userids = $_POST['userids']; ---------------------------- ersetze gegen: ---------------------------- if(isset($_POST['userids'])) $userids = $_POST['userids']; else $userids = ''; ############################ ############################### suche in /acp/options.php nach: ------------------------------- if (is_array($_POST['option'])) { ------------------------------- ersetze gegen: ------------------------------- if (isset($_POST['option']) && is_array($_POST['option'])) { ------------------------------- suche: ------------------------------- $optiongroup = $db->query_first("SELECT title FROM bb".$n."_optiongroups WHERE optiongroupid='$optiongroupid'"); ------------------------------- füge darunter ein: ------------------------------- if(!isset($optiongroup)) { header("Location: options.php?sid=$session[hash]"); exit(); } ############################### ################################## suche in /acp/otherstuff.php nach: ---------------------------------- $user = $db->query_first("SELECT COUNT(*) AS usercount, MAX(userid) AS userid FROM bb".$n."_users"); ---------------------------------- füge darunter ein: ---------------------------------- if(!isset($user)) { $user['usercount'] = 0; $user['userid'] = 0; } ---------------------------------- suche: ---------------------------------- $attachments = $db->query_first("SELECT COUNT(*) as count FROM bb".$n."_posts p, bb".$n."_attachments a WHERE p.threadid = '".$row['threadid']."' AND a.postid = p.postid"); ---------------------------------- füge darunter ein: ---------------------------------- if(!isset($attachments['count'])) $attachments['count'] = 0; ---------------------------------- suche: ---------------------------------- $lastpost = $db->query_first("SELECT p.threadid, p.userid, p.username, p.posttime FROM bb".$n."_posts p, bb".$n."_threads t WHERE p.threadid=t.threadid AND t.boardid IN ($row[boardid],$row[childlist]) AND p.visible=1 ORDER BY p.posttime DESC", 1); ---------------------------------- füge darunter ein: ---------------------------------- if(!isset($lastpost)) { $lastpost['threadid'] = 0; $lastpost['posttime'] = 0; $lastpost['userid'] = 0; } ---------------------------------- suche: ---------------------------------- $mailid = intval($_REQUEST['mailid']); ---------------------------------- ersetze gegen: ---------------------------------- if(isset($_REQUEST['mailid'])) $mailid = intval($_REQUEST['mailid']); else $mailid = 0; ---------------------------------- suche: ---------------------------------- $totalcount = $mail_info['recipients']; ---------------------------------- ersetze gegen: ---------------------------------- if(isset($mail_info['recipients'])) $totalcount = $mail_info['recipients']; else $totalcount = 0; ---------------------------------- suche: ---------------------------------- if ($_POST['wordids']) $wordids = implode(",", $_POST['wordids']); ---------------------------------- füge darunter ein: ---------------------------------- else $wordids = ''; ---------------------------------- suche: ---------------------------------- checkAdminPermissions("a_can_otherstuff_adminsessions", 1); ---------------------------------- füge darunter ein: ---------------------------------- $s_sortby = array('username' => '','starttime' => '','lastactivity' => '','ipaddress' => '','useragent' => ''); $s_sortorder = array('ASC' => '','DESC' => ''); ---------------------------------- suche: ---------------------------------- $kicksession = $_POST['kicksession']; ---------------------------------- ersetze gegen: ---------------------------------- if(isset($_POST['kicksession'])) $kicksession = $_POST['kicksession']; else $kicksession = ''; ---------------------------------- suche: ---------------------------------- $sortby = $_REQUEST['sortby']; $sortorder = $_REQUEST['sortorder']; ---------------------------------- ersetze gegen: ---------------------------------- if(isset($_REQUEST['sortby'])) $sortby = $_REQUEST['sortby']; else $sortby = ''; if(isset($_REQUEST['sortorder'])) $sortorder = $_REQUEST['sortorder']; else $sortorder = ''; ---------------------------------- suche: ---------------------------------- $page = intval($_REQUEST['page']); ---------------------------------- ersetze gegen: ---------------------------------- if(isset($_REQUEST['page'])) $page = intval($_REQUEST['page']); else $page = 0; ---------------------------------- suche: ---------------------------------- $count = 0; ---------------------------------- füge darunter ein: ---------------------------------- $sessionbit = ''; ---------------------------------- suche: ---------------------------------- $mailid = intval($_GET['mailid']); ---------------------------------- ersetze gegen: ---------------------------------- if(isset($_GET['mailid'])) $mailid = intval($_GET['mailid']); else $mailid = 0; ---------------------------------- suche: ---------------------------------- $mail_info = $db->query_first("SELECT m.*, u.username, COUNT(q.userid) as recipients_left FROM bb".$n."_mails m LEFT JOIN bb".$n."_users u USING (userid) LEFT JOIN bb".$n."_mailqueue q ON (q.mailid=m.mailid) WHERE m.mailid='$mailid' GROUP BY m.mailid"); ---------------------------------- füge darunter ein: ---------------------------------- if(!isset($mail_info)) { header("Location: otherstuff.php?action=mailqueue&sid=$session[hash]"); exit(); } ---------------------------------- suche: ---------------------------------- foreach ($_POST['tables'] as $table) { ---------------------------------- füge darüber ein: ---------------------------------- if(!isset($_POST['tables'])) $_POST['tables'] = array(); ---------------------------------- suche: ---------------------------------- $table = $_POST['tables'][$_POST['table']]; ---------------------------------- ersetze gegen: ---------------------------------- if(isset($_POST['table']) && isset($_POST['tables'][$_POST['table']])) $table = $_POST['tables'][$_POST['table']]; else $table = 'bb'.$n.'_access'; ---------------------------------- suche: ---------------------------------- if ($_POST['table'] + 1 < count($_POST['tables'])) ---------------------------------- ersetze gegen: ---------------------------------- if (isset($_POST['tables']) && is_countable($_POST['tables']) && $_POST['table'] + 1 < count($_POST['tables'])) ---------------------------------- suche: ---------------------------------- $filename = $_POST['filename']; ---------------------------------- ersetze gegen: ---------------------------------- if(isset($_POST['filename'])) $filename = $_POST['filename']; else $filename = 'temp'; ---------------------------------- suche: ---------------------------------- if ($_POST['newTable'] == 1 && $_POST['structure'] == 1) { ---------------------------------- ersetze gegen: ---------------------------------- if (isset($_POST['newTable']) && $_POST['newTable'] == 1 && $_POST['structure'] == 1) { ---------------------------------- suche: ---------------------------------- dumpTableStructure($table, $_POST['drop_table']) ---------------------------------- ersetze gegen: ---------------------------------- dumpTableStructure($table, isset($_POST['drop_table'])) ---------------------------------- suche: ---------------------------------- elseif ($_POST['newTable'] == 1 && $_POST['delete_all'] == 1) { ---------------------------------- ersetze gegen: ---------------------------------- elseif (isset($_POST['newTable']) && $_POST['newTable'] == 1 && isset($_POST['delete_all']) && $_POST['delete_all'] == 1) { ---------------------------------- suche: ---------------------------------- eval("\$tpl->output(\"".$tpl->get("working_dbbackupdone", 1)."\",1);"); ---------------------------------- füge darüber ein: ---------------------------------- if(!isset($_POST['download'])) $_POST['download'] = 0; ---------------------------------- suche: ---------------------------------- if ($_POST['timeorder'] == 1) $statdate = preg_replace("/(\d+)~/e", "getday('\\1')", $statdate); if ($_POST['timeorder'] > 1) $statdate = preg_replace("/(\d+)~/e", "getmonth('\\1')", $statdate); ---------------------------------- ersetze gegen: ---------------------------------- if ($_POST['timeorder'] == 1) $statdate = preg_replace_callback("/(\d+)~/", function($matches) {return getday($matches[1]);}, $statdate); if ($_POST['timeorder'] > 1) $statdate = preg_replace_callback("/(\d+)~/", function($matches) {return getmonth($matches[1]);}, $statdate); ################################## ######################################## suche in /acp/profilefield.php nach(2x): ---------------------------------------- $fieldoptions = trim($_POST['fieldoptions']); ---------------------------------------- ersetze gegen(2x): ---------------------------------------- if(isset($_POST['fieldoptions'])) $fieldoptions = trim($_POST['fieldoptions']); if(!isset($_POST['maxlength'])) $_POST['maxlength'] = 0; if(!isset($_POST['fieldsize'])) $_POST['fieldsize'] = 0; if(!isset($_POST['choicecount'])) $_POST['choicecount'] = 0; ---------------------------------------- suche: ---------------------------------------- $profilesel = array("", "", "", "", "", "", "", "", "", ""); ---------------------------------------- ersetze gegen: ---------------------------------------- if(empty($profile['profilefieldid'])) { header("Location: profilefield.php?action=view&sid=$session[hash]"); exit(); } $profilesel = array("", "", "", "", "", "", "", "", "", "", ""); ---------------------------------------- suche: ---------------------------------------- $profile = $db->query_first("SELECT title FROM bb".$n."_profilefields WHERE profilefieldid = '".intval($_REQUEST['profilefieldid'])."'"); ---------------------------------------- füge darunter ein: ---------------------------------------- if(!isset($profile['title'])) { header("Location: profilefield.php?action=view&sid=$session[hash]"); exit(); } ######################################## ############################# suche in /acp/ranks.php nach: ----------------------------- if ($ranks['gender'] == "2") $rankgendersel[2] = " selected=\"selected\""; ----------------------------- füge darüber ein: ----------------------------- if(empty($ranks['rankid'])) { header("Location: ranks.php?action=view&sid=$session[hash]"); exit(); } $rankgendersel = array('', '', ''); ----------------------------- suche: ----------------------------- $rank['ranktitle'] = getlangvar($rank['ranktitle'], $lang); ----------------------------- füge darüber ein: ----------------------------- if(!isset($ranks['ranktitle'])) { header("Location: ranks.php?action=view&sid=$session[hash]"); exit(); } ############################# ############################# suche in /acp/setup.php nach: ----------------------------- if (isset($data['designpack']['designelements']) && count($data['designpack']['designelements'])) { ----------------------------- ersetze gegen: ----------------------------- if (isset($data['designpack']['designelements']) && is_array($data['designpack']['designelements']) && count($data['designpack']['designelements'])) { ----------------------------- suche: ----------------------------- if (isset($data['templates']) && count($data['templates'])) { ----------------------------- ersetze gegen: ----------------------------- if (isset($data['templates']) && is_array($data['templates']) && count($data['templates'])) { ----------------------------- suche: ----------------------------- if (count($lngdata['cats'])) { ----------------------------- ersetze gegen: ----------------------------- if (isset($lngdata['cats']) && is_array($lngdata['cats']) && count($lngdata['cats'])) { ----------------------------- suche: ----------------------------- if (count($lngdata['items'])) { ----------------------------- ersetze gegen: ----------------------------- if (isset($lngdata['items']) && is_array($lngdata['items']) && count($lngdata['items'])) { ----------------------------- suche: ----------------------------- if ($step == 11) { ----------------------------- füge darunter ein: ----------------------------- $username = ''; $email = ''; $password = ''; ----------------------------- suche: ----------------------------- preg_match("/query_first("SELECT * FROM bb".$n."_smilies WHERE smilieid = '".$smilieid."'"); ------------------------------ füge darunter ein: ------------------------------ if(empty($smilie['smilieid'])) { header("Location: smilie.php?action=view&sid=$session[hash]"); exit(); } ------------------------------ suche: ------------------------------ $smilie = $db->query_first("SELECT smilieid, smilietitle FROM bb".$n."_smilies WHERE smilieid = '".$smilieid."'"); ------------------------------ füge darunter ein: ------------------------------ if(empty($smilie['smilieid'])) { header("Location: smilie.php?action=view&sid=$session[hash]"); exit(); } ############################## ################################# suche in /acp/style.php nach(2x): --------------------------------- $styleid = intval($_REQUEST['styleid']); --------------------------------- ersetze gegen(2x): --------------------------------- if(isset($_REQUEST['styleid'])) $styleid = intval($_REQUEST['styleid']); else $styleid = 0; --------------------------------- suche: --------------------------------- $style = $db->query_first("SELECT stylename FROM bb".$n."_styles WHERE styleid='$styleid'"); --------------------------------- füge darunter ein: --------------------------------- if(!isset($style['stylename'])) { header("Location: style.php?action=view&sid=$session[hash]"); exit(); } --------------------------------- suche: --------------------------------- $styleid = intval($_REQUEST['styleid']); --------------------------------- ersetze gegen: --------------------------------- if(isset($_REQUEST['styleid'])) $styleid = intval($_REQUEST['styleid']); else $styleid = 0; --------------------------------- suche: --------------------------------- $style = $db->query_first("SELECT * FROM bb".$n."_styles WHERE styleid='$styleid'"); --------------------------------- füge darunter ein: --------------------------------- if(!isset($style['styleid'])) { header("Location: style.php?action=view&sid=$session[hash]"); exit(); } --------------------------------- suche: --------------------------------- $style_info = $db->query_first("SELECT * FROM bb".$n."_styles WHERE styleid='".$styleid."'"); --------------------------------- füge darunter ein: --------------------------------- if(!isset($style_info['styleid'])) { header("Location: style.php?action=import/export&sid=$session[hash]"); exit(); } --------------------------------- suche: --------------------------------- if ($_POST['send']) { --------------------------------- ersetze gegen: --------------------------------- if (isset($_POST['send'])) { --------------------------------- suche: --------------------------------- $designpack_info['designpackname'] = htmlconverter($designpack_info['designpackname']); --------------------------------- ersetze gegen: --------------------------------- if(isset($designpack_info['designpackname'])) $designpack_info['designpackname'] = htmlconverter($designpack_info['designpackname']); else $designpack_info['designpackname'] = ''; --------------------------------- suche: --------------------------------- if (!$stylefile || !file_exists($stylefile)) { --------------------------------- ersetze gegen: --------------------------------- if (empty($stylefile) || !file_exists($stylefile)) { ################################# ################################ suche in /acp/template.php nach: -------------------------------- $error = ""; -------------------------------- füge darunter ein: -------------------------------- $template = ""; $templatename = ""; $templateid = 0; -------------------------------- suche: -------------------------------- if ($result[0]) -------------------------------- ersetze gegen: -------------------------------- if (!empty($result[0])) -------------------------------- suche: -------------------------------- $result = $db->query_first("SELECT * FROM bb".$n."_templates WHERE templateid='$templateid'"); -------------------------------- füge darunter ein: -------------------------------- if(empty($result['templateid'])) { header("Location: template.php?action=view&sid=$session[hash]"); exit(); } -------------------------------- suche: -------------------------------- else $templateid = 0; -------------------------------- füge darunter ein: -------------------------------- $error = ""; -------------------------------- suche: -------------------------------- if ($result[0]) -------------------------------- ersetze gegen: -------------------------------- if (!empty($result[0])) -------------------------------- suche: -------------------------------- $result = $db->query_first("SELECT * FROM bb".$n."_templates WHERE templateid='$templateid'"); -------------------------------- füge darunter ein: -------------------------------- if(empty($result['templateid'])) { header("Location: template.php?action=view&sid=$session[hash]"); exit(); } -------------------------------- suche: -------------------------------- $template = $db->query_first("SELECT templatename, templatepackid FROM bb".$n."_templates WHERE templateid='$templateid'"); -------------------------------- füge darunter ein: -------------------------------- if(!isset($template)) { header("Location: template.php?action=view&sid=$session[hash]"); exit(); } -------------------------------- suche: -------------------------------- , $_POST['templatepackid'] -------------------------------- ersetze gegen: -------------------------------- , $templatepackid -------------------------------- suche: -------------------------------- $selectbit = ''; -------------------------------- füge darunter ein: -------------------------------- $importSelect = ''; -------------------------------- suche: -------------------------------- if (!isset($templatepackcache[$parentid])) return; -------------------------------- füge darunter ein: -------------------------------- $out = ''; $templatefolder = ''; -------------------------------- suche: -------------------------------- "templatepackname" => $lang->get("LANG_ACP_TEMPLATE_DEFAULTPACK") -------------------------------- ersetze gegen: -------------------------------- "templatepackname" => $lang->get("LANG_ACP_TEMPLATE_DEFAULTPACK"), "templatefolder" => '' -------------------------------- suche(2x): -------------------------------- $templatepack = $db->query_first("SELECT * FROM bb".$n."_templatepacks WHERE templatepackid='$templatepackid'"); -------------------------------- füge darunter ein(2x): -------------------------------- if(empty($templatepack['templatepackid'])) { header("Location: template.php?action=viewpack&sid=$session[hash]"); exit(); } ################################ ############################### suche in /acp/threads.php nach: ------------------------------- $boardid = intval($_REQUEST['boardid']); ------------------------------- ersetze gegen: ------------------------------- if(isset($_REQUEST['boardid'])) $boardid = intval($_REQUEST['boardid']); else $boardid = 0; ------------------------------- suche: ------------------------------- $closethread = $_POST['closethread']; ------------------------------- ersetze gegen: ------------------------------- if(isset($_POST['closethread'])) $closethread = $_POST['closethread']; else $closethread = ''; ------------------------------- suche: ------------------------------- $delthread = $_POST['delthread']; ------------------------------- ersetze gegen: ------------------------------- if(isset($_POST['delthread'])) $delthread = $_POST['delthread']; else $delthread = ''; ------------------------------- suche: ------------------------------- $movethread = $_POST['movethread']; $newboardid = $_POST['newboardid']; ------------------------------- ersetze gegen: ------------------------------- if(isset($_POST['movethread'])) $movethread = $_POST['movethread']; else $movethread = ''; if(isset($_POST['newboardid'])) $newboardid = $_POST['newboardid']; else $newboardid = ''; ------------------------------- suche: ------------------------------- $threadaction = $_POST['threadaction']; ------------------------------- ersetze gegen: ------------------------------- if(isset($_POST['threadaction'])) $threadaction = $_POST['threadaction']; else $threadaction = array(); ------------------------------- suche: ------------------------------- $lastpost = $db->query_first("SELECT p.threadid, p.userid, p.username, p.posttime FROM bb".$n."_posts p, bb".$n."_threads t WHERE p.threadid=t.threadid AND p.visible = 1 AND t.boardid IN ($row[boardid],$row[childlist]) ORDER BY p.posttime DESC", 1); ------------------------------- füge darunter ein: ------------------------------- if(!isset($lastpost)) { $lastpost['threadid'] = 0; $lastpost['posttime'] = 0; $lastpost['userid'] = 0; $lastpost['username'] = ''; } ------------------------------- suche: ------------------------------- '".addslashes($lastpost[username])."' ------------------------------- ersetze gegen: ------------------------------- '".addslashes($lastpost['username'])."' ############################### ############################# suche in /acp/users.php nach: ----------------------------- checkAdminPermissions("a_can_users_add", 1); ----------------------------- füge darunter ein: ----------------------------- $error = ''; $sel_gender = array(0 => '',1 => '',2 => ''); $sel_invisible = array(0 => '',1 => ''); $sel_usecookies = array(0 => '',1 => ''); $sel_admincanemail = array(0 => '',1 => ''); $sel_showemail = array(0 => '',1 => ''); $sel_usercanemail = array(0 => '',1 => ''); $sel_emailnotify = array(0 => '',1 => ''); $sel_notificationperpm = array(0 => '',1 => ''); $sel_receivepm = array(0 => '',1 => ''); $sel_emailonpm = array(0 => '',1 => ''); $sel_pmpopup = array(0 => '',1 => ''); $sel_showsignatures = array(0 => '',1 => ''); $sel_showavatars = array(0 => '',1 => ''); $sel_showimages = array(0 => '',1 => ''); $sel_daysprune = array(0 => '',1 => '',2 => '',5 => '',10 => '',20 => '',30 => '',45 => '',60 => '',75 => '',100 => '',365 => '',1000 => '',1500 => ''); $sel_umaxposts = array(0 => '',5 => '',10 => '',20 => '',30 => '',40 => ''); $sel_threadview = array(0 => '',1 => ''); $sel_emailonapplication = array(0 => '',1 => ''); $sel_usewysiwyg = array(0 => '',1 => ''); ----------------------------- suche: ----------------------------- if (isSet($_POST['showimages'])) $showimages = intval($_POST['showimages']); else $showimages = $default_register_showimages; ----------------------------- füge darunter ein: ----------------------------- if (isSet($_POST['daysprune'])) $daysprune = intval($_POST['daysprune']); else $daysprune = 0; if (isSet($_POST['umaxposts'])) $umaxposts = intval($_POST['umaxposts']); else $umaxposts = 0; ----------------------------- suche: ----------------------------- $error = ''; ----------------------------- Lösche Es! ----------------------------- ----------------------------- suche: ----------------------------- $fieldlist .= ",field".$row['profilefieldid']; ----------------------------- füge darunter ein: ----------------------------- if(!isset($field[$row['profilefieldid']])) $field[$row['profilefieldid']] = ''; ----------------------------- suche: ----------------------------- if ($dayfield[$row['profilefieldid']] && $monthfield[$row['profilefieldid']]) $datefield = ((wbb_strlen($yearfield[$row['profilefieldid']]) == 4) ? ($yearfield[$row['profilefieldid']]) : (((wbb_strlen($yearfield[$row['profilefieldid']]) == 2) ? ("19".$yearfield[$row['profilefieldid']]) : ("0000"))))."-".(($monthfield[$row['profilefieldid']] < 10) ? ("0".$monthfield[$row['profilefieldid']]) : ($monthfield[$row['profilefieldid']]))."-".(($dayfield[$row['profilefieldid']] < 10) ? ("0".$dayfield[$row['profilefieldid']]) : ($dayfield[$row['profilefieldid']])); ----------------------------- ersetze gegen: ----------------------------- if (!empty($dayfield[$row['profilefieldid']]) && !empty($monthfield[$row['profilefieldid']])) $datefield = ((isset($yearfield[$row['profilefieldid']]) && wbb_strlen($yearfield[$row['profilefieldid']]) == 4) ? ($yearfield[$row['profilefieldid']]) : (((isset($yearfield[$row['profilefieldid']]) && wbb_strlen($yearfield[$row['profilefieldid']]) == 2) ? ("19".$yearfield[$row['profilefieldid']]) : ("0000"))))."-".(($monthfield[$row['profilefieldid']] < 10) ? ("0".$monthfield[$row['profilefieldid']]) : ($monthfield[$row['profilefieldid']]))."-".(($dayfield[$row['profilefieldid']] < 10) ? ("0".$dayfield[$row['profilefieldid']]) : ($dayfield[$row['profilefieldid']])); ----------------------------- suche: ----------------------------- $notificationperpm = 0; ----------------------------- füge darunter ein: ----------------------------- $daysprune = 0; $umaxposts = 0; ----------------------------- suche: ----------------------------- $y = 1; ----------------------------- füge darunter ein: ----------------------------- $userfields = ''; ----------------------------- suche: ----------------------------- $selected_options = array(); ----------------------------- füge darunter ein: ----------------------------- if (!isset($field[$row['profilefieldid']])) $field[$row['profilefieldid']] = ''; ----------------------------- suche: ----------------------------- $dayfield_value = "\n"; $monthfield_value = "\n"; ----------------------------- füge darunter ein: ----------------------------- if(!isset($dayfield[$row['profilefieldid']])) $dayfield[$row['profilefieldid']] = ''; if(!isset($monthfield[$row['profilefieldid']])) $monthfield[$row['profilefieldid']] = ''; if(!isset($yearfield[$row['profilefieldid']])) $yearfield[$row['profilefieldid']] = ''; ----------------------------- suche: ----------------------------- if ($dayfield[$row['profilefieldid']] && $monthfield[$row['profilefieldid']]) { ----------------------------- ersetze gegen: ----------------------------- if (!empty($dayfield[$row['profilefieldid']]) && !empty($monthfield[$row['profilefieldid']])) { ----------------------------- suche: ----------------------------- $datefield = ((wbb_strlen($yearfield[$row['profilefieldid']]) == 4) ? ($yearfield[$row['profilefieldid']]) : (((wbb_strlen($yearfield[$row['profilefieldid']]) == 2) ? ("19".$yearfield[$row['profilefieldid']]) : ("0000"))))."-".(($monthfield[$row['profilefieldid']] < 10) ? ("0".$monthfield[$row['profilefieldid']]) : ($monthfield[$row['profilefieldid']]))."-".(($dayfield[$row['profilefieldid']] < 10) ? ("0".$dayfield[$row['profilefieldid']]) : ($dayfield[$row['profilefieldid']])); ----------------------------- ersetze gegen: ----------------------------- $datefield = ((isset($yearfield[$row['profilefieldid']]) && wbb_strlen($yearfield[$row['profilefieldid']]) == 4) ? ($yearfield[$row['profilefieldid']]) : (((isset($yearfield[$row['profilefieldid']]) && wbb_strlen($yearfield[$row['profilefieldid']]) == 2) ? ("19".$yearfield[$row['profilefieldid']]) : ("0000"))))."-".(($monthfield[$row['profilefieldid']] < 10) ? ("0".$monthfield[$row['profilefieldid']]) : ($monthfield[$row['profilefieldid']]))."-".(($dayfield[$row['profilefieldid']] < 10) ? ("0".$dayfield[$row['profilefieldid']]) : ($dayfield[$row['profilefieldid']])); ----------------------------- suche: ----------------------------- if ($pages > 1) $pagelink = makePageLink("users.php?action=show&".$link."limit=$limit&sortorder=$sortorder&sortby=$sortby&sid=$session[hash]", $page, $pages, $showpagelinks - 1); ----------------------------- füge darunter ein: ----------------------------- else $pagelink = ''; ----------------------------- suche: ----------------------------- if ($allsame) foreach ($permissions as $permission) $selected[$permission][(($tmp[$permission] == 0 || $tmp[$permission] == 1) ? ($tmp[$permission]) : ((($tmp[$permission] == -1) ? (2) : (""))))] = " selected=\"selected\""; else foreach ($permissions as $permission) $selected[$permission][2] = " selected=\"selected\""; ----------------------------- ersetze gegen: ----------------------------- if ($allsame) { foreach ($permissions as $permission) { $selected[$permission] = array('', '', ''); $selected[$permission][(($tmp[$permission] == 0 || $tmp[$permission] == 1) ? ($tmp[$permission]) : ((($tmp[$permission] == -1) ? (2) : (""))))] = " selected=\"selected\""; } } else { foreach ($permissions as $permission) { $selected[$permission][0] = ''; $selected[$permission][1] = ''; $selected[$permission][2] = " selected=\"selected\""; } } ----------------------------- suche: ----------------------------- checkAdminPermissions("a_can_users_edit", 1); ----------------------------- füge darunter ein: ----------------------------- $error = ''; $sel_gender = array(0 => '',1 => '',2 => ''); $sel_invisible = array(0 => '',1 => ''); $sel_usecookies = array(0 => '',1 => ''); $sel_admincanemail = array(0 => '',1 => ''); $sel_showemail = array(0 => '',1 => ''); $sel_usercanemail = array(0 => '',1 => ''); $sel_emailnotify = array(0 => '',1 => ''); $sel_notificationperpm = array(0 => '',1 => ''); $sel_receivepm = array(0 => '',1 => ''); $sel_emailonpm = array(0 => '',1 => ''); $sel_pmpopup = array(0 => '',1 => ''); $sel_showsignatures = array(0 => '',1 => ''); $sel_showavatars = array(0 => '',1 => ''); $sel_showimages = array(0 => '',1 => ''); $sel_daysprune = array(0 => '',1 => '',2 => '',5 => '',10 => '',20 => '',30 => '',45 => '',60 => '',75 => '',100 => '',365 => '',1000 => '',1500 => ''); $sel_umaxposts = array(0 => '',5 => '',10 => '',20 => '',30 => '',40 => ''); $sel_threadview = array(0 => '',1 => ''); $sel_emailonapplication = array(0 => '',1 => ''); $sel_usewysiwyg = array(0 => '',1 => ''); $sel_blocked = array(0 => '',1 => ''); $sel_disablesignature = array(0 => '',1 => ''); ----------------------------- suche: ----------------------------- if (isSet($_POST['showimages'])) $showimages = intval($_POST['showimages']); else $showimages = $default_register_showimages; ----------------------------- füge darunter ein: ----------------------------- if (isSet($_POST['daysprune'])) $daysprune = intval($_POST['daysprune']); else $daysprune = 0; if (isSet($_POST['umaxposts'])) $umaxposts = intval($_POST['umaxposts']); else $umaxposts = 0; ----------------------------- suche: ----------------------------- $error = ''; ----------------------------- Lösche Es! ----------------------------- ----------------------------- suche: ----------------------------- if ($row['fieldtype'] == "multiselect") { ----------------------------- füge darüber ein: ----------------------------- if(!isset($field[$row['profilefieldid']])) $field[$row['profilefieldid']] = ''; ----------------------------- suche: ----------------------------- if ($dayfield[$row['profilefieldid']] && $monthfield[$row['profilefieldid']]) $datefield = ((wbb_strlen($yearfield[$row['profilefieldid']]) == 4) ? ($yearfield[$row['profilefieldid']]) : (((wbb_strlen($yearfield[$row['profilefieldid']]) == 2) ? ("19".$yearfield[$row['profilefieldid']]) : ("0000"))))."-".(($monthfield[$row['profilefieldid']] < 10) ? ("0".$monthfield[$row['profilefieldid']]) : ($monthfield[$row['profilefieldid']]))."-".(($dayfield[$row['profilefieldid']] < 10) ? ("0".$dayfield[$row['profilefieldid']]) : ($dayfield[$row['profilefieldid']])); ----------------------------- ersetze gegen: ----------------------------- if (!empty($dayfield[$row['profilefieldid']]) && !empty($monthfield[$row['profilefieldid']])) $datefield = ((isset($yearfield[$row['profilefieldid']]) && wbb_strlen($yearfield[$row['profilefieldid']]) == 4) ? ($yearfield[$row['profilefieldid']]) : (((isset($yearfield[$row['profilefieldid']]) && wbb_strlen($yearfield[$row['profilefieldid']]) == 2) ? ("19".$yearfield[$row['profilefieldid']]) : ("0000"))))."-".(($monthfield[$row['profilefieldid']] < 10) ? ("0".$monthfield[$row['profilefieldid']]) : ($monthfield[$row['profilefieldid']]))."-".(($dayfield[$row['profilefieldid']] < 10) ? ("0".$dayfield[$row['profilefieldid']]) : ($dayfield[$row['profilefieldid']])); ----------------------------- suche: ----------------------------- $y = 1; ----------------------------- füge darunter ein: ----------------------------- $userfields = ''; ----------------------------- suche: ----------------------------- $selected_options = array(); ----------------------------- füge darunter ein: ----------------------------- if(!isset($field[$row['profilefieldid']])) $field[$row['profilefieldid']] = ''; ----------------------------- suche: ----------------------------- $year_tmp = $yearfield[$row['profilefieldid']]; $month_tmp = $monthfield[$row['profilefieldid']]; $day_tmp = $dayfield[$row['profilefieldid']]; ----------------------------- ersetze gegen: ----------------------------- if(isset($yearfield[$row['profilefieldid']])) $year_tmp = $yearfield[$row['profilefieldid']]; else $year_tmp = ''; if(isset($monthfield[$row['profilefieldid']])) $month_tmp = $monthfield[$row['profilefieldid']]; else $month_tmp = ''; if(isset($dayfield[$row['profilefieldid']])) $day_tmp = $dayfield[$row['profilefieldid']]; else $day_tmp = ''; ---------------------------- suche: ---------------------------- if ($_POST['sendmail'] == 1) { ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['sendmail']) && $_POST['sendmail'] == 1) { ---------------------------- suche: ---------------------------- if ($_POST['timeorder'] == 1) $statdate = preg_replace("/(\d+)~/e", "getday('\\1')", $statdate); if ($_POST['timeorder'] > 1) $statdate = preg_replace("/(\d+)~/e", "getmonth('\\1')", $statdate); ----------------------------- ersetze gegen: ----------------------------- if ($_POST['timeorder'] == 1) $statdate = preg_replace_callback("/(\d+)~/", function($matches) {return getday($matches[1]);}, $statdate); if ($_POST['timeorder'] > 1) $statdate = preg_replace_callback("/(\d+)~/", function($matches) {return getmonth($matches[1]);}, $statdate); ---------------------------- suche: ---------------------------- if ($_POST['send'] == "send") { ----------------------------- ersetze gegen: ----------------------------- if (isset($_POST['send']) && $_POST['send'] == "send") { ---------------------------- suche: ---------------------------- $users = ''; ----------------------------- füge darunter ein: ----------------------------- $merge_userselect = ''; ############################# ########################################### suche in /acp/lib/admin_functions.php nach: ------------------------------------------- global $lang, $tpl, $session; ------------------------------------------- füge darunter ein: ------------------------------------------- $time = 0; $url = ''; ------------------------------------------- suche: ------------------------------------------- $errorstring = str_replace('"', "'", strip_tags($errorstring)); ------------------------------------------- ersetze gegen: ------------------------------------------- $errormsg = str_replace('"', "'", strip_tags($errormsg)); ------------------------------------------- suche: ------------------------------------------- if (!isset($boardcache[$boardid])) return; ------------------------------------------- füge darunter ein: ------------------------------------------- $out = ''; ------------------------------------------- suche: ------------------------------------------- $languagepackname = $matches[1]; ------------------------------------------- ersetze gegen: ------------------------------------------- if(isset($matches[1])) $languagepackname = $matches[1]; else $languagepackname = ''; ------------------------------------------- suche: ------------------------------------------- $languagecode = $matches[1]; ------------------------------------------- ersetze gegen: ------------------------------------------- if(isset($matches[1])) $languagecode = $matches[1]; else $languagecode = ''; ------------------------------------------- suche: ------------------------------------------- $exportdate = $matches[1]; ------------------------------------------- ersetze gegen: ------------------------------------------- if(isset($matches[1])) $exportdate = $matches[1]; else $exportdate = ''; ------------------------------------------- suche: ------------------------------------------- $exportwbbversion = $matches[1]; ------------------------------------------- ersetze gegen: ------------------------------------------- if(isset($matches[1])) $exportwbbversion = $matches[1]; else $exportwbbversion = ''; ------------------------------------------- suche: ------------------------------------------- $cats = $matches[1]; ------------------------------------------- ersetze gegen: ------------------------------------------- if(isset($matches[1])) $cats = $matches[1]; else $cats = ''; ------------------------------------------- suche: ------------------------------------------- $fieldtypes = array(); ------------------------------------------- Lösche Es! ------------------------------------------- ------------------------------------------- suche: ------------------------------------------- $fieldtypes[$name] = (!stristr($row['Type'], "ENUM") && ((stristr($row['Type'], "INT") || stristr($row['Type'], "FLOAT") || stristr($row['Type'], "DOUBLE") || stristr($row['Type'], "REAL") || stristr($row['Type'], "DECIMAL") || stristr($row['Type'], "NUMERIC") || stristr($row['Type'], "TIMESTAMP") || stristr($row['Type'], "YEAR"))) ? ("integer") : ("string")); ------------------------------------------- Lösche Es! ------------------------------------------- ------------------------------------------- suche: ------------------------------------------- implode($columns, ", ") ------------------------------------------- ersetze gegen: ------------------------------------------- implode(", ", $columns) ------------------------------------------- suche: ------------------------------------------- // get table data ------------------------------------------- füge darüber ein: ------------------------------------------- // get fields $fieldtypes = array(); $result = $db->query("DESCRIBE $tableName"); while ($row = $db->fetch_array($result)) $fieldtypes[$row['Field']] = (!stristr($row['Type'], "ENUM") && ((stristr($row['Type'], "INT") || stristr($row['Type'], "FLOAT") || stristr($row['Type'], "DOUBLE") || stristr($row['Type'], "REAL") || stristr($row['Type'], "DECIMAL") || stristr($row['Type'], "NUMERIC") || stristr($row['Type'], "TIMESTAMP") || stristr($row['Type'], "YEAR"))) ? ("integer") : ("string")); ########################################### ############################################## suche in /acp/lib/class_adminsession.php nach: ---------------------------------------------- function update($hash = '', $ip, $agent) { ---------------------------------------------- ersetze gegen: ---------------------------------------------- function update($ip, $agent, $hash = '') { ---------------------------------------------- suche: ---------------------------------------------- if ($session['sessionhash']) { ---------------------------------------------- ersetze gegen: ---------------------------------------------- if (!empty($session['sessionhash'])) { ############################################## ######################################### suche in /acp/lib/class_headers.php nach: ----------------------------------------- strstr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') ----------------------------------------- füge davor ein: ----------------------------------------- isset($_SERVER['HTTP_ACCEPT_ENCODING']) && ######################################### ####################################### suche in /acp/lib/class_parse.php nach: --------------------------------------- 'bbcode' => 0, 'smilies' => 0 --------------------------------------- füge dahinter ein: --------------------------------------- , 'hilight' => 0 ####################################### ################################################ suche in /acp/lib/class_variableimport.php nach: ------------------------------------------------ if (count($this->data['wbboptiongroup'])) ------------------------------------------------ ersetze gegen: ------------------------------------------------ if (isset($this->data['wbboptiongroup']) && count($this->data['wbboptiongroup'])) ------------------------------------------------ suche: ------------------------------------------------ if (count($this->data['wbboption'])) ------------------------------------------------ ersetze gegen: ------------------------------------------------ if (isset($this->data['wbboption']) && count($this->data['wbboption'])) ------------------------------------------------ suche: ------------------------------------------------ if (count($this->data['wbbacpmenuitemgroup'])) ------------------------------------------------ ersetze gegen: ------------------------------------------------ if (isset($this->data['wbbacpmenuitemgroup']) && count($this->data['wbbacpmenuitemgroup'])) ------------------------------------------------ suche: ------------------------------------------------ if (count($this->data['wbbacpmenuitem'])) ------------------------------------------------ ersetze gegen: ------------------------------------------------ if (isset($this->data['wbbacpmenuitem']) && count($this->data['wbbacpmenuitem'])) ------------------------------------------------ suche: ------------------------------------------------ if (count($this->data['wbbgroupvariablegroup'])) ------------------------------------------------ ersetze gegen: ------------------------------------------------ if (isset($this->data['wbbgroupvariablegroup']) && count($this->data['wbbgroupvariablegroup'])) ------------------------------------------------ suche: ------------------------------------------------ if (count($this->data['wbbgroupvariable'])) ------------------------------------------------ ersetze gegen: ------------------------------------------------ if (isset($this->data['wbbgroupvariable']) && count($this->data['wbbgroupvariable'])) ------------------------------------------------ suche: ------------------------------------------------ $max = count($matches[0]); ------------------------------------------------ ersetze gegen: ------------------------------------------------ if(isset($matches[0])) $max = count($matches[0]); else $max = 0; ------------------------------------------------ suche: ------------------------------------------------ $max2 = count($matches2[0]); ------------------------------------------------ ersetze gegen: ------------------------------------------------ if(isset($matches2[0])) $max2 = count($matches2[0]); else $max2 = 0; ################################################ ##################################### suche in /acp/lib/class_wiw.php nach: ------------------------------------- list($script, $querystring, ) = explode("?", $data['request_uri']); ------------------------------------- ersetze gegen: ------------------------------------- $script = ''; $querystring = ''; $array = explode("?", $data['request_uri']); if(isset($array[0])) $script = $array[0]; if(isset($array[1])) $querystring = $array[1]; ------------------------------------- suche(3x): ------------------------------------- list($varname, $value, ) = explode("=", $a_querystring[$i]); ------------------------------------- ersetze gegen(3x): ------------------------------------- $varname = ''; $value = ''; $array = explode("=", $a_querystring[$i]); if(isset($array[0])) $varname = $array[0]; if(isset($array[1])) $value = $array[1]; ##################################### ##################################### suche in /acp/lib/functions.php nach: ------------------------------------- if ($wbbuserdata['lastvisit'] > $boards['lastposttime'] || $boards['lastvisit'] > $boards['lastposttime']) ------------------------------------- ersetze gegen: ------------------------------------- if ($wbbuserdata['lastvisit'] > $boards['lastposttime'] || (isset($boards['lastvisit']) && $boards['lastvisit'] > $boards['lastposttime'])) ------------------------------------- suche: ------------------------------------- if (is_array($visitcache[$tempids[$j]]) && count($visitcache[$tempids[$j]])) { ------------------------------------- ersetze gegen: ------------------------------------- if (isset($visitcache[$tempids[$j]]) && is_array($visitcache[$tempids[$j]]) && count($visitcache[$tempids[$j]])) { ------------------------------------- suche: ------------------------------------- if ($lastposttime > $boardvisit[$tempids[$j]]) { ------------------------------------- ersetze gegen: ------------------------------------- if (!isset($boardvisit[$tempids[$j]]) || $lastposttime > $boardvisit[$tempids[$j]]) { ------------------------------------- suche: ------------------------------------- if ($_COOKIE['bbcodemode'] == 1) ------------------------------------- ersetze gegen: ------------------------------------- if (isset($_COOKIE['bbcodemode']) && $_COOKIE['bbcodemode'] == 1) ------------------------------------- suche: ------------------------------------- $totalSmilies = $db->num_rows($result); ------------------------------------- füge darunter ein: ------------------------------------- $bbcode_smilies_getmore = ''; ------------------------------------- suche: ------------------------------------- $boardoptions = makeboardselect(0, 1, $current); } ------------------------------------- füge darunter ein: ------------------------------------- else $boardoptions = ''; ------------------------------------- suche(2x): ------------------------------------- if ($result[0] != 0) ------------------------------------- ersetze gegen(2x): ------------------------------------- if (isset($result[0]) && $result[0] != 0) ------------------------------------- suche: ------------------------------------- if ($result['postid']) ------------------------------------- ersetze gegen: ------------------------------------- if (!empty($result['postid'])) ------------------------------------- suche: ------------------------------------- (!isset($goodwords[$val]) && !$goodwords[$val]) ------------------------------------- ersetze gegen: ------------------------------------- (!isset($goodwords[$val]) || !$goodwords[$val]) ------------------------------------- suche: ------------------------------------- ($topicwordarray[$val] == 1) ------------------------------------- ersetze gegen: ------------------------------------- (isset($topicwordarray[$val]) && $topicwordarray[$val] == 1) ------------------------------------- suche: ------------------------------------- $wbbuserdata['templatepackid'] = $default_style['templatepackid']; $wbbuserdata['designpackid'] = $default_style['designpackid']; $wbbuserdata['templatestructure'] = $default_style['templatestructure']; ------------------------------------- ersetze gegen: ------------------------------------- if(isset($default_style)) { $wbbuserdata['templatepackid'] = $default_style['templatepackid']; $wbbuserdata['designpackid'] = $default_style['designpackid']; $wbbuserdata['templatestructure'] = $default_style['templatestructure']; } else { $wbbuserdata['templatepackid'] = 0; $wbbuserdata['designpackid'] = 0; $wbbuserdata['templatestructure'] = ''; } ------------------------------------- suche: ------------------------------------- $groupids = explode(',', $wbbuserdata['groupids']); ------------------------------------- ersetze gegen: ------------------------------------- if(isset($wbbuserdata['groupids'])) $groupids = explode(',', $wbbuserdata['groupids']); else $groupids = array(); ------------------------------------- suche: ------------------------------------- $groupids[] = $wbbuserdata['groupid']; ------------------------------------- ersetze gegen: ------------------------------------- if(isset($wbbuserdata['groupid'])) $groupids[] = $wbbuserdata['groupid']; else $groupids = array(); ------------------------------------- suche: ------------------------------------- $groupids = explode(',', $wbbuserdata['groupids']); ------------------------------------- ersetze gegen: ------------------------------------- if(isset($wbbuserdata['groupids'])) $groupids = explode(',', $wbbuserdata['groupids']); else $groupids = array(); ------------------------------------- suche: ------------------------------------- $variables = unserialize($wbbuserdata['data']); ------------------------------------- ersetze gegen: ------------------------------------- if(isset($wbbuserdata['data'])) $variables = unserialize($wbbuserdata['data']); else $variables = array(); ------------------------------------- suche: ------------------------------------- inheritpermissions(0, $useraccesscache, 'useraccess'); ------------------------------------- ersetze gegen: ------------------------------------- inheritpermissions($useraccesscache, 0, 'useraccess'); ------------------------------------- suche: ------------------------------------- if (version_compare($phpversion, '4.3.0') >= 0 && in_array(wbb_strtoupper(ENCODING), $charsets)) return @htmlentities($text, ENT_COMPAT, ENCODING); elseif (in_array(wbb_strtoupper(ENCODING), array('ISO-8859-1', 'WINDOWS-1252'))) return htmlentities($text); ------------------------------------- ersetze gegen: ------------------------------------- if(defined('ENCODING')) { if (in_array(wbb_strtoupper(ENCODING), $charsets)) return @htmlentities($text, ENT_COMPAT, ENCODING); elseif (in_array(wbb_strtoupper(ENCODING), array('ISO-8859-1', 'WINDOWS-1252'))) return htmlentities($text); } ------------------------------------- suche: ------------------------------------- if (version_compare($phpversion, '4.3.0') >= 0 && in_array(wbb_strtoupper(ENCODING), $charsets)) return @html_entity_decode($text, ENT_COMPAT, ENCODING); elseif (in_array(wbb_strtoupper(ENCODING), array('ISO-8859-1', 'WINDOWS-1252'))) $trans_tbl = get_html_translation_table(HTML_ENTITIES); ------------------------------------- ersetze gegen: ------------------------------------- if(defined('ENCODING')) { if (in_array(wbb_strtoupper(ENCODING), $charsets)) return @html_entity_decode($text, ENT_COMPAT, ENCODING); elseif (in_array(wbb_strtoupper(ENCODING), array('ISO-8859-1', 'WINDOWS-1252'))) $trans_tbl = get_html_translation_table(HTML_ENTITIES); } ----------------------------------------- suche: ----------------------------------------- $board = $db->query_first("SELECT m.*, m.userid AS moderatorid,b.*".$select." FROM bb".$n."_boards b LEFT JOIN bb".$n."_moderators m ON (m.boardid=b.boardid AND m.userid='".$wbbuserdata['userid']."')".$join." WHERE b.boardid = '$boardid'"); ----------------------------------------- füge darunter ein: ----------------------------------------- if(!empty($board) && !$wbbuserdata['userid'] && ($filename == 'thread.php' || $filename == 'board.php')) { $board['lastvisit'] = 0; $board['emailnotify'] = 0; $board['countemails'] = 0; } ------------------------------------- suche: ------------------------------------- inheritpermissions(0, $permissioncache); ------------------------------------- ersetze gegen: ------------------------------------- inheritpermissions($permissioncache, 0); ------------------------------------- suche: ------------------------------------- /** * inherit forum permissions (permissions & useraccess) * * @param integer parentid * @param array permissioncache * @param string type * * @return void */ function inheritpermissions($parentid = 0, &$permissioncache, $type = 'forumpermissions') { ------------------------------------- ersetze gegen: ------------------------------------- /** * inherit forum permissions (permissions & useraccess) * * @param integer parentid * @param array permissioncache * @param string type * * @return void * Previously: function inheritpermissions($parentid = 0, &$permissioncache, $type = 'forumpermissions') * Alternative: function inheritpermissions($parentid, &$permissioncache, $type = 'forumpermissions') */ function inheritpermissions(&$permissioncache, $parentid = 0, $type = 'forumpermissions') { ------------------------------------- suche: ------------------------------------- inheritpermissions($boards['boardid'], $permissioncache, $type); ------------------------------------- ersetze gegen: ------------------------------------- inheritpermissions($permissioncache, $boards['boardid'], $type); ------------------------------------- suche: ------------------------------------- list($width, $height, $type) = @getimagesize($filename); ------------------------------------- ersetze gegen: ------------------------------------- $width = $height = $type = 0; $array = @getimagesize($filename); if(isset($array[0])) $width = $array[0]; if(isset($array[1])) $height = $array[1]; if(isset($array[2])) $type = $array[2]; ------------------------------------- suche: ------------------------------------- $alloimages = intval($alloimages); ------------------------------------- ersetze gegen: ------------------------------------- $allowimages = intval($allowimages); ------------------------------------- suche: ------------------------------------- if ($check['privatemessageid']) { ------------------------------------- ersetze gegen: ------------------------------------- if (!empty($check['privatemessageid'])) { ----------------------------------------- suche: ----------------------------------------- mb_strrpos($haystack, $needle, $encoding); ----------------------------------------- ersetze gegen: ----------------------------------------- mb_strrpos($haystack, $needle, 0, $encoding); ----------------------------------------- suche: ----------------------------------------- mb_strrpos($haystack, $needle, ENCODING); ----------------------------------------- ersetze gegen: ----------------------------------------- mb_strrpos($haystack, $needle, 0, ENCODING); ######################################### ################################### suche in /acp/lib/session.php nach: ----------------------------------- $HTTP_USER_AGENT = wbb_substr($_SERVER['HTTP_USER_AGENT'], 0, 100); ----------------------------------- ersetze gegen: ----------------------------------- if(isset($_SERVER['HTTP_USER_AGENT'])) $HTTP_USER_AGENT = wbb_substr($_SERVER['HTTP_USER_AGENT'], 0, 100); else $HTTP_USER_AGENT = 'none'; ----------------------------------- suche: ----------------------------------- if ($session['sessionhash']) { ----------------------------------- ersetze gegen: ----------------------------------- if (!empty($session['sessionhash'])) { ----------------------------------- suche: ----------------------------------- $wbbuserdata['styleid'] = 0; ----------------------------------- füge darunter ein: ----------------------------------- $wbbuserdata['emailnotify'] = 0; ----------------------------------- suche: ----------------------------------- $wbbuserdata['daysprune'] = 0; ----------------------------------- füge darunter ein: ----------------------------------- $wbbuserdata['usewysiwyg'] = 0; ################################### ############################################ suche in /acp/templates/group_copy.htm nach: -------------------------------------------- {$group[title]} -------------------------------------------- ersetze gegen: -------------------------------------------- {$group['title']} ############################################ ########################################################## suche in /acp/templates/group_permissionsbit.htm nach(2x): ---------------------------------------------------------- {$boards[boardid]} ---------------------------------------------------------- ersetze gegen: ---------------------------------------------------------- {$boards['boardid']} ########################################################## ############################################### suche in /acp/templates/group_viewbit.htm nach: ----------------------------------------------- checkAdminPermissions("a_can_users_email") && $row[count] ----------------------------------------------- ersetze gegen: ----------------------------------------------- checkAdminPermissions("a_can_users_email") && $row['count'] ############################################### ############################################## suche in /acp/templates/style_import.htm nach: ---------------------------------------------- {$data[general][wbbversion]} ---------------------------------------------- ersetze gegen: ---------------------------------------------- {$data['general']['wbbversion']} ---------------------------------------------- suche: ---------------------------------------------- {$data[general][stylename]} ---------------------------------------------- ersetze gegen: ---------------------------------------------- {$data['general']['stylename']} ---------------------------------------------- suche: ---------------------------------------------- ---------------------------------------------- ersetze gegen: ---------------------------------------------- ---------------------------------------------- suche: ---------------------------------------------- {$data[designpack][designpackname]} ---------------------------------------------- ersetze gegen: ---------------------------------------------- {$data['designpack']['designpackname']} ---------------------------------------------- suche: ---------------------------------------------- {$data[designelements][imagefolder]} ---------------------------------------------- ersetze gegen: ---------------------------------------------- {$data['designelements']['imagefolder']} ############################################### ##################################################### suche in /acp/templates/threads_spinbit.htm nach(8x): ----------------------------------------------------- {$row[threadid]} ----------------------------------------------------- ersetze gegen(8x): ----------------------------------------------------- {$row['threadid']} ##################################################### ########################################################## suche in /acp/templates/threads_spinclosebit.htm nach(4x): ---------------------------------------------------------- {$row[threadid]} ---------------------------------------------------------- ersetze gegen(4x): ---------------------------------------------------------- {$row['threadid']} ########################################################## ######################################################## suche in /acp/templates/threads_spindelbit.htm nach(4x): -------------------------------------------------------- {$row[threadid]} -------------------------------------------------------- ersetze gegen(4x): -------------------------------------------------------- {$row['threadid']} ######################################################## ######################################################### suche in /acp/templates/threads_spinmovebit.htm nach(8x): --------------------------------------------------------- {$row[threadid]} --------------------------------------------------------- ersetze gegen(8x): --------------------------------------------------------- {$row['threadid']} ######################################################### ####################################################### suche in /acp/templates/wordmatch_wordbit.htm nach(2x): ------------------------------------------------------- {$row[wordid]} ------------------------------------------------------- ersetze gegen(2x): ------------------------------------------------------- {$row['wordid']} ####################################################### ################################# suche in /archive/board.php nach: --------------------------------- $threadcount = $threadcount[0]; --------------------------------- ersetze gegen: --------------------------------- if(!empty($threadcount[0])) $threadcount = $threadcount[0]; else $threadcount = 0; ################################# ################################## suche in /archive/global.php nach: ---------------------------------- if (!$thread['threadid']) ---------------------------------- ersetze gegen: ---------------------------------- if (empty($thread['threadid'])) ##################################