Changeset 139 for trunk/Modules/ZdechovNET/UWebCamPage.pas
- Timestamp:
- Sep 9, 2022, 9:41:42 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/ZdechovNET/UWebCamPage.pas
r138 r139 53 53 CameraId := -1; 54 54 NotFound := False; 55 if Request.Path.Count >= 2 then begin55 if Request.Path.Count = 2 then begin 56 56 SubPageName := Request.Path[1]; 57 57 if TryStrToInt(SubPageName, Value) then 58 58 CameraId := Value else 59 59 NotFound := True; 60 end ;61 if not NotFound then begin62 //for I := 0 to HandlerData.Request.Query.Count - 1 do63 //Text := Text + HandlerData.Request.Query[I] + ' ';64 65 //HandlerData.Request.Query.Values['W'] := 'dsd';66 //HandlerData.Request.Query.Values['H'] := 'dsd'; 60 end else 61 if Request.Path.Count > 2 then NotFound := True; 62 if NotFound then begin 63 PageNotFound; 64 Exit; 65 end; 66 67 67 if HandlerData.Request.Query.TryGetValue('W', WidthValue) then 68 68 ImageWidth := StrToInt(WidthValue) … … 91 91 92 92 Text := Text + '<br/><strong>Kamery v okolí:</strong><br />' + 93 '<a href="http ://www.mestovsetin.cz/vismo/dokumenty2.asp?id_org=18676&id=480245">Vsetínské kamery</a><br />' +93 '<a href="https://www.mestovsetin.cz/webove%2Dkamery/d-480245">Vsetínské kamery</a><br />' + 94 94 '<a href="https://www.huslenky.cz/webkamery%2Dhuslenky/ds-1119/archiv=0&p1=1020">Kamery v Huslenkách</a><br/>' + 95 '<a href="http ://kamery.hovnet.cz/">Kamery v Hovnetu</a><br/>' +95 '<a href="https://kamery.hovnet.cz/">Kamery v Hovnetu</a><br/>' + 96 96 '</td><td style="width: 80%" valign="top">'; 97 97 … … 101 101 Text := Text + GetSingle(HandlerData, CameraId); 102 102 end; 103 104 103 Text := Text + '</td></tr></table>'; 105 end else Text := 'Stránka nenalezena.';106 104 end; 107 105 GeneratePage(Self);
Note:
See TracChangeset
for help on using the changeset viewer.