KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/leedan/generator/pages/mods/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/leedan/generator/pages/mods/extra_embedplayer.inc.php
<?php

$site_url = $grab_parameters['xs_initurl'];

if(!function_exists('xml_extra_video_step1'))
{
function xml_extra_video_step1(&$ent, $cn, &$imlist)
{
   	preg_match_all('#(new SWFObject[^>]*?\.addVariable\("config", "([^"]*?)")#is', 
   		$cn, $aima, PREG_SET_ORDER);
   	foreach($aima as $im)
   	{
   		if(!$imlist[$im[2]]++)
   		$ent['v'][] = array($im[1],$im[2]);
   	}
}

function xml_extra_video_step2(&$varr, $params)
{
	global $site_url, $lfetch;

	if(!$lfetch)
	$lfetch = new HTTPFetch();


  	if(preg_match('#^new SWFObject#',$varr['playerloc']))
  	{
  		$cl = $varr['vid'];
  		$fc = $lfetch->fetch($varr['vid']);
  		$fc = $fc['content'];
  		if(preg_match('#Name="FLVPath" Value="(.*?)"#', $fc, $fm));
  		$varr['contentloc'] = $fm[1];
  		if(preg_match('#Name="FirstFrameAs".*?Url="(.*?)"#i', $fc, $fm));
  		$varr['thumb'] = $fm[1];
  		$varr['playerloc'] = '';
	}
}


}

Anon7 - 2021