mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-04 03:44:23 +00:00
Added Milestone On Install
Added Milestone On Install
This commit is contained in:
@@ -116,6 +116,7 @@ $editIcon = '<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke=
|
||||
<tr><td>Medal Veteran Player 5a <em class="tooltip">?<span class="classic">5 years</span></em></td><td><?php echo NEW_FUNCTIONS_MEDAL_5YEAR ? "<span class='badge green'>Enabled</span>" : "<span class='badge red'>Disabled</span>"; ?></td></tr>
|
||||
<tr><td>Medal Veteran Player 10a <em class="tooltip">?<span class="classic">10 years</span></em></td><td><?php echo NEW_FUNCTIONS_MEDAL_10YEAR ? "<span class='badge green'>Enabled</span>" : "<span class='badge red'>Disabled</span>"; ?></td></tr>
|
||||
<tr><td>Special Medals<em class="tooltip">?<span class="classic">Special Medals</span></em></td><td><?php echo NEW_FUNCTIONS_SPECIAL_MEDALS_SYSTEM ? "<span class='badge green'>Enabled</span>" : "<span class='badge red'>Disabled</span>"; ?></td></tr>
|
||||
<tr><td>Server Milestones<em class="tooltip">?<span class="classic">Server Milestones</span></em></td><td><?php echo NEW_FUNCTIONS_MILESTONES ? "<span class='badge green'>Enabled</span>" : "<span class='badge red'>Disabled</span>"; ?></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -211,6 +211,17 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="b">Server Milestones <em class="tooltip">?<span class="classic">Enable (Disable) the "Server Milestones" widget (first player to settle a 2nd village, reach 1000 population, capture an artefact, conquer a WW, conquer a WW building plan, found an alliance, or conquer a village from another player) shown at the top of Statistics » General</span></em>
|
||||
<?php if (!defined('NEW_FUNCTIONS_MILESTONES')): ?><br><span style="color:#c0392b;font-size:11px;font-weight:normal;text-transform:none;">Not present in config.php yet — saving this form once will add it (defaults to False until then).</span><?php endif; ?>
|
||||
</td>
|
||||
<td>
|
||||
<select name="new_functions_milestones">
|
||||
<option value="True" <?php if(defined('NEW_FUNCTIONS_MILESTONES') && NEW_FUNCTIONS_MILESTONES == true) echo "selected";?>>True</option>
|
||||
<option value="False" <?php if(!defined('NEW_FUNCTIONS_MILESTONES') || NEW_FUNCTIONS_MILESTONES == false) echo "selected";?>>False</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@ $deletedArtifacts = $database->getDeletedArtifacts();
|
||||
<style>
|
||||
.nat-wrap{max-width:1150px;margin:18px auto;font-family:Verdana;font-size:12px}
|
||||
.nat-head{display:flex;align-items:center;gap:8px;margin-bottom:14px}
|
||||
.nat-head h1{margin:0;font-size:18px;color:#2c3e50}
|
||||
.nat-head h1{margin:0;font-size:18px;color:#ffffff} /* MODIFICAT */
|
||||
.nat-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}
|
||||
@media(max-width:950px){.nat-grid{grid-template-columns:1fr}}
|
||||
.nat-card{background:#fff;border:1px solid #ddd;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.05)}
|
||||
@@ -35,7 +35,8 @@ $deletedArtifacts = $database->getDeletedArtifacts();
|
||||
.nat-card button:hover{background:#1a68d1}
|
||||
.nat-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:10px}
|
||||
.nat-table th{background:#34495e;color:#fff;padding:6px;text-align:left;font-weight:normal}
|
||||
.nat-table td{padding:6px;border-bottom:1px solid #eee;text-align:center}
|
||||
.nat-table td{padding:6px;border-bottom:1px solid #eee;text-align:center;color:#000000} /* MODIFICAT */
|
||||
.nat-table td a{color:#000000;text-decoration:none} /* ADAUGAT */
|
||||
.nat-table tr:hover{background:#f9f9f9}
|
||||
.nat-table td.icon img{width:20px;height:20px}
|
||||
.bon{color:#27ae60;font-weight:bold}
|
||||
|
||||
@@ -84,7 +84,7 @@ $typeNames = [1=>'reinforcement',2=>'attack',3=>'defence',4=>'scout',5=>'trade',
|
||||
<style>
|
||||
.reports-wrap{max-width:1100px;margin:20px auto;font-family:Verdana;color:#222}
|
||||
.reports-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;flex-wrap:wrap;gap:8px}
|
||||
.reports-head h1{margin:0;font-size:18px;color:#111}
|
||||
.reports-head h1{margin:0;font-size:18px;color:#ffffff}
|
||||
.filters{display:flex;gap:6px}
|
||||
.filters a{padding:6px 10px;border:1px solid #ddd;background:#f7f7f7;border-radius:4px;font-size:12px;text-decoration:none;color:#333}
|
||||
.filters a.active{background:#333;color:#fff;border-color:#333}
|
||||
|
||||
@@ -74,7 +74,7 @@ if(isset($id)){
|
||||
|
||||
if($village && $user){
|
||||
include("search2.tpl");
|
||||
$svgEdit = '<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z"/></svg>';
|
||||
$svgEdit = '<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#000000" stroke-width="2"><path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z"/></svg>';
|
||||
$svgRefresh = '<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 12a9 9 0 1 1-3-6.7"/><path d="M21 3v6h-6"/></svg>';
|
||||
$svgDel = '<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 6h18M8 6V4h8v2m-1 0v14a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V6h10z"/></svg>';
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user