source: trunk/Modules/ZdechovNET/ContactPage.pas

Last change on this file was 151, checked in by chronos, 9 months ago
File size: 1.4 KB
Line 
1unit ContactPage;
2
3interface
4
5uses
6 Classes, SysUtils, FileUtil, WebPage, HTTPServer, HtmlClasses, ModuleUser;
7
8type
9
10 { TContactPage }
11
12 TContactPage = class(TWebPage)
13 procedure DataModuleProduce(HandlerData: THTTPHandlerData);
14 end;
15
16var
17 ContactPage: TContactPage;
18
19
20implementation
21
22{$R *.lfm}
23
24uses
25 Core, WebSession;
26
27procedure TContactPage.DataModuleProduce(HandlerData: THTTPHandlerData);
28var
29 ModuleUser: TModuleUser;
30begin
31 with TWebSession(HandlerData), HtmlDocument.Body, SubItems.AddString do begin
32 ModuleUser := TModuleUser(ModuleManager.FindModuleByName('User'));
33 if Request.Path.Count > 1 then begin
34 PageNotFound;
35 Exit;
36 end;
37
38 ModuleUser.LoadUserInfo;
39 Text := '<strong>Kontaktní informace</strong><br/>' +
40 'Provozovatel: <strong>Ing. Jiří Hajda</strong><br/>' +
41 'Adresa: <strong>Zděchov 208, 75607</strong><br/>' +
42 'Telefon: <strong>737785792</strong><br/>' +
43 'E-mail: <a href="mailto: robie@centrum.cz">robie@centrum.cz</a><br/>' +
44 'Jabber: <strong>chronos@jabbim.cz</strong><br/>' +
45 'IČ: <strong>75904535</strong><br/>' +
46 'DIČ: <strong>CZ8303255884</strong> (neplátce DPH)<br/>' +
47 'Bankovní spojení pro platby v CZK v ČR: <strong>2600134781 / 2010</strong><br/>' +
48 'Bankovní spojení IBAN pro platby v EUR v SR: <strong>CZ20 2010 0000 0026 0013 4781</strong><br/>' +
49 'Datová schránka: <strong>crkayqe</strong><br/>';
50 GeneratePage(Self);
51 end;
52end;
53
54end.
55
Note: See TracBrowser for help on using the repository browser.