- Desde
- 2 Ago 2006
- Mensajes
- 29
Buenas amigos, tengo un problema desde ayer. Decir que ni he actualizado el foro ni nada de nada.
El foro se muestra en pantalla perfectamente, es este Futbol Apuesta
Pero cuando trato de entrar en cualquier mensaje, no me lo muestra me sale una pantalla blanca y me pone lenguaje php, como por ejemplo esto.
Por favor, si alguien me puede explicar que ha podido pasar o como solucionarlo se lo agradeceria en el alma. Un saludo
El foro se muestra en pantalla perfectamente, es este Futbol Apuesta
Pero cuando trato de entrar en cualquier mensaje, no me lo muestra me sale una pantalla blanca y me pone lenguaje php, como por ejemplo esto.
PHP:
$v) unset($al_ar2[$k]); } if (count($al_arar)) { foreach($al_arar as $k=>$v) unset($al_arar[$k]); } if (count($al_mpp)) { foreach($al_mpp as $k=>$v) unset($al_mpp[$k]); } $vbulletin->input->clean_array_gpc('r', array( 'forumid' => TYPE_INT )); $al_forumid = intval($vbulletin->GPC['forumid']); $al_userid = $vbulletin->userinfo['userid']; if ($al_userid == "") $al_userid = "0"; if ($al_forumid == "") $al_forumid = "999999"; $r0 = $db->query_read("SELECT alvalue FROM " . TABLE_PREFIX . "autolinker_settings WHERE alkey='active'"); $ar0 = $db->fetch_array($r0); $al_isactive = $ar0['alvalue']; if ($al_isactive !="isactive") return 1; $r0 = $db->query_read("SELECT alvalue FROM " . TABLE_PREFIX . "autolinker_settings WHERE alkey='maxperpost'"); $ar0 = $db->fetch_array($r0); $al_mpp = $ar0['alvalue']; $today = strtotime("today"); ## rather that the current time. helps with caching of queries $copyright =""; $r1 = $db->query_read("SELECT *, " . TABLE_PREFIX . "autolinker_links.id FROM " . TABLE_PREFIX . "autolinker_links, " . TABLE_PREFIX . "autolinker_templates WHERE " . TABLE_PREFIX . "autolinker_templates.id=tid"); while ($ar = $db->fetch_array($r1)) { $al_arar[] = $ar; $r2 = $db->query_read("SELECT keyword FROM " . TABLE_PREFIX . "autolinker_keyword2link WHERE linkid=\"" . $ar['id'] . "\""); while ($ar2 = $db->fetch_array($r2)) { $al_ar2[$ar['id']][] = $ar2; } } } function autolinker_filter($foo) { global $vbulletin, $db, $al_forumid, $al_userid, $al_isactive, $al_okid, $ar_oklinks, $ar_okgroups, $al_mpp, $al_arar, $al_ar2, $copyright; if ($al_isactive !="isactive") return $foo; $al_mpp_t = $al_mpp; $countp = 0; $count = 0; $counttotal = 0; if (!(count($al_arar) > 0)) return $foo; foreach ($al_arar as $ar) { $countkw = 0; foreach ($al_ar2[$ar['id']] as $ar2) { $kw = trim($ar2['keyword']); $content = str_replace("\"", "'",$ar['content']); $content = str_replace("'", "\\'",$content); $content = str_replace("\n", "
", $content); $content = str_replace("\r", "", $content); $content = "" . $content . $copyright . ""; if ($lerror == 1) $content = ""; if ($ar['follow'] == 1) { $fol = "FOLLOWMOUSE, '1'"; } else {$fol = "FOLLOWMOUSE, 0";} if ($ar['shadow'] == 0) $ar['shadow'] = ""; if ($ar['titl'] == "") { $closebtn = 'false';} else {$closebtn = "true";} if ($ar['balloon'] == 0) { $js = "Tip('" . $content . "', BGCOLOR, '" . $ar['bgcolor'] . "', BORDERCOLOR, '" . $ar['bordercolor'] . "', BORDERWIDTH, '" . $ar['borderwidth'] . "', WIDTH, '-" . $ar['padding'] . "', TITLE, '" . $ar['titl'] . "', SHADOW, '" . $ar['shadow'] . "'," . $fol . ", OPACITY, '" . $ar['opacity'] . "', FADEIN, '" . $ar['fadein'] . "', FADEOUT, '" . $ar['fadeout'] . "', CLICKCLOSE, true," . "FOLLOWSCROLL, true,CLOSEBTN, $closebtn, PADDING, 0)"; } else { $js = "Tip('" . $content . "', BGCOLOR, '" . $ar['bgcolor'] . "', BORDERCOLOR, '" . $ar['bordercolor'] . "', BORDERWIDTH, '" . $ar['borderwidth'] . "'," . $fol . ", OFFSETX, -10, OPACITY, '" . $ar['opacity'] . "', FADEIN, '" . $ar['fadein'] . "', FADEOUT, '" . $ar['fadeout'] . "', CLICKCLOSE, true," . "FOLLOWSCROLL, true, PADDING, 0, BALLOON, true,ABOVE, true, BALLOONIMGPATH , 'autolinker/images/balloons/" . $ar['ballooncolor'] . "')"; } if ($ar['sticky'] == 0) { $omo = "onmouseout='UnTip()'"; } else { $omo = ""; } if ($ar['mouseover'] == "popup") { $om = "onmouseover"; } else { $om = "onclick";} if ($forumid == "999999") { $align = "align=\"absmiddle\"";} else {$align = "";} if ($ar['image'] > 0) { $img = ""; } else { $img = "";} if ($ar['href'] == "link") { $hrt = $ar['url']; $nofollow = "rel=\"nofollow\""; } else { $hrt = "javascript:;"; $nofollow = "";} $tmplink = "" . $kw . "" . $img . ""; $count++; $bits[$count] = $tmplink; $words[$count] = $kw; $cp = 0; if ($ar['case_sensitive'] == 0) { if (($counttotal < $al_mpp_t)||($al_mpp_t == 0)) { if ($ar['max'] == 0) { $foo = preg_replace("/\b(?= 0) { $foo = preg_replace("/\b(?= 0) { $foo = preg_replace("/\b(?]*?)\>(.*?)\%ALHOLDER" . $x . "\%(.*?\<\/a)/", "$1 >" . "$2" . $words[$x] . "$3" , $foo); $foo = preg_replace("/(\]*?)%ALHOLDER" . $x . "%(.*?\>)/", "$1" . $words[$x] . "$2" , $foo); $foo = preg_replace("/(\<[^>]*?)%ALHOLDER" . $x . "%(.*?\>)/", "$1" . $words[$x] . "$2" , $foo); $foo = preg_replace("/%ALHOLDER" . $x . "%/", $bits[$x], $foo); } return $foo; }
Por favor, si alguien me puede explicar que ha podido pasar o como solucionarlo se lo agradeceria en el alma. Un saludo