| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | EleBBS: Eleweb PAS Question |
* EleBBS Support List
Hi All
I'm after a little help here with a little Pascal in eleweb..
what i want to do is display 2 seperate htm files based on if the user is
logged in or not.
e.g. guest.htm (for guests)
And member.htm (for members)
If was wonder if I could use part of this code
--------------------------------------------------------------------------
{-- Make sure this is not run on an anonymous logon
------------------------}
if NOT web_IsLoggedOn then
begin
web_RunErrorScript(4, ''); { Show an "Access denied"
error }
Halt; { Terminate this
script }
end; { if }
---------------------------------------------------------------------------
With part of this code
{-- Show the list-user header ------------------------------------------}
if NOT web_ShowHtmlFile('blocks/members/main_left.htm') then
ShowError('Unable to find main_left.htm');
---------------------------------------------------------------------------
or maybe someone has a better idea :)
Thanks
-- Coolmax
------------------------------------------------------
Running Fully Modded EleBBS System
------------------------------------------------------
Telnet/HTTP/FTP/NNTP/KDX
ddomain.bbs.us
_______________________________________________________________
--- Internet Rex 2.29
* Origin: The gateway at The Snake (2:280/4312.101)SEEN-BY: 633/267 270 @PATH: 280/4312 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.