Show code
Show code
This is some of it were the address is:
if(isset($start_from) and $start_from != ""){
if($i < $start_from){ $i++; continue; }
elseif($showed == $number){ break; }
}
if($my_names[$news_arr[1]]){ $my_author = $my_names[$news_arr[1]]; }
else{ $my_author = $news_arr[1]; }
$output = $template_active;
$output = str_replace("{title}", $news_arr[2], $output);
$output = str_replace("{author}", $my_author, $output);
if($news_arr[5] != ""){$output = str_replace("{avatar}", "<img alt=\"\" src=\"$news_arr[5]\" style=\"border: none;\" />", $output); }
else{ $output = str_replace("{avatar}", "", $output); }
$output = str_replace("{avatar-url}", "$news_arr[5]", $output);
$output = str_replace("[link]","<a href=\"$PHP_SELF?subaction=showfull&id=$news_a rr[0]&archive=$archive&start_from=$my_start_fro m&ucat=$news_arr[6]&$user_query\">", $output);
$output = str_replace("[/link]","</a>", $output);
$output = str_replace("{comments-num}", countComments($news_arr[0], $archive), $output);
$output = str_replace("{short-story}", $news_arr[3], $output);
$output = str_replace("{full-story}", $news_arr[4], $output);
$output = str_replace("{category}", catid2name($news_arr[6]), $output);
$output = str_replace("{category-id}", $news_arr[6], $output);
if($cat_icon[$news_arr[6]] != ""){ $output = str_replace("{category-icon}", "<img alt=\"".$cat[$news_arr[6]]." icon\" style=\"border: none;\" src=\"".$cat_icon[$news_arr[6]]."\" />", $output); }
else{ $output = str_replace("{category-icon}", "", $output); }
$output = str_replace("{author-name}", $name_to_nick[$news_arr[1]], $output);
that doesnt even have target="" in it?
Change to that altering the iframenameCode:if(isset($start_from) and $start_from != ""){ if($i < $start_from){ $i++; continue; } elseif($showed == $number){ break; } } if($my_names[$news_arr[1]]){ $my_author = $my_names[$news_arr[1]]; } else{ $my_author = $news_arr[1]; } $output = $template_active; $output = str_replace("{title}", $news_arr[2], $output); $output = str_replace("{author}", $my_author, $output); if($news_arr[5] != ""){$output = str_replace("{avatar}", "<img alt=\"\" src=\"$news_arr[5]\" style=\"border: none;\" />", $output); } else{ $output = str_replace("{avatar}", "", $output); } $output = str_replace("{avatar-url}", "$news_arr[5]", $output); $output = str_replace("[link]","<a href=\"$PHP_SELF?subaction=showfull&id=$news_a rr[0]&archive=$archive&start_from=$my_start_fro m&ucat=$news_arr[6]&$user_query\" target=\"iframename\" />", $output); $output = str_replace("[/link]","</a>", $output); $output = str_replace("{comments-num}", countComments($news_arr[0], $archive), $output); $output = str_replace("{short-story}", $news_arr[3], $output); $output = str_replace("{full-story}", $news_arr[4], $output); $output = str_replace("{category}", catid2name($news_arr[6]), $output); $output = str_replace("{category-id}", $news_arr[6], $output); if($cat_icon[$news_arr[6]] != ""){ $output = str_replace("{category-icon}", "<img alt=\"".$cat[$news_arr[6]]." icon\" style=\"border: none;\" src=\"".$cat_icon[$news_arr[6]]."\" />", $output); } else{ $output = str_replace("{category-icon}", "", $output); } $output = str_replace("{author-name}", $name_to_nick[$news_arr[1]], $output);
Want to hide these adverts? Register an account for free!