Jump to content

Remove


TheUnknown

Recommended Posts

/// FIND CLASS A //

$classa = explode("<span class=\"a\">", $aud[0]);
$classa = explode("</span>", $classa[1]);

/// FIND CLASS A //

$classs = explode("<span class=\"s\">", $aud[0]);
$classs = explode("</span>", $classa[1]);

/// FIND CLASS U //

$classu = explode("<span class=\"u\">", $aud[0]);
$classu = explode("</span>", $classu[1]);

/// FIND CLASS D //

$classd = explode("<span class=\"d\">", $aud[0]);
$classd = explode("</span>", $classd[1]);

//TAGS //
$tagz = explode("&#187;", $aud[0]);
$tagz = explode("</dt>", $tagz[1]);

//LINKz
$linkz = explode("href=\"/", $aud[0]);
$linkz = explode("\">", $linkz[1]);

//NAMEZ
$namez = explode($linkz[0]."\">", $aud[0]);
$namez = explode("</a>", $namez[1]);

//STYLE
$stylez = explode("style=\"", $aud[0]);
$stylez = explode("><a href=", $stylez[1]);

   if (!empty($aud[0]))
   {
$name = $aud[0];
$link = $link[0];
$classa = $classa[0]; // 2 DAYS AGO
$classs = $classs[0]; // 699MB
$classu = $classu[0]; // YESÝL YAZILI UPLOADERS
$classd = $classd[0]; // DOWNLOADERS
$tagz = $tagz[0]; // TAGS 
$linkz = $linkz[0]; //links
$namez = $namez[0]; //names
$stylez = $stylez[0]; //names

$stylez = str_replace("/images/", $CFG['domain']."/images/", $stylez);

if (preg_match("|accept|", $aud[0]))
 {

	}

$namezx=strtr($namez,"ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÑÒÓÔÕÖØÙÚÛÜßàáâãäåæçèéêëìíîïñòóôõöøùúûüÿÜü??????",
     "AAAAAAACEEEEIIIINOOOOOOUUUUsaaaaaaaceeeeiiiinoooooouuuuyUuSsGgIi");

$namezx = strip_tags($namezx);

$beforeseo = array("/[^a-zA-Z0-9]/", "/-+/", "/-$/");
$afterseo = array("-", "-", "");

$namezx = strtolower(preg_replace($beforeseo, $afterseo , $namezx));      
     
echo "
<tr class=\"resultsrow\">
<td class=\"name\" style=\"".$stylez."\"><a href=\"".$CFG['domain']."/dl/".$namezx."/".$linkz."\" title=\"\">".$namez."</a> &#187; ".$tagz."

 

 

This is an example of what shows up in the search browser

 

mysite.com/dl/made-of-honor-2008-dvdrip-axxo/769186992b30095794171a52af23f00f4b654a9d

 

im trying to get rid of the 769186992b30095794171a52af23f00f4b654a9d

 

any ideas ?

Thanks

Link to comment
Share on other sites

find the correct varable with the numbers/letters in then use sub str

 

this goes in the php area before the current posted issue..........

<?php
$tagz=substr($tagz,0,56);
?>

 

example before this place my code sorry guessing but use substr as each varable holds diffent values ok mate.

echo "
<tr class=\"resultsrow\">
<td class=\"name\" style=\"".$stylez."\"><a href=\"".$CFG['domain']."/dl/".$namezx."/".$linkz."\" title=\"\">".$namez."</a> &#187; ".$tagz."

 

 

 

brake down of substr......

 

$tagz <<<<<<varable name

=  <<<<<<<<<<<<equal

substr <<< php function name

( <<<<<< open function

$tagz <<<<<<<< add the varable to use within the function

, <<<<<<<< comma to tell the function there another somthink commining a number in this case

0<<<<<<<< where starting at 0 meaning the first letter that the function counts from.

,<<<<<<<<<< another comma

56 <<<<<<< the number we want the funtion to stop at and not show anythink above it

)<<<<<<<<close the function

;<<< tell php end the current php  function.

 

last thing read the manual lol sorry coulnt rezist..........

Link to comment
Share on other sites

$linkz is the varable that prints out the hash   769186992b30095794171a52af23f00f4b654a9d

 

 

 

Just removed the $linkz variable then.

 

<td class=\"name\" style=\"".$stylez."\"><a href=\"".$CFG['domain']."/dl/".$namezx."/".$linkz."\" title=\"\">".$namez."</a> &#187; ".$tagz."

 

Like this:

 

<td class=\"name\" style=\"".$stylez."\"><a href=\"".$CFG['domain']."/dl/".$namezx."\" title=\"\">".$namez."</a> &#187; ".$tagz."

Link to comment
Share on other sites

i would like the links to say

www.site.com/dl/made-of-honor-2008-dvdrip-axxo/

Instead of www.site.com/dl/made-of-honor-2008-dvdrip-axxo/34543654365437654365363etrre

 

Try this:

 

<td class=\"name\" style=\"".$stylez."\"><a href=\"".$CFG['domain']."/dl/".$namezx."/" title=\"\">".$namez."[/url] &#187; ".$tagz."

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.