initial commit of new webpage
[runtime.git] / public_html / html / todo.php
diff --git a/public_html/html/todo.php b/public_html/html/todo.php
new file mode 100644 (file)
index 0000000..a050763
--- /dev/null
@@ -0,0 +1,17 @@
+&nbsp;<br />
+<tt class="black">
+<?php
+
+if (Is_Readable("txt/todo.txt")) {
+  $fp = FOpen("txt/todo.txt", "r");
+
+  while($line = FGets($fp, 255)) {
+    $newline = Ereg_Replace("^[ ]{2,4}","&nbsp;&nbsp;",$line);
+    $line = Ereg_Replace("^([\t]|[ ][\t])","&nbsp;&nbsp;&nbsp;&nbsp;",$newline);
+    printf("%s", nl2br($line));
+  }
+
+  FClose($fp);
+  }
+?>
+</tt>