{"id":15411,"date":"2025-01-26T19:06:22","date_gmt":"2025-01-26T15:36:22","guid":{"rendered":"https:\/\/ramzarzmarket.com\/articles\/%d9%85%d9%82%d8%a7%db%8c%d8%b3%d9%87-%d9%82%db%8c%d9%85%d8%aa-%d8%aa%d8%aa%d8%b1-%d8%af%d8%b1-%d8%b5%d8%b1%d8%a7%d9%81%db%8c-%d9%87%d8%a7-%d8%a7%db%8c%d8%b1%d8%a7%d9%86%db%8c-11\/"},"modified":"2025-01-26T19:06:22","modified_gmt":"2025-01-26T15:36:22","slug":"%d9%85%d9%82%d8%a7%db%8c%d8%b3%d9%87-%d9%82%db%8c%d9%85%d8%aa-%d8%aa%d8%aa%d8%b1-%d8%af%d8%b1-%d8%b5%d8%b1%d8%a7%d9%81%db%8c-%d9%87%d8%a7-%d8%a7%db%8c%d8%b1%d8%a7%d9%86%db%8c-11","status":"publish","type":"post","link":"https:\/\/ramzarzmarket.com\/articles\/%d9%85%d9%82%d8%a7%db%8c%d8%b3%d9%87-%d9%82%db%8c%d9%85%d8%aa-%d8%aa%d8%aa%d8%b1-%d8%af%d8%b1-%d8%b5%d8%b1%d8%a7%d9%81%db%8c-%d9%87%d8%a7-%d8%a7%db%8c%d8%b1%d8%a7%d9%86%db%8c-11\/","title":{"rendered":"\u0645\u0642\u0627\u06cc\u0633\u0647 \u0642\u06cc\u0645\u062a \u062a\u062a\u0631 \u062f\u0631 \u0635\u0631\u0627\u0641\u06cc \u0647\u0627 \u0627\u06cc\u0631\u0627\u0646\u06cc"},"content":{"rendered":"<p>&#8220;`html<br \/>\n<!DOCTYPE html><br \/>\n<html lang=\"fa\" dir=\"rtl\"><br \/>\n<head><br \/>\n    <meta charset=\"UTF-8\"><br \/>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><br \/>\n    <title>\u0642\u06cc\u0645\u062a \u062a\u062a\u0631 \u062f\u0631 \u0635\u0631\u0627\u0641\u06cc \u0647\u0627\u06cc \u0627\u06cc\u0631\u0627\u0646\u06cc<\/title><\/p>\n<style>\n        table {\n            width: 100%;\n            border-collapse: collapse;\n            table-layout: auto; \/* Allow content to determine column widths *\/\n        }<\/p>\n<p>        th, td {\n            border: 1px solid #ddd;\n            padding: 8px;\n            text-align: center; \/* Center text in cells *\/\n        }<\/p>\n<p>        th {\n            background-color: #f2f2f2;\n            cursor: pointer;\n        }<\/p>\n<p>        tr:nth-child(even) {\n            background-color: #f9f9f9;\n        }<\/p>\n<p>        .highlight-red {\n            color: red;\n            font-weight: bold;\n        }<\/p>\n<p>        .highlight-blue {\n            color: blue;\n            font-weight: bold;\n        }<\/p>\n<p>        a {\n          text-decoration: none;\n          color: #007bff; \n        }<\/p>\n<p>        \/* Responsive Design *\/\n        @media (max-width: 600px) {\n            table {\n                display: block;\n                overflow-x: auto;\n            }\n        }<\/p>\n<\/style>\n<p><\/head><br \/>\n<body><\/p>\n<h2>\ud83d\udcb5 \u062a\u062a\u0631 USDT (\u0635\u0631\u0627\u0641\u06cc \u0647\u0627\u06cc  \u0627\u06cc\u0631\u0627\u0646\u06cc)<\/h2>\n<p>\u0628\u0647\u062a\u0631\u06cc\u0646 \u062e\u0631\u06cc\u062f\u0627\u0631 \u062a\u062a\u0631 \u0627\u0632 \u0634\u0645\u0627 <b> \u0627\u06cc\u0631\u0627\u0646\u06cc\u06a9\u0627\u0631\u062a<\/b> \u06a9\u0647 \u0647\u0631 \u062a\u062a\u0631 \u0631\u0627 \u0628\u0647 \u0642\u06cc\u0645\u062a \u06f8\u06f4,\u06f4\u06f0\u06f0 \u062a\u0648\u0645\u0627\u0646<\/p>\n<p>\u0628\u0647\u062a\u0631\u06cc\u0646 \u0641\u0631\u0648\u0634\u0646\u062f\u0647 \u062a\u062a\u0631 \u0628\u0647 \u0634\u0645\u0627  <b> \u0646\u0648\u0628\u06cc\u062a\u06a9\u0633<\/b> \u06a9\u0647 \u0647\u0631 \u062a\u062a\u0631 \u0631\u0627 \u0628\u0647  \u0642\u06cc\u0645\u062a \u06f8\u06f3,\u06f8\u06f4\u06f5 \u062a\u0648\u0645\u0627\u0646<\/p>\n<p>      <a href=\"https:\/\/RamzArzMarket.com\">\u0622\u062e\u0631\u06cc\u0646 \u0627\u062e\u0628\u0627\u0631 \u0645\u0627\u0631\u06a9\u062a \u062f\u0631 \u0631\u0645\u0632 \u0627\u0631\u0632 \u0645\u0627\u0631\u06a9\u062a<\/a><\/p>\n<table>\n<thead>\n<tr>\n<th onclick=\"sortTable(0)\">\ud83d\udcc9 \u062e\u0631\u06cc\u062f<\/th>\n<th onclick=\"sortTable(1)\">\ud83d\udcc8 \u0641\u0631\u0648\u0634<\/th>\n<th onclick=\"sortTable(2)\">\ud83d\udd01 \u0635\u0631\u0627\u0641\u06cc<\/th>\n<\/tr>\n<\/thead>\n<tbody id=\"tableBody\">\n          <!-- Table rows will be inserted here by JavaScript --><br \/>\n        <\/tbody>\n<\/table>\n<p>\u2714\ufe0f\u0631\u0645\u0632 \u0627\u0631\u0632 \u0645\u0627\u0631\u06a9\u062a \u0642\u06cc\u0645\u062a \u0631\u0627 \u0627\u0632 \u0635\u0631\u0627\u0641\u06cc \u0647\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc\u06a9\u0646\u062f \u0648 \u062a\u0639\u0647\u062f\u06cc \u062f\u0631 \u0642\u0628\u0627\u0644 \u0635\u062d\u062a \u0622\u0646\u0647\u0627 \u0646\u062f\u0627\u0631\u062f<\/p>\n<p>\u2714\ufe0f\u0635\u0631\u0627\u0641\u06cc \u0647\u0627\u06cc\u06cc \u06cc\u06a9 \u0642\u06cc\u0645\u062a \u062f\u0627\u0631\u0646\u062f \u06a9\u0645\u0633\u06cc\u0648\u0646 \u062e\u0631\u06cc\u062f \u06cc\u0627 \u0641\u0631\u0648\u0634 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc\u06a9\u0646\u0646\u062f<\/p>\n<p>    <script>\n        const tableData = [\n            [\"\u06f8\u06f3,\u06f8\u06f0\u06f8\", \"\u06f8\u06f3,\u06f8\u06f4\u06f5\", \"<a href='https:\/\/nobitex.ir\/'>\u0646\u0648\u0628\u06cc\u062a\u06a9\u0633<\/a>\"],\n            [\"\u06f8\u06f4,\u06f0\u06f5\u06f5\", \"\u06f8\u06f4,\u06f0\u06f8\u06f0\", \"<a href='https:\/\/ramzinex.com\/'>\u0631\u0645\u0632\u06cc\u0646\u06a9\u0633<\/a>\"],\n            [\"\u06f8\u06f3,\u06f3\u06f8\u06f4\", \"\u06f8\u06f4,\u06f2\u06f2\u06f3\", \"<a href='https:\/\/arzipto.com\/'>\u0627\u0631\u0632\u06cc\u067e\u062a\u0648<\/a>\"],\n\/\/ ... (Rest of your data)        \n            [\"--\", \"\u06f8\u06f4,\u06f9\u06f0\u06f8\", \"<a href='https:\/\/coinnick.com\/'>\u06a9\u0648\u06cc\u0646 \u0646\u06cc\u06a9<\/a>\"]<\/p>\n<p>        ];<\/p>\n<p>function populateTable(data) {\n  const tbody = document.getElementById('tableBody');\n  tbody.innerHTML = ''; \/\/ Clear existing rows<\/p>\n<p>  let highestBuy = -1;\n    let lowestSell = Infinity;\n      let highestBuyIndex = -1; \/\/ Keep track of the index for highlighting\n  let lowestSellIndex = -1;<\/p>\n<p>  data.forEach((row, index) => {\n    const tr = document.createElement('tr');<\/p>\n<p>    \/\/Buy Price\n    const buyCell = document.createElement('td');\n    const buyValue = parseFloat(row[0].replace(\/,\/g, '') || -1); \/\/ Parse, handle \"--\"\n        buyCell.textContent = row[0];\n        tr.appendChild(buyCell);<\/p>\n<p>      if (buyValue > highestBuy) {\n        highestBuy = buyValue;\n            highestBuyIndex = index;\n      }<\/p>\n<p> \/\/Sell Price\n    const sellCell = document.createElement('td');\n        const sellValue = parseFloat(row[1].replace(\/,\/g, '') || Infinity); \/\/ Parse\n    sellCell.textContent = row[1];\n    tr.appendChild(sellCell);\n    if (sellValue < lowestSell) {\n        lowestSell = sellValue;\n        lowestSellIndex = index;\n    }\n\n\n\n      \/\/ Exchange (with link)\n    const exchangeCell = document.createElement('td');\n    exchangeCell.innerHTML = row[2]; \/\/ Set HTML content directly\n    tr.appendChild(exchangeCell);\n\n\n    tbody.appendChild(tr);\n  });\n\n\n   \/\/Highlighting after the loop:\n  if (highestBuyIndex !== -1) {\n      tbody.children[highestBuyIndex].children[0].classList.add('highlight-red');\n  }\n  if (lowestSellIndex !== -1) {\n    tbody.children[lowestSellIndex].children[1].classList.add('highlight-blue');\n  }\n\n}\n\n\n\n        function sortTable(n) {\n            let shouldSwitch, i, x, y, switching, dir, switchcount = 0;\n            const table = document.getElementById(\"tableBody\");\n            switching = true;\n            \/\/ Set the sorting direction to ascending:\n            dir = \"asc\";\n\n            while (switching) {\n                switching = false;\n                const rows = table.rows;\n\n                for (i = 0; i < (rows.length - 1); i++) {\n                    shouldSwitch = false;\n                  x = rows[i].getElementsByTagName(\"TD\")[n];\n                   y = rows[i + 1].getElementsByTagName(\"TD\")[n];\n\n\n                    let xValue = (n < 2) ? parseFloat(x.innerHTML.replace(\/,\/g, '') || -Infinity) : x.innerHTML.toLowerCase();\n            let yValue = (n < 2) ? parseFloat(y.innerHTML.replace(\/,\/g, '') || -Infinity) : y.innerHTML.toLowerCase();\n\n\n                  if (dir == \"asc\") {\n                      if (xValue > yValue) {\n                          shouldSwitch= true;\n                      break;\n                    }\n                } else if (dir == \"desc\") {\n                        if (xValue < yValue) {\n                            shouldSwitch = true;\n                            break;\n                        }\n                    }\n                }\n\n\n                if (shouldSwitch) {\n                    rows[i].parentNode.insertBefore(rows[i + 1], rows[i]);\n                    switching = true;\n                   switchcount ++;\n                } else {\n                    if (switchcount == 0 &#038;&#038; dir == \"asc\") {\n                        dir = \"desc\";\n                        switching = true;\n                    }\n                }\n\n                 \/\/ Re-apply highlighting after each sort\n                const tbody = document.getElementById('tableBody');\n                let highestBuy = -Infinity;\n                let lowestSell = Infinity;\n                 let highestBuyIndex = -1; \n                let lowestSellIndex = -1;\n\n                 for(let k = 0; k < rows.length; k++) {\n                    const buyValue = parseFloat(rows[k].children[0].textContent.replace(\/,\/g, ''));\n                      const sellValue = parseFloat(rows[k].children[1].textContent.replace(\/,\/g, ''));\n\n                    if (buyValue > highestBuy) {\n                        highestBuy = buyValue;\n                       highestBuyIndex = k;\n                   }\n                    if(sellValue < lowestSell) {\n                       lowestSell = sellValue;\n                        lowestSellIndex = k;\n                  }\n\n\n                    rows[k].children[0].classList.remove('highlight-red');\n                   rows[k].children[1].classList.remove('highlight-blue');\n               }\n                 if (highestBuyIndex !== -1) {\n                   tbody.children[highestBuyIndex].children[0].classList.add('highlight-red');\n                }\n                  if(lowestSellIndex !== -1){\n                   tbody.children[lowestSellIndex].children[1].classList.add('highlight-blue');\n                 }\n            }\n        }\n\n\n        populateTable(tableData);\n\n\n    <\/script><\/p>\n<p><\/body><br \/>\n<\/html><\/p>\n<p>```<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0647\u062a\u0631\u06cc\u0646 \u062e\u0631\u06cc\u062f\u0627\u0631 \u0648 \u0641\u0631\u0648\u0634\u0646\u062f\u0647 \u062a\u062a\u0631 \u062f\u0631 \u0645\u0627\u0631\u06a9\u062a \u0627\u06cc\u0631\u0627\u0646 <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-15411","post","type-post","status-publish","format-standard","hentry","category-buy-and-sell"],"_links":{"self":[{"href":"https:\/\/ramzarzmarket.com\/articles\/wp-json\/wp\/v2\/posts\/15411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ramzarzmarket.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ramzarzmarket.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ramzarzmarket.com\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ramzarzmarket.com\/articles\/wp-json\/wp\/v2\/comments?post=15411"}],"version-history":[{"count":0,"href":"https:\/\/ramzarzmarket.com\/articles\/wp-json\/wp\/v2\/posts\/15411\/revisions"}],"wp:attachment":[{"href":"https:\/\/ramzarzmarket.com\/articles\/wp-json\/wp\/v2\/media?parent=15411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ramzarzmarket.com\/articles\/wp-json\/wp\/v2\/categories?post=15411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ramzarzmarket.com\/articles\/wp-json\/wp\/v2\/tags?post=15411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}