Quote:
Originally Posted by baki
Hello
I have a problem in Plugin
PHP Code:
if (!$GLOBALS['FIRSTPOSTID']){
global $forumid;
$v_array = explode("<br />", $post['message']);
// 2222
$y=count($v_array);
// 222
$rand = rand(1,$y);
eval('$v_arraq .= "' . fetch_template('adsense_linepost') . '";');
$v_array[$rand]= $v_arraq.$v_array[$rand];
$post['message'] = implode("<br />", $v_array);
}
Can you correct it ?
To comply with vb4
|
From what I can see everything is good until you get to the eval bit, read this
https://vborg.vbsupport.ru/showthread.php?t=228078 . Should be a simple edit.