Changeset 137 for devel/web/index.pas
Legend:
- Unmodified
- Added
- Removed
-
devel/web
- Property svn:ignore
-
old new 4 4 backup 5 5 6 index 6 index.cgi 7 8 index.compiled
-
- Property svn:ignore
-
devel/web/index.pas
r134 r137 5 5 uses 6 6 UCore, USqlDatabase, SysUtils, UMainPage, pwinit, pwmain, 7 UFinancePage ;7 UFinancePage, UNewsPage; 8 8 9 9 var … … 14 14 SetHeader('Content-Type', 'text/html; charset=utf-8'); 15 15 PageName := GetCgiVar('p'); 16 if PageName = '' then PageName := ' finance-clenove';16 if PageName = '' then PageName := 'index'; 17 17 I := 0; 18 18 while (I < Length(Pages)) and (Pages[I].Name <> PageName) do Inc(I); 19 19 if I < Length(Pages) then Output := Pages[I].Producer 20 20 else Output := 'Stránka nenalezena'; 21 WebWriteLn( Output);21 WebWriteLn(FormatOutput(Output)); 22 22 end.
Note:
See TracChangeset
for help on using the changeset viewer.