home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
gohttp.zip
/
Footer.Rxx
< prev
next >
Wrap
Text File
|
1995-07-11
|
791b
|
24 lines
/*ALC-- Albert's footer code*/
/* modified to insert at end of HTML body - dlm */
parse arg filename, contents, serveradmin
call SysFileTree translate(filename,'\','/'),'files.'
parse var files.1 date time .
crlf = '0d0a'x
rest = '#'
if (pos('</body>', contents) \= 0) then parse var contents body'</body>'rest
else
if (pos('</BODY>', contents) \= 0) then parse var contents body'</BODY>'rest
else
if (pos('</Body>', contents) \= 0) then parse var contents body'</Body>'rest
else body = contents
if (rest == '#') then rest = ''
else rest = '</body>' || rest
contents = body||'<hr><i>Last updated: 'time'm on 'date'</i>'crlf,
'<br><address>'ServerAdmin'</address>'crlf || rest
return contents