Just a sample of the Echomail archive
[ << oldest | < older | list | newer > | newest >> ]
|  Message 547  | ||||||||
|  ATREYU to All  | ||||||||
|  MakeHTML v1.1  | ||||||||
|    | ||||||||
 
MSGID: 1:229/426 F26003FA
A slight update.
program makehtml;
uses sysutils,dos;
var p,w : string;
dirinfo : SearchRec;
ft : tdatetime;
h,t,t2 : text;
const df = 'mm"/"dd"/"yyyy';
procedure make_html(what : string ; ts,si : longint);
var sz,d,ds,b : string;
begin
d:='';
assign(t,p+'files.bbs');
(*$I-*) reset(t);
if ioresult=0 then
begin
while not eof(t) and (d='') do
begin
readln(t,w);
if (pos(uppercase(what),uppercase(w))>0) then
d:=copy(w,length(what)+2,length(w));
end;
close(t);
end;
if (uppercase(paramstr(4))<>'N') and (uppercase(what)<>'FILES.BBS') then
begin
ft:=FileDateToDateTime(ts);ds:=FormatDateTime(df,ft);
if si>1024 then begin b:='k';si:=si div 1024; end else b:='b';
str(si:1,sz);
writeln(h,' |
[ << oldest | < older | list | newer > | newest >> ]