 |
");
require('incs/connect.inc');
$result=mysql_query("select * from lessons where id = $id",$db);
while ($myrow = mysql_fetch_row($result))
{
$author = $myrow[36];
$email = $myrow[2];
$title = $myrow[1];
$original_author = $myrow[59];
}
echo("
|
|
$title
|
|
|
|
");
require('incs/connect.inc');
$result=mysql_query("select * from lessons where id = $id",$db);
while ($myrow = mysql_fetch_row($result))
{
echo("
|
|
Introduction
");
if (strlen($myrow[1]) < 1)
{
echo("
You will enter a title
");
} else
{
}
if (strlen($myrow[4]) < 1)
{
echo("
You will enter text here that provides background, instruction, and a context for what your students will be doing. Your introduction should properly set the stage for the tasks below, illustrating to the students not only what they are about to learn, but why. |
");
} else
{
$introduction = nl2br($myrow[4]);
if (strlen($myrow[38]) > 0)
{
echo("
");
}
echo("
$introduction
");
}
echo("
");
}
echo("
Web Resources
|
Title |
Description |
");
require('incs/connect.inc');
$result=mysql_query("select * from lessons where id = $id",$db);
while ($myrow = mysql_fetch_row($result))
{
echo("
|
$myrow[5] |
$myrow[7]
|
|
");
if (strlen($myrow[8]) > 0)
{
echo("
|
$myrow[8] |
$myrow[10]
|
|
");
}
if (strlen($myrow[11]) > 0)
{
echo("
|
$myrow[11] |
$myrow[13]
|
|
");
}
if (strlen($myrow[14]) > 0)
{
echo("
|
$myrow[14] |
$myrow[16]
|
|
");
}
if (strlen($myrow[17]) > 0)
{
echo("
|
$myrow[17] |
$myrow[19]
|
|
");
}
if (strlen($myrow[20]) > 0)
{
echo("
|
$myrow[20] |
$myrow[22]
|
|
");
}
if (strlen($myrow[23]) > 0)
{
echo("
|
$myrow[23] |
$myrow[25]
|
|
");
}
if (strlen($myrow[26]) > 0)
{
echo("
|
$myrow[26] |
$myrow[28]
|
|
");
}
if (strlen($myrow[29]) > 0)
{
echo("
|
$myrow[29] |
$myrow[31]
|
|
");
}
if (strlen($myrow[32]) > 0)
{
echo("
|
$myrow[32] |
$myrow[34]
|
|
");
}
echo("
|
");
// ========================================================== //
// Displaying Work Space //
echo("
Work Space
");
if ($myrow[51] > 0)
{
$id = $myrow[51];
$site_id = $myrow[0];
if ($myrow[53] == 1)
{
include('incs/display_questions.inc');
} else
{
if ($mode == 'read')
{
include('incs/display_read.inc');
} else
{
include('incs/display_collaborator.inc');
}
}
}
echo("
|
");
// //
// ========================================================== //
// ========================================================== //
// Displaying Rubric //
echo("
Evaluation
");
require('incs/connect.inc');
$result = mysql_query("select * from lessons where id = $lessonid",$db);
while ($myrow = mysql_fetch_row($result))
{
$rbrc_id = $myrow[50];
}
if ($rbrc_id > 0)
{
include('incs/display_rubric.inc');
}
echo("
|
");
// //
// ========================================================== //
// ========================================================== //
// Displaying Password //
echo("
|
|
");
// //
// ========================================================== //
echo("