Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(substr($row['onserver'], -8) == ".torrent") {
- include 'tracker/file_attachment.php';
- $find_1[] = '[attachment=' . $row['id'] . ']';
- $find_2[] = "#\[attachment={$row['id']}:(.+?)\]#i";
- preg_match_all('/download\.php\?id=(\d{1,})/', $tmp, $link);
- //$lidd = "{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}";
- $lidd = "http://site.biz/upload/{$row['onserver']}";
- // $tmp = preg_replace('/\/engine\/download\.php\?id=(\d{1,})/', $li, $tmp);
- $ts = '/\/engine\/download\.php\?id=(\d{1,})/';
- $fs = "<noindex><a href=\"http://site.biz/?file_name={$row['name']}&site_id=1208&file_type=torrent&file_size=133000&file_url={$lidd}\" rel=\"nofollow\" >";
- $tmp=preg_replace('/<a href="([\r\n\w+\W+].*?)">/',$fs,$tmp);
- $tmp=preg_replace('/<\/a>/','</a></noindex>',$tmp);
- /**
- * LoadMoney End
- */
- $replace_1[] = $tmp;
- $replace_2[] = $tmp;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement