Changeset 53 for trunk/CGI.lpr
- Timestamp:
- Jul 20, 2011, 10:50:41 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CGI.lpr
r52 r53 5 5 uses 6 6 UCore, USqlDatabase, SysUtils, Contnrs, 7 U MainPage, UUser, UHTTPSessionMySQL, UHTTPSessionFile, UPagesModule,7 UContactPage, UUser, UHTTPSessionMySQL, UHTTPSessionFile, UPagesModule, 8 8 UCommon, UHTTPServer, UHTTPServerTCP, UHTTPServerCGI, UTCPServer, UPool, 9 UMemoryStreamEx, UMIMEType, UPageList, Interfaces, UMainModule; 9 UMemoryStreamEx, UMIMEType, UPageList, Interfaces, UMainModule, UWebApp, 10 UInternetPage, UHostingPage, UHistoryPage, UDocumentsPage, UVoIPPage, 11 ULinksPage, UPlansPage, UServerInfoPage, UWebCamPage, UUserControlPage, 12 UNetworkPage, UAboutPage; 10 13 14 var 15 Application: TWebApp; 11 16 begin 12 MainModule := TMainModule.Create(nil); 13 PagesModule := TPagesModule.Create(nil); 14 with MainModule, PagesModule do 17 Application := TWebApp.Create(nil); 18 with Application do 15 19 try 16 RegisterPage('internet', PageInternet); 17 RegisterPage('hosting', PageHosting); 18 RegisterPage('historie', PageHistory); 19 RegisterPage('dokumenty', PageDocuments); 20 RegisterPage('voip', PageVoIP); 21 RegisterPage('odkazy', PageLinks); 22 RegisterPage('kontakt', PageContact); 23 RegisterPage('serverinfo', PageServerInfo); 24 RegisterPage('kamery', PageWebCam); 25 RegisterPage('uzivatel', PageUserControl); 26 RegisterPage('plany', PagePlans); 27 RegisterPage('sit', PageNetwork); 28 RegisterPage('', PageAbout); 20 Initialize; 21 RegisterPage(TInternetPage, InternetPage, 'internet'); 22 RegisterPage(THostingPage, HostingPage, 'hosting'); 23 RegisterPage(THistoryPage, HistoryPage, 'historie'); 24 RegisterPage(TDocumentsPage, DocumentsPage, 'dokumenty'); 25 RegisterPage(TVoIPPage, VoIPPage, 'voip'); 26 RegisterPage(TLinksPage, LinksPage, 'odkazy'); 27 RegisterPage(TContactPage, ContactPage, 'kontakt'); 28 RegisterPage(TServerInfoPage, ServerInfoPage, 'serverinfo'); 29 RegisterPage(TWebCamPage, WebCamPage, 'kamery'); 30 RegisterPage(TUserControlPage, UserControlPage, 'uzivatel'); 31 RegisterPage(TPlansPage, PlansPage, 'plany'); 32 RegisterPage(TNetworkPage, NetworkPage, 'sit'); 33 RegisterPage(TAboutPage, AboutPage, ''); 29 34 Run; 30 35 finally 31 MainModule.Free; 32 PagesModule.Free; 36 Free; 33 37 end; 34 38 end.
Note:
See TracChangeset
for help on using the changeset viewer.