Compare commits

...

2 commits

Author SHA1 Message Date
1e13a52eee
Merge remote-tracking branch 'refs/remotes/origin/main' 2024-01-08 17:09:44 +03:00
3d8c6e9d0a
fix: donations sort 2024-01-08 17:09:06 +03:00

View file

@ -49,12 +49,14 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
<div><span>Papara Numarası: </span><span style="margin-top: 0px;text-decoration:none;"> <b class="copy_element" id="Papara" onclick="copy2Clipboard('Papara')">1444318251</b><span id="Papara-tip"></span></span></div> <div><span>Papara Numarası: </span><span style="margin-top: 0px;text-decoration:none;"> <b class="copy_element" id="Papara" onclick="copy2Clipboard('Papara')">1444318251</b><span id="Papara-tip"></span></span></div>
<div><sup>ıklama Kısmını <span style="font-weight:800;">Gözükmesini İstediğiniz İsim - Bağış</span> şeklinde doldurunuz. Anonim Kalmak için <span style="font-weight:800;">Anonim - Bağış</span> Yazabilirsiniz</sup></div> <div><sup>ıklama Kısmını <span style="font-weight:800;">Gözükmesini İstediğiniz İsim - Bağış</span> şeklinde doldurunuz. Anonim Kalmak için <span style="font-weight:800;">Anonim - Bağış</span> Yazabilirsiniz</sup></div>
<br><hr style="width: 100%;"><br> <br>
<hr style="width: 100%;"><br>
<div id="current-goal"><label id="label1" for="pprogress">Sıradaki Hedef: </label><progress id="pprogress"><span></span></progress> <label id="label2" for="pprogress">x/y</label><br></div> <div id="current-goal"><label id="label1" for="pprogress">Sıradaki Hedef: </label><progress id="pprogress"><span></span></progress> <label id="label2" for="pprogress">x/y</label><br></div>
<!-- <p id="next-todo" style="margin-top:0px; margin-bottom:0px;font-size:15px;">Sırada Yapılacaklar: <b><span id="sirada-yapilacaklar"></span></b><br></p> --> <!-- <p id="next-todo" style="margin-top:0px; margin-bottom:0px;font-size:15px;">Sırada Yapılacaklar: <b><span id="sirada-yapilacaklar"></span></b><br></p> -->
<!-- <p><a href="../iflpanel/path.php" style="border:solid 1px orange; border-radius:10px; padding: 10px; background-color:royalblue; font-weight:800; color:orange">&#x1F449; Yol Haritası &#x1F448;</a></p> --> <!-- <p><a href="../iflpanel/path.php" style="border:solid 1px orange; border-radius:10px; padding: 10px; background-color:royalblue; font-weight:800; color:orange">&#x1F449; Yol Haritası &#x1F448;</a></p> -->
<br><hr style="width: 100%;"><br> <br>
<hr style="width: 100%;"><br>
<h1 style="font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 800; margin-top:1px; margin-bottom:1px;">Bağışçılar</h1> <h1 style="font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 800; margin-top:1px; margin-bottom:1px;">Bağışçılar</h1>
<div id="bagiscilar" style="text-align: left;"></div> <div id="bagiscilar" style="text-align: left;"></div>
@ -130,10 +132,10 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
console.log("base64: " + cnt); console.log("base64: " + cnt);
lastjson = JSON.parse(b64DecodeUnicode(cnt)); lastjson = JSON.parse(b64DecodeUnicode(cnt));
} }
console.log(lastjson);
lastjson.sort(function(a, b) { lastjson = lastjson.sort(function(a, b) {
return a.amount < b.amount; console.warn(a.amount , b.amount)
return b.amount - a.amount;
}); });
for (let i = 0; i < lastjson.length; i++) { for (let i = 0; i < lastjson.length; i++) {