From 41e0fd6313c9586022009c30361773dc381a716b Mon Sep 17 00:00:00 2001 From: novgorodschi catalin Date: Mon, 22 Jun 2026 10:41:25 +0300 Subject: [PATCH] Some fix Some fix --- Admin/Templates/map.tpl | 16 +- Admin/Templates/playerinfo.tpl | 16 ++ Admin/Templates/report.tpl | 22 +-- Admin/Templates/search.tpl | 12 +- GameEngine/Lang/ro.php | 4 +- impressum.php | 277 ++++++++++++++++----------------- manual.php | 2 +- terms.php | 189 +++++++++++++++++++++- 8 files changed, 365 insertions(+), 173 deletions(-) diff --git a/Admin/Templates/map.tpl b/Admin/Templates/map.tpl index 3104ab94..5ecfe00d 100644 --- a/Admin/Templates/map.tpl +++ b/Admin/Templates/map.tpl @@ -64,11 +64,11 @@ if ($check1 == "" && $check2 == "" && $check3 == "") $criteria = ""; body{margin:0;background:#f1f5f9;font-family:system-ui,-apple-system,Segoe UI,Roboto;color:#0f172a} .map-wrap{max-width:1200px;margin:16px auto;padding:0 12px} .map-header{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px 18px;margin-bottom:14px;box-shadow:0 1px 3px rgba(0,0,0,.05)} -.map-header h2{margin:0 0 4px;font-size:20px;font-weight:800} +.map-header h2{margin:0 0 4px;font-size:20px;font-weight:800;color:#0f172a} .map-header p{margin:0;color:#64748b;font-size:13px} -.map-filters{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px 16px;margin-bottom:14px;display:flex;align-items:center;gap:18px;flex-wrap:wrap} +.map-filters{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px 16px;margin-bottom:14px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;color:#0f172a} .filter-group{display:flex;align-items:center;gap:8px} -.filter-group label{font-size:13px;font-weight:500;cursor:pointer} +.filter-group label{font-size:13px;font-weight:500;cursor:pointer;color:#0f172a} .filter-group input{width:16px;height:16px;accent-color:#0f172a;cursor:pointer} .btn-show{background:#0f172a;color:#fff;border:0;padding:7px 14px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:.2s} .btn-show:hover{background:#1e293b;transform:translateY(-1px)} @@ -89,7 +89,7 @@ body{margin:0;background:#f1f5f9;font-family:system-ui,-apple-system,Segoe UI,Ro /* Zoom controls modern */ .zoom-controls{position:absolute;top:10px;right:10px;display:flex;gap:6px;align-items:center;z-index:1000;background:#fff;padding:6px 8px;border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,.15);border:1px solid #e5e7eb} -.zoom-controls button{font-size:13px;padding:6px 9px;border-radius:6px;border:1px solid #e2e8f0;background:#f8fafc;cursor:pointer;font-weight:600;transition:.15s} +.zoom-controls button{font-size:13px;padding:6px 9px;border-radius:6px;border:1px solid #e2e8f0;background:#f8fafc;cursor:pointer;font-weight:600;transition:.15s;color:#0f172a} .zoom-controls button:hover{background:#e2e8f0} .zoom-controls span{min-width:52px;text-align:center;font:12px system-ui;font-weight:600;color:#334155} @@ -102,22 +102,22 @@ body{margin:0;background:#f1f5f9;font-family:system-ui,-apple-system,Segoe UI,Ro #lijn_hor{left:0;right:0;top:50%;height:1px} #lijn_ver{top:0;bottom:0;left:50%;width:1px} /* Legend cards */ -.legend-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;margin-bottom:12px;box-shadow:0 1px 3px rgba(0,0,0,.05)} +.legend-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;margin-bottom:12px;box-shadow:0 1px 3px rgba(0,0,0,.05);color:#0f172a} .legend-head{background:#0f172a;color:#fff;padding:8px 12px;font-size:13px;font-weight:700} .legend-body{padding:10px 12px} .legend-body table{width:100%;border-collapse:collapse} -.legend-body td{padding:4px 0;font-size:12px} +.legend-body td{padding:4px 0;font-size:12px;color:#334155} .legend-body td:first-child{width:20px} .legend-body img{width:11px;height:11px;display:block} /* Tooltip */ -.p_info{list-style:none;margin:0;padding:0} +.p_info{list-style:none;margin:0;padding:0;color:#0f172a} .p_info li{margin:3px 0;font-size:12px} .p_actions{margin-top:8px;display:flex;gap:6px} .p_btn{display:inline-block;font:12px/1 system-ui;padding:5px 9px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;color:#0f172a;text-decoration:none;font-weight:500} .p_btn:hover{background:#e2e8f0} #tipBackdrop{position:absolute;inset:0;display:none;z-index:1099;background:transparent} -#stickyTip{position:absolute;z-index:1100;display:none;max-width:300px;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.18);padding:10px 12px} +#stickyTip{position:absolute;z-index:1100;display:none;max-width:300px;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.18);padding:10px 12px;color:#0f172a} .badge-tribe{display:inline-block;padding:1px 6px;border-radius:5px;font-size:10.5px;font-weight:600;background:#e2e8f0;color:#334155} diff --git a/Admin/Templates/playerinfo.tpl b/Admin/Templates/playerinfo.tpl index 703eafd7..2fe5b6cc 100644 --- a/Admin/Templates/playerinfo.tpl +++ b/Admin/Templates/playerinfo.tpl @@ -143,6 +143,22 @@ Password ••••••• + + Last IP + + 0){ + $ipRow = mysqli_fetch_assoc($ipResult); + $lastIp = htmlspecialchars($ipRow['ip']); + echo ''.$lastIp.''; + } else { + echo 'Not Available'; + } + ?> + + Language diff --git a/Admin/Templates/report.tpl b/Admin/Templates/report.tpl index b49975a9..de58368f 100644 --- a/Admin/Templates/report.tpl +++ b/Admin/Templates/report.tpl @@ -69,26 +69,26 @@ $reps = $database->query("SELECT * FROM ".TB_PREFIX."ndata WHERE $where ORDER BY $typeNames = [1=>'reinforcement',2=>'attack',3=>'defence',4=>'scout',5=>'trade',6=>'wonder',7=>'settlement',8=>'oasis',9=>'artefact',10=>'adventure',14=>'spy']; ?> diff --git a/Admin/Templates/search.tpl b/Admin/Templates/search.tpl index b52584ae..b84e9c06 100644 --- a/Admin/Templates/search.tpl +++ b/Admin/Templates/search.tpl @@ -31,19 +31,19 @@ $current = $_POST['p']?? 'player'; $search = stripslashes($_POST['s']?? ''); ?> - + +
-
-
- +
- +
+
+
-
+ + Close + +

Anleitung

+
+ - - - -
- -Close - -

Anleitung

- - - -
+
- - -
- - - -
- - - - \ No newline at end of file diff --git a/manual.php b/manual.php index 207d2250..1ba2d2c3 100644 --- a/manual.php +++ b/manual.php @@ -9,7 +9,7 @@ ## Developed by: Dzoki ## ## License: TravianZ Project ## ## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## +## URLs: http://travianz.org ## ## Source code: https://github.com/Shadowss/TravianZ ## ## ## ################################################################################# diff --git a/terms.php b/terms.php index 3e376938..138daf9a 100644 --- a/terms.php +++ b/terms.php @@ -1,6 +1,189 @@ -

Terms and Conditions.

-
-

Not finished.

\ No newline at end of file + + + + + + <?php echo SERVER_NAME; ?> - Terms and Conditions + + + + + + + + + + + + + + + + +
+ +
+ + + + + +
+ +
+ +

Terms and Conditions

+ +
+ +

1. General Rules

+

+ This is a fan-made open-source project called TravianZ by Shadow. + By using this game server you agree to follow all rules stated here. +

+ +
+ +

2. Account Responsibility

+

+ You are fully responsible for your account. + Sharing accounts is allowed only if game rules permit it. + Any abuse or exploitation of bugs is strictly forbidden. +

+ +
+ +

3. Fair Play

+

+ Cheating, botting, multi-account abuse or exploiting game mechanics + is not allowed and may result in permanent ban. +

+ +
+ +

4. Server Status

+

+ This server is provided "as-is" without guarantees of uptime or stability. + The developer reserves the right to reset or modify the server at any time. +

+ +
+ +

5. Intellectual Property

+

+ Travian® is a registered trademark of Travian Games GmbH. + This project is not affiliated with Travian Games. + All custom code and modifications belong to TravianZ by Shadow. +

+ +
+ +

6. Changes

+

+ These terms may be updated at any time without prior notice. +

+ +
+ + + +
+ +
+ +
+ + +
+ +
+ +
+ + + Close + + +

Terms

+ +
+ + + +
+ +
+ + + \ No newline at end of file