Sindbad~EG File Manager
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Otter-λ Help</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style4 {
color: #000066;
font-size: xx-large;
}
-->
</style>
</head>
<body>
<div align="left">
<p><img alt="small logo" src="logo.jpg" height="59" width="66"/></p>
</div>
<?php
$file = fopen("otter-settings.txt","rt");
if ( !$file ) {
echo "ERROR: Could not open the help file.<br>";
exit();
}
$found = 0;
while ( !feof($file) ){
$line=fgets($file,4096);
$line = rtrim($line,"\n \r \t");
if ( $flag==$line ) {
$usage = fgets($file,4096);
$default = fgets($file,4096);
$description = fgets($file,4096);
$found = 1;
break;
}
}
fclose($file);
echo "<p class=\"style4\"><b>$flag</b></p><hr><br>";
if ( $found==1 ) {
echo "<b>Usage: </b>$usage<br><br>";
echo "<b>Default Value: </b>$default<br><br>";
echo "<b>Description: </b>$description<br><br>";
} else {
echo "There was no help found for $flag.<br><br>\n";
}
?>
<hr>
<div align="center">
</center><a href="javascript:window.close();">Close</a>
</div>
</body>
</html>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists