Changeset 33 for trunk/Pages/UMainPage.pas
- Timestamp:
- Sep 13, 2010, 11:20:24 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 2 2 UConfig.pas 3 3 bin 4 lib
-
- Property svn:ignore
-
trunk/Pages/UMainPage.pas
r27 r33 6 6 7 7 uses 8 Classes, SysUtils, USqlDatabase, UCore, UCustomCGIApplication, UHtmlClasses; 9 10 procedure Links(App: TCustomCGIApplication); 11 procedure History(App: TCustomCGIApplication); 12 procedure Internet(App: TCustomCGIApplication); 13 procedure VoIP(App: TCustomCGIApplication); 14 procedure Hosting(App: TCustomCGIApplication); 15 procedure About(App: TCustomCGIApplication); 16 procedure Documents(App: TCustomCGIApplication); 17 procedure Contact(App: TCustomCGIApplication); 8 Classes, SysUtils, USqlDatabase, UCore, UCustomApplication, UHtmlClasses, 9 UHTTPServer; 10 11 procedure Links(App: TCustomApplication; HandlerData: THTTPHandlerData); 12 procedure History(App: TCustomApplication; HandlerData: THTTPHandlerData); 13 procedure Internet(App: TCustomApplication; HandlerData: THTTPHandlerData); 14 procedure VoIP(App: TCustomApplication; HandlerData: THTTPHandlerData); 15 procedure Hosting(App: TCustomApplication; HandlerData: THTTPHandlerData); 16 procedure About(App: TCustomApplication; HandlerData: THTTPHandlerData); 17 procedure Documents(App: TCustomApplication; HandlerData: THTTPHandlerData); 18 procedure Contact(App: TCustomApplication; HandlerData: THTTPHandlerData); 19 procedure ServerInfo(App: TCustomApplication; HandlerData: THTTPHandlerData); 18 20 19 21 implementation 20 22 21 procedure Links(App: TCustom CGIApplication);23 procedure Links(App: TCustomApplication; HandlerData: THTTPHandlerData); 22 24 begin 23 25 App.HtmlDocument.Title := 'Odkazy'; … … 65 67 end; 66 68 67 procedure History(App: TCustom CGIApplication);69 procedure History(App: TCustomApplication; HandlerData: THTTPHandlerData); 68 70 var 69 71 DbRows: TDbRows; … … 90 92 end; 91 93 92 procedure Internet(App: TCustom CGIApplication);94 procedure Internet(App: TCustomApplication; HandlerData: THTTPHandlerData); 93 95 begin 94 96 with App do begin … … 116 118 end; 117 119 118 procedure VoIP(App: TCustom CGIApplication);120 procedure VoIP(App: TCustomApplication; HandlerData: THTTPHandlerData); 119 121 begin 120 122 with App do begin … … 150 152 end; 151 153 152 procedure Hosting(App: TCustom CGIApplication);154 procedure Hosting(App: TCustomApplication; HandlerData: THTTPHandlerData); 153 155 var 154 156 I: Integer; … … 183 185 end; 184 186 185 procedure About(App: TCustom CGIApplication);187 procedure About(App: TCustomApplication; HandlerData: THTTPHandlerData); 186 188 var 187 189 TextBlock: THtmlString; … … 235 237 end; 236 238 237 procedure Documents(App: TCustom CGIApplication);239 procedure Documents(App: TCustomApplication; HandlerData: THTTPHandlerData); 238 240 begin 239 241 with App do begin … … 259 261 end; 260 262 261 procedure Contact(App: TCustom CGIApplication);263 procedure Contact(App: TCustomApplication; HandlerData: THTTPHandlerData); 262 264 begin 263 265 App.HtmlDocument.Title := 'Kontakt'; … … 275 277 end; 276 278 279 procedure ServerInfo(App: TCustomApplication; HandlerData: THTTPHandlerData); 280 begin 281 HandlerData.Session.Values['Test'] := 'Tst'; 282 App.HTTPServer.ServerInfo(HandlerData); 283 end; 284 277 285 end. 278 286
Note:
See TracChangeset
for help on using the changeset viewer.