";
echo "
";
echo "";
$currentsection = "";
$fh = fopen('projects.txt','r') or die($php_errormsg);
while( $proj = fgets($fh) )
{
if( $proj[0] == "+" )
{
echo "
";
echo "
";
echo "";
echo "- ";
echo "
" . $proj . "
";
echo "";
$currentsection = substr( $proj, 1 );
}
else
{
echo "" . $proj . "";
}
}
echo "
";
echo "
";
echo "";
}
if( $root == 'projects' )
projectsidebar();
else
echo "This is not the sidebar you are looking for.";
?>