• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

princenuce

New Member
demo: http://teenclub.info/clip-***-2/ click vào 2 link trên đó để xem
uhm bạn mở file /incfiles/class/bbcode.php ra
thêm vào sau

class bbcode extends core
{

code này
public static function get ($url)
{
$header[] = "Accept-Language: en-us,en;q=0.5";
$curl = curl_init();
curl_setopt ($curl, CURLOPT_URL, $url);
curl_setopt ($curl, CURLOPT_HTTPHEADER, $header);
curl_setopt ($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($curl, CURLOPT_ENCODING, "");
$data= curl_exec ($curl);
curl_close ($curl);
return $data ;
}
public static function xvd ($in)
{
preg_match ('#\[vd\](http://www.xvideos.com/|[url]http://xvideos.com/|www.xvideos.com/)(. )\[/vd\]#is',$in,$u);[/URL]
$htm = self::get ($u[1].$u[2]);
preg_match ('#<div id="player" style="font-size:18px; color:black; font-weight: bold; background-color: \#000000;">(.+?)flashvars="(.+?)"(.+?)</div>#s',$htm,$out);
$a = '<embed type="application/x-shockwave-flash" src="http://static.xvideos.com/swf/xv-player.swf" id="flash-player-embed" wmode="transparent" quality="high" allowfullscreen="true" allowscriptaccess="always" flashvars="';
$c = '" width="600" height="500" />';
$b = $out[2];
return preg_replace ('#\[vd\](http://www.xvideos.com/|[url]http://xvideos.com/|www.xvideos.com/)(. )\[/vd\]#is',$a.$b.$c,$in);[/URL]
}


rồi thêm vào sau
public static function tags($var)
{

code này
$var = self::xvd ($var);
rồi thêm vào trước
<a href="javascript:tag(\'\', \'\')">
code này
<a href="javascript:tag(\'[vd]\', \'[/vd]\')"><b>XVD</b></a>
rồi save lại test coi, demo khác http://teenclub.info/clip-***/
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top