- Timestamp:
- Sep 10, 2010, 8:09:21 AM (14 years ago)
- Location:
- branches/lazarus
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/lazarus/.htaccess
r24 r27 3 3 DirectoryIndex index.cgi 4 4 5 # Disable access to source code files 5 6 <FilesMatch "\.(pas|o|ppu|lpi|a)$"> 6 7 Deny from all 7 8 </FilesMatch> 9 10 RewriteEngine on 11 RewriteCond %{REQUEST_FILENAME} !-f 12 RewriteCond %{REQUEST_FILENAME} !-d 13 RewriteRule ^(.*)$ index.cgi?$1 -
branches/lazarus/Application/UCustomCGIApplication.pas
r26 r27 7 7 uses 8 8 Classes, SysUtils, UCGIApplication, Contnrs, USqlDatabase, UConfig, DateUtils, 9 UXmlClasses, UHtmlClasses, UCore ;9 UXmlClasses, UHtmlClasses, UCore, UStringListEx; 10 10 11 11 type … … 89 89 TitleTag: THtmlString; 90 90 begin 91 //SysInfo;92 Style := 'Basic';91 Style := ConfigStyle; 92 BaseURL := ConfigBaseURL; 93 93 94 94 HtmlDocument.ContentLanguage := 'cs'; 95 95 GlobalTitle := 'ZděchovNET'; 96 HtmlDocument.Styles.Add('Style/' + Style + '/Style.css'); 97 HtmlDocument.Scripts.Add('Style/' + Style + '/Global.js'); 98 HtmlDocument.Scripts.Add('Style/' + Style + '/jquery.js'); 99 100 PageName := Query.Values['p']; 101 if PageName = '' then PageName := ''; 102 ModuleName := Query.Values['m']; 103 if ModuleName = '' then ModuleName := 'Main'; 96 HtmlDocument.Styles.Add(NavigationLink('/Style/' + Style + '/Style.css')); 97 HtmlDocument.Scripts.Add(NavigationLink('/Style/' + Style + '/Global.js')); 98 HtmlDocument.Scripts.Add(NavigationLink('/Style/' + Style + '/jquery.js')); 99 100 if QueryParts.Count > 0 then PageName := QueryParts[0] 101 else PageName := ''; 104 102 I := 0; 105 while (I < Pages.Count) and (TRegistredPage(Pages[I]).Name <> ModuleName) do Inc(I);106 if I < Pages.Countthen begin103 while (I < Pages.Count) and (TRegistredPage(Pages[I]).Name <> PageName) do Inc(I); 104 if (I < Pages.Count) then begin 107 105 TitleTag := THtmlString.Create; 108 106 HtmlDocument.Body.SubItems.Add(TitleTag); … … 111 109 TitleTag.Text := '<div class="TitlePanel"><span class="GlobalTitle">' + GlobalTitle + 112 110 '</span> - ' + HtmlDocument.Title + '</div>'; 113 with HtmlDocument.AsXmlDocument do begin 111 HtmlDocument.Title := GlobalTitle + ' - ' + HtmlDocument.Title; 112 with HtmlDocument.AsXmlDocument do try 114 113 Formated := ConfigFormatHTML; 115 114 Output.Add(AsString); 115 finally 116 116 Free; 117 117 end; … … 211 211 // Visitor 212 212 Text := Text + '<ul class="MenuItem">' + 213 '<li>' + MakeLink('O síti', Navigation MakeLink('Main', 'About')) + '</li>' +214 '<li>' + MakeLink('Internet', Navigation MakeLink('Main', 'Internet')) + '</li>' +215 '<li>' + MakeLink('Hosting', Navigation MakeLink('Main', 'Hosting')) + '</li>' +216 '<li>' + MakeLink('VoIP', Navigation MakeLink('Main', 'VoIP')) + '</li>' +213 '<li>' + MakeLink('O síti', NavigationLink('/')) + '</li>' + 214 '<li>' + MakeLink('Internet', NavigationLink('/internet/')) + '</li>' + 215 '<li>' + MakeLink('Hosting', NavigationLink('/hosting/')) + '</li>' + 216 '<li>' + MakeLink('VoIP', NavigationLink('/voip/')) + '</li>' + 217 217 '<li><a href="https://mail.zdechov.net/">Pošta</a></li>' + 218 '<li>' + MakeLink('Historie', Navigation MakeLink('Main', 'History')) + '</li>' +219 '<li>' + MakeLink('Dokumenty', Navigation MakeLink('Main', 'Documents')) + '</li>' +220 '<li>' + MakeLink('Odkazy', Navigation MakeLink('Main', 'Links')) + '</li>' +221 '<li>' + MakeLink('Kontakt', Navigation MakeLink('Main', 'Contact')) + '</li>';218 '<li>' + MakeLink('Historie', NavigationLink('/historie/')) + '</li>' + 219 '<li>' + MakeLink('Dokumenty', NavigationLink('/dokumenty/')) + '</li>' + 220 '<li>' + MakeLink('Odkazy', NavigationLink('/odkazy/')) + '</li>' + 221 '<li>' + MakeLink('Kontakt', NavigationLink('/kontakt/')) + '</li>'; 222 222 Text := Text + '</ul><ul class="MenuItem2"><li> </li>'; 223 223 (* if System.UserOnline.User = System.UserOnline.AnonymousUserId then begin -
branches/lazarus/Common/UCGIApplication.pas
r23 r27 28 28 TCGIApplication = class 29 29 private 30 function FormatOutput(Data: string): string;31 30 public 32 31 Headers: TStringList; … … 35 34 Output: TStringList; 36 35 Query: TQueryParameterList; 36 QueryParts: TStringListEx; 37 BaseURL: string; 37 38 constructor Create; 38 39 destructor Destroy; override; … … 54 55 Output := TStringList.Create; 55 56 Query := TQueryParameterList.Create; 57 QueryParts := TStringListEx.Create; 56 58 end; 57 59 … … 63 65 Cookies.Free; 64 66 Query.Free; 67 QueryParts.Free; 65 68 inherited Destroy; 66 69 end; … … 80 83 81 84 // Parse query string 82 Query.Parse(EnvVars.Values['QUERY_STRING']); 85 if Length(EnvVars.Values['QUERY_STRING']) > 0 then 86 if EnvVars.Values['QUERY_STRING'][Length(EnvVars.Values['QUERY_STRING'])] = '/' then 87 EnvVars.Values['QUERY_STRING'] := Copy(EnvVars.Values['QUERY_STRING'], 1, 88 Length(EnvVars.Values['QUERY_STRING']) - 1); 89 QueryParts.Explode('/', EnvVars.Values['QUERY_STRING']); 90 if Pos('?', EnvVars.Values['REQUEST_URI']) > 0 then 91 Query.Parse(Copy(EnvVars.Values['REQUEST_URI'], 92 Pos('?', EnvVars.Values['REQUEST_URI']) + 1, 93 Length(EnvVars.Values['REQUEST_URI']))); 83 94 84 95 Execute; … … 97 108 98 109 // Emit page content 99 //Output.Text := FormatOutput(Output.Text);100 110 for I := 0 to Output.Count - 1 do begin 101 111 WriteLn(Output[I]); … … 115 125 Output.Add('</table>'); 116 126 end; 117 118 function TCGIApplication.FormatOutput(Data: string): string;119 var120 BlockStart, BlockEnd: Integer;121 Indention: Integer;122 Indention2: Integer;123 Line: string;124 Command: string;125 begin126 Result := '';127 Indention := 0;128 Indention2 := 0;129 while Data <> '' do begin130 //WebWrite('.');131 BlockStart := Pos('<', Data);132 BlockEnd := Pos('>', Data);133 if BlockStart > 1 then begin134 BlockEnd := BlockStart - 1;135 BlockStart := 1;136 end;137 Line := Trim(Copy(Data, BlockStart, BlockEnd));138 //WebWriteLn(Line);139 if Length(Line) > 0 then140 if Line[1] = '<' then begin141 if Data[BlockStart + 1] = '/' then begin142 Indention := Indention - 2;143 Indention2 := Indention;144 end else begin145 if Pos(' ', Line) > 0 then Command := Copy(Line, 2, Pos(' ', Line) - 2)146 else Command := Copy(Line, 2, Length(Line) - 2);147 //WebWriteLn(Command + ' ' + IntToStr(Indention));148 if Pos('</' + Command + '>', Data) > 0 then Indention := Indention + 2;149 //WebWriteLn(IntToStr(Indention) + ',' + IntToStr(Indention2));150 end;151 end;152 if Line <> '' then Result := Result + StrRepeat(' ', Indention2) + Line + #13#10;153 Data := Copy(Data, BlockEnd + 1, Length(Data));154 Indention2 := Indention;155 end;156 end;157 158 127 159 128 { TCookieList } -
branches/lazarus/Pages/UMainPage.pas
r25 r27 8 8 Classes, SysUtils, USqlDatabase, UCore, UCustomCGIApplication, UHtmlClasses; 9 9 10 procedure MainPage(App: TCustomCGIApplication); 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); 11 18 12 19 implementation … … 34 41 '<a href="http://victus.cz/">Victus</a> - herní server hry WoW<br/>' + 35 42 '<a href="http://gameshoot.eu/">GameShoot</a> - herní portál<br/>' + 43 '<a href="http://sharp.zdechov.net/"></a> - Sharp MZ community web<br/>' + 44 36 45 '<br/>' + 37 46 … … 182 191 183 192 with HtmlDocument.Body, THtmlString(SubItems[SubItems.Add(THtmlString.Create)]) do begin 184 Text := '<img align="left" src="images/umisteni.gif" alt="Umístění obce"/>' + 185 '<a href="images/pokryti.jpg"><img align="right" src="images/pokryti_nahled.jpg" width="170" height="334" alt="Pokrytí obce signálem"/></a>' + 193 Text := '<img align="left" src="' + NavigationLink('/images/umisteni.gif') + '" alt="Umístění obce"/>' + 194 '<a href="' + NavigationLink('/images/pokryti.jpg') + '">' + 195 '<img align="right" src="' + NavigationLink('/images/pokryti_nahled.jpg') + '" width="170" height="334" alt="Pokrytí obce signálem"/></a>' + 186 196 '<strong>Informace o obci:</strong><br/>' + 187 197 'Vesnice Zděchov se nachází pár kilometrů od obce Huslenky, jihovýchodním směrem od Vsetína. ' + … … 206 216 207 217 Text := Text + '<br/>' + 208 '<a href="images/pohlednice_stara.jpg"><img align="right" src="images/pohlednice_stara_mala.jpg" alt="Stará pohlednice" /></a>'; 218 '<a href="' + NavigationLink('/images/pohlednice_stara.jpg') + '">' + 219 '<img align="right" src="' + NavigationLink('/images/pohlednice_stara_mala.jpg') + '" alt="Stará pohlednice" /></a>'; 209 220 210 221 Text := Text + '<strong>Počty zákazníků:</strong><br/>' + … … 215 226 '<br/>' + 216 227 '<strong>Technické parametry sítě</strong><br/>' + 217 'Internetové připojení: 20/20 Mbit/s, vyhrazené, symetrické, bez agregace, bez omezení přenesených dat, přes společnost <a href="http://www.inext.cz/">Internext 2000</a><br/>' +228 'Internetové připojení: 40/40 Mbit/s, vyhrazené, symetrické, bez agregace, bez omezení přenesených dat, přes společnost <a href="http://www.inext.cz/">Internext 2000</a><br/>' + 218 229 'Pokrytí obce signálem: asi 80%<br/>' + 219 230 'V připojených domácnostech celkem 327 občanů ze všech 600 (55 %)<br/>' + 220 231 '<br/>' + 221 '<i>Aktualizováno: 3.7.20 09</i>';232 '<i>Aktualizováno: 3.7.2010</i>'; 222 233 end; 223 234 end; … … 232 243 Text := '<strong>O obci:</strong><br/>' + 233 244 234 IconedLink( 'docs/Zdechovska_historie_a_soucasnost.pdf', 'Zděchovská historie a současnost') + ' (1,6 MB)<br/>' +235 '<img src=" images/icons/pdf.gif" alt=""> Zděchov - klíč od hřebene Javorníků - propagační publikace obce (kvalita ' +236 '<a href=" docs/Zděchov - klíč od hřebene Javorníků (nízká kvalita).pdf">nízká (1,8 MB)</a> ' +237 '<a href=" docs/Zděchov - klíč od hřebene Javorníků (střední kvalita).pdf">střední (3,7 MB)</a> ' +238 '<a href=" docs/Zděchov - klíč od hřebene Javorníků (vysoká kvalita).pdf">vysoká (7,2 MB)</a>)' +245 IconedLink(NavigationLink('/docs/Zdechovska_historie_a_soucasnost.pdf'), 'Zděchovská historie a současnost') + ' (1,6 MB)<br/>' + 246 '<img src="' + NavigationLink('/images/icons/pdf.gif') + '" alt=""> Zděchov - klíč od hřebene Javorníků - propagační publikace obce (kvalita ' + 247 '<a href="' + NavigationLink('/docs/Zděchov - klíč od hřebene Javorníků (nízká kvalita).pdf') + '">nízká (1,8 MB)</a> ' + 248 '<a href="' + NavigationLink('/docs/Zděchov - klíč od hřebene Javorníků (střední kvalita).pdf') + '">střední (3,7 MB)</a> ' + 249 '<a href="' + NavigationLink('/docs/Zděchov - klíč od hřebene Javorníků (vysoká kvalita).pdf') + '">vysoká (7,2 MB)</a>)' + 239 250 '<br/><br/>' + 240 251 '<strong>Propagace sítě v obci:</strong><br/>' + 241 252 242 IconedLink( 'docs/info_na_infokanal_1.6.2006.pdf', 'Aktualita na infokanálu (1.6.2006)') + '<br/>' +243 IconedLink( 'docs/info_na_infokanal_4.3.2005.pdf', 'Aktualita na infokanálu (4.3.2005)') + '<br/>' +244 IconedLink( 'docs/info_na_infokanal_24.9.2004.pdf', 'Aktualita na infokanálu (24.9.2004)') + '<br/>' +245 IconedLink( 'docs/vyzva_do_infokanalu_15.8.2004.pdf', 'Výzva do infokanálu (15.8.2004)') + '<br/>';253 IconedLink(NavigationLink('/docs/info_na_infokanal_1.6.2006.pdf'), 'Aktualita na infokanálu (1.6.2006)') + '<br/>' + 254 IconedLink(NavigationLink('/docs/info_na_infokanal_4.3.2005.pdf'), 'Aktualita na infokanálu (4.3.2005)') + '<br/>' + 255 IconedLink(NavigationLink('/docs/info_na_infokanal_24.9.2004.pdf'), 'Aktualita na infokanálu (24.9.2004)') + '<br/>' + 256 IconedLink(NavigationLink('/docs/vyzva_do_infokanalu_15.8.2004.pdf'), 'Výzva do infokanálu (15.8.2004)') + '<br/>'; 246 257 end; 247 258 end; … … 264 275 end; 265 276 266 procedure MainPage(App: TCustomCGIApplication);267 begin268 if App.PageName = 'Internet' then Internet(App)269 else if App.PageName = 'Hosting' then Hosting(App)270 else if App.PageName = 'History' then History(App)271 else if App.PageName = 'Documents' then Documents(App)272 else if App.PageName = 'VoIP' then VoIP(App)273 else if App.PageName = 'Links' then Links(App)274 else if App.PageName = 'Contact' then Contact(App)275 else About(App);276 end;277 278 277 end. 279 278 -
branches/lazarus/UConfigSample.pas
r25 r27 15 15 DatabasePassword: string = 'password'; 16 16 ConfigFormatHTML: Boolean = False; 17 ConfigStyle: string = 'Basic'; 18 ConfigBaseURL: string = 'http://localhost'; 17 19 18 20 implementation -
branches/lazarus/UCore.pas
r25 r27 11 11 TArrayOfString = array of string; 12 12 13 function NavigationLink(URL: string): string; 13 14 function MakeLink(Text, URL: string): string; 14 function NavigationMakeLink(Module, Page: string): string;15 15 function InsertIcon(FileName: string): string; 16 16 function IconedLink(Link, Text: string): string; … … 84 84 function InsertIcon(FileName: string): string; 85 85 begin 86 Result := '<img alt="" src=" images/favicons/' + FileName+ '" width="16" height="16" />';86 Result := '<img alt="" src="' + NavigationLink('/images/favicons/' + FileName) + '" width="16" height="16" />'; 87 87 end; 88 88 … … 100 100 Icon: string; 101 101 begin 102 Extension := Copy(Link, LastPos( Link, '.') + 1, Length(Link));103 Icon := '<img src=" images/icons/' + Extension + '.gif" alt="' + Extension + '"> ';102 Extension := Copy(Link, LastPos('.', Link) + 1, Length(Link)); 103 Icon := '<img src="' + NavigationLink('/images/icons/' + Extension + '.gif') + '" alt="' + Extension + '"> '; 104 104 Result := Icon + '<a href="' + Link + '">' + Text + '</a>'; 105 105 end; … … 110 110 end; 111 111 112 function Navigation MakeLink(Module, Page: string): string;112 function NavigationLink(URL: string): string; 113 113 begin 114 Result := '?m=' + Module + '&p=' + Page; 114 if (Length(URL) > 0) and (URL[1] = '/') then 115 Result := ConfigBaseURL + URL 116 else Result := URL; 115 117 end; 116 118 -
branches/lazarus/index.lpi
r25 r27 40 40 <WindowIndex Value="0"/> 41 41 <TopLine Value="1"/> 42 <CursorPos X=" 26" Y="16"/>43 <UsageCount Value="1 63"/>42 <CursorPos X="1" Y="12"/> 43 <UsageCount Value="183"/> 44 44 <Loaded Value="True"/> 45 45 <LoadedDesigner Value="True"/> … … 52 52 <EditorIndex Value="11"/> 53 53 <WindowIndex Value="0"/> 54 <TopLine Value=" 25"/>55 <CursorPos X=" 73" Y="55"/>56 <UsageCount Value="1 59"/>54 <TopLine Value="179"/> 55 <CursorPos X="29" Y="252"/> 56 <UsageCount Value="179"/> 57 57 <Loaded Value="True"/> 58 58 <DefaultSyntaxHighlighter Value="Delphi"/> … … 64 64 <TopLine Value="291"/> 65 65 <CursorPos X="1" Y="311"/> 66 <UsageCount Value="14 4"/>66 <UsageCount Value="142"/> 67 67 <DefaultSyntaxHighlighter Value="Delphi"/> 68 68 </Unit2> 69 69 <Unit3> 70 70 <Filename Value="UXmlClasses.pas"/> 71 <UsageCount Value="14 4"/>71 <UsageCount Value="142"/> 72 72 <DefaultSyntaxHighlighter Value="Delphi"/> 73 73 </Unit3> … … 78 78 <EditorIndex Value="20"/> 79 79 <WindowIndex Value="0"/> 80 <TopLine Value=" 79"/>81 <CursorPos X=" 37" Y="81"/>82 <UsageCount Value="1 63"/>80 <TopLine Value="87"/> 81 <CursorPos X="44" Y="102"/> 82 <UsageCount Value="183"/> 83 83 <Loaded Value="True"/> 84 84 <DefaultSyntaxHighlighter Value="Delphi"/> … … 90 90 <TopLine Value="217"/> 91 91 <CursorPos X="5" Y="236"/> 92 <UsageCount Value="14 4"/>92 <UsageCount Value="142"/> 93 93 <DefaultSyntaxHighlighter Value="Delphi"/> 94 94 </Unit5> … … 99 99 <TopLine Value="10"/> 100 100 <CursorPos X="27" Y="19"/> 101 <UsageCount Value="14 4"/>101 <UsageCount Value="142"/> 102 102 <DefaultSyntaxHighlighter Value="Delphi"/> 103 103 </Unit6> … … 107 107 <TopLine Value="17"/> 108 108 <CursorPos X="34" Y="30"/> 109 <UsageCount Value="14 4"/>109 <UsageCount Value="142"/> 110 110 <DefaultSyntaxHighlighter Value="Delphi"/> 111 111 </Unit7> … … 116 116 <TopLine Value="204"/> 117 117 <CursorPos X="25" Y="226"/> 118 <UsageCount Value="14 4"/>118 <UsageCount Value="142"/> 119 119 <DefaultSyntaxHighlighter Value="Delphi"/> 120 120 </Unit8> … … 125 125 <TopLine Value="102"/> 126 126 <CursorPos X="25" Y="107"/> 127 <UsageCount Value="14 4"/>127 <UsageCount Value="142"/> 128 128 <DefaultSyntaxHighlighter Value="Delphi"/> 129 129 </Unit9> … … 133 133 <TopLine Value="2320"/> 134 134 <CursorPos X="30" Y="2342"/> 135 <UsageCount Value="1 3"/>135 <UsageCount Value="11"/> 136 136 <DefaultSyntaxHighlighter Value="Delphi"/> 137 137 </Unit10> … … 142 142 <TopLine Value="40"/> 143 143 <CursorPos X="9" Y="59"/> 144 <UsageCount Value="13 2"/>144 <UsageCount Value="130"/> 145 145 <DefaultSyntaxHighlighter Value="Delphi"/> 146 146 </Unit11> … … 151 151 <TopLine Value="91"/> 152 152 <CursorPos X="10" Y="110"/> 153 <UsageCount Value=" 18"/>153 <UsageCount Value="28"/> 154 154 <Loaded Value="True"/> 155 155 <DefaultSyntaxHighlighter Value="Delphi"/> … … 161 161 <TopLine Value="283"/> 162 162 <CursorPos X="10" Y="302"/> 163 <UsageCount Value=" 11"/>163 <UsageCount Value="21"/> 164 164 <Loaded Value="True"/> 165 165 <DefaultSyntaxHighlighter Value="Delphi"/> … … 172 172 <WindowIndex Value="0"/> 173 173 <TopLine Value="1"/> 174 <CursorPos X=" 41" Y="13"/>175 <UsageCount Value="1 38"/>174 <CursorPos X="92" Y="11"/> 175 <UsageCount Value="158"/> 176 176 <Loaded Value="True"/> 177 177 <DefaultSyntaxHighlighter Value="Delphi"/> … … 182 182 <TopLine Value="108"/> 183 183 <CursorPos X="1" Y="134"/> 184 <UsageCount Value="1 38"/>184 <UsageCount Value="158"/> 185 185 <DefaultSyntaxHighlighter Value="None"/> 186 186 </Unit15> … … 190 190 <TopLine Value="1"/> 191 191 <CursorPos X="1" Y="1"/> 192 <UsageCount Value="1 38"/>192 <UsageCount Value="158"/> 193 193 <DefaultSyntaxHighlighter Value="JScript"/> 194 194 </Unit16> … … 199 199 <TopLine Value="608"/> 200 200 <CursorPos X="44" Y="627"/> 201 <UsageCount Value="11 3"/>201 <UsageCount Value="111"/> 202 202 <DefaultSyntaxHighlighter Value="Delphi"/> 203 203 </Unit17> … … 208 208 <TopLine Value="39"/> 209 209 <CursorPos X="25" Y="58"/> 210 <UsageCount Value="11 3"/>210 <UsageCount Value="111"/> 211 211 <DefaultSyntaxHighlighter Value="Delphi"/> 212 212 </Unit18> … … 217 217 <TopLine Value="1"/> 218 218 <CursorPos X="69" Y="19"/> 219 <UsageCount Value="10 9"/>219 <UsageCount Value="107"/> 220 220 <DefaultSyntaxHighlighter Value="Delphi"/> 221 221 </Unit19> … … 226 226 <TopLine Value="1"/> 227 227 <CursorPos X="52" Y="124"/> 228 <UsageCount Value="10 6"/>228 <UsageCount Value="104"/> 229 229 <DefaultSyntaxHighlighter Value="Delphi"/> 230 230 </Unit20> … … 234 234 <TopLine Value="1"/> 235 235 <CursorPos X="19" Y="4"/> 236 <UsageCount Value=" 4"/>236 <UsageCount Value="2"/> 237 237 <DefaultSyntaxHighlighter Value="Delphi"/> 238 238 </Unit21> … … 243 243 <TopLine Value="29"/> 244 244 <CursorPos X="2" Y="38"/> 245 <UsageCount Value="3 4"/>245 <UsageCount Value="32"/> 246 246 <DefaultSyntaxHighlighter Value="Delphi"/> 247 247 </Unit22> … … 252 252 <TopLine Value="62"/> 253 253 <CursorPos X="6" Y="62"/> 254 <UsageCount Value=" 11"/>254 <UsageCount Value="9"/> 255 255 <DefaultSyntaxHighlighter Value="Delphi"/> 256 256 </Unit23> … … 261 261 <TopLine Value="125"/> 262 262 <CursorPos X="9" Y="141"/> 263 <UsageCount Value=" 11"/>263 <UsageCount Value="9"/> 264 264 <DefaultSyntaxHighlighter Value="Delphi"/> 265 265 </Unit24> … … 270 270 <TopLine Value="1"/> 271 271 <CursorPos X="1" Y="1"/> 272 <UsageCount Value=" 11"/>272 <UsageCount Value="9"/> 273 273 <DefaultSyntaxHighlighter Value="Delphi"/> 274 274 </Unit25> … … 279 279 <TopLine Value="103"/> 280 280 <CursorPos X="29" Y="112"/> 281 <UsageCount Value=" 11"/>281 <UsageCount Value="9"/> 282 282 <DefaultSyntaxHighlighter Value="Delphi"/> 283 283 </Unit26> … … 288 288 <TopLine Value="1"/> 289 289 <CursorPos X="12" Y="10"/> 290 <UsageCount Value=" 11"/>290 <UsageCount Value="9"/> 291 291 <DefaultSyntaxHighlighter Value="Delphi"/> 292 292 </Unit27> … … 297 297 <TopLine Value="1"/> 298 298 <CursorPos X="8" Y="1"/> 299 <UsageCount Value=" 9"/>299 <UsageCount Value="7"/> 300 300 <DefaultSyntaxHighlighter Value="Delphi"/> 301 301 </Unit28> … … 306 306 <TopLine Value="1803"/> 307 307 <CursorPos X="39" Y="1806"/> 308 <UsageCount Value=" 11"/>308 <UsageCount Value="9"/> 309 309 <DefaultSyntaxHighlighter Value="Delphi"/> 310 310 </Unit29> … … 315 315 <TopLine Value="173"/> 316 316 <CursorPos X="10" Y="192"/> 317 <UsageCount Value=" 9"/>317 <UsageCount Value="7"/> 318 318 <DefaultSyntaxHighlighter Value="Delphi"/> 319 319 </Unit30> … … 324 324 <TopLine Value="31"/> 325 325 <CursorPos X="3" Y="49"/> 326 <UsageCount Value=" 11"/>326 <UsageCount Value="9"/> 327 327 <DefaultSyntaxHighlighter Value="Delphi"/> 328 328 </Unit31> … … 333 333 <TopLine Value="2569"/> 334 334 <CursorPos X="27" Y="2594"/> 335 <UsageCount Value=" 9"/>335 <UsageCount Value="7"/> 336 336 <DefaultSyntaxHighlighter Value="Delphi"/> 337 337 </Unit32> … … 342 342 <TopLine Value="112"/> 343 343 <CursorPos X="23" Y="125"/> 344 <UsageCount Value=" 20"/>344 <UsageCount Value="18"/> 345 345 <DefaultSyntaxHighlighter Value="Delphi"/> 346 346 </Unit33> … … 351 351 <TopLine Value="1"/> 352 352 <CursorPos X="1" Y="1"/> 353 <UsageCount Value=" 20"/>353 <UsageCount Value="18"/> 354 354 <DefaultSyntaxHighlighter Value="Delphi"/> 355 355 </Unit34> … … 360 360 <TopLine Value="254"/> 361 361 <CursorPos X="15" Y="268"/> 362 <UsageCount Value=" 19"/>362 <UsageCount Value="29"/> 363 363 <Loaded Value="True"/> 364 364 <DefaultSyntaxHighlighter Value="Delphi"/> … … 370 370 <TopLine Value="10"/> 371 371 <CursorPos X="22" Y="23"/> 372 <UsageCount Value=" 19"/>372 <UsageCount Value="29"/> 373 373 <Loaded Value="True"/> 374 374 <DefaultSyntaxHighlighter Value="Delphi"/> … … 381 381 <TopLine Value="1140"/> 382 382 <CursorPos X="26" Y="1143"/> 383 <UsageCount Value=" 19"/>383 <UsageCount Value="29"/> 384 384 <Loaded Value="True"/> 385 385 <DefaultSyntaxHighlighter Value="Delphi"/> … … 391 391 <TopLine Value="43"/> 392 392 <CursorPos X="5" Y="61"/> 393 <UsageCount Value=" 19"/>393 <UsageCount Value="29"/> 394 394 <Loaded Value="True"/> 395 395 <DefaultSyntaxHighlighter Value="Delphi"/> … … 401 401 <TopLine Value="50"/> 402 402 <CursorPos X="10" Y="63"/> 403 <UsageCount Value=" 19"/>403 <UsageCount Value="29"/> 404 404 <Loaded Value="True"/> 405 405 <DefaultSyntaxHighlighter Value="Delphi"/> … … 411 411 <EditorIndex Value="1"/> 412 412 <WindowIndex Value="0"/> 413 <TopLine Value=" 22"/>414 <CursorPos X=" 58" Y="29"/>415 <UsageCount Value=" 38"/>413 <TopLine Value="18"/> 414 <CursorPos X="1" Y="32"/> 415 <UsageCount Value="58"/> 416 416 <Loaded Value="True"/> 417 417 <DefaultSyntaxHighlighter Value="Delphi"/> … … 423 423 <EditorIndex Value="10"/> 424 424 <WindowIndex Value="0"/> 425 <TopLine Value=" 80"/>426 <CursorPos X=" 5" Y="99"/>427 <UsageCount Value=" 38"/>425 <TopLine Value="75"/> 426 <CursorPos X="44" Y="89"/> 427 <UsageCount Value="58"/> 428 428 <Loaded Value="True"/> 429 429 <DefaultSyntaxHighlighter Value="Delphi"/> … … 432 432 <Filename Value="Common/UDatabase.pas"/> 433 433 <IsPartOfProject Value="True"/> 434 <UsageCount Value=" 38"/>434 <UsageCount Value="58"/> 435 435 <DefaultSyntaxHighlighter Value="Delphi"/> 436 436 </Unit42> … … 443 443 <TopLine Value="218"/> 444 444 <CursorPos X="1" Y="231"/> 445 <UsageCount Value=" 38"/>445 <UsageCount Value="58"/> 446 446 <Loaded Value="True"/> 447 447 <DefaultSyntaxHighlighter Value="Delphi"/> … … 454 454 <WindowIndex Value="0"/> 455 455 <TopLine Value="1"/> 456 <CursorPos X=" 1" Y="131"/>457 <UsageCount Value=" 38"/>456 <CursorPos X="74" Y="179"/> 457 <UsageCount Value="58"/> 458 458 <Loaded Value="True"/> 459 459 <DefaultSyntaxHighlighter Value="Delphi"/> … … 467 467 <TopLine Value="13"/> 468 468 <CursorPos X="5" Y="32"/> 469 <UsageCount Value=" 38"/>469 <UsageCount Value="58"/> 470 470 <Loaded Value="True"/> 471 471 <DefaultSyntaxHighlighter Value="Delphi"/> … … 478 478 <EditorIndex Value="15"/> 479 479 <WindowIndex Value="0"/> 480 <TopLine Value=" 27"/>481 <CursorPos X=" 47" Y="52"/>482 <UsageCount Value=" 38"/>480 <TopLine Value="92"/> 481 <CursorPos X="1" Y="102"/> 482 <UsageCount Value="58"/> 483 483 <Loaded Value="True"/> 484 484 <DefaultSyntaxHighlighter Value="Delphi"/> … … 489 489 <TopLine Value="501"/> 490 490 <CursorPos X="10" Y="503"/> 491 <UsageCount Value=" 9"/>491 <UsageCount Value="7"/> 492 492 <DefaultSyntaxHighlighter Value="Delphi"/> 493 493 </Unit47> … … 498 498 <TopLine Value="64"/> 499 499 <CursorPos X="14" Y="78"/> 500 <UsageCount Value=" 18"/>500 <UsageCount Value="28"/> 501 501 <Loaded Value="True"/> 502 502 <DefaultSyntaxHighlighter Value="Delphi"/> … … 508 508 <TopLine Value="377"/> 509 509 <CursorPos X="3" Y="300"/> 510 <UsageCount Value=" 14"/>510 <UsageCount Value="24"/> 511 511 <Loaded Value="True"/> 512 512 <DefaultSyntaxHighlighter Value="Delphi"/> … … 518 518 <TopLine Value="519"/> 519 519 <CursorPos X="23" Y="526"/> 520 <UsageCount Value=" 14"/>520 <UsageCount Value="24"/> 521 521 <Loaded Value="True"/> 522 522 <DefaultSyntaxHighlighter Value="Delphi"/> … … 529 529 <WindowIndex Value="0"/> 530 530 <TopLine Value="1"/> 531 <CursorPos X=" 3" Y="16"/>532 <UsageCount Value=" 21"/>531 <CursorPos X="53" Y="18"/> 532 <UsageCount Value="41"/> 533 533 <Loaded Value="True"/> 534 534 <DefaultSyntaxHighlighter Value="Delphi"/> 535 535 </Unit51> 536 536 </Units> 537 <JumpHistory Count=" 29" HistoryIndex="28">537 <JumpHistory Count="30" HistoryIndex="28"> 538 538 <Position1> 539 <Filename Value=" Pages/UMainPage.pas"/>540 <Caret Line=" 157" Column="26" TopLine="132"/>539 <Filename Value="Common/UStringListEx.pas"/> 540 <Caret Line="32" Column="1" TopLine="18"/> 541 541 </Position1> 542 542 <Position2> 543 <Filename Value=" Pages/UMainPage.pas"/>544 <Caret Line=" 153" Column="145" TopLine="134"/>543 <Filename Value="Common/UCGIApplication.pas"/> 544 <Caret Line="86" Column="1" TopLine="74"/> 545 545 </Position2> 546 546 <Position3> 547 <Filename Value="Common/U SqlDatabase.pas"/>548 <Caret Line=" 41" Column="16" TopLine="23"/>547 <Filename Value="Common/UCGIApplication.pas"/> 548 <Caret Line="91" Column="1" TopLine="74"/> 549 549 </Position3> 550 550 <Position4> 551 <Filename Value=" Common/USqlDatabase.pas"/>552 <Caret Line=" 10" Column="55" TopLine="1"/>551 <Filename Value="Application/UCustomCGIApplication.pas"/> 552 <Caret Line="91" Column="1" TopLine="76"/> 553 553 </Position4> 554 554 <Position5> 555 <Filename Value=" Pages/UMainPage.pas"/>556 <Caret Line=" 72" Column="30" TopLine="35"/>555 <Filename Value="Common/UCGIApplication.pas"/> 556 <Caret Line="86" Column="45" TopLine="71"/> 557 557 </Position5> 558 558 <Position6> 559 <Filename Value="Common/U SqlDatabase.pas"/>560 <Caret Line=" 88" Column="33" TopLine="53"/>559 <Filename Value="Common/UCGIApplication.pas"/> 560 <Caret Line="231" Column="1" TopLine="201"/> 561 561 </Position6> 562 562 <Position7> 563 <Filename Value=" Common/USqlDatabase.pas"/>564 <Caret Line=" 130" Column="42" TopLine="101"/>563 <Filename Value="Pages/UMainPage.pas"/> 564 <Caret Line="266" Column="1" TopLine="237"/> 565 565 </Position7> 566 566 <Position8> 567 <Filename Value=" Common/USqlDatabase.pas"/>568 <Caret Line="1 32" Column="20" TopLine="101"/>567 <Filename Value="UCore.pas"/> 568 <Caret Line="112" Column="1" TopLine="89"/> 569 569 </Position8> 570 570 <Position9> 571 <Filename Value=" /usr/share/fpcsrc/rtl/objpas/sysutils/dati.inc"/>572 <Caret Line=" 322" Column="24" TopLine="320"/>571 <Filename Value="Application/UCustomCGIApplication.pas"/> 572 <Caret Line="100" Column="23" TopLine="86"/> 573 573 </Position9> 574 574 <Position10> 575 <Filename Value=" Common/USqlDatabase.pas"/>576 <Caret Line=" 127" Column="25" TopLine="101"/>575 <Filename Value="Application/UCustomCGIApplication.pas"/> 576 <Caret Line="218" Column="45" TopLine="195"/> 577 577 </Position10> 578 578 <Position11> 579 <Filename Value=" /usr/share/fpcsrc/rtl/objpas/sysutils/dati.inc"/>580 <Caret Line=" 881" Column="22" TopLine="860"/>579 <Filename Value="Application/UCustomCGIApplication.pas"/> 580 <Caret Line="216" Column="21" TopLine="202"/> 581 581 </Position11> 582 582 <Position12> 583 <Filename Value=" /usr/share/fpcsrc/rtl/objpas/sysutils/dati.inc"/>584 <Caret Line=" 856" Column="20" TopLine="833"/>583 <Filename Value="Common/UCGIApplication.pas"/> 584 <Caret Line="128" Column="1" TopLine="49"/> 585 585 </Position12> 586 586 <Position13> 587 <Filename Value=" Common/USqlDatabase.pas"/>588 <Caret Line=" 131" Column="1" TopLine="101"/>587 <Filename Value="Application/UCustomCGIApplication.pas"/> 588 <Caret Line="219" Column="64" TopLine="201"/> 589 589 </Position13> 590 590 <Position14> 591 591 <Filename Value="Pages/UMainPage.pas"/> 592 <Caret Line=" 72" Column="22" TopLine="53"/>592 <Caret Line="217" Column="1" TopLine="233"/> 593 593 </Position14> 594 594 <Position15> 595 <Filename Value=" UCore.pas"/>596 <Caret Line=" 21" Column="26" TopLine="2"/>595 <Filename Value="Pages/UMainPage.pas"/> 596 <Caret Line="192" Column="27" TopLine="177"/> 597 597 </Position15> 598 598 <Position16> 599 599 <Filename Value="Pages/UMainPage.pas"/> 600 <Caret Line=" 72" Column="17" TopLine="53"/>600 <Caret Line="193" Column="8" TopLine="177"/> 601 601 </Position16> 602 602 <Position17> 603 <Filename Value=" UCore.pas"/>604 <Caret Line=" 81" Column="34" TopLine="79"/>603 <Filename Value="Application/UCustomCGIApplication.pas"/> 604 <Caret Line="211" Column="22" TopLine="201"/> 605 605 </Position17> 606 606 <Position18> 607 <Filename Value=" Common/USqlDatabase.pas"/>608 <Caret Line=" 10" Column="59" TopLine="1"/>607 <Filename Value="Pages/UMainPage.pas"/> 608 <Caret Line="243" Column="14" TopLine="225"/> 609 609 </Position18> 610 610 <Position19> 611 <Filename Value=" Common/USqlDatabase.pas"/>612 <Caret Line=" 142" Column="19" TopLine="110"/>611 <Filename Value="Pages/UMainPage.pas"/> 612 <Caret Line="251" Column="13" TopLine="225"/> 613 613 </Position19> 614 614 <Position20> 615 <Filename Value=" Common/USqlDatabase.pas"/>616 <Caret Line="1 39" Column="112" TopLine="120"/>615 <Filename Value="UCore.pas"/> 616 <Caret Line="102" Column="32" TopLine="97"/> 617 617 </Position20> 618 618 <Position21> 619 <Filename Value=" Common/USqlDatabase.pas"/>620 <Caret Line=" 143" Column="30" TopLine="120"/>619 <Filename Value="Pages/UMainPage.pas"/> 620 <Caret Line="243" Column="16" TopLine="225"/> 621 621 </Position21> 622 622 <Position22> 623 <Filename Value=" Pages/UMainPage.pas"/>624 <Caret Line=" 72" Column="21" TopLine="53"/>623 <Filename Value="Application/UCustomCGIApplication.pas"/> 624 <Caret Line="107" Column="22" TopLine="92"/> 625 625 </Position22> 626 626 <Position23> 627 627 <Filename Value="Application/UCustomCGIApplication.pas"/> 628 <Caret Line=" 97" Column="30" TopLine="93"/>628 <Caret Line="100" Column="1" TopLine="92"/> 629 629 </Position23> 630 630 <Position24> 631 <Filename Value=" Application/UCustomCGIApplication.pas"/>632 <Caret Line=" 46" Column="1" TopLine="27"/>631 <Filename Value="Common/UCGIApplication.pas"/> 632 <Caret Line="29" Column="27" TopLine="75"/> 633 633 </Position24> 634 634 <Position25> 635 <Filename Value=" Application/UCustomCGIApplication.pas"/>636 <Caret Line=" 222" Column="23" TopLine="204"/>635 <Filename Value="Common/UCGIApplication.pas"/> 636 <Caret Line="85" Column="1" TopLine="75"/> 637 637 </Position25> 638 638 <Position26> 639 639 <Filename Value="Application/UCustomCGIApplication.pas"/> 640 <Caret Line=" 95" Column="33" TopLine="73"/>640 <Caret Line="101" Column="25" TopLine="92"/> 641 641 </Position26> 642 642 <Position27> 643 <Filename Value=" Application/UCustomCGIApplication.pas"/>644 <Caret Line=" 80" Column="30" TopLine="76"/>643 <Filename Value="index.pas"/> 644 <Caret Line="12" Column="1" TopLine="1"/> 645 645 </Position27> 646 646 <Position28> 647 <Filename Value=" Common/UCGIApplication.pas"/>648 <Caret Line="1 " Column="38" TopLine="1"/>647 <Filename Value="UCore.pas"/> 648 <Caret Line="101" Column="1" TopLine="87"/> 649 649 </Position28> 650 650 <Position29> 651 <Filename Value=" Common/UCGIApplication.pas"/>652 <Caret Line=" 30" Column="26" TopLine="1"/>651 <Filename Value="UCore.pas"/> 652 <Caret Line="102" Column="1" TopLine="87"/> 653 653 </Position29> 654 <Position30> 655 <Filename Value="UCore.pas"/> 656 <Caret Line="90" Column="1" TopLine="84"/> 657 </Position30> 654 658 </JumpHistory> 655 659 </ProjectOptions> -
branches/lazarus/index.pas
r25 r27 14 14 with Application do 15 15 try 16 RegisterPage('Main', MainPage); 16 RegisterPage('internet', Internet); 17 RegisterPage('hosting', Hosting); 18 RegisterPage('historie', History); 19 RegisterPage('dokumenty', Documents); 20 RegisterPage('voip', VoIP); 21 RegisterPage('odkazy', Links); 22 RegisterPage('kontakt', Contact); 23 RegisterPage('', About); 17 24 Run; 18 25 finally
Note:
See TracChangeset
for help on using the changeset viewer.