Changeset 138 for trunk/Modules/ZdechovNET/UAboutPage.pas
- Timestamp:
- Sep 9, 2022, 8:20:25 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/ZdechovNET/UAboutPage.pas
r137 r138 12 12 TAboutPage = class(TWebPage) 13 13 procedure DataModuleProduce(HandlerData: THTTPHandlerData); 14 private15 { private declarations }16 14 public 17 15 ModuleUser: TModuleUser; … … 39 37 with TWebSession(HandlerData) do begin 40 38 ModuleUser.LoadUserInfo; 41 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create))do begin39 with HtmlDocument.Body, SubItems.AddString do begin 42 40 Text := '<table><tr><td style="vertical-align: top;">' + 43 41 '<a href="' + NavigationLink('/images/pokryti.jpg') + '">' + … … 88 86 for I := 0 to DbRows.Count - 1 do begin 89 87 Text := Text + '<div>' + 90 '<strong>' + DbRows[I]. Values['Title'] + '</strong> ' +91 '<strong>(' + HumanDate(SQLToDateTime(DbRows[I]. Values['Time'])) + ')</strong>' +88 '<strong>' + DbRows[I].Items['Title'] + '</strong> ' + 89 '<strong>(' + HumanDate(SQLToDateTime(DbRows[I].Items['Time'])) + ')</strong>' + 92 90 '<br/>' + 93 DbRows[I]. Values['Text'] + '</div></br>';91 DbRows[I].Items['Text'] + '</div></br>'; 94 92 end; 95 93 finally
Note:
See TracChangeset
for help on using the changeset viewer.