mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-12 07:36:07 +00:00
Admin panel design changed
Admin panel design changed
This commit is contained in:
@@ -25,7 +25,7 @@ $user = $database->getUserArray($id,1);
|
||||
<style>
|
||||
.msg-wrap{font-family:system-ui;max-width:720px;margin:12px auto}
|
||||
.msg-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.06);overflow:hidden}
|
||||
.msg-head{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:14px 18px;display:flex;align-items:center;justify-content:space-between}
|
||||
.msg-head{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:14px 18px;display:flex;align-items:center;justify-content:space-between}
|
||||
.msg-head h4{margin:0;font-size:15px;font-weight:600}
|
||||
.msg-head a{color:#93c5fd;text-decoration:none}
|
||||
.msg-head a:hover{color:#fff}
|
||||
|
||||
@@ -33,7 +33,7 @@ if(isset($id)){
|
||||
<style>
|
||||
.ab-wrap{max-width:650px;margin:12px auto;font-family:system-ui}
|
||||
.ab-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.05)}
|
||||
.ab-head{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:10px 14px;font-weight:600;font-size:14px}
|
||||
.ab-head{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:10px 14px;font-weight:600;font-size:14px}
|
||||
.ab-grid{display:grid;grid-template-columns:1fr}
|
||||
.ab-row{display:grid;grid-template-columns:48px 1.2fr 90px 90px;align-items:center;padding:8px 12px;border-bottom:1px solid #f1f5f9;gap:10px}
|
||||
.ab-row.header{background:#f8fafc;font-size:11px;color:#64748b;text-transform:uppercase;font-weight:600;border-bottom:1px solid #e5e7eb}
|
||||
|
||||
@@ -32,7 +32,7 @@ if(isset($id)){
|
||||
<style>
|
||||
.addtroops-wrap{max-width:600px;margin:12px auto;font-family:system-ui}
|
||||
.addtroops-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.05)}
|
||||
.addtroops-head{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:10px 14px;font-weight:600;font-size:14px}
|
||||
.addtroops-head{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:10px 14px;font-weight:600;font-size:14px}
|
||||
.addtroops-grid{display:grid;grid-template-columns:1fr;gap:0}
|
||||
.troop-row{display:grid;grid-template-columns:48px 1fr 120px;align-items:center;padding:8px 12px;border-bottom:1px solid #f1f5f9;gap:10px}
|
||||
.troop-row:last-child{border-bottom:0}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
margin-bottom:12px;
|
||||
}
|
||||
.punish-box th{
|
||||
background:linear-gradient(135deg,#0f172a,#1e293b);
|
||||
background:linear-gradient(135deg,#66CCFF,#66CCCC) !important;
|
||||
color:#fff;
|
||||
padding:8px 12px;
|
||||
font-weight:600;
|
||||
|
||||
@@ -24,7 +24,7 @@ $varmedal = $database->getProfileMedalAlly($_GET['aid']);
|
||||
?>
|
||||
<style>
|
||||
.medal-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;font-family:system-ui;margin-bottom:12px}
|
||||
.medal-head{background:#0f172a;color:#fff;padding:8px 12px;font-size:13px;font-weight:600}
|
||||
.medal-head{background:linear-gradient(135deg,#66CCFF,#66CCCC) !important;color:#fff !important;padding:6px 10px !important;font-size:13px}
|
||||
.medal-table{width:100%;border-collapse:collapse}
|
||||
.medal-table th{background:#f8fafc;padding:7px 6px;font-size:11px;color:#64748b;text-transform:uppercase;font-weight:600;border-bottom:1px solid #e5e7eb;text-align:center}
|
||||
.medal-table td{padding:8px 6px;font-size:12.5px;text-align:center;border-bottom:1px solid #f1f5f9;vertical-align:middle}
|
||||
|
||||
@@ -30,7 +30,7 @@ if($_GET['uid']) {
|
||||
?>
|
||||
<style>
|
||||
.del-wrap{max-width:650px;margin:0 auto;font-family:Verdana,Arial;}
|
||||
.del-head{background:linear-gradient(135deg,#dc2626,#991b1b);color:#fff;border-radius:6px;padding:18px 20px;margin-bottom:14px;text-align:center;}
|
||||
.del-head{background:linear-gradient(135deg,#FF6666,#FF9933);color:#fff;border-radius:6px;padding:18px 20px;margin-bottom:14px;text-align:center;}
|
||||
.del-head .icon{font-size:36px;margin-bottom:6px;}
|
||||
.del-head h2{margin:0;font-size:20px;}
|
||||
.del-head .warn{font-size:12px;opacity:.9;margin-top:4px;}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename : editHero.tpl ##
|
||||
## Filename : editHero.tpl ##
|
||||
## Type : Admin Panel Frontend ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Developed by : Dzoki (Original) ##
|
||||
@@ -30,49 +30,67 @@ if(isset($_GET['uid'])){
|
||||
|
||||
$unarray = array(1=>U1,U2,U3,U4,U5,U6,U7,U8,U9,U10,U11,U12,U13,U14,U15,U16,U17,U18,U19,U20,U21,U22,U23,U24,U25,U26,U27,U28,U29,U30,U31,U32,U33,U34,U35,U36,U37,U38,U39,U40,U41,U42,U43,U44,U45,U46,U47,U48,U49,U50,U99,U0);
|
||||
$utribe = ($user['tribe']-1)*10;
|
||||
|
||||
$expPct = 0;
|
||||
if($hero['level'] >= 99 || $hero['experience'] >= 495000){
|
||||
$expPct = 100;
|
||||
} elseif(isset($hero_levels[$hero['level']]) && isset($hero_levels[$hero['level']+1])){
|
||||
$next = $hero_levels[$hero['level']+1] - $hero_levels[$hero['level']];
|
||||
if($next > 0){
|
||||
$expPct = (int)(($hero['experience'] - $hero_levels[$hero['level']]) / $next * 100);
|
||||
}
|
||||
}
|
||||
$expPct = max(0, min(100, $expPct));
|
||||
$isMax = $hero['level'] >= 99; // <-- nou
|
||||
?>
|
||||
<style>
|
||||
.hero-wrap{max-width:1000px;margin:20px auto;font-family:Verdana,Arial;}
|
||||
.hero-head{background:linear-gradient(#2c3e50,#1a2530);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;}
|
||||
.hero-head.left{display:flex;align-items:center;gap:12px;}
|
||||
.hero-head.avatar{width:48px;height:48px;border-radius:50%;background:#fff2;display:flex;align-items:center;justify-content:center;font-size:24px;}
|
||||
.hero-head h2{margin:0;font-size:20px;}
|
||||
.hero-head.lvl{background:#71D000;color:#000;padding:3px 8px;border-radius:12px;font-size:12px;font-weight:bold;margin-left:8px;}
|
||||
.hero-wrap{width:100%;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;}
|
||||
.hero-head{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;border-radius:10px;padding:14px 18px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 8px rgba(0,0,0,.06);}
|
||||
.hero-head.left{display:flex;align-items:center;gap:14px;}
|
||||
.hero-head.avatar{width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,.4);}
|
||||
.hero-head.avatar img{width:32px;height:32px;image-rendering:pixelated;}
|
||||
.hero-head h2{margin:0;font-size:20px;font-weight:800;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
|
||||
.hero-head.lvl{background:#ffffff;color:#0369a1;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:700;letter-spacing:.3px;box-shadow:0 2px 4px rgba(0,0,0,.1);border:1px solid rgba(255,255,255,.7);}
|
||||
.hero-head.hero-meta{font-size:12px;opacity:.9;margin-top:3px;}
|
||||
.hero-head a{color:#e0f7ff;text-decoration:none;font-weight:600;}
|
||||
.hero-head a:hover{text-decoration:underline;}
|
||||
|
||||
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
|
||||
@media(max-width:850px){.grid-2{grid-template-columns:1fr;}}
|
||||
|
||||
.card{background:#fff;border:1px solid #d8d8d8;border-radius:6px;overflow:hidden;box-shadow:0 2px 4px rgba(0,0,0,.05);}
|
||||
.card h3{margin:0;padding:10px 14px;background:#f5f7fa;border-bottom:1px solid #e5e7eb;font-size:13px;text-transform:uppercase;color:#374151;letter-spacing:.5px;}
|
||||
.card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.04);margin-bottom:12px;}
|
||||
.card h3{margin:0;padding:9px 14px;background:#f8fafc;border-bottom:1px solid #e5e7eb;font-size:12px;text-transform:uppercase;color:#475569;letter-spacing:.4px;font-weight:600;display:flex;align-items:center;gap:6px;}
|
||||
.card.body{padding:14px;}
|
||||
|
||||
.form-row{display:flex;align-items:center;margin-bottom:12px;gap:10px;}
|
||||
.form-row label{width:130px;font-size:12px;color:#374151;font-weight:600;}
|
||||
.form-row{display:flex;align-items:center;margin-bottom:10px;gap:10px;}
|
||||
.form-row:last-child{margin-bottom:0;}
|
||||
.form-row label{width:120px;font-size:12px;color:#475569;font-weight:600;}
|
||||
.form-row.field{flex:1;}
|
||||
.form-row input[type=text],.form-row select{width:100%;padding:7px 9px;border:1px solid #cbd5e1;border-radius:4px;font-size:13px;}
|
||||
.form-row input:focus, select:focus{border-color:#71D000;outline:none;box-shadow:0 0 0 2px rgba(113,208,0,.2);}
|
||||
.form-row input[type=text],.form-row select{width:100%;padding:7px 9px;border:1px solid #cbd5e1;border-radius:6px;font-size:13px;background:#fff;box-sizing:border-box;}
|
||||
.form-row input:focus,.form-row select:focus{border-color:#66CCCC;outline:none;box-shadow:0 0 0 3px rgba(102,204,204,.2);}
|
||||
|
||||
.stat-table{width:100%;border-collapse:separate;border-spacing:0 6px;}
|
||||
.stat-table th{background:#f9fafb;padding:8px;font-size:11px;text-transform:uppercase;color:#6b7280;text-align:left;border-bottom:1px solid #e5e7eb;}
|
||||
.stat-table td{background:#fff;padding:10px;border-top:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9;vertical-align:middle;}
|
||||
.stat-table td:first-child{border-left:1px solid #f1f5f9;border-radius:6px 0 0 6px;font-weight:600;color:#1f2937;}
|
||||
.stat-table td:last-child{border-right:1px solid #f1f5f9;border-radius:0 6px 6px 0;text-align:center;}
|
||||
.stat-table{width:100%;border-collapse:collapse;}
|
||||
.stat-table th{background:#f8fafc;padding:8px 10px;font-size:11px;text-transform:uppercase;color:#64748b;text-align:left;border-bottom:1px solid #e5e7eb;font-weight:600;}
|
||||
.stat-table td{padding:10px;border-bottom:1px solid #f1f5f9;vertical-align:middle;font-size:13px;}
|
||||
.stat-table tr:last-child td{border-bottom:0;}
|
||||
.stat-table td:first-child{font-weight:600;color:#1f2937;}
|
||||
|
||||
.ctrl{display:flex;align-items:center;justify-content:center;gap:8px;}
|
||||
.btn-step{width:28px;height:28px;border-radius:50%;border:1px solid #d1d5db;background:#fff;cursor:pointer;font-weight:bold;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;transition:.15s;}
|
||||
.btn-step:hover{background:#71D000;color:#fff;border-color:#71D000;}
|
||||
.btn-step:disabled{opacity:.4;cursor:not-allowed;}
|
||||
.val-box{min-width:36px;text-align:center;font-weight:bold;font-size:15px;color:#111;}
|
||||
.btn-step{width:26px;height:26px;border-radius:6px;border:1px solid #d1d5db;background:#fff;cursor:pointer;font-weight:700;font-size:15px;line-height:1;display:flex;align-items:center;justify-content:center;transition:.15s;color:#475569;}
|
||||
.btn-step:hover{background:#66CCCC;color:#fff;border-color:#66CCCC;}
|
||||
.btn-step:disabled{opacity:.4;cursor:not-allowed;background:#f9fafb;}
|
||||
.val-box{min-width:32px;text-align:center;font-weight:700;font-size:14px;color:#0f172a;}
|
||||
|
||||
.unit-preview{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;}
|
||||
.unit-preview{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;}
|
||||
|
||||
.actions{display:flex;justify-content:space-between;margin-top:18px;}
|
||||
.btn{padding:9px 20px;border-radius:5px;font-size:13px;font-weight:600;cursor:pointer;border:1px solid;text-decoration:none;}
|
||||
.btn-save{background:linear-gradient(#22c55e,#16a34a);border-color:#15803d;color:#fff;}
|
||||
.btn-back{background:#f3f4f6;border-color:#d1d5db;color:#374151;}
|
||||
.actions{display:flex;justify-content:space-between;margin-top:14px;gap:10px;}
|
||||
.btn{padding:8px 16px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;border:1px solid;text-decoration:none;display:inline-flex;align-items:center;gap:6px;}
|
||||
.btn-save{background:#16a34a;border-color:#15803d;color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05);}
|
||||
.btn-save:hover{background:#15803d;}
|
||||
.btn-back{background:#fff;border-color:#d1d5db;color:#374151;}
|
||||
.btn-back:hover{background:#f9fafb;}
|
||||
</style>
|
||||
<script>
|
||||
var isMaxHero = <?php echo $isMax? 'true' : 'false';?>;
|
||||
function changeValue(u,c) {
|
||||
if(isMaxHero) return false; // blocat la level 99
|
||||
var objv=document.getElementById(c);
|
||||
var objd=document.getElementById(c+'2');
|
||||
var obje=document.getElementById('exp1');
|
||||
@@ -102,10 +120,12 @@ function go_url(url){ location=url; return false; }
|
||||
<div class="hero-wrap">
|
||||
<div class="hero-head">
|
||||
<div class="left">
|
||||
<div class="avatar">🦸</div>
|
||||
<div>
|
||||
<h2><?php echo htmlspecialchars($hero['name']);?> <span class="lvl">Lv <?php echo $hero['level'];?></span></h2>
|
||||
<div style="font-size:12px;opacity:.8;">Player: <a href="admin.php?p=player&uid=<?php echo $id;?>" style="color:#9ae6b4;"><?php echo htmlspecialchars($user['username']);?></a></div>
|
||||
<h2>
|
||||
<span class="hero-name"><?php echo htmlspecialchars($hero['name']);?></span>
|
||||
<span class="lvl">Level <?php echo $hero['level'];?></span>
|
||||
</h2>
|
||||
<div class="hero-meta">Player: <a href="admin.php?p=player&uid=<?php echo $id;?>"><?php echo htmlspecialchars($user['username']);?></a></div>
|
||||
</div>
|
||||
</div>
|
||||
<div><img class="unit u<?php echo $hero['unit'];?>" src="img/x.gif" alt=""></div>
|
||||
@@ -117,42 +137,50 @@ function go_url(url){ location=url; return false; }
|
||||
<input type="hidden" name="hid" value="<?php echo $hid;?>" />
|
||||
<input name="hlvl" type="hidden" value="0">
|
||||
|
||||
<div class="grid-2">
|
||||
<div class="card">
|
||||
<h3>📝 Basic Info</h3>
|
||||
<div class="body">
|
||||
<div class="form-row"><label>Hero Name</label><div class="field"><input name="hname" type="text" value="<?php echo htmlspecialchars($hero['name']);?>"></div></div>
|
||||
<div class="form-row"><label>Hero Unit</label><div class="field">
|
||||
<div class="unit-preview"><span id="unt"><img class="unit u<?php echo $hero['unit'];?>" src="img/x.gif"></span>
|
||||
<select name="hunit" onchange="check_unit(this)" style="flex:1;border:none;background:transparent;">
|
||||
<?php for($i=1;$i<7;$i++){ if(($i==3&&$user['tribe']==4)||($i==4&&$user['tribe']!=3))continue; $v=$utribe+$i; echo "<option value='$v'".($hero['unit']==$v?' selected':'').">".$unarray[$v]."</option>"; }?>
|
||||
</select></div>
|
||||
</div></div>
|
||||
<div class="form-row"><label>❤️ Health</label><div class="field"><input name="hhealth" type="text" value="<?php echo round($hero['health']);?>" style="width:80px;"> %</div></div>
|
||||
<div class="form-row"><label>✨ Experience</label><div class="field"><b><span id="exp1">5</span>%</b> <input id="exp" name="exp" type="hidden" value="5"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h3>📈 Current Stats</h3>
|
||||
<div class="body" style="font-size:12px;line-height:1.8;">
|
||||
<div>Level: <b><?php echo $hero['level'];?></b> | Points: <b><?php echo $hero['atk']+$hero['di']+$hero['dc'];?></b></div>
|
||||
<div>Offence: <b><?php echo $hero['atk'];?></b> (Lv <?php echo $hero['attack'];?>)</div>
|
||||
<div>Defence: <b><?php echo $hero['di']."/".$hero['dc'];?></b> (Lv <?php echo $hero['defence'];?>)</div>
|
||||
<div>Off-Bonus: <b><?php echo ($hero['ob']-1)*100;?>%</b> | Def-Bonus: <b><?php echo ($hero['db']-1)*100;?>%</b></div>
|
||||
<div>Regen: <b><?php echo $hero['regeneration']*5*SPEED;?>/day</b></div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h3>📝 Basic Info</h3>
|
||||
<div class="body">
|
||||
<div class="form-row"><label>Hero Name</label><div class="field"><input name="hname" type="text" value="<?php echo htmlspecialchars($hero['name']);?>"></div></div>
|
||||
<div class="form-row"><label>Hero Unit</label><div class="field">
|
||||
<div class="unit-preview"><span id="unt"><img class="unit u<?php echo $hero['unit'];?>" src="img/x.gif"></span>
|
||||
<select name="hunit" onchange="check_unit(this)" style="flex:1;border:none;background:transparent;">
|
||||
<?php for($i=1;$i<7;$i++){ if(($i==3&&$user['tribe']==4)||($i==4&&$user['tribe']!=3))continue; $v=$utribe+$i; echo "<option value='$v'".($hero['unit']==$v?' selected':'').">".$unarray[$v]."</option>"; }?>
|
||||
</select></div>
|
||||
</div></div>
|
||||
<div class="form-row"><label>❤ Health</label><div class="field"><input name="hhealth" type="text" value="<?php echo round($hero['health']);?>" style="width:80px;"> %</div></div>
|
||||
<div class="form-row"><label>✨ Experience</label><div class="field"><b><span id="exp1"><?php echo $expPct;?></span>%</b> <input id="exp" name="exp" type="hidden" value="<?php echo $expPct;?>"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h3>⚔️ Add Points</h3>
|
||||
<h3>📈 Current Stats</h3>
|
||||
<div class="body" style="font-size:12px;line-height:1.8;">
|
||||
<div>Level: <b><?php echo $hero['level'];?></b> | Points: <b><?php echo $hero['atk']+$hero['di']+$hero['dc'];?></b></div>
|
||||
<div>Offence: <b><?php echo $hero['atk'];?></b> (Lv <?php echo $hero['attack'];?>)</div>
|
||||
<div>Defence: <b><?php echo $hero['di']."/".$hero['dc'];?></b> (Lv <?php echo $hero['defence'];?>)</div>
|
||||
<div>Off-Bonus: <b><?php echo ($hero['ob']-1)*100;?>%</b> | Def-Bonus: <b><?php echo ($hero['db']-1)*100;?>%</b></div>
|
||||
<div>Regen: <b><?php echo $hero['regeneration']*5*SPEED;?>/day</b></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h3>⚔ Add Points</h3>
|
||||
<div class="body">
|
||||
<?php if($isMax):?>
|
||||
<div style="text-align:center;padding:8px;background:#fef3c7;border:1px solid #fde68a;border-radius:6px;color:#92400e;font-size:12px;margin-bottom:10px;">
|
||||
⚠ Hero este Level 99 — nu mai poți adăuga puncte.
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<table class="stat-table">
|
||||
<thead><tr><th>Attribute</th><th style="width:80px;text-align:center;">Current</th><th style="width:120px;text-align:center;">Add</th><th style="width:60px;text-align:center;">New</th></tr></thead>
|
||||
<tbody>
|
||||
<?php $attrs=[['hatk','Offence',$hero['attack']],['hdef','Defence',$hero['defence']],['hob','Off-Bonus',$hero['attackbonus']],['hdb','Def-Bonus',$hero['defencebonus']],['hrege','Regeneration',$hero['regeneration']]];
|
||||
foreach($attrs as $a){ echo '<tr><td>'.$a[1].'</td><td style="text-align:center;">'.$a[2].'</td><td><div class="ctrl"><span id="'.$a[0].'0"><button type="button" class="btn-step" disabled>−</button></span><div class="val-box" id="'.$a[0].'2">0</div><span id="'.$a[0].'1"><button type="button" class="btn-step" onclick="return changeValue(1,\''.$a[0].'\')">+</button></span></div></td><td><input id="'.$a[0].'" name="'.$a[0].'" type="hidden" value="0"><span id="'.$a[0].'2v">0</span></td></tr>'; }?>
|
||||
<?php
|
||||
$attrs=[['hatk','Offence',$hero['attack']],['hdef','Defence',$hero['defence']],['hob','Off-Bonus',$hero['attackbonus']],['hdb','Def-Bonus',$hero['defencebonus']],['hrege','Regeneration',$hero['regeneration']]];
|
||||
foreach($attrs as $a){
|
||||
$plusBtn = $isMax? "<button type='button' class='btn-step' disabled>+</button>" : "<button type='button' class='btn-step' onclick=\"return changeValue(1,'{$a[0]}')\">+</button>";
|
||||
echo '<tr><td>'.$a[1].'</td><td style="text-align:center;">'.$a[2].'</td><td><div class="ctrl"><span id="'.$a[0].'0"><button type="button" class="btn-step" disabled>−</button></span><div class="val-box" id="'.$a[0].'2">0</div><span id="'.$a[0].'1">'.$plusBtn.'</span></div></td><td><input id="'.$a[0].'" name="'.$a[0].'" type="hidden" value="0"><span id="'.$a[0].'2v">0</span></td></tr>';
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div style="text-align:center;margin-top:10px;font-size:12px;">Level nou: <b><span id="hlvl">0</span></b></div>
|
||||
|
||||
@@ -23,7 +23,7 @@ if($id){
|
||||
?>
|
||||
<style>
|
||||
.over-wrap{max-width:700px;margin:0 auto;font-family:Verdana,Arial;}
|
||||
.over-head{background:linear-gradient(135deg,#7c3aed,#5b21b6);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;align-items:center;gap:12px;}
|
||||
.over-head{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;align-items:center;gap:12px;}
|
||||
.over-head .icon{font-size:28px;background:rgba(255,255,255,.15);width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
|
||||
.over-head h2{margin:0;font-size:18px;}
|
||||
.over-head h2 a{color:#fff;text-decoration:none;}
|
||||
|
||||
@@ -26,7 +26,7 @@ if(isset($_GET['uid'])) {
|
||||
?>
|
||||
<style>
|
||||
.pw-wrap{max-width:600px;margin:0 auto;font-family:Verdana,Arial;}
|
||||
.pw-head{background:linear-gradient(135deg,#dc2626,#991b1b);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;align-items:center;gap:12px;}
|
||||
.pw-head{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;align-items:center;gap:12px;}
|
||||
.pw-head .icon{font-size:28px;background:rgba(255,255,255,.15);width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
|
||||
.pw-head h2{margin:0;font-size:18px;}
|
||||
.pw-head h2 a{color:#fff;text-decoration:none;}
|
||||
|
||||
@@ -25,7 +25,7 @@ if($id){
|
||||
?>
|
||||
<style>
|
||||
.plus-wrap{max-width:900px;margin:0 auto;font-family:Verdana,Arial;}
|
||||
.plus-head{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center;}
|
||||
.plus-head{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center;}
|
||||
.plus-head h2{margin:0;font-size:20px;}.plus-head h2 a{color:#fff;}
|
||||
.card{background:#fff;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:14px;box-shadow:0 1px 3px rgba(0,0,0,.05);}
|
||||
.card h3{margin:0;padding:10px 14px;background:#f9fafb;border-bottom:1px solid #e5e7eb;font-size:13px;text-transform:uppercase;color:#374151;}
|
||||
|
||||
@@ -29,7 +29,7 @@ if($id && $user){
|
||||
?>
|
||||
<style>
|
||||
.prot-wrap{max-width:550px;margin:0 auto;font-family:Verdana,Arial;}
|
||||
.prot-head{background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;align-items:center;gap:12px;}
|
||||
.prot-head{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;align-items:center;gap:12px;}
|
||||
.prot-head .icon{font-size:28px;background:rgba(255,255,255,.15);width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
|
||||
.prot-head h2{margin:0;font-size:18px;}
|
||||
.prot-head h2 a{color:#fff;text-decoration:none;}
|
||||
|
||||
@@ -26,7 +26,7 @@ if($id){
|
||||
<style>
|
||||
.res-wrap{font-family:system-ui;max-width:600px;margin:12px auto}
|
||||
.res-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,.06)}
|
||||
.res-head{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:12px 16px;font-weight:600;font-size:14px}
|
||||
.res-head{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:12px 16px;font-weight:600;font-size:14px}
|
||||
.res-table{width:100%;border-collapse:collapse}
|
||||
.res-table thead td{background:#f8fafc;color:#64748b;font-size:11px;text-transform:uppercase;font-weight:600;padding:8px 12px;border-bottom:1px solid #e5e7eb}
|
||||
.res-table tbody td{padding:10px 12px;border-bottom:1px solid #f1f5f9;font-size:13px}
|
||||
|
||||
@@ -25,7 +25,7 @@ if($id){
|
||||
?>
|
||||
<style>
|
||||
.sit-wrap{max-width:700px;margin:0 auto;font-family:Verdana,Arial;}
|
||||
.sit-head{background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;align-items:center;gap:12px;}
|
||||
.sit-head{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;align-items:center;gap:12px;}
|
||||
.sit-head .icon{font-size:28px;background:rgba(255,255,255,.15);width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
|
||||
.sit-head h2{margin:0;font-size:18px;}
|
||||
.sit-head h2 a{color:#fff;text-decoration:none;}
|
||||
|
||||
@@ -27,8 +27,8 @@ if(isset($id) && $id > 0) {
|
||||
<style>
|
||||
.editUser-wrap { max-width:1100px; margin:0 auto; font-family:system-ui; }
|
||||
.editUser-head {
|
||||
background: linear-gradient(135deg,#0f172a,#1e293b); color:#fff;
|
||||
border:1px solid #0f172a; padding:10px 14px; margin-bottom:12px;
|
||||
background: linear-gradient(135deg,#66CCFF,#66CCCC); color:#fff;
|
||||
padding:10px 14px; margin-bottom:12px;
|
||||
border-radius:10px; display:flex; align-items:center; justify-content:space-between;
|
||||
}
|
||||
.editUser-head h2 { margin:0; font-size:16px; }
|
||||
|
||||
@@ -31,7 +31,7 @@ if(isset($id)) { include("search2.tpl"); ?>
|
||||
#content.village1 #village_map {float: none !important;margin: 0 auto !important;left: 0 !important;right: 0 !important;position: relative !important;display: block;}
|
||||
.village-page{font-family:system-ui;max-width:1100px;margin:0 auto;padding:0 6px}
|
||||
.vcard{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.04);margin-bottom:12px}
|
||||
.vhead{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:8px 12px;font-weight:600;font-size:13px;display:flex;align-items:center}
|
||||
.vhead{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:8px 12px;font-weight:600;font-size:13px;display:flex;align-items:center}
|
||||
.vtable{width:100%;border-collapse:collapse;font-size:12.5px}
|
||||
.vtable th{background:#f8fafc;padding:6px;border-bottom:1px solid #e5e7eb;text-align:left;font-weight:600;color:#475569}
|
||||
.vtable td{padding:5px 6px;border-bottom:1px solid #f1f5f9;vertical-align:middle}
|
||||
|
||||
@@ -23,7 +23,7 @@ if($id){
|
||||
?>
|
||||
<style>
|
||||
.week-wrap{max-width:800px;margin:0 auto;font-family:Verdana,Arial;}
|
||||
.week-head{background:linear-gradient(135deg,#059669,#047857);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;align-items:center;gap:12px;}
|
||||
.week-head{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;border-radius:6px;padding:16px 20px;margin-bottom:14px;display:flex;align-items:center;gap:12px;}
|
||||
.week-head .icon{font-size:28px;background:rgba(255,255,255,.15);width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
|
||||
.week-head h2{margin:0;font-size:18px;}
|
||||
.week-head h2 a{color:#fff;text-decoration:none;}
|
||||
|
||||
@@ -45,7 +45,7 @@ if(isset($id))
|
||||
.player-page > br,.player-page br{display:none}
|
||||
#profile, .hero-wrap, #member, .ban-history{margin-bottom:10px !important}
|
||||
table.ban-history{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04);margin-top:10px;font-family:system-ui}
|
||||
table.ban-history thead tr:first-child th{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:6px 10px;font-weight:600;text-align:left;font-size:13px}
|
||||
table.ban-history thead tr:first-child th{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:6px 10px;font-weight:600;text-align:left;font-size:13px}
|
||||
table.ban-history thead tr:nth-child(2) td{background:#f8fafc;color:#64748b;font-size:11px;text-transform:uppercase;padding:4px 8px;border-bottom:1px solid #e5e7eb;font-weight:600}
|
||||
table.ban-history tbody td{padding:3px 8px;border-bottom:1px solid #f1f5f9;font-size:12px;color:#334155;line-height:1.2}
|
||||
table.ban-history tbody tr:last-child td{border-bottom:0}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<style>
|
||||
#member{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04);margin-top:10px;font-family:system-ui}
|
||||
#member thead th{background:linear-gradient(135deg,#0f172a,#1e293b) !important;color:#fff;padding:6px 10px;font-weight:600;text-align:left;font-size:13px;position:relative}
|
||||
#member thead th .edit-icon{float:right;display:inline-flex;opacity:.85;transition:.15s}
|
||||
#member thead th{background:linear-gradient(135deg,#66CCFF,#66CCCC) !important;color:#fff;padding:6px 10px;font-weight:600;text-align:left;font-size:13px;position:relative}
|
||||
#member thead th .edit-icon{float:right;display:inline-flex;opacity:.9;transition:.15s}
|
||||
#member thead th .edit-icon:hover{opacity:1}
|
||||
#member thead th .edit-icon svg{width:14px;height:14px;stroke:#93c5fd;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
|
||||
#member thead th .edit-icon:hover svg{stroke:#fff}
|
||||
#member thead th .edit-icon svg{width:14px;height:14px;stroke:#000000;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
|
||||
#member thead th .edit-icon:hover svg{stroke:#000000}
|
||||
#member tbody td{padding:3px 8px;border-bottom:1px solid #f1f5f9;font-size:12px;color:#334155;vertical-align:middle;line-height:1.2}
|
||||
#member tbody tr:last-child td{border-bottom:0}
|
||||
#member tbody tr:hover td{background:#f8fafc}
|
||||
|
||||
@@ -37,7 +37,7 @@ if ($hero !== false) {
|
||||
.hero-table th,.hero-table td{vertical-align:middle;padding:3px 8px;border-bottom:1px solid #f1f5f9;font-size:12px;color:#1e293b;line-height:1.2}
|
||||
.hero-table thead th{background:linear-gradient(180deg,#f8fafc,#eef2f7);text-align:center;font-weight:600;color:#334155;border-bottom:1px solid #e2e8f0;padding:4px 8px}
|
||||
.hero-table tr:last-child td{border-bottom:0}
|
||||
.hero-table thead th.hero-head{background:linear-gradient(135deg,#0f172a,#1e293b) !important;color:#fff !important;padding:6px 10px !important;font-size:13px}
|
||||
.hero-table thead th.hero-head{background:linear-gradient(135deg,#66CCFF,#66CCCC) !important;color:#fff !important;padding:6px 10px !important;font-size:13px}
|
||||
.hero-sub{background:#e2e8f0 !important;font-weight:600;color:#1e293b;text-align:center;padding:3px 8px !important}
|
||||
.hero-name{font-weight:600;color:#0f172a}
|
||||
.badge{display:inline-block;padding:1px 6px;border-radius:5px;font-size:10.5px;font-weight:600}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<table id="profile" cellpadding="1" cellspacing="1" >
|
||||
<style>
|
||||
#profile{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,.05);font-family:system-ui}
|
||||
#profile thead tr:first-child th{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:6px 10px;font-size:14px;font-weight:600;text-align:left}
|
||||
#profile thead tr:first-child th{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:6px 10px;font-size:14px;font-weight:600;text-align:left}
|
||||
#profile thead tr:first-child th a{color:#93c5fd;text-decoration:none}
|
||||
#profile thead tr:first-child th a:hover{text-decoration:underline}
|
||||
#profile thead tr:nth-child(2) td{background:#f8fafc;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.5px;padding:4px 8px;border-bottom:1px solid #e5e7eb;font-weight:600}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<style>
|
||||
.medals-wrap{font-family:system-ui;margin-top:12px}
|
||||
.medals-head{width:100%;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:8px 12px;font-weight:600;text-align:center;font-size:13px;border:1px solid #0f172a;border-radius:10px 10px 0 0;box-sizing:border-box}
|
||||
.medals-head{width:100%;background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:8px 12px;font-weight:600;text-align:center;font-size:13px;border-radius:10px 10px 0 0;box-sizing:border-box}
|
||||
.medals-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-top:0;border-radius:0 0 10px 10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04)}
|
||||
.medals-table tr.head td{background:#f8fafc;color:#64748b;font-size:11px;text-transform:uppercase;padding:6px 8px;font-weight:600;border-bottom:1px solid #e5e7eb;text-align:center}
|
||||
.medals-table td{padding:6px 8px;border-bottom:1px solid #f1f5f9;font-size:12px;color:#334155;text-align:center;vertical-align:middle}
|
||||
|
||||
@@ -36,7 +36,7 @@ $active = $admin->getUserActive();
|
||||
margin-bottom:12px; /* spațiu între ele */
|
||||
}
|
||||
.punish-box th{
|
||||
background:linear-gradient(135deg,#0f172a,#1e293b);
|
||||
background:linear-gradient(135deg,#66CCFF,#66CCCC) !important;
|
||||
color:#fff;
|
||||
padding:8px 12px;
|
||||
font-weight:600;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
$result = $admin->search_alliance($_POST['s']); ?>
|
||||
<style>
|
||||
.search-wrap{font-family:system-ui;margin-top:10px}
|
||||
.search-head{width:100%;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:10px 12px;font-weight:600;text-align:center;font-size:14px;border:1px solid #0f172a;border-radius:10px 10px 0 0;box-shadow:0 2px 8px rgba(0,0,0,.08);box-sizing:border-box}
|
||||
.search-head{width:100%;background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:10px 12px;font-weight:600;text-align:center;font-size:14px;border-radius:10px 10px 0 0;box-shadow:0 2px 8px rgba(0,0,0,.08);box-sizing:border-box}
|
||||
.search-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-top:0;border-radius:0 0 10px 10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04);margin-bottom:12px}
|
||||
.search-table tr:first-child td{background:#f8fafc;color:#64748b;font-size:11px;text-transform:uppercase;padding:7px 10px;font-weight:600;border-bottom:1px solid #e5e7eb;text-align:center}
|
||||
.search-table td{padding:7px 10px;border-bottom:1px solid #f1f5f9;font-size:13px;color:#334155;text-align:center}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<?php $result = $admin->search_email($_POST['s']); ?>
|
||||
<style>
|
||||
.search-wrap{font-family:system-ui;margin-top:10px}
|
||||
.search-head{width:100%;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:10px 12px;font-weight:600;text-align:center;font-size:14px;border:1px solid #0f172a;border-radius:10px 10px 0 0;box-shadow:0 2px 8px rgba(0,0,0,.08);box-sizing:border-box}
|
||||
.search-head{width:100%;background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:10px 12px;font-weight:600;text-align:center;font-size:14px;border-radius:10px 10px 0 0;box-shadow:0 2px 8px rgba(0,0,0,.08);box-sizing:border-box}
|
||||
.search-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-top:0;border-radius:0 0 10px 10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04);margin-bottom:12px}
|
||||
.search-table tr:first-child td{background:#f8fafc;color:#64748b;font-size:11px;text-transform:uppercase;padding:7px 10px;font-weight:600;border-bottom:1px solid #e5e7eb;text-align:center}
|
||||
.search-table td{padding:7px 10px;border-bottom:1px solid #f1f5f9;font-size:13px;color:#334155;text-align:center;word-break:break-all}
|
||||
|
||||
@@ -34,7 +34,7 @@ if($result){
|
||||
?>
|
||||
<style>
|
||||
.search-wrap{font-family:system-ui;margin-top:10px}
|
||||
.search-head{width:100%;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:10px 12px;font-weight:600;text-align:center;font-size:14px;border:1px solid #0f172a;border-radius:10px 10px 0 0;box-shadow:0 2px 8px rgba(0,0,0,.08);box-sizing:border-box}
|
||||
.search-head{width:100%;background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:10px 12px;font-weight:600;text-align:center;font-size:14px;border-radius:10px 10px 0 0;box-shadow:0 2px 8px rgba(0,0,0,.08);box-sizing:border-box}
|
||||
.search-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-top:0;border-radius:0 0 10px 10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04);margin-bottom:12px}
|
||||
.search-table tr:first-child td{background:#f8fafc;color:#64748b;font-size:11px;text-transform:uppercase;padding:7px 10px;font-weight:600;border-bottom:1px solid #e5e7eb;text-align:center}
|
||||
.search-table td{padding:7px 10px;border-bottom:1px solid #f1f5f9;font-size:13px;color:#334155;text-align:center;font-family:monospace}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<?php $result = $admin->search_player($_POST['s']); ?>
|
||||
<style>
|
||||
.search-wrap{font-family:system-ui;margin-top:10px}
|
||||
.search-head{width:100%;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:10px 12px;font-weight:600;text-align:center;font-size:14px;border:1px solid #0f172a;border-radius:10px 10px 0 0;box-shadow:0 2px 8px rgba(0,0,0,.08);box-sizing:border-box}
|
||||
.search-head{width:100%;background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:10px 12px;font-weight:600;text-align:center;font-size:14px;border-radius:10px 10px 0 0;box-shadow:0 2px 8px rgba(0,0,0,.08);box-sizing:border-box}
|
||||
.search-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-top:0;border-radius:0 0 10px 10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04);margin-bottom:12px}
|
||||
.search-table tr:first-child td{background:#f8fafc;color:#64748b;font-size:11px;text-transform:uppercase;padding:7px 10px;font-weight:600;border-bottom:1px solid #e5e7eb;text-align:center}
|
||||
.search-table td{padding:7px 10px;border-bottom:1px solid #f1f5f9;font-size:13px;color:#334155;text-align:center}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<?php $result = $admin->search_village($_POST['s']); ?>
|
||||
<style>
|
||||
.search-wrap{font-family:system-ui;margin-top:10px}
|
||||
.search-head{width:100%;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:10px 12px;font-weight:600;text-align:center;font-size:14px;border:1px solid #0f172a;border-radius:10px 10px 0 0;box-shadow:0 2px 8px rgba(0,0,0,.08);box-sizing:border-box}
|
||||
.search-head{width:100%;background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:10px 12px;font-weight:600;text-align:center;font-size:14px;border-radius:10px 10px 0 0;box-shadow:0 2px 8px rgba(0,0,0,.08);box-sizing:border-box}
|
||||
.search-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-top:0;border-radius:0 0 10px 10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04);margin-bottom:12px}
|
||||
.search-table tr:first-child td{background:#f8fafc;color:#64748b;font-size:11px;text-transform:uppercase;padding:7px 8px;font-weight:600;border-bottom:1px solid #e5e7eb;text-align:center}
|
||||
.search-table td{padding:7px 8px;border-bottom:1px solid #f1f5f9;font-size:13px;color:#334155;text-align:center}
|
||||
|
||||
@@ -29,8 +29,8 @@ foreach($varray as $vil) $totalpop += $vil['pop'];
|
||||
?>
|
||||
<style>
|
||||
#member.search-modern{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04);margin-bottom:12px}
|
||||
#member.search-modern th{background:linear-gradient(135deg,#0f172a,#334155);color:#fff;padding:10px 12px;font-weight:600;text-align:left;font-size:13px}
|
||||
#member.search-modern th font{color:#fca5a5 !important;font-weight:500}
|
||||
#member.search-modern th{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:10px 12px;font-weight:600;text-align:left;font-size:13px}
|
||||
#member.search-modern th font{color:#000000 !important;font-weight:500}
|
||||
|
||||
.s-info-wrap{display:flex;flex-direction:column;gap:10px;width:100%;margin:0 0 12px}
|
||||
.s-card{width:100%;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:12px 14px;box-shadow:0 1px 3px rgba(0,0,0,.04);box-sizing:border-box}
|
||||
|
||||
@@ -85,7 +85,7 @@ if(isset($id)){
|
||||
.vgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
|
||||
@media(max-width:900px){.vgrid{grid-template-columns:1fr}}
|
||||
.vcard{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.04);margin-bottom:8px}
|
||||
.vhead{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:7px 10px;font-weight:600;font-size:13px;display:flex;justify-content:space-between;align-items:center}
|
||||
.vhead{background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:7px 10px;font-weight:600;font-size:13px;display:flex;justify-content:space-between;align-items:center}
|
||||
.vhead a{color:#93c5fd;display:inline-flex}
|
||||
.vtable{width:100%;border-collapse:collapse}
|
||||
.vtable td{padding:5px 8px;border-bottom:1px solid #f1f5f9;font-size:12.5px;color:#334155;vertical-align:middle}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
?>
|
||||
<style>
|
||||
.vil-wrap{font-family:system-ui;margin-top:8px}
|
||||
.vil-head{width:100%;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:9px 12px;font-weight:600;text-align:center;font-size:14px;border:1px solid #0f172a;border-radius:10px 10px 0 0;box-sizing:border-box}
|
||||
.vil-head{width:100%;background:linear-gradient(135deg,#66CCFF,#66CCCC);color:#fff;padding:9px 12px;font-weight:600;text-align:center;font-size:14px;border-radius:10px 10px 0 0;box-sizing:border-box}
|
||||
.vil-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-top:0;border-radius:0 0 10px 10px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.04)}
|
||||
.vil-table tr:first-child td{background:#f8fafc;color:#64748b;font-size:11px;text-transform:uppercase;padding:7px 10px;font-weight:600;border-bottom:1px solid #e5e7eb;text-align:center}
|
||||
.vil-table td{padding:7px 10px;border-bottom:1px solid #f1f5f9;font-size:13px;color:#334155;text-align:center}
|
||||
|
||||
Reference in New Issue
Block a user