1<!DOCTYPE html> 2<html> 3<head lang="id"> 4<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5<title>MESSIPOKER : Situs Poker | Dingdong Togel | Toto 4D | Demo Pg</title> 6<meta name="keywords" content="messipoker, messi poker, mesipoker" /> 7<meta name="description" content="MESSIPOKER adalah situs gacor mitra HKB Gaming menyediakan permainan poker online, togel 4d atau toto online, dingdong togel, dadu online dan demo pg gratis."/><meta name="distribution" content="Global" /> 8 9<meta name="googlebot" content="index,follow" /> 10<meta name="expires" content="never" /> 11<meta name="dc.title" content="MESSIPOKER" /> 12<meta name="dc.creator.name" content="MESSIPOKER" /> 13 14<meta name="tgn.nation" content="Indonesia" /> 15 16<meta name="robots" content="index, follow" /> 17<meta name="copyright" content="messipoker.com" /> 18<meta name="geo.placename" content="Jakarta" /> 19<meta name="geo.region" content="ID-JK" /> 20<meta name="geo.country" content="ID" /> 21<meta name="language" content="ID" /> 22<meta name="tgn.nation" content="Indonesia" /> 23<meta name="rating" content="general" /> 24 25<meta name="author" content="messipoker.com" /> 26<meta name="publisher" content="messipoker.com" /> 27<meta name="copyright" content="copyright@ 2014 messipoker.com" /> 28<meta name="DC.Publisher" content="messipoker.com" > 29 30 31<!-- Google Tag Manager -->
32<script>
vendor: 331 bytes, lines 32-36
32(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 33new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 34j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 35'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 36})(window,document,'script','dataLayer','
36GTM-55QWLQ55
vendor: 3 bytes, line 36
36');
36</script>
36 37<!-- End Google Tag Manager --> 38 39<!-- Google Tag Manager (noscript) -->
vendor: 69 bytes, lines 39-40
39 40<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=
40GTM-55QWLQ55
vendor: 85 bytes, lines 40-41
40" 41height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
42<!-- End Google Tag Manager (noscript) --> 43 44<!-- Google tag (gtag.js) -->
vendor: 65 bytes, lines 44-45
44 45<script async src="https://www.googletagmanager.com/gtag/js?id=
45G-V6B5S51KGE
vendor: 13 bytes, line 45
45"></script>
46<script> 47
vendor: 138 bytes, lines 47-51
47window.dataLayer = window.dataLayer || []; 48 function gtag(){dataLayer.push(arguments);} 49 gtag('js', new Date()); 50 51 gtag('config', '
51G-V6B5S51KGE
vendor: 5 bytes, line 51
51');
52</script>
52 53 54<!-- Meta Pixel Code -->
55<script>
vendor: 408 bytes, lines 55-64
55 56!function(f,b,e,v,n,t,s) 57{if(f.fbq)return;n=f.fbq=function(){n.callMethod? 58n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 59if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 60n.queue=[];t=b.createElement(e);t.async=!0; 61t.src=v;s=b.getElementsByTagName(e)[0]; 62s.parentNode.insertBefore(t,s)}(window, document,'script', 63'https://connect.facebook.net/en_US/fbevents.js'); 64fbq('init', '
641430569098935929
vendor: 32 bytes, lines 64-65
64'); 65fbq('track', 'PageView');
66</script>
66 67<noscript><img height="1" width="1" style="display:none" 68src="https://www.facebook.com/tr?id=1430569098935929&ev=PageView&noscript=1" 69/></noscript> 70<!-- End Meta Pixel Code --> 71 72 73<!-- Meta Pixel Code -->
74<script>
vendor: 408 bytes, lines 74-83
74 75!function(f,b,e,v,n,t,s) 76{if(f.fbq)return;n=f.fbq=function(){n.callMethod? 77n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 78if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 79n.queue=[];t=b.createElement(e);t.async=!0; 80t.src=v;s=b.getElementsByTagName(e)[0]; 81s.parentNode.insertBefore(t,s)}(window, document,'script', 82'https://connect.facebook.net/en_US/fbevents.js'); 83fbq('init', '
831088351803530090
vendor: 32 bytes, lines 83-84
83'); 84fbq('track', 'PageView');
85</script>
85 86<noscript><img height="1" width="1" style="display:none" 87src="https://www.facebook.com/tr?id=1088351803530090&ev=PageView&noscript=1" 88/></noscript> 89<!-- End Meta Pixel Code --> 90 91<!-- Meta Pixel Code -->
92<script>
vendor: 408 bytes, lines 92-101
92 93!function(f,b,e,v,n,t,s) 94{if(f.fbq)return;n=f.fbq=function(){n.callMethod? 95n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 96if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 97n.queue=[];t=b.createElement(e);t.async=!0; 98t.src=v;s=b.getElementsByTagName(e)[0]; 99s.parentNode.insertBefore(t,s)}(window, document,'script', 100'https://connect.facebook.net/en_US/fbevents.js'); 101fbq('init', '
1011916898762611530
vendor: 32 bytes, lines 101-102
101'); 102fbq('track', 'PageView');
103</script>
103 104<noscript><img height="1" width="1" style="display:none" 105src="https://www.facebook.com/tr?id=1916898762611530&ev=PageView&noscript=1" 106/></noscript> 107<!-- End Meta Pixel Code --> 108 109<!-- Meta Pixel Code -->
110<script>
vendor: 408 bytes, lines 110-119
110 111!function(f,b,e,v,n,t,s) 112{if(f.fbq)return;n=f.fbq=function(){n.callMethod? 113n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 114if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 115n.queue=[];t=b.createElement(e);t.async=!0; 116t.src=v;s=b.getElementsByTagName(e)[0]; 117s.parentNode.insertBefore(t,s)}(window, document,'script', 118'https://connect.facebook.net/en_US/fbevents.js'); 119fbq('init', '
1191088351803530090
vendor: 32 bytes, lines 119-120
119'); 120fbq('track', 'PageView');
121</script>
121 122<noscript><img height="1" width="1" style="display:none" 123src="https://www.facebook.com/tr?id=1088351803530090&ev=PageView&noscript=1" 124/></noscript> 125<!-- End Meta Pixel Code --> 126 127<!-- Meta Pixel Code -->
128<script>
vendor: 408 bytes, lines 128-137
128 129!function(f,b,e,v,n,t,s) 130{if(f.fbq)return;n=f.fbq=function(){n.callMethod? 131n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 132if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 133n.queue=[];t=b.createElement(e);t.async=!0; 134t.src=v;s=b.getElementsByTagName(e)[0]; 135s.parentNode.insertBefore(t,s)}(window, document,'script', 136'https://connect.facebook.net/en_US/fbevents.js'); 137fbq('init', '
1372653199461780422
vendor: 32 bytes, lines 137-138
137'); 138fbq('track', 'PageView');
139</script>
139 140<noscript><img height="1" width="1" style="display:none" 141src="https://www.facebook.com/tr?id=2653199461780422&ev=PageView&noscript=1" 142/></noscript> 143<!-- End Meta Pixel Code --> 144 145<meta name="google-site-verification" content="p-d2dBJeiiJlJWse_BEBvn3sEmLTH54kQdP6QRL4QJI" /> 146<meta name="google-site-verification" content="C7WcaozicgZFCTQDmJ5Ts8liLyn6iUHbLILeRh9p21Y" /> 147<!-- PushAlert -->
148<script type="text/javascript"> 149 (function(d, t) { 150 var g = d.createElement(t), 151 s = d.getElementsByTagName(t)[0]; 152 g.src = "https://cdn.pushalert.co/integrate_e7276520f832ce16ade7117f9c9e0b9c.js"; 153 s.parentNode.insertBefore(g, s); 154 }(document, "script")); 155</script>
155 156<!-- End PushAlert -->
157<script> 158!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.install=t():e.install=t()}("undefined"!=typeof window?window:self,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=72)}({72:function(e,t,n){"use strict";var o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){var o,i=e.createElement("script");i.type="text/javascript",i.async=!0,i.src=t,n&&(i.onerror=function(){r(e,n)});var a=e.getElementsByTagName("script")[0];null===(o=a.parentNode)||void 0===o||o.insertBefore(i,a)};!function(e,t,n){e.KwaiAnalyticsObject=n;var i=e[n]=e[n]||[];i.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"];var a=function(e,t){e[t]=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=o([t],n,!0);e.push(i)}};i.methods.forEach((function(e){a(i,e)})),i.instance=function(e){var t,n=(null===(t=i._i)||void 0===t?void 0:t[e])||[];return i.methods.forEach((function(e){a(n,e)})),n},i.load=function(e,o){var a="https://s21-def.ap4r.com/kos/s101/nlav112572/pixel/events.js";i._i=i._i||{},i._i[e]=[],i._i[e]._u=a,i._t=i._t||{},i._t[e]=+new Date,i._o=i._o||{},i._o[e]=o||{};var c="?sdkid=".concat(e,"&lib=").concat(n);r(t,a+c,"https://s21-def.ks-la.net/kos/s101/nlav112572/pixel/events.js"+c)}}(window,document,"kwaiq")}})})); 159</script>
vendor: 2 bytes, line 159
159
160<script> 161kwaiq.load('289275556700322'); 162kwaiq.page(); 163</script>
163 164 165 166 167<link rel="canonical" href="https://messipoker.com/"> 168<link rel="amphtml" href="https://messipokerpastibayar.com/"/> 169<meta property="og:locale" content="id_ID"> 170<meta property="og:type" content="website"> 171<meta property="og:title" content="MESSIPOKER : Situs Poker | Dingdong Togel | Toto 4D | Demo Pg"> 172<meta property="og:description" content="MESSIPOKER adalah situs gacor mitra HKB Gaming menyediakan permainan poker online, togel 4d atau toto online, dingdong togel, dadu online dan demo pg gratis."> 173<meta property="og:url" content="https://messipoker.com/"> 174<meta property="og:image" content="https://tipsjanbd.com/messipoker/slider/Messipoker_Slider_1221.png"> 175<meta property="og:image:width" content="778"> 176<meta property="og:image:height" content="300"> 177<meta property="og:image:alt" content="MESSIPOKER : Situs Poker | Dingdong Togel | Toto 4D | Demo Pg" /> 178<link rel="alternate" href="https://messipokerpastibayar.com/"> 179<link rel="alternate" href="https://messipokerpastibayar.com/" hreflang="id"> 180<link rel="alternate" href="https://messipokerpastibayar.com/" hreflang="en"> 181<link rel="alternate" href="https://messipokerpastibayar.com/" hreflang="x-default"> 182<link rel="alternate" hreflang="id-ID" href="https://messipokerpastibayar.com/"/> 183<link rel="alternate" hreflang="en-US" href="https://messipokerpastibayar.com/"/> 184<link rel="alternate" hreflang="en-SG" href="https://messipokerpastibayar.com/"/> 185<style> 186.div-tabble { 187 display: table; 188 width: 100%; 189 background-color: transparent; 190 border-width: 1px 0 1px 0; 191 border-color: #ebebeb; 192 border-style: solid; 193 border-spacing: 5px; 194 margin: auto; 195} 196.div-tabble-row { 197 display: table-row; 198 width: auto; 199 clear: both; 200 } 201.div-tabble-col { 202 float: left; 203 display: table-column; 204 width: 25%; 205 padding: 0 2.5% 0 2.5%; 206 background-color: transparent; 207 text-align: center; 208} 209.sosmed-logo { 210 height: 50px; 211} 212 213</style> 214 215<style> 216@keyframes loncat { 217 0% {transform: matrix(1,0,0,0.8,0,5.4);} 218 20% {transform: matrix(1,0,0,1,0,0)} 219 100% {transform: matrix(1,0,0,1,0,-30)} 220} 221 222.sosmed 223{ 224 position:fixed; 225 bottom:50px; 226 left:18px; 227 z-index:10; 228} 229 230.sosmed-icon 231{ 232 width: 40px; 233 animation-name: loncat; 234 animation-duration: 1s; 235 animation-delay: 0s; 236 animation-iteration-count: infinite; 237 animation-direction: alternate; 238 animation-timing-function: cubic-bezier(0,.5,.5,1); 239 animation-fill-mode: none; 240} 241</style> 242<div class="sosmed"> 243 <a href="https://az8g.short.gy/rtpmessipoker" title="RTP Messipoker" target="_blank"><img src="https://koleksi-image.xyz/messipoker/RTP-MESSIPOKER.gif" alt="RTP MESSIPOKER" class="sosmed-icon"></a><br><br> 244 <a href="https://t.me/messipoker_official" title="Channel Messipoker" target="_blank"><img src="https://koleksi-image.xyz/messipoker/telegram-footer.png" alt="Channel Messipoker" class="sosmed-icon"></a><br><br> 245 <a href="https://wa.me/6282173344313" title="WhatsApp Messipoker" target="_blank"><img src="https://koleksi-image.xyz/messipoker/wa-mobile.png" alt="WA MESSIPOKER" class="sosmed-icon"></a></div> 246 247 248<!-- Script Alirapay-->
249<script> 250 var kZFK = { 251 uuid: "019e4f49-3177-711e-a5dd-7d5df420dc0c", 252 merchantId: "1949", 253 merchantName: "Messipoker", 254 minDepo: "10000", 255 maxDepo: "10000000", 256 engineName: "Hkb" 257 }; 258 kZFK.idx = JSON.parse(atob('W10='));kZFK.baseUrl = "https://iframe.alirapay.com";kZFK.scriptInjectUrl=kZFK.baseUrl + '/javascript/' + kZFK.engineName + '/script.js?uuid=' + kZFK.uuid + '&PGMerchantID=' + kZFK.merchantId + '&PGMerchantName=' + kZFK.merchantName + '&PGMinDepo=' + kZFK.minDepo + '&PGMaxDepo=' + kZFK.maxDepo;kZFK.idx.forEach((function(e){ kZFK.scriptInjectUrl+='&' + e + '=' + kZFK[e]}));kZFK.scriptInject=document.createElement("script");kZFK.scriptInject.src=kZFK.scriptInjectUrl;kZFK.waitAppend=setInterval((function(){document.body&&(clearInterval(kZFK.waitAppend),document.body.appendChild(kZFK.scriptInject))}),500); 259</script>
259 260<!-- end of Script Alirapay --> 261 262<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,800,800italic,300,300italic"> 263<link rel="stylesheet" type="text/css" href="https://meyerweb.com/eric/tools/css/reset/reset.css" /> 264<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/css/bootstrap.min.css?v1.14.66"> 265<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/css/bootstrap-toggle.min.css?v1.14.66"> 266<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/css/bootstrap-datepicker.standalone.css?v1.14.66"> 267<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/css/normalize.css?v1.14.66"> 268<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/css/font-awesome.min.css?v1.14.66"> 269<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/engine1/style.css?v1.14.66" /> 270<link href="https://teachspacescience.org/messipoker/css/keyboard.css?v1.14.66" rel="stylesheet"> 271<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/css/style.css?v1.14.66"> 272<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/css/mediaqueries.css?v1.14.66"> 273<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/css/slider.css?v1.14.66"> 274<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/css/sticky.css?v1.14.66"> 275<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/css/smart_drop.css?v1.14.66"> 276<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/css/font-awesome.min.css?v1.14.66"> 277<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/messipoker/css/animate.css?v1.14.66"> 278 279<link rel="icon" type="image/x-icon" href="https://cf.ruangok.com/public/banner/id/messipoker/favicon/messipoker.png"> 280<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/css/datatables.min.css?v1.14.66"> 281<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/css/template1.css?v1.14.66"> 282<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/css/result.css?v1.14.66"> 283<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/togel/OwlCarousel2-2.3.4/OwlCarousel2-2.3.4/dist/assets/owl.carousel.css?v1.14.66"> 284<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/togel/OwlCarousel2-2.3.4/OwlCarousel2-2.3.4/dist/assets/owl.theme.default.min.css?v1.14.66"> 285<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/css/marquee.css?v1.14.66"> 286<link href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" rel="stylesheet"> 287<link rel="stylesheet" type="text/css" href="https://teachspacescience.org/css/lottery-list.css?v1.14.66"> 288 289<meta name="app-name" content="USER-17"> 290<meta name="app-version" content="1.14.66"> 291 292 <style> 293.lottery-body{color:#000080; 294font-style:normal; 295font-family:sans-serif; 296font-weight:bold; 297text-transform:none; 298}.lottery-title{color:#ffffff; 299font-style:normal; 300font-family:sans-serif; 301font-weight:bold; 302text-transform:capitalize; 303}.lottery-header{background:#0c4585 !important; 304}.lottery-main-body{background:#4486ea !important; 305}.lottery-more-button{background:#1362b9 !important; 306}.promo-free-spin-text{color:#000000; 307font-style:italic; 308font-family:sans-serif; 309font-weight:bold; 310text-transform:none; 311}.bg-promotion-more-info{background:#9e9a9a; 312}.border-promo-free-spin{border-color:#000000 !important; 313}.info-qris-auto-deposit{color:#000000; 314font-style:italic; 315font-family:sans-serif; 316font-weight:bold; 317text-transform:none; 318}.promotion-join-now-text{color:#000000; 319font-style:normal; 320font-family:sans-serif; 321font-weight:bold; 322text-transform:none; 323}.lottery-more-button-text{color:#80ffff; 324font-style:inherit; 325font-family:monospace; 326font-weight:normal; 327text-transform:none; 328}.promotion-more-info-text{color:#000000; 329font-style:italic; 330font-family:sans-serif;
331font-weight:bold; 332text-transform:none; 333}.border-promotion-join-now{border-color:#000000; 334}.border-promotion-more-info{border-color:#000000; 335}.input-register-placeholder::placeholder {color:#000000; 336}.available-promo-free-spin-text{color:#000000 !important; 337font-style:italic !important; 338font-family:sans-serif !important; 339font-weight:bold !important; 340text-transform:none !important; 341}.promo-free-spin-daily-limit-text{color:#000000; 342font-style:italic; 343font-family:sans-serif; 344font-weight:bold; 345text-transform:none; 346}.unavailable-promo-free-spin-text{color:#000000 !important; 347font-style:italic !important; 348font-family:sans-serif !important; 349font-weight:bold !important; 350text-transform:none !important; 351} 352</style> 353 354</head> 355<body style="background-image: url('https://cf.ruangok.com/public/banner/id/messipoker/background/BG1-ezgif.com-png-to-webp-converter (1)_11zon.webp?1759722457')" class="h-t2"> 356<section class="head_rw"> 357 <div class="container"> 358 <div class="nvgt"> 359 <div class="col-lg-5 col-sm-5"> 360 <div class="logo_t"><a href="https://teachspacescience.org"><img src="https://cf.ruangok.com/public/banner/id/messipoker/logo/dqwqc23y.webp?1764108260#" alt="teachspacescience.org" class="img-responsive"></a></div> 361 </div> 362 <div class="col-lg-7 col-sm-7"> 363 <form method="POST" action="https://teachspacescience.org/login" id="form_login" accept-charset="utf-8" style=" margin: 0 auto;"> 364 <input type="hidden" name="_token" value="6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930"> 365 <div class="sign_row"> 366 367 368 <div class="lang"> 369 <div class="dropdown"> 370 <button class="btn-lang dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 371 <img src="https://teachspacescience.org/images/flag/id.svg?v=1.14.66" width="25" height="25"> 372 <span class="caret"></span> 373 </button> 374 <ul class="menu-lang dropdown-menu" aria-labelledby="dropdownMenu2"> 375 <li onclick="setLanguage('id')"> 376 <img src="https://teachspacescience.org/images/flag/id.svg?v=1.14.66" width="25" height="25"> 377 <span>Indonesia</span> 378 </li> 379 <li onclick="setLanguage('en')"> 380 <img src="https://teachspacescience.org/images/flag/en.svg?v=1.14.66" width="25" height="25"> 381 <span>English</span> 382 </li> 383 <li onclick="setLanguage('th')"> 384 <img src="https://teachspacescience.org/images/flag/th.svg?v=1.14.66" width="25" height="25"> 385 <span>Thailand</span> 386 </li> 387 <li onclick="setLanguage('vn')"> 388 <img src="https://teachspacescience.org/images/flag/vn.svg?v=1.14.66" width="25" height="25"> 389 <span>Vietnam</span> 390 </li> 391 </ul> 392 </div> 393 </div> 394 <div class="userro sign_ipt"> 395 <div class="form-group1"> 396 <label class="label-control"> <span class="label-text">Nama Pengguna</span> </label> 397 <input class="form-control1 uppercase" type="text" name="user" title="Nama Pengguna" autocomplete="off" style="color: #fff; font-size: 16px;" maxlength=18 tabindex="1"/> 398 </div> 399 </div> 400 <div class="pswrd sign_ipt"> 401 <div class="form-group1"> 402 <label class="label-control"> <span class="label-text">Kata Sandi</span> </label> 403 <input class="form-control1" type="password" name="password" autocomplete="off" style="color: #fff; font-size: 16px;" tabindex="2"/> 404 </div>
405 <span style="font-size: 13px;"><a href="https://teachspacescience.org/password/reset" class="lp-pass">Lupa Kata Sandi?</a></span> 406 </div> 407 408 <div class="sign_ipt"> 409 <a href="#"> 410 <button class="masuk" type='submit' name='submitlogin' id='btn_login' style="border: none;">Masuk</button> 411 </a> 412 <div id="loader_login"></div> 413 </div> 414 <div class="sign_ipt"> 415 <a href="https://teachspacescience.org/register"> 416 <button class="daftar" type="button">Daftar</button> 417 </a> 418 </div> 419 </div> 420 <div class="clearfix"></div> 421 </form> 422 </div> 423 <div class="naline"> 424 <div class="nav_menu"> 425 <ul> 426 427 <li class=" active"><a href="https://teachspacescience.org" class="nav_active">Beranda</a></li><img src="https://teachspacescience.org/messipoker/images/line-m.png?v=1.14.66"> 428 <li class=" "><a href="https://teachspacescience.org/mobile">Mobile</a></li><img src="https://teachspacescience.org/messipoker/images/line-m.png?v=1.14.66"> 429 <li class=" "><a href="https://teachspacescience.org/cardgames">Card Games</a></li><img src="https://teachspacescience.org/messipoker/images/line-m.png?v=1.14.66"> 430 <li class=" "><a href="https://teachspacescience.org/lottery">Togel</a></li><img src="https://teachspacescience.org/messipoker/images/line-m.png?v=1.14.66"> 431 <li class=" "><a href="https://teachspacescience.org/sportsbook">Sportsbook</a></li><img src="https://teachspacescience.org/messipoker/images/line-m.png?v=1.14.66"> 432 <li class=" "><a href="https://teachspacescience.org/livecasino">Casino</a></li><img src="https://teachspacescience.org/messipoker/images/line-m.png?v=1.14.66"> 433 <li class=""><a href="https://teachspacescience.org/cockfight">Sabung</a></li><img src="https://teachspacescience.org/messipoker/images/line-m.png?v=1.14.66"> 434 <li class=""><a href="https://teachspacescience.org/egames"> Slot </a></li><img src="https://teachspacescience.org/messipoker/images/line-m.png?v=1.14.66"> 435 <li class=""><a href="https://teachspacescience.org/arcade">Arcade</a></li><img src="https://teachspacescience.org/messipoker/images/line-m.png?v=1.14.66"> 436 <li class=" "><a href="https://teachspacescience.org/promotion">Promosi</a></li><img src="https://teachspacescience.org/messipoker/images/line-m.png?v=1.14.66"> 437 <li class=" "><a href="https://teachspacescience.org/referral">Referral</a></li><img src="https://teachspacescience.org/messipoker/images/line-m.png?v=1.14.66"> 438 <li class=" "><a href="https://teachspacescience.org/help">Bantuan</a></li> 439 </ul> 440 </div> 441 <div class="clearfix"></div> 442 </div> 443 </div> 444 <div class="clearfix"></div> 445 <div class="new_prt"> 446 <div class="container m-pad-lr0" style="padding: 0;"> 447 <div class="lorn"> 448 449 <div class="col-lg-1 col-sm-1 col-md-1 col-xs-1 m-pad-lr0" style="padding: 0px;padding-right: 0;"> 450 <div class="gmt"> 451 452 <div class="old_btn"><a>Berita</a></div> 453 </div> 454 </div> 455 456 <div class="col-lg-11 col-sm-11 col-md-11 col-xs-11 pad-lr0" style="padding: 0;"> 457 <div class="sit"> 458 <div id="marquee_container" class="marquee"> 459 <div class="info_marquee1" > 460 (02/10/2026 17:52:34) <div><font color="#ff9c00"></font></div><div><font color="#ffff00">
460HATI-HATI PENIPUAN MENGATASNAMAKAN SITUS MESSIPOKER.</font><span style="color: rgb(255, 156, 0);"> </span><font color="#00ff00">KONFIRMASI DEPOSIT HANYA MELALUI LIVECHAT DAN WHATSAPP. DEPOSIT DARI REKENING TERDAFTAR.</font><span style="color: rgb(255, 156, 0);"> </span><font color="#00ff00">MEMBER BARU DEPOSIT MELALUI MESIN EDC DAN SEJENISNYA AKAN DI PROSES DALAM 1X24 JAM. </font><font color="#00ffff"><b>Daftar dan Login untuk NOBAR GRATIS PIALA DUNIA 2026!!</b></font></div> 461 </div> 462 <div class="info_marquee2" > 463 (02/10/2026 17:52:34) <div><font color="#ff9c00"></font></div><div><font color="#ffff00">HATI-HATI PENIPUAN MENGATASNAMAKAN SITUS MESSIPOKER.</font><span style="color: rgb(255, 156, 0);"> </span><font color="#00ff00">KONFIRMASI DEPOSIT HANYA MELALUI LIVECHAT DAN WHATSAPP. DEPOSIT DARI REKENING TERDAFTAR.</font><span style="color: rgb(255, 156, 0);"> </span><font color="#00ff00">MEMBER BARU DEPOSIT MELALUI MESIN EDC DAN SEJENISNYA AKAN DI PROSES DALAM 1X24 JAM. </font><font color="#00ffff"><b>Daftar dan Login untuk NOBAR GRATIS PIALA DUNIA 2026!!</b></font></div> 464 </div> 465 <div class="info_marquee3" > 466 (02/10/2026 17:52:34) <div><font color="#ff9c00"></font></div><div><font color="#ffff00">HATI-HATI PENIPUAN MENGATASNAMAKAN SITUS MESSIPOKER.</font><span style="color: rgb(255, 156, 0);"> </span><font color="#00ff00">KONFIRMASI DEPOSIT HANYA MELALUI LIVECHAT DAN WHATSAPP. DEPOSIT DARI REKENING TERDAFTAR.</font><span style="color: rgb(255, 156, 0);"> </span><font color="#00ff00">MEMBER BARU DEPOSIT MELALUI MESIN EDC DAN SEJENISNYA AKAN DI PROSES DALAM 1X24 JAM. </font><font color="#00ffff"><b>Daftar dan Login untuk NOBAR GRATIS PIALA DUNIA 2026!!</b></font></div> 467 </div> 468 </div> 469 </div> 470 </div> 471 472 473 <div class="clearfix"></div> 474 475 </div> 476 </div> 477 </div> 478 <div class="clearfix"></div> 479 </div> 480 </section> 481 <div class="clearfix"></div> 482 483 484 <div id="dummy" style="display:none;"></div> 485 <div id="dummy1" style="display:none;"></div> 486 487 <div id="fl_menu"> 488 <div class="label"> 489 <img width="19px" src="https://teachspacescience.org/images/icon-linkalternatif.svg?v=1.14.66"> 490 <span>Link Alternative</span> 491 </div> 492 <div class="menu" style=" border-bottom: #3f4254;"> 493 <a href="http://TEMANMESSI.COM" class="menu_item" target="_blank">TEMANMESSI.COM</a> 494 </div> 495 </div> 496 497 498 <div id="panel2"> 499 <div id="panelCaller2"> 500 501 <!--<img src="https://teachspacescience.org/messipoker/images/home/contactarrow.png?v=1.14.66">--> 502 <i class="fa fa-angle-right"></i> 503 504 </div> 505 <div class="topback"> <h2 style="font-size: 20px;"><img src="https://teachspacescience.org/messipoker/images/home/phone-call.png?v=1.14.66" class="img-responsive" width="20" style="float: left;">Hubungi Kami</h2></div> 506 <div class="Lorem_rw"> 507 <div class="contactus loremone"> 508 <a style="color: #fff;" href="https://wa.me/6282173344313" target="_blank"> 509 <span> 510 <img src="https://teachspacescience.org/images/socmed/whatsapp-mini.svg?v=1.14.66" alt="teman-messi.com" width="23"> 511 </span> 512 +6282173344313 513 </a> 514 </div> 515 <div class="contactus loremone"> 516 <a style="color: #fff;" href="https://t.me/messipoker_OFFICIAL" target="_blank"> 517 <span> 518 <img src="https://teachspacescience.org/images/socmed/telegram-mini.svg?v=1.14.66" alt="teman-messi.com" width="23"> 519 </span> 520 MESSIPOKER_BOT 521 </a> 522 </div> 523 <div class="contactus loremone"> 524 <a style="color: #fff;" href="https://welshfred.com/" target="_blank">
525 <span> 526 <img src="https://teachspacescience.org/images/socmed/wordpress-mini.svg?v=1.14.66" alt="Messipoker" width="23"> 527 </span> 528 MESSIPOKER 529 </a> 530 </div> 531 </div> 532 </div> 533 <section class="bouns_rwo1"> 534 <div class="container"> 535 <div class="banner"> 536 <!-- Start WOWSlider.com BODY section --> 537 <div id="wowslider-container1"> 538 <div class="ws_images"> 539 <ul> 540 <li><a href="https://teachspacescience.org/register" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/DINDONG-24D-nw.jpg?1754874049" alt="teachspacescience.org" title="" id="wows1_0" /></a></li> 541 <li><a href="https://teachspacescience.org/egames" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/even petir messipoker.jpg?1683462151" alt="Extra Bonus Petir GATES OF OLYMPUS STARLIGHT" title="" id="wows1_0" /></a></li> 542 <li><a href="https://teachspacescience.org/register" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/messipoke8.png?1777492964" alt="Daftar Messipoker Login" title="" id="wows1_0" /></a></li> 543 <li><a href="https://teachspacescience.org/dingdong" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/sdfsdfsdfsdfdsfsdfsddsfsdfsdfsdfsdfsdfsdfsdfdsfds.jpg?1683710725" alt="HADIAH REKENING HOKI MESSIPOKER" title="" id="wows1_0" /></a></li> 544 <li><a href="https://teachspacescience.org/dingdong" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/MSP-Pragmaticplay-triplebonus-desktp.png?1611151482" alt="Slot Pragmatic Play Bonus Turnover" title="" id="wows1_0" /></a></li> 545 <li><a href="https://teachspacescience.org/register" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/ws168 779x300.jpg?1759968099" alt="WS168" title="" id="wows1_0" /></a></li> 546 <li><a href="https://teachspacescience.org/register" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/gacoooorweb.jpg?1774680613" alt="teachspacescience.org" title="" id="wows1_0" /></a></li> 547 <li><a href="https://teachspacescience.org/register" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/Pragmatic-Play-Pop-778x300.webp?1785903369" alt="PRAGMATIC PLAY POP" title="" id="wows1_0" /></a></li> 548 <li><a href="https://teachspacescience.org" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/FASTSPIN-NAGA22.jpg?1786880332" alt="teachspacescience.org" title="" id="wows1_0" /></a></li> 549 <li><a href="https://teachspacescience.org" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/DEMAM-BAKARAK-SLIDE.png?1786943148" alt="teachspacescience.org" title="" id="wows1_0" /></a></li> 550 <li><a href="https://teachspacescience.org" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/mancing-spadegaming-slide.jpg?1787488795" alt="teachspacescience.org" title="" id="wows1_0" /></a></li> 551 <li><a href="https://teachspacescience.org" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/slot-gacor-spadegaming.png?1787492289" alt="teachspacescience.org" title="" id="wows1_0" /></a></li> 552 <li><a href="https://teachspacescience.org/register" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/ceme-fighter-spin-300.jpg?1788530214" alt="teachspacescience.org" title="" id="wows1_0" /></a></li> 553 <li><a href="https://teachspacescience.org/register" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/slider/INPLAYMATRIX-778x300.webp?1788949798" alt="teachspacescience.org" title="" id="wows1_0" /></a></li> 554 </ul> 555 </div> 556 <div class="ws_bullets"> 557 <a href="#" title=""><span></span></a> 558 <a href="#" title=""><span></span></a> 559 <a href="#" title=""><span></span></a> 560 <a href="#" title=""><span></span></a> 561 <a href="#" title=""><span></span></a> 562 <a href="#" title=""><span></span></a> 563 <a href="#" title=""><span></span></a> 564 <a href="#" title=""><span></span></a> 565 <a href="#" title=""><span></span></a> 566 <a href="#" title=""><span></span></a> 567 <a href="#" title=""><span></span></a> 568 <a href="#" title=""><span></span></a> 569 <a href="#" title=""><span></span></a> 570 <a href="#" title=""><span></span></a> 571 </div> 572 </div> 573 <div class="ws_script" style="position:absolute;
573left:-99%"><a href="#"></a></div> 574 <div class="ws_shadow"></div> 575 <!-- End WOWSlider.com BODY section --> 576 <div class="hotgames"> 577 <img src="https://teachspacescience.org/messipoker/images/hotgames.png?v=1.14.66"> 578 <div class="list_hotgames"> 579 <a href="https://teachspacescience.org/register"> 580 <img src="https://cf.ruangok.com/public/banner/id/messipoker/hotgames/ceme-hotgames.png" alt="cardgames"> 581 </a> 582 <a href="https://teachspacescience.org/register"> 583 <img src="https://cf.ruangok.com/public/banner/id/messipoker/hotgames/messipoker_togelsgp.png" alt="teachspacescience.org"> 584 </a> 585 <a href="https://teachspacescience.org/register"> 586 <img src="https://cf.ruangok.com/public/banner/id/messipoker/hotgames/messipoker_dd36d.png" alt="teachspacescience.org"> 587 </a> 588 <a href="https://teachspacescience.org/register"> 589 <img src="https://cf.ruangok.com/public/banner/id/messipoker/hotgames/PG-Soft-hotgames.png" alt="egames"> 590 </a> 591 <a href="https://teachspacescience.org/register"> 592 <img src="https://cf.ruangok.com/public/banner/id/messipoker/hotgames/saba-sport-hotgames2.png" alt="sportsbook"> 593 </a> 594 </div> 595 </div> 596 </div> 597 <div class="side_banner"> 598 <a href="https://japanimationstation.com/result/HK" target="_blank""> 599 <img class="side_ban" src="https://cf.ruangok.com/public/banner/id/messipoker/header/JKLJKLJLJLJLJLJLJKLJ.jpg?1683373490" alt="messipoker situs poker hkb gaming togel dingdong pragmatic play" > 600 </a> 601 <a href="https://japanimationstation.com/result/sg" target="_blank""> 602 <img class="side_ban" src="https://cf.ruangok.com/public/banner/id/messipoker/header/JADWAL-TOGEL-DINGDONG-MESSIPOKER-MYANMAR.png?1749163167" alt="messipoker situs poker hkb gaming" > 603 </a> 604 </div> 605 </div> 606 <div class="clearfix"></div> 607</section> 608 609<section> 610 <div class="container"> 611 <div class="box_rwo"> 612 <div class="one_Deposit classisp"> 613 <a href="https://teachspacescience.org/cardgames" "> 614 <div class="hover14 column"> 615 <figure><img class="img-responsive" src="https://cf.ruangok.com/public/banner/id/messipoker/footer/hkb-poker-messipokeronline.png?1599213050" alt="hkb poker, hkb gaming, poker online, domino qq, ceme online" /><div class="btn-homepage text-center">cardgames</div></figure> 616 </div> 617 </a> 618 </div> 619 <div class="one_Deposit classisp"> 620 <a href="https://teachspacescience.org/register" "> 621 <div class="hover14 column"> 622 <figure><img class="img-responsive" src="https://cf.ruangok.com/public/banner/id/messipoker/footer/hkb-poker-dingdong-togel-messipoker.png?1599213050" alt="hkb poker, hkb gaming, dingdong togel" /><div class="btn-homepage text-center">dingdong togel</div></figure> 623 </div> 624 </a> 625 </div> 626 <div class="one_Deposit classisp" style="margin: 0;"> 627 <a href="https://teachspacescience.org/register" "> 628 <div class="hover14 column"> 629 <figure><img class="img-responsive" src="https://cf.ruangok.com/public/banner/id/messipoker/footer/hkb-poker-messipoker-togelhk.png?1599213050" alt="togel sgp, togel hk, togel sydney" /><div class="btn-homepage text-center">togel online</div></figure> 630 </div> 631 </a> 632 </div> 633 </div> 634 635 <div class="Mega_Jackpot tgl"> 636 <div class="col-lg-12 col-sm-12 col-md-12 col-xs-12 no-padding"> 637 <img src="https://cf.ruangok.com/public/banner/id/messipoker/bannergif/MESSI.gif?1763263520" alt="teachspacescience.org" width="100%"> 638 </div> 639 </div> 640 </div> 641</section> 642 643<div class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="padding-right: 17px;z-index: 99999;display: block;backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);" id="myModalHome"> 644 <div class="modal-dialog modal-dialog2" role="document"> 645 <div > 646 <div class="modal-body" style="text-align: center;"> 647 <div class="promo_txthd" style="position:absolute;right:-15px;top:-15px"><a href="#" data-dismiss="modal"><img src="https://teachspacescience.org/messipoker/images/promotion/cross.png?v=1.14.66" alt="" class="img-responsive"></a></div> 648 <div class="clearfix"></div> 649 <a href="https://teachspacescience.org/register" ><img src="https://cf.ruangok.com/public/banner/id/messipoker/popup/Banner-Png-Pop-up-MESSIPOKER205.gif?1777489785" alt="teachspacescience.org" class="img-responsive" width='100%'></a> 650 <div class="btn-showed-promo" style="display: flex;margin-top: 4px;
650" id="btn-showed-promo"> 651 <input type="checkbox" value="" id="checkbox-popup-promo" style="margin-top: 0px;margin-right: 4px;"> 652 <label for="checkbox-popup-promo" style="margin: 0;">Jangan Tampilkan Lagi</label> 653 </div> 654 </div> 655 </div> 656 </div> 657</div> 658 659 660<section class="footer_bg"> 661 <div class="bottomnv"> 662 <ul class="blacktp"> 663 <li><a class=active href="https://teachspacescience.org">Beranda</a></li> 664 <li><a href="https://teachspacescience.org/mobile"> Mobile </a></li> 665 <li><a href="https://teachspacescience.org/cardgames"> Card Games </a></li> 666 <li><a href="https://teachspacescience.org/lottery">Togel </a></li> 667 <li><a href="https://teachspacescience.org/sportsbook">Sportsbook</a></li> 668 <li><a href="https://teachspacescience.org/livecasino">Casino</a></li> 669 <li><a href="https://teachspacescience.org/cockfight">Sabung</a></li> 670 <li><a href="https://teachspacescience.org/egames"> Slot </a></li> 671 <li><a href="https://teachspacescience.org/arcade">Arcade</a></li> 672 <li><a href="https://teachspacescience.org/promotion">Promosi </a></li> 673 <li><a href="https://teachspacescience.org/referral">Referral</a></li> 674 <li><a href="https://teachspacescience.org/help">Bantuan</a></li> 675 <div class="clearfix"></div> 676 </ul> 677 </div> 678 679 <div class="container"> 680 681 <div class="col-xs-10 col-lg-10 col-sm-10 col-md-10 col-lg-offset-1 col-md-offset-1 col-sm-offset-1 col-xs-offset-1" style="margin-bottom: 10px;"> 682 <div class="owl-carousel owl-theme socials"> 683 <div class="item"> 684 <a href="https://wa.me/6282173344313" target="_blank" style="color:#fff;"><div class="contactusbg loremone" style="text-align: center; float: left"><span><img src="https://teachspacescience.org/images/socmed/whatsapp-bottom.webp?v=1.14.66" alt="teman-messi.com" width="23"> +6282173344313</span></div></a> 685 </div> 686 <div class="item"> 687 <a href="https://t.me/messipoker_OFFICIAL" target="_blank" style="color:#fff;"><div class="contactusbg loremone" style="text-align: center; float: left"><span><img src="https://teachspacescience.org/images/socmed/telegram-bottom.webp?v=1.14.66" alt="teman-messi.com" width="23"> MESSIPOKER_BOT</span></div></a> 688 </div> 689 <div class="item"> 690 <a href="https://welshfred.com/" target="_blank" style="color:#fff;"><div class="contactusbg loremone" style="text-align: center; float: left"><span><img src="https://teachspacescience.org/images/socmed/wordpress-bottom.webp?v=1.14.66" alt="Messipoker" width="23"> MESSIPOKER</span></div></a> 691 </div> 692 </div> 693 </div> 694 <div class="col-lg-12" style="margin-bottom: 10px;"> 695 <img style="border-radius:0.5rem" src="https://cf.ruangok.com/public/public/bottom/HKB Group_GIF Banner_Oct 2026.webp" alt="FOOTER GIF 2710" width="100%"> 696 </div> 697 <div class="spok"> 698 <h1 style="margin-top: 6px; margin-bottom: -7px;">MESSIPOKER : Situs Poker | Dingdong Togel | Toto 4D | Demo Pg</h1> 699 <p></p> 700 <div class="readmore dingdong_desc"> 701 <p><strong>Messipoker</strong> adalah situs poker online dan bandar togel terpercaya yang menyediakan berbagai permainan seperti toto 4d, dingdong, dadu online, demo pg soft, casino, sbobet dan poker yang paling inovatif dari HKB Gaming yang hadir dengan sistem terbaru paling canggih dan sangat mudah diakses dari komputer, laptop, tablet ataupun smartphone kesayangan anda (Android/IOS). Dengan tampilan website yang dinamis serta elegan, Messipoker memberikan jaminan kenyamanan serta keamanan member dalam melakukan transaksi deposit maupun withdraw dibantu dengan staff profesional sebagai customer service yang siap melayani member jika menemui kendala. Proses deposit dan withdraw di Messipoker sangat cepat dan tidak bertele-tele. Selain itu, Live chat Messipoker beroperasi 24 Jam membantu anda dalam memberikan informasi tentang link alternatif login Messipoker, keluaran togel hari ini, prediksi jitu toto 4D, informasi live draw togel, dan lain-lain.</p> 702<p>Selama bertahun-tahun, Messipoker melayani dengan sangat baik pemain togel tebak jitu angka toto 4D di Indonesia, baik pemain togel di Java, Jatim, Jateng, Papua, Aceh, Bengkulu, Padang maupun wilayah pulau lainnya. Selain komunitas togel, komunitas pemain poker, bola, tembak ikan dan lain-lain banyak bermain di situs Messipoker, sehingga Messipoker telah menjadi situs yang meraih kepercayaan tertinggi dari para pemain di Indonesia. Ikatan antara komunitas pemain togel atau toto maupun komunitas game online lainnya dengan Messipoker khususnya di pulau Java terbentuk dengan baik atas cc resmi dari provider terbaik HKB Gaming di Indonesia.</p> 703<p>Fitur deposit dengan dana dan pulsa ataupun EDC khusus untuk juru togel dalam permainan toto, dingdong togel dan dadu online di Java maupun pulau lainnya di Indonesia dapat dilakukan de
703ngan sangat mudah. Member toto <a href="https://messipoker888.com/">Messipoker </a>cukup melakukan transfer pulsa atau dana maupun dengan EDC dari bank tertentu dan setelah itu melakukan verifikasi dengan cs yang siap melayani 24 jam.</p> 704<h2>Bandar Togel Terpercaya</h2> 705<p>Messipoker sebagai bandar togel terpercaya menyediakan berbagai pasaran togel populer yaitu togel sgp, toto hk, togel sdy, togel cambodia dan lain-lain. Pemain togel diberikan berbagai kemudahan dalam memasang angka togel seperti informasi tentang diskon togel, full bet togel, data-data keluaran togel, jadwal togel yang tetap, live draw tercepat, paito warna dan syair dari togel hk dan sdy. Buku mimpi atau erek erek 2D, 3D,4D dan tabel shio togel juga tersedia lengkap.</p> 706<p>Pada bulan tertentu, Messipoker juga memberikan rejeki hadiah cuma-cuma berupa kredit 4D togel bulan hoki kepada pemain toto togel yang berulang tahun pada bulan hoki. Para pemain dapat memanfaatkan kredit 4D togel bulan hoki tersebut, baik dicairkan langsung atau withdraw maupun dapat dimainkan dengan memasang bet angka jitu togel pada pasaran togel 4D yang tersedia. Jika anda beruntung, anda dapat mendapatkan keuntungan maksimal dari kredit togel bulanan tersebut. Silakan bertanya kepada custumer Messipoker untuk informasi lebih detail.</p> 707<h3>Live Draw Togel Tercepat</h3> 708<p>Live draw togel adalah proses pengundian angka keluaran togel secara langsung yang biasanya disiarkan secara live streaming melalui server togel resmi. Pemain togel yang telah memasang angka jitu pada situs Messipoker akan memantau angka keluar dari live draw ini untuk memastikan apakah tebakan yang dipasang tersebut menghasilkan hadiah atau tidak. Acara live draw togel merupakan momen paling ditunggu-tunggu oleh pemain Messipoker.</p> 709<p> </p> 710<p>Live draw hk, live draw syd, live draw taiwan, live draw sgp, live draw cambodia , live draw china dan live draw japan lotto tercepat malam hari ini disiapkan Messipoker untuk mempermudah komunitas togel atau toto untuk mengetahui result togel yang telah keluar dan menyesuaikan dengan prediksi angka jitu 4D yang dipasang. Anda dapat menyaksikan live draw pada jam-jam akan ditutup pasaran togel 4d tersebut di situs Messipoker. Biasanya live draw hk, sdy dan yang lainnya akan disiarkan menjelang tutup pasaran togel tersebut. Link live draw hk, sdy dan pasaran togel lainnya dapat disaksikan dengan mengunjungi Menu TOGEL, setelah itu pilih pasaran yang akan dilihat.</p> 711<h3>Keluaran Semua Togel</h3> 712<p>Keluaran togel adalah nomor pengeluaran togel dari hasil undian yang dilakukan setelah proses live draw selesai dilakukan hingga mendapat angka keluar yang sah dari semua togel. Keluaran togel ini memberikan acuan kepada pemain togel untuk meraih rejeki barupa hadiah yang didapat jika bet tebakan yang dipasang pada taruhan memperoleh angka jitu yang tepat. Keluaran togel atau result akan dicantumkan di situs sesuai dengan jadwal togel yang telah ditetapkan.</p> 713<p>Keluaran hk, keluaran sdy, keluaran sgp, keluaran cambodia, keluaran taiwan, keluaran china dan keluaran japan merupakan keluaran togel hari ini yang paling banyak dikunjungi di situs Messipoker. Tabel keluaran togel harian tersebut umumnya berisi data lengkap terdiri dari tanggal, periode, link live draw, hadiah togel dan result togel lengkap dengan keterangan shio, colok, genap ganjil, besar kecil dan sebagainya. Data keluaran togel tersebut diperba
713harui setiap hari sesuai periode pasaran togel tersebut.</p> 714<h3>Data Togel Paling Lengkap</h3> 715<p>Data togel merupakan kumpulan data yang berisi informasi pengeluaran togel dari suatu pasaran yang dirangkum Messipoker berdasarkan keluaran togel dari setiap periode. Data togel ini menjadi sumber informasi penting bagi pemain togel dalam melakukan prediksi jitu angka yang akan keluar. Data togel diupdate setiap hari setelah proses live draw pasaran togel selesai.</p> 716<p>Data Hk adalah data pengeluaran togel dari pasaran Hongkong yang dirangkum lengkap setiap periode dari server resmi toto HK Pools. Data hk lotto berisi informasi tanggal periode togel, shio togel, keluaran hk, genap ganjil, dan informasi lainnya yang dikumpulkan dari periode sebelumnya sampai yang terbaru.</p> 717<p>Data Sdy merupakan data pengeluaran togel dari Sydney lotto yang dikumpulkan lengkap dari setiap periode berdasarkan server togel sdy resmi Sydney Pools Today. Data Sdy terutama tahun 2024 dan 2025 menjadi data togel yang paling banyak dicari oleh pemain togel. Berdasarkan data sdy ini, pemain togel dapat menghitung prediksi angka jitu yang akan dimainkan pada periode selanjutnya.</p> 718<p>Data sgp, data taiwan, data cambodia dan data japan merupakan data pengeluaran togel yang juga banyak dikunjungi di situs togel Messipoker. Data togel dari pasaran tersebut dikumpulan dari periode ke periode berikutnya selama berbulan-bulan sehingga menjadi sumber informasi berharga bagi komunitas toto pemain togel untuk melakukan prediksi keluaran togel periode yang akan datang.</p> 719<h3>Paito Warna</h3> 720<p>Paito Warna adalah rangkuman dari pengeluaran hasil togel harian yang berisi angka keluaran dan disusun dalam bentuk tabel berwarna. Jumlah warna dalam tabel paito tersebut adalah 10 warna. Dengan menggunakan paito warna tersebut, pemain togel dapat mengkombinasikan hasil pengeluaran togel periode sebelumnya untuk melakukan prediksi angka keluar yang akan datang. Cara yang biasa digunakan adalah dengan memperhatikan warna dalam tabel paito tersebut sehingga menghasilkan patern atau pola warna tertentu. Berdasarkan pola warna dari paito ini, permain dapat melakukan analisis trend angka keluar yang akan muncul kemudian. Dari hasil analisis tersebut biasanya akan ditentukan angka keluar berupa angka yang lebih dominan, genap atau ganjil, besar atau kecil, shio togel dan lain-lain.</p> 721<p>Paito warna hk merupakan kumpulan pengeluaran harian dari hongkong lotto berupa angka keluaran dengan jumlah empat angka 4d dan enam angka 6d. Paito hk bersumber dari server resmi HK Pools yang kemudian dibuat tabel warna dengan jumlah 4d dan 6d. Paito hk diupdate secara harian di situs togel Messipoker.</p> 722<p>Paito warna sdy bersumber dari data harian lotto sydney pools today yang direkap secara lengkap dan berbentuk tabel berwarna dengan jumlah angka 4d dan 6d. Paito warna sdy ini banyak digunakan untuk menganalisis hasil keluaran sdy sehingga dapat menemukan trend angka keluar periode yang akan datang.</p> 723<p>Selain paito hk dan sdy tersebut diatas, paito warna sgp lotto, paito warna taiwan, paito warna china dan paito warna cambodia paito mengalami peningkatan minat dari pemain togel untuk menganalisa paito tersebut. Hal ini terjadi karena paito tersebut memiliki pola warna yang lebih seragam, sehingga memudahkan dalam analisa angka keluar yang akan datang meskipun hal tersebut tidak mutlak. Systim paito ini dianggap dapat membewa rejeki lebih bagi para pemain bet togel di Indonesia.</p> 724<h3>Syair Hk dan Syair Sdy</h3> 725<p>Syair Hk merupakan sebuah karya sastra tulisan puisi ramalan kode bergambar yang berhubungan dengan angka keluaran hk. Syair hk hari ini umumnya terdiri dari tanggal, kode angka, kata-kata hingga gambar yang memiliki makna yang dapat dipahami pemain togel hk. Dalam permainan bet tebak angka togel pembawa rezeki, syair hk banyak digunakan oleh pemain togel dalam meracik prediksi angka jitu yang akan dipasang pada malam hari sebelum tutup pasaran.</p> 726<p>Syair sdy adalah karya tulisan kode bergambar dan bermakna yang berkaitan dengan ramalan jitu keluaran togel sdy. Kode syair sdy hari ini banyak dibahas pada forum syair sdy yang umum terdiri dari para sepuh-sepuh pemain togel yang sudah lama berkecimpung dalam meramal angka keluar dari togel sdy ini.<
726/p> 727<p>Selain kode syair hk dan syair sdy, Syair Sgp dan syair cambodia banyak digunakan oleh pemain togel Messipoker di Indonesia timur dan barat dalam meramal kode rejeki keluaran togel sgp dan cambodia. Hal ini terjadi karena banyak kesamaan kultur dalam meramal kode syair togel tersebut.</p> 728<h2>Erek Erek 2D 3D 4D dan Shio Togel</h2> 729<h3>Erek Erek 2D</h3> 730<p>Erek erek merupakan buku mimpi 2D, 3D dan 4D berupa gambar atau abjad yang disiapkan untuk pemain toto agar dapat menebak angka togel dari mimpi yang terjadi dan menafsir makna dari berbagai kejadian atau simbol dari mimpi tersebut. Dengan erek erek 2D, pemain toto dapat melakukan prediksi angka main jitu yang akan di pasang pada periode togel yang akan berlangsung. Erek erek 2D, 3D dan 4D dapat dilihat di situs Messipoker dengan cara kunjungi menu Bantuan, kemudian lihat pada Tabel Buku Mimpi.</p> 731<p>Erek erek 2D menjadi buku mimpi 2D bergambar yang merujuk pada tafsir mimpi berjumlah dua digit angka. Sistim erek erek 2D ini biasa digunakan oleh pemain togel dalam menebak angka dua digit 2D dalam memasang angka togel dari hasil mimpi tersebut. Pengunaan erek erek 2D dalam permainan togel ini sudah berlangsung lama dan telah menjadi budaya masyarakat di Indonesia terutama di Pulau Java dalam mencari rejeki dari permainan bet angka ini.</p> 732<h3>Erek Erek 3D</h3> 733<p>Erek erek 3D merupakan pengembangan dari erek erek 2D, dimana pada erek erek 3D terdapat abjad bergambar dan angka yang berjumlah tiga digit yang mewakili tafsir dari kejadian mimpi. Sebagai contoh, jika bermimpi tentang kucing sedang kawin, maka angka mainnya adalah 339 dan 443. Erek erek 3D tentang kucing bisa berbeda sesuai dengan kontek kucing dalam tafsir mimpi, misalnya mimpi melihat kucing sedang tidur, maka angka mainnya adalah 321 dan 877.</p> 734<h3>Erek Erek 4D</h3> 735<p>Erek erek 4D abjad bergambar memiliki jumlah angka 4 digit. Penggunaan erek erek ini dalam permainan togel merupakan usaha mencari rejekibet dari tafsir mimpi yang terjadi. Namum, perlu diingat bahwa sistim penomoran abjad dan gambar dari erek erek merupakan sistim yang disusun berdasarkan kepercayaan dari masyarakat yang bermain togel dan tidak berdasarkan kajian ilmiah.</p> 736<h3>Shio Togel</h3> 737<p>Tabel shio togel yang lengkap terdiri dari 12 shio toto 4D yaitu ular, naga, kelinci, harimau, kerbau, tikus, babi, anjing, ayam, monyet, kambing dan kuda dapat dilihat dengan mengunjungi Menu Bantuan, kemudian lihat pada Tabel Shio 2025. Dengan adanya tabel shio togel ini dari Messipoker, pemain toto 4D memperoleh data lengkap tentang angka shio yang telah keluar dan melakukan prediksi shio yang akan keluar serta mengetahui hadiah yang telah ditetapkan. Tebak shio togel merupakan permainan yang menarik karena hanya terdiri dari 12 shio sehingga perluang untuk menang relatif lumayan besar.</p> 738<h2>Link Akun Situs Gacor Demo Pg dan Pragmatic Gratis Terlengkap</h2> 739<p>Sebagai lapak gaming online terlengkap, Messipoker juga dikenal sebagai situs gacor yang menyediakan akun demo Pg dan Pragmatic yang lengkap dengan link gacor demo yang diberikan secara gratis. Anda cukup memiliki 1 user id yg telah di cc untuk menikmati semua permainan demo tersebut termasuk live gaming dadu online yang telah kami sediakan.</p> 740<p>Akun demo pg soft banyak digunakan untuk permainan mahjong ways 1,2 dan 3 dimana dalam permainan mahjong ini pemain banyak mengharapkan scatter hitam untuk mendapatkan keuntungan jackpot yang maksimal. Scatter hitam merupakan fitus khusus berwarna hitam yang dapat memicu putaran gratis yang besar sehingga mendapatkan bonus dari jackpot yang mendekati maxwin.</p> 741<p>Situs gacor Messipoker juga menyediakan akun demo pragmatic gratis dengan link terlengkap permainan zeus atau gates of olympus 1000x yang merupakan permainan gamplay bertema mitologi Yunani kuno dengan dewa zeus sebagai karakter utama. Putaran jackpot yang dihasilkan dari demo pragmatic ini mampu mencapai 1000x dari modal utama sehingga menjadi daya tarik utama dalam permainan ini. Gates of Olympus 1000 dapat dimainkan secara gratis tanpa depo di Messipoker.</p> 742<p>Messipoker mengharapkan pemain yang bermain dapat meraih kemenangan disetiap permainan sehingga Messipoker menjadi situs bet pembawa rejeki bagi para member setianya. Beberapa member sering login dengan cara mend
742ownload apk rejekibet dengan harapan dapat bermain game terbaru dari apk bet pembawa rejeki tersebut. Messipoker sendiri memiliki APK Messipoker yang telah terbukti aman dan lancar dalam permainannya.</p> 743<p>Messipoker mengucapkan Salam Sukses dan Salam JP kepada para mitra togel setianya yang telah Bet Jitu meraih Rejeki JP Paus Maximus selama bermain di situs dingdong togel dan dadu online terpercaya ini.</p> 744<p>Untuk Internet Cepat dan Aman dalam memasang angka togel jitu dan game lainnya. Silakan Download APK MESSIPOKER di Hp Android Anda. Salam JP Paus Jitu Maximus !</p> 745 </div> 746 </div> 747 </div> 748 749 750 751 <section class="ourpartner"> 752 <div class="container" style="margin-top:1rem;margin-bottom:1rem;"> 753 <div class="col-lg-12 col-sm-12 col-md-12 col-xs-12 text-center"> 754 <h3 style="font-weight: 700;">Mitra Kami</h3> 755 </div> 756 <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6"> 757 <div class="pro-left" style="background-image:url('https://cf.ruangok.com/public/public/banner_ourpartner/messipoker/mspga4.webp') 758 ;width: 550px;height: 205px;background-repeat: no-repeat;"></div> 759 </div> 760 <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6"> 761 <div class="pro-right" style="background-image:url('https://cf.ruangok.com/public/public/banner_ourpartner/messipoker/mspga4.webp'); 762 width: 550px;height: 205px;background-repeat: no-repeat; 763 background-position: 0px 99%;background-repeat: no-repeat;"></div> 764 </div> 765 <div class="clearfix"></div> 766 </div> 767 </section> 768 769 <div class="clearfix"></div> 770</section> 771 772<section class="socialfooter"> 773 <div class="container"> 774 <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6"> 775 <div class="All_Rights">© 2019 MESSIPOKER. All Rights Reserved</div> 776 </div> 777 <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6"> 778 <div class="demopadding"> 779 <div class="icon social"> <a href="https://wa.me/6282173344313" target="_blank" ><img src="https://teachspacescience.org/images/socmed/whatsapp-bottom.webp?v=1.14.66" alt="teman-messi.com" width="20"></a></div> 780 <div class="icon social"> <a href="https://t.me/messipoker_OFFICIAL" target="_blank" ><img src="https://teachspacescience.org/images/socmed/telegram-bottom.webp?v=1.14.66" alt="teman-messi.com" width="20"></a></div> 781 <div class="icon social"> <a href="https://welshfred.com/" target="_blank" ><img src="https://teachspacescience.org/images/socmed/wordpress-bottom.webp?v=1.14.66" alt="Messipoker" width="20"></a></div> 782 </div> 783 </div> 784 <div class="clearfix"></div> 785 </div> 786</section> 787<div id="myModal" class="modal fade popup_space" role="dialog"> 788 <div class="modal-dialog modal-dialog1"> 789 <div class="modal-content popu_bg" style="border: 1px solid #303030;"> 790 <div class="modal-header new-modal text-center"> 791 <h4 class="modal-title new-modal-title" id="exampleModalLabel" style="padding: 10px 0;">MASUK</h4> 792 <button type="button" class="close closem" data-dismiss="modal"></button> 793 </div> 794 <form action="https://teachspacescience.org/login" id="form_login1" method="POST" accept-charset="utf-8" style=" margin: 0 auto; margin-top: -1px;"> 795 <input type="hidden" name="_token" value="6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930"> 796 <div class="modal-body new-modal-body"> 797 <div class="new-modal-content"> 798 <div class="form-group"> 799 <label class="label-control"> <span class="label-text">Username</span> </label> 800 <div class="col-xs-12 input-group">
801 <span class="input-group-addon" style="background: #121419;"> 802 <i class="fa fa-user" style="font-size: 14px;"></i> 803 </span> 804 <input class="form-control form-control2" name="user" placeholder="Username" required type="text" autocomplete="off" maxlength=18 style="text-transform:uppercase; background: #121419;" tabindex="6"> 805 </div> 806 </div> 807 <div class="form-group"> 808 <label class="label-control"> <span class="label-text text-center">Kata Sandi</span> </label> 809 <div class="col-xs-12 input-group"> 810 <span class="input-group-addon" style="background: #121419;"> 811 <i class="fa fa-lock" style="font-size: 14px;"></i> 812 </span> 813 <input class="form-control form-control2" placeholder="Kata Sandi" name="password" tabindex="7" required type="password" style="background: #121419;"> 814 </div> 815 </div> 816 817 <div class="form-group"> 818 <div class="col-xs-6 col-sm-6" style="padding-left: 0;"> 819 <label class="label-control" style="width: 100%;"> <span class="label-text text-center">Kode Validasi</span> </label> 820 <div class="col-xs-12 input-group"> 821 <span class="input-group-addon" style="background: #121419;"> 822 <i class="fa fa-shield" style="font-size: 14px;"></i> 823 </span> 824 <input class="form-control form-control2 captcha-input" placeholder="Kode Validasi" name="captcha" id="code" maxlength="4" onKeyPress="test(this,event);" tabindex="8" required type="text" pattern="\d*" style="background: #121419;"> 825 </div> 826 </div> 827 </div> 828 <div class="col-xs-6 col-sm-6" style="padding: 0; margin-top: 20px;"> 829 <span id="captcha_div_login" class="form-captcha"> 830 <i class="fa fa-refresh fa-2x " style="margin:3px 3px 0px 0px;color:#f7941d; vertical-align: middle;"></i> 831 <img class="captcha captcha_image" src="https://teachspacescience.org/captcha/default?9wDP9JEA" style=" width:80px; height:30px; margin-right:5px;" /> 832 </span> 833 </div> 834 <div style="clear:both"> </div> 835 836 <div class="col-md-12 col-sm-12 col-md-12 text-center"> 837 <span id="loader_login1"></span> 838 </div> 839 <div class="col-md-12 col-sm-12 col-md-12 text-center" style="margin-top: 15px;"> 840 <div class="text-center btn-green-login"> 841 <button id="btn_login1" name="submitlogin" type="submit" class="proses"><span>MASUK</span> 842 </button> 843 </div> 844 </div> 845 <div class="modal-footer" style="padding: 0; text-align: center; border: none; margin-top: 50px;"> 846 <div class="col-xs-6" style="padding-left: 0px; text-align: left;"> 847 <a href="https://teachspacescience.org/password/reset" style="text-decoration: underline; color: #ff0000;">Lupa Kata Sandi</a> 848 </div> 849 <div class="col-xs-6" style="text-align: right; padding-right: 0px;"> 850 <a href="https://teachspacescience.org/register" style="text-decoration: underline;
850 color: rgb(7,187,0);">Daftar</a> 851 </div> 852 </div> 853 </div> 854 </div> 855 </form> 856 </div> 857 </div> 858 </div> 859 860<div class="modal fade" id="modalTerm" role="dialog" style="z-index: 9999999;"> 861 <div class="modal-dialog"> 862 <div class="modal-content"> 863 <div class="popup_prmotionhd"> 864 <div class="promo_txtright">Syarat & Ketentuan</div> 865 <div class="promo_txthd"><a href="#" data-dismiss="modal"><img src="https://teachspacescience.org/messipoker/images/promotion/cross.png?v=1.14.66" alt="" class="img-responsive"></a></div> 866 <div class="clearfix"></div> 867 </div> 868 869 <div class="conditions-body"> 870 <div class="term-list"> 871 <p style="padding:0px 20px; color: #fff;">Berikut ketentuan yang berlaku untuk member yang telah mendaftar & harus disetujui member. Dengan mendaftar menjadi member, Anda telah dianggap memahami dan menyetujui peraturan yang berlaku di permainan kami: 872 </p> 873 <ol style="padding-left:34px; padding-right: 20px; list-style-type: decimal;"> 874 <li>Minimal Anda telah berusia 18 tahun untuk membuat akun.</li> 875 <li>Setiap member wajib menjaga kerahasiaan akun-nya masing-masing.</li> 876 <li>Data yang diberikan pada saat mendaftar adalah BENAR dan ASLI.</li> 877 <li>Minimal deposit/pengisian saldo akun Anda adalah IDR 25.000,-</li> 878 <li>Minimal withdraw/penarikan saldo akun Anda adalah IDR. 25.000,-.</li> 879 <li>Untuk penarikan dana (withdraw) dapat dilakukan setiap hari selama website tidak sedang maintenance dan bank tidak offline.</li> 880 <li>Pada saat bank sedang gangguan atau offline, maka transaksi deposit dan withdraw tidak dapat kami proses. Transaksi deposit dan withdraw akan kami proses setelah bank normal kembali atau dalam keadaan online.</li> 881 <li>Deposit dan Withdraw hanya dapat diproses ke rekening yang terdaftar.</li> 882 </ol> 883 </div> 884 <div class="fund_btn4" style="margin: 0 38%;"><a class="setuju" href="#" data-dismiss="modal"></a></div> 885 </div> 886 887 </div> 888 </div> 889</div> 890 891 892 893<div class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="padding-right: 17px; z-index: 99999;" id="uialert_modal"> 894 <div class="modal-dialog" role="document" style="top:25%;"> 895 <div class="modal-content"> 896 <div class="popup_prmotionhd"> 897 <div class="promo_txtright text-center">Informasi</div> 898 <div class="promo_txthd"><a href="#" data-dismiss="modal"><img src="https://teachspacescience.org/messipoker/images/promotion/cross.png?v=1.14.66" alt="" class="img-responsive"></a></div> 899 <div class="clearfix"></div> 900 </div> 901 <div class="modal-body conditions-body" id="uialert_content" style="text-align: center;"> 902 </div> 903 </div> 904 </div> 905</div><div class="modal fade" id="consumer_com" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"> 906 <div class="modal-dialog" role="document"> 907 <div class="modal-content"> 908 <div class="popup_prmotionhd"> 909 <div class="promo_txthd"><a href="#" data-dismiss="modal"> 910 <img src="https://teachspacescience.org/images/promotion/cross1.webp?v=1.14.66" alt="" class="img-responsive"></a></div> 911 <div class="promo_txtright text-center">Pengaduan Konsumen</div> 912 <div class="clearfix"></div> 913 </div> 914 <div class="modal-body new-modal-body"> 915 <div class="new-modal-content h-mobo-term"> 916 <p style="text-align: left; ">~ Silakan sampaikan keluhan yang anda alami pada situs</p><p style="text-align: left; ">~ Keluhan anda akan direspon oleh tim pusat paling lambat 1x24 jam</p><p style="text-align: left; ">~ Respon dari tim pusat akan dikirimkan ke alamat email yang anda tulis di form</p> 917 <form id="frm_complaint" class="sgn_frm" method="POST" action="https://teachspacescience.org/customer_complaint"> 918 <input type="hidden" name="_token" value="6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930"> <h5><strong>Situs web :</strong> TEACHSPACESCIENCE.ORG</h5> 919 <h5><strong>Username (yang terdaftar dalam situs)</strong></h5> 920 <input type="text" maxlength="30" required name="user_name" pattern="[A-Za-z0-9_-]+" class="form-control input-lg uppercase"> 921 <h5><strong>Alamat Email</strong></h5> 922 <input type="email" maxlength="60" required name="email" class="form-control input-lg uppercase"> 923 <h5><strong>Kategori</strong></h5> 924 <select name="category_id" required class="form-control input-sm bord-regis nice-select-pass uppercase"> 925 <option value="" selected>Pilih Kategori</option> 926 <option value="48">Deposit tidak diproses</option> 927 <option value="51">Laporan kecurangan pemain</option> 928 <option value="50">Pelayanan Customer Service</option> 929 <option value="52">saran dan kritik</option> 930 <option value="49">Withdraw tidak dibayarkan</option> 931 </select> 932 <h5><strong>Deskripsi</strong></h5> 933 <textarea minlength="10" maxlength="2000" required name="description" class="form-control input-lg"></textarea> 934 <h5><strong>Kode Validasi</strong></h5> 935 <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 p-0"> 936 <input type="text" required name="captcha" placeholder="Kode Validasi" onkeypress="test(this,event)" maxlength="4" pattern="\d*" class="form-control input-lg uppercase"> 937 </div> 938 <div class="col-xs-6 col-sm-6 col-md-6 refresh_captcha_reg">
939 <span id="captcha_div_reg" class="form-captcha" title="Klik untuk kode validasi yang baru!"> 940 <img class="captcha captcha_image" src="https://teachspacescience.org/captcha/default?9wDP9JEA"/> 941 <i class="fa fa-refresh fa-2x "></i> 942 </span> 943 </div> 944 945 <div class="text-right btn-complaint"> 946 <span id="loader_complaint"></span> 947 <button class="btn btn-primary">Kirim Pengaduan</button> 948 </div> 949 </form> 950 </div> 951 </div> 952 </div> 953 </div> 954</div> 955<!-- jQuery --> 956 957<!--
957<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
957 -->
958<script type="text/javascript" src="https://teachspacescience.org/js/jquery-1.12.4.min.js?v=1.14.66"></script>
vendor: 1 bytes, line 958
958
959<script type="text/javascript" src="https://teachspacescience.org/messipoker/bower_components/jquery-confirm/jquery.confirm.min.js?v=1.14.66"></script>
959 960
961<script type="text/javascript" src="https://teachspacescience.org/messipoker/js/bootbox.js?v=1.14.66"></script>
vendor: 1 bytes, line 961
961
962<script type="text/javascript" src="https://teachspacescience.org/messipoker/js/jquery.goup.js?v=1.14.66"></script>
vendor: 1 bytes, line 962
962
963<script type="text/javascript" src="https://teachspacescience.org/messipoker/js/bootstrap.min.js?v=1.14.66"></script>
963 964 965<!--
965<script type="text/javascript" src="https://teachspacescience.org/messipoker/js/slider.js?v=1.14.66"></script>
965 -->
966<script type="text/javascript" src="https://teachspacescience.org/messipoker/js/jquery.nice-select.min.js?v=1.14.66"></script>
966
967<script type="text/javascript" src="https://teachspacescience.org/messipoker/js/jquery.easing.1.3.js?v=1.14.66" ></script>
vendor: 1 bytes, line 967
967
968<script type="text/javascript" src="https://teachspacescience.org/messipoker/js/jquery.counter.js?v=1.14.66"></script>
vendor: 1 bytes, line 968
968
969<script type="text/javascript" src="https://teachspacescience.org/messipoker/js/fungsi_memo.js?v=1.14.66" defer='defer'></script>
vendor: 1 bytes, line 969
969
970<script type="text/javascript" src="https://teachspacescience.org/js/plugins.js?v=1.14.66"></script>
vendor: 1 bytes, line 970
970
971<script type="text/javascript" src="https://teachspacescience.org/messipoker/js/bootstrap-datepicker.js?v=1.14.66"></script>
vendor: 1 bytes, line 971
971
972<script type="text/javascript" src="https://teachspacescience.org/js/datatables.min.js?v=1.14.66"></script>
972 973
974<script type="text/javascript"> 975 $(window).load(function(){ 976 $('.form-group1 input').on('focus blur', function (e) { 977 $(this).parents('.form-group1').toggleClass('active', (e.type === 'focus' || this.value.length > 0)); 978 }).trigger('blur'); 979 }); 980 //config 981 $float_speed=50; //milliseconds 982 $float_easing="easeOutQuint"; 983 $menu_fade_speed=500; //milliseconds 984 $closed_menu_opacity=0.75; 985 986 //cache vars 987 $fl_menu=$("#fl_menu"); 988 $fl_menu_menu=$("#fl_menu .menu"); 989 $fl_menu_label=$("#fl_menu .label"); 990 991 $(window).load(function() { 992 menuPosition=$('#fl_menu').position().top; 993 FloatMenu(); 994 $fl_menu.hover( 995 function(){ //mouse over 996 $fl_menu_label.fadeTo($menu_fade_speed, 1); 997 $fl_menu_menu.fadeIn($menu_fade_speed); 998 }, 999 function(){ //mouse out 1000 $fl_menu_label.fadeTo($menu_fade_speed, $closed_menu_opacity); 1001 $fl_menu_menu.fadeOut($menu_fade_speed); 1002 } 1003 ); 1004 1005 $(window).scroll(function () { 1006 FloatMenu(); 1007 }); 1008 1009 }); 1010 1011 function FloatMenu(){ 1012 var scrollAmount=$(document).scrollTop(); 1013 var newPosition=menuPosition+scrollAmount; 1014 if($(window).height()<$fl_menu.height()+$fl_menu_menu.height()){ 1015 $fl_menu.css("top",menuPosition); 1016 } else { 1017 $fl_menu.stop().animate({top: newPosition}, $float_speed, $float_easing); 1018 } 1019 } 1020</script>
vendor: 1 bytes, line 1020
1020
1021<script> 1022 setInterval(function () { 1023 var d = new Date(); 1024 var ee = d.toString().split(" GMT"); 1025 var x = ee[0].split(" "); 1026 $(".gmt1").html(x[2]+" "+x[1]+" "+x[3]); 1027 }, 1000); 1028 setInterval(function () { 1029 var d = new Date(); 1030 var ee = d.toString().split(" GMT"); 1031 var x = ee[0].split(" "); 1032 $(".gmt2").html(x[4]+" (GMT +7)"); 1033 }, 1000); 1034 $(document).ready(function(){ 1035 $(".dropdown2").hover( 1036 function() { 1037 $('.dropdown-menu', this).stop( true, true ).fadeIn("fast"); 1038 $(this).toggleClass('open'); 1039 }, 1040 function() { 1041 $('.dropdown-menu', this).stop( true, true ).fadeOut("fast"); 1042 $(this).toggleClass('open'); 1043 } 1044 ); 1045 }); 1046 1047</script>
1047 1048
1049<script type="text/javascript" src="https://teachspacescience.org/js/jquery.maskedinput-1.3.min.js?v=1.14.66"></script>
vendor: 1 bytes, line 1049
1049
1050<script type="text/javascript" src="https://teachspacescience.org/js/jquery.form.js?v=1.14.66"></script>
vendor: 1 bytes, line 1050
1050
1051<script type="text/javascript" src="https://teachspacescience.org/js/jquery.price_format.1.3.js?v=1.14.66"></script>
1051 1052
1053<script type="text/javascript" src="https://teachspacescience.org/js/jquery.zclip.1.1.1/jquery.zclip.min.js?v=1.14.66" defer="defer"></script>
1053 1054
1055<script type="text/javascript" src="https://teachspacescience.org/js/jquery.plugin.min.js?v=1.14.66"></script>
vendor: 1 bytes, line 1055
1055
1056<script type="text/javascript" src="https://teachspacescience.org/js/jquery.keypad.min.js?v=1.14.66"></script>
vendor: 1 bytes, line 1056
1056
1057<script type="text/javascript" src="https://teachspacescience.org/js/jquery.easing.1.3.js?v=1.14.66"></script>
1057 1058
1059<script type="text/javascript"> 1060 1061 $(function () { 1062 $('.fullKeypad').keypad({keypadOnly: false, 1063 layout: $.keypad.qwertyLayout}); 1064 }); 1065 1066 1067 var loader_img = "<span style='color:white;font-weight:normal;font-size:10px;'><img src='https://teachspacescience.org/messipoker/images/spinner02.gif?v=1.14.66' style='vertical-align:middle;line-height:1.5em;margin-top:-3px;' align='absmiddle' /> Loading..</span>"; 1068 var loader_img2 = "<span style='color:white;font-weight:normal;'><img src='https://teachspacescience.org/messipoker/images/spinner02.gif?v=1.14.66' style='vertical-align:middle;line-height:1.5em;margin-top:-3px;' align='absmiddle' /> Loading..</span>"; 1069 var loader_img1 = "<span style='color:white;font-weight:normal;'><img src='https://teachspacescience.org/messipoker/images/spinner02.gif?v=1.14.66' style='vertical-align:middle;line-height:1.5em;margin-top:-3px;' align='absmiddle' /> Loading..Mohon menunggu sebentar..<BR>Transaksi Anda sedang diproses.</span>"; 1070 1071 function uialert(msg,onclose){ 1072 $('#uialert_content').html(msg); 1073 $('#uialert_modal').modal('show'); 1074 // console.log(msg); 1075 setTimeout( 1076 function(){ 1077 jQuery('#uialert_modal').modal('hide'); 1078 if(onclose!=null){ modal('hide'); } 1079 }, 3000 1080 ); 1081 } 1082 1083 function uialert2(msg) { 1084 $('#uialert_content').html(msg); 1085 $('#uialert_modal').show(); 1086 $('#uialert_modal').modal('show'); 1087 } 1088 1089</script>
1089 1090 1091 1092 1093 <!-- Start of LiveChat code --> 1094 <!-- End of LiveChat code --> 1095<!-- lazy img-->
1096<script type="text/javascript" src="https://teachspacescience.org/js/lazyload.min.js?v=1.14.66"></script>
1096 1097 1098<!-- Append Favicon to Head-->
1099<script> 1100 const favicon = document.querySelector("link[type='image/x-icon']") 1101 1102 $('head').append(favicon); 1103 1104 // push alert 1105 const config_route = [{"id":28,"web_id":50189,"route_name":"\/sw.js","file_name":"sw_messipoker.js","path_file":"public\/config_root\/messipoker\/sw_messipoker.js","file_type":"js","created_at":"2025-10-21 10:51:06","updated_at":null}]; 1106 1107 config_route.forEach( function(item,index){ 1108 if( item.route_name == "/sw.js"){ 1109 return; 1110 } 1111 const script = document.createElement('script'); 1112 script.type = 'text/javascript'; 1113 script.src = item.route_name; 1114 document.body.appendChild(script); 1115 }); 1116 1117 $('head').append(` 1118 <style> 1119 .rtp-progressbar-search { 1120 position: absolute; 1121 width: 38px; 1122 height: 38px; 1123 border-radius: 50%; 1124 background: conic-gradient(green 43%, #000000 0); 1125 display: flex; 1126 align-items: center; 1127 justify-content: center; 1128 bottom: 2%; 1129 right: 1%; 1130 z-index: 10; 1131 } 1132 .rtp-inner-circle-search { 1133 width: 32px; 1134 height: 32px; 1135 border-radius: 50%; 1136 background-color: black; 1137 display: flex; 1138 flex-direction: column; 1139 align-items: center; 1140 justify-content: center; 1141 /* font-size: 10px; */ 1142 font-weight: bolder; 1143 } 1144 .rtp-text-content-search .rtp-title-search, 1145 .rtp-text-content-search .rtp-percentage-search{ 1146 color: #ffffff; 1147 } 1148 .rtp-text-content-search{ 1149 margin-top: 0.5rem 1150 } 1151 .rtp-title-search{ 1152 line-height: 0; 1153 padding: 0 0 3px 3px; 1154 font-size: 11px; 1155 } 1156 .rtp-percent-search{ 1157 font-size:11px; 1158 } 1159 </style> 1160 `); 1161 1162</script>
1162 1163 1164<!-- demo play -->
1165<script> 1166 function demoPlay(game_data) 1167 { 1168 let click_demo = 1; 1169 1170 console.log(game_data); 1171 // when user already clicked once 1172 if (click_demo == 1){ 1173 $.ajax({ 1174 url: "https://teachspacescience.org/demo_url", 1175 method: 'POST', 1176 data: { 1177 '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930', 1178 'game_data': game_data, 1179 }, 1180 success: function(resp){ 1181 1182 // search the result 1183 let is_register = resp.demo_link.search('/register'); 1184 // when it have demo open the game demo 1185 // note png have callback url register on word 150 1186 if(is_register == -1 || is_register > 149) 1187 { 1188 uialert2('<i class="fa fa-gear fa-spin" style="font-size:25px"></i><span style="font-size:30px">Loading game.. Please wait.</span>'); 1189 setTimeout( function(){ 1190 window.open(resp.demo_link, '_blank').focus(); 1191 click_demo = 0; 1192 }, 1500); 1193 1194 setTimeout( 1195 function(){ 1196 jQuery('#uialert_modal').modal('hide'); 1197 }, 1500 1198 ); 1199 1200 }else{ 1201 location.href = resp.demo_link 1202 } 1203 }, 1204 error: function(err){ 1205 click_demo = 0; 1206 console.log('err'); 1207 console.log(err); 1208 setTimeout( function(){ 1209 location.href = "https://teachspacescience.org/register"; 1210 }, 1000); 1211 } 1212 }); 1213 }else{ 1214 // if still on going show loading 1215 uialert2('<i class="fa fa-gear fa-spin" style="font-size:25px"></i><span style="font-size:30px">Loading game.. Please wait.</span>'); 1216 } 1217 1218 } 1219</script>
1219 1220 1221<style> 1222 input::-ms-clear, input::-ms-reveal { 1223 display: none; 1224 } 1225</style> 1226 1227
1227<script type="text/javascript" src="https://teachspacescience.org/js/acc.js?v=1.14.66"></script>
1227 1228
1228<script type="text/javascript" src="https://teachspacescience.org/js/bootstrap-toggle.min.js?v=1.14.66"></script>
1228 1229
1229<script type="text/javascript"> 1230 1231 (function() { 1232 var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true; 1233 lc.src = 'https://test140n.ruangkomunikasilc.com/api2?data=guest&prov=10117&key=0a6dae2b008311511eebd29cf392d1d6&channel=1&lang=id'; 1234 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s); 1235 })(); 1236 </script>
1236 1237
1237<script type="text/javascript" language="Javascript"> 1238 1239 setTimeout(function(){ 1240 location.reload(); 1241 },60000*60*2); 1242 </script>
1242 1243
1244<script type="text/javascript"> 1245 // global helper 1246 function getCookie(name) { 1247 var nameEQ = name + "="; 1248 var ca = document.cookie.split(';'); 1249 for(var i=0;i < ca.length;i++) { 1250 var c = ca[i]; 1251 while (c.charAt(0)==' ') c = c.substring(1,c.length); 1252 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); 1253 } 1254 return null; 1255 } 1256 1257 // immediately delete cookies 1258 function delete_cookie(name) { 1259 document.cookie = name +'=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;'; 1260 } 1261 1262 $(document).ready(function(){ 1263 // register trigger change default 1264 const default_curr = "IDR"; 1265 $("#country").val(default_curr).trigger("change"); 1266 1267 if($('.hkb_jackpot').length > 0){ 1268 $.get("https://teachspacescience.org/homeAPI", function(r){ 1269 if(typeof r.message !== 'undefined'){ 1270 $('.hkb_jackpot').html(r.message); 1271 }else if(typeof r.HKB_Jackpot !== 'undefined'){ 1272 if(r.HKB_Jackpot.value >0){ 1273 $('.hkb_jackpot') 1274 .attr('data-format', addCommas(r.HKB_Jackpot.format)) 1275 .attr('data-stop', addCommas(r.HKB_Jackpot.format)) 1276 .html(addCommas(r.HKB_Jackpot.value)) 1277 .counter(); 1278 } 1279 }else{ 1280 $('.hkb_jackpot').html('-'); 1281 } 1282 }) 1283 } 1284 1285 1286 let lobby_tag, promo_tag, game_ishot_tag, vendor_isnew_tag; 1287 let class_name_tag, selector_tag, element_tag; 1288 let margin_promo = 0; 1289 1290 1291 lobby_tag = ".lb-14938" 1292 promo_tag = "0"; 1293 game_ishot_tag = "0"; 1294 vendor_isnew_tag = "0"; 1295 margin_promo = 0; 1296 // console.log(lobby_tag); 1297 // console.log("promo", promo_tag); 1298 // console.log("game_ishot", game_ishot_tag); 1299 // console.log("vendor_isnew", vendor_isnew_tag); 1300 1301 $(lobby_tag).each(function(index, element) { 1302 if (index === 0) { 1303 // Navbar Content 1304 class_name_tag = $(element).attr('class'); 1305 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1306 // on LI(navar) or DIV Content 1307 element_tag = $(element).prop('tagName'); 1308 if(vendor_isnew_tag == 1){ 1309 if( element_tag == 'LI'){ 1310 margin_promo = 20; 1311 }else{ 1312 margin_promo =10; 1313 } 1314 1315 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1316 } 1317 1318 if(promo_tag == 1){ 1319 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1320 } 1321 1322 if(game_ishot_tag == 1){ 1323 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 1324 } 1325 1326 } else if (index === 1) { 1327 // Lobby Content 1328 class_name_tag = $(element).attr('class'); 1329 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1330 1331 if(vendor_isnew_tag == 1){ 1332 margin_promo = 12; 1333 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1334 } 1335 1336 if(promo_tag == 1){ 1337 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1338 } 1339 1340 if(game_ishot_tag == 1){ 1341 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
1341left:10px;top:0;z-index:10;width:50px"></div>`); 1342 } 1343 } 1344 }); 1345 1346 1347 1348 lobby_tag = ".lb-141" 1349 promo_tag = "1"; 1350 game_ishot_tag = "0"; 1351 vendor_isnew_tag = "0"; 1352 margin_promo = 0; 1353 // console.log(lobby_tag); 1354 // console.log("promo", promo_tag); 1355 // console.log("game_ishot", game_ishot_tag); 1356 // console.log("vendor_isnew", vendor_isnew_tag); 1357 1358 $(lobby_tag).each(function(index, element) { 1359 if (index === 0) { 1360 // Navbar Content 1361 class_name_tag = $(element).attr('class'); 1362 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1363 // on LI(navar) or DIV Content 1364 element_tag = $(element).prop('tagName'); 1365 if(vendor_isnew_tag == 1){ 1366 if( element_tag == 'LI'){ 1367 margin_promo = 20; 1368 }else{ 1369 margin_promo =10; 1370 } 1371 1372 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1373 } 1374 1375 if(promo_tag == 1){ 1376 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1377 } 1378 1379 if(game_ishot_tag == 1){ 1380 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 1381 } 1382 1383 } else if (index === 1) { 1384 // Lobby Content 1385 class_name_tag = $(element).attr('class'); 1386 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1387 1388 if(vendor_isnew_tag == 1){ 1389 margin_promo = 12; 1390 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1391 } 1392 1393 if(promo_tag == 1){ 1394 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1395 } 1396 1397 if(game_ishot_tag == 1){ 1398 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 1399 } 1400 } 1401 }); 1402 1403 1404 1405 lobby_tag = ".lb-15964" 1406 promo_tag = "0"; 1407 game_ishot_tag = "0"; 1408 vendor_isnew_tag = "0"; 1409 margin_promo = 0; 1410 // console.log(lobby_tag); 1411 // console.log("promo", promo_tag); 1412 // console.log("game_ishot", game_ishot_tag); 1413 // console.log("vendor_isnew", vendor_isnew_tag); 1414 1415 $(lobby_tag).each(function(index, element) { 1416 if (index === 0) { 1417 // Navbar Content 1418 class_name_tag = $(element).attr('class'); 1419 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1420 // on LI(navar) or DIV Content 1421 element_tag = $(element).prop('tagName'); 1422 if(vendor_isnew_tag == 1){ 1423 if( element_tag == 'LI'){ 1424 margin_promo = 20; 1425 }else{ 1426 margin_promo =10; 1427 } 1428 1429 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1430 } 1431 1432 if(promo_tag == 1){ 1433 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1434 } 1435 1436 if(game_ishot_tag == 1){ 1437 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
1437left:10px;top:0;z-index:10;width:35px"></div>`); 1438 } 1439 1440 } else if (index === 1) { 1441 // Lobby Content 1442 class_name_tag = $(element).attr('class'); 1443 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1444 1445 if(vendor_isnew_tag == 1){ 1446 margin_promo = 12; 1447 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1448 } 1449 1450 if(promo_tag == 1){ 1451 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1452 } 1453 1454 if(game_ishot_tag == 1){ 1455 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 1456 } 1457 } 1458 }); 1459 1460 1461 1462 lobby_tag = ".lb-25118" 1463 promo_tag = "0"; 1464 game_ishot_tag = "0"; 1465 vendor_isnew_tag = "0"; 1466 margin_promo = 0; 1467 // console.log(lobby_tag); 1468 // console.log("promo", promo_tag); 1469 // console.log("game_ishot", game_ishot_tag); 1470 // console.log("vendor_isnew", vendor_isnew_tag); 1471 1472 $(lobby_tag).each(function(index, element) { 1473 if (index === 0) { 1474 // Navbar Content 1475 class_name_tag = $(element).attr('class'); 1476 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1477 // on LI(navar) or DIV Content 1478 element_tag = $(element).prop('tagName'); 1479 if(vendor_isnew_tag == 1){ 1480 if( element_tag == 'LI'){ 1481 margin_promo = 20; 1482 }else{ 1483 margin_promo =10; 1484 } 1485 1486 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1487 } 1488 1489 if(promo_tag == 1){ 1490 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1491 } 1492 1493 if(game_ishot_tag == 1){ 1494 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 1495 } 1496 1497 } else if (index === 1) { 1498 // Lobby Content 1499 class_name_tag = $(element).attr('class'); 1500 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1501 1502 if(vendor_isnew_tag == 1){ 1503 margin_promo = 12; 1504 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1505 } 1506 1507 if(promo_tag == 1){ 1508 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1509 } 1510 1511 if(game_ishot_tag == 1){ 1512 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 1513 } 1514 } 1515 }); 1516 1517 1518 1519 lobby_tag = ".lb-28172" 1520 promo_tag = "0"; 1521 game_ishot_tag = "1"; 1522 vendor_isnew_tag = "0"; 1523 margin_promo = 0; 1524 // console.log(lobby_tag); 1525 // console.log("promo", promo_tag); 1526 // console.log("game_ishot", game_ishot_tag); 1527 // console.log("vendor_isnew", vendor_isnew_tag); 1528 1529 $(lobby_tag).each(function(index, element) { 1530 if (index === 0) { 1531 // Navbar Content 1532 class_name_tag = $(element).attr('class'); 1533 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1534 // on LI(navar) or DIV Content 1535 element_tag = $(element).prop('tagName'); 1536 if(vendor_isnew_tag == 1){ 1537 if( element_tag == 'LI'){ 1538 margin_promo = 20; 1539 }else{ 1540 margin_promo =10; 1541 } 1542 1543 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1544 } 1545 1546 if(promo_tag == 1){ 1547 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1548 } 1549 1550 if(game_ishot_tag == 1){ 1551 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
1551left:10px;top:0;z-index:10;width:35px"></div>`); 1552 } 1553 1554 } else if (index === 1) { 1555 // Lobby Content 1556 class_name_tag = $(element).attr('class'); 1557 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1558 1559 if(vendor_isnew_tag == 1){ 1560 margin_promo = 12; 1561 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1562 } 1563 1564 if(promo_tag == 1){ 1565 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1566 } 1567 1568 if(game_ishot_tag == 1){ 1569 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 1570 } 1571 } 1572 }); 1573 1574 1575 1576 lobby_tag = ".lb-25841" 1577 promo_tag = "1"; 1578 game_ishot_tag = "0"; 1579 vendor_isnew_tag = "0"; 1580 margin_promo = 0; 1581 // console.log(lobby_tag); 1582 // console.log("promo", promo_tag); 1583 // console.log("game_ishot", game_ishot_tag); 1584 // console.log("vendor_isnew", vendor_isnew_tag); 1585 1586 $(lobby_tag).each(function(index, element) { 1587 if (index === 0) { 1588 // Navbar Content 1589 class_name_tag = $(element).attr('class'); 1590 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1591 // on LI(navar) or DIV Content 1592 element_tag = $(element).prop('tagName'); 1593 if(vendor_isnew_tag == 1){ 1594 if( element_tag == 'LI'){ 1595 margin_promo = 20; 1596 }else{ 1597 margin_promo =10; 1598 } 1599 1600 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1601 } 1602 1603 if(promo_tag == 1){ 1604 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1605 } 1606 1607 if(game_ishot_tag == 1){ 1608 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 1609 } 1610 1611 } else if (index === 1) { 1612 // Lobby Content 1613 class_name_tag = $(element).attr('class'); 1614 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1615 1616 if(vendor_isnew_tag == 1){ 1617 margin_promo = 12; 1618 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1619 } 1620 1621 if(promo_tag == 1){ 1622 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1623 } 1624 1625 if(game_ishot_tag == 1){ 1626 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 1627 } 1628 } 1629 }); 1630 1631 1632 1633 lobby_tag = ".lb-18135" 1634 promo_tag = "0"; 1635 game_ishot_tag = "0"; 1636 vendor_isnew_tag = "0"; 1637 margin_promo = 0; 1638 // console.log(lobby_tag); 1639 // console.log("promo", promo_tag); 1640 // console.log("game_ishot", game_ishot_tag); 1641 // console.log("vendor_isnew", vendor_isnew_tag); 1642 1643 $(lobby_tag).each(function(index, element) { 1644 if (index === 0) { 1645 // Navbar Content 1646 class_name_tag = $(element).attr('class'); 1647 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1648 // on LI(navar) or DIV Content 1649 element_tag = $(element).prop('tagName'); 1650 if(vendor_isnew_tag == 1){ 1651 if( element_tag == 'LI'){ 1652 margin_promo = 20; 1653 }else{ 1654 margin_promo =10; 1655 } 1656 1657 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1658 } 1659 1660 if(promo_tag == 1){ 1661 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1662 } 1663 1664 if(game_ishot_tag == 1){ 1665 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
1665left:10px;top:0;z-index:10;width:35px"></div>`); 1666 } 1667 1668 } else if (index === 1) { 1669 // Lobby Content 1670 class_name_tag = $(element).attr('class'); 1671 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1672 1673 if(vendor_isnew_tag == 1){ 1674 margin_promo = 12; 1675 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1676 } 1677 1678 if(promo_tag == 1){ 1679 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1680 } 1681 1682 if(game_ishot_tag == 1){ 1683 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 1684 } 1685 } 1686 }); 1687 1688 1689 1690 lobby_tag = ".lb-26613" 1691 promo_tag = "0"; 1692 game_ishot_tag = "0"; 1693 vendor_isnew_tag = "0"; 1694 margin_promo = 0; 1695 // console.log(lobby_tag); 1696 // console.log("promo", promo_tag); 1697 // console.log("game_ishot", game_ishot_tag); 1698 // console.log("vendor_isnew", vendor_isnew_tag); 1699 1700 $(lobby_tag).each(function(index, element) { 1701 if (index === 0) { 1702 // Navbar Content 1703 class_name_tag = $(element).attr('class'); 1704 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1705 // on LI(navar) or DIV Content 1706 element_tag = $(element).prop('tagName'); 1707 if(vendor_isnew_tag == 1){ 1708 if( element_tag == 'LI'){ 1709 margin_promo = 20; 1710 }else{ 1711 margin_promo =10; 1712 } 1713 1714 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1715 } 1716 1717 if(promo_tag == 1){ 1718 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1719 } 1720 1721 if(game_ishot_tag == 1){ 1722 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 1723 } 1724 1725 } else if (index === 1) { 1726 // Lobby Content 1727 class_name_tag = $(element).attr('class'); 1728 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1729 1730 if(vendor_isnew_tag == 1){ 1731 margin_promo = 12; 1732 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1733 } 1734 1735 if(promo_tag == 1){ 1736 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1737 } 1738 1739 if(game_ishot_tag == 1){ 1740 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 1741 } 1742 } 1743 }); 1744 1745 1746 1747 lobby_tag = ".lb-10319" 1748 promo_tag = "1"; 1749 game_ishot_tag = "0"; 1750 vendor_isnew_tag = "0"; 1751 margin_promo = 0; 1752 // console.log(lobby_tag); 1753 // console.log("promo", promo_tag); 1754 // console.log("game_ishot", game_ishot_tag); 1755 // console.log("vendor_isnew", vendor_isnew_tag); 1756 1757 $(lobby_tag).each(function(index, element) { 1758 if (index === 0) { 1759 // Navbar Content 1760 class_name_tag = $(element).attr('class'); 1761 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1762 // on LI(navar) or DIV Content 1763 element_tag = $(element).prop('tagName'); 1764 if(vendor_isnew_tag == 1){ 1765 if( element_tag == 'LI'){ 1766 margin_promo = 20; 1767 }else{ 1768 margin_promo =10; 1769 } 1770 1771 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1772 } 1773 1774 if(promo_tag == 1){ 1775 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1776 } 1777 1778 if(game_ishot_tag == 1){ 1779 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
1779left:10px;top:0;z-index:10;width:35px"></div>`); 1780 } 1781 1782 } else if (index === 1) { 1783 // Lobby Content 1784 class_name_tag = $(element).attr('class'); 1785 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1786 1787 if(vendor_isnew_tag == 1){ 1788 margin_promo = 12; 1789 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1790 } 1791 1792 if(promo_tag == 1){ 1793 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1794 } 1795 1796 if(game_ishot_tag == 1){ 1797 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 1798 } 1799 } 1800 }); 1801 1802 1803 1804 lobby_tag = ".lb-18443" 1805 promo_tag = "0"; 1806 game_ishot_tag = "0"; 1807 vendor_isnew_tag = "0"; 1808 margin_promo = 0; 1809 // console.log(lobby_tag); 1810 // console.log("promo", promo_tag); 1811 // console.log("game_ishot", game_ishot_tag); 1812 // console.log("vendor_isnew", vendor_isnew_tag); 1813 1814 $(lobby_tag).each(function(index, element) { 1815 if (index === 0) { 1816 // Navbar Content 1817 class_name_tag = $(element).attr('class'); 1818 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1819 // on LI(navar) or DIV Content 1820 element_tag = $(element).prop('tagName'); 1821 if(vendor_isnew_tag == 1){ 1822 if( element_tag == 'LI'){ 1823 margin_promo = 20; 1824 }else{ 1825 margin_promo =10; 1826 } 1827 1828 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1829 } 1830 1831 if(promo_tag == 1){ 1832 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1833 } 1834 1835 if(game_ishot_tag == 1){ 1836 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 1837 } 1838 1839 } else if (index === 1) { 1840 // Lobby Content 1841 class_name_tag = $(element).attr('class'); 1842 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1843 1844 if(vendor_isnew_tag == 1){ 1845 margin_promo = 12; 1846 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1847 } 1848 1849 if(promo_tag == 1){ 1850 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1851 } 1852 1853 if(game_ishot_tag == 1){ 1854 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 1855 } 1856 } 1857 }); 1858 1859 1860 1861 lobby_tag = ".lb-10020" 1862 promo_tag = "1"; 1863 game_ishot_tag = "0"; 1864 vendor_isnew_tag = "0"; 1865 margin_promo = 0; 1866 // console.log(lobby_tag); 1867 // console.log("promo", promo_tag); 1868 // console.log("game_ishot", game_ishot_tag); 1869 // console.log("vendor_isnew", vendor_isnew_tag); 1870 1871 $(lobby_tag).each(function(index, element) { 1872 if (index === 0) { 1873 // Navbar Content 1874 class_name_tag = $(element).attr('class'); 1875 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1876 // on LI(navar) or DIV Content 1877 element_tag = $(element).prop('tagName'); 1878 if(vendor_isnew_tag == 1){ 1879 if( element_tag == 'LI'){ 1880 margin_promo = 20; 1881 }else{ 1882 margin_promo =10; 1883 } 1884 1885 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1886 } 1887 1888 if(promo_tag == 1){ 1889 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1890 } 1891 1892 if(game_ishot_tag == 1){ 1893 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
1893left:10px;top:0;z-index:10;width:35px"></div>`); 1894 } 1895 1896 } else if (index === 1) { 1897 // Lobby Content 1898 class_name_tag = $(element).attr('class'); 1899 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1900 1901 if(vendor_isnew_tag == 1){ 1902 margin_promo = 12; 1903 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1904 } 1905 1906 if(promo_tag == 1){ 1907 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1908 } 1909 1910 if(game_ishot_tag == 1){ 1911 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 1912 } 1913 } 1914 }); 1915 1916 1917 1918 lobby_tag = ".lb-11394" 1919 promo_tag = "0"; 1920 game_ishot_tag = "0"; 1921 vendor_isnew_tag = "0"; 1922 margin_promo = 0; 1923 // console.log(lobby_tag); 1924 // console.log("promo", promo_tag); 1925 // console.log("game_ishot", game_ishot_tag); 1926 // console.log("vendor_isnew", vendor_isnew_tag); 1927 1928 $(lobby_tag).each(function(index, element) { 1929 if (index === 0) { 1930 // Navbar Content 1931 class_name_tag = $(element).attr('class'); 1932 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1933 // on LI(navar) or DIV Content 1934 element_tag = $(element).prop('tagName'); 1935 if(vendor_isnew_tag == 1){ 1936 if( element_tag == 'LI'){ 1937 margin_promo = 20; 1938 }else{ 1939 margin_promo =10; 1940 } 1941 1942 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1943 } 1944 1945 if(promo_tag == 1){ 1946 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1947 } 1948 1949 if(game_ishot_tag == 1){ 1950 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 1951 } 1952 1953 } else if (index === 1) { 1954 // Lobby Content 1955 class_name_tag = $(element).attr('class'); 1956 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1957 1958 if(vendor_isnew_tag == 1){ 1959 margin_promo = 12; 1960 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 1961 } 1962 1963 if(promo_tag == 1){ 1964 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 1965 } 1966 1967 if(game_ishot_tag == 1){ 1968 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 1969 } 1970 } 1971 }); 1972 1973 1974 1975 lobby_tag = ".lb-29338" 1976 promo_tag = "0"; 1977 game_ishot_tag = "0"; 1978 vendor_isnew_tag = "0"; 1979 margin_promo = 0; 1980 // console.log(lobby_tag); 1981 // console.log("promo", promo_tag); 1982 // console.log("game_ishot", game_ishot_tag); 1983 // console.log("vendor_isnew", vendor_isnew_tag); 1984 1985 $(lobby_tag).each(function(index, element) { 1986 if (index === 0) { 1987 // Navbar Content 1988 class_name_tag = $(element).attr('class'); 1989 selector_tag = '.' + class_name_tag.split(' ').join('.'); 1990 // on LI(navar) or DIV Content 1991 element_tag = $(element).prop('tagName'); 1992 if(vendor_isnew_tag == 1){ 1993 if( element_tag == 'LI'){ 1994 margin_promo = 20; 1995 }else{ 1996 margin_promo =10; 1997 } 1998 1999 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2000 } 2001 2002 if(promo_tag == 1){ 2003 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2004 } 2005 2006 if(game_ishot_tag == 1){ 2007 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
2007left:10px;top:0;z-index:10;width:35px"></div>`); 2008 } 2009 2010 } else if (index === 1) { 2011 // Lobby Content 2012 class_name_tag = $(element).attr('class'); 2013 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2014 2015 if(vendor_isnew_tag == 1){ 2016 margin_promo = 12; 2017 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2018 } 2019 2020 if(promo_tag == 1){ 2021 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2022 } 2023 2024 if(game_ishot_tag == 1){ 2025 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2026 } 2027 } 2028 }); 2029 2030 2031 2032 lobby_tag = ".lb-17553" 2033 promo_tag = "0"; 2034 game_ishot_tag = "0"; 2035 vendor_isnew_tag = "0"; 2036 margin_promo = 0; 2037 // console.log(lobby_tag); 2038 // console.log("promo", promo_tag); 2039 // console.log("game_ishot", game_ishot_tag); 2040 // console.log("vendor_isnew", vendor_isnew_tag); 2041 2042 $(lobby_tag).each(function(index, element) { 2043 if (index === 0) { 2044 // Navbar Content 2045 class_name_tag = $(element).attr('class'); 2046 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2047 // on LI(navar) or DIV Content 2048 element_tag = $(element).prop('tagName'); 2049 if(vendor_isnew_tag == 1){ 2050 if( element_tag == 'LI'){ 2051 margin_promo = 20; 2052 }else{ 2053 margin_promo =10; 2054 } 2055 2056 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2057 } 2058 2059 if(promo_tag == 1){ 2060 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2061 } 2062 2063 if(game_ishot_tag == 1){ 2064 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 2065 } 2066 2067 } else if (index === 1) { 2068 // Lobby Content 2069 class_name_tag = $(element).attr('class'); 2070 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2071 2072 if(vendor_isnew_tag == 1){ 2073 margin_promo = 12; 2074 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2075 } 2076 2077 if(promo_tag == 1){ 2078 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2079 } 2080 2081 if(game_ishot_tag == 1){ 2082 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2083 } 2084 } 2085 }); 2086 2087 2088 2089 lobby_tag = ".lb-24264" 2090 promo_tag = "0"; 2091 game_ishot_tag = "0"; 2092 vendor_isnew_tag = "0"; 2093 margin_promo = 0; 2094 // console.log(lobby_tag); 2095 // console.log("promo", promo_tag); 2096 // console.log("game_ishot", game_ishot_tag); 2097 // console.log("vendor_isnew", vendor_isnew_tag); 2098 2099 $(lobby_tag).each(function(index, element) { 2100 if (index === 0) { 2101 // Navbar Content 2102 class_name_tag = $(element).attr('class'); 2103 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2104 // on LI(navar) or DIV Content 2105 element_tag = $(element).prop('tagName'); 2106 if(vendor_isnew_tag == 1){ 2107 if( element_tag == 'LI'){ 2108 margin_promo = 20; 2109 }else{ 2110 margin_promo =10; 2111 } 2112 2113 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2114 } 2115 2116 if(promo_tag == 1){ 2117 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2118 } 2119 2120 if(game_ishot_tag == 1){ 2121 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
2121left:10px;top:0;z-index:10;width:35px"></div>`); 2122 } 2123 2124 } else if (index === 1) { 2125 // Lobby Content 2126 class_name_tag = $(element).attr('class'); 2127 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2128 2129 if(vendor_isnew_tag == 1){ 2130 margin_promo = 12; 2131 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2132 } 2133 2134 if(promo_tag == 1){ 2135 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2136 } 2137 2138 if(game_ishot_tag == 1){ 2139 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2140 } 2141 } 2142 }); 2143 2144 2145 2146 lobby_tag = ".lb-24712" 2147 promo_tag = "0"; 2148 game_ishot_tag = "0"; 2149 vendor_isnew_tag = "0"; 2150 margin_promo = 0; 2151 // console.log(lobby_tag); 2152 // console.log("promo", promo_tag); 2153 // console.log("game_ishot", game_ishot_tag); 2154 // console.log("vendor_isnew", vendor_isnew_tag); 2155 2156 $(lobby_tag).each(function(index, element) { 2157 if (index === 0) { 2158 // Navbar Content 2159 class_name_tag = $(element).attr('class'); 2160 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2161 // on LI(navar) or DIV Content 2162 element_tag = $(element).prop('tagName'); 2163 if(vendor_isnew_tag == 1){ 2164 if( element_tag == 'LI'){ 2165 margin_promo = 20; 2166 }else{ 2167 margin_promo =10; 2168 } 2169 2170 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2171 } 2172 2173 if(promo_tag == 1){ 2174 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2175 } 2176 2177 if(game_ishot_tag == 1){ 2178 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 2179 } 2180 2181 } else if (index === 1) { 2182 // Lobby Content 2183 class_name_tag = $(element).attr('class'); 2184 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2185 2186 if(vendor_isnew_tag == 1){ 2187 margin_promo = 12; 2188 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2189 } 2190 2191 if(promo_tag == 1){ 2192 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2193 } 2194 2195 if(game_ishot_tag == 1){ 2196 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2197 } 2198 } 2199 }); 2200 2201 2202 2203 lobby_tag = ".lb-15253" 2204 promo_tag = "0"; 2205 game_ishot_tag = "0"; 2206 vendor_isnew_tag = "0"; 2207 margin_promo = 0; 2208 // console.log(lobby_tag); 2209 // console.log("promo", promo_tag); 2210 // console.log("game_ishot", game_ishot_tag); 2211 // console.log("vendor_isnew", vendor_isnew_tag); 2212 2213 $(lobby_tag).each(function(index, element) { 2214 if (index === 0) { 2215 // Navbar Content 2216 class_name_tag = $(element).attr('class'); 2217 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2218 // on LI(navar) or DIV Content 2219 element_tag = $(element).prop('tagName'); 2220 if(vendor_isnew_tag == 1){ 2221 if( element_tag == 'LI'){ 2222 margin_promo = 20; 2223 }else{ 2224 margin_promo =10; 2225 } 2226 2227 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2228 } 2229 2230 if(promo_tag == 1){ 2231 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2232 } 2233 2234 if(game_ishot_tag == 1){ 2235 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
2235left:10px;top:0;z-index:10;width:35px"></div>`); 2236 } 2237 2238 } else if (index === 1) { 2239 // Lobby Content 2240 class_name_tag = $(element).attr('class'); 2241 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2242 2243 if(vendor_isnew_tag == 1){ 2244 margin_promo = 12; 2245 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2246 } 2247 2248 if(promo_tag == 1){ 2249 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2250 } 2251 2252 if(game_ishot_tag == 1){ 2253 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2254 } 2255 } 2256 }); 2257 2258 2259 2260 lobby_tag = ".lb-23923" 2261 promo_tag = "0"; 2262 game_ishot_tag = "0"; 2263 vendor_isnew_tag = "0"; 2264 margin_promo = 0; 2265 // console.log(lobby_tag); 2266 // console.log("promo", promo_tag); 2267 // console.log("game_ishot", game_ishot_tag); 2268 // console.log("vendor_isnew", vendor_isnew_tag); 2269 2270 $(lobby_tag).each(function(index, element) { 2271 if (index === 0) { 2272 // Navbar Content 2273 class_name_tag = $(element).attr('class'); 2274 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2275 // on LI(navar) or DIV Content 2276 element_tag = $(element).prop('tagName'); 2277 if(vendor_isnew_tag == 1){ 2278 if( element_tag == 'LI'){ 2279 margin_promo = 20; 2280 }else{ 2281 margin_promo =10; 2282 } 2283 2284 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2285 } 2286 2287 if(promo_tag == 1){ 2288 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2289 } 2290 2291 if(game_ishot_tag == 1){ 2292 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 2293 } 2294 2295 } else if (index === 1) { 2296 // Lobby Content 2297 class_name_tag = $(element).attr('class'); 2298 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2299 2300 if(vendor_isnew_tag == 1){ 2301 margin_promo = 12; 2302 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2303 } 2304 2305 if(promo_tag == 1){ 2306 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2307 } 2308 2309 if(game_ishot_tag == 1){ 2310 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2311 } 2312 } 2313 }); 2314 2315 2316 2317 lobby_tag = ".lb-21282" 2318 promo_tag = "0"; 2319 game_ishot_tag = "0"; 2320 vendor_isnew_tag = "0"; 2321 margin_promo = 0; 2322 // console.log(lobby_tag); 2323 // console.log("promo", promo_tag); 2324 // console.log("game_ishot", game_ishot_tag); 2325 // console.log("vendor_isnew", vendor_isnew_tag); 2326 2327 $(lobby_tag).each(function(index, element) { 2328 if (index === 0) { 2329 // Navbar Content 2330 class_name_tag = $(element).attr('class'); 2331 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2332 // on LI(navar) or DIV Content 2333 element_tag = $(element).prop('tagName'); 2334 if(vendor_isnew_tag == 1){ 2335 if( element_tag == 'LI'){ 2336 margin_promo = 20; 2337 }else{ 2338 margin_promo =10; 2339 } 2340 2341 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2342 } 2343 2344 if(promo_tag == 1){ 2345 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2346 } 2347 2348 if(game_ishot_tag == 1){ 2349 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
2349left:10px;top:0;z-index:10;width:35px"></div>`); 2350 } 2351 2352 } else if (index === 1) { 2353 // Lobby Content 2354 class_name_tag = $(element).attr('class'); 2355 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2356 2357 if(vendor_isnew_tag == 1){ 2358 margin_promo = 12; 2359 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2360 } 2361 2362 if(promo_tag == 1){ 2363 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2364 } 2365 2366 if(game_ishot_tag == 1){ 2367 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2368 } 2369 } 2370 }); 2371 2372 2373 2374 lobby_tag = ".lb-17528" 2375 promo_tag = "0"; 2376 game_ishot_tag = "0"; 2377 vendor_isnew_tag = "0"; 2378 margin_promo = 0; 2379 // console.log(lobby_tag); 2380 // console.log("promo", promo_tag); 2381 // console.log("game_ishot", game_ishot_tag); 2382 // console.log("vendor_isnew", vendor_isnew_tag); 2383 2384 $(lobby_tag).each(function(index, element) { 2385 if (index === 0) { 2386 // Navbar Content 2387 class_name_tag = $(element).attr('class'); 2388 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2389 // on LI(navar) or DIV Content 2390 element_tag = $(element).prop('tagName'); 2391 if(vendor_isnew_tag == 1){ 2392 if( element_tag == 'LI'){ 2393 margin_promo = 20; 2394 }else{ 2395 margin_promo =10; 2396 } 2397 2398 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2399 } 2400 2401 if(promo_tag == 1){ 2402 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2403 } 2404 2405 if(game_ishot_tag == 1){ 2406 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 2407 } 2408 2409 } else if (index === 1) { 2410 // Lobby Content 2411 class_name_tag = $(element).attr('class'); 2412 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2413 2414 if(vendor_isnew_tag == 1){ 2415 margin_promo = 12; 2416 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2417 } 2418 2419 if(promo_tag == 1){ 2420 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2421 } 2422 2423 if(game_ishot_tag == 1){ 2424 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2425 } 2426 } 2427 }); 2428 2429 2430 2431 lobby_tag = ".lb-17769" 2432 promo_tag = "0"; 2433 game_ishot_tag = "0"; 2434 vendor_isnew_tag = "0"; 2435 margin_promo = 0; 2436 // console.log(lobby_tag); 2437 // console.log("promo", promo_tag); 2438 // console.log("game_ishot", game_ishot_tag); 2439 // console.log("vendor_isnew", vendor_isnew_tag); 2440 2441 $(lobby_tag).each(function(index, element) { 2442 if (index === 0) { 2443 // Navbar Content 2444 class_name_tag = $(element).attr('class'); 2445 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2446 // on LI(navar) or DIV Content 2447 element_tag = $(element).prop('tagName'); 2448 if(vendor_isnew_tag == 1){ 2449 if( element_tag == 'LI'){ 2450 margin_promo = 20; 2451 }else{ 2452 margin_promo =10; 2453 } 2454 2455 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2456 } 2457 2458 if(promo_tag == 1){ 2459 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2460 } 2461 2462 if(game_ishot_tag == 1){ 2463 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
2463left:10px;top:0;z-index:10;width:35px"></div>`); 2464 } 2465 2466 } else if (index === 1) { 2467 // Lobby Content 2468 class_name_tag = $(element).attr('class'); 2469 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2470 2471 if(vendor_isnew_tag == 1){ 2472 margin_promo = 12; 2473 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2474 } 2475 2476 if(promo_tag == 1){ 2477 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2478 } 2479 2480 if(game_ishot_tag == 1){ 2481 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2482 } 2483 } 2484 }); 2485 2486 2487 2488 lobby_tag = ".lb-12201" 2489 promo_tag = "0"; 2490 game_ishot_tag = "0"; 2491 vendor_isnew_tag = "0"; 2492 margin_promo = 0; 2493 // console.log(lobby_tag); 2494 // console.log("promo", promo_tag); 2495 // console.log("game_ishot", game_ishot_tag); 2496 // console.log("vendor_isnew", vendor_isnew_tag); 2497 2498 $(lobby_tag).each(function(index, element) { 2499 if (index === 0) { 2500 // Navbar Content 2501 class_name_tag = $(element).attr('class'); 2502 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2503 // on LI(navar) or DIV Content 2504 element_tag = $(element).prop('tagName'); 2505 if(vendor_isnew_tag == 1){ 2506 if( element_tag == 'LI'){ 2507 margin_promo = 20; 2508 }else{ 2509 margin_promo =10; 2510 } 2511 2512 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2513 } 2514 2515 if(promo_tag == 1){ 2516 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2517 } 2518 2519 if(game_ishot_tag == 1){ 2520 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 2521 } 2522 2523 } else if (index === 1) { 2524 // Lobby Content 2525 class_name_tag = $(element).attr('class'); 2526 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2527 2528 if(vendor_isnew_tag == 1){ 2529 margin_promo = 12; 2530 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2531 } 2532 2533 if(promo_tag == 1){ 2534 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2535 } 2536 2537 if(game_ishot_tag == 1){ 2538 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2539 } 2540 } 2541 }); 2542 2543 2544 2545 lobby_tag = ".lb-22085" 2546 promo_tag = "0"; 2547 game_ishot_tag = "0"; 2548 vendor_isnew_tag = "0"; 2549 margin_promo = 0; 2550 // console.log(lobby_tag); 2551 // console.log("promo", promo_tag); 2552 // console.log("game_ishot", game_ishot_tag); 2553 // console.log("vendor_isnew", vendor_isnew_tag); 2554 2555 $(lobby_tag).each(function(index, element) { 2556 if (index === 0) { 2557 // Navbar Content 2558 class_name_tag = $(element).attr('class'); 2559 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2560 // on LI(navar) or DIV Content 2561 element_tag = $(element).prop('tagName'); 2562 if(vendor_isnew_tag == 1){ 2563 if( element_tag == 'LI'){ 2564 margin_promo = 20; 2565 }else{ 2566 margin_promo =10; 2567 } 2568 2569 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2570 } 2571 2572 if(promo_tag == 1){ 2573 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2574 } 2575 2576 if(game_ishot_tag == 1){ 2577 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
2577left:10px;top:0;z-index:10;width:35px"></div>`); 2578 } 2579 2580 } else if (index === 1) { 2581 // Lobby Content 2582 class_name_tag = $(element).attr('class'); 2583 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2584 2585 if(vendor_isnew_tag == 1){ 2586 margin_promo = 12; 2587 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2588 } 2589 2590 if(promo_tag == 1){ 2591 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2592 } 2593 2594 if(game_ishot_tag == 1){ 2595 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2596 } 2597 } 2598 }); 2599 2600 2601 2602 lobby_tag = ".lb-15603" 2603 promo_tag = "0"; 2604 game_ishot_tag = "0"; 2605 vendor_isnew_tag = "0"; 2606 margin_promo = 0; 2607 // console.log(lobby_tag); 2608 // console.log("promo", promo_tag); 2609 // console.log("game_ishot", game_ishot_tag); 2610 // console.log("vendor_isnew", vendor_isnew_tag); 2611 2612 $(lobby_tag).each(function(index, element) { 2613 if (index === 0) { 2614 // Navbar Content 2615 class_name_tag = $(element).attr('class'); 2616 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2617 // on LI(navar) or DIV Content 2618 element_tag = $(element).prop('tagName'); 2619 if(vendor_isnew_tag == 1){ 2620 if( element_tag == 'LI'){ 2621 margin_promo = 20; 2622 }else{ 2623 margin_promo =10; 2624 } 2625 2626 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2627 } 2628 2629 if(promo_tag == 1){ 2630 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2631 } 2632 2633 if(game_ishot_tag == 1){ 2634 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 2635 } 2636 2637 } else if (index === 1) { 2638 // Lobby Content 2639 class_name_tag = $(element).attr('class'); 2640 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2641 2642 if(vendor_isnew_tag == 1){ 2643 margin_promo = 12; 2644 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2645 } 2646 2647 if(promo_tag == 1){ 2648 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2649 } 2650 2651 if(game_ishot_tag == 1){ 2652 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2653 } 2654 } 2655 }); 2656 2657 2658 2659 lobby_tag = ".lb-25838" 2660 promo_tag = "0"; 2661 game_ishot_tag = "0"; 2662 vendor_isnew_tag = "0"; 2663 margin_promo = 0; 2664 // console.log(lobby_tag); 2665 // console.log("promo", promo_tag); 2666 // console.log("game_ishot", game_ishot_tag); 2667 // console.log("vendor_isnew", vendor_isnew_tag); 2668 2669 $(lobby_tag).each(function(index, element) { 2670 if (index === 0) { 2671 // Navbar Content 2672 class_name_tag = $(element).attr('class'); 2673 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2674 // on LI(navar) or DIV Content 2675 element_tag = $(element).prop('tagName'); 2676 if(vendor_isnew_tag == 1){ 2677 if( element_tag == 'LI'){ 2678 margin_promo = 20; 2679 }else{ 2680 margin_promo =10; 2681 } 2682 2683 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2684 } 2685 2686 if(promo_tag == 1){ 2687 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2688 } 2689 2690 if(game_ishot_tag == 1){ 2691 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
2691left:10px;top:0;z-index:10;width:35px"></div>`); 2692 } 2693 2694 } else if (index === 1) { 2695 // Lobby Content 2696 class_name_tag = $(element).attr('class'); 2697 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2698 2699 if(vendor_isnew_tag == 1){ 2700 margin_promo = 12; 2701 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2702 } 2703 2704 if(promo_tag == 1){ 2705 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2706 } 2707 2708 if(game_ishot_tag == 1){ 2709 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2710 } 2711 } 2712 }); 2713 2714 2715 2716 lobby_tag = ".lb-12200" 2717 promo_tag = "0"; 2718 game_ishot_tag = "0"; 2719 vendor_isnew_tag = "0"; 2720 margin_promo = 0; 2721 // console.log(lobby_tag); 2722 // console.log("promo", promo_tag); 2723 // console.log("game_ishot", game_ishot_tag); 2724 // console.log("vendor_isnew", vendor_isnew_tag); 2725 2726 $(lobby_tag).each(function(index, element) { 2727 if (index === 0) { 2728 // Navbar Content 2729 class_name_tag = $(element).attr('class'); 2730 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2731 // on LI(navar) or DIV Content 2732 element_tag = $(element).prop('tagName'); 2733 if(vendor_isnew_tag == 1){ 2734 if( element_tag == 'LI'){ 2735 margin_promo = 20; 2736 }else{ 2737 margin_promo =10; 2738 } 2739 2740 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2741 } 2742 2743 if(promo_tag == 1){ 2744 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2745 } 2746 2747 if(game_ishot_tag == 1){ 2748 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 2749 } 2750 2751 } else if (index === 1) { 2752 // Lobby Content 2753 class_name_tag = $(element).attr('class'); 2754 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2755 2756 if(vendor_isnew_tag == 1){ 2757 margin_promo = 12; 2758 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2759 } 2760 2761 if(promo_tag == 1){ 2762 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2763 } 2764 2765 if(game_ishot_tag == 1){ 2766 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2767 } 2768 } 2769 }); 2770 2771 2772 2773 lobby_tag = ".lb-25444" 2774 promo_tag = "0"; 2775 game_ishot_tag = "0"; 2776 vendor_isnew_tag = "0"; 2777 margin_promo = 0; 2778 // console.log(lobby_tag); 2779 // console.log("promo", promo_tag); 2780 // console.log("game_ishot", game_ishot_tag); 2781 // console.log("vendor_isnew", vendor_isnew_tag); 2782 2783 $(lobby_tag).each(function(index, element) { 2784 if (index === 0) { 2785 // Navbar Content 2786 class_name_tag = $(element).attr('class'); 2787 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2788 // on LI(navar) or DIV Content 2789 element_tag = $(element).prop('tagName'); 2790 if(vendor_isnew_tag == 1){ 2791 if( element_tag == 'LI'){ 2792 margin_promo = 20; 2793 }else{ 2794 margin_promo =10; 2795 } 2796 2797 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2798 } 2799 2800 if(promo_tag == 1){ 2801 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2802 } 2803 2804 if(game_ishot_tag == 1){ 2805 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
2805left:10px;top:0;z-index:10;width:35px"></div>`); 2806 } 2807 2808 } else if (index === 1) { 2809 // Lobby Content 2810 class_name_tag = $(element).attr('class'); 2811 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2812 2813 if(vendor_isnew_tag == 1){ 2814 margin_promo = 12; 2815 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2816 } 2817 2818 if(promo_tag == 1){ 2819 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2820 } 2821 2822 if(game_ishot_tag == 1){ 2823 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2824 } 2825 } 2826 }); 2827 2828 2829 2830 lobby_tag = ".lb-2676" 2831 promo_tag = "0"; 2832 game_ishot_tag = "0"; 2833 vendor_isnew_tag = "0"; 2834 margin_promo = 0; 2835 // console.log(lobby_tag); 2836 // console.log("promo", promo_tag); 2837 // console.log("game_ishot", game_ishot_tag); 2838 // console.log("vendor_isnew", vendor_isnew_tag); 2839 2840 $(lobby_tag).each(function(index, element) { 2841 if (index === 0) { 2842 // Navbar Content 2843 class_name_tag = $(element).attr('class'); 2844 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2845 // on LI(navar) or DIV Content 2846 element_tag = $(element).prop('tagName'); 2847 if(vendor_isnew_tag == 1){ 2848 if( element_tag == 'LI'){ 2849 margin_promo = 20; 2850 }else{ 2851 margin_promo =10; 2852 } 2853 2854 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2855 } 2856 2857 if(promo_tag == 1){ 2858 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2859 } 2860 2861 if(game_ishot_tag == 1){ 2862 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 2863 } 2864 2865 } else if (index === 1) { 2866 // Lobby Content 2867 class_name_tag = $(element).attr('class'); 2868 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2869 2870 if(vendor_isnew_tag == 1){ 2871 margin_promo = 12; 2872 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2873 } 2874 2875 if(promo_tag == 1){ 2876 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2877 } 2878 2879 if(game_ishot_tag == 1){ 2880 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2881 } 2882 } 2883 }); 2884 2885 2886 2887 lobby_tag = ".lb-19987" 2888 promo_tag = "0"; 2889 game_ishot_tag = "0"; 2890 vendor_isnew_tag = "0"; 2891 margin_promo = 0; 2892 // console.log(lobby_tag); 2893 // console.log("promo", promo_tag); 2894 // console.log("game_ishot", game_ishot_tag); 2895 // console.log("vendor_isnew", vendor_isnew_tag); 2896 2897 $(lobby_tag).each(function(index, element) { 2898 if (index === 0) { 2899 // Navbar Content 2900 class_name_tag = $(element).attr('class'); 2901 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2902 // on LI(navar) or DIV Content 2903 element_tag = $(element).prop('tagName'); 2904 if(vendor_isnew_tag == 1){ 2905 if( element_tag == 'LI'){ 2906 margin_promo = 20; 2907 }else{ 2908 margin_promo =10; 2909 } 2910 2911 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2912 } 2913 2914 if(promo_tag == 1){ 2915 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2916 } 2917 2918 if(game_ishot_tag == 1){ 2919 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
2919left:10px;top:0;z-index:10;width:35px"></div>`); 2920 } 2921 2922 } else if (index === 1) { 2923 // Lobby Content 2924 class_name_tag = $(element).attr('class'); 2925 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2926 2927 if(vendor_isnew_tag == 1){ 2928 margin_promo = 12; 2929 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2930 } 2931 2932 if(promo_tag == 1){ 2933 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2934 } 2935 2936 if(game_ishot_tag == 1){ 2937 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2938 } 2939 } 2940 }); 2941 2942 2943 2944 lobby_tag = ".lb-20076" 2945 promo_tag = "0"; 2946 game_ishot_tag = "0"; 2947 vendor_isnew_tag = "0"; 2948 margin_promo = 0; 2949 // console.log(lobby_tag); 2950 // console.log("promo", promo_tag); 2951 // console.log("game_ishot", game_ishot_tag); 2952 // console.log("vendor_isnew", vendor_isnew_tag); 2953 2954 $(lobby_tag).each(function(index, element) { 2955 if (index === 0) { 2956 // Navbar Content 2957 class_name_tag = $(element).attr('class'); 2958 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2959 // on LI(navar) or DIV Content 2960 element_tag = $(element).prop('tagName'); 2961 if(vendor_isnew_tag == 1){ 2962 if( element_tag == 'LI'){ 2963 margin_promo = 20; 2964 }else{ 2965 margin_promo =10; 2966 } 2967 2968 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2969 } 2970 2971 if(promo_tag == 1){ 2972 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2973 } 2974 2975 if(game_ishot_tag == 1){ 2976 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 2977 } 2978 2979 } else if (index === 1) { 2980 // Lobby Content 2981 class_name_tag = $(element).attr('class'); 2982 selector_tag = '.' + class_name_tag.split(' ').join('.'); 2983 2984 if(vendor_isnew_tag == 1){ 2985 margin_promo = 12; 2986 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 2987 } 2988 2989 if(promo_tag == 1){ 2990 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 2991 } 2992 2993 if(game_ishot_tag == 1){ 2994 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 2995 } 2996 } 2997 }); 2998 2999 3000 3001 lobby_tag = ".lb-14601" 3002 promo_tag = "0"; 3003 game_ishot_tag = "0"; 3004 vendor_isnew_tag = "0"; 3005 margin_promo = 0; 3006 // console.log(lobby_tag); 3007 // console.log("promo", promo_tag); 3008 // console.log("game_ishot", game_ishot_tag); 3009 // console.log("vendor_isnew", vendor_isnew_tag); 3010 3011 $(lobby_tag).each(function(index, element) { 3012 if (index === 0) { 3013 // Navbar Content 3014 class_name_tag = $(element).attr('class'); 3015 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3016 // on LI(navar) or DIV Content 3017 element_tag = $(element).prop('tagName'); 3018 if(vendor_isnew_tag == 1){ 3019 if( element_tag == 'LI'){ 3020 margin_promo = 20; 3021 }else{ 3022 margin_promo =10; 3023 } 3024 3025 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3026 } 3027 3028 if(promo_tag == 1){ 3029 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3030 } 3031 3032 if(game_ishot_tag == 1){ 3033 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
3033left:10px;top:0;z-index:10;width:35px"></div>`); 3034 } 3035 3036 } else if (index === 1) { 3037 // Lobby Content 3038 class_name_tag = $(element).attr('class'); 3039 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3040 3041 if(vendor_isnew_tag == 1){ 3042 margin_promo = 12; 3043 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3044 } 3045 3046 if(promo_tag == 1){ 3047 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3048 } 3049 3050 if(game_ishot_tag == 1){ 3051 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3052 } 3053 } 3054 }); 3055 3056 3057 3058 lobby_tag = ".lb-2864" 3059 promo_tag = "0"; 3060 game_ishot_tag = "0"; 3061 vendor_isnew_tag = "0"; 3062 margin_promo = 0; 3063 // console.log(lobby_tag); 3064 // console.log("promo", promo_tag); 3065 // console.log("game_ishot", game_ishot_tag); 3066 // console.log("vendor_isnew", vendor_isnew_tag); 3067 3068 $(lobby_tag).each(function(index, element) { 3069 if (index === 0) { 3070 // Navbar Content 3071 class_name_tag = $(element).attr('class'); 3072 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3073 // on LI(navar) or DIV Content 3074 element_tag = $(element).prop('tagName'); 3075 if(vendor_isnew_tag == 1){ 3076 if( element_tag == 'LI'){ 3077 margin_promo = 20; 3078 }else{ 3079 margin_promo =10; 3080 } 3081 3082 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3083 } 3084 3085 if(promo_tag == 1){ 3086 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3087 } 3088 3089 if(game_ishot_tag == 1){ 3090 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 3091 } 3092 3093 } else if (index === 1) { 3094 // Lobby Content 3095 class_name_tag = $(element).attr('class'); 3096 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3097 3098 if(vendor_isnew_tag == 1){ 3099 margin_promo = 12; 3100 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3101 } 3102 3103 if(promo_tag == 1){ 3104 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3105 } 3106 3107 if(game_ishot_tag == 1){ 3108 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3109 } 3110 } 3111 }); 3112 3113 3114 3115 lobby_tag = ".lb-16463" 3116 promo_tag = "0"; 3117 game_ishot_tag = "0"; 3118 vendor_isnew_tag = "0"; 3119 margin_promo = 0; 3120 // console.log(lobby_tag); 3121 // console.log("promo", promo_tag); 3122 // console.log("game_ishot", game_ishot_tag); 3123 // console.log("vendor_isnew", vendor_isnew_tag); 3124 3125 $(lobby_tag).each(function(index, element) { 3126 if (index === 0) { 3127 // Navbar Content 3128 class_name_tag = $(element).attr('class'); 3129 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3130 // on LI(navar) or DIV Content 3131 element_tag = $(element).prop('tagName'); 3132 if(vendor_isnew_tag == 1){ 3133 if( element_tag == 'LI'){ 3134 margin_promo = 20; 3135 }else{ 3136 margin_promo =10; 3137 } 3138 3139 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3140 } 3141 3142 if(promo_tag == 1){ 3143 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3144 } 3145 3146 if(game_ishot_tag == 1){ 3147 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
3147left:10px;top:0;z-index:10;width:35px"></div>`); 3148 } 3149 3150 } else if (index === 1) { 3151 // Lobby Content 3152 class_name_tag = $(element).attr('class'); 3153 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3154 3155 if(vendor_isnew_tag == 1){ 3156 margin_promo = 12; 3157 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3158 } 3159 3160 if(promo_tag == 1){ 3161 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3162 } 3163 3164 if(game_ishot_tag == 1){ 3165 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3166 } 3167 } 3168 }); 3169 3170 3171 3172 lobby_tag = ".lb-19230" 3173 promo_tag = "0"; 3174 game_ishot_tag = "0"; 3175 vendor_isnew_tag = "0"; 3176 margin_promo = 0; 3177 // console.log(lobby_tag); 3178 // console.log("promo", promo_tag); 3179 // console.log("game_ishot", game_ishot_tag); 3180 // console.log("vendor_isnew", vendor_isnew_tag); 3181 3182 $(lobby_tag).each(function(index, element) { 3183 if (index === 0) { 3184 // Navbar Content 3185 class_name_tag = $(element).attr('class'); 3186 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3187 // on LI(navar) or DIV Content 3188 element_tag = $(element).prop('tagName'); 3189 if(vendor_isnew_tag == 1){ 3190 if( element_tag == 'LI'){ 3191 margin_promo = 20; 3192 }else{ 3193 margin_promo =10; 3194 } 3195 3196 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3197 } 3198 3199 if(promo_tag == 1){ 3200 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3201 } 3202 3203 if(game_ishot_tag == 1){ 3204 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 3205 } 3206 3207 } else if (index === 1) { 3208 // Lobby Content 3209 class_name_tag = $(element).attr('class'); 3210 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3211 3212 if(vendor_isnew_tag == 1){ 3213 margin_promo = 12; 3214 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3215 } 3216 3217 if(promo_tag == 1){ 3218 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3219 } 3220 3221 if(game_ishot_tag == 1){ 3222 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3223 } 3224 } 3225 }); 3226 3227 3228 3229 lobby_tag = ".lb-18062" 3230 promo_tag = "0"; 3231 game_ishot_tag = "0"; 3232 vendor_isnew_tag = "0"; 3233 margin_promo = 0; 3234 // console.log(lobby_tag); 3235 // console.log("promo", promo_tag); 3236 // console.log("game_ishot", game_ishot_tag); 3237 // console.log("vendor_isnew", vendor_isnew_tag); 3238 3239 $(lobby_tag).each(function(index, element) { 3240 if (index === 0) { 3241 // Navbar Content 3242 class_name_tag = $(element).attr('class'); 3243 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3244 // on LI(navar) or DIV Content 3245 element_tag = $(element).prop('tagName'); 3246 if(vendor_isnew_tag == 1){ 3247 if( element_tag == 'LI'){ 3248 margin_promo = 20; 3249 }else{ 3250 margin_promo =10; 3251 } 3252 3253 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3254 } 3255 3256 if(promo_tag == 1){ 3257 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3258 } 3259 3260 if(game_ishot_tag == 1){ 3261 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
3261left:10px;top:0;z-index:10;width:35px"></div>`); 3262 } 3263 3264 } else if (index === 1) { 3265 // Lobby Content 3266 class_name_tag = $(element).attr('class'); 3267 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3268 3269 if(vendor_isnew_tag == 1){ 3270 margin_promo = 12; 3271 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3272 } 3273 3274 if(promo_tag == 1){ 3275 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3276 } 3277 3278 if(game_ishot_tag == 1){ 3279 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3280 } 3281 } 3282 }); 3283 3284 3285 3286 lobby_tag = ".lb-21547" 3287 promo_tag = "0"; 3288 game_ishot_tag = "0"; 3289 vendor_isnew_tag = "0"; 3290 margin_promo = 0; 3291 // console.log(lobby_tag); 3292 // console.log("promo", promo_tag); 3293 // console.log("game_ishot", game_ishot_tag); 3294 // console.log("vendor_isnew", vendor_isnew_tag); 3295 3296 $(lobby_tag).each(function(index, element) { 3297 if (index === 0) { 3298 // Navbar Content 3299 class_name_tag = $(element).attr('class'); 3300 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3301 // on LI(navar) or DIV Content 3302 element_tag = $(element).prop('tagName'); 3303 if(vendor_isnew_tag == 1){ 3304 if( element_tag == 'LI'){ 3305 margin_promo = 20; 3306 }else{ 3307 margin_promo =10; 3308 } 3309 3310 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3311 } 3312 3313 if(promo_tag == 1){ 3314 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3315 } 3316 3317 if(game_ishot_tag == 1){ 3318 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 3319 } 3320 3321 } else if (index === 1) { 3322 // Lobby Content 3323 class_name_tag = $(element).attr('class'); 3324 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3325 3326 if(vendor_isnew_tag == 1){ 3327 margin_promo = 12; 3328 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3329 } 3330 3331 if(promo_tag == 1){ 3332 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3333 } 3334 3335 if(game_ishot_tag == 1){ 3336 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3337 } 3338 } 3339 }); 3340 3341 3342
3343 lobby_tag = ".lb-20734" 3344 promo_tag = "0"; 3345 game_ishot_tag = "0"; 3346 vendor_isnew_tag = "0"; 3347 margin_promo = 0; 3348 // console.log(lobby_tag); 3349 // console.log("promo", promo_tag); 3350 // console.log("game_ishot", game_ishot_tag); 3351 // console.log("vendor_isnew", vendor_isnew_tag); 3352 3353 $(lobby_tag).each(function(index, element) { 3354 if (index === 0) { 3355 // Navbar Content 3356 class_name_tag = $(element).attr('class'); 3357 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3358 // on LI(navar) or DIV Content 3359 element_tag = $(element).prop('tagName'); 3360 if(vendor_isnew_tag == 1){ 3361 if( element_tag == 'LI'){ 3362 margin_promo = 20; 3363 }else{ 3364 margin_promo =10; 3365 } 3366 3367 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3368 } 3369 3370 if(promo_tag == 1){ 3371 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3372 } 3373 3374 if(game_ishot_tag == 1){ 3375 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 3376 } 3377 3378 } else if (index === 1) { 3379 // Lobby Content 3380 class_name_tag = $(element).attr('class'); 3381 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3382 3383 if(vendor_isnew_tag == 1){ 3384 margin_promo = 12; 3385 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3386 } 3387 3388 if(promo_tag == 1){ 3389 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3390 } 3391 3392 if(game_ishot_tag == 1){ 3393 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3394 } 3395 } 3396 }); 3397 3398 3399 3400 lobby_tag = ".lb-2233" 3401 promo_tag = "0"; 3402 game_ishot_tag = "0"; 3403 vendor_isnew_tag = "0"; 3404 margin_promo = 0; 3405 // console.log(lobby_tag); 3406 // console.log("promo", promo_tag); 3407 // console.log("game_ishot", game_ishot_tag); 3408 // console.log("vendor_isnew", vendor_isnew_tag); 3409 3410 $(lobby_tag).each(function(index, element) { 3411 if (index === 0) { 3412 // Navbar Content 3413 class_name_tag = $(element).attr('class'); 3414 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3415 // on LI(navar) or DIV Content 3416 element_tag = $(element).prop('tagName'); 3417 if(vendor_isnew_tag == 1){ 3418 if( element_tag == 'LI'){ 3419 margin_promo = 20; 3420 }else{ 3421 margin_promo =10; 3422 } 3423 3424 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3425 } 3426 3427 if(promo_tag == 1){ 3428 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3429 } 3430 3431 if(game_ishot_tag == 1){ 3432 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
3432left:10px;top:0;z-index:10;width:35px"></div>`); 3433 } 3434 3435 } else if (index === 1) { 3436 // Lobby Content 3437 class_name_tag = $(element).attr('class'); 3438 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3439 3440 if(vendor_isnew_tag == 1){ 3441 margin_promo = 12; 3442 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3443 } 3444 3445 if(promo_tag == 1){ 3446 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3447 } 3448 3449 if(game_ishot_tag == 1){ 3450 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3451 } 3452 } 3453 }); 3454 3455 3456 3457 lobby_tag = ".lb-18307" 3458 promo_tag = "0"; 3459 game_ishot_tag = "0"; 3460 vendor_isnew_tag = "0"; 3461 margin_promo = 0; 3462 // console.log(lobby_tag); 3463 // console.log("promo", promo_tag); 3464 // console.log("game_ishot", game_ishot_tag); 3465 // console.log("vendor_isnew", vendor_isnew_tag); 3466 3467 $(lobby_tag).each(function(index, element) { 3468 if (index === 0) { 3469 // Navbar Content 3470 class_name_tag = $(element).attr('class'); 3471 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3472 // on LI(navar) or DIV Content 3473 element_tag = $(element).prop('tagName'); 3474 if(vendor_isnew_tag == 1){ 3475 if( element_tag == 'LI'){ 3476 margin_promo = 20; 3477 }else{ 3478 margin_promo =10; 3479 } 3480 3481 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3482 } 3483 3484 if(promo_tag == 1){ 3485 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3486 } 3487 3488 if(game_ishot_tag == 1){ 3489 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 3490 } 3491 3492 } else if (index === 1) { 3493 // Lobby Content 3494 class_name_tag = $(element).attr('class'); 3495 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3496 3497 if(vendor_isnew_tag == 1){ 3498 margin_promo = 12; 3499 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3500 } 3501 3502 if(promo_tag == 1){ 3503 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3504 } 3505 3506 if(game_ishot_tag == 1){ 3507 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3508 } 3509 } 3510 }); 3511 3512 3513 3514 lobby_tag = ".lb-23759" 3515 promo_tag = "0"; 3516 game_ishot_tag = "0"; 3517 vendor_isnew_tag = "0"; 3518 margin_promo = 0; 3519 // console.log(lobby_tag); 3520 // console.log("promo", promo_tag); 3521 // console.log("game_ishot", game_ishot_tag); 3522 // console.log("vendor_isnew", vendor_isnew_tag); 3523 3524 $(lobby_tag).each(function(index, element) { 3525 if (index === 0) { 3526 // Navbar Content 3527 class_name_tag = $(element).attr('class'); 3528 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3529 // on LI(navar) or DIV Content 3530 element_tag = $(element).prop('tagName'); 3531 if(vendor_isnew_tag == 1){ 3532 if( element_tag == 'LI'){ 3533 margin_promo = 20; 3534 }else{ 3535 margin_promo =10; 3536 } 3537 3538 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3539 } 3540 3541 if(promo_tag == 1){ 3542 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3543 } 3544 3545 if(game_ishot_tag == 1){ 3546 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
3546left:10px;top:0;z-index:10;width:35px"></div>`); 3547 } 3548 3549 } else if (index === 1) { 3550 // Lobby Content 3551 class_name_tag = $(element).attr('class'); 3552 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3553 3554 if(vendor_isnew_tag == 1){ 3555 margin_promo = 12; 3556 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3557 } 3558 3559 if(promo_tag == 1){ 3560 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3561 } 3562 3563 if(game_ishot_tag == 1){ 3564 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3565 } 3566 } 3567 }); 3568 3569 3570 3571 lobby_tag = ".lb-16503" 3572 promo_tag = "0"; 3573 game_ishot_tag = "0"; 3574 vendor_isnew_tag = "0"; 3575 margin_promo = 0; 3576 // console.log(lobby_tag); 3577 // console.log("promo", promo_tag); 3578 // console.log("game_ishot", game_ishot_tag); 3579 // console.log("vendor_isnew", vendor_isnew_tag); 3580 3581 $(lobby_tag).each(function(index, element) { 3582 if (index === 0) { 3583 // Navbar Content 3584 class_name_tag = $(element).attr('class'); 3585 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3586 // on LI(navar) or DIV Content 3587 element_tag = $(element).prop('tagName'); 3588 if(vendor_isnew_tag == 1){ 3589 if( element_tag == 'LI'){ 3590 margin_promo = 20; 3591 }else{ 3592 margin_promo =10; 3593 } 3594 3595 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3596 } 3597 3598 if(promo_tag == 1){ 3599 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3600 } 3601 3602 if(game_ishot_tag == 1){ 3603 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 3604 } 3605 3606 } else if (index === 1) { 3607 // Lobby Content 3608 class_name_tag = $(element).attr('class'); 3609 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3610 3611 if(vendor_isnew_tag == 1){ 3612 margin_promo = 12; 3613 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3614 } 3615 3616 if(promo_tag == 1){ 3617 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3618 } 3619 3620 if(game_ishot_tag == 1){ 3621 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3622 } 3623 } 3624 }); 3625 3626 3627 3628 lobby_tag = ".lb-160" 3629 promo_tag = "1"; 3630 game_ishot_tag = "0"; 3631 vendor_isnew_tag = "0"; 3632 margin_promo = 0; 3633 // console.log(lobby_tag); 3634 // console.log("promo", promo_tag); 3635 // console.log("game_ishot", game_ishot_tag); 3636 // console.log("vendor_isnew", vendor_isnew_tag); 3637 3638 $(lobby_tag).each(function(index, element) { 3639 if (index === 0) { 3640 // Navbar Content 3641 class_name_tag = $(element).attr('class'); 3642 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3643 // on LI(navar) or DIV Content 3644 element_tag = $(element).prop('tagName'); 3645 if(vendor_isnew_tag == 1){ 3646 if( element_tag == 'LI'){ 3647 margin_promo = 20; 3648 }else{ 3649 margin_promo =10; 3650 } 3651 3652 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3653 } 3654 3655 if(promo_tag == 1){ 3656 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3657 } 3658 3659 if(game_ishot_tag == 1){ 3660 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
3660left:10px;top:0;z-index:10;width:35px"></div>`); 3661 } 3662 3663 } else if (index === 1) { 3664 // Lobby Content 3665 class_name_tag = $(element).attr('class'); 3666 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3667 3668 if(vendor_isnew_tag == 1){ 3669 margin_promo = 12; 3670 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3671 } 3672 3673 if(promo_tag == 1){ 3674 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3675 } 3676 3677 if(game_ishot_tag == 1){ 3678 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3679 } 3680 } 3681 }); 3682 3683 3684 3685 lobby_tag = ".lb-12199" 3686 promo_tag = "0"; 3687 game_ishot_tag = "0"; 3688 vendor_isnew_tag = "0"; 3689 margin_promo = 0; 3690 // console.log(lobby_tag); 3691 // console.log("promo", promo_tag); 3692 // console.log("game_ishot", game_ishot_tag); 3693 // console.log("vendor_isnew", vendor_isnew_tag); 3694 3695 $(lobby_tag).each(function(index, element) { 3696 if (index === 0) { 3697 // Navbar Content 3698 class_name_tag = $(element).attr('class'); 3699 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3700 // on LI(navar) or DIV Content 3701 element_tag = $(element).prop('tagName'); 3702 if(vendor_isnew_tag == 1){ 3703 if( element_tag == 'LI'){ 3704 margin_promo = 20; 3705 }else{ 3706 margin_promo =10; 3707 } 3708 3709 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3710 } 3711 3712 if(promo_tag == 1){ 3713 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3714 } 3715 3716 if(game_ishot_tag == 1){ 3717 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 3718 } 3719 3720 } else if (index === 1) { 3721 // Lobby Content 3722 class_name_tag = $(element).attr('class'); 3723 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3724 3725 if(vendor_isnew_tag == 1){ 3726 margin_promo = 12; 3727 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3728 } 3729 3730 if(promo_tag == 1){ 3731 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3732 } 3733 3734 if(game_ishot_tag == 1){ 3735 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3736 } 3737 } 3738 }); 3739 3740 3741 3742 lobby_tag = ".lb-2104" 3743 promo_tag = "0"; 3744 game_ishot_tag = "0"; 3745 vendor_isnew_tag = "0"; 3746 margin_promo = 0; 3747 // console.log(lobby_tag); 3748 // console.log("promo", promo_tag); 3749 // console.log("game_ishot", game_ishot_tag); 3750 // console.log("vendor_isnew", vendor_isnew_tag); 3751 3752 $(lobby_tag).each(function(index, element) { 3753 if (index === 0) { 3754 // Navbar Content 3755 class_name_tag = $(element).attr('class'); 3756 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3757 // on LI(navar) or DIV Content 3758 element_tag = $(element).prop('tagName'); 3759 if(vendor_isnew_tag == 1){ 3760 if( element_tag == 'LI'){ 3761 margin_promo = 20; 3762 }else{ 3763 margin_promo =10; 3764 } 3765 3766 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3767 } 3768 3769 if(promo_tag == 1){ 3770 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3771 } 3772 3773 if(game_ishot_tag == 1){ 3774 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
3774left:10px;top:0;z-index:10;width:35px"></div>`); 3775 } 3776 3777 } else if (index === 1) { 3778 // Lobby Content 3779 class_name_tag = $(element).attr('class'); 3780 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3781 3782 if(vendor_isnew_tag == 1){ 3783 margin_promo = 12; 3784 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3785 } 3786 3787 if(promo_tag == 1){ 3788 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3789 } 3790 3791 if(game_ishot_tag == 1){ 3792 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3793 } 3794 } 3795 }); 3796 3797 3798 3799 lobby_tag = ".lb-1102" 3800 promo_tag = "0"; 3801 game_ishot_tag = "0"; 3802 vendor_isnew_tag = "0"; 3803 margin_promo = 0; 3804 // console.log(lobby_tag); 3805 // console.log("promo", promo_tag); 3806 // console.log("game_ishot", game_ishot_tag); 3807 // console.log("vendor_isnew", vendor_isnew_tag); 3808 3809 $(lobby_tag).each(function(index, element) { 3810 if (index === 0) { 3811 // Navbar Content 3812 class_name_tag = $(element).attr('class'); 3813 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3814 // on LI(navar) or DIV Content 3815 element_tag = $(element).prop('tagName'); 3816 if(vendor_isnew_tag == 1){ 3817 if( element_tag == 'LI'){ 3818 margin_promo = 20; 3819 }else{ 3820 margin_promo =10; 3821 } 3822 3823 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3824 } 3825 3826 if(promo_tag == 1){ 3827 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3828 } 3829 3830 if(game_ishot_tag == 1){ 3831 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 3832 } 3833 3834 } else if (index === 1) { 3835 // Lobby Content 3836 class_name_tag = $(element).attr('class'); 3837 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3838 3839 if(vendor_isnew_tag == 1){ 3840 margin_promo = 12; 3841 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3842 } 3843 3844 if(promo_tag == 1){ 3845 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3846 } 3847 3848 if(game_ishot_tag == 1){ 3849 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3850 } 3851 } 3852 }); 3853 3854 3855 3856 lobby_tag = ".lb-23612" 3857 promo_tag = "0"; 3858 game_ishot_tag = "0"; 3859 vendor_isnew_tag = "0"; 3860 margin_promo = 0; 3861 // console.log(lobby_tag); 3862 // console.log("promo", promo_tag); 3863 // console.log("game_ishot", game_ishot_tag); 3864 // console.log("vendor_isnew", vendor_isnew_tag); 3865 3866 $(lobby_tag).each(function(index, element) { 3867 if (index === 0) { 3868 // Navbar Content 3869 class_name_tag = $(element).attr('class'); 3870 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3871 // on LI(navar) or DIV Content 3872 element_tag = $(element).prop('tagName'); 3873 if(vendor_isnew_tag == 1){ 3874 if( element_tag == 'LI'){ 3875 margin_promo = 20; 3876 }else{ 3877 margin_promo =10; 3878 } 3879 3880 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3881 } 3882 3883 if(promo_tag == 1){ 3884 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3885 } 3886 3887 if(game_ishot_tag == 1){ 3888 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
3888left:10px;top:0;z-index:10;width:35px"></div>`); 3889 } 3890 3891 } else if (index === 1) { 3892 // Lobby Content 3893 class_name_tag = $(element).attr('class'); 3894 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3895 3896 if(vendor_isnew_tag == 1){ 3897 margin_promo = 12; 3898 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3899 } 3900 3901 if(promo_tag == 1){ 3902 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3903 } 3904 3905 if(game_ishot_tag == 1){ 3906 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3907 } 3908 } 3909 }); 3910 3911 3912 3913 lobby_tag = ".lb-25239" 3914 promo_tag = "0"; 3915 game_ishot_tag = "0"; 3916 vendor_isnew_tag = "0"; 3917 margin_promo = 0; 3918 // console.log(lobby_tag); 3919 // console.log("promo", promo_tag); 3920 // console.log("game_ishot", game_ishot_tag); 3921 // console.log("vendor_isnew", vendor_isnew_tag); 3922 3923 $(lobby_tag).each(function(index, element) { 3924 if (index === 0) { 3925 // Navbar Content 3926 class_name_tag = $(element).attr('class'); 3927 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3928 // on LI(navar) or DIV Content 3929 element_tag = $(element).prop('tagName'); 3930 if(vendor_isnew_tag == 1){ 3931 if( element_tag == 'LI'){ 3932 margin_promo = 20; 3933 }else{ 3934 margin_promo =10; 3935 } 3936 3937 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3938 } 3939 3940 if(promo_tag == 1){ 3941 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3942 } 3943 3944 if(game_ishot_tag == 1){ 3945 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 3946 } 3947 3948 } else if (index === 1) { 3949 // Lobby Content 3950 class_name_tag = $(element).attr('class'); 3951 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3952 3953 if(vendor_isnew_tag == 1){ 3954 margin_promo = 12; 3955 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3956 } 3957 3958 if(promo_tag == 1){ 3959 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3960 } 3961 3962 if(game_ishot_tag == 1){ 3963 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 3964 } 3965 } 3966 }); 3967 3968 3969 3970 lobby_tag = ".lb-10415" 3971 promo_tag = "0"; 3972 game_ishot_tag = "0"; 3973 vendor_isnew_tag = "0"; 3974 margin_promo = 0; 3975 // console.log(lobby_tag); 3976 // console.log("promo", promo_tag); 3977 // console.log("game_ishot", game_ishot_tag); 3978 // console.log("vendor_isnew", vendor_isnew_tag); 3979 3980 $(lobby_tag).each(function(index, element) { 3981 if (index === 0) { 3982 // Navbar Content 3983 class_name_tag = $(element).attr('class'); 3984 selector_tag = '.' + class_name_tag.split(' ').join('.'); 3985 // on LI(navar) or DIV Content 3986 element_tag = $(element).prop('tagName'); 3987 if(vendor_isnew_tag == 1){ 3988 if( element_tag == 'LI'){ 3989 margin_promo = 20; 3990 }else{ 3991 margin_promo =10; 3992 } 3993 3994 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 3995 } 3996 3997 if(promo_tag == 1){ 3998 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 3999 } 4000 4001 if(game_ishot_tag == 1){ 4002 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
4002left:10px;top:0;z-index:10;width:35px"></div>`); 4003 } 4004 4005 } else if (index === 1) { 4006 // Lobby Content 4007 class_name_tag = $(element).attr('class'); 4008 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4009 4010 if(vendor_isnew_tag == 1){ 4011 margin_promo = 12; 4012 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4013 } 4014 4015 if(promo_tag == 1){ 4016 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4017 } 4018 4019 if(game_ishot_tag == 1){ 4020 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4021 } 4022 } 4023 }); 4024 4025 4026 4027 lobby_tag = ".lb-2687" 4028 promo_tag = "0"; 4029 game_ishot_tag = "0"; 4030 vendor_isnew_tag = "0"; 4031 margin_promo = 0; 4032 // console.log(lobby_tag); 4033 // console.log("promo", promo_tag); 4034 // console.log("game_ishot", game_ishot_tag); 4035 // console.log("vendor_isnew", vendor_isnew_tag); 4036 4037 $(lobby_tag).each(function(index, element) { 4038 if (index === 0) { 4039 // Navbar Content 4040 class_name_tag = $(element).attr('class'); 4041 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4042 // on LI(navar) or DIV Content 4043 element_tag = $(element).prop('tagName'); 4044 if(vendor_isnew_tag == 1){ 4045 if( element_tag == 'LI'){ 4046 margin_promo = 20; 4047 }else{ 4048 margin_promo =10; 4049 } 4050 4051 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4052 } 4053 4054 if(promo_tag == 1){ 4055 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4056 } 4057 4058 if(game_ishot_tag == 1){ 4059 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 4060 } 4061 4062 } else if (index === 1) { 4063 // Lobby Content 4064 class_name_tag = $(element).attr('class'); 4065 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4066 4067 if(vendor_isnew_tag == 1){ 4068 margin_promo = 12; 4069 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4070 } 4071 4072 if(promo_tag == 1){ 4073 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4074 } 4075 4076 if(game_ishot_tag == 1){ 4077 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4078 } 4079 } 4080 }); 4081 4082 4083 4084 lobby_tag = ".lb-19986" 4085 promo_tag = "0"; 4086 game_ishot_tag = "0"; 4087 vendor_isnew_tag = "0"; 4088 margin_promo = 0; 4089 // console.log(lobby_tag); 4090 // console.log("promo", promo_tag); 4091 // console.log("game_ishot", game_ishot_tag); 4092 // console.log("vendor_isnew", vendor_isnew_tag); 4093 4094 $(lobby_tag).each(function(index, element) { 4095 if (index === 0) { 4096 // Navbar Content 4097 class_name_tag = $(element).attr('class'); 4098 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4099 // on LI(navar) or DIV Content 4100 element_tag = $(element).prop('tagName'); 4101 if(vendor_isnew_tag == 1){ 4102 if( element_tag == 'LI'){ 4103 margin_promo = 20; 4104 }else{ 4105 margin_promo =10; 4106 } 4107 4108 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4109 } 4110 4111 if(promo_tag == 1){ 4112 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4113 } 4114 4115 if(game_ishot_tag == 1){ 4116 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
4116left:10px;top:0;z-index:10;width:35px"></div>`); 4117 } 4118 4119 } else if (index === 1) { 4120 // Lobby Content 4121 class_name_tag = $(element).attr('class'); 4122 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4123 4124 if(vendor_isnew_tag == 1){ 4125 margin_promo = 12; 4126 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4127 } 4128 4129 if(promo_tag == 1){ 4130 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4131 } 4132 4133 if(game_ishot_tag == 1){ 4134 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4135 } 4136 } 4137 }); 4138 4139 4140 4141 lobby_tag = ".lb-2101" 4142 promo_tag = "0"; 4143 game_ishot_tag = "0"; 4144 vendor_isnew_tag = "0"; 4145 margin_promo = 0; 4146 // console.log(lobby_tag); 4147 // console.log("promo", promo_tag); 4148 // console.log("game_ishot", game_ishot_tag); 4149 // console.log("vendor_isnew", vendor_isnew_tag); 4150 4151 $(lobby_tag).each(function(index, element) { 4152 if (index === 0) { 4153 // Navbar Content 4154 class_name_tag = $(element).attr('class'); 4155 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4156 // on LI(navar) or DIV Content 4157 element_tag = $(element).prop('tagName'); 4158 if(vendor_isnew_tag == 1){ 4159 if( element_tag == 'LI'){ 4160 margin_promo = 20; 4161 }else{ 4162 margin_promo =10; 4163 } 4164 4165 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4166 } 4167 4168 if(promo_tag == 1){ 4169 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4170 } 4171 4172 if(game_ishot_tag == 1){ 4173 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 4174 } 4175 4176 } else if (index === 1) { 4177 // Lobby Content 4178 class_name_tag = $(element).attr('class'); 4179 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4180 4181 if(vendor_isnew_tag == 1){ 4182 margin_promo = 12; 4183 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4184 } 4185 4186 if(promo_tag == 1){ 4187 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4188 } 4189 4190 if(game_ishot_tag == 1){ 4191 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4192 } 4193 } 4194 }); 4195 4196 4197 4198 lobby_tag = ".lb-14292" 4199 promo_tag = "0"; 4200 game_ishot_tag = "0"; 4201 vendor_isnew_tag = "0"; 4202 margin_promo = 0; 4203 // console.log(lobby_tag); 4204 // console.log("promo", promo_tag); 4205 // console.log("game_ishot", game_ishot_tag); 4206 // console.log("vendor_isnew", vendor_isnew_tag); 4207 4208 $(lobby_tag).each(function(index, element) { 4209 if (index === 0) { 4210 // Navbar Content 4211 class_name_tag = $(element).attr('class'); 4212 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4213 // on LI(navar) or DIV Content 4214 element_tag = $(element).prop('tagName'); 4215 if(vendor_isnew_tag == 1){ 4216 if( element_tag == 'LI'){ 4217 margin_promo = 20; 4218 }else{ 4219 margin_promo =10; 4220 } 4221 4222 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4223 } 4224 4225 if(promo_tag == 1){ 4226 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4227 } 4228 4229 if(game_ishot_tag == 1){ 4230 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
4230left:10px;top:0;z-index:10;width:35px"></div>`); 4231 } 4232 4233 } else if (index === 1) { 4234 // Lobby Content 4235 class_name_tag = $(element).attr('class'); 4236 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4237 4238 if(vendor_isnew_tag == 1){ 4239 margin_promo = 12; 4240 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4241 } 4242 4243 if(promo_tag == 1){ 4244 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4245 } 4246 4247 if(game_ishot_tag == 1){ 4248 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4249 } 4250 } 4251 }); 4252 4253 4254 4255 lobby_tag = ".lb-10425" 4256 promo_tag = "0"; 4257 game_ishot_tag = "0"; 4258 vendor_isnew_tag = "0"; 4259 margin_promo = 0; 4260 // console.log(lobby_tag); 4261 // console.log("promo", promo_tag); 4262 // console.log("game_ishot", game_ishot_tag); 4263 // console.log("vendor_isnew", vendor_isnew_tag); 4264 4265 $(lobby_tag).each(function(index, element) { 4266 if (index === 0) { 4267 // Navbar Content 4268 class_name_tag = $(element).attr('class'); 4269 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4270 // on LI(navar) or DIV Content 4271 element_tag = $(element).prop('tagName'); 4272 if(vendor_isnew_tag == 1){ 4273 if( element_tag == 'LI'){ 4274 margin_promo = 20; 4275 }else{ 4276 margin_promo =10; 4277 } 4278 4279 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4280 } 4281 4282 if(promo_tag == 1){ 4283 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4284 } 4285 4286 if(game_ishot_tag == 1){ 4287 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 4288 } 4289 4290 } else if (index === 1) { 4291 // Lobby Content 4292 class_name_tag = $(element).attr('class'); 4293 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4294 4295 if(vendor_isnew_tag == 1){ 4296 margin_promo = 12; 4297 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4298 } 4299 4300 if(promo_tag == 1){ 4301 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4302 } 4303 4304 if(game_ishot_tag == 1){ 4305 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4306 } 4307 } 4308 }); 4309 4310 4311 4312 lobby_tag = ".lb-19199" 4313 promo_tag = "0"; 4314 game_ishot_tag = "0"; 4315 vendor_isnew_tag = "0"; 4316 margin_promo = 0; 4317 // console.log(lobby_tag); 4318 // console.log("promo", promo_tag); 4319 // console.log("game_ishot", game_ishot_tag); 4320 // console.log("vendor_isnew", vendor_isnew_tag); 4321 4322 $(lobby_tag).each(function(index, element) { 4323 if (index === 0) { 4324 // Navbar Content 4325 class_name_tag = $(element).attr('class'); 4326 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4327 // on LI(navar) or DIV Content 4328 element_tag = $(element).prop('tagName'); 4329 if(vendor_isnew_tag == 1){ 4330 if( element_tag == 'LI'){ 4331 margin_promo = 20; 4332 }else{ 4333 margin_promo =10; 4334 } 4335 4336 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4337 } 4338 4339 if(promo_tag == 1){ 4340 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4341 } 4342 4343 if(game_ishot_tag == 1){ 4344 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
4344left:10px;top:0;z-index:10;width:35px"></div>`); 4345 } 4346 4347 } else if (index === 1) { 4348 // Lobby Content 4349 class_name_tag = $(element).attr('class'); 4350 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4351 4352 if(vendor_isnew_tag == 1){ 4353 margin_promo = 12; 4354 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4355 } 4356 4357 if(promo_tag == 1){ 4358 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4359 } 4360 4361 if(game_ishot_tag == 1){ 4362 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4363 } 4364 } 4365 }); 4366 4367 4368 4369 lobby_tag = ".lb-19567" 4370 promo_tag = "0"; 4371 game_ishot_tag = "0"; 4372 vendor_isnew_tag = "0"; 4373 margin_promo = 0; 4374 // console.log(lobby_tag); 4375 // console.log("promo", promo_tag); 4376 // console.log("game_ishot", game_ishot_tag); 4377 // console.log("vendor_isnew", vendor_isnew_tag); 4378 4379 $(lobby_tag).each(function(index, element) { 4380 if (index === 0) { 4381 // Navbar Content 4382 class_name_tag = $(element).attr('class'); 4383 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4384 // on LI(navar) or DIV Content 4385 element_tag = $(element).prop('tagName'); 4386 if(vendor_isnew_tag == 1){ 4387 if( element_tag == 'LI'){ 4388 margin_promo = 20; 4389 }else{ 4390 margin_promo =10; 4391 } 4392 4393 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4394 } 4395 4396 if(promo_tag == 1){ 4397 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4398 } 4399 4400 if(game_ishot_tag == 1){ 4401 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 4402 } 4403 4404 } else if (index === 1) { 4405 // Lobby Content 4406 class_name_tag = $(element).attr('class'); 4407 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4408 4409 if(vendor_isnew_tag == 1){ 4410 margin_promo = 12; 4411 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4412 } 4413 4414 if(promo_tag == 1){ 4415 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4416 } 4417 4418 if(game_ishot_tag == 1){ 4419 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4420 } 4421 } 4422 }); 4423 4424 4425 4426 lobby_tag = ".lb-10150" 4427 promo_tag = "0"; 4428 game_ishot_tag = "0"; 4429 vendor_isnew_tag = "0"; 4430 margin_promo = 0; 4431 // console.log(lobby_tag); 4432 // console.log("promo", promo_tag); 4433 // console.log("game_ishot", game_ishot_tag); 4434 // console.log("vendor_isnew", vendor_isnew_tag); 4435 4436 $(lobby_tag).each(function(index, element) { 4437 if (index === 0) { 4438 // Navbar Content 4439 class_name_tag = $(element).attr('class'); 4440 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4441 // on LI(navar) or DIV Content 4442 element_tag = $(element).prop('tagName'); 4443 if(vendor_isnew_tag == 1){ 4444 if( element_tag == 'LI'){ 4445 margin_promo = 20; 4446 }else{ 4447 margin_promo =10; 4448 } 4449 4450 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4451 } 4452 4453 if(promo_tag == 1){ 4454 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4455 } 4456 4457 if(game_ishot_tag == 1){ 4458 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
4458left:10px;top:0;z-index:10;width:35px"></div>`); 4459 } 4460 4461 } else if (index === 1) { 4462 // Lobby Content 4463 class_name_tag = $(element).attr('class'); 4464 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4465 4466 if(vendor_isnew_tag == 1){ 4467 margin_promo = 12; 4468 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4469 } 4470 4471 if(promo_tag == 1){ 4472 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4473 } 4474 4475 if(game_ishot_tag == 1){ 4476 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4477 } 4478 } 4479 }); 4480 4481 4482 4483 lobby_tag = ".lb-16288" 4484 promo_tag = "0"; 4485 game_ishot_tag = "0"; 4486 vendor_isnew_tag = "0"; 4487 margin_promo = 0; 4488 // console.log(lobby_tag); 4489 // console.log("promo", promo_tag); 4490 // console.log("game_ishot", game_ishot_tag); 4491 // console.log("vendor_isnew", vendor_isnew_tag); 4492 4493 $(lobby_tag).each(function(index, element) { 4494 if (index === 0) { 4495 // Navbar Content 4496 class_name_tag = $(element).attr('class'); 4497 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4498 // on LI(navar) or DIV Content 4499 element_tag = $(element).prop('tagName'); 4500 if(vendor_isnew_tag == 1){ 4501 if( element_tag == 'LI'){ 4502 margin_promo = 20; 4503 }else{ 4504 margin_promo =10; 4505 } 4506 4507 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4508 } 4509 4510 if(promo_tag == 1){ 4511 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4512 } 4513 4514 if(game_ishot_tag == 1){ 4515 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 4516 } 4517 4518 } else if (index === 1) { 4519 // Lobby Content 4520 class_name_tag = $(element).attr('class'); 4521 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4522 4523 if(vendor_isnew_tag == 1){ 4524 margin_promo = 12; 4525 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4526 } 4527 4528 if(promo_tag == 1){ 4529 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4530 } 4531 4532 if(game_ishot_tag == 1){ 4533 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4534 } 4535 } 4536 }); 4537 4538 4539 4540 lobby_tag = ".lb-10422" 4541 promo_tag = "0"; 4542 game_ishot_tag = "0"; 4543 vendor_isnew_tag = "0"; 4544 margin_promo = 0; 4545 // console.log(lobby_tag); 4546 // console.log("promo", promo_tag); 4547 // console.log("game_ishot", game_ishot_tag); 4548 // console.log("vendor_isnew", vendor_isnew_tag); 4549 4550 $(lobby_tag).each(function(index, element) { 4551 if (index === 0) { 4552 // Navbar Content 4553 class_name_tag = $(element).attr('class'); 4554 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4555 // on LI(navar) or DIV Content 4556 element_tag = $(element).prop('tagName'); 4557 if(vendor_isnew_tag == 1){ 4558 if( element_tag == 'LI'){ 4559 margin_promo = 20; 4560 }else{ 4561 margin_promo =10; 4562 } 4563 4564 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4565 } 4566 4567 if(promo_tag == 1){ 4568 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4569 } 4570 4571 if(game_ishot_tag == 1){ 4572 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
4572left:10px;top:0;z-index:10;width:35px"></div>`); 4573 } 4574 4575 } else if (index === 1) { 4576 // Lobby Content 4577 class_name_tag = $(element).attr('class'); 4578 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4579 4580 if(vendor_isnew_tag == 1){ 4581 margin_promo = 12; 4582 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4583 } 4584 4585 if(promo_tag == 1){ 4586 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4587 } 4588 4589 if(game_ishot_tag == 1){ 4590 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4591 } 4592 } 4593 }); 4594 4595 4596 4597 lobby_tag = ".lb-16059" 4598 promo_tag = "0"; 4599 game_ishot_tag = "0"; 4600 vendor_isnew_tag = "0"; 4601 margin_promo = 0; 4602 // console.log(lobby_tag); 4603 // console.log("promo", promo_tag); 4604 // console.log("game_ishot", game_ishot_tag); 4605 // console.log("vendor_isnew", vendor_isnew_tag); 4606 4607 $(lobby_tag).each(function(index, element) { 4608 if (index === 0) { 4609 // Navbar Content 4610 class_name_tag = $(element).attr('class'); 4611 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4612 // on LI(navar) or DIV Content 4613 element_tag = $(element).prop('tagName'); 4614 if(vendor_isnew_tag == 1){ 4615 if( element_tag == 'LI'){ 4616 margin_promo = 20; 4617 }else{ 4618 margin_promo =10; 4619 } 4620 4621 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4622 } 4623 4624 if(promo_tag == 1){ 4625 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4626 } 4627 4628 if(game_ishot_tag == 1){ 4629 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 4630 } 4631 4632 } else if (index === 1) { 4633 // Lobby Content 4634 class_name_tag = $(element).attr('class'); 4635 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4636 4637 if(vendor_isnew_tag == 1){ 4638 margin_promo = 12; 4639 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4640 } 4641 4642 if(promo_tag == 1){ 4643 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4644 } 4645 4646 if(game_ishot_tag == 1){ 4647 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4648 } 4649 } 4650 }); 4651 4652 4653 4654 lobby_tag = ".lb-19229" 4655 promo_tag = "0"; 4656 game_ishot_tag = "0"; 4657 vendor_isnew_tag = "0"; 4658 margin_promo = 0; 4659 // console.log(lobby_tag); 4660 // console.log("promo", promo_tag); 4661 // console.log("game_ishot", game_ishot_tag); 4662 // console.log("vendor_isnew", vendor_isnew_tag); 4663 4664 $(lobby_tag).each(function(index, element) { 4665 if (index === 0) { 4666 // Navbar Content 4667 class_name_tag = $(element).attr('class'); 4668 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4669 // on LI(navar) or DIV Content 4670 element_tag = $(element).prop('tagName'); 4671 if(vendor_isnew_tag == 1){ 4672 if( element_tag == 'LI'){ 4673 margin_promo = 20; 4674 }else{ 4675 margin_promo =10; 4676 } 4677 4678 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4679 } 4680 4681 if(promo_tag == 1){ 4682 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4683 } 4684 4685 if(game_ishot_tag == 1){ 4686 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
4686left:10px;top:0;z-index:10;width:35px"></div>`); 4687 } 4688 4689 } else if (index === 1) { 4690 // Lobby Content 4691 class_name_tag = $(element).attr('class'); 4692 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4693 4694 if(vendor_isnew_tag == 1){ 4695 margin_promo = 12; 4696 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4697 } 4698 4699 if(promo_tag == 1){ 4700 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4701 } 4702 4703 if(game_ishot_tag == 1){ 4704 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4705 } 4706 } 4707 }); 4708 4709 4710 4711 lobby_tag = ".lb-16311" 4712 promo_tag = "0"; 4713 game_ishot_tag = "0"; 4714 vendor_isnew_tag = "0"; 4715 margin_promo = 0; 4716 // console.log(lobby_tag); 4717 // console.log("promo", promo_tag); 4718 // console.log("game_ishot", game_ishot_tag); 4719 // console.log("vendor_isnew", vendor_isnew_tag); 4720 4721 $(lobby_tag).each(function(index, element) { 4722 if (index === 0) { 4723 // Navbar Content 4724 class_name_tag = $(element).attr('class'); 4725 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4726 // on LI(navar) or DIV Content 4727 element_tag = $(element).prop('tagName'); 4728 if(vendor_isnew_tag == 1){ 4729 if( element_tag == 'LI'){ 4730 margin_promo = 20; 4731 }else{ 4732 margin_promo =10; 4733 } 4734 4735 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4736 } 4737 4738 if(promo_tag == 1){ 4739 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4740 } 4741 4742 if(game_ishot_tag == 1){ 4743 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 4744 } 4745 4746 } else if (index === 1) { 4747 // Lobby Content 4748 class_name_tag = $(element).attr('class'); 4749 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4750 4751 if(vendor_isnew_tag == 1){ 4752 margin_promo = 12; 4753 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4754 } 4755 4756 if(promo_tag == 1){ 4757 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4758 } 4759 4760 if(game_ishot_tag == 1){ 4761 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4762 } 4763 } 4764 }); 4765 4766 4767 4768 lobby_tag = ".lb-62" 4769 promo_tag = "0"; 4770 game_ishot_tag = "0"; 4771 vendor_isnew_tag = "0"; 4772 margin_promo = 0; 4773 // console.log(lobby_tag); 4774 // console.log("promo", promo_tag); 4775 // console.log("game_ishot", game_ishot_tag); 4776 // console.log("vendor_isnew", vendor_isnew_tag); 4777 4778 $(lobby_tag).each(function(index, element) { 4779 if (index === 0) { 4780 // Navbar Content 4781 class_name_tag = $(element).attr('class'); 4782 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4783 // on LI(navar) or DIV Content 4784 element_tag = $(element).prop('tagName'); 4785 if(vendor_isnew_tag == 1){ 4786 if( element_tag == 'LI'){ 4787 margin_promo = 20; 4788 }else{ 4789 margin_promo =10; 4790 } 4791 4792 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4793 } 4794 4795 if(promo_tag == 1){ 4796 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4797 } 4798 4799 if(game_ishot_tag == 1){ 4800 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
4800left:10px;top:0;z-index:10;width:35px"></div>`); 4801 } 4802 4803 } else if (index === 1) { 4804 // Lobby Content 4805 class_name_tag = $(element).attr('class'); 4806 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4807 4808 if(vendor_isnew_tag == 1){ 4809 margin_promo = 12; 4810 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4811 } 4812 4813 if(promo_tag == 1){ 4814 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4815 } 4816 4817 if(game_ishot_tag == 1){ 4818 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4819 } 4820 } 4821 }); 4822 4823 4824 4825 lobby_tag = ".lb-63" 4826 promo_tag = "0"; 4827 game_ishot_tag = "0"; 4828 vendor_isnew_tag = "0"; 4829 margin_promo = 0; 4830 // console.log(lobby_tag); 4831 // console.log("promo", promo_tag); 4832 // console.log("game_ishot", game_ishot_tag); 4833 // console.log("vendor_isnew", vendor_isnew_tag); 4834 4835 $(lobby_tag).each(function(index, element) { 4836 if (index === 0) { 4837 // Navbar Content 4838 class_name_tag = $(element).attr('class'); 4839 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4840 // on LI(navar) or DIV Content 4841 element_tag = $(element).prop('tagName'); 4842 if(vendor_isnew_tag == 1){ 4843 if( element_tag == 'LI'){ 4844 margin_promo = 20; 4845 }else{ 4846 margin_promo =10; 4847 } 4848 4849 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4850 } 4851 4852 if(promo_tag == 1){ 4853 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4854 } 4855 4856 if(game_ishot_tag == 1){ 4857 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 4858 } 4859 4860 } else if (index === 1) { 4861 // Lobby Content 4862 class_name_tag = $(element).attr('class'); 4863 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4864 4865 if(vendor_isnew_tag == 1){ 4866 margin_promo = 12; 4867 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4868 } 4869 4870 if(promo_tag == 1){ 4871 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4872 } 4873 4874 if(game_ishot_tag == 1){ 4875 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4876 } 4877 } 4878 }); 4879 4880 4881 4882 lobby_tag = ".lb-67" 4883 promo_tag = "0"; 4884 game_ishot_tag = "0"; 4885 vendor_isnew_tag = "0"; 4886 margin_promo = 0; 4887 // console.log(lobby_tag); 4888 // console.log("promo", promo_tag); 4889 // console.log("game_ishot", game_ishot_tag); 4890 // console.log("vendor_isnew", vendor_isnew_tag); 4891 4892 $(lobby_tag).each(function(index, element) { 4893 if (index === 0) { 4894 // Navbar Content 4895 class_name_tag = $(element).attr('class'); 4896 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4897 // on LI(navar) or DIV Content 4898 element_tag = $(element).prop('tagName'); 4899 if(vendor_isnew_tag == 1){ 4900 if( element_tag == 'LI'){ 4901 margin_promo = 20; 4902 }else{ 4903 margin_promo =10; 4904 } 4905 4906 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4907 } 4908 4909 if(promo_tag == 1){ 4910 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4911 } 4912 4913 if(game_ishot_tag == 1){ 4914 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
4914left:10px;top:0;z-index:10;width:35px"></div>`); 4915 } 4916 4917 } else if (index === 1) { 4918 // Lobby Content 4919 class_name_tag = $(element).attr('class'); 4920 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4921 4922 if(vendor_isnew_tag == 1){ 4923 margin_promo = 12; 4924 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4925 } 4926 4927 if(promo_tag == 1){ 4928 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4929 } 4930 4931 if(game_ishot_tag == 1){ 4932 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4933 } 4934 } 4935 }); 4936 4937 4938 4939 lobby_tag = ".lb-61" 4940 promo_tag = "0"; 4941 game_ishot_tag = "0"; 4942 vendor_isnew_tag = "0"; 4943 margin_promo = 0; 4944 // console.log(lobby_tag); 4945 // console.log("promo", promo_tag); 4946 // console.log("game_ishot", game_ishot_tag); 4947 // console.log("vendor_isnew", vendor_isnew_tag); 4948 4949 $(lobby_tag).each(function(index, element) { 4950 if (index === 0) { 4951 // Navbar Content 4952 class_name_tag = $(element).attr('class'); 4953 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4954 // on LI(navar) or DIV Content 4955 element_tag = $(element).prop('tagName'); 4956 if(vendor_isnew_tag == 1){ 4957 if( element_tag == 'LI'){ 4958 margin_promo = 20; 4959 }else{ 4960 margin_promo =10; 4961 } 4962 4963 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4964 } 4965 4966 if(promo_tag == 1){ 4967 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4968 } 4969 4970 if(game_ishot_tag == 1){ 4971 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 4972 } 4973 4974 } else if (index === 1) { 4975 // Lobby Content 4976 class_name_tag = $(element).attr('class'); 4977 selector_tag = '.' + class_name_tag.split(' ').join('.'); 4978 4979 if(vendor_isnew_tag == 1){ 4980 margin_promo = 12; 4981 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 4982 } 4983 4984 if(promo_tag == 1){ 4985 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 4986 } 4987 4988 if(game_ishot_tag == 1){ 4989 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 4990 } 4991 } 4992 }); 4993 4994 4995 4996 lobby_tag = ".lb-65" 4997 promo_tag = "0"; 4998 game_ishot_tag = "0"; 4999 vendor_isnew_tag = "0"; 5000 margin_promo = 0; 5001 // console.log(lobby_tag); 5002 // console.log("promo", promo_tag); 5003 // console.log("game_ishot", game_ishot_tag); 5004 // console.log("vendor_isnew", vendor_isnew_tag); 5005 5006 $(lobby_tag).each(function(index, element) { 5007 if (index === 0) { 5008 // Navbar Content 5009 class_name_tag = $(element).attr('class'); 5010 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5011 // on LI(navar) or DIV Content 5012 element_tag = $(element).prop('tagName'); 5013 if(vendor_isnew_tag == 1){ 5014 if( element_tag == 'LI'){ 5015 margin_promo = 20; 5016 }else{ 5017 margin_promo =10; 5018 } 5019 5020 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5021 } 5022 5023 if(promo_tag == 1){ 5024 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5025 } 5026 5027 if(game_ishot_tag == 1){ 5028 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
5028left:10px;top:0;z-index:10;width:35px"></div>`); 5029 } 5030 5031 } else if (index === 1) { 5032 // Lobby Content 5033 class_name_tag = $(element).attr('class'); 5034 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5035 5036 if(vendor_isnew_tag == 1){ 5037 margin_promo = 12; 5038 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5039 } 5040 5041 if(promo_tag == 1){ 5042 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5043 } 5044 5045 if(game_ishot_tag == 1){ 5046 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5047 } 5048 } 5049 }); 5050 5051 5052 5053 lobby_tag = ".lb-93" 5054 promo_tag = "0"; 5055 game_ishot_tag = "0"; 5056 vendor_isnew_tag = "0"; 5057 margin_promo = 0; 5058 // console.log(lobby_tag); 5059 // console.log("promo", promo_tag); 5060 // console.log("game_ishot", game_ishot_tag); 5061 // console.log("vendor_isnew", vendor_isnew_tag); 5062 5063 $(lobby_tag).each(function(index, element) { 5064 if (index === 0) { 5065 // Navbar Content 5066 class_name_tag = $(element).attr('class'); 5067 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5068 // on LI(navar) or DIV Content 5069 element_tag = $(element).prop('tagName'); 5070 if(vendor_isnew_tag == 1){ 5071 if( element_tag == 'LI'){ 5072 margin_promo = 20; 5073 }else{ 5074 margin_promo =10; 5075 } 5076 5077 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5078 } 5079 5080 if(promo_tag == 1){ 5081 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5082 } 5083 5084 if(game_ishot_tag == 1){ 5085 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 5086 } 5087 5088 } else if (index === 1) { 5089 // Lobby Content 5090 class_name_tag = $(element).attr('class'); 5091 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5092 5093 if(vendor_isnew_tag == 1){ 5094 margin_promo = 12; 5095 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5096 } 5097 5098 if(promo_tag == 1){ 5099 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5100 } 5101 5102 if(game_ishot_tag == 1){ 5103 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5104 } 5105 } 5106 }); 5107 5108 5109 5110 lobby_tag = ".lb-96" 5111 promo_tag = "0"; 5112 game_ishot_tag = "0"; 5113 vendor_isnew_tag = "0"; 5114 margin_promo = 0; 5115 // console.log(lobby_tag); 5116 // console.log("promo", promo_tag); 5117 // console.log("game_ishot", game_ishot_tag); 5118 // console.log("vendor_isnew", vendor_isnew_tag); 5119 5120 $(lobby_tag).each(function(index, element) { 5121 if (index === 0) { 5122 // Navbar Content 5123 class_name_tag = $(element).attr('class'); 5124 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5125 // on LI(navar) or DIV Content 5126 element_tag = $(element).prop('tagName'); 5127 if(vendor_isnew_tag == 1){ 5128 if( element_tag == 'LI'){ 5129 margin_promo = 20; 5130 }else{ 5131 margin_promo =10; 5132 } 5133 5134 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5135 } 5136 5137 if(promo_tag == 1){ 5138 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5139 } 5140 5141 if(game_ishot_tag == 1){ 5142 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
5142left:10px;top:0;z-index:10;width:35px"></div>`); 5143 } 5144 5145 } else if (index === 1) { 5146 // Lobby Content 5147 class_name_tag = $(element).attr('class'); 5148 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5149 5150 if(vendor_isnew_tag == 1){ 5151 margin_promo = 12; 5152 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5153 } 5154 5155 if(promo_tag == 1){ 5156 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5157 } 5158 5159 if(game_ishot_tag == 1){ 5160 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5161 } 5162 } 5163 }); 5164 5165 5166 5167 lobby_tag = ".lb-2973" 5168 promo_tag = "0"; 5169 game_ishot_tag = "0"; 5170 vendor_isnew_tag = "0"; 5171 margin_promo = 0; 5172 // console.log(lobby_tag); 5173 // console.log("promo", promo_tag); 5174 // console.log("game_ishot", game_ishot_tag); 5175 // console.log("vendor_isnew", vendor_isnew_tag); 5176 5177 $(lobby_tag).each(function(index, element) { 5178 if (index === 0) { 5179 // Navbar Content 5180 class_name_tag = $(element).attr('class'); 5181 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5182 // on LI(navar) or DIV Content 5183 element_tag = $(element).prop('tagName'); 5184 if(vendor_isnew_tag == 1){ 5185 if( element_tag == 'LI'){ 5186 margin_promo = 20; 5187 }else{ 5188 margin_promo =10; 5189 } 5190 5191 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5192 } 5193 5194 if(promo_tag == 1){ 5195 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5196 } 5197 5198 if(game_ishot_tag == 1){ 5199 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 5200 } 5201 5202 } else if (index === 1) { 5203 // Lobby Content 5204 class_name_tag = $(element).attr('class'); 5205 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5206 5207 if(vendor_isnew_tag == 1){ 5208 margin_promo = 12; 5209 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5210 } 5211 5212 if(promo_tag == 1){ 5213 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5214 } 5215 5216 if(game_ishot_tag == 1){ 5217 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5218 } 5219 } 5220 }); 5221 5222 5223 5224 lobby_tag = ".lb-10675" 5225 promo_tag = "0"; 5226 game_ishot_tag = "0"; 5227 vendor_isnew_tag = "0"; 5228 margin_promo = 0; 5229 // console.log(lobby_tag); 5230 // console.log("promo", promo_tag); 5231 // console.log("game_ishot", game_ishot_tag); 5232 // console.log("vendor_isnew", vendor_isnew_tag); 5233 5234 $(lobby_tag).each(function(index, element) { 5235 if (index === 0) { 5236 // Navbar Content 5237 class_name_tag = $(element).attr('class'); 5238 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5239 // on LI(navar) or DIV Content 5240 element_tag = $(element).prop('tagName'); 5241 if(vendor_isnew_tag == 1){ 5242 if( element_tag == 'LI'){ 5243 margin_promo = 20; 5244 }else{ 5245 margin_promo =10; 5246 } 5247 5248 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5249 } 5250 5251 if(promo_tag == 1){ 5252 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5253 } 5254 5255 if(game_ishot_tag == 1){ 5256 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
5256left:10px;top:0;z-index:10;width:35px"></div>`); 5257 } 5258 5259 } else if (index === 1) { 5260 // Lobby Content 5261 class_name_tag = $(element).attr('class'); 5262 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5263 5264 if(vendor_isnew_tag == 1){ 5265 margin_promo = 12; 5266 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5267 } 5268 5269 if(promo_tag == 1){ 5270 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5271 } 5272 5273 if(game_ishot_tag == 1){ 5274 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5275 } 5276 } 5277 }); 5278 5279 5280 5281 lobby_tag = ".lb-30139" 5282 promo_tag = "0"; 5283 game_ishot_tag = "0"; 5284 vendor_isnew_tag = "0"; 5285 margin_promo = 0; 5286 // console.log(lobby_tag); 5287 // console.log("promo", promo_tag); 5288 // console.log("game_ishot", game_ishot_tag); 5289 // console.log("vendor_isnew", vendor_isnew_tag); 5290 5291 $(lobby_tag).each(function(index, element) { 5292 if (index === 0) { 5293 // Navbar Content 5294 class_name_tag = $(element).attr('class'); 5295 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5296 // on LI(navar) or DIV Content 5297 element_tag = $(element).prop('tagName'); 5298 if(vendor_isnew_tag == 1){ 5299 if( element_tag == 'LI'){ 5300 margin_promo = 20; 5301 }else{ 5302 margin_promo =10; 5303 } 5304 5305 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5306 } 5307 5308 if(promo_tag == 1){ 5309 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5310 } 5311 5312 if(game_ishot_tag == 1){ 5313 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 5314 } 5315 5316 } else if (index === 1) { 5317 // Lobby Content 5318 class_name_tag = $(element).attr('class'); 5319 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5320 5321 if(vendor_isnew_tag == 1){ 5322 margin_promo = 12; 5323 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5324 } 5325 5326 if(promo_tag == 1){ 5327 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5328 } 5329 5330 if(game_ishot_tag == 1){ 5331 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5332 } 5333 } 5334 }); 5335 5336 5337 5338 lobby_tag = ".lb-26327" 5339 promo_tag = "0"; 5340 game_ishot_tag = "1"; 5341 vendor_isnew_tag = "0"; 5342 margin_promo = 0; 5343 // console.log(lobby_tag); 5344 // console.log("promo", promo_tag); 5345 // console.log("game_ishot", game_ishot_tag); 5346 // console.log("vendor_isnew", vendor_isnew_tag); 5347 5348 $(lobby_tag).each(function(index, element) { 5349 if (index === 0) { 5350 // Navbar Content 5351 class_name_tag = $(element).attr('class'); 5352 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5353 // on LI(navar) or DIV Content 5354 element_tag = $(element).prop('tagName'); 5355 if(vendor_isnew_tag == 1){ 5356 if( element_tag == 'LI'){ 5357 margin_promo = 20; 5358 }else{ 5359 margin_promo =10; 5360 } 5361 5362 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5363 } 5364 5365 if(promo_tag == 1){ 5366 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5367 } 5368 5369 if(game_ishot_tag == 1){ 5370 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
5370left:10px;top:0;z-index:10;width:35px"></div>`); 5371 } 5372 5373 } else if (index === 1) { 5374 // Lobby Content 5375 class_name_tag = $(element).attr('class'); 5376 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5377 5378 if(vendor_isnew_tag == 1){ 5379 margin_promo = 12; 5380 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5381 } 5382 5383 if(promo_tag == 1){ 5384 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5385 } 5386 5387 if(game_ishot_tag == 1){ 5388 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5389 } 5390 } 5391 }); 5392 5393 5394 5395 lobby_tag = ".lb-26843" 5396 promo_tag = "0"; 5397 game_ishot_tag = "0"; 5398 vendor_isnew_tag = "0"; 5399 margin_promo = 0; 5400 // console.log(lobby_tag); 5401 // console.log("promo", promo_tag); 5402 // console.log("game_ishot", game_ishot_tag); 5403 // console.log("vendor_isnew", vendor_isnew_tag); 5404 5405 $(lobby_tag).each(function(index, element) { 5406 if (index === 0) { 5407 // Navbar Content 5408 class_name_tag = $(element).attr('class'); 5409 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5410 // on LI(navar) or DIV Content 5411 element_tag = $(element).prop('tagName'); 5412 if(vendor_isnew_tag == 1){ 5413 if( element_tag == 'LI'){ 5414 margin_promo = 20; 5415 }else{ 5416 margin_promo =10; 5417 } 5418 5419 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5420 } 5421 5422 if(promo_tag == 1){ 5423 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5424 } 5425 5426 if(game_ishot_tag == 1){ 5427 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 5428 } 5429 5430 } else if (index === 1) { 5431 // Lobby Content 5432 class_name_tag = $(element).attr('class'); 5433 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5434 5435 if(vendor_isnew_tag == 1){ 5436 margin_promo = 12; 5437 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5438 } 5439 5440 if(promo_tag == 1){ 5441 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5442 } 5443 5444 if(game_ishot_tag == 1){ 5445 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5446 } 5447 } 5448 }); 5449 5450 5451 5452 lobby_tag = ".lb-70" 5453 promo_tag = "0"; 5454 game_ishot_tag = "0"; 5455 vendor_isnew_tag = "0"; 5456 margin_promo = 0; 5457 // console.log(lobby_tag); 5458 // console.log("promo", promo_tag); 5459 // console.log("game_ishot", game_ishot_tag); 5460 // console.log("vendor_isnew", vendor_isnew_tag); 5461 5462 $(lobby_tag).each(function(index, element) { 5463 if (index === 0) { 5464 // Navbar Content 5465 class_name_tag = $(element).attr('class'); 5466 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5467 // on LI(navar) or DIV Content 5468 element_tag = $(element).prop('tagName'); 5469 if(vendor_isnew_tag == 1){ 5470 if( element_tag == 'LI'){ 5471 margin_promo = 20; 5472 }else{ 5473 margin_promo =10; 5474 } 5475 5476 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5477 } 5478 5479 if(promo_tag == 1){ 5480 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5481 } 5482 5483 if(game_ishot_tag == 1){ 5484 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
5484left:10px;top:0;z-index:10;width:35px"></div>`); 5485 } 5486 5487 } else if (index === 1) { 5488 // Lobby Content 5489 class_name_tag = $(element).attr('class'); 5490 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5491 5492 if(vendor_isnew_tag == 1){ 5493 margin_promo = 12; 5494 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5495 } 5496 5497 if(promo_tag == 1){ 5498 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5499 } 5500 5501 if(game_ishot_tag == 1){ 5502 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5503 } 5504 } 5505 }); 5506 5507 5508 5509 lobby_tag = ".lb-26098" 5510 promo_tag = "0"; 5511 game_ishot_tag = "0"; 5512 vendor_isnew_tag = "0"; 5513 margin_promo = 0; 5514 // console.log(lobby_tag); 5515 // console.log("promo", promo_tag); 5516 // console.log("game_ishot", game_ishot_tag); 5517 // console.log("vendor_isnew", vendor_isnew_tag); 5518 5519 $(lobby_tag).each(function(index, element) { 5520 if (index === 0) { 5521 // Navbar Content 5522 class_name_tag = $(element).attr('class'); 5523 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5524 // on LI(navar) or DIV Content 5525 element_tag = $(element).prop('tagName'); 5526 if(vendor_isnew_tag == 1){ 5527 if( element_tag == 'LI'){ 5528 margin_promo = 20; 5529 }else{ 5530 margin_promo =10; 5531 } 5532 5533 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5534 } 5535 5536 if(promo_tag == 1){ 5537 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5538 } 5539 5540 if(game_ishot_tag == 1){ 5541 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 5542 } 5543 5544 } else if (index === 1) { 5545 // Lobby Content 5546 class_name_tag = $(element).attr('class'); 5547 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5548 5549 if(vendor_isnew_tag == 1){ 5550 margin_promo = 12; 5551 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5552 } 5553 5554 if(promo_tag == 1){ 5555 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5556 } 5557 5558 if(game_ishot_tag == 1){ 5559 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5560 } 5561 } 5562 }); 5563 5564 5565 5566 lobby_tag = ".lb-71" 5567 promo_tag = "0"; 5568 game_ishot_tag = "0"; 5569 vendor_isnew_tag = "0"; 5570 margin_promo = 0; 5571 // console.log(lobby_tag); 5572 // console.log("promo", promo_tag); 5573 // console.log("game_ishot", game_ishot_tag); 5574 // console.log("vendor_isnew", vendor_isnew_tag); 5575 5576 $(lobby_tag).each(function(index, element) { 5577 if (index === 0) { 5578 // Navbar Content 5579 class_name_tag = $(element).attr('class'); 5580 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5581 // on LI(navar) or DIV Content 5582 element_tag = $(element).prop('tagName'); 5583 if(vendor_isnew_tag == 1){ 5584 if( element_tag == 'LI'){ 5585 margin_promo = 20; 5586 }else{ 5587 margin_promo =10; 5588 } 5589 5590 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5591 } 5592 5593 if(promo_tag == 1){ 5594 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5595 } 5596 5597 if(game_ishot_tag == 1){ 5598 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
5598left:10px;top:0;z-index:10;width:35px"></div>`); 5599 } 5600 5601 } else if (index === 1) { 5602 // Lobby Content 5603 class_name_tag = $(element).attr('class'); 5604 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5605 5606 if(vendor_isnew_tag == 1){ 5607 margin_promo = 12; 5608 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5609 } 5610 5611 if(promo_tag == 1){ 5612 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5613 } 5614 5615 if(game_ishot_tag == 1){ 5616 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5617 } 5618 } 5619 }); 5620 5621 5622 5623 lobby_tag = ".lb-72" 5624 promo_tag = "0"; 5625 game_ishot_tag = "0"; 5626 vendor_isnew_tag = "0"; 5627 margin_promo = 0; 5628 // console.log(lobby_tag); 5629 // console.log("promo", promo_tag); 5630 // console.log("game_ishot", game_ishot_tag); 5631 // console.log("vendor_isnew", vendor_isnew_tag); 5632 5633 $(lobby_tag).each(function(index, element) { 5634 if (index === 0) { 5635 // Navbar Content 5636 class_name_tag = $(element).attr('class'); 5637 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5638 // on LI(navar) or DIV Content 5639 element_tag = $(element).prop('tagName'); 5640 if(vendor_isnew_tag == 1){ 5641 if( element_tag == 'LI'){ 5642 margin_promo = 20; 5643 }else{ 5644 margin_promo =10; 5645 } 5646 5647 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5648 } 5649 5650 if(promo_tag == 1){ 5651 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5652 } 5653 5654 if(game_ishot_tag == 1){ 5655 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 5656 } 5657 5658 } else if (index === 1) { 5659 // Lobby Content 5660 class_name_tag = $(element).attr('class'); 5661 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5662 5663 if(vendor_isnew_tag == 1){ 5664 margin_promo = 12; 5665 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5666 } 5667 5668 if(promo_tag == 1){ 5669 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5670 } 5671 5672 if(game_ishot_tag == 1){ 5673 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5674 } 5675 } 5676 }); 5677 5678 5679 5680 lobby_tag = ".lb-29179" 5681 promo_tag = "0"; 5682 game_ishot_tag = "0"; 5683 vendor_isnew_tag = "0"; 5684 margin_promo = 0; 5685 // console.log(lobby_tag); 5686 // console.log("promo", promo_tag); 5687 // console.log("game_ishot", game_ishot_tag); 5688 // console.log("vendor_isnew", vendor_isnew_tag); 5689 5690 $(lobby_tag).each(function(index, element) { 5691 if (index === 0) { 5692 // Navbar Content 5693 class_name_tag = $(element).attr('class'); 5694 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5695 // on LI(navar) or DIV Content 5696 element_tag = $(element).prop('tagName'); 5697 if(vendor_isnew_tag == 1){ 5698 if( element_tag == 'LI'){ 5699 margin_promo = 20; 5700 }else{ 5701 margin_promo =10; 5702 } 5703 5704 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5705 } 5706 5707 if(promo_tag == 1){ 5708 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5709 } 5710 5711 if(game_ishot_tag == 1){ 5712 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
5712left:10px;top:0;z-index:10;width:35px"></div>`); 5713 } 5714 5715 } else if (index === 1) { 5716 // Lobby Content 5717 class_name_tag = $(element).attr('class'); 5718 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5719 5720 if(vendor_isnew_tag == 1){ 5721 margin_promo = 12; 5722 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5723 } 5724 5725 if(promo_tag == 1){ 5726 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5727 } 5728 5729 if(game_ishot_tag == 1){ 5730 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5731 } 5732 } 5733 }); 5734 5735 5736 5737 lobby_tag = ".lb-125" 5738 promo_tag = "0"; 5739 game_ishot_tag = "0"; 5740 vendor_isnew_tag = "0"; 5741 margin_promo = 0; 5742 // console.log(lobby_tag); 5743 // console.log("promo", promo_tag); 5744 // console.log("game_ishot", game_ishot_tag); 5745 // console.log("vendor_isnew", vendor_isnew_tag); 5746 5747 $(lobby_tag).each(function(index, element) { 5748 if (index === 0) { 5749 // Navbar Content 5750 class_name_tag = $(element).attr('class'); 5751 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5752 // on LI(navar) or DIV Content 5753 element_tag = $(element).prop('tagName'); 5754 if(vendor_isnew_tag == 1){ 5755 if( element_tag == 'LI'){ 5756 margin_promo = 20; 5757 }else{ 5758 margin_promo =10; 5759 } 5760 5761 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5762 } 5763 5764 if(promo_tag == 1){ 5765 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5766 } 5767 5768 if(game_ishot_tag == 1){ 5769 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 5770 } 5771 5772 } else if (index === 1) { 5773 // Lobby Content 5774 class_name_tag = $(element).attr('class'); 5775 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5776 5777 if(vendor_isnew_tag == 1){ 5778 margin_promo = 12; 5779 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5780 } 5781 5782 if(promo_tag == 1){ 5783 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5784 } 5785 5786 if(game_ishot_tag == 1){ 5787 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5788 } 5789 } 5790 }); 5791 5792 5793 5794 lobby_tag = ".lb-69" 5795 promo_tag = "0"; 5796 game_ishot_tag = "0"; 5797 vendor_isnew_tag = "0"; 5798 margin_promo = 0; 5799 // console.log(lobby_tag); 5800 // console.log("promo", promo_tag); 5801 // console.log("game_ishot", game_ishot_tag); 5802 // console.log("vendor_isnew", vendor_isnew_tag); 5803 5804 $(lobby_tag).each(function(index, element) { 5805 if (index === 0) { 5806 // Navbar Content 5807 class_name_tag = $(element).attr('class'); 5808 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5809 // on LI(navar) or DIV Content 5810 element_tag = $(element).prop('tagName'); 5811 if(vendor_isnew_tag == 1){ 5812 if( element_tag == 'LI'){ 5813 margin_promo = 20; 5814 }else{ 5815 margin_promo =10; 5816 } 5817 5818 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5819 } 5820 5821 if(promo_tag == 1){ 5822 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5823 } 5824 5825 if(game_ishot_tag == 1){ 5826 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
5826left:10px;top:0;z-index:10;width:35px"></div>`); 5827 } 5828 5829 } else if (index === 1) { 5830 // Lobby Content 5831 class_name_tag = $(element).attr('class'); 5832 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5833 5834 if(vendor_isnew_tag == 1){ 5835 margin_promo = 12; 5836 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5837 } 5838 5839 if(promo_tag == 1){ 5840 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5841 } 5842 5843 if(game_ishot_tag == 1){ 5844 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5845 } 5846 } 5847 }); 5848 5849 5850 5851 lobby_tag = ".lb-11392" 5852 promo_tag = "0"; 5853 game_ishot_tag = "0"; 5854 vendor_isnew_tag = "0"; 5855 margin_promo = 0; 5856 // console.log(lobby_tag); 5857 // console.log("promo", promo_tag); 5858 // console.log("game_ishot", game_ishot_tag); 5859 // console.log("vendor_isnew", vendor_isnew_tag); 5860 5861 $(lobby_tag).each(function(index, element) { 5862 if (index === 0) { 5863 // Navbar Content 5864 class_name_tag = $(element).attr('class'); 5865 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5866 // on LI(navar) or DIV Content 5867 element_tag = $(element).prop('tagName'); 5868 if(vendor_isnew_tag == 1){ 5869 if( element_tag == 'LI'){ 5870 margin_promo = 20; 5871 }else{ 5872 margin_promo =10; 5873 } 5874 5875 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5876 } 5877 5878 if(promo_tag == 1){ 5879 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5880 } 5881 5882 if(game_ishot_tag == 1){ 5883 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 5884 } 5885 5886 } else if (index === 1) { 5887 // Lobby Content 5888 class_name_tag = $(element).attr('class'); 5889 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5890 5891 if(vendor_isnew_tag == 1){ 5892 margin_promo = 12; 5893 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5894 } 5895 5896 if(promo_tag == 1){ 5897 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5898 } 5899 5900 if(game_ishot_tag == 1){ 5901 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5902 } 5903 } 5904 }); 5905 5906 5907 5908 lobby_tag = ".lb-391" 5909 promo_tag = "0"; 5910 game_ishot_tag = "0"; 5911 vendor_isnew_tag = "0"; 5912 margin_promo = 0; 5913 // console.log(lobby_tag); 5914 // console.log("promo", promo_tag); 5915 // console.log("game_ishot", game_ishot_tag); 5916 // console.log("vendor_isnew", vendor_isnew_tag); 5917 5918 $(lobby_tag).each(function(index, element) { 5919 if (index === 0) { 5920 // Navbar Content 5921 class_name_tag = $(element).attr('class'); 5922 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5923 // on LI(navar) or DIV Content 5924 element_tag = $(element).prop('tagName'); 5925 if(vendor_isnew_tag == 1){ 5926 if( element_tag == 'LI'){ 5927 margin_promo = 20; 5928 }else{ 5929 margin_promo =10; 5930 } 5931 5932 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5933 } 5934 5935 if(promo_tag == 1){ 5936 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5937 } 5938 5939 if(game_ishot_tag == 1){ 5940 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
5940left:10px;top:0;z-index:10;width:35px"></div>`); 5941 } 5942 5943 } else if (index === 1) { 5944 // Lobby Content 5945 class_name_tag = $(element).attr('class'); 5946 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5947 5948 if(vendor_isnew_tag == 1){ 5949 margin_promo = 12; 5950 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5951 } 5952 5953 if(promo_tag == 1){ 5954 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5955 } 5956 5957 if(game_ishot_tag == 1){ 5958 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 5959 } 5960 } 5961 }); 5962 5963 5964 5965 lobby_tag = ".lb-73" 5966 promo_tag = "0"; 5967 game_ishot_tag = "0"; 5968 vendor_isnew_tag = "0"; 5969 margin_promo = 0; 5970 // console.log(lobby_tag); 5971 // console.log("promo", promo_tag); 5972 // console.log("game_ishot", game_ishot_tag); 5973 // console.log("vendor_isnew", vendor_isnew_tag); 5974 5975 $(lobby_tag).each(function(index, element) { 5976 if (index === 0) { 5977 // Navbar Content 5978 class_name_tag = $(element).attr('class'); 5979 selector_tag = '.' + class_name_tag.split(' ').join('.'); 5980 // on LI(navar) or DIV Content 5981 element_tag = $(element).prop('tagName'); 5982 if(vendor_isnew_tag == 1){ 5983 if( element_tag == 'LI'){ 5984 margin_promo = 20; 5985 }else{ 5986 margin_promo =10; 5987 } 5988 5989 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 5990 } 5991 5992 if(promo_tag == 1){ 5993 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 5994 } 5995 5996 if(game_ishot_tag == 1){ 5997 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 5998 } 5999 6000 } else if (index === 1) { 6001 // Lobby Content 6002 class_name_tag = $(element).attr('class'); 6003 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6004 6005 if(vendor_isnew_tag == 1){ 6006 margin_promo = 12; 6007 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6008 } 6009 6010 if(promo_tag == 1){ 6011 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6012 } 6013 6014 if(game_ishot_tag == 1){ 6015 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6016 } 6017 } 6018 }); 6019 6020 6021 6022 lobby_tag = ".lb-10486" 6023 promo_tag = "0"; 6024 game_ishot_tag = "0"; 6025 vendor_isnew_tag = "0"; 6026 margin_promo = 0; 6027 // console.log(lobby_tag); 6028 // console.log("promo", promo_tag); 6029 // console.log("game_ishot", game_ishot_tag); 6030 // console.log("vendor_isnew", vendor_isnew_tag); 6031 6032 $(lobby_tag).each(function(index, element) { 6033 if (index === 0) { 6034 // Navbar Content 6035 class_name_tag = $(element).attr('class'); 6036 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6037 // on LI(navar) or DIV Content 6038 element_tag = $(element).prop('tagName'); 6039 if(vendor_isnew_tag == 1){ 6040 if( element_tag == 'LI'){ 6041 margin_promo = 20; 6042 }else{ 6043 margin_promo =10; 6044 } 6045 6046 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6047 } 6048 6049 if(promo_tag == 1){ 6050 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6051 } 6052 6053 if(game_ishot_tag == 1){ 6054 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
6054left:10px;top:0;z-index:10;width:35px"></div>`); 6055 } 6056 6057 } else if (index === 1) { 6058 // Lobby Content 6059 class_name_tag = $(element).attr('class'); 6060 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6061 6062 if(vendor_isnew_tag == 1){ 6063 margin_promo = 12; 6064 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6065 } 6066 6067 if(promo_tag == 1){ 6068 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6069 } 6070 6071 if(game_ishot_tag == 1){ 6072 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6073 } 6074 } 6075 }); 6076 6077 6078 6079 lobby_tag = ".lb-74" 6080 promo_tag = "0"; 6081 game_ishot_tag = "0"; 6082 vendor_isnew_tag = "0"; 6083 margin_promo = 0; 6084 // console.log(lobby_tag); 6085 // console.log("promo", promo_tag); 6086 // console.log("game_ishot", game_ishot_tag); 6087 // console.log("vendor_isnew", vendor_isnew_tag); 6088 6089 $(lobby_tag).each(function(index, element) { 6090 if (index === 0) { 6091 // Navbar Content 6092 class_name_tag = $(element).attr('class'); 6093 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6094 // on LI(navar) or DIV Content 6095 element_tag = $(element).prop('tagName'); 6096 if(vendor_isnew_tag == 1){ 6097 if( element_tag == 'LI'){ 6098 margin_promo = 20; 6099 }else{ 6100 margin_promo =10; 6101 } 6102 6103 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6104 } 6105 6106 if(promo_tag == 1){ 6107 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6108 } 6109 6110 if(game_ishot_tag == 1){ 6111 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 6112 } 6113 6114 } else if (index === 1) { 6115 // Lobby Content 6116 class_name_tag = $(element).attr('class'); 6117 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6118 6119 if(vendor_isnew_tag == 1){ 6120 margin_promo = 12; 6121 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6122 } 6123 6124 if(promo_tag == 1){ 6125 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6126 } 6127 6128 if(game_ishot_tag == 1){ 6129 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6130 } 6131 } 6132 }); 6133 6134 6135
6136 lobby_tag = ".lb-2010" 6137 promo_tag = "0"; 6138 game_ishot_tag = "0"; 6139 vendor_isnew_tag = "0"; 6140 margin_promo = 0; 6141 // console.log(lobby_tag); 6142 // console.log("promo", promo_tag); 6143 // console.log("game_ishot", game_ishot_tag); 6144 // console.log("vendor_isnew", vendor_isnew_tag); 6145 6146 $(lobby_tag).each(function(index, element) { 6147 if (index === 0) { 6148 // Navbar Content 6149 class_name_tag = $(element).attr('class'); 6150 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6151 // on LI(navar) or DIV Content 6152 element_tag = $(element).prop('tagName'); 6153 if(vendor_isnew_tag == 1){ 6154 if( element_tag == 'LI'){ 6155 margin_promo = 20; 6156 }else{ 6157 margin_promo =10; 6158 } 6159 6160 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6161 } 6162 6163 if(promo_tag == 1){ 6164 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6165 } 6166 6167 if(game_ishot_tag == 1){ 6168 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 6169 } 6170 6171 } else if (index === 1) { 6172 // Lobby Content 6173 class_name_tag = $(element).attr('class'); 6174 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6175 6176 if(vendor_isnew_tag == 1){ 6177 margin_promo = 12; 6178 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6179 } 6180 6181 if(promo_tag == 1){ 6182 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6183 } 6184 6185 if(game_ishot_tag == 1){ 6186 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6187 } 6188 } 6189 }); 6190 6191 6192 6193 lobby_tag = ".lb-2100" 6194 promo_tag = "0"; 6195 game_ishot_tag = "0"; 6196 vendor_isnew_tag = "0"; 6197 margin_promo = 0; 6198 // console.log(lobby_tag); 6199 // console.log("promo", promo_tag); 6200 // console.log("game_ishot", game_ishot_tag); 6201 // console.log("vendor_isnew", vendor_isnew_tag); 6202 6203 $(lobby_tag).each(function(index, element) { 6204 if (index === 0) { 6205 // Navbar Content 6206 class_name_tag = $(element).attr('class'); 6207 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6208 // on LI(navar) or DIV Content 6209 element_tag = $(element).prop('tagName'); 6210 if(vendor_isnew_tag == 1){ 6211 if( element_tag == 'LI'){ 6212 margin_promo = 20; 6213 }else{ 6214 margin_promo =10; 6215 } 6216 6217 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6218 } 6219 6220 if(promo_tag == 1){ 6221 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6222 } 6223 6224 if(game_ishot_tag == 1){ 6225 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
6225left:10px;top:0;z-index:10;width:35px"></div>`); 6226 } 6227 6228 } else if (index === 1) { 6229 // Lobby Content 6230 class_name_tag = $(element).attr('class'); 6231 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6232 6233 if(vendor_isnew_tag == 1){ 6234 margin_promo = 12; 6235 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6236 } 6237 6238 if(promo_tag == 1){ 6239 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6240 } 6241 6242 if(game_ishot_tag == 1){ 6243 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6244 } 6245 } 6246 }); 6247 6248 6249 6250 lobby_tag = ".lb-1701" 6251 promo_tag = "0"; 6252 game_ishot_tag = "0"; 6253 vendor_isnew_tag = "0"; 6254 margin_promo = 0; 6255 // console.log(lobby_tag); 6256 // console.log("promo", promo_tag); 6257 // console.log("game_ishot", game_ishot_tag); 6258 // console.log("vendor_isnew", vendor_isnew_tag); 6259 6260 $(lobby_tag).each(function(index, element) { 6261 if (index === 0) { 6262 // Navbar Content 6263 class_name_tag = $(element).attr('class'); 6264 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6265 // on LI(navar) or DIV Content 6266 element_tag = $(element).prop('tagName'); 6267 if(vendor_isnew_tag == 1){ 6268 if( element_tag == 'LI'){ 6269 margin_promo = 20; 6270 }else{ 6271 margin_promo =10; 6272 } 6273 6274 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6275 } 6276 6277 if(promo_tag == 1){ 6278 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6279 } 6280 6281 if(game_ishot_tag == 1){ 6282 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 6283 } 6284 6285 } else if (index === 1) { 6286 // Lobby Content 6287 class_name_tag = $(element).attr('class'); 6288 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6289 6290 if(vendor_isnew_tag == 1){ 6291 margin_promo = 12; 6292 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6293 } 6294 6295 if(promo_tag == 1){ 6296 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6297 } 6298 6299 if(game_ishot_tag == 1){ 6300 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6301 } 6302 } 6303 }); 6304 6305 6306 6307 lobby_tag = ".lb-24871" 6308 promo_tag = "0"; 6309 game_ishot_tag = "0"; 6310 vendor_isnew_tag = "0"; 6311 margin_promo = 0; 6312 // console.log(lobby_tag); 6313 // console.log("promo", promo_tag); 6314 // console.log("game_ishot", game_ishot_tag); 6315 // console.log("vendor_isnew", vendor_isnew_tag); 6316 6317 $(lobby_tag).each(function(index, element) { 6318 if (index === 0) { 6319 // Navbar Content 6320 class_name_tag = $(element).attr('class'); 6321 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6322 // on LI(navar) or DIV Content 6323 element_tag = $(element).prop('tagName'); 6324 if(vendor_isnew_tag == 1){ 6325 if( element_tag == 'LI'){ 6326 margin_promo = 20; 6327 }else{ 6328 margin_promo =10; 6329 } 6330 6331 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6332 } 6333 6334 if(promo_tag == 1){ 6335 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6336 } 6337 6338 if(game_ishot_tag == 1){ 6339 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
6339left:10px;top:0;z-index:10;width:35px"></div>`); 6340 } 6341 6342 } else if (index === 1) { 6343 // Lobby Content 6344 class_name_tag = $(element).attr('class'); 6345 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6346 6347 if(vendor_isnew_tag == 1){ 6348 margin_promo = 12; 6349 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6350 } 6351 6352 if(promo_tag == 1){ 6353 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6354 } 6355 6356 if(game_ishot_tag == 1){ 6357 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6358 } 6359 } 6360 }); 6361 6362 6363 6364 lobby_tag = ".lb-22613" 6365 promo_tag = "0"; 6366 game_ishot_tag = "0"; 6367 vendor_isnew_tag = "0"; 6368 margin_promo = 0; 6369 // console.log(lobby_tag); 6370 // console.log("promo", promo_tag); 6371 // console.log("game_ishot", game_ishot_tag); 6372 // console.log("vendor_isnew", vendor_isnew_tag); 6373 6374 $(lobby_tag).each(function(index, element) { 6375 if (index === 0) { 6376 // Navbar Content 6377 class_name_tag = $(element).attr('class'); 6378 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6379 // on LI(navar) or DIV Content 6380 element_tag = $(element).prop('tagName'); 6381 if(vendor_isnew_tag == 1){ 6382 if( element_tag == 'LI'){ 6383 margin_promo = 20; 6384 }else{ 6385 margin_promo =10; 6386 } 6387 6388 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6389 } 6390 6391 if(promo_tag == 1){ 6392 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6393 } 6394 6395 if(game_ishot_tag == 1){ 6396 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 6397 } 6398 6399 } else if (index === 1) { 6400 // Lobby Content 6401 class_name_tag = $(element).attr('class'); 6402 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6403 6404 if(vendor_isnew_tag == 1){ 6405 margin_promo = 12; 6406 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6407 } 6408 6409 if(promo_tag == 1){ 6410 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6411 } 6412 6413 if(game_ishot_tag == 1){ 6414 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6415 } 6416 } 6417 }); 6418 6419 6420 6421 lobby_tag = ".lb-22612" 6422 promo_tag = "0"; 6423 game_ishot_tag = "0"; 6424 vendor_isnew_tag = "0"; 6425 margin_promo = 0; 6426 // console.log(lobby_tag); 6427 // console.log("promo", promo_tag); 6428 // console.log("game_ishot", game_ishot_tag); 6429 // console.log("vendor_isnew", vendor_isnew_tag); 6430 6431 $(lobby_tag).each(function(index, element) { 6432 if (index === 0) { 6433 // Navbar Content 6434 class_name_tag = $(element).attr('class'); 6435 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6436 // on LI(navar) or DIV Content 6437 element_tag = $(element).prop('tagName'); 6438 if(vendor_isnew_tag == 1){ 6439 if( element_tag == 'LI'){ 6440 margin_promo = 20; 6441 }else{ 6442 margin_promo =10; 6443 } 6444 6445 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6446 } 6447 6448 if(promo_tag == 1){ 6449 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6450 } 6451 6452 if(game_ishot_tag == 1){ 6453 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
6453left:10px;top:0;z-index:10;width:35px"></div>`); 6454 } 6455 6456 } else if (index === 1) { 6457 // Lobby Content 6458 class_name_tag = $(element).attr('class'); 6459 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6460 6461 if(vendor_isnew_tag == 1){ 6462 margin_promo = 12; 6463 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6464 } 6465 6466 if(promo_tag == 1){ 6467 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6468 } 6469 6470 if(game_ishot_tag == 1){ 6471 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6472 } 6473 } 6474 }); 6475 6476 6477 6478 lobby_tag = ".lb-28670" 6479 promo_tag = "0"; 6480 game_ishot_tag = "0"; 6481 vendor_isnew_tag = "0"; 6482 margin_promo = 0; 6483 // console.log(lobby_tag); 6484 // console.log("promo", promo_tag); 6485 // console.log("game_ishot", game_ishot_tag); 6486 // console.log("vendor_isnew", vendor_isnew_tag); 6487 6488 $(lobby_tag).each(function(index, element) { 6489 if (index === 0) { 6490 // Navbar Content 6491 class_name_tag = $(element).attr('class'); 6492 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6493 // on LI(navar) or DIV Content 6494 element_tag = $(element).prop('tagName'); 6495 if(vendor_isnew_tag == 1){ 6496 if( element_tag == 'LI'){ 6497 margin_promo = 20; 6498 }else{ 6499 margin_promo =10; 6500 } 6501 6502 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6503 } 6504 6505 if(promo_tag == 1){ 6506 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6507 } 6508 6509 if(game_ishot_tag == 1){ 6510 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 6511 } 6512 6513 } else if (index === 1) { 6514 // Lobby Content 6515 class_name_tag = $(element).attr('class'); 6516 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6517 6518 if(vendor_isnew_tag == 1){ 6519 margin_promo = 12; 6520 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6521 } 6522 6523 if(promo_tag == 1){ 6524 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6525 } 6526 6527 if(game_ishot_tag == 1){ 6528 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6529 } 6530 } 6531 }); 6532 6533 6534 6535 lobby_tag = ".lb-15462" 6536 promo_tag = "0"; 6537 game_ishot_tag = "0"; 6538 vendor_isnew_tag = "0"; 6539 margin_promo = 0; 6540 // console.log(lobby_tag); 6541 // console.log("promo", promo_tag); 6542 // console.log("game_ishot", game_ishot_tag); 6543 // console.log("vendor_isnew", vendor_isnew_tag); 6544 6545 $(lobby_tag).each(function(index, element) { 6546 if (index === 0) { 6547 // Navbar Content 6548 class_name_tag = $(element).attr('class'); 6549 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6550 // on LI(navar) or DIV Content 6551 element_tag = $(element).prop('tagName'); 6552 if(vendor_isnew_tag == 1){ 6553 if( element_tag == 'LI'){ 6554 margin_promo = 20; 6555 }else{ 6556 margin_promo =10; 6557 } 6558 6559 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6560 } 6561 6562 if(promo_tag == 1){ 6563 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6564 } 6565 6566 if(game_ishot_tag == 1){ 6567 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
6567left:10px;top:0;z-index:10;width:35px"></div>`); 6568 } 6569 6570 } else if (index === 1) { 6571 // Lobby Content 6572 class_name_tag = $(element).attr('class'); 6573 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6574 6575 if(vendor_isnew_tag == 1){ 6576 margin_promo = 12; 6577 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6578 } 6579 6580 if(promo_tag == 1){ 6581 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6582 } 6583 6584 if(game_ishot_tag == 1){ 6585 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6586 } 6587 } 6588 }); 6589 6590 6591 6592 lobby_tag = ".lb-29302" 6593 promo_tag = "0"; 6594 game_ishot_tag = "0"; 6595 vendor_isnew_tag = "0"; 6596 margin_promo = 0; 6597 // console.log(lobby_tag); 6598 // console.log("promo", promo_tag); 6599 // console.log("game_ishot", game_ishot_tag); 6600 // console.log("vendor_isnew", vendor_isnew_tag); 6601 6602 $(lobby_tag).each(function(index, element) { 6603 if (index === 0) { 6604 // Navbar Content 6605 class_name_tag = $(element).attr('class'); 6606 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6607 // on LI(navar) or DIV Content 6608 element_tag = $(element).prop('tagName'); 6609 if(vendor_isnew_tag == 1){ 6610 if( element_tag == 'LI'){ 6611 margin_promo = 20; 6612 }else{ 6613 margin_promo =10; 6614 } 6615 6616 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6617 } 6618 6619 if(promo_tag == 1){ 6620 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6621 } 6622 6623 if(game_ishot_tag == 1){ 6624 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 6625 } 6626 6627 } else if (index === 1) { 6628 // Lobby Content 6629 class_name_tag = $(element).attr('class'); 6630 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6631 6632 if(vendor_isnew_tag == 1){ 6633 margin_promo = 12; 6634 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6635 } 6636 6637 if(promo_tag == 1){ 6638 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6639 } 6640 6641 if(game_ishot_tag == 1){ 6642 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6643 } 6644 } 6645 }); 6646 6647 6648 6649 lobby_tag = ".lb-28173" 6650 promo_tag = "0"; 6651 game_ishot_tag = "0"; 6652 vendor_isnew_tag = "0"; 6653 margin_promo = 0; 6654 // console.log(lobby_tag); 6655 // console.log("promo", promo_tag); 6656 // console.log("game_ishot", game_ishot_tag); 6657 // console.log("vendor_isnew", vendor_isnew_tag); 6658 6659 $(lobby_tag).each(function(index, element) { 6660 if (index === 0) { 6661 // Navbar Content 6662 class_name_tag = $(element).attr('class'); 6663 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6664 // on LI(navar) or DIV Content 6665 element_tag = $(element).prop('tagName'); 6666 if(vendor_isnew_tag == 1){ 6667 if( element_tag == 'LI'){ 6668 margin_promo = 20; 6669 }else{ 6670 margin_promo =10; 6671 } 6672 6673 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6674 } 6675 6676 if(promo_tag == 1){ 6677 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6678 } 6679 6680 if(game_ishot_tag == 1){ 6681 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
6681left:10px;top:0;z-index:10;width:35px"></div>`); 6682 } 6683 6684 } else if (index === 1) { 6685 // Lobby Content 6686 class_name_tag = $(element).attr('class'); 6687 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6688 6689 if(vendor_isnew_tag == 1){ 6690 margin_promo = 12; 6691 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6692 } 6693 6694 if(promo_tag == 1){ 6695 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6696 } 6697 6698 if(game_ishot_tag == 1){ 6699 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6700 } 6701 } 6702 }); 6703 6704 6705 6706 lobby_tag = ".lb-16289" 6707 promo_tag = "0"; 6708 game_ishot_tag = "0"; 6709 vendor_isnew_tag = "0"; 6710 margin_promo = 0; 6711 // console.log(lobby_tag); 6712 // console.log("promo", promo_tag); 6713 // console.log("game_ishot", game_ishot_tag); 6714 // console.log("vendor_isnew", vendor_isnew_tag); 6715 6716 $(lobby_tag).each(function(index, element) { 6717 if (index === 0) { 6718 // Navbar Content 6719 class_name_tag = $(element).attr('class'); 6720 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6721 // on LI(navar) or DIV Content 6722 element_tag = $(element).prop('tagName'); 6723 if(vendor_isnew_tag == 1){ 6724 if( element_tag == 'LI'){ 6725 margin_promo = 20; 6726 }else{ 6727 margin_promo =10; 6728 } 6729 6730 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6731 } 6732 6733 if(promo_tag == 1){ 6734 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6735 } 6736 6737 if(game_ishot_tag == 1){ 6738 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 6739 } 6740 6741 } else if (index === 1) { 6742 // Lobby Content 6743 class_name_tag = $(element).attr('class'); 6744 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6745 6746 if(vendor_isnew_tag == 1){ 6747 margin_promo = 12; 6748 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6749 } 6750 6751 if(promo_tag == 1){ 6752 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6753 } 6754 6755 if(game_ishot_tag == 1){ 6756 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6757 } 6758 } 6759 }); 6760 6761 6762 6763 lobby_tag = ".lb-16062" 6764 promo_tag = "0"; 6765 game_ishot_tag = "0"; 6766 vendor_isnew_tag = "0"; 6767 margin_promo = 0; 6768 // console.log(lobby_tag); 6769 // console.log("promo", promo_tag); 6770 // console.log("game_ishot", game_ishot_tag); 6771 // console.log("vendor_isnew", vendor_isnew_tag); 6772 6773 $(lobby_tag).each(function(index, element) { 6774 if (index === 0) { 6775 // Navbar Content 6776 class_name_tag = $(element).attr('class'); 6777 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6778 // on LI(navar) or DIV Content 6779 element_tag = $(element).prop('tagName'); 6780 if(vendor_isnew_tag == 1){ 6781 if( element_tag == 'LI'){ 6782 margin_promo = 20; 6783 }else{ 6784 margin_promo =10; 6785 } 6786 6787 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6788 } 6789 6790 if(promo_tag == 1){ 6791 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6792 } 6793 6794 if(game_ishot_tag == 1){ 6795 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
6795left:10px;top:0;z-index:10;width:35px"></div>`); 6796 } 6797 6798 } else if (index === 1) { 6799 // Lobby Content 6800 class_name_tag = $(element).attr('class'); 6801 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6802 6803 if(vendor_isnew_tag == 1){ 6804 margin_promo = 12; 6805 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6806 } 6807 6808 if(promo_tag == 1){ 6809 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6810 } 6811 6812 if(game_ishot_tag == 1){ 6813 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6814 } 6815 } 6816 }); 6817 6818 6819 6820 lobby_tag = ".lb-21281" 6821 promo_tag = "0"; 6822 game_ishot_tag = "0"; 6823 vendor_isnew_tag = "0"; 6824 margin_promo = 0; 6825 // console.log(lobby_tag); 6826 // console.log("promo", promo_tag); 6827 // console.log("game_ishot", game_ishot_tag); 6828 // console.log("vendor_isnew", vendor_isnew_tag); 6829 6830 $(lobby_tag).each(function(index, element) { 6831 if (index === 0) { 6832 // Navbar Content 6833 class_name_tag = $(element).attr('class'); 6834 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6835 // on LI(navar) or DIV Content 6836 element_tag = $(element).prop('tagName'); 6837 if(vendor_isnew_tag == 1){ 6838 if( element_tag == 'LI'){ 6839 margin_promo = 20; 6840 }else{ 6841 margin_promo =10; 6842 } 6843 6844 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6845 } 6846 6847 if(promo_tag == 1){ 6848 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6849 } 6850 6851 if(game_ishot_tag == 1){ 6852 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 6853 } 6854 6855 } else if (index === 1) { 6856 // Lobby Content 6857 class_name_tag = $(element).attr('class'); 6858 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6859 6860 if(vendor_isnew_tag == 1){ 6861 margin_promo = 12; 6862 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6863 } 6864 6865 if(promo_tag == 1){ 6866 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6867 } 6868 6869 if(game_ishot_tag == 1){ 6870 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6871 } 6872 } 6873 }); 6874 6875 6876 6877 lobby_tag = ".lb-18441" 6878 promo_tag = "0"; 6879 game_ishot_tag = "0"; 6880 vendor_isnew_tag = "0"; 6881 margin_promo = 0; 6882 // console.log(lobby_tag); 6883 // console.log("promo", promo_tag); 6884 // console.log("game_ishot", game_ishot_tag); 6885 // console.log("vendor_isnew", vendor_isnew_tag); 6886 6887 $(lobby_tag).each(function(index, element) { 6888 if (index === 0) { 6889 // Navbar Content 6890 class_name_tag = $(element).attr('class'); 6891 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6892 // on LI(navar) or DIV Content 6893 element_tag = $(element).prop('tagName'); 6894 if(vendor_isnew_tag == 1){ 6895 if( element_tag == 'LI'){ 6896 margin_promo = 20; 6897 }else{ 6898 margin_promo =10; 6899 } 6900 6901 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6902 } 6903 6904 if(promo_tag == 1){ 6905 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6906 } 6907 6908 if(game_ishot_tag == 1){ 6909 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
6909left:10px;top:0;z-index:10;width:35px"></div>`); 6910 } 6911 6912 } else if (index === 1) { 6913 // Lobby Content 6914 class_name_tag = $(element).attr('class'); 6915 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6916 6917 if(vendor_isnew_tag == 1){ 6918 margin_promo = 12; 6919 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6920 } 6921 6922 if(promo_tag == 1){ 6923 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6924 } 6925 6926 if(game_ishot_tag == 1){ 6927 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6928 } 6929 } 6930 }); 6931 6932 6933 6934 lobby_tag = ".lb-15463" 6935 promo_tag = "0"; 6936 game_ishot_tag = "0"; 6937 vendor_isnew_tag = "0"; 6938 margin_promo = 0; 6939 // console.log(lobby_tag); 6940 // console.log("promo", promo_tag); 6941 // console.log("game_ishot", game_ishot_tag); 6942 // console.log("vendor_isnew", vendor_isnew_tag); 6943 6944 $(lobby_tag).each(function(index, element) { 6945 if (index === 0) { 6946 // Navbar Content 6947 class_name_tag = $(element).attr('class'); 6948 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6949 // on LI(navar) or DIV Content 6950 element_tag = $(element).prop('tagName'); 6951 if(vendor_isnew_tag == 1){ 6952 if( element_tag == 'LI'){ 6953 margin_promo = 20; 6954 }else{ 6955 margin_promo =10; 6956 } 6957 6958 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6959 } 6960 6961 if(promo_tag == 1){ 6962 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6963 } 6964 6965 if(game_ishot_tag == 1){ 6966 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 6967 } 6968 6969 } else if (index === 1) { 6970 // Lobby Content 6971 class_name_tag = $(element).attr('class'); 6972 selector_tag = '.' + class_name_tag.split(' ').join('.'); 6973 6974 if(vendor_isnew_tag == 1){ 6975 margin_promo = 12; 6976 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 6977 } 6978 6979 if(promo_tag == 1){ 6980 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 6981 } 6982 6983 if(game_ishot_tag == 1){ 6984 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 6985 } 6986 } 6987 }); 6988 6989 6990 6991 lobby_tag = ".lb-23924" 6992 promo_tag = "0"; 6993 game_ishot_tag = "0"; 6994 vendor_isnew_tag = "0"; 6995 margin_promo = 0; 6996 // console.log(lobby_tag); 6997 // console.log("promo", promo_tag); 6998 // console.log("game_ishot", game_ishot_tag); 6999 // console.log("vendor_isnew", vendor_isnew_tag); 7000 7001 $(lobby_tag).each(function(index, element) { 7002 if (index === 0) { 7003 // Navbar Content 7004 class_name_tag = $(element).attr('class'); 7005 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7006 // on LI(navar) or DIV Content 7007 element_tag = $(element).prop('tagName'); 7008 if(vendor_isnew_tag == 1){ 7009 if( element_tag == 'LI'){ 7010 margin_promo = 20; 7011 }else{ 7012 margin_promo =10; 7013 } 7014 7015 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7016 } 7017 7018 if(promo_tag == 1){ 7019 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7020 } 7021 7022 if(game_ishot_tag == 1){ 7023 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
7023left:10px;top:0;z-index:10;width:35px"></div>`); 7024 } 7025 7026 } else if (index === 1) { 7027 // Lobby Content 7028 class_name_tag = $(element).attr('class'); 7029 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7030 7031 if(vendor_isnew_tag == 1){ 7032 margin_promo = 12; 7033 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7034 } 7035 7036 if(promo_tag == 1){ 7037 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7038 } 7039 7040 if(game_ishot_tag == 1){ 7041 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7042 } 7043 } 7044 }); 7045 7046 7047 7048 lobby_tag = ".lb-21548" 7049 promo_tag = "0"; 7050 game_ishot_tag = "0"; 7051 vendor_isnew_tag = "0"; 7052 margin_promo = 0; 7053 // console.log(lobby_tag); 7054 // console.log("promo", promo_tag); 7055 // console.log("game_ishot", game_ishot_tag); 7056 // console.log("vendor_isnew", vendor_isnew_tag); 7057 7058 $(lobby_tag).each(function(index, element) { 7059 if (index === 0) { 7060 // Navbar Content 7061 class_name_tag = $(element).attr('class'); 7062 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7063 // on LI(navar) or DIV Content 7064 element_tag = $(element).prop('tagName'); 7065 if(vendor_isnew_tag == 1){ 7066 if( element_tag == 'LI'){ 7067 margin_promo = 20; 7068 }else{ 7069 margin_promo =10; 7070 } 7071 7072 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7073 } 7074 7075 if(promo_tag == 1){ 7076 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7077 } 7078 7079 if(game_ishot_tag == 1){ 7080 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 7081 } 7082 7083 } else if (index === 1) { 7084 // Lobby Content 7085 class_name_tag = $(element).attr('class'); 7086 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7087 7088 if(vendor_isnew_tag == 1){ 7089 margin_promo = 12; 7090 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7091 } 7092 7093 if(promo_tag == 1){ 7094 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7095 } 7096 7097 if(game_ishot_tag == 1){ 7098 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7099 } 7100 } 7101 }); 7102 7103 7104 7105 lobby_tag = ".lb-25840" 7106 promo_tag = "0"; 7107 game_ishot_tag = "0"; 7108 vendor_isnew_tag = "0"; 7109 margin_promo = 0; 7110 // console.log(lobby_tag); 7111 // console.log("promo", promo_tag); 7112 // console.log("game_ishot", game_ishot_tag); 7113 // console.log("vendor_isnew", vendor_isnew_tag); 7114 7115 $(lobby_tag).each(function(index, element) { 7116 if (index === 0) { 7117 // Navbar Content 7118 class_name_tag = $(element).attr('class'); 7119 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7120 // on LI(navar) or DIV Content 7121 element_tag = $(element).prop('tagName'); 7122 if(vendor_isnew_tag == 1){ 7123 if( element_tag == 'LI'){ 7124 margin_promo = 20; 7125 }else{ 7126 margin_promo =10; 7127 } 7128 7129 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7130 } 7131 7132 if(promo_tag == 1){ 7133 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7134 } 7135 7136 if(game_ishot_tag == 1){ 7137 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
7137left:10px;top:0;z-index:10;width:35px"></div>`); 7138 } 7139 7140 } else if (index === 1) { 7141 // Lobby Content 7142 class_name_tag = $(element).attr('class'); 7143 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7144 7145 if(vendor_isnew_tag == 1){ 7146 margin_promo = 12; 7147 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7148 } 7149 7150 if(promo_tag == 1){ 7151 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7152 } 7153 7154 if(game_ishot_tag == 1){ 7155 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7156 } 7157 } 7158 }); 7159 7160 7161 7162 lobby_tag = ".lb-19988" 7163 promo_tag = "0"; 7164 game_ishot_tag = "0"; 7165 vendor_isnew_tag = "0"; 7166 margin_promo = 0; 7167 // console.log(lobby_tag); 7168 // console.log("promo", promo_tag); 7169 // console.log("game_ishot", game_ishot_tag); 7170 // console.log("vendor_isnew", vendor_isnew_tag); 7171 7172 $(lobby_tag).each(function(index, element) { 7173 if (index === 0) { 7174 // Navbar Content 7175 class_name_tag = $(element).attr('class'); 7176 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7177 // on LI(navar) or DIV Content 7178 element_tag = $(element).prop('tagName'); 7179 if(vendor_isnew_tag == 1){ 7180 if( element_tag == 'LI'){ 7181 margin_promo = 20; 7182 }else{ 7183 margin_promo =10; 7184 } 7185 7186 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7187 } 7188 7189 if(promo_tag == 1){ 7190 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7191 } 7192 7193 if(game_ishot_tag == 1){ 7194 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 7195 } 7196 7197 } else if (index === 1) { 7198 // Lobby Content 7199 class_name_tag = $(element).attr('class'); 7200 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7201 7202 if(vendor_isnew_tag == 1){ 7203 margin_promo = 12; 7204 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7205 } 7206 7207 if(promo_tag == 1){ 7208 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7209 } 7210 7211 if(game_ishot_tag == 1){ 7212 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7213 } 7214 } 7215 }); 7216 7217 7218 7219 lobby_tag = ".lb-17529" 7220 promo_tag = "0"; 7221 game_ishot_tag = "0"; 7222 vendor_isnew_tag = "0"; 7223 margin_promo = 0; 7224 // console.log(lobby_tag); 7225 // console.log("promo", promo_tag); 7226 // console.log("game_ishot", game_ishot_tag); 7227 // console.log("vendor_isnew", vendor_isnew_tag); 7228 7229 $(lobby_tag).each(function(index, element) { 7230 if (index === 0) { 7231 // Navbar Content 7232 class_name_tag = $(element).attr('class'); 7233 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7234 // on LI(navar) or DIV Content 7235 element_tag = $(element).prop('tagName'); 7236 if(vendor_isnew_tag == 1){ 7237 if( element_tag == 'LI'){ 7238 margin_promo = 20; 7239 }else{ 7240 margin_promo =10; 7241 } 7242 7243 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7244 } 7245 7246 if(promo_tag == 1){ 7247 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7248 } 7249 7250 if(game_ishot_tag == 1){ 7251 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
7251left:10px;top:0;z-index:10;width:35px"></div>`); 7252 } 7253 7254 } else if (index === 1) { 7255 // Lobby Content 7256 class_name_tag = $(element).attr('class'); 7257 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7258 7259 if(vendor_isnew_tag == 1){ 7260 margin_promo = 12; 7261 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7262 } 7263 7264 if(promo_tag == 1){ 7265 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7266 } 7267 7268 if(game_ishot_tag == 1){ 7269 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7270 } 7271 } 7272 }); 7273 7274 7275 7276 lobby_tag = ".lb-17544" 7277 promo_tag = "0"; 7278 game_ishot_tag = "0"; 7279 vendor_isnew_tag = "0"; 7280 margin_promo = 0; 7281 // console.log(lobby_tag); 7282 // console.log("promo", promo_tag); 7283 // console.log("game_ishot", game_ishot_tag); 7284 // console.log("vendor_isnew", vendor_isnew_tag); 7285 7286 $(lobby_tag).each(function(index, element) { 7287 if (index === 0) { 7288 // Navbar Content 7289 class_name_tag = $(element).attr('class'); 7290 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7291 // on LI(navar) or DIV Content 7292 element_tag = $(element).prop('tagName'); 7293 if(vendor_isnew_tag == 1){ 7294 if( element_tag == 'LI'){ 7295 margin_promo = 20; 7296 }else{ 7297 margin_promo =10; 7298 } 7299 7300 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7301 } 7302 7303 if(promo_tag == 1){ 7304 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7305 } 7306 7307 if(game_ishot_tag == 1){ 7308 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 7309 } 7310 7311 } else if (index === 1) { 7312 // Lobby Content 7313 class_name_tag = $(element).attr('class'); 7314 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7315 7316 if(vendor_isnew_tag == 1){ 7317 margin_promo = 12; 7318 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7319 } 7320 7321 if(promo_tag == 1){ 7322 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7323 } 7324 7325 if(game_ishot_tag == 1){ 7326 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7327 } 7328 } 7329 }); 7330 7331 7332 7333 lobby_tag = ".lb-26614" 7334 promo_tag = "0"; 7335 game_ishot_tag = "0"; 7336 vendor_isnew_tag = "0"; 7337 margin_promo = 0; 7338 // console.log(lobby_tag); 7339 // console.log("promo", promo_tag); 7340 // console.log("game_ishot", game_ishot_tag); 7341 // console.log("vendor_isnew", vendor_isnew_tag); 7342 7343 $(lobby_tag).each(function(index, element) { 7344 if (index === 0) { 7345 // Navbar Content 7346 class_name_tag = $(element).attr('class'); 7347 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7348 // on LI(navar) or DIV Content 7349 element_tag = $(element).prop('tagName'); 7350 if(vendor_isnew_tag == 1){ 7351 if( element_tag == 'LI'){ 7352 margin_promo = 20; 7353 }else{ 7354 margin_promo =10; 7355 } 7356 7357 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7358 } 7359 7360 if(promo_tag == 1){ 7361 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7362 } 7363 7364 if(game_ishot_tag == 1){ 7365 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
7365left:10px;top:0;z-index:10;width:35px"></div>`); 7366 } 7367 7368 } else if (index === 1) { 7369 // Lobby Content 7370 class_name_tag = $(element).attr('class'); 7371 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7372 7373 if(vendor_isnew_tag == 1){ 7374 margin_promo = 12; 7375 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7376 } 7377 7378 if(promo_tag == 1){ 7379 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7380 } 7381 7382 if(game_ishot_tag == 1){ 7383 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7384 } 7385 } 7386 }); 7387 7388 7389 7390 lobby_tag = ".lb-29232" 7391 promo_tag = "0"; 7392 game_ishot_tag = "0"; 7393 vendor_isnew_tag = "0"; 7394 margin_promo = 0; 7395 // console.log(lobby_tag); 7396 // console.log("promo", promo_tag); 7397 // console.log("game_ishot", game_ishot_tag); 7398 // console.log("vendor_isnew", vendor_isnew_tag); 7399 7400 $(lobby_tag).each(function(index, element) { 7401 if (index === 0) { 7402 // Navbar Content 7403 class_name_tag = $(element).attr('class'); 7404 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7405 // on LI(navar) or DIV Content 7406 element_tag = $(element).prop('tagName'); 7407 if(vendor_isnew_tag == 1){ 7408 if( element_tag == 'LI'){ 7409 margin_promo = 20; 7410 }else{ 7411 margin_promo =10; 7412 } 7413 7414 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7415 } 7416 7417 if(promo_tag == 1){ 7418 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7419 } 7420 7421 if(game_ishot_tag == 1){ 7422 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 7423 } 7424 7425 } else if (index === 1) { 7426 // Lobby Content 7427 class_name_tag = $(element).attr('class'); 7428 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7429 7430 if(vendor_isnew_tag == 1){ 7431 margin_promo = 12; 7432 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7433 } 7434 7435 if(promo_tag == 1){ 7436 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7437 } 7438 7439 if(game_ishot_tag == 1){ 7440 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7441 } 7442 } 7443 }); 7444 7445 7446 7447 lobby_tag = ".lb-29304" 7448 promo_tag = "0"; 7449 game_ishot_tag = "0"; 7450 vendor_isnew_tag = "0"; 7451 margin_promo = 0; 7452 // console.log(lobby_tag); 7453 // console.log("promo", promo_tag); 7454 // console.log("game_ishot", game_ishot_tag); 7455 // console.log("vendor_isnew", vendor_isnew_tag); 7456 7457 $(lobby_tag).each(function(index, element) { 7458 if (index === 0) { 7459 // Navbar Content 7460 class_name_tag = $(element).attr('class'); 7461 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7462 // on LI(navar) or DIV Content 7463 element_tag = $(element).prop('tagName'); 7464 if(vendor_isnew_tag == 1){ 7465 if( element_tag == 'LI'){ 7466 margin_promo = 20; 7467 }else{ 7468 margin_promo =10; 7469 } 7470 7471 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7472 } 7473 7474 if(promo_tag == 1){ 7475 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7476 } 7477 7478 if(game_ishot_tag == 1){ 7479 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
7479left:10px;top:0;z-index:10;width:35px"></div>`); 7480 } 7481 7482 } else if (index === 1) { 7483 // Lobby Content 7484 class_name_tag = $(element).attr('class'); 7485 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7486 7487 if(vendor_isnew_tag == 1){ 7488 margin_promo = 12; 7489 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7490 } 7491 7492 if(promo_tag == 1){ 7493 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7494 } 7495 7496 if(game_ishot_tag == 1){ 7497 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7498 } 7499 } 7500 }); 7501 7502 7503 7504 lobby_tag = ".lb-29651" 7505 promo_tag = "0"; 7506 game_ishot_tag = "0"; 7507 vendor_isnew_tag = "0"; 7508 margin_promo = 0; 7509 // console.log(lobby_tag); 7510 // console.log("promo", promo_tag); 7511 // console.log("game_ishot", game_ishot_tag); 7512 // console.log("vendor_isnew", vendor_isnew_tag); 7513 7514 $(lobby_tag).each(function(index, element) { 7515 if (index === 0) { 7516 // Navbar Content 7517 class_name_tag = $(element).attr('class'); 7518 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7519 // on LI(navar) or DIV Content 7520 element_tag = $(element).prop('tagName'); 7521 if(vendor_isnew_tag == 1){ 7522 if( element_tag == 'LI'){ 7523 margin_promo = 20; 7524 }else{ 7525 margin_promo =10; 7526 } 7527 7528 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7529 } 7530 7531 if(promo_tag == 1){ 7532 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7533 } 7534 7535 if(game_ishot_tag == 1){ 7536 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 7537 } 7538 7539 } else if (index === 1) { 7540 // Lobby Content 7541 class_name_tag = $(element).attr('class'); 7542 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7543 7544 if(vendor_isnew_tag == 1){ 7545 margin_promo = 12; 7546 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7547 } 7548 7549 if(promo_tag == 1){ 7550 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7551 } 7552 7553 if(game_ishot_tag == 1){ 7554 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7555 } 7556 } 7557 }); 7558 7559 7560 7561 lobby_tag = ".lb-19231" 7562 promo_tag = "0"; 7563 game_ishot_tag = "0"; 7564 vendor_isnew_tag = "0"; 7565 margin_promo = 0; 7566 // console.log(lobby_tag); 7567 // console.log("promo", promo_tag); 7568 // console.log("game_ishot", game_ishot_tag); 7569 // console.log("vendor_isnew", vendor_isnew_tag); 7570 7571 $(lobby_tag).each(function(index, element) { 7572 if (index === 0) { 7573 // Navbar Content 7574 class_name_tag = $(element).attr('class'); 7575 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7576 // on LI(navar) or DIV Content 7577 element_tag = $(element).prop('tagName'); 7578 if(vendor_isnew_tag == 1){ 7579 if( element_tag == 'LI'){ 7580 margin_promo = 20; 7581 }else{ 7582 margin_promo =10; 7583 } 7584 7585 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7586 } 7587 7588 if(promo_tag == 1){ 7589 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7590 } 7591 7592 if(game_ishot_tag == 1){ 7593 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
7593left:10px;top:0;z-index:10;width:35px"></div>`); 7594 } 7595 7596 } else if (index === 1) { 7597 // Lobby Content 7598 class_name_tag = $(element).attr('class'); 7599 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7600 7601 if(vendor_isnew_tag == 1){ 7602 margin_promo = 12; 7603 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7604 } 7605 7606 if(promo_tag == 1){ 7607 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7608 } 7609 7610 if(game_ishot_tag == 1){ 7611 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7612 } 7613 } 7614 }); 7615 7616 7617 7618 lobby_tag = ".lb-15614" 7619 promo_tag = "0"; 7620 game_ishot_tag = "0"; 7621 vendor_isnew_tag = "0"; 7622 margin_promo = 0; 7623 // console.log(lobby_tag); 7624 // console.log("promo", promo_tag); 7625 // console.log("game_ishot", game_ishot_tag); 7626 // console.log("vendor_isnew", vendor_isnew_tag); 7627 7628 $(lobby_tag).each(function(index, element) { 7629 if (index === 0) { 7630 // Navbar Content 7631 class_name_tag = $(element).attr('class'); 7632 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7633 // on LI(navar) or DIV Content 7634 element_tag = $(element).prop('tagName'); 7635 if(vendor_isnew_tag == 1){ 7636 if( element_tag == 'LI'){ 7637 margin_promo = 20; 7638 }else{ 7639 margin_promo =10; 7640 } 7641 7642 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7643 } 7644 7645 if(promo_tag == 1){ 7646 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7647 } 7648 7649 if(game_ishot_tag == 1){ 7650 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 7651 } 7652 7653 } else if (index === 1) { 7654 // Lobby Content 7655 class_name_tag = $(element).attr('class'); 7656 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7657 7658 if(vendor_isnew_tag == 1){ 7659 margin_promo = 12; 7660 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7661 } 7662 7663 if(promo_tag == 1){ 7664 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7665 } 7666 7667 if(game_ishot_tag == 1){ 7668 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7669 } 7670 } 7671 }); 7672 7673 7674 7675 lobby_tag = ".lb-25839" 7676 promo_tag = "0"; 7677 game_ishot_tag = "0"; 7678 vendor_isnew_tag = "0"; 7679 margin_promo = 0; 7680 // console.log(lobby_tag); 7681 // console.log("promo", promo_tag); 7682 // console.log("game_ishot", game_ishot_tag); 7683 // console.log("vendor_isnew", vendor_isnew_tag); 7684 7685 $(lobby_tag).each(function(index, element) { 7686 if (index === 0) { 7687 // Navbar Content 7688 class_name_tag = $(element).attr('class'); 7689 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7690 // on LI(navar) or DIV Content 7691 element_tag = $(element).prop('tagName'); 7692 if(vendor_isnew_tag == 1){ 7693 if( element_tag == 'LI'){ 7694 margin_promo = 20; 7695 }else{ 7696 margin_promo =10; 7697 } 7698 7699 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7700 } 7701 7702 if(promo_tag == 1){ 7703 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7704 } 7705 7706 if(game_ishot_tag == 1){ 7707 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
7707left:10px;top:0;z-index:10;width:35px"></div>`); 7708 } 7709 7710 } else if (index === 1) { 7711 // Lobby Content 7712 class_name_tag = $(element).attr('class'); 7713 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7714 7715 if(vendor_isnew_tag == 1){ 7716 margin_promo = 12; 7717 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7718 } 7719 7720 if(promo_tag == 1){ 7721 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7722 } 7723 7724 if(game_ishot_tag == 1){ 7725 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7726 } 7727 } 7728 }); 7729 7730 7731 7732 lobby_tag = ".lb-26597" 7733 promo_tag = "0"; 7734 game_ishot_tag = "0"; 7735 vendor_isnew_tag = "0"; 7736 margin_promo = 0; 7737 // console.log(lobby_tag); 7738 // console.log("promo", promo_tag); 7739 // console.log("game_ishot", game_ishot_tag); 7740 // console.log("vendor_isnew", vendor_isnew_tag); 7741 7742 $(lobby_tag).each(function(index, element) { 7743 if (index === 0) { 7744 // Navbar Content 7745 class_name_tag = $(element).attr('class'); 7746 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7747 // on LI(navar) or DIV Content 7748 element_tag = $(element).prop('tagName'); 7749 if(vendor_isnew_tag == 1){ 7750 if( element_tag == 'LI'){ 7751 margin_promo = 20; 7752 }else{ 7753 margin_promo =10; 7754 } 7755 7756 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7757 } 7758 7759 if(promo_tag == 1){ 7760 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7761 } 7762 7763 if(game_ishot_tag == 1){ 7764 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 7765 } 7766 7767 } else if (index === 1) { 7768 // Lobby Content 7769 class_name_tag = $(element).attr('class'); 7770 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7771 7772 if(vendor_isnew_tag == 1){ 7773 margin_promo = 12; 7774 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7775 } 7776 7777 if(promo_tag == 1){ 7778 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7779 } 7780 7781 if(game_ishot_tag == 1){ 7782 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7783 } 7784 } 7785 }); 7786 7787 7788
7789 lobby_tag = ".lb-20809" 7790 promo_tag = "0"; 7791 game_ishot_tag = "0"; 7792 vendor_isnew_tag = "0"; 7793 margin_promo = 0; 7794 // console.log(lobby_tag); 7795 // console.log("promo", promo_tag); 7796 // console.log("game_ishot", game_ishot_tag); 7797 // console.log("vendor_isnew", vendor_isnew_tag); 7798 7799 $(lobby_tag).each(function(index, element) { 7800 if (index === 0) { 7801 // Navbar Content 7802 class_name_tag = $(element).attr('class'); 7803 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7804 // on LI(navar) or DIV Content 7805 element_tag = $(element).prop('tagName'); 7806 if(vendor_isnew_tag == 1){ 7807 if( element_tag == 'LI'){ 7808 margin_promo = 20; 7809 }else{ 7810 margin_promo =10; 7811 } 7812 7813 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7814 } 7815 7816 if(promo_tag == 1){ 7817 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7818 } 7819 7820 if(game_ishot_tag == 1){ 7821 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 7822 } 7823 7824 } else if (index === 1) { 7825 // Lobby Content 7826 class_name_tag = $(element).attr('class'); 7827 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7828 7829 if(vendor_isnew_tag == 1){ 7830 margin_promo = 12; 7831 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7832 } 7833 7834 if(promo_tag == 1){ 7835 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7836 } 7837 7838 if(game_ishot_tag == 1){ 7839 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7840 } 7841 } 7842 }); 7843 7844 7845 7846 lobby_tag = ".lb-16499" 7847 promo_tag = "0"; 7848 game_ishot_tag = "0"; 7849 vendor_isnew_tag = "0"; 7850 margin_promo = 0; 7851 // console.log(lobby_tag); 7852 // console.log("promo", promo_tag); 7853 // console.log("game_ishot", game_ishot_tag); 7854 // console.log("vendor_isnew", vendor_isnew_tag); 7855 7856 $(lobby_tag).each(function(index, element) { 7857 if (index === 0) { 7858 // Navbar Content 7859 class_name_tag = $(element).attr('class'); 7860 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7861 // on LI(navar) or DIV Content 7862 element_tag = $(element).prop('tagName'); 7863 if(vendor_isnew_tag == 1){ 7864 if( element_tag == 'LI'){ 7865 margin_promo = 20; 7866 }else{ 7867 margin_promo =10; 7868 } 7869 7870 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7871 } 7872 7873 if(promo_tag == 1){ 7874 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7875 } 7876 7877 if(game_ishot_tag == 1){ 7878 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
7878left:10px;top:0;z-index:10;width:35px"></div>`); 7879 } 7880 7881 } else if (index === 1) { 7882 // Lobby Content 7883 class_name_tag = $(element).attr('class'); 7884 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7885 7886 if(vendor_isnew_tag == 1){ 7887 margin_promo = 12; 7888 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7889 } 7890 7891 if(promo_tag == 1){ 7892 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7893 } 7894 7895 if(game_ishot_tag == 1){ 7896 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7897 } 7898 } 7899 }); 7900 7901 7902 7903 lobby_tag = ".lb-17554" 7904 promo_tag = "0"; 7905 game_ishot_tag = "0"; 7906 vendor_isnew_tag = "0"; 7907 margin_promo = 0; 7908 // console.log(lobby_tag); 7909 // console.log("promo", promo_tag); 7910 // console.log("game_ishot", game_ishot_tag); 7911 // console.log("vendor_isnew", vendor_isnew_tag); 7912 7913 $(lobby_tag).each(function(index, element) { 7914 if (index === 0) { 7915 // Navbar Content 7916 class_name_tag = $(element).attr('class'); 7917 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7918 // on LI(navar) or DIV Content 7919 element_tag = $(element).prop('tagName'); 7920 if(vendor_isnew_tag == 1){ 7921 if( element_tag == 'LI'){ 7922 margin_promo = 20; 7923 }else{ 7924 margin_promo =10; 7925 } 7926 7927 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7928 } 7929 7930 if(promo_tag == 1){ 7931 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7932 } 7933 7934 if(game_ishot_tag == 1){ 7935 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 7936 } 7937 7938 } else if (index === 1) { 7939 // Lobby Content 7940 class_name_tag = $(element).attr('class'); 7941 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7942 7943 if(vendor_isnew_tag == 1){ 7944 margin_promo = 12; 7945 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7946 } 7947 7948 if(promo_tag == 1){ 7949 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7950 } 7951 7952 if(game_ishot_tag == 1){ 7953 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 7954 } 7955 } 7956 }); 7957 7958 7959 7960 lobby_tag = ".lb-16502" 7961 promo_tag = "0"; 7962 game_ishot_tag = "0"; 7963 vendor_isnew_tag = "0"; 7964 margin_promo = 0; 7965 // console.log(lobby_tag); 7966 // console.log("promo", promo_tag); 7967 // console.log("game_ishot", game_ishot_tag); 7968 // console.log("vendor_isnew", vendor_isnew_tag); 7969 7970 $(lobby_tag).each(function(index, element) { 7971 if (index === 0) { 7972 // Navbar Content 7973 class_name_tag = $(element).attr('class'); 7974 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7975 // on LI(navar) or DIV Content 7976 element_tag = $(element).prop('tagName'); 7977 if(vendor_isnew_tag == 1){ 7978 if( element_tag == 'LI'){ 7979 margin_promo = 20; 7980 }else{ 7981 margin_promo =10; 7982 } 7983 7984 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 7985 } 7986 7987 if(promo_tag == 1){ 7988 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 7989 } 7990 7991 if(game_ishot_tag == 1){ 7992 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
7992left:10px;top:0;z-index:10;width:35px"></div>`); 7993 } 7994 7995 } else if (index === 1) { 7996 // Lobby Content 7997 class_name_tag = $(element).attr('class'); 7998 selector_tag = '.' + class_name_tag.split(' ').join('.'); 7999 8000 if(vendor_isnew_tag == 1){ 8001 margin_promo = 12; 8002 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8003 } 8004 8005 if(promo_tag == 1){ 8006 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8007 } 8008 8009 if(game_ishot_tag == 1){ 8010 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8011 } 8012 } 8013 }); 8014 8015 8016 8017 lobby_tag = ".lb-15461" 8018 promo_tag = "0"; 8019 game_ishot_tag = "0"; 8020 vendor_isnew_tag = "0"; 8021 margin_promo = 0; 8022 // console.log(lobby_tag); 8023 // console.log("promo", promo_tag); 8024 // console.log("game_ishot", game_ishot_tag); 8025 // console.log("vendor_isnew", vendor_isnew_tag); 8026 8027 $(lobby_tag).each(function(index, element) { 8028 if (index === 0) { 8029 // Navbar Content 8030 class_name_tag = $(element).attr('class'); 8031 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8032 // on LI(navar) or DIV Content 8033 element_tag = $(element).prop('tagName'); 8034 if(vendor_isnew_tag == 1){ 8035 if( element_tag == 'LI'){ 8036 margin_promo = 20; 8037 }else{ 8038 margin_promo =10; 8039 } 8040 8041 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8042 } 8043 8044 if(promo_tag == 1){ 8045 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8046 } 8047 8048 if(game_ishot_tag == 1){ 8049 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 8050 } 8051 8052 } else if (index === 1) { 8053 // Lobby Content 8054 class_name_tag = $(element).attr('class'); 8055 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8056 8057 if(vendor_isnew_tag == 1){ 8058 margin_promo = 12; 8059 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8060 } 8061 8062 if(promo_tag == 1){ 8063 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8064 } 8065 8066 if(game_ishot_tag == 1){ 8067 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8068 } 8069 } 8070 }); 8071 8072 8073 8074 lobby_tag = ".lb-17995" 8075 promo_tag = "0"; 8076 game_ishot_tag = "0"; 8077 vendor_isnew_tag = "0"; 8078 margin_promo = 0; 8079 // console.log(lobby_tag); 8080 // console.log("promo", promo_tag); 8081 // console.log("game_ishot", game_ishot_tag); 8082 // console.log("vendor_isnew", vendor_isnew_tag); 8083 8084 $(lobby_tag).each(function(index, element) { 8085 if (index === 0) { 8086 // Navbar Content 8087 class_name_tag = $(element).attr('class'); 8088 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8089 // on LI(navar) or DIV Content 8090 element_tag = $(element).prop('tagName'); 8091 if(vendor_isnew_tag == 1){ 8092 if( element_tag == 'LI'){ 8093 margin_promo = 20; 8094 }else{ 8095 margin_promo =10; 8096 } 8097 8098 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8099 } 8100 8101 if(promo_tag == 1){ 8102 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8103 } 8104 8105 if(game_ishot_tag == 1){ 8106 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
8106left:10px;top:0;z-index:10;width:35px"></div>`); 8107 } 8108 8109 } else if (index === 1) { 8110 // Lobby Content 8111 class_name_tag = $(element).attr('class'); 8112 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8113 8114 if(vendor_isnew_tag == 1){ 8115 margin_promo = 12; 8116 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8117 } 8118 8119 if(promo_tag == 1){ 8120 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8121 } 8122 8123 if(game_ishot_tag == 1){ 8124 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8125 } 8126 } 8127 }); 8128 8129 8130 8131 lobby_tag = ".lb-18380" 8132 promo_tag = "0"; 8133 game_ishot_tag = "0"; 8134 vendor_isnew_tag = "0"; 8135 margin_promo = 0; 8136 // console.log(lobby_tag); 8137 // console.log("promo", promo_tag); 8138 // console.log("game_ishot", game_ishot_tag); 8139 // console.log("vendor_isnew", vendor_isnew_tag); 8140 8141 $(lobby_tag).each(function(index, element) { 8142 if (index === 0) { 8143 // Navbar Content 8144 class_name_tag = $(element).attr('class'); 8145 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8146 // on LI(navar) or DIV Content 8147 element_tag = $(element).prop('tagName'); 8148 if(vendor_isnew_tag == 1){ 8149 if( element_tag == 'LI'){ 8150 margin_promo = 20; 8151 }else{ 8152 margin_promo =10; 8153 } 8154 8155 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8156 } 8157 8158 if(promo_tag == 1){ 8159 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8160 } 8161 8162 if(game_ishot_tag == 1){ 8163 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 8164 } 8165 8166 } else if (index === 1) { 8167 // Lobby Content 8168 class_name_tag = $(element).attr('class'); 8169 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8170 8171 if(vendor_isnew_tag == 1){ 8172 margin_promo = 12; 8173 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8174 } 8175 8176 if(promo_tag == 1){ 8177 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8178 } 8179 8180 if(game_ishot_tag == 1){ 8181 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8182 } 8183 } 8184 }); 8185 8186 8187 8188 lobby_tag = ".lb-15459" 8189 promo_tag = "0"; 8190 game_ishot_tag = "0"; 8191 vendor_isnew_tag = "0"; 8192 margin_promo = 0; 8193 // console.log(lobby_tag); 8194 // console.log("promo", promo_tag); 8195 // console.log("game_ishot", game_ishot_tag); 8196 // console.log("vendor_isnew", vendor_isnew_tag); 8197 8198 $(lobby_tag).each(function(index, element) { 8199 if (index === 0) { 8200 // Navbar Content 8201 class_name_tag = $(element).attr('class'); 8202 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8203 // on LI(navar) or DIV Content 8204 element_tag = $(element).prop('tagName'); 8205 if(vendor_isnew_tag == 1){ 8206 if( element_tag == 'LI'){ 8207 margin_promo = 20; 8208 }else{ 8209 margin_promo =10; 8210 } 8211 8212 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8213 } 8214 8215 if(promo_tag == 1){ 8216 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8217 } 8218 8219 if(game_ishot_tag == 1){ 8220 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
8220left:10px;top:0;z-index:10;width:35px"></div>`); 8221 } 8222 8223 } else if (index === 1) { 8224 // Lobby Content 8225 class_name_tag = $(element).attr('class'); 8226 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8227 8228 if(vendor_isnew_tag == 1){ 8229 margin_promo = 12; 8230 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8231 } 8232 8233 if(promo_tag == 1){ 8234 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8235 } 8236 8237 if(game_ishot_tag == 1){ 8238 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8239 } 8240 } 8241 }); 8242 8243 8244 8245 lobby_tag = ".lb-29305" 8246 promo_tag = "0"; 8247 game_ishot_tag = "0"; 8248 vendor_isnew_tag = "0"; 8249 margin_promo = 0; 8250 // console.log(lobby_tag); 8251 // console.log("promo", promo_tag); 8252 // console.log("game_ishot", game_ishot_tag); 8253 // console.log("vendor_isnew", vendor_isnew_tag); 8254 8255 $(lobby_tag).each(function(index, element) { 8256 if (index === 0) { 8257 // Navbar Content 8258 class_name_tag = $(element).attr('class'); 8259 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8260 // on LI(navar) or DIV Content 8261 element_tag = $(element).prop('tagName'); 8262 if(vendor_isnew_tag == 1){ 8263 if( element_tag == 'LI'){ 8264 margin_promo = 20; 8265 }else{ 8266 margin_promo =10; 8267 } 8268 8269 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8270 } 8271 8272 if(promo_tag == 1){ 8273 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8274 } 8275 8276 if(game_ishot_tag == 1){ 8277 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 8278 } 8279 8280 } else if (index === 1) { 8281 // Lobby Content 8282 class_name_tag = $(element).attr('class'); 8283 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8284 8285 if(vendor_isnew_tag == 1){ 8286 margin_promo = 12; 8287 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8288 } 8289 8290 if(promo_tag == 1){ 8291 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8292 } 8293 8294 if(game_ishot_tag == 1){ 8295 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8296 } 8297 } 8298 }); 8299 8300 8301 8302 lobby_tag = ".lb-29129" 8303 promo_tag = "0"; 8304 game_ishot_tag = "0"; 8305 vendor_isnew_tag = "0"; 8306 margin_promo = 0; 8307 // console.log(lobby_tag); 8308 // console.log("promo", promo_tag); 8309 // console.log("game_ishot", game_ishot_tag); 8310 // console.log("vendor_isnew", vendor_isnew_tag); 8311 8312 $(lobby_tag).each(function(index, element) { 8313 if (index === 0) { 8314 // Navbar Content 8315 class_name_tag = $(element).attr('class'); 8316 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8317 // on LI(navar) or DIV Content 8318 element_tag = $(element).prop('tagName'); 8319 if(vendor_isnew_tag == 1){ 8320 if( element_tag == 'LI'){ 8321 margin_promo = 20; 8322 }else{ 8323 margin_promo =10; 8324 } 8325 8326 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8327 } 8328 8329 if(promo_tag == 1){ 8330 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8331 } 8332 8333 if(game_ishot_tag == 1){ 8334 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
8334left:10px;top:0;z-index:10;width:35px"></div>`); 8335 } 8336 8337 } else if (index === 1) { 8338 // Lobby Content 8339 class_name_tag = $(element).attr('class'); 8340 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8341 8342 if(vendor_isnew_tag == 1){ 8343 margin_promo = 12; 8344 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8345 } 8346 8347 if(promo_tag == 1){ 8348 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8349 } 8350 8351 if(game_ishot_tag == 1){ 8352 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8353 } 8354 } 8355 }); 8356 8357 8358 8359 lobby_tag = ".lb-30139" 8360 promo_tag = "0"; 8361 game_ishot_tag = "0"; 8362 vendor_isnew_tag = "0"; 8363 margin_promo = 0; 8364 // console.log(lobby_tag); 8365 // console.log("promo", promo_tag); 8366 // console.log("game_ishot", game_ishot_tag); 8367 // console.log("vendor_isnew", vendor_isnew_tag); 8368 8369 $(lobby_tag).each(function(index, element) { 8370 if (index === 0) { 8371 // Navbar Content 8372 class_name_tag = $(element).attr('class'); 8373 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8374 // on LI(navar) or DIV Content 8375 element_tag = $(element).prop('tagName'); 8376 if(vendor_isnew_tag == 1){ 8377 if( element_tag == 'LI'){ 8378 margin_promo = 20; 8379 }else{ 8380 margin_promo =10; 8381 } 8382 8383 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8384 } 8385 8386 if(promo_tag == 1){ 8387 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8388 } 8389 8390 if(game_ishot_tag == 1){ 8391 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 8392 } 8393 8394 } else if (index === 1) { 8395 // Lobby Content 8396 class_name_tag = $(element).attr('class'); 8397 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8398 8399 if(vendor_isnew_tag == 1){ 8400 margin_promo = 12; 8401 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8402 } 8403 8404 if(promo_tag == 1){ 8405 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8406 } 8407 8408 if(game_ishot_tag == 1){ 8409 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8410 } 8411 } 8412 }); 8413 8414 8415
8416 lobby_tag = ".lb-2010" 8417 promo_tag = "0"; 8418 game_ishot_tag = "0"; 8419 vendor_isnew_tag = "0"; 8420 margin_promo = 0; 8421 // console.log(lobby_tag); 8422 // console.log("promo", promo_tag); 8423 // console.log("game_ishot", game_ishot_tag); 8424 // console.log("vendor_isnew", vendor_isnew_tag); 8425 8426 $(lobby_tag).each(function(index, element) { 8427 if (index === 0) { 8428 // Navbar Content 8429 class_name_tag = $(element).attr('class'); 8430 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8431 // on LI(navar) or DIV Content 8432 element_tag = $(element).prop('tagName'); 8433 if(vendor_isnew_tag == 1){ 8434 if( element_tag == 'LI'){ 8435 margin_promo = 20; 8436 }else{ 8437 margin_promo =10; 8438 } 8439 8440 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8441 } 8442 8443 if(promo_tag == 1){ 8444 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8445 } 8446 8447 if(game_ishot_tag == 1){ 8448 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 8449 } 8450 8451 } else if (index === 1) { 8452 // Lobby Content 8453 class_name_tag = $(element).attr('class'); 8454 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8455 8456 if(vendor_isnew_tag == 1){ 8457 margin_promo = 12; 8458 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8459 } 8460 8461 if(promo_tag == 1){ 8462 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8463 } 8464 8465 if(game_ishot_tag == 1){ 8466 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8467 } 8468 } 8469 }); 8470 8471 8472 8473 lobby_tag = ".lb-14938" 8474 promo_tag = "0"; 8475 game_ishot_tag = "0"; 8476 vendor_isnew_tag = "0"; 8477 margin_promo = 0; 8478 // console.log(lobby_tag); 8479 // console.log("promo", promo_tag); 8480 // console.log("game_ishot", game_ishot_tag); 8481 // console.log("vendor_isnew", vendor_isnew_tag); 8482 8483 $(lobby_tag).each(function(index, element) { 8484 if (index === 0) { 8485 // Navbar Content 8486 class_name_tag = $(element).attr('class'); 8487 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8488 // on LI(navar) or DIV Content 8489 element_tag = $(element).prop('tagName'); 8490 if(vendor_isnew_tag == 1){ 8491 if( element_tag == 'LI'){ 8492 margin_promo = 20; 8493 }else{ 8494 margin_promo =10; 8495 } 8496 8497 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8498 } 8499 8500 if(promo_tag == 1){ 8501 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8502 } 8503 8504 if(game_ishot_tag == 1){ 8505 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
8505left:10px;top:0;z-index:10;width:35px"></div>`); 8506 } 8507 8508 } else if (index === 1) { 8509 // Lobby Content 8510 class_name_tag = $(element).attr('class'); 8511 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8512 8513 if(vendor_isnew_tag == 1){ 8514 margin_promo = 12; 8515 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8516 } 8517 8518 if(promo_tag == 1){ 8519 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8520 } 8521 8522 if(game_ishot_tag == 1){ 8523 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8524 } 8525 } 8526 }); 8527 8528 8529 8530 lobby_tag = ".lb-15462" 8531 promo_tag = "0"; 8532 game_ishot_tag = "0"; 8533 vendor_isnew_tag = "0"; 8534 margin_promo = 0; 8535 // console.log(lobby_tag); 8536 // console.log("promo", promo_tag); 8537 // console.log("game_ishot", game_ishot_tag); 8538 // console.log("vendor_isnew", vendor_isnew_tag); 8539 8540 $(lobby_tag).each(function(index, element) { 8541 if (index === 0) { 8542 // Navbar Content 8543 class_name_tag = $(element).attr('class'); 8544 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8545 // on LI(navar) or DIV Content 8546 element_tag = $(element).prop('tagName'); 8547 if(vendor_isnew_tag == 1){ 8548 if( element_tag == 'LI'){ 8549 margin_promo = 20; 8550 }else{ 8551 margin_promo =10; 8552 } 8553 8554 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8555 } 8556 8557 if(promo_tag == 1){ 8558 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8559 } 8560 8561 if(game_ishot_tag == 1){ 8562 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 8563 } 8564 8565 } else if (index === 1) { 8566 // Lobby Content 8567 class_name_tag = $(element).attr('class'); 8568 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8569 8570 if(vendor_isnew_tag == 1){ 8571 margin_promo = 12; 8572 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8573 } 8574 8575 if(promo_tag == 1){ 8576 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8577 } 8578 8579 if(game_ishot_tag == 1){ 8580 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8581 } 8582 } 8583 }); 8584 8585 8586 8587 lobby_tag = ".lb-160" 8588 promo_tag = "1"; 8589 game_ishot_tag = "0"; 8590 vendor_isnew_tag = "0"; 8591 margin_promo = 0; 8592 // console.log(lobby_tag); 8593 // console.log("promo", promo_tag); 8594 // console.log("game_ishot", game_ishot_tag); 8595 // console.log("vendor_isnew", vendor_isnew_tag); 8596 8597 $(lobby_tag).each(function(index, element) { 8598 if (index === 0) { 8599 // Navbar Content 8600 class_name_tag = $(element).attr('class'); 8601 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8602 // on LI(navar) or DIV Content 8603 element_tag = $(element).prop('tagName'); 8604 if(vendor_isnew_tag == 1){ 8605 if( element_tag == 'LI'){ 8606 margin_promo = 20; 8607 }else{ 8608 margin_promo =10; 8609 } 8610 8611 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8612 } 8613 8614 if(promo_tag == 1){ 8615 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8616 } 8617 8618 if(game_ishot_tag == 1){ 8619 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
8619left:10px;top:0;z-index:10;width:35px"></div>`); 8620 } 8621 8622 } else if (index === 1) { 8623 // Lobby Content 8624 class_name_tag = $(element).attr('class'); 8625 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8626 8627 if(vendor_isnew_tag == 1){ 8628 margin_promo = 12; 8629 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8630 } 8631 8632 if(promo_tag == 1){ 8633 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8634 } 8635 8636 if(game_ishot_tag == 1){ 8637 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8638 } 8639 } 8640 }); 8641 8642 8643 8644 lobby_tag = ".lb-26327" 8645 promo_tag = "0"; 8646 game_ishot_tag = "1"; 8647 vendor_isnew_tag = "0"; 8648 margin_promo = 0; 8649 // console.log(lobby_tag); 8650 // console.log("promo", promo_tag); 8651 // console.log("game_ishot", game_ishot_tag); 8652 // console.log("vendor_isnew", vendor_isnew_tag); 8653 8654 $(lobby_tag).each(function(index, element) { 8655 if (index === 0) { 8656 // Navbar Content 8657 class_name_tag = $(element).attr('class'); 8658 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8659 // on LI(navar) or DIV Content 8660 element_tag = $(element).prop('tagName'); 8661 if(vendor_isnew_tag == 1){ 8662 if( element_tag == 'LI'){ 8663 margin_promo = 20; 8664 }else{ 8665 margin_promo =10; 8666 } 8667 8668 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8669 } 8670 8671 if(promo_tag == 1){ 8672 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8673 } 8674 8675 if(game_ishot_tag == 1){ 8676 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 8677 } 8678 8679 } else if (index === 1) { 8680 // Lobby Content 8681 class_name_tag = $(element).attr('class'); 8682 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8683 8684 if(vendor_isnew_tag == 1){ 8685 margin_promo = 12; 8686 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8687 } 8688 8689 if(promo_tag == 1){ 8690 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8691 } 8692 8693 if(game_ishot_tag == 1){ 8694 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8695 } 8696 } 8697 }); 8698 8699 8700 8701 lobby_tag = ".lb-2100" 8702 promo_tag = "0"; 8703 game_ishot_tag = "0"; 8704 vendor_isnew_tag = "0"; 8705 margin_promo = 0; 8706 // console.log(lobby_tag); 8707 // console.log("promo", promo_tag); 8708 // console.log("game_ishot", game_ishot_tag); 8709 // console.log("vendor_isnew", vendor_isnew_tag); 8710 8711 $(lobby_tag).each(function(index, element) { 8712 if (index === 0) { 8713 // Navbar Content 8714 class_name_tag = $(element).attr('class'); 8715 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8716 // on LI(navar) or DIV Content 8717 element_tag = $(element).prop('tagName'); 8718 if(vendor_isnew_tag == 1){ 8719 if( element_tag == 'LI'){ 8720 margin_promo = 20; 8721 }else{ 8722 margin_promo =10; 8723 } 8724 8725 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8726 } 8727 8728 if(promo_tag == 1){ 8729 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8730 } 8731 8732 if(game_ishot_tag == 1){ 8733 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
8733left:10px;top:0;z-index:10;width:35px"></div>`); 8734 } 8735 8736 } else if (index === 1) { 8737 // Lobby Content 8738 class_name_tag = $(element).attr('class'); 8739 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8740 8741 if(vendor_isnew_tag == 1){ 8742 margin_promo = 12; 8743 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8744 } 8745 8746 if(promo_tag == 1){ 8747 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8748 } 8749 8750 if(game_ishot_tag == 1){ 8751 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8752 } 8753 } 8754 }); 8755 8756 8757 8758 lobby_tag = ".lb-12199" 8759 promo_tag = "0"; 8760 game_ishot_tag = "0"; 8761 vendor_isnew_tag = "0"; 8762 margin_promo = 0; 8763 // console.log(lobby_tag); 8764 // console.log("promo", promo_tag); 8765 // console.log("game_ishot", game_ishot_tag); 8766 // console.log("vendor_isnew", vendor_isnew_tag); 8767 8768 $(lobby_tag).each(function(index, element) { 8769 if (index === 0) { 8770 // Navbar Content 8771 class_name_tag = $(element).attr('class'); 8772 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8773 // on LI(navar) or DIV Content 8774 element_tag = $(element).prop('tagName'); 8775 if(vendor_isnew_tag == 1){ 8776 if( element_tag == 'LI'){ 8777 margin_promo = 20; 8778 }else{ 8779 margin_promo =10; 8780 } 8781 8782 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8783 } 8784 8785 if(promo_tag == 1){ 8786 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8787 } 8788 8789 if(game_ishot_tag == 1){ 8790 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 8791 } 8792 8793 } else if (index === 1) { 8794 // Lobby Content 8795 class_name_tag = $(element).attr('class'); 8796 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8797 8798 if(vendor_isnew_tag == 1){ 8799 margin_promo = 12; 8800 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8801 } 8802 8803 if(promo_tag == 1){ 8804 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8805 } 8806 8807 if(game_ishot_tag == 1){ 8808 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8809 } 8810 } 8811 }); 8812 8813 8814 8815 lobby_tag = ".lb-29302" 8816 promo_tag = "0"; 8817 game_ishot_tag = "0"; 8818 vendor_isnew_tag = "0"; 8819 margin_promo = 0; 8820 // console.log(lobby_tag); 8821 // console.log("promo", promo_tag); 8822 // console.log("game_ishot", game_ishot_tag); 8823 // console.log("vendor_isnew", vendor_isnew_tag); 8824 8825 $(lobby_tag).each(function(index, element) { 8826 if (index === 0) { 8827 // Navbar Content 8828 class_name_tag = $(element).attr('class'); 8829 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8830 // on LI(navar) or DIV Content 8831 element_tag = $(element).prop('tagName'); 8832 if(vendor_isnew_tag == 1){ 8833 if( element_tag == 'LI'){ 8834 margin_promo = 20; 8835 }else{ 8836 margin_promo =10; 8837 } 8838 8839 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8840 } 8841 8842 if(promo_tag == 1){ 8843 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8844 } 8845 8846 if(game_ishot_tag == 1){ 8847 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
8847left:10px;top:0;z-index:10;width:35px"></div>`); 8848 } 8849 8850 } else if (index === 1) { 8851 // Lobby Content 8852 class_name_tag = $(element).attr('class'); 8853 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8854 8855 if(vendor_isnew_tag == 1){ 8856 margin_promo = 12; 8857 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8858 } 8859 8860 if(promo_tag == 1){ 8861 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8862 } 8863 8864 if(game_ishot_tag == 1){ 8865 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8866 } 8867 } 8868 }); 8869 8870 8871 8872 lobby_tag = ".lb-141" 8873 promo_tag = "1"; 8874 game_ishot_tag = "0"; 8875 vendor_isnew_tag = "0"; 8876 margin_promo = 0; 8877 // console.log(lobby_tag); 8878 // console.log("promo", promo_tag); 8879 // console.log("game_ishot", game_ishot_tag); 8880 // console.log("vendor_isnew", vendor_isnew_tag); 8881 8882 $(lobby_tag).each(function(index, element) { 8883 if (index === 0) { 8884 // Navbar Content 8885 class_name_tag = $(element).attr('class'); 8886 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8887 // on LI(navar) or DIV Content 8888 element_tag = $(element).prop('tagName'); 8889 if(vendor_isnew_tag == 1){ 8890 if( element_tag == 'LI'){ 8891 margin_promo = 20; 8892 }else{ 8893 margin_promo =10; 8894 } 8895 8896 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8897 } 8898 8899 if(promo_tag == 1){ 8900 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8901 } 8902 8903 if(game_ishot_tag == 1){ 8904 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 8905 } 8906 8907 } else if (index === 1) { 8908 // Lobby Content 8909 class_name_tag = $(element).attr('class'); 8910 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8911 8912 if(vendor_isnew_tag == 1){ 8913 margin_promo = 12; 8914 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8915 } 8916 8917 if(promo_tag == 1){ 8918 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8919 } 8920 8921 if(game_ishot_tag == 1){ 8922 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8923 } 8924 } 8925 }); 8926 8927 8928 8929 lobby_tag = ".lb-2104" 8930 promo_tag = "0"; 8931 game_ishot_tag = "0"; 8932 vendor_isnew_tag = "0"; 8933 margin_promo = 0; 8934 // console.log(lobby_tag); 8935 // console.log("promo", promo_tag); 8936 // console.log("game_ishot", game_ishot_tag); 8937 // console.log("vendor_isnew", vendor_isnew_tag); 8938 8939 $(lobby_tag).each(function(index, element) { 8940 if (index === 0) { 8941 // Navbar Content 8942 class_name_tag = $(element).attr('class'); 8943 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8944 // on LI(navar) or DIV Content 8945 element_tag = $(element).prop('tagName'); 8946 if(vendor_isnew_tag == 1){ 8947 if( element_tag == 'LI'){ 8948 margin_promo = 20; 8949 }else{ 8950 margin_promo =10; 8951 } 8952 8953 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8954 } 8955 8956 if(promo_tag == 1){ 8957 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8958 } 8959 8960 if(game_ishot_tag == 1){ 8961 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
8961left:10px;top:0;z-index:10;width:35px"></div>`); 8962 } 8963 8964 } else if (index === 1) { 8965 // Lobby Content 8966 class_name_tag = $(element).attr('class'); 8967 selector_tag = '.' + class_name_tag.split(' ').join('.'); 8968 8969 if(vendor_isnew_tag == 1){ 8970 margin_promo = 12; 8971 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 8972 } 8973 8974 if(promo_tag == 1){ 8975 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 8976 } 8977 8978 if(game_ishot_tag == 1){ 8979 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 8980 } 8981 } 8982 }); 8983 8984 8985 8986 lobby_tag = ".lb-1701" 8987 promo_tag = "0"; 8988 game_ishot_tag = "0"; 8989 vendor_isnew_tag = "0"; 8990 margin_promo = 0; 8991 // console.log(lobby_tag); 8992 // console.log("promo", promo_tag); 8993 // console.log("game_ishot", game_ishot_tag); 8994 // console.log("vendor_isnew", vendor_isnew_tag); 8995 8996 $(lobby_tag).each(function(index, element) { 8997 if (index === 0) { 8998 // Navbar Content 8999 class_name_tag = $(element).attr('class'); 9000 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9001 // on LI(navar) or DIV Content 9002 element_tag = $(element).prop('tagName'); 9003 if(vendor_isnew_tag == 1){ 9004 if( element_tag == 'LI'){ 9005 margin_promo = 20; 9006 }else{ 9007 margin_promo =10; 9008 } 9009 9010 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9011 } 9012 9013 if(promo_tag == 1){ 9014 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9015 } 9016 9017 if(game_ishot_tag == 1){ 9018 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 9019 } 9020 9021 } else if (index === 1) { 9022 // Lobby Content 9023 class_name_tag = $(element).attr('class'); 9024 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9025 9026 if(vendor_isnew_tag == 1){ 9027 margin_promo = 12; 9028 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9029 } 9030 9031 if(promo_tag == 1){ 9032 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9033 } 9034 9035 if(game_ishot_tag == 1){ 9036 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9037 } 9038 } 9039 }); 9040 9041 9042 9043 lobby_tag = ".lb-28173" 9044 promo_tag = "0"; 9045 game_ishot_tag = "0"; 9046 vendor_isnew_tag = "0"; 9047 margin_promo = 0; 9048 // console.log(lobby_tag); 9049 // console.log("promo", promo_tag); 9050 // console.log("game_ishot", game_ishot_tag); 9051 // console.log("vendor_isnew", vendor_isnew_tag); 9052 9053 $(lobby_tag).each(function(index, element) { 9054 if (index === 0) { 9055 // Navbar Content 9056 class_name_tag = $(element).attr('class'); 9057 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9058 // on LI(navar) or DIV Content 9059 element_tag = $(element).prop('tagName'); 9060 if(vendor_isnew_tag == 1){ 9061 if( element_tag == 'LI'){ 9062 margin_promo = 20; 9063 }else{ 9064 margin_promo =10; 9065 } 9066 9067 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9068 } 9069 9070 if(promo_tag == 1){ 9071 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9072 } 9073 9074 if(game_ishot_tag == 1){ 9075 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
9075left:10px;top:0;z-index:10;width:35px"></div>`); 9076 } 9077 9078 } else if (index === 1) { 9079 // Lobby Content 9080 class_name_tag = $(element).attr('class'); 9081 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9082 9083 if(vendor_isnew_tag == 1){ 9084 margin_promo = 12; 9085 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9086 } 9087 9088 if(promo_tag == 1){ 9089 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9090 } 9091 9092 if(game_ishot_tag == 1){ 9093 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9094 } 9095 } 9096 }); 9097 9098 9099 9100 lobby_tag = ".lb-26843" 9101 promo_tag = "0"; 9102 game_ishot_tag = "0"; 9103 vendor_isnew_tag = "0"; 9104 margin_promo = 0; 9105 // console.log(lobby_tag); 9106 // console.log("promo", promo_tag); 9107 // console.log("game_ishot", game_ishot_tag); 9108 // console.log("vendor_isnew", vendor_isnew_tag); 9109 9110 $(lobby_tag).each(function(index, element) { 9111 if (index === 0) { 9112 // Navbar Content 9113 class_name_tag = $(element).attr('class'); 9114 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9115 // on LI(navar) or DIV Content 9116 element_tag = $(element).prop('tagName'); 9117 if(vendor_isnew_tag == 1){ 9118 if( element_tag == 'LI'){ 9119 margin_promo = 20; 9120 }else{ 9121 margin_promo =10; 9122 } 9123 9124 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9125 } 9126 9127 if(promo_tag == 1){ 9128 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9129 } 9130 9131 if(game_ishot_tag == 1){ 9132 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 9133 } 9134 9135 } else if (index === 1) { 9136 // Lobby Content 9137 class_name_tag = $(element).attr('class'); 9138 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9139 9140 if(vendor_isnew_tag == 1){ 9141 margin_promo = 12; 9142 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9143 } 9144 9145 if(promo_tag == 1){ 9146 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9147 } 9148 9149 if(game_ishot_tag == 1){ 9150 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9151 } 9152 } 9153 }); 9154 9155 9156 9157 lobby_tag = ".lb-15964" 9158 promo_tag = "0"; 9159 game_ishot_tag = "0"; 9160 vendor_isnew_tag = "0"; 9161 margin_promo = 0; 9162 // console.log(lobby_tag); 9163 // console.log("promo", promo_tag); 9164 // console.log("game_ishot", game_ishot_tag); 9165 // console.log("vendor_isnew", vendor_isnew_tag); 9166 9167 $(lobby_tag).each(function(index, element) { 9168 if (index === 0) { 9169 // Navbar Content 9170 class_name_tag = $(element).attr('class'); 9171 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9172 // on LI(navar) or DIV Content 9173 element_tag = $(element).prop('tagName'); 9174 if(vendor_isnew_tag == 1){ 9175 if( element_tag == 'LI'){ 9176 margin_promo = 20; 9177 }else{ 9178 margin_promo =10; 9179 } 9180 9181 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9182 } 9183 9184 if(promo_tag == 1){ 9185 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9186 } 9187 9188 if(game_ishot_tag == 1){ 9189 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
9189left:10px;top:0;z-index:10;width:35px"></div>`); 9190 } 9191 9192 } else if (index === 1) { 9193 // Lobby Content 9194 class_name_tag = $(element).attr('class'); 9195 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9196 9197 if(vendor_isnew_tag == 1){ 9198 margin_promo = 12; 9199 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9200 } 9201 9202 if(promo_tag == 1){ 9203 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9204 } 9205 9206 if(game_ishot_tag == 1){ 9207 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9208 } 9209 } 9210 }); 9211 9212 9213 9214 lobby_tag = ".lb-1102" 9215 promo_tag = "0"; 9216 game_ishot_tag = "0"; 9217 vendor_isnew_tag = "0"; 9218 margin_promo = 0; 9219 // console.log(lobby_tag); 9220 // console.log("promo", promo_tag); 9221 // console.log("game_ishot", game_ishot_tag); 9222 // console.log("vendor_isnew", vendor_isnew_tag); 9223 9224 $(lobby_tag).each(function(index, element) { 9225 if (index === 0) { 9226 // Navbar Content 9227 class_name_tag = $(element).attr('class'); 9228 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9229 // on LI(navar) or DIV Content 9230 element_tag = $(element).prop('tagName'); 9231 if(vendor_isnew_tag == 1){ 9232 if( element_tag == 'LI'){ 9233 margin_promo = 20; 9234 }else{ 9235 margin_promo =10; 9236 } 9237 9238 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9239 } 9240 9241 if(promo_tag == 1){ 9242 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9243 } 9244 9245 if(game_ishot_tag == 1){ 9246 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 9247 } 9248 9249 } else if (index === 1) { 9250 // Lobby Content 9251 class_name_tag = $(element).attr('class'); 9252 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9253 9254 if(vendor_isnew_tag == 1){ 9255 margin_promo = 12; 9256 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9257 } 9258 9259 if(promo_tag == 1){ 9260 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9261 } 9262 9263 if(game_ishot_tag == 1){ 9264 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9265 } 9266 } 9267 }); 9268 9269 9270 9271 lobby_tag = ".lb-24871" 9272 promo_tag = "0"; 9273 game_ishot_tag = "0"; 9274 vendor_isnew_tag = "0"; 9275 margin_promo = 0; 9276 // console.log(lobby_tag); 9277 // console.log("promo", promo_tag); 9278 // console.log("game_ishot", game_ishot_tag); 9279 // console.log("vendor_isnew", vendor_isnew_tag); 9280 9281 $(lobby_tag).each(function(index, element) { 9282 if (index === 0) { 9283 // Navbar Content 9284 class_name_tag = $(element).attr('class'); 9285 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9286 // on LI(navar) or DIV Content 9287 element_tag = $(element).prop('tagName'); 9288 if(vendor_isnew_tag == 1){ 9289 if( element_tag == 'LI'){ 9290 margin_promo = 20; 9291 }else{ 9292 margin_promo =10; 9293 } 9294 9295 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9296 } 9297 9298 if(promo_tag == 1){ 9299 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9300 } 9301 9302 if(game_ishot_tag == 1){ 9303 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
9303left:10px;top:0;z-index:10;width:35px"></div>`); 9304 } 9305 9306 } else if (index === 1) { 9307 // Lobby Content 9308 class_name_tag = $(element).attr('class'); 9309 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9310 9311 if(vendor_isnew_tag == 1){ 9312 margin_promo = 12; 9313 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9314 } 9315 9316 if(promo_tag == 1){ 9317 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9318 } 9319 9320 if(game_ishot_tag == 1){ 9321 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9322 } 9323 } 9324 }); 9325 9326 9327 9328 lobby_tag = ".lb-25118" 9329 promo_tag = "0"; 9330 game_ishot_tag = "0"; 9331 vendor_isnew_tag = "0"; 9332 margin_promo = 0; 9333 // console.log(lobby_tag); 9334 // console.log("promo", promo_tag); 9335 // console.log("game_ishot", game_ishot_tag); 9336 // console.log("vendor_isnew", vendor_isnew_tag); 9337 9338 $(lobby_tag).each(function(index, element) { 9339 if (index === 0) { 9340 // Navbar Content 9341 class_name_tag = $(element).attr('class'); 9342 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9343 // on LI(navar) or DIV Content 9344 element_tag = $(element).prop('tagName'); 9345 if(vendor_isnew_tag == 1){ 9346 if( element_tag == 'LI'){ 9347 margin_promo = 20; 9348 }else{ 9349 margin_promo =10; 9350 } 9351 9352 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9353 } 9354 9355 if(promo_tag == 1){ 9356 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9357 } 9358 9359 if(game_ishot_tag == 1){ 9360 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 9361 } 9362 9363 } else if (index === 1) { 9364 // Lobby Content 9365 class_name_tag = $(element).attr('class'); 9366 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9367 9368 if(vendor_isnew_tag == 1){ 9369 margin_promo = 12; 9370 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9371 } 9372 9373 if(promo_tag == 1){ 9374 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9375 } 9376 9377 if(game_ishot_tag == 1){ 9378 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9379 } 9380 } 9381 }); 9382 9383 9384 9385 lobby_tag = ".lb-23612" 9386 promo_tag = "0"; 9387 game_ishot_tag = "0"; 9388 vendor_isnew_tag = "0"; 9389 margin_promo = 0; 9390 // console.log(lobby_tag); 9391 // console.log("promo", promo_tag); 9392 // console.log("game_ishot", game_ishot_tag); 9393 // console.log("vendor_isnew", vendor_isnew_tag); 9394 9395 $(lobby_tag).each(function(index, element) { 9396 if (index === 0) { 9397 // Navbar Content 9398 class_name_tag = $(element).attr('class'); 9399 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9400 // on LI(navar) or DIV Content 9401 element_tag = $(element).prop('tagName'); 9402 if(vendor_isnew_tag == 1){ 9403 if( element_tag == 'LI'){ 9404 margin_promo = 20; 9405 }else{ 9406 margin_promo =10; 9407 } 9408 9409 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9410 } 9411 9412 if(promo_tag == 1){ 9413 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9414 } 9415 9416 if(game_ishot_tag == 1){ 9417 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
9417left:10px;top:0;z-index:10;width:35px"></div>`); 9418 } 9419 9420 } else if (index === 1) { 9421 // Lobby Content 9422 class_name_tag = $(element).attr('class'); 9423 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9424 9425 if(vendor_isnew_tag == 1){ 9426 margin_promo = 12; 9427 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9428 } 9429 9430 if(promo_tag == 1){ 9431 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9432 } 9433 9434 if(game_ishot_tag == 1){ 9435 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9436 } 9437 } 9438 }); 9439 9440 9441 9442 lobby_tag = ".lb-16289" 9443 promo_tag = "0"; 9444 game_ishot_tag = "0"; 9445 vendor_isnew_tag = "0"; 9446 margin_promo = 0; 9447 // console.log(lobby_tag); 9448 // console.log("promo", promo_tag); 9449 // console.log("game_ishot", game_ishot_tag); 9450 // console.log("vendor_isnew", vendor_isnew_tag); 9451 9452 $(lobby_tag).each(function(index, element) { 9453 if (index === 0) { 9454 // Navbar Content 9455 class_name_tag = $(element).attr('class'); 9456 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9457 // on LI(navar) or DIV Content 9458 element_tag = $(element).prop('tagName'); 9459 if(vendor_isnew_tag == 1){ 9460 if( element_tag == 'LI'){ 9461 margin_promo = 20; 9462 }else{ 9463 margin_promo =10; 9464 } 9465 9466 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9467 } 9468 9469 if(promo_tag == 1){ 9470 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9471 } 9472 9473 if(game_ishot_tag == 1){ 9474 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 9475 } 9476 9477 } else if (index === 1) { 9478 // Lobby Content 9479 class_name_tag = $(element).attr('class'); 9480 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9481 9482 if(vendor_isnew_tag == 1){ 9483 margin_promo = 12; 9484 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9485 } 9486 9487 if(promo_tag == 1){ 9488 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9489 } 9490 9491 if(game_ishot_tag == 1){ 9492 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9493 } 9494 } 9495 }); 9496 9497 9498 9499 lobby_tag = ".lb-28172" 9500 promo_tag = "0"; 9501 game_ishot_tag = "1"; 9502 vendor_isnew_tag = "0"; 9503 margin_promo = 0; 9504 // console.log(lobby_tag); 9505 // console.log("promo", promo_tag); 9506 // console.log("game_ishot", game_ishot_tag); 9507 // console.log("vendor_isnew", vendor_isnew_tag); 9508 9509 $(lobby_tag).each(function(index, element) { 9510 if (index === 0) { 9511 // Navbar Content 9512 class_name_tag = $(element).attr('class'); 9513 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9514 // on LI(navar) or DIV Content 9515 element_tag = $(element).prop('tagName'); 9516 if(vendor_isnew_tag == 1){ 9517 if( element_tag == 'LI'){ 9518 margin_promo = 20; 9519 }else{ 9520 margin_promo =10; 9521 } 9522 9523 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9524 } 9525 9526 if(promo_tag == 1){ 9527 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9528 } 9529 9530 if(game_ishot_tag == 1){ 9531 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
9531left:10px;top:0;z-index:10;width:35px"></div>`); 9532 } 9533 9534 } else if (index === 1) { 9535 // Lobby Content 9536 class_name_tag = $(element).attr('class'); 9537 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9538 9539 if(vendor_isnew_tag == 1){ 9540 margin_promo = 12; 9541 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9542 } 9543 9544 if(promo_tag == 1){ 9545 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9546 } 9547 9548 if(game_ishot_tag == 1){ 9549 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9550 } 9551 } 9552 }); 9553 9554 9555 9556 lobby_tag = ".lb-22613" 9557 promo_tag = "0"; 9558 game_ishot_tag = "0"; 9559 vendor_isnew_tag = "0"; 9560 margin_promo = 0; 9561 // console.log(lobby_tag); 9562 // console.log("promo", promo_tag); 9563 // console.log("game_ishot", game_ishot_tag); 9564 // console.log("vendor_isnew", vendor_isnew_tag); 9565 9566 $(lobby_tag).each(function(index, element) { 9567 if (index === 0) { 9568 // Navbar Content 9569 class_name_tag = $(element).attr('class'); 9570 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9571 // on LI(navar) or DIV Content 9572 element_tag = $(element).prop('tagName'); 9573 if(vendor_isnew_tag == 1){ 9574 if( element_tag == 'LI'){ 9575 margin_promo = 20; 9576 }else{ 9577 margin_promo =10; 9578 } 9579 9580 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9581 } 9582 9583 if(promo_tag == 1){ 9584 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9585 } 9586 9587 if(game_ishot_tag == 1){ 9588 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 9589 } 9590 9591 } else if (index === 1) { 9592 // Lobby Content 9593 class_name_tag = $(element).attr('class'); 9594 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9595 9596 if(vendor_isnew_tag == 1){ 9597 margin_promo = 12; 9598 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9599 } 9600 9601 if(promo_tag == 1){ 9602 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9603 } 9604 9605 if(game_ishot_tag == 1){ 9606 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9607 } 9608 } 9609 }); 9610 9611 9612 9613 lobby_tag = ".lb-25239" 9614 promo_tag = "0"; 9615 game_ishot_tag = "0"; 9616 vendor_isnew_tag = "0"; 9617 margin_promo = 0; 9618 // console.log(lobby_tag); 9619 // console.log("promo", promo_tag); 9620 // console.log("game_ishot", game_ishot_tag); 9621 // console.log("vendor_isnew", vendor_isnew_tag); 9622 9623 $(lobby_tag).each(function(index, element) { 9624 if (index === 0) { 9625 // Navbar Content 9626 class_name_tag = $(element).attr('class'); 9627 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9628 // on LI(navar) or DIV Content 9629 element_tag = $(element).prop('tagName'); 9630 if(vendor_isnew_tag == 1){ 9631 if( element_tag == 'LI'){ 9632 margin_promo = 20; 9633 }else{ 9634 margin_promo =10; 9635 } 9636 9637 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9638 } 9639 9640 if(promo_tag == 1){ 9641 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9642 } 9643 9644 if(game_ishot_tag == 1){ 9645 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
9645left:10px;top:0;z-index:10;width:35px"></div>`); 9646 } 9647 9648 } else if (index === 1) { 9649 // Lobby Content 9650 class_name_tag = $(element).attr('class'); 9651 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9652 9653 if(vendor_isnew_tag == 1){ 9654 margin_promo = 12; 9655 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9656 } 9657 9658 if(promo_tag == 1){ 9659 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9660 } 9661 9662 if(game_ishot_tag == 1){ 9663 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9664 } 9665 } 9666 }); 9667 9668 9669 9670 lobby_tag = ".lb-16062" 9671 promo_tag = "0"; 9672 game_ishot_tag = "0"; 9673 vendor_isnew_tag = "0"; 9674 margin_promo = 0; 9675 // console.log(lobby_tag); 9676 // console.log("promo", promo_tag); 9677 // console.log("game_ishot", game_ishot_tag); 9678 // console.log("vendor_isnew", vendor_isnew_tag); 9679 9680 $(lobby_tag).each(function(index, element) { 9681 if (index === 0) { 9682 // Navbar Content 9683 class_name_tag = $(element).attr('class'); 9684 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9685 // on LI(navar) or DIV Content 9686 element_tag = $(element).prop('tagName'); 9687 if(vendor_isnew_tag == 1){ 9688 if( element_tag == 'LI'){ 9689 margin_promo = 20; 9690 }else{ 9691 margin_promo =10; 9692 } 9693 9694 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9695 } 9696 9697 if(promo_tag == 1){ 9698 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9699 } 9700 9701 if(game_ishot_tag == 1){ 9702 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 9703 } 9704 9705 } else if (index === 1) { 9706 // Lobby Content 9707 class_name_tag = $(element).attr('class'); 9708 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9709 9710 if(vendor_isnew_tag == 1){ 9711 margin_promo = 12; 9712 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9713 } 9714 9715 if(promo_tag == 1){ 9716 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9717 } 9718 9719 if(game_ishot_tag == 1){ 9720 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9721 } 9722 } 9723 }); 9724 9725 9726 9727 lobby_tag = ".lb-25841" 9728 promo_tag = "1"; 9729 game_ishot_tag = "0"; 9730 vendor_isnew_tag = "0"; 9731 margin_promo = 0; 9732 // console.log(lobby_tag); 9733 // console.log("promo", promo_tag); 9734 // console.log("game_ishot", game_ishot_tag); 9735 // console.log("vendor_isnew", vendor_isnew_tag); 9736 9737 $(lobby_tag).each(function(index, element) { 9738 if (index === 0) { 9739 // Navbar Content 9740 class_name_tag = $(element).attr('class'); 9741 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9742 // on LI(navar) or DIV Content 9743 element_tag = $(element).prop('tagName'); 9744 if(vendor_isnew_tag == 1){ 9745 if( element_tag == 'LI'){ 9746 margin_promo = 20; 9747 }else{ 9748 margin_promo =10; 9749 } 9750 9751 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9752 } 9753 9754 if(promo_tag == 1){ 9755 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9756 } 9757 9758 if(game_ishot_tag == 1){ 9759 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
9759left:10px;top:0;z-index:10;width:35px"></div>`); 9760 } 9761 9762 } else if (index === 1) { 9763 // Lobby Content 9764 class_name_tag = $(element).attr('class'); 9765 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9766 9767 if(vendor_isnew_tag == 1){ 9768 margin_promo = 12; 9769 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9770 } 9771 9772 if(promo_tag == 1){ 9773 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9774 } 9775 9776 if(game_ishot_tag == 1){ 9777 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9778 } 9779 } 9780 }); 9781 9782 9783 9784 lobby_tag = ".lb-22612" 9785 promo_tag = "0"; 9786 game_ishot_tag = "0"; 9787 vendor_isnew_tag = "0"; 9788 margin_promo = 0; 9789 // console.log(lobby_tag); 9790 // console.log("promo", promo_tag); 9791 // console.log("game_ishot", game_ishot_tag); 9792 // console.log("vendor_isnew", vendor_isnew_tag); 9793 9794 $(lobby_tag).each(function(index, element) { 9795 if (index === 0) { 9796 // Navbar Content 9797 class_name_tag = $(element).attr('class'); 9798 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9799 // on LI(navar) or DIV Content 9800 element_tag = $(element).prop('tagName'); 9801 if(vendor_isnew_tag == 1){ 9802 if( element_tag == 'LI'){ 9803 margin_promo = 20; 9804 }else{ 9805 margin_promo =10; 9806 } 9807 9808 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9809 } 9810 9811 if(promo_tag == 1){ 9812 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9813 } 9814 9815 if(game_ishot_tag == 1){ 9816 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 9817 } 9818 9819 } else if (index === 1) { 9820 // Lobby Content 9821 class_name_tag = $(element).attr('class'); 9822 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9823 9824 if(vendor_isnew_tag == 1){ 9825 margin_promo = 12; 9826 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9827 } 9828 9829 if(promo_tag == 1){ 9830 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9831 } 9832 9833 if(game_ishot_tag == 1){ 9834 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9835 } 9836 } 9837 }); 9838 9839 9840 9841 lobby_tag = ".lb-21281" 9842 promo_tag = "0"; 9843 game_ishot_tag = "0"; 9844 vendor_isnew_tag = "0"; 9845 margin_promo = 0; 9846 // console.log(lobby_tag); 9847 // console.log("promo", promo_tag); 9848 // console.log("game_ishot", game_ishot_tag); 9849 // console.log("vendor_isnew", vendor_isnew_tag); 9850 9851 $(lobby_tag).each(function(index, element) { 9852 if (index === 0) { 9853 // Navbar Content 9854 class_name_tag = $(element).attr('class'); 9855 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9856 // on LI(navar) or DIV Content 9857 element_tag = $(element).prop('tagName'); 9858 if(vendor_isnew_tag == 1){ 9859 if( element_tag == 'LI'){ 9860 margin_promo = 20; 9861 }else{ 9862 margin_promo =10; 9863 } 9864 9865 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9866 } 9867 9868 if(promo_tag == 1){ 9869 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9870 } 9871 9872 if(game_ishot_tag == 1){ 9873 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
9873left:10px;top:0;z-index:10;width:35px"></div>`); 9874 } 9875 9876 } else if (index === 1) { 9877 // Lobby Content 9878 class_name_tag = $(element).attr('class'); 9879 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9880 9881 if(vendor_isnew_tag == 1){ 9882 margin_promo = 12; 9883 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9884 } 9885 9886 if(promo_tag == 1){ 9887 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9888 } 9889 9890 if(game_ishot_tag == 1){ 9891 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9892 } 9893 } 9894 }); 9895 9896 9897 9898 lobby_tag = ".lb-28670" 9899 promo_tag = "0"; 9900 game_ishot_tag = "0"; 9901 vendor_isnew_tag = "0"; 9902 margin_promo = 0; 9903 // console.log(lobby_tag); 9904 // console.log("promo", promo_tag); 9905 // console.log("game_ishot", game_ishot_tag); 9906 // console.log("vendor_isnew", vendor_isnew_tag); 9907 9908 $(lobby_tag).each(function(index, element) { 9909 if (index === 0) { 9910 // Navbar Content 9911 class_name_tag = $(element).attr('class'); 9912 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9913 // on LI(navar) or DIV Content 9914 element_tag = $(element).prop('tagName'); 9915 if(vendor_isnew_tag == 1){ 9916 if( element_tag == 'LI'){ 9917 margin_promo = 20; 9918 }else{ 9919 margin_promo =10; 9920 } 9921 9922 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9923 } 9924 9925 if(promo_tag == 1){ 9926 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9927 } 9928 9929 if(game_ishot_tag == 1){ 9930 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 9931 } 9932 9933 } else if (index === 1) { 9934 // Lobby Content 9935 class_name_tag = $(element).attr('class'); 9936 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9937 9938 if(vendor_isnew_tag == 1){ 9939 margin_promo = 12; 9940 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9941 } 9942 9943 if(promo_tag == 1){ 9944 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9945 } 9946 9947 if(game_ishot_tag == 1){ 9948 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 9949 } 9950 } 9951 }); 9952 9953 9954 9955 lobby_tag = ".lb-18135" 9956 promo_tag = "0"; 9957 game_ishot_tag = "0"; 9958 vendor_isnew_tag = "0"; 9959 margin_promo = 0; 9960 // console.log(lobby_tag); 9961 // console.log("promo", promo_tag); 9962 // console.log("game_ishot", game_ishot_tag); 9963 // console.log("vendor_isnew", vendor_isnew_tag); 9964 9965 $(lobby_tag).each(function(index, element) { 9966 if (index === 0) { 9967 // Navbar Content 9968 class_name_tag = $(element).attr('class'); 9969 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9970 // on LI(navar) or DIV Content 9971 element_tag = $(element).prop('tagName'); 9972 if(vendor_isnew_tag == 1){ 9973 if( element_tag == 'LI'){ 9974 margin_promo = 20; 9975 }else{ 9976 margin_promo =10; 9977 } 9978 9979 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9980 } 9981 9982 if(promo_tag == 1){ 9983 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 9984 } 9985 9986 if(game_ishot_tag == 1){ 9987 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
9987left:10px;top:0;z-index:10;width:35px"></div>`); 9988 } 9989 9990 } else if (index === 1) { 9991 // Lobby Content 9992 class_name_tag = $(element).attr('class'); 9993 selector_tag = '.' + class_name_tag.split(' ').join('.'); 9994 9995 if(vendor_isnew_tag == 1){ 9996 margin_promo = 12; 9997 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 9998 } 9999 10000 if(promo_tag == 1){ 10001 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10002 } 10003 10004 if(game_ishot_tag == 1){ 10005 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10006 } 10007 } 10008 }); 10009 10010 10011 10012 lobby_tag = ".lb-10415" 10013 promo_tag = "0"; 10014 game_ishot_tag = "0"; 10015 vendor_isnew_tag = "0"; 10016 margin_promo = 0; 10017 // console.log(lobby_tag); 10018 // console.log("promo", promo_tag); 10019 // console.log("game_ishot", game_ishot_tag); 10020 // console.log("vendor_isnew", vendor_isnew_tag); 10021 10022 $(lobby_tag).each(function(index, element) { 10023 if (index === 0) { 10024 // Navbar Content 10025 class_name_tag = $(element).attr('class'); 10026 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10027 // on LI(navar) or DIV Content 10028 element_tag = $(element).prop('tagName'); 10029 if(vendor_isnew_tag == 1){ 10030 if( element_tag == 'LI'){ 10031 margin_promo = 20; 10032 }else{ 10033 margin_promo =10; 10034 } 10035 10036 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10037 } 10038 10039 if(promo_tag == 1){ 10040 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10041 } 10042 10043 if(game_ishot_tag == 1){ 10044 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 10045 } 10046 10047 } else if (index === 1) { 10048 // Lobby Content 10049 class_name_tag = $(element).attr('class'); 10050 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10051 10052 if(vendor_isnew_tag == 1){ 10053 margin_promo = 12; 10054 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10055 } 10056 10057 if(promo_tag == 1){ 10058 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10059 } 10060 10061 if(game_ishot_tag == 1){ 10062 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10063 } 10064 } 10065 }); 10066 10067 10068 10069 lobby_tag = ".lb-2687" 10070 promo_tag = "0"; 10071 game_ishot_tag = "0"; 10072 vendor_isnew_tag = "0"; 10073 margin_promo = 0; 10074 // console.log(lobby_tag); 10075 // console.log("promo", promo_tag); 10076 // console.log("game_ishot", game_ishot_tag); 10077 // console.log("vendor_isnew", vendor_isnew_tag); 10078 10079 $(lobby_tag).each(function(index, element) { 10080 if (index === 0) { 10081 // Navbar Content 10082 class_name_tag = $(element).attr('class'); 10083 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10084 // on LI(navar) or DIV Content 10085 element_tag = $(element).prop('tagName'); 10086 if(vendor_isnew_tag == 1){ 10087 if( element_tag == 'LI'){ 10088 margin_promo = 20; 10089 }else{ 10090 margin_promo =10; 10091 } 10092 10093 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10094 } 10095 10096 if(promo_tag == 1){ 10097 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10098 } 10099 10100 if(game_ishot_tag == 1){ 10101 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
10101left:10px;top:0;z-index:10;width:35px"></div>`); 10102 } 10103 10104 } else if (index === 1) { 10105 // Lobby Content 10106 class_name_tag = $(element).attr('class'); 10107 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10108 10109 if(vendor_isnew_tag == 1){ 10110 margin_promo = 12; 10111 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10112 } 10113 10114 if(promo_tag == 1){ 10115 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10116 } 10117 10118 if(game_ishot_tag == 1){ 10119 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10120 } 10121 } 10122 }); 10123 10124 10125 10126 lobby_tag = ".lb-26613" 10127 promo_tag = "0"; 10128 game_ishot_tag = "0"; 10129 vendor_isnew_tag = "0"; 10130 margin_promo = 0; 10131 // console.log(lobby_tag); 10132 // console.log("promo", promo_tag); 10133 // console.log("game_ishot", game_ishot_tag); 10134 // console.log("vendor_isnew", vendor_isnew_tag); 10135 10136 $(lobby_tag).each(function(index, element) { 10137 if (index === 0) { 10138 // Navbar Content 10139 class_name_tag = $(element).attr('class'); 10140 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10141 // on LI(navar) or DIV Content 10142 element_tag = $(element).prop('tagName'); 10143 if(vendor_isnew_tag == 1){ 10144 if( element_tag == 'LI'){ 10145 margin_promo = 20; 10146 }else{ 10147 margin_promo =10; 10148 } 10149 10150 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10151 } 10152 10153 if(promo_tag == 1){ 10154 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10155 } 10156 10157 if(game_ishot_tag == 1){ 10158 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 10159 } 10160 10161 } else if (index === 1) { 10162 // Lobby Content 10163 class_name_tag = $(element).attr('class'); 10164 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10165 10166 if(vendor_isnew_tag == 1){ 10167 margin_promo = 12; 10168 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10169 } 10170 10171 if(promo_tag == 1){ 10172 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10173 } 10174 10175 if(game_ishot_tag == 1){ 10176 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10177 } 10178 } 10179 }); 10180 10181 10182 10183 lobby_tag = ".lb-18441" 10184 promo_tag = "0"; 10185 game_ishot_tag = "0"; 10186 vendor_isnew_tag = "0"; 10187 margin_promo = 0; 10188 // console.log(lobby_tag); 10189 // console.log("promo", promo_tag); 10190 // console.log("game_ishot", game_ishot_tag); 10191 // console.log("vendor_isnew", vendor_isnew_tag); 10192 10193 $(lobby_tag).each(function(index, element) { 10194 if (index === 0) { 10195 // Navbar Content 10196 class_name_tag = $(element).attr('class'); 10197 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10198 // on LI(navar) or DIV Content 10199 element_tag = $(element).prop('tagName'); 10200 if(vendor_isnew_tag == 1){ 10201 if( element_tag == 'LI'){ 10202 margin_promo = 20; 10203 }else{ 10204 margin_promo =10; 10205 } 10206 10207 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10208 } 10209 10210 if(promo_tag == 1){ 10211 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10212 } 10213 10214 if(game_ishot_tag == 1){ 10215 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
10215left:10px;top:0;z-index:10;width:35px"></div>`); 10216 } 10217 10218 } else if (index === 1) { 10219 // Lobby Content 10220 class_name_tag = $(element).attr('class'); 10221 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10222 10223 if(vendor_isnew_tag == 1){ 10224 margin_promo = 12; 10225 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10226 } 10227 10228 if(promo_tag == 1){ 10229 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10230 } 10231 10232 if(game_ishot_tag == 1){ 10233 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10234 } 10235 } 10236 }); 10237 10238 10239 10240 lobby_tag = ".lb-19986" 10241 promo_tag = "0"; 10242 game_ishot_tag = "0"; 10243 vendor_isnew_tag = "0"; 10244 margin_promo = 0; 10245 // console.log(lobby_tag); 10246 // console.log("promo", promo_tag); 10247 // console.log("game_ishot", game_ishot_tag); 10248 // console.log("vendor_isnew", vendor_isnew_tag); 10249 10250 $(lobby_tag).each(function(index, element) { 10251 if (index === 0) { 10252 // Navbar Content 10253 class_name_tag = $(element).attr('class'); 10254 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10255 // on LI(navar) or DIV Content 10256 element_tag = $(element).prop('tagName'); 10257 if(vendor_isnew_tag == 1){ 10258 if( element_tag == 'LI'){ 10259 margin_promo = 20; 10260 }else{ 10261 margin_promo =10; 10262 } 10263 10264 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10265 } 10266 10267 if(promo_tag == 1){ 10268 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10269 } 10270 10271 if(game_ishot_tag == 1){ 10272 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 10273 } 10274 10275 } else if (index === 1) { 10276 // Lobby Content 10277 class_name_tag = $(element).attr('class'); 10278 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10279 10280 if(vendor_isnew_tag == 1){ 10281 margin_promo = 12; 10282 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10283 } 10284 10285 if(promo_tag == 1){ 10286 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10287 } 10288 10289 if(game_ishot_tag == 1){ 10290 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10291 } 10292 } 10293 }); 10294 10295 10296 10297 lobby_tag = ".lb-15463" 10298 promo_tag = "0"; 10299 game_ishot_tag = "0"; 10300 vendor_isnew_tag = "0"; 10301 margin_promo = 0; 10302 // console.log(lobby_tag); 10303 // console.log("promo", promo_tag); 10304 // console.log("game_ishot", game_ishot_tag); 10305 // console.log("vendor_isnew", vendor_isnew_tag); 10306 10307 $(lobby_tag).each(function(index, element) { 10308 if (index === 0) { 10309 // Navbar Content 10310 class_name_tag = $(element).attr('class'); 10311 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10312 // on LI(navar) or DIV Content 10313 element_tag = $(element).prop('tagName'); 10314 if(vendor_isnew_tag == 1){ 10315 if( element_tag == 'LI'){ 10316 margin_promo = 20; 10317 }else{ 10318 margin_promo =10; 10319 } 10320 10321 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10322 } 10323 10324 if(promo_tag == 1){ 10325 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10326 } 10327 10328 if(game_ishot_tag == 1){ 10329 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
10329left:10px;top:0;z-index:10;width:35px"></div>`); 10330 } 10331 10332 } else if (index === 1) { 10333 // Lobby Content 10334 class_name_tag = $(element).attr('class'); 10335 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10336 10337 if(vendor_isnew_tag == 1){ 10338 margin_promo = 12; 10339 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10340 } 10341 10342 if(promo_tag == 1){ 10343 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10344 } 10345 10346 if(game_ishot_tag == 1){ 10347 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10348 } 10349 } 10350 }); 10351 10352 10353 10354 lobby_tag = ".lb-10319" 10355 promo_tag = "1"; 10356 game_ishot_tag = "0"; 10357 vendor_isnew_tag = "0"; 10358 margin_promo = 0; 10359 // console.log(lobby_tag); 10360 // console.log("promo", promo_tag); 10361 // console.log("game_ishot", game_ishot_tag); 10362 // console.log("vendor_isnew", vendor_isnew_tag); 10363 10364 $(lobby_tag).each(function(index, element) { 10365 if (index === 0) { 10366 // Navbar Content 10367 class_name_tag = $(element).attr('class'); 10368 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10369 // on LI(navar) or DIV Content 10370 element_tag = $(element).prop('tagName'); 10371 if(vendor_isnew_tag == 1){ 10372 if( element_tag == 'LI'){ 10373 margin_promo = 20; 10374 }else{ 10375 margin_promo =10; 10376 } 10377 10378 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10379 } 10380 10381 if(promo_tag == 1){ 10382 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10383 } 10384 10385 if(game_ishot_tag == 1){ 10386 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 10387 } 10388 10389 } else if (index === 1) { 10390 // Lobby Content 10391 class_name_tag = $(element).attr('class'); 10392 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10393 10394 if(vendor_isnew_tag == 1){ 10395 margin_promo = 12; 10396 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10397 } 10398 10399 if(promo_tag == 1){ 10400 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10401 } 10402 10403 if(game_ishot_tag == 1){ 10404 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10405 } 10406 } 10407 }); 10408 10409 10410 10411 lobby_tag = ".lb-18443" 10412 promo_tag = "0"; 10413 game_ishot_tag = "0"; 10414 vendor_isnew_tag = "0"; 10415 margin_promo = 0; 10416 // console.log(lobby_tag); 10417 // console.log("promo", promo_tag); 10418 // console.log("game_ishot", game_ishot_tag); 10419 // console.log("vendor_isnew", vendor_isnew_tag); 10420 10421 $(lobby_tag).each(function(index, element) { 10422 if (index === 0) { 10423 // Navbar Content 10424 class_name_tag = $(element).attr('class'); 10425 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10426 // on LI(navar) or DIV Content 10427 element_tag = $(element).prop('tagName'); 10428 if(vendor_isnew_tag == 1){ 10429 if( element_tag == 'LI'){ 10430 margin_promo = 20; 10431 }else{ 10432 margin_promo =10; 10433 } 10434 10435 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10436 } 10437 10438 if(promo_tag == 1){ 10439 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10440 } 10441 10442 if(game_ishot_tag == 1){ 10443 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
10443left:10px;top:0;z-index:10;width:35px"></div>`); 10444 } 10445 10446 } else if (index === 1) { 10447 // Lobby Content 10448 class_name_tag = $(element).attr('class'); 10449 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10450 10451 if(vendor_isnew_tag == 1){ 10452 margin_promo = 12; 10453 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10454 } 10455 10456 if(promo_tag == 1){ 10457 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10458 } 10459 10460 if(game_ishot_tag == 1){ 10461 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10462 } 10463 } 10464 }); 10465 10466 10467 10468 lobby_tag = ".lb-23924" 10469 promo_tag = "0"; 10470 game_ishot_tag = "0"; 10471 vendor_isnew_tag = "0"; 10472 margin_promo = 0; 10473 // console.log(lobby_tag); 10474 // console.log("promo", promo_tag); 10475 // console.log("game_ishot", game_ishot_tag); 10476 // console.log("vendor_isnew", vendor_isnew_tag); 10477 10478 $(lobby_tag).each(function(index, element) { 10479 if (index === 0) { 10480 // Navbar Content 10481 class_name_tag = $(element).attr('class'); 10482 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10483 // on LI(navar) or DIV Content 10484 element_tag = $(element).prop('tagName'); 10485 if(vendor_isnew_tag == 1){ 10486 if( element_tag == 'LI'){ 10487 margin_promo = 20; 10488 }else{ 10489 margin_promo =10; 10490 } 10491 10492 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10493 } 10494 10495 if(promo_tag == 1){ 10496 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10497 } 10498 10499 if(game_ishot_tag == 1){ 10500 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 10501 } 10502 10503 } else if (index === 1) { 10504 // Lobby Content 10505 class_name_tag = $(element).attr('class'); 10506 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10507 10508 if(vendor_isnew_tag == 1){ 10509 margin_promo = 12; 10510 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10511 } 10512 10513 if(promo_tag == 1){ 10514 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10515 } 10516 10517 if(game_ishot_tag == 1){ 10518 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10519 } 10520 } 10521 }); 10522 10523 10524 10525 lobby_tag = ".lb-2101" 10526 promo_tag = "0"; 10527 game_ishot_tag = "0"; 10528 vendor_isnew_tag = "0"; 10529 margin_promo = 0; 10530 // console.log(lobby_tag); 10531 // console.log("promo", promo_tag); 10532 // console.log("game_ishot", game_ishot_tag); 10533 // console.log("vendor_isnew", vendor_isnew_tag); 10534 10535 $(lobby_tag).each(function(index, element) { 10536 if (index === 0) { 10537 // Navbar Content 10538 class_name_tag = $(element).attr('class'); 10539 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10540 // on LI(navar) or DIV Content 10541 element_tag = $(element).prop('tagName'); 10542 if(vendor_isnew_tag == 1){ 10543 if( element_tag == 'LI'){ 10544 margin_promo = 20; 10545 }else{ 10546 margin_promo =10; 10547 } 10548 10549 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10550 } 10551 10552 if(promo_tag == 1){ 10553 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10554 } 10555 10556 if(game_ishot_tag == 1){ 10557 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
10557left:10px;top:0;z-index:10;width:35px"></div>`); 10558 } 10559 10560 } else if (index === 1) { 10561 // Lobby Content 10562 class_name_tag = $(element).attr('class'); 10563 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10564 10565 if(vendor_isnew_tag == 1){ 10566 margin_promo = 12; 10567 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10568 } 10569 10570 if(promo_tag == 1){ 10571 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10572 } 10573 10574 if(game_ishot_tag == 1){ 10575 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10576 } 10577 } 10578 }); 10579 10580 10581 10582 lobby_tag = ".lb-14292" 10583 promo_tag = "0"; 10584 game_ishot_tag = "0"; 10585 vendor_isnew_tag = "0"; 10586 margin_promo = 0; 10587 // console.log(lobby_tag); 10588 // console.log("promo", promo_tag); 10589 // console.log("game_ishot", game_ishot_tag); 10590 // console.log("vendor_isnew", vendor_isnew_tag); 10591 10592 $(lobby_tag).each(function(index, element) { 10593 if (index === 0) { 10594 // Navbar Content 10595 class_name_tag = $(element).attr('class'); 10596 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10597 // on LI(navar) or DIV Content 10598 element_tag = $(element).prop('tagName'); 10599 if(vendor_isnew_tag == 1){ 10600 if( element_tag == 'LI'){ 10601 margin_promo = 20; 10602 }else{ 10603 margin_promo =10; 10604 } 10605 10606 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10607 } 10608 10609 if(promo_tag == 1){ 10610 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10611 } 10612 10613 if(game_ishot_tag == 1){ 10614 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 10615 } 10616 10617 } else if (index === 1) { 10618 // Lobby Content 10619 class_name_tag = $(element).attr('class'); 10620 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10621 10622 if(vendor_isnew_tag == 1){ 10623 margin_promo = 12; 10624 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10625 } 10626 10627 if(promo_tag == 1){ 10628 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10629 } 10630 10631 if(game_ishot_tag == 1){ 10632 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10633 } 10634 } 10635 }); 10636 10637 10638 10639 lobby_tag = ".lb-21548" 10640 promo_tag = "0"; 10641 game_ishot_tag = "0"; 10642 vendor_isnew_tag = "0"; 10643 margin_promo = 0; 10644 // console.log(lobby_tag); 10645 // console.log("promo", promo_tag); 10646 // console.log("game_ishot", game_ishot_tag); 10647 // console.log("vendor_isnew", vendor_isnew_tag); 10648 10649 $(lobby_tag).each(function(index, element) { 10650 if (index === 0) { 10651 // Navbar Content 10652 class_name_tag = $(element).attr('class'); 10653 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10654 // on LI(navar) or DIV Content 10655 element_tag = $(element).prop('tagName'); 10656 if(vendor_isnew_tag == 1){ 10657 if( element_tag == 'LI'){ 10658 margin_promo = 20; 10659 }else{ 10660 margin_promo =10; 10661 } 10662 10663 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10664 } 10665 10666 if(promo_tag == 1){ 10667 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10668 } 10669 10670 if(game_ishot_tag == 1){ 10671 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
10671left:10px;top:0;z-index:10;width:35px"></div>`); 10672 } 10673 10674 } else if (index === 1) { 10675 // Lobby Content 10676 class_name_tag = $(element).attr('class'); 10677 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10678 10679 if(vendor_isnew_tag == 1){ 10680 margin_promo = 12; 10681 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10682 } 10683 10684 if(promo_tag == 1){ 10685 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10686 } 10687 10688 if(game_ishot_tag == 1){ 10689 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10690 } 10691 } 10692 }); 10693 10694 10695 10696 lobby_tag = ".lb-10020" 10697 promo_tag = "1"; 10698 game_ishot_tag = "0"; 10699 vendor_isnew_tag = "0"; 10700 margin_promo = 0; 10701 // console.log(lobby_tag); 10702 // console.log("promo", promo_tag); 10703 // console.log("game_ishot", game_ishot_tag); 10704 // console.log("vendor_isnew", vendor_isnew_tag); 10705 10706 $(lobby_tag).each(function(index, element) { 10707 if (index === 0) { 10708 // Navbar Content 10709 class_name_tag = $(element).attr('class'); 10710 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10711 // on LI(navar) or DIV Content 10712 element_tag = $(element).prop('tagName'); 10713 if(vendor_isnew_tag == 1){ 10714 if( element_tag == 'LI'){ 10715 margin_promo = 20; 10716 }else{ 10717 margin_promo =10; 10718 } 10719 10720 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10721 } 10722 10723 if(promo_tag == 1){ 10724 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10725 } 10726 10727 if(game_ishot_tag == 1){ 10728 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 10729 } 10730 10731 } else if (index === 1) { 10732 // Lobby Content 10733 class_name_tag = $(element).attr('class'); 10734 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10735 10736 if(vendor_isnew_tag == 1){ 10737 margin_promo = 12; 10738 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10739 } 10740 10741 if(promo_tag == 1){ 10742 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10743 } 10744 10745 if(game_ishot_tag == 1){ 10746 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10747 } 10748 } 10749 }); 10750 10751 10752 10753 lobby_tag = ".lb-11394" 10754 promo_tag = "0"; 10755 game_ishot_tag = "0"; 10756 vendor_isnew_tag = "0"; 10757 margin_promo = 0; 10758 // console.log(lobby_tag); 10759 // console.log("promo", promo_tag); 10760 // console.log("game_ishot", game_ishot_tag); 10761 // console.log("vendor_isnew", vendor_isnew_tag); 10762 10763 $(lobby_tag).each(function(index, element) { 10764 if (index === 0) { 10765 // Navbar Content 10766 class_name_tag = $(element).attr('class'); 10767 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10768 // on LI(navar) or DIV Content 10769 element_tag = $(element).prop('tagName'); 10770 if(vendor_isnew_tag == 1){ 10771 if( element_tag == 'LI'){ 10772 margin_promo = 20; 10773 }else{ 10774 margin_promo =10; 10775 } 10776 10777 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10778 } 10779 10780 if(promo_tag == 1){ 10781 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10782 } 10783 10784 if(game_ishot_tag == 1){ 10785 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
10785left:10px;top:0;z-index:10;width:35px"></div>`); 10786 } 10787 10788 } else if (index === 1) { 10789 // Lobby Content 10790 class_name_tag = $(element).attr('class'); 10791 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10792 10793 if(vendor_isnew_tag == 1){ 10794 margin_promo = 12; 10795 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10796 } 10797 10798 if(promo_tag == 1){ 10799 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10800 } 10801 10802 if(game_ishot_tag == 1){ 10803 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10804 } 10805 } 10806 }); 10807 10808 10809 10810 lobby_tag = ".lb-25840" 10811 promo_tag = "0"; 10812 game_ishot_tag = "0"; 10813 vendor_isnew_tag = "0"; 10814 margin_promo = 0; 10815 // console.log(lobby_tag); 10816 // console.log("promo", promo_tag); 10817 // console.log("game_ishot", game_ishot_tag); 10818 // console.log("vendor_isnew", vendor_isnew_tag); 10819 10820 $(lobby_tag).each(function(index, element) { 10821 if (index === 0) { 10822 // Navbar Content 10823 class_name_tag = $(element).attr('class'); 10824 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10825 // on LI(navar) or DIV Content 10826 element_tag = $(element).prop('tagName'); 10827 if(vendor_isnew_tag == 1){ 10828 if( element_tag == 'LI'){ 10829 margin_promo = 20; 10830 }else{ 10831 margin_promo =10; 10832 } 10833 10834 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10835 } 10836 10837 if(promo_tag == 1){ 10838 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10839 } 10840 10841 if(game_ishot_tag == 1){ 10842 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 10843 } 10844 10845 } else if (index === 1) { 10846 // Lobby Content 10847 class_name_tag = $(element).attr('class'); 10848 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10849 10850 if(vendor_isnew_tag == 1){ 10851 margin_promo = 12; 10852 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10853 } 10854 10855 if(promo_tag == 1){ 10856 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10857 } 10858 10859 if(game_ishot_tag == 1){ 10860 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10861 } 10862 } 10863 }); 10864 10865 10866 10867 lobby_tag = ".lb-10425" 10868 promo_tag = "0"; 10869 game_ishot_tag = "0"; 10870 vendor_isnew_tag = "0"; 10871 margin_promo = 0; 10872 // console.log(lobby_tag); 10873 // console.log("promo", promo_tag); 10874 // console.log("game_ishot", game_ishot_tag); 10875 // console.log("vendor_isnew", vendor_isnew_tag); 10876 10877 $(lobby_tag).each(function(index, element) { 10878 if (index === 0) { 10879 // Navbar Content 10880 class_name_tag = $(element).attr('class'); 10881 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10882 // on LI(navar) or DIV Content 10883 element_tag = $(element).prop('tagName'); 10884 if(vendor_isnew_tag == 1){ 10885 if( element_tag == 'LI'){ 10886 margin_promo = 20; 10887 }else{ 10888 margin_promo =10; 10889 } 10890 10891 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10892 } 10893 10894 if(promo_tag == 1){ 10895 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10896 } 10897 10898 if(game_ishot_tag == 1){ 10899 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
10899left:10px;top:0;z-index:10;width:35px"></div>`); 10900 } 10901 10902 } else if (index === 1) { 10903 // Lobby Content 10904 class_name_tag = $(element).attr('class'); 10905 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10906 10907 if(vendor_isnew_tag == 1){ 10908 margin_promo = 12; 10909 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10910 } 10911 10912 if(promo_tag == 1){ 10913 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10914 } 10915 10916 if(game_ishot_tag == 1){ 10917 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10918 } 10919 } 10920 }); 10921 10922 10923 10924 lobby_tag = ".lb-19988" 10925 promo_tag = "0"; 10926 game_ishot_tag = "0"; 10927 vendor_isnew_tag = "0"; 10928 margin_promo = 0; 10929 // console.log(lobby_tag); 10930 // console.log("promo", promo_tag); 10931 // console.log("game_ishot", game_ishot_tag); 10932 // console.log("vendor_isnew", vendor_isnew_tag); 10933 10934 $(lobby_tag).each(function(index, element) { 10935 if (index === 0) { 10936 // Navbar Content 10937 class_name_tag = $(element).attr('class'); 10938 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10939 // on LI(navar) or DIV Content 10940 element_tag = $(element).prop('tagName'); 10941 if(vendor_isnew_tag == 1){ 10942 if( element_tag == 'LI'){ 10943 margin_promo = 20; 10944 }else{ 10945 margin_promo =10; 10946 } 10947 10948 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10949 } 10950 10951 if(promo_tag == 1){ 10952 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10953 } 10954 10955 if(game_ishot_tag == 1){ 10956 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 10957 } 10958 10959 } else if (index === 1) { 10960 // Lobby Content 10961 class_name_tag = $(element).attr('class'); 10962 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10963 10964 if(vendor_isnew_tag == 1){ 10965 margin_promo = 12; 10966 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 10967 } 10968 10969 if(promo_tag == 1){ 10970 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 10971 } 10972 10973 if(game_ishot_tag == 1){ 10974 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 10975 } 10976 } 10977 }); 10978 10979 10980 10981 lobby_tag = ".lb-19199" 10982 promo_tag = "0"; 10983 game_ishot_tag = "0"; 10984 vendor_isnew_tag = "0"; 10985 margin_promo = 0; 10986 // console.log(lobby_tag); 10987 // console.log("promo", promo_tag); 10988 // console.log("game_ishot", game_ishot_tag); 10989 // console.log("vendor_isnew", vendor_isnew_tag); 10990 10991 $(lobby_tag).each(function(index, element) { 10992 if (index === 0) { 10993 // Navbar Content 10994 class_name_tag = $(element).attr('class'); 10995 selector_tag = '.' + class_name_tag.split(' ').join('.'); 10996 // on LI(navar) or DIV Content 10997 element_tag = $(element).prop('tagName'); 10998 if(vendor_isnew_tag == 1){ 10999 if( element_tag == 'LI'){ 11000 margin_promo = 20; 11001 }else{ 11002 margin_promo =10; 11003 } 11004 11005 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11006 } 11007 11008 if(promo_tag == 1){ 11009 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11010 } 11011 11012 if(game_ishot_tag == 1){ 11013 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
11013left:10px;top:0;z-index:10;width:35px"></div>`); 11014 } 11015 11016 } else if (index === 1) { 11017 // Lobby Content 11018 class_name_tag = $(element).attr('class'); 11019 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11020 11021 if(vendor_isnew_tag == 1){ 11022 margin_promo = 12; 11023 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11024 } 11025 11026 if(promo_tag == 1){ 11027 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11028 } 11029 11030 if(game_ishot_tag == 1){ 11031 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11032 } 11033 } 11034 }); 11035 11036 11037 11038 lobby_tag = ".lb-29338" 11039 promo_tag = "0"; 11040 game_ishot_tag = "0"; 11041 vendor_isnew_tag = "0"; 11042 margin_promo = 0; 11043 // console.log(lobby_tag); 11044 // console.log("promo", promo_tag); 11045 // console.log("game_ishot", game_ishot_tag); 11046 // console.log("vendor_isnew", vendor_isnew_tag); 11047 11048 $(lobby_tag).each(function(index, element) { 11049 if (index === 0) { 11050 // Navbar Content 11051 class_name_tag = $(element).attr('class'); 11052 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11053 // on LI(navar) or DIV Content 11054 element_tag = $(element).prop('tagName'); 11055 if(vendor_isnew_tag == 1){ 11056 if( element_tag == 'LI'){ 11057 margin_promo = 20; 11058 }else{ 11059 margin_promo =10; 11060 } 11061 11062 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11063 } 11064 11065 if(promo_tag == 1){ 11066 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11067 } 11068 11069 if(game_ishot_tag == 1){ 11070 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 11071 } 11072 11073 } else if (index === 1) { 11074 // Lobby Content 11075 class_name_tag = $(element).attr('class'); 11076 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11077 11078 if(vendor_isnew_tag == 1){ 11079 margin_promo = 12; 11080 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11081 } 11082 11083 if(promo_tag == 1){ 11084 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11085 } 11086 11087 if(game_ishot_tag == 1){ 11088 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11089 } 11090 } 11091 }); 11092 11093 11094 11095 lobby_tag = ".lb-17529" 11096 promo_tag = "0"; 11097 game_ishot_tag = "0"; 11098 vendor_isnew_tag = "0"; 11099 margin_promo = 0; 11100 // console.log(lobby_tag); 11101 // console.log("promo", promo_tag); 11102 // console.log("game_ishot", game_ishot_tag); 11103 // console.log("vendor_isnew", vendor_isnew_tag); 11104 11105 $(lobby_tag).each(function(index, element) { 11106 if (index === 0) { 11107 // Navbar Content 11108 class_name_tag = $(element).attr('class'); 11109 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11110 // on LI(navar) or DIV Content 11111 element_tag = $(element).prop('tagName'); 11112 if(vendor_isnew_tag == 1){ 11113 if( element_tag == 'LI'){ 11114 margin_promo = 20; 11115 }else{ 11116 margin_promo =10; 11117 } 11118 11119 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11120 } 11121 11122 if(promo_tag == 1){ 11123 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11124 } 11125 11126 if(game_ishot_tag == 1){ 11127 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
11127left:10px;top:0;z-index:10;width:35px"></div>`); 11128 } 11129 11130 } else if (index === 1) { 11131 // Lobby Content 11132 class_name_tag = $(element).attr('class'); 11133 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11134 11135 if(vendor_isnew_tag == 1){ 11136 margin_promo = 12; 11137 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11138 } 11139 11140 if(promo_tag == 1){ 11141 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11142 } 11143 11144 if(game_ishot_tag == 1){ 11145 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11146 } 11147 } 11148 }); 11149 11150 11151 11152 lobby_tag = ".lb-17553" 11153 promo_tag = "0"; 11154 game_ishot_tag = "0"; 11155 vendor_isnew_tag = "0"; 11156 margin_promo = 0; 11157 // console.log(lobby_tag); 11158 // console.log("promo", promo_tag); 11159 // console.log("game_ishot", game_ishot_tag); 11160 // console.log("vendor_isnew", vendor_isnew_tag); 11161 11162 $(lobby_tag).each(function(index, element) { 11163 if (index === 0) { 11164 // Navbar Content 11165 class_name_tag = $(element).attr('class'); 11166 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11167 // on LI(navar) or DIV Content 11168 element_tag = $(element).prop('tagName'); 11169 if(vendor_isnew_tag == 1){ 11170 if( element_tag == 'LI'){ 11171 margin_promo = 20; 11172 }else{ 11173 margin_promo =10; 11174 } 11175 11176 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11177 } 11178 11179 if(promo_tag == 1){ 11180 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11181 } 11182 11183 if(game_ishot_tag == 1){ 11184 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 11185 } 11186 11187 } else if (index === 1) { 11188 // Lobby Content 11189 class_name_tag = $(element).attr('class'); 11190 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11191 11192 if(vendor_isnew_tag == 1){ 11193 margin_promo = 12; 11194 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11195 } 11196 11197 if(promo_tag == 1){ 11198 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11199 } 11200 11201 if(game_ishot_tag == 1){ 11202 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11203 } 11204 } 11205 }); 11206 11207 11208 11209 lobby_tag = ".lb-19567" 11210 promo_tag = "0"; 11211 game_ishot_tag = "0"; 11212 vendor_isnew_tag = "0"; 11213 margin_promo = 0; 11214 // console.log(lobby_tag); 11215 // console.log("promo", promo_tag); 11216 // console.log("game_ishot", game_ishot_tag); 11217 // console.log("vendor_isnew", vendor_isnew_tag); 11218 11219 $(lobby_tag).each(function(index, element) { 11220 if (index === 0) { 11221 // Navbar Content 11222 class_name_tag = $(element).attr('class'); 11223 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11224 // on LI(navar) or DIV Content 11225 element_tag = $(element).prop('tagName'); 11226 if(vendor_isnew_tag == 1){ 11227 if( element_tag == 'LI'){ 11228 margin_promo = 20; 11229 }else{ 11230 margin_promo =10; 11231 } 11232 11233 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11234 } 11235 11236 if(promo_tag == 1){ 11237 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11238 } 11239 11240 if(game_ishot_tag == 1){ 11241 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
11241left:10px;top:0;z-index:10;width:35px"></div>`); 11242 } 11243 11244 } else if (index === 1) { 11245 // Lobby Content 11246 class_name_tag = $(element).attr('class'); 11247 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11248 11249 if(vendor_isnew_tag == 1){ 11250 margin_promo = 12; 11251 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11252 } 11253 11254 if(promo_tag == 1){ 11255 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11256 } 11257 11258 if(game_ishot_tag == 1){ 11259 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11260 } 11261 } 11262 }); 11263 11264 11265 11266 lobby_tag = ".lb-24264" 11267 promo_tag = "0"; 11268 game_ishot_tag = "0"; 11269 vendor_isnew_tag = "0"; 11270 margin_promo = 0; 11271 // console.log(lobby_tag); 11272 // console.log("promo", promo_tag); 11273 // console.log("game_ishot", game_ishot_tag); 11274 // console.log("vendor_isnew", vendor_isnew_tag); 11275 11276 $(lobby_tag).each(function(index, element) { 11277 if (index === 0) { 11278 // Navbar Content 11279 class_name_tag = $(element).attr('class'); 11280 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11281 // on LI(navar) or DIV Content 11282 element_tag = $(element).prop('tagName'); 11283 if(vendor_isnew_tag == 1){ 11284 if( element_tag == 'LI'){ 11285 margin_promo = 20; 11286 }else{ 11287 margin_promo =10; 11288 } 11289 11290 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11291 } 11292 11293 if(promo_tag == 1){ 11294 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11295 } 11296 11297 if(game_ishot_tag == 1){ 11298 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 11299 } 11300 11301 } else if (index === 1) { 11302 // Lobby Content 11303 class_name_tag = $(element).attr('class'); 11304 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11305 11306 if(vendor_isnew_tag == 1){ 11307 margin_promo = 12; 11308 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11309 } 11310 11311 if(promo_tag == 1){ 11312 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11313 } 11314 11315 if(game_ishot_tag == 1){ 11316 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11317 } 11318 } 11319 }); 11320 11321 11322 11323 lobby_tag = ".lb-17544" 11324 promo_tag = "0"; 11325 game_ishot_tag = "0"; 11326 vendor_isnew_tag = "0"; 11327 margin_promo = 0; 11328 // console.log(lobby_tag); 11329 // console.log("promo", promo_tag); 11330 // console.log("game_ishot", game_ishot_tag); 11331 // console.log("vendor_isnew", vendor_isnew_tag); 11332 11333 $(lobby_tag).each(function(index, element) { 11334 if (index === 0) { 11335 // Navbar Content 11336 class_name_tag = $(element).attr('class'); 11337 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11338 // on LI(navar) or DIV Content 11339 element_tag = $(element).prop('tagName'); 11340 if(vendor_isnew_tag == 1){ 11341 if( element_tag == 'LI'){ 11342 margin_promo = 20; 11343 }else{ 11344 margin_promo =10; 11345 } 11346 11347 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11348 } 11349 11350 if(promo_tag == 1){ 11351 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11352 } 11353 11354 if(game_ishot_tag == 1){ 11355 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
11355left:10px;top:0;z-index:10;width:35px"></div>`); 11356 } 11357 11358 } else if (index === 1) { 11359 // Lobby Content 11360 class_name_tag = $(element).attr('class'); 11361 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11362 11363 if(vendor_isnew_tag == 1){ 11364 margin_promo = 12; 11365 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11366 } 11367 11368 if(promo_tag == 1){ 11369 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11370 } 11371 11372 if(game_ishot_tag == 1){ 11373 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11374 } 11375 } 11376 }); 11377 11378 11379 11380 lobby_tag = ".lb-10150" 11381 promo_tag = "0"; 11382 game_ishot_tag = "0"; 11383 vendor_isnew_tag = "0"; 11384 margin_promo = 0; 11385 // console.log(lobby_tag); 11386 // console.log("promo", promo_tag); 11387 // console.log("game_ishot", game_ishot_tag); 11388 // console.log("vendor_isnew", vendor_isnew_tag); 11389 11390 $(lobby_tag).each(function(index, element) { 11391 if (index === 0) { 11392 // Navbar Content 11393 class_name_tag = $(element).attr('class'); 11394 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11395 // on LI(navar) or DIV Content 11396 element_tag = $(element).prop('tagName'); 11397 if(vendor_isnew_tag == 1){ 11398 if( element_tag == 'LI'){ 11399 margin_promo = 20; 11400 }else{ 11401 margin_promo =10; 11402 } 11403 11404 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11405 } 11406 11407 if(promo_tag == 1){ 11408 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11409 } 11410 11411 if(game_ishot_tag == 1){ 11412 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 11413 } 11414 11415 } else if (index === 1) { 11416 // Lobby Content 11417 class_name_tag = $(element).attr('class'); 11418 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11419 11420 if(vendor_isnew_tag == 1){ 11421 margin_promo = 12; 11422 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11423 } 11424 11425 if(promo_tag == 1){ 11426 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11427 } 11428 11429 if(game_ishot_tag == 1){ 11430 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11431 } 11432 } 11433 }); 11434 11435 11436 11437 lobby_tag = ".lb-24712" 11438 promo_tag = "0"; 11439 game_ishot_tag = "0"; 11440 vendor_isnew_tag = "0"; 11441 margin_promo = 0; 11442 // console.log(lobby_tag); 11443 // console.log("promo", promo_tag); 11444 // console.log("game_ishot", game_ishot_tag); 11445 // console.log("vendor_isnew", vendor_isnew_tag); 11446 11447 $(lobby_tag).each(function(index, element) { 11448 if (index === 0) { 11449 // Navbar Content 11450 class_name_tag = $(element).attr('class'); 11451 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11452 // on LI(navar) or DIV Content 11453 element_tag = $(element).prop('tagName'); 11454 if(vendor_isnew_tag == 1){ 11455 if( element_tag == 'LI'){ 11456 margin_promo = 20; 11457 }else{ 11458 margin_promo =10; 11459 } 11460 11461 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11462 } 11463 11464 if(promo_tag == 1){ 11465 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11466 } 11467 11468 if(game_ishot_tag == 1){ 11469 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
11469left:10px;top:0;z-index:10;width:35px"></div>`); 11470 } 11471 11472 } else if (index === 1) { 11473 // Lobby Content 11474 class_name_tag = $(element).attr('class'); 11475 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11476 11477 if(vendor_isnew_tag == 1){ 11478 margin_promo = 12; 11479 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11480 } 11481 11482 if(promo_tag == 1){ 11483 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11484 } 11485 11486 if(game_ishot_tag == 1){ 11487 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11488 } 11489 } 11490 }); 11491 11492 11493 11494 lobby_tag = ".lb-26614" 11495 promo_tag = "0"; 11496 game_ishot_tag = "0"; 11497 vendor_isnew_tag = "0"; 11498 margin_promo = 0; 11499 // console.log(lobby_tag); 11500 // console.log("promo", promo_tag); 11501 // console.log("game_ishot", game_ishot_tag); 11502 // console.log("vendor_isnew", vendor_isnew_tag); 11503 11504 $(lobby_tag).each(function(index, element) { 11505 if (index === 0) { 11506 // Navbar Content 11507 class_name_tag = $(element).attr('class'); 11508 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11509 // on LI(navar) or DIV Content 11510 element_tag = $(element).prop('tagName'); 11511 if(vendor_isnew_tag == 1){ 11512 if( element_tag == 'LI'){ 11513 margin_promo = 20; 11514 }else{ 11515 margin_promo =10; 11516 } 11517 11518 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11519 } 11520 11521 if(promo_tag == 1){ 11522 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11523 } 11524 11525 if(game_ishot_tag == 1){ 11526 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 11527 } 11528 11529 } else if (index === 1) { 11530 // Lobby Content 11531 class_name_tag = $(element).attr('class'); 11532 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11533 11534 if(vendor_isnew_tag == 1){ 11535 margin_promo = 12; 11536 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11537 } 11538 11539 if(promo_tag == 1){ 11540 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11541 } 11542 11543 if(game_ishot_tag == 1){ 11544 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11545 } 11546 } 11547 }); 11548 11549 11550 11551 lobby_tag = ".lb-16288" 11552 promo_tag = "0"; 11553 game_ishot_tag = "0"; 11554 vendor_isnew_tag = "0"; 11555 margin_promo = 0; 11556 // console.log(lobby_tag); 11557 // console.log("promo", promo_tag); 11558 // console.log("game_ishot", game_ishot_tag); 11559 // console.log("vendor_isnew", vendor_isnew_tag); 11560 11561 $(lobby_tag).each(function(index, element) { 11562 if (index === 0) { 11563 // Navbar Content 11564 class_name_tag = $(element).attr('class'); 11565 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11566 // on LI(navar) or DIV Content 11567 element_tag = $(element).prop('tagName'); 11568 if(vendor_isnew_tag == 1){ 11569 if( element_tag == 'LI'){ 11570 margin_promo = 20; 11571 }else{ 11572 margin_promo =10; 11573 } 11574 11575 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11576 } 11577 11578 if(promo_tag == 1){ 11579 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11580 } 11581 11582 if(game_ishot_tag == 1){ 11583 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
11583left:10px;top:0;z-index:10;width:35px"></div>`); 11584 } 11585 11586 } else if (index === 1) { 11587 // Lobby Content 11588 class_name_tag = $(element).attr('class'); 11589 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11590 11591 if(vendor_isnew_tag == 1){ 11592 margin_promo = 12; 11593 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11594 } 11595 11596 if(promo_tag == 1){ 11597 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11598 } 11599 11600 if(game_ishot_tag == 1){ 11601 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11602 } 11603 } 11604 }); 11605 11606 11607 11608 lobby_tag = ".lb-15253" 11609 promo_tag = "0"; 11610 game_ishot_tag = "0"; 11611 vendor_isnew_tag = "0"; 11612 margin_promo = 0; 11613 // console.log(lobby_tag); 11614 // console.log("promo", promo_tag); 11615 // console.log("game_ishot", game_ishot_tag); 11616 // console.log("vendor_isnew", vendor_isnew_tag); 11617 11618 $(lobby_tag).each(function(index, element) { 11619 if (index === 0) { 11620 // Navbar Content 11621 class_name_tag = $(element).attr('class'); 11622 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11623 // on LI(navar) or DIV Content 11624 element_tag = $(element).prop('tagName'); 11625 if(vendor_isnew_tag == 1){ 11626 if( element_tag == 'LI'){ 11627 margin_promo = 20; 11628 }else{ 11629 margin_promo =10; 11630 } 11631 11632 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11633 } 11634 11635 if(promo_tag == 1){ 11636 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11637 } 11638 11639 if(game_ishot_tag == 1){ 11640 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 11641 } 11642 11643 } else if (index === 1) { 11644 // Lobby Content 11645 class_name_tag = $(element).attr('class'); 11646 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11647 11648 if(vendor_isnew_tag == 1){ 11649 margin_promo = 12; 11650 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11651 } 11652 11653 if(promo_tag == 1){ 11654 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11655 } 11656 11657 if(game_ishot_tag == 1){ 11658 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11659 } 11660 } 11661 }); 11662 11663 11664 11665 lobby_tag = ".lb-10422" 11666 promo_tag = "0"; 11667 game_ishot_tag = "0"; 11668 vendor_isnew_tag = "0"; 11669 margin_promo = 0; 11670 // console.log(lobby_tag); 11671 // console.log("promo", promo_tag); 11672 // console.log("game_ishot", game_ishot_tag); 11673 // console.log("vendor_isnew", vendor_isnew_tag); 11674 11675 $(lobby_tag).each(function(index, element) { 11676 if (index === 0) { 11677 // Navbar Content 11678 class_name_tag = $(element).attr('class'); 11679 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11680 // on LI(navar) or DIV Content 11681 element_tag = $(element).prop('tagName'); 11682 if(vendor_isnew_tag == 1){ 11683 if( element_tag == 'LI'){ 11684 margin_promo = 20; 11685 }else{ 11686 margin_promo =10; 11687 } 11688 11689 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11690 } 11691 11692 if(promo_tag == 1){ 11693 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11694 } 11695 11696 if(game_ishot_tag == 1){ 11697 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
11697left:10px;top:0;z-index:10;width:35px"></div>`); 11698 } 11699 11700 } else if (index === 1) { 11701 // Lobby Content 11702 class_name_tag = $(element).attr('class'); 11703 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11704 11705 if(vendor_isnew_tag == 1){ 11706 margin_promo = 12; 11707 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11708 } 11709 11710 if(promo_tag == 1){ 11711 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11712 } 11713 11714 if(game_ishot_tag == 1){ 11715 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11716 } 11717 } 11718 }); 11719 11720 11721 11722 lobby_tag = ".lb-29232" 11723 promo_tag = "0"; 11724 game_ishot_tag = "0"; 11725 vendor_isnew_tag = "0"; 11726 margin_promo = 0; 11727 // console.log(lobby_tag); 11728 // console.log("promo", promo_tag); 11729 // console.log("game_ishot", game_ishot_tag); 11730 // console.log("vendor_isnew", vendor_isnew_tag); 11731 11732 $(lobby_tag).each(function(index, element) { 11733 if (index === 0) { 11734 // Navbar Content 11735 class_name_tag = $(element).attr('class'); 11736 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11737 // on LI(navar) or DIV Content 11738 element_tag = $(element).prop('tagName'); 11739 if(vendor_isnew_tag == 1){ 11740 if( element_tag == 'LI'){ 11741 margin_promo = 20; 11742 }else{ 11743 margin_promo =10; 11744 } 11745 11746 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11747 } 11748 11749 if(promo_tag == 1){ 11750 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11751 } 11752 11753 if(game_ishot_tag == 1){ 11754 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 11755 } 11756 11757 } else if (index === 1) { 11758 // Lobby Content 11759 class_name_tag = $(element).attr('class'); 11760 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11761 11762 if(vendor_isnew_tag == 1){ 11763 margin_promo = 12; 11764 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11765 } 11766 11767 if(promo_tag == 1){ 11768 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11769 } 11770 11771 if(game_ishot_tag == 1){ 11772 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11773 } 11774 } 11775 }); 11776 11777 11778 11779 lobby_tag = ".lb-29304" 11780 promo_tag = "0"; 11781 game_ishot_tag = "0"; 11782 vendor_isnew_tag = "0"; 11783 margin_promo = 0; 11784 // console.log(lobby_tag); 11785 // console.log("promo", promo_tag); 11786 // console.log("game_ishot", game_ishot_tag); 11787 // console.log("vendor_isnew", vendor_isnew_tag); 11788 11789 $(lobby_tag).each(function(index, element) { 11790 if (index === 0) { 11791 // Navbar Content 11792 class_name_tag = $(element).attr('class'); 11793 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11794 // on LI(navar) or DIV Content 11795 element_tag = $(element).prop('tagName'); 11796 if(vendor_isnew_tag == 1){ 11797 if( element_tag == 'LI'){ 11798 margin_promo = 20; 11799 }else{ 11800 margin_promo =10; 11801 } 11802 11803 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11804 } 11805 11806 if(promo_tag == 1){ 11807 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11808 } 11809 11810 if(game_ishot_tag == 1){ 11811 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
11811left:10px;top:0;z-index:10;width:35px"></div>`); 11812 } 11813 11814 } else if (index === 1) { 11815 // Lobby Content 11816 class_name_tag = $(element).attr('class'); 11817 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11818 11819 if(vendor_isnew_tag == 1){ 11820 margin_promo = 12; 11821 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11822 } 11823 11824 if(promo_tag == 1){ 11825 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11826 } 11827 11828 if(game_ishot_tag == 1){ 11829 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11830 } 11831 } 11832 }); 11833 11834 11835 11836 lobby_tag = ".lb-16059" 11837 promo_tag = "0"; 11838 game_ishot_tag = "0"; 11839 vendor_isnew_tag = "0"; 11840 margin_promo = 0; 11841 // console.log(lobby_tag); 11842 // console.log("promo", promo_tag); 11843 // console.log("game_ishot", game_ishot_tag); 11844 // console.log("vendor_isnew", vendor_isnew_tag); 11845 11846 $(lobby_tag).each(function(index, element) { 11847 if (index === 0) { 11848 // Navbar Content 11849 class_name_tag = $(element).attr('class'); 11850 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11851 // on LI(navar) or DIV Content 11852 element_tag = $(element).prop('tagName'); 11853 if(vendor_isnew_tag == 1){ 11854 if( element_tag == 'LI'){ 11855 margin_promo = 20; 11856 }else{ 11857 margin_promo =10; 11858 } 11859 11860 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11861 } 11862 11863 if(promo_tag == 1){ 11864 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11865 } 11866 11867 if(game_ishot_tag == 1){ 11868 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 11869 } 11870 11871 } else if (index === 1) { 11872 // Lobby Content 11873 class_name_tag = $(element).attr('class'); 11874 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11875 11876 if(vendor_isnew_tag == 1){ 11877 margin_promo = 12; 11878 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11879 } 11880 11881 if(promo_tag == 1){ 11882 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11883 } 11884 11885 if(game_ishot_tag == 1){ 11886 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11887 } 11888 } 11889 }); 11890 11891 11892 11893 lobby_tag = ".lb-23923" 11894 promo_tag = "0"; 11895 game_ishot_tag = "0"; 11896 vendor_isnew_tag = "0"; 11897 margin_promo = 0; 11898 // console.log(lobby_tag); 11899 // console.log("promo", promo_tag); 11900 // console.log("game_ishot", game_ishot_tag); 11901 // console.log("vendor_isnew", vendor_isnew_tag); 11902 11903 $(lobby_tag).each(function(index, element) { 11904 if (index === 0) { 11905 // Navbar Content 11906 class_name_tag = $(element).attr('class'); 11907 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11908 // on LI(navar) or DIV Content 11909 element_tag = $(element).prop('tagName'); 11910 if(vendor_isnew_tag == 1){ 11911 if( element_tag == 'LI'){ 11912 margin_promo = 20; 11913 }else{ 11914 margin_promo =10; 11915 } 11916 11917 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11918 } 11919 11920 if(promo_tag == 1){ 11921 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11922 } 11923 11924 if(game_ishot_tag == 1){ 11925 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
11925left:10px;top:0;z-index:10;width:35px"></div>`); 11926 } 11927 11928 } else if (index === 1) { 11929 // Lobby Content 11930 class_name_tag = $(element).attr('class'); 11931 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11932 11933 if(vendor_isnew_tag == 1){ 11934 margin_promo = 12; 11935 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11936 } 11937 11938 if(promo_tag == 1){ 11939 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11940 } 11941 11942 if(game_ishot_tag == 1){ 11943 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 11944 } 11945 } 11946 }); 11947 11948 11949 11950 lobby_tag = ".lb-21282" 11951 promo_tag = "0"; 11952 game_ishot_tag = "0"; 11953 vendor_isnew_tag = "0"; 11954 margin_promo = 0; 11955 // console.log(lobby_tag); 11956 // console.log("promo", promo_tag); 11957 // console.log("game_ishot", game_ishot_tag); 11958 // console.log("vendor_isnew", vendor_isnew_tag); 11959 11960 $(lobby_tag).each(function(index, element) { 11961 if (index === 0) { 11962 // Navbar Content 11963 class_name_tag = $(element).attr('class'); 11964 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11965 // on LI(navar) or DIV Content 11966 element_tag = $(element).prop('tagName'); 11967 if(vendor_isnew_tag == 1){ 11968 if( element_tag == 'LI'){ 11969 margin_promo = 20; 11970 }else{ 11971 margin_promo =10; 11972 } 11973 11974 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11975 } 11976 11977 if(promo_tag == 1){ 11978 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11979 } 11980 11981 if(game_ishot_tag == 1){ 11982 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 11983 } 11984 11985 } else if (index === 1) { 11986 // Lobby Content 11987 class_name_tag = $(element).attr('class'); 11988 selector_tag = '.' + class_name_tag.split(' ').join('.'); 11989 11990 if(vendor_isnew_tag == 1){ 11991 margin_promo = 12; 11992 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 11993 } 11994 11995 if(promo_tag == 1){ 11996 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 11997 } 11998 11999 if(game_ishot_tag == 1){ 12000 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12001 } 12002 } 12003 }); 12004 12005 12006 12007 lobby_tag = ".lb-19229" 12008 promo_tag = "0"; 12009 game_ishot_tag = "0"; 12010 vendor_isnew_tag = "0"; 12011 margin_promo = 0; 12012 // console.log(lobby_tag); 12013 // console.log("promo", promo_tag); 12014 // console.log("game_ishot", game_ishot_tag); 12015 // console.log("vendor_isnew", vendor_isnew_tag); 12016 12017 $(lobby_tag).each(function(index, element) { 12018 if (index === 0) { 12019 // Navbar Content 12020 class_name_tag = $(element).attr('class'); 12021 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12022 // on LI(navar) or DIV Content 12023 element_tag = $(element).prop('tagName'); 12024 if(vendor_isnew_tag == 1){ 12025 if( element_tag == 'LI'){ 12026 margin_promo = 20; 12027 }else{ 12028 margin_promo =10; 12029 } 12030 12031 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12032 } 12033 12034 if(promo_tag == 1){ 12035 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12036 } 12037 12038 if(game_ishot_tag == 1){ 12039 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
12039left:10px;top:0;z-index:10;width:35px"></div>`); 12040 } 12041 12042 } else if (index === 1) { 12043 // Lobby Content 12044 class_name_tag = $(element).attr('class'); 12045 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12046 12047 if(vendor_isnew_tag == 1){ 12048 margin_promo = 12; 12049 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12050 } 12051 12052 if(promo_tag == 1){ 12053 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12054 } 12055 12056 if(game_ishot_tag == 1){ 12057 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12058 } 12059 } 12060 }); 12061 12062 12063 12064 lobby_tag = ".lb-29651" 12065 promo_tag = "0"; 12066 game_ishot_tag = "0"; 12067 vendor_isnew_tag = "0"; 12068 margin_promo = 0; 12069 // console.log(lobby_tag); 12070 // console.log("promo", promo_tag); 12071 // console.log("game_ishot", game_ishot_tag); 12072 // console.log("vendor_isnew", vendor_isnew_tag); 12073 12074 $(lobby_tag).each(function(index, element) { 12075 if (index === 0) { 12076 // Navbar Content 12077 class_name_tag = $(element).attr('class'); 12078 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12079 // on LI(navar) or DIV Content 12080 element_tag = $(element).prop('tagName'); 12081 if(vendor_isnew_tag == 1){ 12082 if( element_tag == 'LI'){ 12083 margin_promo = 20; 12084 }else{ 12085 margin_promo =10; 12086 } 12087 12088 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12089 } 12090 12091 if(promo_tag == 1){ 12092 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12093 } 12094 12095 if(game_ishot_tag == 1){ 12096 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 12097 } 12098 12099 } else if (index === 1) { 12100 // Lobby Content 12101 class_name_tag = $(element).attr('class'); 12102 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12103 12104 if(vendor_isnew_tag == 1){ 12105 margin_promo = 12; 12106 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12107 } 12108 12109 if(promo_tag == 1){ 12110 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12111 } 12112 12113 if(game_ishot_tag == 1){ 12114 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12115 } 12116 } 12117 }); 12118 12119 12120 12121 lobby_tag = ".lb-17528" 12122 promo_tag = "0"; 12123 game_ishot_tag = "0"; 12124 vendor_isnew_tag = "0"; 12125 margin_promo = 0; 12126 // console.log(lobby_tag); 12127 // console.log("promo", promo_tag); 12128 // console.log("game_ishot", game_ishot_tag); 12129 // console.log("vendor_isnew", vendor_isnew_tag); 12130 12131 $(lobby_tag).each(function(index, element) { 12132 if (index === 0) { 12133 // Navbar Content 12134 class_name_tag = $(element).attr('class'); 12135 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12136 // on LI(navar) or DIV Content 12137 element_tag = $(element).prop('tagName'); 12138 if(vendor_isnew_tag == 1){ 12139 if( element_tag == 'LI'){ 12140 margin_promo = 20; 12141 }else{ 12142 margin_promo =10; 12143 } 12144 12145 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12146 } 12147 12148 if(promo_tag == 1){ 12149 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12150 } 12151 12152 if(game_ishot_tag == 1){ 12153 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
12153left:10px;top:0;z-index:10;width:35px"></div>`); 12154 } 12155 12156 } else if (index === 1) { 12157 // Lobby Content 12158 class_name_tag = $(element).attr('class'); 12159 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12160 12161 if(vendor_isnew_tag == 1){ 12162 margin_promo = 12; 12163 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12164 } 12165 12166 if(promo_tag == 1){ 12167 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12168 } 12169 12170 if(game_ishot_tag == 1){ 12171 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12172 } 12173 } 12174 }); 12175 12176 12177 12178 lobby_tag = ".lb-16311" 12179 promo_tag = "0"; 12180 game_ishot_tag = "0"; 12181 vendor_isnew_tag = "0"; 12182 margin_promo = 0; 12183 // console.log(lobby_tag); 12184 // console.log("promo", promo_tag); 12185 // console.log("game_ishot", game_ishot_tag); 12186 // console.log("vendor_isnew", vendor_isnew_tag); 12187 12188 $(lobby_tag).each(function(index, element) { 12189 if (index === 0) { 12190 // Navbar Content 12191 class_name_tag = $(element).attr('class'); 12192 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12193 // on LI(navar) or DIV Content 12194 element_tag = $(element).prop('tagName'); 12195 if(vendor_isnew_tag == 1){ 12196 if( element_tag == 'LI'){ 12197 margin_promo = 20; 12198 }else{ 12199 margin_promo =10; 12200 } 12201 12202 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12203 } 12204 12205 if(promo_tag == 1){ 12206 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12207 } 12208 12209 if(game_ishot_tag == 1){ 12210 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 12211 } 12212 12213 } else if (index === 1) { 12214 // Lobby Content 12215 class_name_tag = $(element).attr('class'); 12216 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12217 12218 if(vendor_isnew_tag == 1){ 12219 margin_promo = 12; 12220 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12221 } 12222 12223 if(promo_tag == 1){ 12224 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12225 } 12226 12227 if(game_ishot_tag == 1){ 12228 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12229 } 12230 } 12231 }); 12232 12233 12234 12235 lobby_tag = ".lb-19231" 12236 promo_tag = "0"; 12237 game_ishot_tag = "0"; 12238 vendor_isnew_tag = "0"; 12239 margin_promo = 0; 12240 // console.log(lobby_tag); 12241 // console.log("promo", promo_tag); 12242 // console.log("game_ishot", game_ishot_tag); 12243 // console.log("vendor_isnew", vendor_isnew_tag); 12244 12245 $(lobby_tag).each(function(index, element) { 12246 if (index === 0) { 12247 // Navbar Content 12248 class_name_tag = $(element).attr('class'); 12249 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12250 // on LI(navar) or DIV Content 12251 element_tag = $(element).prop('tagName'); 12252 if(vendor_isnew_tag == 1){ 12253 if( element_tag == 'LI'){ 12254 margin_promo = 20; 12255 }else{ 12256 margin_promo =10; 12257 } 12258 12259 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12260 } 12261 12262 if(promo_tag == 1){ 12263 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12264 } 12265 12266 if(game_ishot_tag == 1){ 12267 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
12267left:10px;top:0;z-index:10;width:35px"></div>`); 12268 } 12269 12270 } else if (index === 1) { 12271 // Lobby Content 12272 class_name_tag = $(element).attr('class'); 12273 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12274 12275 if(vendor_isnew_tag == 1){ 12276 margin_promo = 12; 12277 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12278 } 12279 12280 if(promo_tag == 1){ 12281 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12282 } 12283 12284 if(game_ishot_tag == 1){ 12285 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12286 } 12287 } 12288 }); 12289 12290 12291 12292 lobby_tag = ".lb-15614" 12293 promo_tag = "0"; 12294 game_ishot_tag = "0"; 12295 vendor_isnew_tag = "0"; 12296 margin_promo = 0; 12297 // console.log(lobby_tag); 12298 // console.log("promo", promo_tag); 12299 // console.log("game_ishot", game_ishot_tag); 12300 // console.log("vendor_isnew", vendor_isnew_tag); 12301 12302 $(lobby_tag).each(function(index, element) { 12303 if (index === 0) { 12304 // Navbar Content 12305 class_name_tag = $(element).attr('class'); 12306 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12307 // on LI(navar) or DIV Content 12308 element_tag = $(element).prop('tagName'); 12309 if(vendor_isnew_tag == 1){ 12310 if( element_tag == 'LI'){ 12311 margin_promo = 20; 12312 }else{ 12313 margin_promo =10; 12314 } 12315 12316 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12317 } 12318 12319 if(promo_tag == 1){ 12320 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12321 } 12322 12323 if(game_ishot_tag == 1){ 12324 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 12325 } 12326 12327 } else if (index === 1) { 12328 // Lobby Content 12329 class_name_tag = $(element).attr('class'); 12330 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12331 12332 if(vendor_isnew_tag == 1){ 12333 margin_promo = 12; 12334 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12335 } 12336 12337 if(promo_tag == 1){ 12338 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12339 } 12340 12341 if(game_ishot_tag == 1){ 12342 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12343 } 12344 } 12345 }); 12346 12347 12348 12349 lobby_tag = ".lb-17769" 12350 promo_tag = "0"; 12351 game_ishot_tag = "0"; 12352 vendor_isnew_tag = "0"; 12353 margin_promo = 0; 12354 // console.log(lobby_tag); 12355 // console.log("promo", promo_tag); 12356 // console.log("game_ishot", game_ishot_tag); 12357 // console.log("vendor_isnew", vendor_isnew_tag); 12358 12359 $(lobby_tag).each(function(index, element) { 12360 if (index === 0) { 12361 // Navbar Content 12362 class_name_tag = $(element).attr('class'); 12363 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12364 // on LI(navar) or DIV Content 12365 element_tag = $(element).prop('tagName'); 12366 if(vendor_isnew_tag == 1){ 12367 if( element_tag == 'LI'){ 12368 margin_promo = 20; 12369 }else{ 12370 margin_promo =10; 12371 } 12372 12373 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12374 } 12375 12376 if(promo_tag == 1){ 12377 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12378 } 12379 12380 if(game_ishot_tag == 1){ 12381 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
12381left:10px;top:0;z-index:10;width:35px"></div>`); 12382 } 12383 12384 } else if (index === 1) { 12385 // Lobby Content 12386 class_name_tag = $(element).attr('class'); 12387 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12388 12389 if(vendor_isnew_tag == 1){ 12390 margin_promo = 12; 12391 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12392 } 12393 12394 if(promo_tag == 1){ 12395 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12396 } 12397 12398 if(game_ishot_tag == 1){ 12399 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12400 } 12401 } 12402 }); 12403 12404 12405 12406 lobby_tag = ".lb-12201" 12407 promo_tag = "0"; 12408 game_ishot_tag = "0"; 12409 vendor_isnew_tag = "0"; 12410 margin_promo = 0; 12411 // console.log(lobby_tag); 12412 // console.log("promo", promo_tag); 12413 // console.log("game_ishot", game_ishot_tag); 12414 // console.log("vendor_isnew", vendor_isnew_tag); 12415 12416 $(lobby_tag).each(function(index, element) { 12417 if (index === 0) { 12418 // Navbar Content 12419 class_name_tag = $(element).attr('class'); 12420 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12421 // on LI(navar) or DIV Content 12422 element_tag = $(element).prop('tagName'); 12423 if(vendor_isnew_tag == 1){ 12424 if( element_tag == 'LI'){ 12425 margin_promo = 20; 12426 }else{ 12427 margin_promo =10; 12428 } 12429 12430 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12431 } 12432 12433 if(promo_tag == 1){ 12434 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12435 } 12436 12437 if(game_ishot_tag == 1){ 12438 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 12439 } 12440 12441 } else if (index === 1) { 12442 // Lobby Content 12443 class_name_tag = $(element).attr('class'); 12444 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12445 12446 if(vendor_isnew_tag == 1){ 12447 margin_promo = 12; 12448 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12449 } 12450 12451 if(promo_tag == 1){ 12452 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12453 } 12454 12455 if(game_ishot_tag == 1){ 12456 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12457 } 12458 } 12459 }); 12460 12461 12462 12463 lobby_tag = ".lb-25839" 12464 promo_tag = "0"; 12465 game_ishot_tag = "0"; 12466 vendor_isnew_tag = "0"; 12467 margin_promo = 0; 12468 // console.log(lobby_tag); 12469 // console.log("promo", promo_tag); 12470 // console.log("game_ishot", game_ishot_tag); 12471 // console.log("vendor_isnew", vendor_isnew_tag); 12472 12473 $(lobby_tag).each(function(index, element) { 12474 if (index === 0) { 12475 // Navbar Content 12476 class_name_tag = $(element).attr('class'); 12477 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12478 // on LI(navar) or DIV Content 12479 element_tag = $(element).prop('tagName'); 12480 if(vendor_isnew_tag == 1){ 12481 if( element_tag == 'LI'){ 12482 margin_promo = 20; 12483 }else{ 12484 margin_promo =10; 12485 } 12486 12487 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12488 } 12489 12490 if(promo_tag == 1){ 12491 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12492 } 12493 12494 if(game_ishot_tag == 1){ 12495 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
12495left:10px;top:0;z-index:10;width:35px"></div>`); 12496 } 12497 12498 } else if (index === 1) { 12499 // Lobby Content 12500 class_name_tag = $(element).attr('class'); 12501 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12502 12503 if(vendor_isnew_tag == 1){ 12504 margin_promo = 12; 12505 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12506 } 12507 12508 if(promo_tag == 1){ 12509 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12510 } 12511 12512 if(game_ishot_tag == 1){ 12513 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12514 } 12515 } 12516 }); 12517 12518 12519 12520 lobby_tag = ".lb-26597" 12521 promo_tag = "0"; 12522 game_ishot_tag = "0"; 12523 vendor_isnew_tag = "0"; 12524 margin_promo = 0; 12525 // console.log(lobby_tag); 12526 // console.log("promo", promo_tag); 12527 // console.log("game_ishot", game_ishot_tag); 12528 // console.log("vendor_isnew", vendor_isnew_tag); 12529 12530 $(lobby_tag).each(function(index, element) { 12531 if (index === 0) { 12532 // Navbar Content 12533 class_name_tag = $(element).attr('class'); 12534 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12535 // on LI(navar) or DIV Content 12536 element_tag = $(element).prop('tagName'); 12537 if(vendor_isnew_tag == 1){ 12538 if( element_tag == 'LI'){ 12539 margin_promo = 20; 12540 }else{ 12541 margin_promo =10; 12542 } 12543 12544 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12545 } 12546 12547 if(promo_tag == 1){ 12548 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12549 } 12550 12551 if(game_ishot_tag == 1){ 12552 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 12553 } 12554 12555 } else if (index === 1) { 12556 // Lobby Content 12557 class_name_tag = $(element).attr('class'); 12558 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12559 12560 if(vendor_isnew_tag == 1){ 12561 margin_promo = 12; 12562 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12563 } 12564 12565 if(promo_tag == 1){ 12566 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12567 } 12568 12569 if(game_ishot_tag == 1){ 12570 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12571 } 12572 } 12573 }); 12574 12575 12576 12577 lobby_tag = ".lb-22085" 12578 promo_tag = "0"; 12579 game_ishot_tag = "0"; 12580 vendor_isnew_tag = "0"; 12581 margin_promo = 0; 12582 // console.log(lobby_tag); 12583 // console.log("promo", promo_tag); 12584 // console.log("game_ishot", game_ishot_tag); 12585 // console.log("vendor_isnew", vendor_isnew_tag); 12586 12587 $(lobby_tag).each(function(index, element) { 12588 if (index === 0) { 12589 // Navbar Content 12590 class_name_tag = $(element).attr('class'); 12591 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12592 // on LI(navar) or DIV Content 12593 element_tag = $(element).prop('tagName'); 12594 if(vendor_isnew_tag == 1){ 12595 if( element_tag == 'LI'){ 12596 margin_promo = 20; 12597 }else{ 12598 margin_promo =10; 12599 } 12600 12601 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12602 } 12603 12604 if(promo_tag == 1){ 12605 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12606 } 12607 12608 if(game_ishot_tag == 1){ 12609 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
12609left:10px;top:0;z-index:10;width:35px"></div>`); 12610 } 12611 12612 } else if (index === 1) { 12613 // Lobby Content 12614 class_name_tag = $(element).attr('class'); 12615 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12616 12617 if(vendor_isnew_tag == 1){ 12618 margin_promo = 12; 12619 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12620 } 12621 12622 if(promo_tag == 1){ 12623 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12624 } 12625 12626 if(game_ishot_tag == 1){ 12627 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12628 } 12629 } 12630 }); 12631 12632 12633 12634 lobby_tag = ".lb-20809" 12635 promo_tag = "0"; 12636 game_ishot_tag = "0"; 12637 vendor_isnew_tag = "0"; 12638 margin_promo = 0; 12639 // console.log(lobby_tag); 12640 // console.log("promo", promo_tag); 12641 // console.log("game_ishot", game_ishot_tag); 12642 // console.log("vendor_isnew", vendor_isnew_tag); 12643 12644 $(lobby_tag).each(function(index, element) { 12645 if (index === 0) { 12646 // Navbar Content 12647 class_name_tag = $(element).attr('class'); 12648 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12649 // on LI(navar) or DIV Content 12650 element_tag = $(element).prop('tagName'); 12651 if(vendor_isnew_tag == 1){ 12652 if( element_tag == 'LI'){ 12653 margin_promo = 20; 12654 }else{ 12655 margin_promo =10; 12656 } 12657 12658 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12659 } 12660 12661 if(promo_tag == 1){ 12662 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12663 } 12664 12665 if(game_ishot_tag == 1){ 12666 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 12667 } 12668 12669 } else if (index === 1) { 12670 // Lobby Content 12671 class_name_tag = $(element).attr('class'); 12672 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12673 12674 if(vendor_isnew_tag == 1){ 12675 margin_promo = 12; 12676 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12677 } 12678 12679 if(promo_tag == 1){ 12680 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12681 } 12682 12683 if(game_ishot_tag == 1){ 12684 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12685 } 12686 } 12687 }); 12688 12689 12690 12691 lobby_tag = ".lb-15603" 12692 promo_tag = "0"; 12693 game_ishot_tag = "0"; 12694 vendor_isnew_tag = "0"; 12695 margin_promo = 0; 12696 // console.log(lobby_tag); 12697 // console.log("promo", promo_tag); 12698 // console.log("game_ishot", game_ishot_tag); 12699 // console.log("vendor_isnew", vendor_isnew_tag); 12700 12701 $(lobby_tag).each(function(index, element) { 12702 if (index === 0) { 12703 // Navbar Content 12704 class_name_tag = $(element).attr('class'); 12705 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12706 // on LI(navar) or DIV Content 12707 element_tag = $(element).prop('tagName'); 12708 if(vendor_isnew_tag == 1){ 12709 if( element_tag == 'LI'){ 12710 margin_promo = 20; 12711 }else{ 12712 margin_promo =10; 12713 } 12714 12715 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12716 } 12717 12718 if(promo_tag == 1){ 12719 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12720 } 12721 12722 if(game_ishot_tag == 1){ 12723 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
12723left:10px;top:0;z-index:10;width:35px"></div>`); 12724 } 12725 12726 } else if (index === 1) { 12727 // Lobby Content 12728 class_name_tag = $(element).attr('class'); 12729 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12730 12731 if(vendor_isnew_tag == 1){ 12732 margin_promo = 12; 12733 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12734 } 12735 12736 if(promo_tag == 1){ 12737 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12738 } 12739 12740 if(game_ishot_tag == 1){ 12741 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12742 } 12743 } 12744 }); 12745 12746 12747 12748 lobby_tag = ".lb-16499" 12749 promo_tag = "0"; 12750 game_ishot_tag = "0"; 12751 vendor_isnew_tag = "0"; 12752 margin_promo = 0; 12753 // console.log(lobby_tag); 12754 // console.log("promo", promo_tag); 12755 // console.log("game_ishot", game_ishot_tag); 12756 // console.log("vendor_isnew", vendor_isnew_tag); 12757 12758 $(lobby_tag).each(function(index, element) { 12759 if (index === 0) { 12760 // Navbar Content 12761 class_name_tag = $(element).attr('class'); 12762 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12763 // on LI(navar) or DIV Content 12764 element_tag = $(element).prop('tagName'); 12765 if(vendor_isnew_tag == 1){ 12766 if( element_tag == 'LI'){ 12767 margin_promo = 20; 12768 }else{ 12769 margin_promo =10; 12770 } 12771 12772 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12773 } 12774 12775 if(promo_tag == 1){ 12776 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12777 } 12778 12779 if(game_ishot_tag == 1){ 12780 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 12781 } 12782 12783 } else if (index === 1) { 12784 // Lobby Content 12785 class_name_tag = $(element).attr('class'); 12786 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12787 12788 if(vendor_isnew_tag == 1){ 12789 margin_promo = 12; 12790 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12791 } 12792 12793 if(promo_tag == 1){ 12794 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12795 } 12796 12797 if(game_ishot_tag == 1){ 12798 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12799 } 12800 } 12801 }); 12802 12803 12804 12805 lobby_tag = ".lb-25838" 12806 promo_tag = "0"; 12807 game_ishot_tag = "0"; 12808 vendor_isnew_tag = "0"; 12809 margin_promo = 0; 12810 // console.log(lobby_tag); 12811 // console.log("promo", promo_tag); 12812 // console.log("game_ishot", game_ishot_tag); 12813 // console.log("vendor_isnew", vendor_isnew_tag); 12814 12815 $(lobby_tag).each(function(index, element) { 12816 if (index === 0) { 12817 // Navbar Content 12818 class_name_tag = $(element).attr('class'); 12819 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12820 // on LI(navar) or DIV Content 12821 element_tag = $(element).prop('tagName'); 12822 if(vendor_isnew_tag == 1){ 12823 if( element_tag == 'LI'){ 12824 margin_promo = 20; 12825 }else{ 12826 margin_promo =10; 12827 } 12828 12829 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12830 } 12831 12832 if(promo_tag == 1){ 12833 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12834 } 12835 12836 if(game_ishot_tag == 1){ 12837 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
12837left:10px;top:0;z-index:10;width:35px"></div>`); 12838 } 12839 12840 } else if (index === 1) { 12841 // Lobby Content 12842 class_name_tag = $(element).attr('class'); 12843 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12844 12845 if(vendor_isnew_tag == 1){ 12846 margin_promo = 12; 12847 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12848 } 12849 12850 if(promo_tag == 1){ 12851 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12852 } 12853 12854 if(game_ishot_tag == 1){ 12855 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12856 } 12857 } 12858 }); 12859 12860 12861 12862 lobby_tag = ".lb-17554" 12863 promo_tag = "0"; 12864 game_ishot_tag = "0"; 12865 vendor_isnew_tag = "0"; 12866 margin_promo = 0; 12867 // console.log(lobby_tag); 12868 // console.log("promo", promo_tag); 12869 // console.log("game_ishot", game_ishot_tag); 12870 // console.log("vendor_isnew", vendor_isnew_tag); 12871 12872 $(lobby_tag).each(function(index, element) { 12873 if (index === 0) { 12874 // Navbar Content 12875 class_name_tag = $(element).attr('class'); 12876 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12877 // on LI(navar) or DIV Content 12878 element_tag = $(element).prop('tagName'); 12879 if(vendor_isnew_tag == 1){ 12880 if( element_tag == 'LI'){ 12881 margin_promo = 20; 12882 }else{ 12883 margin_promo =10; 12884 } 12885 12886 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12887 } 12888 12889 if(promo_tag == 1){ 12890 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12891 } 12892 12893 if(game_ishot_tag == 1){ 12894 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 12895 } 12896 12897 } else if (index === 1) { 12898 // Lobby Content 12899 class_name_tag = $(element).attr('class'); 12900 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12901 12902 if(vendor_isnew_tag == 1){ 12903 margin_promo = 12; 12904 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12905 } 12906 12907 if(promo_tag == 1){ 12908 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12909 } 12910 12911 if(game_ishot_tag == 1){ 12912 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12913 } 12914 } 12915 }); 12916 12917 12918 12919 lobby_tag = ".lb-12200" 12920 promo_tag = "0"; 12921 game_ishot_tag = "0"; 12922 vendor_isnew_tag = "0"; 12923 margin_promo = 0; 12924 // console.log(lobby_tag); 12925 // console.log("promo", promo_tag); 12926 // console.log("game_ishot", game_ishot_tag); 12927 // console.log("vendor_isnew", vendor_isnew_tag); 12928 12929 $(lobby_tag).each(function(index, element) { 12930 if (index === 0) { 12931 // Navbar Content 12932 class_name_tag = $(element).attr('class'); 12933 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12934 // on LI(navar) or DIV Content 12935 element_tag = $(element).prop('tagName'); 12936 if(vendor_isnew_tag == 1){ 12937 if( element_tag == 'LI'){ 12938 margin_promo = 20; 12939 }else{ 12940 margin_promo =10; 12941 } 12942 12943 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12944 } 12945 12946 if(promo_tag == 1){ 12947 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12948 } 12949 12950 if(game_ishot_tag == 1){ 12951 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
12951left:10px;top:0;z-index:10;width:35px"></div>`); 12952 } 12953 12954 } else if (index === 1) { 12955 // Lobby Content 12956 class_name_tag = $(element).attr('class'); 12957 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12958 12959 if(vendor_isnew_tag == 1){ 12960 margin_promo = 12; 12961 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 12962 } 12963 12964 if(promo_tag == 1){ 12965 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 12966 } 12967 12968 if(game_ishot_tag == 1){ 12969 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 12970 } 12971 } 12972 }); 12973 12974 12975 12976 lobby_tag = ".lb-25444" 12977 promo_tag = "0"; 12978 game_ishot_tag = "0"; 12979 vendor_isnew_tag = "0"; 12980 margin_promo = 0; 12981 // console.log(lobby_tag); 12982 // console.log("promo", promo_tag); 12983 // console.log("game_ishot", game_ishot_tag); 12984 // console.log("vendor_isnew", vendor_isnew_tag); 12985 12986 $(lobby_tag).each(function(index, element) { 12987 if (index === 0) { 12988 // Navbar Content 12989 class_name_tag = $(element).attr('class'); 12990 selector_tag = '.' + class_name_tag.split(' ').join('.'); 12991 // on LI(navar) or DIV Content 12992 element_tag = $(element).prop('tagName'); 12993 if(vendor_isnew_tag == 1){ 12994 if( element_tag == 'LI'){ 12995 margin_promo = 20; 12996 }else{ 12997 margin_promo =10; 12998 } 12999 13000 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13001 } 13002 13003 if(promo_tag == 1){ 13004 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13005 } 13006 13007 if(game_ishot_tag == 1){ 13008 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 13009 } 13010 13011 } else if (index === 1) { 13012 // Lobby Content 13013 class_name_tag = $(element).attr('class'); 13014 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13015 13016 if(vendor_isnew_tag == 1){ 13017 margin_promo = 12; 13018 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13019 } 13020 13021 if(promo_tag == 1){ 13022 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13023 } 13024 13025 if(game_ishot_tag == 1){ 13026 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13027 } 13028 } 13029 }); 13030 13031 13032 13033 lobby_tag = ".lb-16502" 13034 promo_tag = "0"; 13035 game_ishot_tag = "0"; 13036 vendor_isnew_tag = "0"; 13037 margin_promo = 0; 13038 // console.log(lobby_tag); 13039 // console.log("promo", promo_tag); 13040 // console.log("game_ishot", game_ishot_tag); 13041 // console.log("vendor_isnew", vendor_isnew_tag); 13042 13043 $(lobby_tag).each(function(index, element) { 13044 if (index === 0) { 13045 // Navbar Content 13046 class_name_tag = $(element).attr('class'); 13047 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13048 // on LI(navar) or DIV Content 13049 element_tag = $(element).prop('tagName'); 13050 if(vendor_isnew_tag == 1){ 13051 if( element_tag == 'LI'){ 13052 margin_promo = 20; 13053 }else{ 13054 margin_promo =10; 13055 } 13056 13057 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13058 } 13059 13060 if(promo_tag == 1){ 13061 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13062 } 13063 13064 if(game_ishot_tag == 1){ 13065 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
13065left:10px;top:0;z-index:10;width:35px"></div>`); 13066 } 13067 13068 } else if (index === 1) { 13069 // Lobby Content 13070 class_name_tag = $(element).attr('class'); 13071 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13072 13073 if(vendor_isnew_tag == 1){ 13074 margin_promo = 12; 13075 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13076 } 13077 13078 if(promo_tag == 1){ 13079 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13080 } 13081 13082 if(game_ishot_tag == 1){ 13083 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13084 } 13085 } 13086 }); 13087 13088 13089 13090 lobby_tag = ".lb-15461" 13091 promo_tag = "0"; 13092 game_ishot_tag = "0"; 13093 vendor_isnew_tag = "0"; 13094 margin_promo = 0; 13095 // console.log(lobby_tag); 13096 // console.log("promo", promo_tag); 13097 // console.log("game_ishot", game_ishot_tag); 13098 // console.log("vendor_isnew", vendor_isnew_tag); 13099 13100 $(lobby_tag).each(function(index, element) { 13101 if (index === 0) { 13102 // Navbar Content 13103 class_name_tag = $(element).attr('class'); 13104 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13105 // on LI(navar) or DIV Content 13106 element_tag = $(element).prop('tagName'); 13107 if(vendor_isnew_tag == 1){ 13108 if( element_tag == 'LI'){ 13109 margin_promo = 20; 13110 }else{ 13111 margin_promo =10; 13112 } 13113 13114 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13115 } 13116 13117 if(promo_tag == 1){ 13118 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13119 } 13120 13121 if(game_ishot_tag == 1){ 13122 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 13123 } 13124 13125 } else if (index === 1) { 13126 // Lobby Content 13127 class_name_tag = $(element).attr('class'); 13128 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13129 13130 if(vendor_isnew_tag == 1){ 13131 margin_promo = 12; 13132 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13133 } 13134 13135 if(promo_tag == 1){ 13136 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13137 } 13138 13139 if(game_ishot_tag == 1){ 13140 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13141 } 13142 } 13143 }); 13144 13145 13146 13147 lobby_tag = ".lb-2676" 13148 promo_tag = "0"; 13149 game_ishot_tag = "0"; 13150 vendor_isnew_tag = "0"; 13151 margin_promo = 0; 13152 // console.log(lobby_tag); 13153 // console.log("promo", promo_tag); 13154 // console.log("game_ishot", game_ishot_tag); 13155 // console.log("vendor_isnew", vendor_isnew_tag); 13156 13157 $(lobby_tag).each(function(index, element) { 13158 if (index === 0) { 13159 // Navbar Content 13160 class_name_tag = $(element).attr('class'); 13161 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13162 // on LI(navar) or DIV Content 13163 element_tag = $(element).prop('tagName'); 13164 if(vendor_isnew_tag == 1){ 13165 if( element_tag == 'LI'){ 13166 margin_promo = 20; 13167 }else{ 13168 margin_promo =10; 13169 } 13170 13171 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13172 } 13173 13174 if(promo_tag == 1){ 13175 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13176 } 13177 13178 if(game_ishot_tag == 1){ 13179 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
13179left:10px;top:0;z-index:10;width:35px"></div>`); 13180 } 13181 13182 } else if (index === 1) { 13183 // Lobby Content 13184 class_name_tag = $(element).attr('class'); 13185 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13186 13187 if(vendor_isnew_tag == 1){ 13188 margin_promo = 12; 13189 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13190 } 13191 13192 if(promo_tag == 1){ 13193 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13194 } 13195 13196 if(game_ishot_tag == 1){ 13197 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13198 } 13199 } 13200 }); 13201 13202 13203 13204 lobby_tag = ".lb-19987" 13205 promo_tag = "0"; 13206 game_ishot_tag = "0"; 13207 vendor_isnew_tag = "0"; 13208 margin_promo = 0; 13209 // console.log(lobby_tag); 13210 // console.log("promo", promo_tag); 13211 // console.log("game_ishot", game_ishot_tag); 13212 // console.log("vendor_isnew", vendor_isnew_tag); 13213 13214 $(lobby_tag).each(function(index, element) { 13215 if (index === 0) { 13216 // Navbar Content 13217 class_name_tag = $(element).attr('class'); 13218 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13219 // on LI(navar) or DIV Content 13220 element_tag = $(element).prop('tagName'); 13221 if(vendor_isnew_tag == 1){ 13222 if( element_tag == 'LI'){ 13223 margin_promo = 20; 13224 }else{ 13225 margin_promo =10; 13226 } 13227 13228 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13229 } 13230 13231 if(promo_tag == 1){ 13232 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13233 } 13234 13235 if(game_ishot_tag == 1){ 13236 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 13237 } 13238 13239 } else if (index === 1) { 13240 // Lobby Content 13241 class_name_tag = $(element).attr('class'); 13242 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13243 13244 if(vendor_isnew_tag == 1){ 13245 margin_promo = 12; 13246 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13247 } 13248 13249 if(promo_tag == 1){ 13250 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13251 } 13252 13253 if(game_ishot_tag == 1){ 13254 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13255 } 13256 } 13257 }); 13258 13259 13260 13261 lobby_tag = ".lb-17995" 13262 promo_tag = "0"; 13263 game_ishot_tag = "0"; 13264 vendor_isnew_tag = "0"; 13265 margin_promo = 0; 13266 // console.log(lobby_tag); 13267 // console.log("promo", promo_tag); 13268 // console.log("game_ishot", game_ishot_tag); 13269 // console.log("vendor_isnew", vendor_isnew_tag); 13270 13271 $(lobby_tag).each(function(index, element) { 13272 if (index === 0) { 13273 // Navbar Content 13274 class_name_tag = $(element).attr('class'); 13275 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13276 // on LI(navar) or DIV Content 13277 element_tag = $(element).prop('tagName'); 13278 if(vendor_isnew_tag == 1){ 13279 if( element_tag == 'LI'){ 13280 margin_promo = 20; 13281 }else{ 13282 margin_promo =10; 13283 } 13284 13285 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13286 } 13287 13288 if(promo_tag == 1){ 13289 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13290 } 13291 13292 if(game_ishot_tag == 1){ 13293 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
13293left:10px;top:0;z-index:10;width:35px"></div>`); 13294 } 13295 13296 } else if (index === 1) { 13297 // Lobby Content 13298 class_name_tag = $(element).attr('class'); 13299 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13300 13301 if(vendor_isnew_tag == 1){ 13302 margin_promo = 12; 13303 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13304 } 13305 13306 if(promo_tag == 1){ 13307 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13308 } 13309 13310 if(game_ishot_tag == 1){ 13311 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13312 } 13313 } 13314 }); 13315 13316 13317 13318 lobby_tag = ".lb-18380" 13319 promo_tag = "0"; 13320 game_ishot_tag = "0"; 13321 vendor_isnew_tag = "0"; 13322 margin_promo = 0; 13323 // console.log(lobby_tag); 13324 // console.log("promo", promo_tag); 13325 // console.log("game_ishot", game_ishot_tag); 13326 // console.log("vendor_isnew", vendor_isnew_tag); 13327 13328 $(lobby_tag).each(function(index, element) { 13329 if (index === 0) { 13330 // Navbar Content 13331 class_name_tag = $(element).attr('class'); 13332 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13333 // on LI(navar) or DIV Content 13334 element_tag = $(element).prop('tagName'); 13335 if(vendor_isnew_tag == 1){ 13336 if( element_tag == 'LI'){ 13337 margin_promo = 20; 13338 }else{ 13339 margin_promo =10; 13340 } 13341 13342 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13343 } 13344 13345 if(promo_tag == 1){ 13346 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13347 } 13348 13349 if(game_ishot_tag == 1){ 13350 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 13351 } 13352 13353 } else if (index === 1) { 13354 // Lobby Content 13355 class_name_tag = $(element).attr('class'); 13356 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13357 13358 if(vendor_isnew_tag == 1){ 13359 margin_promo = 12; 13360 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13361 } 13362 13363 if(promo_tag == 1){ 13364 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13365 } 13366 13367 if(game_ishot_tag == 1){ 13368 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13369 } 13370 } 13371 }); 13372 13373 13374
13375 lobby_tag = ".lb-20076" 13376 promo_tag = "0"; 13377 game_ishot_tag = "0"; 13378 vendor_isnew_tag = "0"; 13379 margin_promo = 0; 13380 // console.log(lobby_tag); 13381 // console.log("promo", promo_tag); 13382 // console.log("game_ishot", game_ishot_tag); 13383 // console.log("vendor_isnew", vendor_isnew_tag); 13384 13385 $(lobby_tag).each(function(index, element) { 13386 if (index === 0) { 13387 // Navbar Content 13388 class_name_tag = $(element).attr('class'); 13389 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13390 // on LI(navar) or DIV Content 13391 element_tag = $(element).prop('tagName'); 13392 if(vendor_isnew_tag == 1){ 13393 if( element_tag == 'LI'){ 13394 margin_promo = 20; 13395 }else{ 13396 margin_promo =10; 13397 } 13398 13399 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13400 } 13401 13402 if(promo_tag == 1){ 13403 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13404 } 13405 13406 if(game_ishot_tag == 1){ 13407 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 13408 } 13409 13410 } else if (index === 1) { 13411 // Lobby Content 13412 class_name_tag = $(element).attr('class'); 13413 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13414 13415 if(vendor_isnew_tag == 1){ 13416 margin_promo = 12; 13417 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13418 } 13419 13420 if(promo_tag == 1){ 13421 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13422 } 13423 13424 if(game_ishot_tag == 1){ 13425 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13426 } 13427 } 13428 }); 13429 13430 13431 13432 lobby_tag = ".lb-14601" 13433 promo_tag = "0"; 13434 game_ishot_tag = "0"; 13435 vendor_isnew_tag = "0"; 13436 margin_promo = 0; 13437 // console.log(lobby_tag); 13438 // console.log("promo", promo_tag); 13439 // console.log("game_ishot", game_ishot_tag); 13440 // console.log("vendor_isnew", vendor_isnew_tag); 13441 13442 $(lobby_tag).each(function(index, element) { 13443 if (index === 0) { 13444 // Navbar Content 13445 class_name_tag = $(element).attr('class'); 13446 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13447 // on LI(navar) or DIV Content 13448 element_tag = $(element).prop('tagName'); 13449 if(vendor_isnew_tag == 1){ 13450 if( element_tag == 'LI'){ 13451 margin_promo = 20; 13452 }else{ 13453 margin_promo =10; 13454 } 13455 13456 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13457 } 13458 13459 if(promo_tag == 1){ 13460 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13461 } 13462 13463 if(game_ishot_tag == 1){ 13464 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
13464left:10px;top:0;z-index:10;width:35px"></div>`); 13465 } 13466 13467 } else if (index === 1) { 13468 // Lobby Content 13469 class_name_tag = $(element).attr('class'); 13470 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13471 13472 if(vendor_isnew_tag == 1){ 13473 margin_promo = 12; 13474 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13475 } 13476 13477 if(promo_tag == 1){ 13478 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13479 } 13480 13481 if(game_ishot_tag == 1){ 13482 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13483 } 13484 } 13485 }); 13486 13487 13488 13489 lobby_tag = ".lb-15459" 13490 promo_tag = "0"; 13491 game_ishot_tag = "0"; 13492 vendor_isnew_tag = "0"; 13493 margin_promo = 0; 13494 // console.log(lobby_tag); 13495 // console.log("promo", promo_tag); 13496 // console.log("game_ishot", game_ishot_tag); 13497 // console.log("vendor_isnew", vendor_isnew_tag); 13498 13499 $(lobby_tag).each(function(index, element) { 13500 if (index === 0) { 13501 // Navbar Content 13502 class_name_tag = $(element).attr('class'); 13503 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13504 // on LI(navar) or DIV Content 13505 element_tag = $(element).prop('tagName'); 13506 if(vendor_isnew_tag == 1){ 13507 if( element_tag == 'LI'){ 13508 margin_promo = 20; 13509 }else{ 13510 margin_promo =10; 13511 } 13512 13513 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13514 } 13515 13516 if(promo_tag == 1){ 13517 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13518 } 13519 13520 if(game_ishot_tag == 1){ 13521 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 13522 } 13523 13524 } else if (index === 1) { 13525 // Lobby Content 13526 class_name_tag = $(element).attr('class'); 13527 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13528 13529 if(vendor_isnew_tag == 1){ 13530 margin_promo = 12; 13531 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13532 } 13533 13534 if(promo_tag == 1){ 13535 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13536 } 13537 13538 if(game_ishot_tag == 1){ 13539 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13540 } 13541 } 13542 }); 13543 13544 13545 13546 lobby_tag = ".lb-29305" 13547 promo_tag = "0"; 13548 game_ishot_tag = "0"; 13549 vendor_isnew_tag = "0"; 13550 margin_promo = 0; 13551 // console.log(lobby_tag); 13552 // console.log("promo", promo_tag); 13553 // console.log("game_ishot", game_ishot_tag); 13554 // console.log("vendor_isnew", vendor_isnew_tag); 13555 13556 $(lobby_tag).each(function(index, element) { 13557 if (index === 0) { 13558 // Navbar Content 13559 class_name_tag = $(element).attr('class'); 13560 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13561 // on LI(navar) or DIV Content 13562 element_tag = $(element).prop('tagName'); 13563 if(vendor_isnew_tag == 1){ 13564 if( element_tag == 'LI'){ 13565 margin_promo = 20; 13566 }else{ 13567 margin_promo =10; 13568 } 13569 13570 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13571 } 13572 13573 if(promo_tag == 1){ 13574 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13575 } 13576 13577 if(game_ishot_tag == 1){ 13578 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
13578left:10px;top:0;z-index:10;width:35px"></div>`); 13579 } 13580 13581 } else if (index === 1) { 13582 // Lobby Content 13583 class_name_tag = $(element).attr('class'); 13584 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13585 13586 if(vendor_isnew_tag == 1){ 13587 margin_promo = 12; 13588 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13589 } 13590 13591 if(promo_tag == 1){ 13592 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13593 } 13594 13595 if(game_ishot_tag == 1){ 13596 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13597 } 13598 } 13599 }); 13600 13601 13602 13603 lobby_tag = ".lb-2864" 13604 promo_tag = "0"; 13605 game_ishot_tag = "0"; 13606 vendor_isnew_tag = "0"; 13607 margin_promo = 0; 13608 // console.log(lobby_tag); 13609 // console.log("promo", promo_tag); 13610 // console.log("game_ishot", game_ishot_tag); 13611 // console.log("vendor_isnew", vendor_isnew_tag); 13612 13613 $(lobby_tag).each(function(index, element) { 13614 if (index === 0) { 13615 // Navbar Content 13616 class_name_tag = $(element).attr('class'); 13617 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13618 // on LI(navar) or DIV Content 13619 element_tag = $(element).prop('tagName'); 13620 if(vendor_isnew_tag == 1){ 13621 if( element_tag == 'LI'){ 13622 margin_promo = 20; 13623 }else{ 13624 margin_promo =10; 13625 } 13626 13627 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13628 } 13629 13630 if(promo_tag == 1){ 13631 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13632 } 13633 13634 if(game_ishot_tag == 1){ 13635 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 13636 } 13637 13638 } else if (index === 1) { 13639 // Lobby Content 13640 class_name_tag = $(element).attr('class'); 13641 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13642 13643 if(vendor_isnew_tag == 1){ 13644 margin_promo = 12; 13645 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13646 } 13647 13648 if(promo_tag == 1){ 13649 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13650 } 13651 13652 if(game_ishot_tag == 1){ 13653 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13654 } 13655 } 13656 }); 13657 13658 13659 13660 lobby_tag = ".lb-16463" 13661 promo_tag = "0"; 13662 game_ishot_tag = "0"; 13663 vendor_isnew_tag = "0"; 13664 margin_promo = 0; 13665 // console.log(lobby_tag); 13666 // console.log("promo", promo_tag); 13667 // console.log("game_ishot", game_ishot_tag); 13668 // console.log("vendor_isnew", vendor_isnew_tag); 13669 13670 $(lobby_tag).each(function(index, element) { 13671 if (index === 0) { 13672 // Navbar Content 13673 class_name_tag = $(element).attr('class'); 13674 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13675 // on LI(navar) or DIV Content 13676 element_tag = $(element).prop('tagName'); 13677 if(vendor_isnew_tag == 1){ 13678 if( element_tag == 'LI'){ 13679 margin_promo = 20; 13680 }else{ 13681 margin_promo =10; 13682 } 13683 13684 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13685 } 13686 13687 if(promo_tag == 1){ 13688 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13689 } 13690 13691 if(game_ishot_tag == 1){ 13692 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
13692left:10px;top:0;z-index:10;width:35px"></div>`); 13693 } 13694 13695 } else if (index === 1) { 13696 // Lobby Content 13697 class_name_tag = $(element).attr('class'); 13698 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13699 13700 if(vendor_isnew_tag == 1){ 13701 margin_promo = 12; 13702 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13703 } 13704 13705 if(promo_tag == 1){ 13706 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13707 } 13708 13709 if(game_ishot_tag == 1){ 13710 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13711 } 13712 } 13713 }); 13714 13715 13716 13717 lobby_tag = ".lb-29129" 13718 promo_tag = "0"; 13719 game_ishot_tag = "0"; 13720 vendor_isnew_tag = "0"; 13721 margin_promo = 0; 13722 // console.log(lobby_tag); 13723 // console.log("promo", promo_tag); 13724 // console.log("game_ishot", game_ishot_tag); 13725 // console.log("vendor_isnew", vendor_isnew_tag); 13726 13727 $(lobby_tag).each(function(index, element) { 13728 if (index === 0) { 13729 // Navbar Content 13730 class_name_tag = $(element).attr('class'); 13731 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13732 // on LI(navar) or DIV Content 13733 element_tag = $(element).prop('tagName'); 13734 if(vendor_isnew_tag == 1){ 13735 if( element_tag == 'LI'){ 13736 margin_promo = 20; 13737 }else{ 13738 margin_promo =10; 13739 } 13740 13741 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13742 } 13743 13744 if(promo_tag == 1){ 13745 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13746 } 13747 13748 if(game_ishot_tag == 1){ 13749 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 13750 } 13751 13752 } else if (index === 1) { 13753 // Lobby Content 13754 class_name_tag = $(element).attr('class'); 13755 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13756 13757 if(vendor_isnew_tag == 1){ 13758 margin_promo = 12; 13759 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13760 } 13761 13762 if(promo_tag == 1){ 13763 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13764 } 13765 13766 if(game_ishot_tag == 1){ 13767 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13768 } 13769 } 13770 }); 13771 13772 13773 13774 lobby_tag = ".lb-19230" 13775 promo_tag = "0"; 13776 game_ishot_tag = "0"; 13777 vendor_isnew_tag = "0"; 13778 margin_promo = 0; 13779 // console.log(lobby_tag); 13780 // console.log("promo", promo_tag); 13781 // console.log("game_ishot", game_ishot_tag); 13782 // console.log("vendor_isnew", vendor_isnew_tag); 13783 13784 $(lobby_tag).each(function(index, element) { 13785 if (index === 0) { 13786 // Navbar Content 13787 class_name_tag = $(element).attr('class'); 13788 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13789 // on LI(navar) or DIV Content 13790 element_tag = $(element).prop('tagName'); 13791 if(vendor_isnew_tag == 1){ 13792 if( element_tag == 'LI'){ 13793 margin_promo = 20; 13794 }else{ 13795 margin_promo =10; 13796 } 13797 13798 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13799 } 13800 13801 if(promo_tag == 1){ 13802 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13803 } 13804 13805 if(game_ishot_tag == 1){ 13806 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
13806left:10px;top:0;z-index:10;width:35px"></div>`); 13807 } 13808 13809 } else if (index === 1) { 13810 // Lobby Content 13811 class_name_tag = $(element).attr('class'); 13812 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13813 13814 if(vendor_isnew_tag == 1){ 13815 margin_promo = 12; 13816 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13817 } 13818 13819 if(promo_tag == 1){ 13820 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13821 } 13822 13823 if(game_ishot_tag == 1){ 13824 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13825 } 13826 } 13827 }); 13828 13829 13830 13831 lobby_tag = ".lb-18062" 13832 promo_tag = "0"; 13833 game_ishot_tag = "0"; 13834 vendor_isnew_tag = "0"; 13835 margin_promo = 0; 13836 // console.log(lobby_tag); 13837 // console.log("promo", promo_tag); 13838 // console.log("game_ishot", game_ishot_tag); 13839 // console.log("vendor_isnew", vendor_isnew_tag); 13840 13841 $(lobby_tag).each(function(index, element) { 13842 if (index === 0) { 13843 // Navbar Content 13844 class_name_tag = $(element).attr('class'); 13845 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13846 // on LI(navar) or DIV Content 13847 element_tag = $(element).prop('tagName'); 13848 if(vendor_isnew_tag == 1){ 13849 if( element_tag == 'LI'){ 13850 margin_promo = 20; 13851 }else{ 13852 margin_promo =10; 13853 } 13854 13855 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13856 } 13857 13858 if(promo_tag == 1){ 13859 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13860 } 13861 13862 if(game_ishot_tag == 1){ 13863 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 13864 } 13865 13866 } else if (index === 1) { 13867 // Lobby Content 13868 class_name_tag = $(element).attr('class'); 13869 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13870 13871 if(vendor_isnew_tag == 1){ 13872 margin_promo = 12; 13873 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13874 } 13875 13876 if(promo_tag == 1){ 13877 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13878 } 13879 13880 if(game_ishot_tag == 1){ 13881 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13882 } 13883 } 13884 }); 13885 13886 13887 13888 lobby_tag = ".lb-21547" 13889 promo_tag = "0"; 13890 game_ishot_tag = "0"; 13891 vendor_isnew_tag = "0"; 13892 margin_promo = 0; 13893 // console.log(lobby_tag); 13894 // console.log("promo", promo_tag); 13895 // console.log("game_ishot", game_ishot_tag); 13896 // console.log("vendor_isnew", vendor_isnew_tag); 13897 13898 $(lobby_tag).each(function(index, element) { 13899 if (index === 0) { 13900 // Navbar Content 13901 class_name_tag = $(element).attr('class'); 13902 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13903 // on LI(navar) or DIV Content 13904 element_tag = $(element).prop('tagName'); 13905 if(vendor_isnew_tag == 1){ 13906 if( element_tag == 'LI'){ 13907 margin_promo = 20; 13908 }else{ 13909 margin_promo =10; 13910 } 13911 13912 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13913 } 13914 13915 if(promo_tag == 1){ 13916 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13917 } 13918 13919 if(game_ishot_tag == 1){ 13920 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
13920left:10px;top:0;z-index:10;width:35px"></div>`); 13921 } 13922 13923 } else if (index === 1) { 13924 // Lobby Content 13925 class_name_tag = $(element).attr('class'); 13926 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13927 13928 if(vendor_isnew_tag == 1){ 13929 margin_promo = 12; 13930 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13931 } 13932 13933 if(promo_tag == 1){ 13934 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13935 } 13936 13937 if(game_ishot_tag == 1){ 13938 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13939 } 13940 } 13941 }); 13942 13943 13944 13945 lobby_tag = ".lb-20734" 13946 promo_tag = "0"; 13947 game_ishot_tag = "0"; 13948 vendor_isnew_tag = "0"; 13949 margin_promo = 0; 13950 // console.log(lobby_tag); 13951 // console.log("promo", promo_tag); 13952 // console.log("game_ishot", game_ishot_tag); 13953 // console.log("vendor_isnew", vendor_isnew_tag); 13954 13955 $(lobby_tag).each(function(index, element) { 13956 if (index === 0) { 13957 // Navbar Content 13958 class_name_tag = $(element).attr('class'); 13959 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13960 // on LI(navar) or DIV Content 13961 element_tag = $(element).prop('tagName'); 13962 if(vendor_isnew_tag == 1){ 13963 if( element_tag == 'LI'){ 13964 margin_promo = 20; 13965 }else{ 13966 margin_promo =10; 13967 } 13968 13969 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13970 } 13971 13972 if(promo_tag == 1){ 13973 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13974 } 13975 13976 if(game_ishot_tag == 1){ 13977 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 13978 } 13979 13980 } else if (index === 1) { 13981 // Lobby Content 13982 class_name_tag = $(element).attr('class'); 13983 selector_tag = '.' + class_name_tag.split(' ').join('.'); 13984 13985 if(vendor_isnew_tag == 1){ 13986 margin_promo = 12; 13987 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 13988 } 13989 13990 if(promo_tag == 1){ 13991 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 13992 } 13993 13994 if(game_ishot_tag == 1){ 13995 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 13996 } 13997 } 13998 }); 13999 14000 14001 14002 lobby_tag = ".lb-2233" 14003 promo_tag = "0"; 14004 game_ishot_tag = "0"; 14005 vendor_isnew_tag = "0"; 14006 margin_promo = 0; 14007 // console.log(lobby_tag); 14008 // console.log("promo", promo_tag); 14009 // console.log("game_ishot", game_ishot_tag); 14010 // console.log("vendor_isnew", vendor_isnew_tag); 14011 14012 $(lobby_tag).each(function(index, element) { 14013 if (index === 0) { 14014 // Navbar Content 14015 class_name_tag = $(element).attr('class'); 14016 selector_tag = '.' + class_name_tag.split(' ').join('.'); 14017 // on LI(navar) or DIV Content 14018 element_tag = $(element).prop('tagName'); 14019 if(vendor_isnew_tag == 1){ 14020 if( element_tag == 'LI'){ 14021 margin_promo = 20; 14022 }else{ 14023 margin_promo =10; 14024 } 14025 14026 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 14027 } 14028 14029 if(promo_tag == 1){ 14030 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 14031 } 14032 14033 if(game_ishot_tag == 1){ 14034 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
14034left:10px;top:0;z-index:10;width:35px"></div>`); 14035 } 14036 14037 } else if (index === 1) { 14038 // Lobby Content 14039 class_name_tag = $(element).attr('class'); 14040 selector_tag = '.' + class_name_tag.split(' ').join('.'); 14041 14042 if(vendor_isnew_tag == 1){ 14043 margin_promo = 12; 14044 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 14045 } 14046 14047 if(promo_tag == 1){ 14048 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 14049 } 14050 14051 if(game_ishot_tag == 1){ 14052 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 14053 } 14054 } 14055 }); 14056 14057 14058 14059 lobby_tag = ".lb-18307" 14060 promo_tag = "0"; 14061 game_ishot_tag = "0"; 14062 vendor_isnew_tag = "0"; 14063 margin_promo = 0; 14064 // console.log(lobby_tag); 14065 // console.log("promo", promo_tag); 14066 // console.log("game_ishot", game_ishot_tag); 14067 // console.log("vendor_isnew", vendor_isnew_tag); 14068 14069 $(lobby_tag).each(function(index, element) { 14070 if (index === 0) { 14071 // Navbar Content 14072 class_name_tag = $(element).attr('class'); 14073 selector_tag = '.' + class_name_tag.split(' ').join('.'); 14074 // on LI(navar) or DIV Content 14075 element_tag = $(element).prop('tagName'); 14076 if(vendor_isnew_tag == 1){ 14077 if( element_tag == 'LI'){ 14078 margin_promo = 20; 14079 }else{ 14080 margin_promo =10; 14081 } 14082 14083 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 14084 } 14085 14086 if(promo_tag == 1){ 14087 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 14088 } 14089 14090 if(game_ishot_tag == 1){ 14091 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 14092 } 14093 14094 } else if (index === 1) { 14095 // Lobby Content 14096 class_name_tag = $(element).attr('class'); 14097 selector_tag = '.' + class_name_tag.split(' ').join('.'); 14098 14099 if(vendor_isnew_tag == 1){ 14100 margin_promo = 12; 14101 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 14102 } 14103 14104 if(promo_tag == 1){ 14105 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 14106 } 14107 14108 if(game_ishot_tag == 1){ 14109 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 14110 } 14111 } 14112 }); 14113 14114 14115 14116 lobby_tag = ".lb-23759" 14117 promo_tag = "0"; 14118 game_ishot_tag = "0"; 14119 vendor_isnew_tag = "0"; 14120 margin_promo = 0; 14121 // console.log(lobby_tag); 14122 // console.log("promo", promo_tag); 14123 // console.log("game_ishot", game_ishot_tag); 14124 // console.log("vendor_isnew", vendor_isnew_tag); 14125 14126 $(lobby_tag).each(function(index, element) { 14127 if (index === 0) { 14128 // Navbar Content 14129 class_name_tag = $(element).attr('class'); 14130 selector_tag = '.' + class_name_tag.split(' ').join('.'); 14131 // on LI(navar) or DIV Content 14132 element_tag = $(element).prop('tagName'); 14133 if(vendor_isnew_tag == 1){ 14134 if( element_tag == 'LI'){ 14135 margin_promo = 20; 14136 }else{ 14137 margin_promo =10; 14138 } 14139 14140 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 14141 } 14142 14143 if(promo_tag == 1){ 14144 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 14145 } 14146 14147 if(game_ishot_tag == 1){ 14148 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;
14148left:10px;top:0;z-index:10;width:35px"></div>`); 14149 } 14150 14151 } else if (index === 1) { 14152 // Lobby Content 14153 class_name_tag = $(element).attr('class'); 14154 selector_tag = '.' + class_name_tag.split(' ').join('.'); 14155 14156 if(vendor_isnew_tag == 1){ 14157 margin_promo = 12; 14158 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 14159 } 14160 14161 if(promo_tag == 1){ 14162 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 14163 } 14164 14165 if(game_ishot_tag == 1){ 14166 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 14167 } 14168 } 14169 }); 14170 14171 14172 14173 lobby_tag = ".lb-16503" 14174 promo_tag = "0"; 14175 game_ishot_tag = "0"; 14176 vendor_isnew_tag = "0"; 14177 margin_promo = 0; 14178 // console.log(lobby_tag); 14179 // console.log("promo", promo_tag); 14180 // console.log("game_ishot", game_ishot_tag); 14181 // console.log("vendor_isnew", vendor_isnew_tag); 14182 14183 $(lobby_tag).each(function(index, element) { 14184 if (index === 0) { 14185 // Navbar Content 14186 class_name_tag = $(element).attr('class'); 14187 selector_tag = '.' + class_name_tag.split(' ').join('.'); 14188 // on LI(navar) or DIV Content 14189 element_tag = $(element).prop('tagName'); 14190 if(vendor_isnew_tag == 1){ 14191 if( element_tag == 'LI'){ 14192 margin_promo = 20; 14193 }else{ 14194 margin_promo =10; 14195 } 14196 14197 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 14198 } 14199 14200 if(promo_tag == 1){ 14201 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 14202 } 14203 14204 if(game_ishot_tag == 1){ 14205 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:35px"></div>`); 14206 } 14207 14208 } else if (index === 1) { 14209 // Lobby Content 14210 class_name_tag = $(element).attr('class'); 14211 selector_tag = '.' + class_name_tag.split(' ').join('.'); 14212 14213 if(vendor_isnew_tag == 1){ 14214 margin_promo = 12; 14215 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo cont-tag-new-vendor" style="width: 40px;height: 15px;font-size:9px">Baru</div>`); 14216 } 14217 14218 if(promo_tag == 1){ 14219 $(`${selector_tag} > a`).append(`<div class="cont-tag-promo" style="margin-top:${margin_promo}%;width: 40px;height: 15px;font-size:9px">Promo</div>`); 14220 } 14221 14222 if(game_ishot_tag == 1){ 14223 $(`${selector_tag} > a`).append(`<div class="cont-tag-hotgame"><img alt="hot" src="https://teachspacescience.org/images/hot-tag.webp?v=1.14.66" onerror="this.onerror=null;this.src='https://teachspacescience.org/images/hot-tag.png?v=1.14.66';" style="position: absolute;left:10px;top:0;z-index:10;width:50px"></div>`); 14224 } 14225 } 14226 }); 14227 14228 14229 }); 14230 14231 $(".form-captcha").on("click", refreshCaptcha); 14232
14233 function setform3(form, loader, fn){ 14234 jQuery("#"+form).ajaxForm({ 14235 beforeSubmit:function(){ 14236 $(':submit').prop('disabled',true); 14237 jQuery("#"+loader).html(loader_img2); 14238 }, 14239 success:function(r){ 14240 jQuery("#"+loader).html(''); 14241 $(':submit').prop('disabled',false); 14242 if(fn!=null){fn(r);} 14243 if($('#'+form).find('img.captcha'))refreshCaptcha(); 14244 } 14245 }); 14246 } 14247 14248 function addCommas(nStr){ 14249 nStr += ''; 14250 x = nStr.split('.'); 14251 x1 = x[0]; 14252 x2 = x.length > 1 ? '.' + x[1] : ''; 14253 var rgx = /(\d+)(\d{3})/; 14254 while (rgx.test(x1)) { 14255 x1 = x1.replace(rgx, '$1' + ',' + '$2'); 14256 } 14257 return x1 + x2; 14258 } 14259 14260 14261 function refreshCaptcha(){ 14262 var time_param = new Date(); 14263 time_second = time_param.getMilliseconds(); 14264 $.ajax({ 14265 url : "https://teachspacescience.org/get_captcha?"+time_second, 14266 method : 'GET', 14267 beforeSend : function(){ 14268 $(this).off("click"); 14269 }, 14270 success: function(output) { 14271 $(".form-captcha").each(function(){ 14272 $(this).find("img.captcha_image").prop("src", output); 14273 }); 14274 $('.captcha-input').val(""); 14275 }, 14276 complete: function(){ 14277 $(this).on("click", refreshCaptcha); 14278 } 14279 }); 14280 } 14281 14282 14283 14284 function chk_mask() { 14285 var bankName = jQuery("#bank option:selected").text() 14286 // console.log("bank", bankName); 14287 14288 if(bankName=="BCA" || bankName=="BNI" || bankName=="Doku"){ 14289 // 10 digits 14290 jQuery("#bank_accnumber").val("").mask("999-999-9999"); 14291 }else if(bankName=="UOB Indonesia" ) { 14292 //11 digits 14293 jQuery("#bank_accnumber").val("").mask("999-999-99999"); 14294 }else if(bankName=="MANDIRI") { 14295 //13 digits 14296 jQuery("#bank_accnumber").val("").mask("999-999-9999999"); 14297 }else if(bankName == "Sumut") { 14298 //14 digits 14299 jQuery("#bank_accnumber").val("").mask("999-999-99999999"); 14300 }else if(bankName=="BRI") { 14301 //15 digits 14302 jQuery("#bank_accnumber").val("").mask("999-999-999999999"); 14303 }else if(bankName=="DANAMON" || bankName == "OCBC" || bankName == "Citibank"){ 14304 // 12 digits 14305 jQuery("#bank_accnumber").val("").mask("999-999-999999"); 14306 }else if(bankName=="Neo Commerce" || bankName == "NOBU" || bankName == "BTN"){ 14307 // 16 digits 14308 jQuery("#bank_accnumber").val("").mask('?999-999-9999999999'); 14309 }else{ 14310 // 15 digits 14311 jQuery("#bank_accnumber").val("").mask('?999-999-999999999'); 14312 } 14313 14314 if(bankName=="BNI") { 14315 jQuery("#bank_BNI").show(); 14316 }else{ 14317 jQuery("#bank_BNI").hide(); 14318 } 14319 } 14320 14321 function chk_country() 14322 { 14323 const default_country = "id"; 14324 const country_curr = $("#country option:selected").attr('data-country'); 14325 14326 // show upload identity != IDR 14327 if(country_curr == undefined){ 14328 $(".from_upload_id").hide(); 14329 }else if( country_curr != "id"){ 14330 $(".from_upload_id").show(); 14331 }else{ 14332 $(".from_upload_id").hide(); 14333 } 14334 14335 //disable secret question 14336 if( country_curr != default_country){ 14337 $('#secret_question').attr('disabled', 'disabled'); 14338 }else{ 14339 $('#secret_question').removeAttr('disabled'); 14340 } 14341 14342 //get same country 14343 $('#bank option').each(function( index, value) { 14344 if( index == 0){ 14345 return; 14346 } 14347 //when undefined show all bank 14348 if( country_curr == undefined){ 14349 $(this).hide(); 14350 }else if ($(this).data('country') == country_curr) { 14351 $(this).show(); // Show the option 14352 } else { 14353 $(this).hide(); // Hide the option 14354 } 14355 }); 14356 14357 } 14358 14359 $("#copyButton").click(function(){ 14360 var copy = copyToClipboard($('#copyTarget')); 14361 if(copy){ 14362 uialert("Link Referral Anda telah disalin."); 14363 } 14364 }); 14365 14366 $("#copyBut").on('click', function(){ 14367 var str_value= $("#copyTar").html(); 14368 var number_only=str_value.replace(/-/g,'');
14369 var numberOnlyDiv = $('<div>'+number_only+'</div>').attr('id', 'copyTargetNumber'); 14370 numberOnlyDiv.appendTo('body'); 14371 14372 var copy = copyToClipboard($('#copyTargetNumber')); 14373 14374 if(copy){ 14375 $('#copyTargetNumber').remove(); 14376 uialert("Nomor Rekening Bank telah disalin."); 14377 } 14378 }); 14379 14380 function copyAccNumber(el, is_crypto=false){ 14381 var str_value= el.siblings('.copyTar').html(); 14382 var number_only=str_value.replace(/-/g,''); 14383 var numberOnlyDiv = $('<div>'+number_only+'</div>').attr('id', 'copyTargetNumber'); 14384 numberOnlyDiv.appendTo('body'); 14385 14386 var copy = copyToClipboard($('#copyTargetNumber')); 14387 // 14388 let text = "Nomor Rekening Bank telah disalin."; 14389 if( is_crypto ){ 14390 text = "Address Crypto telah disalin."; 14391 } 14392 14393 if(copy){ 14394 $('#copyTargetNumber').remove(); 14395 uialert(text); 14396 } 14397 } 14398 14399 function copyNominal(){ 14400 var str_value= $("#copyTarget").html(); 14401 var number_only=str_value.replace(/Rp /g,'').replace(/,/g,""); 14402 var numberOnlyDiv = $('<div>'+number_only+'</div>').attr('id', 'copyTargetNumber'); 14403 numberOnlyDiv.appendTo('body'); 14404 14405 var copy = copyToClipboard($('#copyTargetNumber')); 14406 14407 if(copy){ 14408 $('#copyTargetNumber').remove(); 14409 uialert("Nominal telah disalin."); 14410 } 14411 } 14412 14413 // new deposit 1268 14414 // switch tab deposit destination 14415 function tabActiveDepositDestination(active_tab, clicked_selector) 14416 { 14417 // console.log('tabActiveDepositDestination'); 14418 // console.log(active_tab, clicked_selector); 14419 14420 // get first element to switch 14421 let acc_id = $('.btn-acc-bank')[0].dataset.acc_id; 14422 // get acc_id when qris-instan 14423 $('.depo-username, .depo-bank-name, .depo-bank-account, .depo-bank-account-number').show(); 14424 $('.depo-title-sender').text("Pengirim"); 14425 if( active_tab == "qris-instan-to" ){ 14426 acc_id = $('.btn-qris-bank')[0].dataset.acc_id; 14427 //hide some sender information 14428 $('.depo-username, .depo-bank-name, .depo-bank-account, .depo-bank-account-number').hide(); 14429 $('.depo-title-sender').text("Deposit Qris"); 14430 } 14431 // console.log('switch tab', acc_id); 14432 getDetailAcc(acc_id); 14433 14434 $('#bank-to, .bank-content-active').hide(); 14435 $('#qris-instan-to').hide(); 14436 $('#crypto-to').hide(); 14437 14438 //add custom class if exist false = remove class 14439 $("#btn-bank, #btn-qris-instan, #btn-crypto").toggleClass("active", false); 14440 14441 //add custom class if exist true = add class 14442 $(`#${clicked_selector}`).toggleClass("active",true); 14443 14444 $(`#${active_tab}`).show(); 14445 14446 if(active_tab != 'crypto-to'){ 14447 $('.bank-content-active').show(); 14448 } 14449 } 14450 14451 // bank,ewallet,credit(pulsa) 14452 function getDetailAcc(acc_id) 14453 { 14454 $('.acc-banks-detail').hide(); 14455 14456 //add custom class if exist false = remove class 14457 $(`.btn-acc-bank, .btn-qris-bank`).toggleClass("active", false); 14458 14459 //add custom class if exist true = add class 14460 $(`.${acc_id}`).toggleClass("active", true); 14461 14462 $(`#bank-ewallet-credit-${acc_id}`).show(); 14463 14464 // replace value acc_id 14465 $('#acc_id').attr('value', acc_id); 14466 // get type bank 14467 const get_type_bank = document.getElementsByClassName(`${acc_id}`); 14468 // console.log('getDetailAcc', acc_id); 14469 // console.log('get_type_bank', get_type_bank[0].dataset.bank_type); 14470 14471 if( get_type_bank[0].dataset.bank_type == 3){ // 3 = pulsa 14472 // console.log("type pulsa"); 14473 14474 let id_amount = document.getElementById('amount').value; 14475 // convert to numberic 14476 id_amount = id_amount.replace(/([A-Z])\w|(,)|(\.)/g,""); 14477 14478 const rate = get_type_bank[0].dataset.acc_rate; 14479 const total_amount_rate = id_amount - (id_amount * rate); // pulsa = total amount - (total_amound * rate); 14480 $('.deposit-pulsa').removeAttr("style"); 14481 document.getElementById("rate-pulsa").value = (rate * 100) + "%"; 14482 document.getElementById("amount-pulsa").value = "Rp " + number_format(total_amount_rate,0).replace(/,/g,"."); 14483 14484 $('.info-qris-auto').hide(); 14485 // console.log("pulsa", {rate:rate, total_amount_rate:total_amount_rate}); 14486 }else if(get_type_bank[0].dataset.transfer_type == "qr"){ 14487 $('#proof-table').hide(); 14488 $('.deposit-pulsa').hide(); 14489 // if(get_type_bank[0].dataset.is_qr_dynamic == 1){ 14490 $('.info-qris-auto').show(); 14491 // } 14492 }else{ 14493 // if not type 3 14494 $('.deposit-pulsa').css('display','none'); 14495 $('#proof-table').show(); 14496 $('.info-qris-auto').hide(); 14497 } 14498 // console.log('getDetailAcc', acc_id); 14499 // console.log('get_type_bank', get_type_bank); 14500 } 14501 14502 $(document).ready(function() { 14503 //$('span.accnumber').after('<a class="btn copy-button" href="#" title="Copy" id="copyBut"> Salin </a>'); 14504 let support_livechat = "NB: Jika anda mengalami kendala, silakan menghubungi Customer Service kami melalui Live Chat." 14505 $('#captcha_div_help').parent().after(`<span class="col-xs-7 col-xs-offset-4" style="color:red; font-weight: bold;">${support_livechat}</span>`); 14506 14507 $('a[href="https://teachspacescience.org/profile/turnovercgddtg"]').attr('target', '_info_turnover'); 14508 14509 if($('#form_login_pin').length <= 0){ 14510 let info_secret_answer = "* Harap mengingat jawaban dari pertanyaan keamanan anda, pertanyaan keamanan akan diminta pada saat lupa kata sandi."; 14511 $('input[type=text]#secret_answer').after(`<span style=" float:left;">${info_secret_answer}</span>`); 14512 $("input[type=password]").each(function(){ 14513 var eye_pass_parent = $(this).parent('div'); 14514 //if(eye_pass_parent.length > 0){ 14515 //eye_pass_parent.addClass('input-group'); 14516 //} 14517 var col = ''; 14518 if($(this).css('width') != null){ 14519 var width_src = $(this).css('width'); 14520 if (width_src.indexOf("%")== -1) { 14521 width_src = '75'; 14522 } 14523 var width_ori = parseInt(width_src, 10); 14524 $(this).css('width', '100%'); 14525 14526 if($(this).parents('#form_edit_account').length > 0 || $(this).parents('#form_edit_account_modal').length > 0 || $(this).parents('#withdrawForm').length > 0){ 14527 /*col += "col-xs-"+Math.round(width_ori / 100 * 12);*/ 14528 col += "col-xs-10"; 14529 } 14530 } 14531 $(this).wrap('<div class="input-group '+col+'"></div>'); 14532 var x = $(this).css('color'); 14533 var y = $(this).css('background'); 14534 var eye_color = hexc(x); 14535 var bg_eye_color = hexc(y); 14536 if(bg_eye_color === false){ 14537 y = $(this).css('background-color'); 14538 bg_eye_color = hexc(y); 14539 } 14540 if(bg_eye_color !== false){ 14541 bg_eye_color = 'background-color:'+bg_eye_color; 14542 } 14543 if($(this).parents('#form_login').length > 0){ 14544 bg_eye_color += '; vertical-align:bottom;'; 14545 } 14546 $(this).after('<span class="input-group-addon span_sh_password" style="'+bg_eye_color+'"><a href="#"><i class="fa fa-eye-slash" aria-hidden="true" style="color:'+eye_color+';"></i></a></span>'); 14547 }); 14548 14549 $(".span_sh_password").on('click', function(event) { 14550 var input_pass = $(this).siblings('input'); 14551 event.preventDefault(); 14552 if(input_pass.attr("type") == "text"){ 14553 input_pass.attr('type', 'password'); 14554 input_pass.siblings('.span_sh_password').find('i').addClass( "fa-eye-slash" ); 14555 input_pass.siblings('.span_sh_password').find('i').removeClass( "fa-eye" ); 14556 }else if(input_pass.attr("type") == "password"){ 14557 input_pass.attr('type', 'text'); 14558 input_pass.siblings('.span_sh_password').find('i').addClass( "fa-eye" ); 14559 input_pass.siblings('.span_sh_password').find('i').removeClass( "fa-eye-slash" ); 14560 } 14561 }); 14562 } 14563 // outstanding bet 14564 }); 14565 14566 function hexc(colorval) { 14567 var parts = colorval.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/); 14568 if(typeof parts !== 'undefined' && parts != null){ 14569 if(parts.length > 0){ 14570 delete(parts[0]); 14571 for (var i = 1; i <= 3; ++i) { 14572 parts[i] = parseInt(parts[i]).toString(16); 14573 if (parts[i].length == 1) parts[i] = '0' + parts[i]; 14574 } 14575 color = '#' + parts.join(''); 14576 return color; 14577 } 14578 } 14579 return false;
14580 } 14581 14582 function copyToClipboard(elem) { 14583 var range, selection; 14584 14585 if (window.getSelection && document.createRange) { 14586 selection = window.getSelection(); 14587 range = document.createRange(); 14588 range.selectNodeContents($(elem)[0]); 14589 selection.removeAllRanges(); 14590 selection.addRange(range); 14591 14592 } else if (document.selection && document.body.createTextRange) { 14593 range = document.body.createTextRange(); 14594 range.moveToElementText($(elem)[0]); 14595 range.select(); 14596 } 14597 14598 // copy the selection 14599 var succeed; 14600 try { 14601 succeed = document.execCommand("copy"); 14602 } catch(e) { 14603 succeed = false; 14604 } 14605 14606 return succeed; 14607 } 14608 14609</script>
14609 14610
14611<script type="text/javascript"> 14612 14613 function clear_form(el) { 14614 jQuery(el).find(':input').each(function() { 14615 switch(this.type) { 14616 case 'password': 14617 case 'select-multiple': 14618 case 'select-one': 14619 case 'text': 14620 case 'textarea': 14621 $(this).val(''); 14622 break; 14623 case 'checkbox': 14624 case 'radio': 14625 this.checked = false; 14626 } 14627 }); 14628 } 14629</script>
14629 14630
14631<script type="text/javascript" defer="defer"> 14632 14633 function call_timer_div(duration){ 14634 var seconds_left = duration; 14635 var interval = setInterval(function() { 14636 document.getElementById('timer_div').innerHTML = --seconds_left; 14637 14638 if (seconds_left <= 0) 14639 { 14640 document.getElementById('timer_div').innerHTML = "Proses Masuk!"; 14641 clearInterval(interval); 14642 // location.reload(); 14643 } 14644 }, 1000); 14645 14646 14647 } 14648 14649 14650 _dom = 0; 14651 _dom=document.all?3:(document.getElementById?1:(document.layers?2:0)); 14652 14653 function test(a,b){ 14654 if (_dom == 3) { 14655 if ((event.keyCode >= 48 && event.keyCode <= 57) || event.keyCode == 13 || event.keyCode == 8) { 14656 event.returnValue=true; 14657 }else{ 14658 event.returnValue = false; 14659 } 14660 }else{ 14661 if ((b.charCode > 47 && b.charCode < 58) || b.charCode == 13 || b.charCode == 0) { 14662 } else { 14663 b.preventDefault(); 14664 b.returnValue = false; 14665 } 14666 } 14667 } 14668 14669 function debounce(){ 14670 14671 var self = this 14672 if (this.clicked) return false; 14673 14674 this.clicked = true; 14675 setTimeout(function() {self.clicked = false;}, 10000); 14676 14677 return true; 14678 } 14679 14680 14681 var _debug = false; 14682 var _placeholderSupport = function() { 14683 var t = document.createElement("input"); 14684 t.type = "text"; 14685 return (typeof t.placeholder !== "undefined"); 14686 }(); 14687 14688 window.onload = function() { 14689 var arrInputs = document.getElementsByTagName("input"); 14690 var arrTextareas = document.getElementsByTagName("textarea"); 14691 var combinedArray = []; 14692 for (var i = 0; i < arrInputs.length; i++) 14693 combinedArray.push(arrInputs[i]); 14694 for (var i = 0; i < arrTextareas.length; i++) 14695 combinedArray.push(arrTextareas[i]); 14696 for (var i = 0;
14696 i < combinedArray.length; i++) { 14697 var curInput = combinedArray[i]; 14698 if (!curInput.type || curInput.type == "" || curInput.type == "text" || curInput.type == "textarea") 14699 HandlePlaceholder(curInput); 14700 else if (curInput.type == "password") 14701 ReplaceWithText(curInput); 14702 } 14703 14704 if (!_placeholderSupport) { 14705 for (var i = 0; i < document.forms.length; i++) { 14706 var oForm = document.forms[i]; 14707 if (oForm.attachEvent) { 14708 oForm.attachEvent("onsubmit", function() { 14709 PlaceholderFormSubmit(oForm); 14710 }); 14711 } 14712 else if (oForm.addEventListener) 14713 oForm.addEventListener("submit", function() { 14714 PlaceholderFormSubmit(oForm); 14715 }, false); 14716 } 14717 } 14718 }; 14719 14720 function PlaceholderFormSubmit(oForm) { 14721 for (var i = 0; i < oForm.elements.length; i++) { 14722 var curElement = oForm.elements[i]; 14723 HandlePlaceholderItemSubmit(curElement); 14724 } 14725 } 14726 14727 function HandlePlaceholderItemSubmit(element) { 14728 if (element.name) { 14729 var curPlaceholder = element.getAttribute("placeholder"); 14730 if (curPlaceholder && curPlaceholder.length > 0 && element.value === curPlaceholder) { 14731 element.value = ""; 14732 window.setTimeout(function() { 14733 element.value = curPlaceholder; 14734 }, 100); 14735 } 14736 } 14737 } 14738 14739 function ReplaceWithText(oPasswordTextbox) { 14740 if (_placeholderSupport) 14741 return; 14742 var oTextbox = document.createElement("input"); 14743 oTextbox.type = "text"; 14744 oTextbox.id = oPasswordTextbox.id; 14745 oTextbox.name = oPasswordTextbox.name; 14746 //oTextbox.style = oPasswordTextbox.style; 14747 oTextbox.className = oPasswordTextbox.className; 14748 for (var i = 0; i < oPasswordTextbox.attributes.length; i++) { 14749 var curName = oPasswordTextbox.attributes.item(i).nodeName; 14750 var curValue = oPasswordTextbox.attributes.item(i).nodeValue; 14751 if (curName !== "type" && curName !== "name") { 14752 oTextbox.setAttribute(curName, curValue); 14753 } 14754 } 14755 oTextbox.originalTextbox = oPasswordTextbox; 14756 oPasswordTextbox.parentNode.replaceChild(oTextbox, oPasswordTextbox); 14757 HandlePlaceholder(oTextbox); 14758 if (!_placeholderSupport) { 14759 oPasswordTextbox.onblur = function() { 14760 if (this.dummyTextbox && this.value.length === 0) { 14761 this.parentNode.replaceChild(this.dummyTextbox, this); 14762 } 14763 }; 14764 } 14765 } 14766 14767 function HandlePlaceholder(oTextbox) { 14768 if (!_placeholderSupport) { 14769 var curPlaceholder = oTextbox.getAttribute("placeholder"); 14770 if (curPlaceholder && curPlaceholder.length > 0) { 14771 Debug("Placeholder found for input box '" + oTextbox.name + "': " + curPlaceholder); 14772 oTextbox.value = curPlaceholder; 14773 oTextbox.setAttribute("old_color", oTextbox.style.color); 14774 oTextbox.style.color = "#c0c0c0"; 14775 oTextbox.onfocus = function() { 14776 var _this = this; 14777 if (this.originalTextbox) { 14778 _this = this.originalTextbox; 14779 _this.dummyTextbox = this; 14780 this.parentNode.replaceChild(this.originalTextbox, this); 14781 _this.focus(); 14782 } 14783 Debug("input box '" + _this.name + "' focus"); 14784 _this.style.color = _this.getAttribute("old_color"); 14785 if (_this.value === curPlaceholder) 14786 _this.value = ""; 14787 }; 14788 oTextbox.onblur = function() { 14789 var _this = this; 14790 Debug("input box '" + _this.name + "' blur"); 14791 if (_this.value === "") { 14792 _this.style.color = "#c0c0c0"; 14793 _this.value = curPlaceholder; 14794 } 14795 }; 14796 } 14797 else { 14798 Debug("input box '" + oTextbox.name + "' does not have placeholder attribute"); 14799 } 14800 } 14801 else { 14802 Debug("browser has native support for placeholder"); 14803 } 14804 } 14805 14806 function Debug(msg) { 14807 if (typeof _debug !== "undefined" && _debug) { 14808 var oConsole = document.getElementById("Console"); 14809 if (!oConsole) { 14810 oConsole = document.createElement("div"); 14811 oConsole.id = "Console"; 14812 document.body.appendChild(oConsole); 14813 } 14814 oConsole.innerHTML += msg + "<br />"; 14815 } 14816 } 14817 14818</script>
14818 14819 14820 14821 14822
14823<script type="text/javascript"> 14824 14825 var form_register="registerForm"; 14826 var login_after_register=0; 14827 clear_form("#registerForm"); 14828 14829 14830 setform3(form_register, 'loader_register', function(r){ 14831 //uialert(r.message.user_name); 14832 $('#agree1').css('border', 'none'); 14833 $('[id$=invalid]').siblings('input, select').css('border', 'none'); 14834 $('[id$=invalid]').text('').css('color', 'inherit').hide(); 14835 14836 for(var k in r.message_1){ 14837 if(k == 'user_name'){ 14838 $('#user_invalid').text(r.message_1.user_name).css('color', 'red'); 14839 $('#user_invalid').siblings('input').css('border','1px solid red'); 14840 $('#user_invalid').show(); 14841 }else if(k == 'password'){ 14842 $('#password_invalid').text(r.message_1.password).css('color', 'red'); 14843 $('#password_invalid').siblings('input').css('border','1px solid red'); 14844 $('#password_invalid').show(); 14845 }else if(k == 'password_confirmation'){ 14846 $('#password_confirmation_invalid').text(r.message_1.password_confirmation).css('color', 'red'); 14847 $('#password_confirmation_invalid').siblings('input').css('border','1px solid red'); 14848 $('#password_confirmation_invalid').show(); 14849 }else if(k == 'phone'){ 14850 $('#phone_invalid').text(r.message_1.phone).css('color', 'red'); 14851 $('#phone_invalid').siblings('input').css('border','1px solid red'); 14852 $('#phone_invalid').show(); 14853 }else if(k == 'email'){ 14854 $('#email_invalid').text(r.message_1.email).css('color', 'red'); 14855 $('#email_invalid').siblings('input').css('border','1px solid red'); 14856 $('#email_invalid').show(); 14857 }else if(k == 'bank'){ 14858 $('#bank_invalid').text(r.message_1.bank).css('color', 'red'); 14859 $('#bank_invalid').siblings('select').css('border','1px solid red'); 14860 $('#bank_invalid').show(); 14861 }else if(k == 'bank_accname'){ 14862 $('#bank_accname_invalid').text(r.message_1.bank_accname).css('color', 'red'); 14863 $('#bank_accname_invalid').siblings('input').css('border','1px solid red'); 14864 $('#bank_accname_invalid').show(); 14865 }else if(k == 'bank_accnumber'){ 14866 $('#bank_accnumber_invalid').text(r.message_1.bank_accnumber).css('color', 'red'); 14867 $('#bank_accnumber_invalid').siblings('input').css('border','1px solid red'); 14868 $('#bank_accnumber_invalid').show(); 14869 }else if(k == 'secret_question'){ 14870 $('#secret_question_invalid').text(r.message_1.secret_question).css('color', 'red'); 14871 $('#secret_question_invalid').siblings('input').css('border','1px solid red'); 14872 $('#secret_question_invalid').show(); 14873 }else if(k == 'secret_answer'){ 14874 $('#secret_answer_invalid').text(r.message_1.secret_answer).css('color', 'red'); 14875 $('#secret_answer_invalid').siblings('input').css('border','1px solid red'); 14876 $('#secret_answer_invalid').show(); 14877 }else if(k == 'agree'){ 14878 $('#agree1').css('outline','1px solid red'); 14879 }else if(k == 'captcha'){ 14880 $('#captcha_invalid').text(r.message_1.captcha).css('color', 'red'); 14881 $('#captcha_invalid').siblings('input').css('border','1px solid red'); 14882 $('#captcha_invalid').show(); 14883 }else if(k == 'country'){ 14884 $('#country_invalid').text(r.message_1.country).css('color', 'red'); 14885 $('#country_invalid').siblings('input').css('border','1px solid red'); 14886 $('#country_invalid').show(); 14887 }else if(k == 'upload_id'){ 14888 $('#uploadID_invalid').text(r.message_1.upload_id).css('color', 'red'); 14889 $('#uploadID_invalid').siblings('input').css('border','1px solid red'); 14890 $('#uploadID_invalid').show(); 14891 } 14892 } 14893 14894 if(r.status==200){ 14895 if(login_after_register){ 14896 call_timer_div(5); 14897 uialert(r.message_1); 14898 setTimeout( 14899 function() { 14900 if(typeof r.next_url !== "undefined"){ 14901 location.href = r.next_url; 14902 }else{ 14903 location.href = "https://teachspacescience.org/login"; 14904 } 14905 }, 6000 ); 14906 }else{ 14907 14908 uialert(r.message_2); 14909 } 14910 } 14911 }); 14912 14913 14914 14915 14916 validate_user_id = function(){ 14917 var str=jQuery("#user").val(); 14918 // str=str.replace(/[^a-zA-Z 0-9]+/g,''); 14919 str=str.replace(/ /g,""); 14920 str=str.toUpperCase(); 14921 jQuery("#user").val(str); 14922 if(str!=""){ 14923 jQuery.post("https://teachspacescience.org/register_validate", {"user" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 14924 if(r=="200"){ 14925 jQuery("#user").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000"}).attr({"title":""}); 14926 jQuery("#user_invalid").hide(); 14927 }else if(r=="311") { 14928 jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username tersebut tidak dapat digunakan."}); 14929 $('#user_invalid').text("Mohon Maaf,Username tersebut tidak dapat digunakan!"); 14930 jQuery("#user_invalid").show(); 14931 }else if(r=="312") { 14932 jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username Anda harus memiliki Huruf Alphabet!"}); 14933 $('#user_invalid').text("Username Anda harus memiliki Huruf Alphabet!"); 14934 jQuery("#user_invalid").show(); 14935 }else if(r=="313") { 14936 jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username Anda hanya boleh Alphabet dan Angka!"}); 14937 $('#user_invalid').text("Username Anda hanya boleh Alphabet dan Angka!"); 14938 jQuery("#user_invalid").show(); 14939 }else if(r=="314") { 14940 jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username minimal 3 karakter."}); 14941 $('#user_invalid').text("Username minimal 3 karakter."); 14942 jQuery("#user_invalid").show(); 14943 } 14944 else{ 14945 jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username tersebut sudah digunakan! Silakan gunakan username lain."}); 14946 $('#user_invalid').text("Mohon Maaf,Username tersebut sudah digunakan!"); 14947 jQuery("#user_invalid").show(); 14948 } 14949 }) 14950 } 14951 } 14952 14953 validate_password = function(){ 14954 var str_u=$("#user").val(); 14955 str_u=str_u.replace(/ /g,""); 14956 str_u=str_u.toUpperCase(); 14957 var str = encodeURIComponent($("#password").val()); 14958 var str2 = encodeURIComponent($("#password_confirmation").val()); 14959 if(str2 != "" && str !=""){ 14960 $.post("https://teachspacescience.org/register_validate", {"user_password" : str_u, "password" : str, "password_confirmation" : str2, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 14961 if(r=="301"){ 14962 jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""}); 14963 jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""});
14964 jQuery("#password_confirmation_invalid").text("Konfirmasi Kata Sandi tidak sama!"); 14965 jQuery("#password_confirmation_invalid").show(); 14966 }else if(r=="302"){ 14967 jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""}); 14968 jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""}); 14969 jQuery("#password_invalid").text("Kolom Kata Sandi dan Konfirmasi Password harus memiliki minimal 8 karakter."); 14970 jQuery("#password_invalid").show(); 14971 jQuery("#password_confirmation_invalid").text("Kolom Kata Sandi dan Konfirmasi Password harus memiliki minimal 8 karakter."); 14972 jQuery("#password_confirmation_invalid").show(); 14973 }else if(r=="303"){ 14974 jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""}); 14975 jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""}); 14976 jQuery("#password_invalid").text("Kata sandi Anda harus terdiri dari Huruf Besar, Huruf Kecil, dan Angka."); 14977 jQuery("#password_invalid").show(); 14978 jQuery("#password_confirmation_invalid").text("Kata sandi Anda harus terdiri dari Huruf Besar, Huruf Kecil, dan Angka."); 14979 jQuery("#password_confirmation_invalid").show(); 14980 }else if(r=="304"){ 14981 jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""}); 14982 jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""}); 14983 jQuery("#password_invalid").text("Kata sandi Anda tidak boleh sama dengan Username Anda."); 14984 jQuery("#password_invalid").show(); 14985 }else if(r=="305"){ 14986 jQuery("#password").css({"border":"1px solid #ff0000" }).attr({"title":""}); 14987 jQuery("#password_confirmation").css({"border":"1px solid #ff0000" }).attr({"title":""}); 14988 jQuery("#password_invalid").text("Password yang anda masukkan tidak dapat digunakan, silakan gunakan password lain."); 14989 jQuery("#password_invalid").show(); 14990 }else{ 14991 jQuery("#password").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""}); 14992 jQuery("#password_confirmation").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""}); 14993 jQuery("#password_invalid").hide(); 14994 jQuery("#password_confirmation_invalid").hide(); 14995 } 14996 }); 14997 } 14998 } 14999 15000 validate_email = function(){ 15001 var str=encodeURIComponent($("#email").val()); 15002 if(str !=""){ 15003 $.post("https://teachspacescience.org/register_validate", {"email" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15004 if(r=="301"){ 15005 jQuery("#email").css({"border":"1px solid #ff0000" }).attr({"title":""}); 15006 jQuery("#email_invalid").text("Email tersebut sudah terdaftar! Silakan gunakan email lain."); 15007 jQuery("#email_invalid, .email_invalid").show(); 15008 }else if(r=='302'){ 15009 jQuery("#email").css({"border":"1px solid #ff0000" }).attr({"title":""}); 15010 jQuery("#email_invalid").text("Format Email salah."); 15011 jQuery("#email_invalid, .email_invalid").show(); 15012 }else{ 15013 jQuery("#email").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""}); 15014 jQuery("#email_invalid, .email_invalid").hide(); 15015 } 15016 }); 15017 } 15018 } 15019 15020 validate_phone = function(){ 15021 var str = $("#phone").val(); 15022 if(str !=""){ 15023 $.post("https://teachspacescience.org/register_validate", {"phone" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15024 if(r=="302"){ 15025 jQuery("#phone").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""}); 15026 jQuery("#phone_invalid").text("Mohon isi nomor HP Anda yang valid! Contoh : 081xxxxxxxxx"); 15027 jQuery("#phone_invalid, .phone_invalid").show(); 15028 }else if(r=='303'){ 15029 jQuery("#phone").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""}); 15030 jQuery("#phone_invalid").text("Angka pertama harus dimulai dari 0."); 15031 jQuery("#phone_invalid, .phone_invalid").show(); 15032 }else{ 15033 jQuery("#phone").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""}); 15034 jQuery("#phone_invalid, .phone_invalid").hide(); 15035 } 15036 }); 15037 } 15038 } 15039 15040 validate_secret_answer = function(){ 15041 var str = $("#secret_answer").val(); 15042 if(str !=""){ 15043 $.post("https://teachspacescience.org/register_validate", {"secret_answer" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15044 if(r=="301"){ 15045 jQuery("#secret_answer").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""}); 15046 jQuery("#secret_answer_invalid").text("Jawaban keamanan minimal 3 karakter."); 15047 jQuery("#secret_answer_invalid").show(); 15048 }else{ 15049 jQuery("#secret_answer").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""}); 15050 jQuery("#secret_answer_invalid").hide(); 15051 } 15052 }); 15053 } 15054 } 15055 15056 validate_bank = function(){ 15057 var str=$("#bank").val(); 15058 if(str !=""){ 15059 $.post("https://teachspacescience.org/register_validate", {"bank" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15060 if(r=="301"){ 15061 jQuery("#bank").css({"border":"1px solid #ff0000"}).attr({"title":""});
15062 jQuery("#bank_invalid").text("Silakan Pilih bank yang anda gunakan."); 15063 jQuery("#bank_invalid, .bank_invalid").show(); 15064 }else{ 15065 jQuery("#bank").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""}); 15066 jQuery("#bank_invalid, .bank_invalid").hide(); 15067 } 15068 }); 15069 } 15070 } 15071 15072 validate_account_number = function(){ 15073 var str=$("#bank_accnumber").val(); 15074 var str1=$("#bank").val(); 15075 if(str !=""){ 15076 $.post("https://teachspacescience.org/register_validate", {"bank_accnumber" : str,"bank" : str1, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15077 if(r=="302"){ 15078 jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""}); 15079 jQuery("#bank_accnumber_invalid").text("Nomor rekening tersebut tidak valid! Silakan gunakan Nomor rekening anda."); 15080 jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show(); 15081 }else if(r=="301"){ 15082 jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""}); 15083 jQuery("#bank_accnumber_invalid").text("Nomor rekening tersebut sudah digunakan! Silakan gunakan Nomor rekening yang lain."); 15084 jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show(); 15085 }else if(r=="303"){ 15086 jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""}); 15087 jQuery("#bank_accnumber_invalid").text("Nomor rekening ini terkendala, silakan hubungi customer service kami."); 15088 jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show(); 15089 }else if(r=="304"){ 15090 jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""}); 15091 jQuery("#bank_accnumber_invalid").text("Data rekening anda mencapai batas validasi."); 15092 jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show(); 15093 }else if(r=="305"){ 15094 jQuery("#bank_accnumber").css({"border":"1px solid #ff0000"}).attr({"title":""}); 15095 jQuery("#bank_accnumber_invalid").text("Mohon isi nomor rekening Ewallet Anda yang valid! Contoh : 081xxxxxxxxx"); 15096 jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").show(); 15097 }else{ 15098 jQuery("#bank_accnumber").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""}); 15099 jQuery("#bank_accnumber_invalid, .bank_accnumber_invalid").hide(); 15100 } 15101 }); 15102 } 15103 } 15104 15105 validate_bank_accname = function(){ 15106 var str=$("#bank_accname").val(); 15107 if(str !=""){ 15108 $.post("https://teachspacescience.org/register_validate", {"bank_account_name" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15109 if(r=="301"){ 15110 jQuery("#bank_accname").css({"border":"1px solid #ff0000"}).attr({"title":""}); 15111 jQuery("#bank_accname_invalid").text("Mohon isi nama akun Anda yang valid!"); 15112 jQuery("#bank_accname_invalid, .bank_accname_invalid").show(); 15113 }else if(r=="302"){ 15114 jQuery("#bank_accname").css({"border":"1px solid #ff0000"}).attr({"title":""}); 15115 jQuery("#bank_accname_invalid").text("Nama Rekening tidak boleh menggunakan special character."); 15116 jQuery("#bank_accname_invalid, .bank_accname_invalid").show(); 15117 }else{ 15118 jQuery("#bank_accname").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"none","border":"1px solid #ccc"}).attr({"title":""}); 15119 jQuery("#bank_accname_invalid, .bank_accname_invalid").hide(); 15120 } 15121 }); 15122 } 15123 } 15124 15125 validate_user_id_forgot = function(){ 15126 var str=jQuery("#user").val(); 15127 str=str.replace(/[^a-zA-Z 0-9]+/g,''); 15128 str=str.replace(/ /g,""); 15129 str=str.toUpperCase(); 15130 if(str!=""){ 15131 jQuery.post("https://teachspacescience.org/password/reset/validate", {"user" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15132 if(r=="200"){ 15133 jQuery("#user").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000"}).attr({"title":""}); 15134 jQuery("#user_invalid").hide(); 15135 }else{ 15136 jQuery("#user").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Username tersebut tidak terdaftar!"}); 15137 $('#user_invalid').text("Mohon Maaf,Username tidak cocok/salah"); 15138 jQuery("#user_invalid").show(); 15139 } 15140 }) 15141 } 15142 } 15143 15144 validate_email_forgot = function(){ 15145 var str=jQuery("#email").val(); 15146 if(str!=""){ 15147 jQuery.post("https://teachspacescience.org/password/reset/validate", {"email" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15148 if(r=="200"){ 15149 jQuery("#email").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000"}).attr({"title":""}); 15150 jQuery("#email_invalid").hide(); 15151 }else{ 15152 jQuery("#email").css({"background":"#800000","color":"yellow","border":"1px solid #ff0000"}).attr({"title":"Email tersebut tidak terdaftar!"}); 15153 $('#email_invalid').text("Email tidak terdaftar! Mohon hubungi customer service!"); 15154 jQuery("#email_invalid").show(); 15155 } 15156 }) 15157 } 15158 } 15159 15160 show_forget_password_form = function (id) { 15161 if (id == 'email') { 15162 $(`#email-form`).css('display', 'block'); 15163 $(`#bank-form`).css('display', 'none'); 15164 } else if (id == 'bank') { 15165 $(`#email-form`).css('display', 'none'); 15166 $(`#bank-form`).css('display', 'block'); 15167 } 15168 } 15169 15170 // verification referral 15171 validate_full_name = function() { 15172 var str=jQuery("#full_name").val(); 15173 if( str != ""){ 15174 jQuery.post("https://teachspacescience.org/user/referral/validate-verification", {"full_name" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15175 if(r.status == 300 && typeof r.message_1.full_name != "undefined"){ 15176 jQuery("#full_name").css({"border":"1px solid #ff0000" }).attr({"title":"Nama Lengkap invalid"}); 15177 $('#full_name_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.full_name); 15178 jQuery("#full_name_invalid, .full_name_invalid").show(); 15179 }else{ 15180 jQuery("#full_name").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""}); 15181 jQuery("#full_name_invalid, .full_name_invalid").hide(); 15182 } 15183 }); 15184 } 15185 } 15186 15187 validate_email_otp = function() { 15188 var str=jQuery("#email_otp").val(); 15189 var email=jQuery("#email").val(); 15190 if( str != ""){ 15191 jQuery.post("https://teachspacescience.org/user/referral/validate-verification", {"email": email, "email_otp" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15192 if(r.status == 300 && typeof r.message_1.email_otp != "undefined"){ 15193 jQuery("#email_otp").css({"border":"1px solid #ff0000" }).attr({"title":"Identity Number invalid"});
15194 $('#email_otp_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.email_otp); 15195 jQuery("#email_otp_invalid, .email_otp_invalid").show(); 15196 }else{ 15197 jQuery("#email_otp").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""}); 15198 jQuery("#email_otp_invalid, .email_otp_invalid").hide(); 15199 } 15200 }); 15201 }else{ 15202 jQuery("#email_otp").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""}); 15203 jQuery("#email_otp_invalid, .email_otp_invalid").hide(); 15204 } 15205 } 15206 15207 validate_identity_number = function() { 15208 var str=jQuery("#identity").val(); 15209 if( str != ""){ 15210 jQuery.post("https://teachspacescience.org/user/referral/validate-verification", {"identity" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15211 if(r.status == 300 && typeof r.message_1.identity != "undefined"){ 15212 jQuery("#identity").css({"border":"1px solid #ff0000" }).attr({"title":"Identity Number invalid"}); 15213 $('#identity_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.identity); 15214 jQuery("#identity_invalid, .identity_invalid").show(); 15215 }else{ 15216 jQuery("#identity").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""}); 15217 jQuery("#identity_invalid, .identity_invalid").hide(); 15218 } 15219 }); 15220 } 15221 } 15222 15223 validate_upload_identity = function(){ 15224 var str=jQuery("#upload_identity").val(); 15225 if( str != ""){ 15226 jQuery("#upload_identity").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""}); 15227 jQuery("#upload_identity_invalid, .upload_identity_invalid").hide(); 15228 }else{ 15229 jQuery("#upload_identity").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""}); 15230 jQuery("#upload_identity_invalid, .upload_identity_invalid").hide(); 15231 } 15232 } 15233 15234 validate_wa_otp = function() { 15235 var str=jQuery("#wa_otp").val(); 15236 var phone=jQuery("#phone").val(); 15237 if( str != ""){ 15238 jQuery.post("https://teachspacescience.org/user/referral/validate-verification", {"phone": phone, "wa_otp" : str, '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' }, function(r){ 15239 if(r.status == 300 && typeof r.message_1.wa_otp != "undefined"){ 15240 jQuery("#wa_otp").css({"border":"1px solid #ff0000" }).attr({"title":"Identity Number invalid"}); 15241 $('#wa_otp_invalid').css({"color":"red", "font-size": "12px"}).text(r.message_1.wa_otp); 15242 jQuery("#wa_otp_invalid, .wa_otp_invalid").show(); 15243 }else{ 15244 jQuery("#wa_otp").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""}); 15245 jQuery("#wa_otp_invalid, .wa_otp_invalid").hide(); 15246 } 15247 }); 15248 }else{ 15249 jQuery("#wa_otp").css({"background":"url(https://teachspacescience.org/images/input01.gif?v=1.14.66) repeat-x scroll 0 0 #FFFFFF","color":"#000000","border":"1px solid #ccc"}).attr({"title":""}); 15250 jQuery("#wa_otp_invalid, .wa_otp_invalid").hide(); 15251 } 15252 } 15253 15254 // Time out for resend forgot pass email again 15255 15256 send_forgot_password_email = function () { 15257 $('#btn-resend-forgot-password-email').prop('disabled', true); 15258 clearTimeout(timeOut); 15259 jQuery.post("https://teachspacescience.org/password/reset/resend", { 15260 _token: '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930', 15261 user_id: '' 15262 }, function (response) { 15263 console.log(response);
15264 $('#timer').text(response.nextDuration); 15265 clearTimeout(timeOut); 15266 start_countdown(); 15267 // start time out again 15268 }); 15269 } 15270 15271 var timerInterval = null; 15272 start_countdown = function () { 15273 $('#btn-resend-forgot-password-email').prop('disabled', true); 15274 15275 timerInterval = setInterval(() => { 15276 let currentTime = $('#timer').text(); 15277 15278 if (currentTime <= 0) 15279 stop_countdown() 15280 else 15281 $('#timer').text(currentTime - 1); 15282 }, 1000); 15283 } 15284 15285 stop_countdown = function () { 15286 $('#btn-resend-forgot-password-email').prop('disabled', false); 15287 15288 clearInterval(timerInterval); 15289 } 15290 15291 15292 </script>
15292 15293
15294<script type="text/javascript" src="https://teachspacescience.org/togel/OwlCarousel2-2.3.4/OwlCarousel2-2.3.4/dist/owl.carousel.js?v=1.14.66"></script>
15294 15295
15296<script type="text/javascript"> 15297 15298 var bank_owl_items = 8; 15299 if ($('.item').length >= 5) { 15300 var bank_owl_loop = true; 15301 } 15302 else { 15303 var bank_owl_loop = false; 15304 } 15305 var bank_owl_margin = 10; 15306 var bank_owl_autoplay = true; 15307 var bank_owl_autoplayTimeout = 2000; 15308 var bank_owl_autoplayHoverPause = true; 15309 var bank_owl_nav = true; 15310 $('.owl-carousel.bank').owlCarousel({ 15311 items:bank_owl_items, 15312 loop:bank_owl_loop, 15313 margin:bank_owl_margin, 15314 autoplay:bank_owl_autoplay, 15315 autoplayTimeout:bank_owl_autoplayTimeout, 15316 autoplayHoverPause:bank_owl_autoplayHoverPause, 15317 nav:bank_owl_nav, 15318 responsive:{ 15319 0:{ 15320 items:1 15321 }, 15322 600:{ 15323 items:3 15324 }, 15325 1000:{ 15326 items:4 15327 } 15328 } 15329 }) 15330 15331 var socials_owl_items ="3"; //$(".item"); 15332 if (socials_owl_items >= 5) { 15333 var socials_owl_loop = true; 15334 } 15335 else { 15336 var socials_owl_loop = false; 15337 } 15338 var socials_owl_margin = 0; 15339 var socials_owl_autoplay = true; 15340 var socials_owl_autoplayTimeout = 2500; 15341 var socials_owl_autoplayHoverPause = true; 15342 var socials_owl_nav = true; 15343 $('.owl-carousel.socials').owlCarousel({ 15344 items:socials_owl_items, 15345 loop:socials_owl_loop, 15346 margin:socials_owl_margin, 15347 autoplay:socials_owl_autoplay, 15348 autoplayTimeout:socials_owl_autoplayTimeout, 15349 autoplayHoverPause:socials_owl_autoplayHoverPause, 15350 nav:socials_owl_nav, 15351 responsive:{ 15352 0:{ 15353 items:1 15354 }, 15355 600:{ 15356 items:3 15357 }, 15358 1000:{ 15359 items:5 15360 } 15361 } 15362 }) 15363 15364 15365 15366 15367 // for user email verified or not, to show svg icon 15368 var not_verified= '<svg style="transform:rotate(0deg);position:static;width:20px;height:20px" xmlns="http://www.w3.org/2000/svg" fill="red" viewBox="0 0 24 24" stroke="white" stroke-width="2"> <path stroke-linecap="round" stroke-linejoin="round" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/> </svg>'; 15369 var verified = '<svg style="transform:rotate(0deg);position:static;width:20px;height:20px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="green"><path style="fill:green" class="h-2 w-5" fill-rule="evenodd" d="M2.166 4.999A11.954 11.954 0 0 0 10 1.944 11.954 11.954 0 0 0 17.834 5c.11.65.166 1.32.166 2.001 0 5.225-3.34 9.67-8 11.317C5.34 16.67 2 12.225 2 7c0-.682.057-1.35.166-2.001zm11.541 3.708a1 1 0 0 0-1.414-1.414L9 10.586 7.707 9.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4z" clip-rule="evenodd"/></svg>'; 15370 15371 15372 // just for customer complaint at login page 15373 let customer_complaint = "Pengaduan Konsumen"; 15374 $('.userro').append(`<span style="font-size: 11px;"><a href="#" data-toggle="modal" data-target="#consumer_com" class="lp-pass" id="consumer_com_modal" >${customer_complaint}</a></span>`); 15375 15376 </script>
15376 15377
15378<script src="https://teachspacescience.org/js/jquery.expander.js?v=1.14.66"></script>
15378 15379
15380<script type="text/javascript"> 15381 $(document).ready(function () { 15382 $('.readmore').expander({ 15383 slicePoint: 360, 15384 moreLinkClass: 'more-link masuk moreClass', 15385 lessLinkClass: 'less-link masuk readClass', 15386 expandText: " Baca Selengkapnya", 15387 userCollapseText: "Tutup" 15388 }); 15389 }); 15390 $('.spok').css({'text-align': 'inherit'}); 15391 $('.spok h1').css({'text-align': 'center', 'display':'flex', 'width':'100%', 'justify-content':'center'}); 15392 15393 $('.carousel').carousel({ 15394 interval: 3000 15395 }); 15396</script>
15396 15397
15398<script type="text/javascript"> 15399 $(document).ready(function(){ 15400 15401 // Disable scroll when focused on a number input. 15402 $('form').on('focus', 'input[type=number]', function(e) { 15403 $(this).on('wheel', function(e) { 15404 e.preventDefault(); 15405 }); 15406 }); 15407 // Disable up and down keys. 15408 $('form').on('keydown', 'input[type=number]', function(e) { 15409 if ( e.which == 38 || e.which == 40 ) 15410 e.preventDefault(); 15411 }); 15412 15413 jQuery('#form_login').on('submit', function() { 15414 jQuery('#btn_login').attr('disabled','disabled'); 15415 }); 15416 15417 setform3("form_login", "loader_login", function(r){ 15418 uialert(r.message); 15419 15420 $('#uialert_modal').on('hidden.bs.modal', function (e) { 15421 if(r.status == 200){ 15422 location.href = 'https://teachspacescience.org'; 15423 }else if(r.status == 202){ 15424 location.href = r.next; 15425 }else{ 15426 jQuery('#btn_login').removeAttr('disabled'); 15427 } 15428 }); 15429 }); 15430 setform3("frm_complaint", "loader_complaint", function(r){ 15431 uialert(r.message); 15432 if(r.status == 200){ 15433 location.reload(true); 15434 } 15435 }); 15436 clear_form("#form_login"); 15437 15438 setform3("form_login1","loader_login1", function(r){ 15439 uialert(r.message); 15440 if(r.status == 200){ 15441 location.href = 'https://teachspacescience.org'; 15442 } 15443 }); 15444 clear_form("#form_edit_account_modal"); 15445 15446 chk_mask(); 15447 }) 15448</script>
15448 15449 15450
15451<script type="text/javascript"> 15452 $('.All_Rights').append(' v1.14.66-17'); 15453 $('body').before('<!--</body></html>'); 15454 15455 $('.userro').before('<div class="icon1"></div><div class="icon2"></div>'); 15456 $('.login').prepend('<div class="icon1"></div><div class="icon2"></div>'); 15457 $('.icon1').prepend('<a href="https://cf.ruangok.com/public/app/APK/messipoker/Messipoker 5.0.5 - 1 Icon Revised.apk"><img src="https://cf.ruangok.com/public/banner/id/messipoker/app/messipoker_android.png?1589393111" class="img-responsive" alt="teachspacescience.org"></a>'); 15458 </script>
15458 15459 15460
15461<script type="text/javascript"> 15462 $('.tgl').after('<div class="rst"><div class="rst_tgl text-center"><div class="col-lg-12 pb"></div></div></div>') 15463 $(document).ready(function() { 15464 if($('.rst').length > 0) { 15465 $.get("https://teachspacescience.org/tgnumbers", function (data) { 15466 tg_results_down(data); 15467 }); 15468 } 15469 15470 // new lottery 15471 if($('#lottery-grid').length > 0){ 15472 $.get("https://teachspacescience.org/tgnumbers", function (data) { 15473 new_tg_results_down(data); 15474 }); 15475 } 15476 }); 15477 15478 function tg_results_down(data) { 15479 $('.rst > .rst_tgl > .pb').append('<div class="owl-carousel owl-theme result2"></div>'); 15480 if(typeof data['lottery'] != 'undefined' && typeof data['content']['content'] != 'undefined') { 15481 var markets = data['content']['content']; 15482 var market_name = Object.keys(markets); 15483 var domain_alt= "teachspacescience.org"; 15484 var item = data['lottery']; 15485 var alt_domain_tg = "teachspacescience.org"; 15486 15487 for (var i = 0; i < market_name.length; i++) { 15488 if(typeof item[market_name[i].toLowerCase()] == 'undefined') { 15489 continue; 15490 } 15491 var market_item = item[market_name[i].toLowerCase()]; 15492 var market = markets[market_name[i]]; 15493 var icon_desktop = 'https://teachspacescience.org/togel/' +market_name[i]+'.webp'; 15494 var html_tag = ''; 15495 html_tag += '<div class="tgl">'; 15496 html_tag += '<div class="logo">'; 15497 html_tag += `<img src="${icon_desktop}" class="img-responsive" alt="${alt_domain_tg}">`; 15498 html_tag += '</div>'; 15499 html_tag += '<div class="info">'; 15500 html_tag += '<h4 class="title">'+market[0]['name'].toUpperCase()+'</h4>'; 15501 html_tag += '<p>'+market[0]['date']+'</p>'; 15502 html_tag += '<a href="'+market_item['result_url']+'">'+market[0]['result']+'</a>'; 15503 html_tag += '</div>'; 15504 html_tag += '</div>'; 15505 $('.rst > .rst_tgl > .pb > .result2').append(html_tag); 15506 } 15507 } 15508 15509 var result_owl_items = 8; 15510 var result_owl_margin = 0; 15511 var result_owl_autoplay = true; 15512 var result_owl_autoplayTimeout = 2000; 15513 var result_owl_autoplayHoverPause = true; 15514 var result_owl_nav = true; 15515 15516 if ($('.tgl').length > 8) { 15517 var result_owl_loop = true; 15518 } 15519 else { 15520 var result_owl_loop = false; 15521 } 15522 $('.owl-carousel.result2').owlCarousel({ 15523 item:result_owl_items, 15524 loop:result_owl_loop, 15525 margin:result_owl_margin, 15526 autoplay:result_owl_autoplay, 15527 autoplayTimeout:result_owl_autoplayTimeout, 15528 autoplayHoverPause:result_owl_autoplayHoverPause, 15529 nav:result_owl_nav, 15530 responsive:{ 15531 0:{ 15532 items:1 15533 }, 15534 600:{ 15535 items:4 15536 }, 15537 1000:{ 15538 items:7 15539 } 15540 } 15541 }) 15542 } 15543 15544 // new lottery 15545 function new_tg_results_down(data) 15546 { 15547 if(typeof data['lottery'] != 'undefined' && typeof data['content']['content'] != 'undefined') { 15548 let markets = data['content']['content']; 15549 let market_name = Object.keys(markets); 15550 let domain_alt= "teachspacescience.org"; 15551 let item = data['lottery']; 15552 let alt_domain_tg = "teachspacescience.org"; 15553 15554 for (var i = 0; i < market_name.length; i++) { 15555 if(typeof item[market_name[i].toLowerCase()] == 'undefined') { 15556 continue; 15557 } 15558 let market_item = item[market_name[i].toLowerCase()]; 15559 let market = markets[market_name[i]]; 15560 let icon_desktop = 'https://teachspacescience.org/togel/' +market_name[i]+'.webp'; 15561 let html_tag = ''; 15562 const ball_images = generateBallImages(market[0]['result'], alt_domain_tg); 15563 html_tag += ` 15564 <div class="lottery-card" data-close-time="${market_item.close_time}"> 15565 <div class="lottery-detail"> 15566 <div style="margin-top: auto;margin-bottom: auto;"> 15567 <img src="${icon_desktop}" alt="${alt_domain_tg}" width="50px" height="50px"> 15568 </div> 15569 <div class="lottery-desc-detail" style="padding: 1rem;"> 15570 <h4 class="title-lottery" style="margin: 0;font-weight: bold;letter-spacing: 3px;font-size:12px;">${market[0]['name'].toUpperCase()}</h4> 15571 <small class="lottery-date"> 15572 <i class="fa fa-calendar" aria-hidden="true"></i> 15573 ${market[0]['day']},${market[0]['date']} 15574 </small> 15575 </div> 15576 </div> 15577 <div class="lottery-ball-container"> 15578 <a href="${market_item['result_url']}"> 15579 ${ball_images} 15580 </a> 15581 </div> 15582 <div class="lottery-market-time text-center"> 15583 <i class="fa fa-clock-o" aria-hidden="true" style=""></i>
15584 <span class="countdown-close-lottery">Loading...</span> 15585 </div> 15586 </div> 15587 `; 15588 $('#lottery-grid').append(html_tag); 15589 } 15590 15591 // Start countdowns after cards are added to the DOM 15592 document.querySelectorAll(".lottery-card").forEach(card => { 15593 const closeTimeString = card.getAttribute("data-close-time"); 15594 const timerSpan = card.querySelector(".countdown-close-lottery"); 15595 updateCountdown(timerSpan, closeTimeString); 15596 }); 15597 15598 } 15599 } 15600 15601 // generate image ball 15602 function generateBallImages(str_number, alt_domain_tg){ 15603 let ballHTML = ''; 15604 const array_number = str_number.split(""); 15605 15606 for (let i = 0; i < array_number.length; i++) { 15607 const number = array_number[i]; 15608 ballHTML += `<img src="https://teachspacescience.org/images/ball/${number}.webp?v=1.14.66" alt="${alt_domain_tg}" style="margin:0 2px" width="30px" height="30px">`; 15609 } 15610 return ballHTML; 15611 } 15612 15613 // parse data 15614 function parseCloseTimes(closeTimeString) { 15615 // Split by " - " 15616 return closeTimeString.split(" - ").map(time => time.trim()); 15617 } 15618 15619 // check CloseTime 15620 function getNextCloseTime(closeTimes) { 15621 const now = new Date(); 15622 const today = new Date(now.getFullYear(), now.getMonth(), now.getDate()); 15623 let nextTime = null; 15624 15625 for (const timeStr of closeTimes) { 15626 let [hours, minutes] = timeStr.split(':').map(Number); 15627 15628 const timeDate = new Date(today); 15629 timeDate.setHours(hours, minutes, 0, 0); 15630 15631 if (timeDate > now) { 15632 if (!nextTime || timeDate < nextTime) { 15633 nextTime = timeDate; 15634 } 15635 } else { 15636 // If already passed today, check tomorrow 15637 const tomorrow = new Date(today); 15638 tomorrow.setDate(tomorrow.getDate() + 1); 15639 tomorrow.setHours(hours, minutes, 0, 0); 15640 if (!nextTime || tomorrow < nextTime) { 15641 nextTime = tomorrow; 15642 } 15643 } 15644 } 15645 15646 return nextTime; 15647 } 15648 15649 // update countdown lottery 15650 function updateCountdown(spanElement, closeTimeString) { 15651 const closeTimes = parseCloseTimes(closeTimeString); 15652 const nextClose = getNextCloseTime(closeTimes); 15653 if (!nextClose) { 15654 spanElement.innerText = "Closed"; 15655 return; 15656 } 15657 15658 const interval = setInterval(() => { 15659 const now = new Date(); 15660 const diff = nextClose - now; 15661 15662 if (diff <= 0) { 15663 clearInterval(interval); 15664 spanElement.innerText = "Closed"; 15665 return; 15666 } 15667 15668 const hours = Math.floor(diff / (1000 * 60 * 60)); 15669 const minutes = Math.floor((diff / (1000 * 60)) % 60); 15670 const seconds = Math.floor((diff / 1000) % 60); 15671 15672 spanElement.innerText = `${String(hours).padStart(2, '0')}
15672:${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}`; 15673 }, 1000); 15674 } 15675</script>
15675 15676
15677<script type="text/javascript"> 15678 let defaultDuration = 55; //set duration in seconds; slower = longer duration 15679 let defaultWidth = 1200; 15680 let marqueeCount = 1; 15681 let marqueeDelay = 0; 15682 $("#marquee_container.marquee > div").each(function(){ 15683 let currentWidth = $(this).width(); 15684 let newSpeed = Math.ceil(defaultDuration*(currentWidth/defaultWidth)); 15685 15686 $(this).css("animation", "marquee" + marqueeCount + " " + newSpeed + "s linear infinite"); 15687 $(this).css("animation-delay", marqueeDelay + "s"); 15688 marqueeDelay = (newSpeed*marqueeCount)/3; 15689 marqueeCount++; 15690 }); 15691</script>
15691 15692
15693<script type="text/javascript"> 15694 // for global deposit download qris web 15695 function downloadImage(url, name, transfer_type){ 15696 // check transfer_type 15697 if( transfer_type == "qr"){ 15698 let split_name = name.split("-"); 15699 name = `${split_name[0]}-${split_name[1]}`; 15700 } 15701 var req = new XMLHttpRequest(); 15702 // url = url.replace(/^https:\/\//i, 'http://'); 15703 req.open("GET", url, true); 15704 req.setRequestHeader("Cache-Control", "no-cache, no-store, must-revalidate"); 15705 req.responseType = "blob"; 15706 req.onload = function (event) { 15707 var blob = req.response; 15708 var link=document.createElement('a'); 15709 link.href=window.URL.createObjectURL(blob); 15710 link.download=name; 15711 link.click(); 15712 }; 15713 15714 req.send(); 15715 } 15716 15717 function downloadQRDynamic(svgBase64, name) { 15718 var canvas = document.createElement("canvas"); 15719 var context = canvas.getContext("2d"); 15720 var img = new Image(); 15721 img.onload = function() { 15722 var borderWidth = 4; // Adjust the border width as needed 15723 var borderColor = 'white'; // Adjust the border color as needed 15724 15725 // Set canvas size to include border 15726 canvas.width = img.width + 2 * borderWidth; 15727 canvas.height = img.height + 2 * borderWidth; 15728 15729 // Draw the border 15730 context.strokeStyle = borderColor; 15731 context.lineWidth = borderWidth; 15732 context.strokeRect(0, 0, canvas.width, canvas.height); 15733 15734 // Draw the image inside the border 15735 context.drawImage(img, borderWidth, borderWidth); 15736 var pngData = canvas.toDataURL("image/png"); 15737 var a = document.createElement("a"); 15738 a.download = `${name}.png`; 15739 a.href = pngData; 15740 document.body.appendChild(a); 15741 a.click(); 15742 document.body.removeChild(a); 15743 }; 15744 img.src = "data:image/svg+xml;base64," + svgBase64; 15745 } 15746</script>
15746 15747
15748<script type="text/javascript"> 15749 // For PIN ON / OFF status on Profile 15750 let triggered_by_event = 0; 15751 15752 $('#proteksi-pin').change(function(){ 15753 if(!this.checked){ 15754 $('#proteksi-pin').prop('disabled', true); 15755 let info_off_pin = `Me-nonaktifkan PIN tidak dianjurkan<br>Jika anda sering login di tempat umum <div style='font-weight:bold; text-align:center; margin:10px 0px;'><a href='/profile/pin-off' class='btn btn-success' style='text-decoration:none;'>PROSES</a></div>`; 15756 uialert2(`${info_off_pin}`); 15757 }else{ 15758 if(triggered_by_event){ 15759 triggered_by_event = 0; 15760 }else{ 15761 $('#proteksi-pin').prop('disabled', true); 15762 location.href = 'https://teachspacescience.org/profile/pin-on'; 15763 } 15764 } 15765 }); 15766 15767 $('#uialert_modal').on('hidden.bs.modal', function (e) { 15768 // Only execute if modal triggered by PIN ON / OFF. 15769 // Other trigger modal scenario, Ex: Validation after submit form 15770 let modal_content = $('#uialert_content').text(); 15771 if(modal_content.includes("Me-nonaktifkan PIN")){ 15772 triggered_by_event = 1; // When close modal, PIN will change back to ON which will trigger "change" event 15773 $('#proteksi-pin').prop('disabled', false); 15774 $('#proteksi-pin').bootstrapToggle('on'); 15775 } 15776 }) 15777</script>
15777 15778
15779<script> 15780 $(document).ready(function(){ 15781 let our_partner = $('.ourpartner').length; 15782 console.log('our_partner', our_partner); 15783 if(our_partner > 0){ 15784 $('.ourpartner > .container').css('margin-top', "-1rem"); 15785 } 15786 }); 15787</script>
15787 15788<!-- ref verif -->
15789<script> 15790 let email_interval, wa_interval, sms_interval; 15791 let countdown_email_otp = 120; 15792 let countdown_wa_otp = 120; 15793 let countdown_sms_otp = 120; 15794 15795 function countdownIntervalEmail(){ 15796 $('.btn-email-otp').prop('disabled', true); 15797 15798 countdown_email_otp--; 15799 if(countdown_email_otp <= 0){ 15800 clearInterval(email_interval); 15801 countdown_email_otp = 0; 15802 $('.btn-email-otp').removeAttr('disabled'); 15803 } 15804 15805 let loading = ` 15806 <span>${countdown_email_otp}</span> 15807 <span>Detik</span> 15808 `; 15809 $('.countdown_email_otp').html(loading); 15810 15811 if(countdown_email_otp <= 0){ 15812 $('.countdown_email_otp').css('display', 'none'); 15813 $('.check_email_otp').css('display', 'none'); 15814 } 15815 } 15816 15817 function countdownIntervalWA() 15818 { 15819 $('.btn-wa-otp').prop('disabled', true); 15820 15821 countdown_wa_otp--; 15822 if(countdown_wa_otp <= 0){ 15823 clearInterval(wa_interval); 15824 countdown_wa_otp = 0; 15825 $('.btn-wa-otp').removeAttr('disabled'); 15826 } 15827 15828 let loading = ` 15829 <span>${countdown_wa_otp}</span> 15830 <span>Detik</span> 15831 `; 15832 $('.countdown_wa_otp').html(loading); 15833 15834 if(countdown_wa_otp <= 0){ 15835 $('.countdown_wa_otp').css('display', 'none'); 15836 } 15837 } 15838 15839 function countdownIntervalSMS() 15840 { 15841 $('.btn-sms-otp').prop('disabled', true); 15842 15843 countdown_sms_otp--; 15844 if(countdown_sms_otp <= 0){ 15845 clearInterval(sms_interval); 15846 countdown_sms_otp = 0; 15847 $('.btn-sms-otp').removeAttr('disabled'); 15848 } 15849 15850 let loading = ` 15851 <span>${countdown_sms_otp}</span> 15852 <span>Detik</span> 15853 `; 15854 $('.countdown_sms_otp').html(loading); 15855 15856 if(countdown_sms_otp <= 0){ 15857 $('.countdown_sms_otp').css('display', 'none'); 15858 } 15859 } 15860 15861 function resendEmailOtp() 15862 { 15863 const email = $('#email').val(); 15864 if( email === null || email == ""){ 15865 const label_required_email = "Mohon isikan Email"; 15866 uialert2(label_required_email); 15867 return; 15868 } 15869 15870 const url = "https://teachspacescience.org/user/referral/verification/send-email-otp"; 15871 const data = {'_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930', 'email': email}; 15872 $('.btn-email-otp').prop('disabled', true); 15873 15874 $.ajax({ 15875 type: "POST", 15876 url: url, 15877 data: data, 15878 dataType: 'json', 15879 beforeSend: function(){ 15880 $('.countdown_email_otp').removeAttr('style'); 15881 const loading = ` 15882 <span style='margin-right:2px'><i class='fa fa-spinner fa-pulse'></i></span> 15883 <span>Loading</span> 15884 `; 15885 $(".countdown_email_otp").html(loading); 15886 }, 15887 success: function(resp){ 15888 if( resp.status == 403){ 15889 uialert2(`${resp.message}`); 15890 $('.countdown_email_otp').css('display', 'none'); 15891 $('.btn-email-otp').removeAttr('disabled'); 15892 }else if( resp.is_limit_retry ){ 15893 let delay_message = "Mohon Coba Kembali :minutes Menit Kemudian"; 15894 let label_delay_message = delay_message.replace(':minutes', resp.minutes); 15895 uialert2(label_delay_message); 15896 15897 $('.countdown_email_otp').css('display', 'none'); 15898 $('.btn-email-otp').removeAttr('disabled'); 15899 }else{ 15900 $('.countdown_email_otp').removeAttr('style'); 15901 $('.check_email_otp').removeAttr('style'); 15902 countdown_email_otp = resp.seconds; 15903 email_interval = setInterval(countdownIntervalEmail,1000); 15904 } 15905 }, 15906 error: function (error) { 15907 $('.countdown_email_otp').css('display', 'none'); 15908 $('.btn-email-otp').removeAttr('disabled'); 15909 uialert2(`${error.responseJSON.message}`); 15910 console.log(error); 15911 } 15912 15913 }); 15914 } 15915 15916 function resendWAOtp() 15917 { 15918 const page = "home"; 15919 const phone = $('#phone').val(); 15920 if( page !== "withdraw"){ 15921 if( phone === null || phone == ""){ 15922 const label_required_phone = "Mohon isikan Nomor Telepon"; 15923 uialert(label_required_phone); 15924 return; 15925 } 15926 } 15927 15928 const url = "https://teachspacescience.org/user/referral/verification/send-wa-otp"; 15929 const data = {'_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930', 'phone': phone, 'page': page}; 15930 $('.btn-wa-otp').prop('disabled', true); 15931 15932 $.ajax({ 15933 type: "POST", 15934 url: url, 15935 data: data, 15936 dataType: 'json', 15937 beforeSend: function(){ 15938 $('.countdown_wa_otp').removeAttr('style'); 15939 const loading = `
15940 <span style='margin-right:2px'><i class='fa fa-spinner fa-pulse'></i></span> 15941 <span>Loading</span> 15942 `; 15943 $(".countdown_wa_otp").html(loading); 15944 }, 15945 success: function(resp){ 15946 if( resp.is_limit_retry ){ 15947 let delay_message = "Mohon Coba Kembali :minutes Menit Kemudian"; 15948 let label_delay_message = delay_message.replace(':minutes', resp.minutes); 15949 uialert2(label_delay_message); 15950 15951 $('.countdown_wa_otp').css('display', 'none'); 15952 $('.btn-wa-otp').removeAttr('disabled'); 15953 }else{ 15954 $('.countdown_wa_otp').removeAttr('style'); 15955 countdown_wa_otp = resp.seconds; 15956 wa_interval = setInterval(countdownIntervalWA,1000); 15957 } 15958 }, 15959 error: function (error) { 15960 $('.countdown_wa_otp').css('display', 'none'); 15961 $('.btn-wa-otp').removeAttr('disabled'); 15962 uialert2(`${error.responseJSON.message}`); 15963 console.log(error); 15964 } 15965 }); 15966 } 15967 15968 function resendSMSOtp() 15969 { 15970 const page = "home"; 15971 const phone = $('#phone').val(); 15972 if( page !== "withdraw"){ 15973 if( phone === null || phone == ""){ 15974 const label_required_phone = "Mohon isikan Nomor Telepon"; 15975 uialert(label_required_phone); 15976 return; 15977 } 15978 } 15979 15980 const url = "https://teachspacescience.org/user/referral/verification/send-sms-otp"; 15981 const data = {'_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930', 'phone': phone, 'page': page}; 15982 $('.btn-sms-otp').prop('disabled', true); 15983 15984 $.ajax({ 15985 type: "POST", 15986 url: url, 15987 data: data, 15988 dataType: 'json', 15989 beforeSend: function(){ 15990 $('.countdown_sms_otp').removeAttr('style'); 15991 const loading = ` 15992 <span style='margin-right:2px'><i class='fa fa-spinner fa-pulse'></i></span> 15993 <span>Loading</span> 15994 `; 15995 $(".countdown_sms_otp").html(loading); 15996 }, 15997 success: function(resp){ 15998 if( resp.is_limit_retry ){ 15999 let delay_message = "Mohon Coba Kembali :minutes Menit Kemudian"; 16000 let label_delay_message = delay_message.replace(':minutes', resp.minutes); 16001 uialert2(label_delay_message); 16002 16003 $('.countdown_sms_otp').css('display', 'none'); 16004 $('.btn-sms-otp').removeAttr('disabled'); 16005 }else{ 16006 $('.countdown_sms_otp').removeAttr('style'); 16007 countdown_sms_otp = resp.seconds; 16008 sms_interval = setInterval(countdownIntervalSMS,1000); 16009 } 16010 }, 16011 error: function (error) { 16012 $('.countdown_sms_otp').css('display', 'none'); 16013 $('.btn-sms-otp').removeAttr('disabled'); 16014 uialert2(`${error.responseJSON.message}`); 16015 console.log(error); 16016 } 16017 }); 16018 } 16019</script>
vendor: 1 bytes, line 16019
16019
16020<script> 16021 function setCookiesPromoPopup(){ 16022 const promo_popup_exp = new Date(); 16023 promo_popup_exp.toLocaleString('id-ID', { timeZone: 'Asia/Jakarta' }); 16024 //exp :Tue Jan 22 2024 17:01:00 GMT+0700 (Indochina Time) 16025 promo_popup_exp.setDate(promo_popup_exp.getDate() + 1); //add day next day 16026 promo_popup_exp.setHours(0,1,0,0); // midnight 16027 16028 // console.log('promo_popup_exp:', promo_popup_exp); 16029 // console.log('promo_popup_exp UTC:', promo_popup_exp.toUTCString()); 16030 //UTC + 0 16031 document.cookie = "promo_showed=false;" + "Path=/; expires=" + promo_popup_exp.toUTCString(); 16032 } 16033 16034 const popup_cookies = getCookie('promo_showed'); 16035 if( popup_cookies !== null){ 16036 //remove all id element myModalHome 16037 $('[id^="myModalHome"]').remove(); 16038 $("#checkbox-popup-promo").prop('checked', true); 16039 } 16040 16041 $('#btn-showed-promo').on( "click", function() { 16042 setCookiesPromoPopup(); 16043 $('#myModalHome').modal('hide'); 16044 }); 16045 16046 function setLanguage(lang){ 16047 $.ajax({ 16048 url: "https://teachspacescience.org/set-lang", 16049 method: 'GET', 16050 data: { 16051 // '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930', 16052 'lang': lang, 16053 }, 16054 success: function(resp){ 16055 window.location.reload(); 16056 }, 16057 error: function(err){ 16058 window.location.reload(); 16059 } 16060 }); 16061 } 16062 16063 var destination_crypto = []; 16064 var fetch_crypto = 0; 16065 function getAddressWallet(take_address=0){ 16066 userAddressWallet(take_address); 16067 } 16068 16069 function cryptoCurrDest(coin_name) 16070 { 16071 if( fetch_crypto == 1){ 16072 return; 16073 } 16074 16075 $("#crypto-wallet-content").css({display:'none'}); 16076 $("#crypto_info").css({display:'none'}); 16077 16078 // check if option exist 16079 const total_option_curr = $(".deposit-crypto").length; 16080 if( total_option_curr == 0){ 16081 return; 16082 } 16083 16084 let crypto_val; 16085 if( coin_name == undefined){ 16086 // get first element when switch 16087 crypto_val = $('.deposit-crypto')[0].dataset.crypto_curr; 16088 }else{ 16089 crypto_val = coin_name; 16090 } 16091 16092 //add custom class if exist false = remove class 16093 $(`.deposit-crypto`).toggleClass("active", false); 16094 16095 //add custom class if exist true = add class 16096 $(`#${crypto_val}`).toggleClass("active",true); 16097 16098 // remove first network destination 16099 let crypto_network = $(".crypto-network"); 16100 destination_crypto = []; 16101 16102 if( crypto_network.length > 1){ 16103 //add custom class if exist true = remove class 16104 $('.crypto-network').toggleClass("active", false); 16105 16106 //add custom class if exist true = remove class 16107 $('.crypto-network').eq(0).toggleClass("active", true); 16108 } 16109 16110 crypto_network.each(function(){ 16111 let coin_type = $(this).data('crypto_curr'); 16112 16113 // Show or hide options based on the selected coin_val 16114 if (coin_type === crypto_val) { 16115 //check index elemet 16116 if( destination_crypto.length == 0){ 16117 const crypto_curr = $(this).data('crypto_type'); 16118 const network_type = $(this).data('crypto_network'); 16119 const crypto_id = $(this).data('crypto_id'); 16120 const crypto_min_dp = $(this).data('crypto_mindp'); 16121 const crypto_fee = $(this).data('crypto_fee'); 16122 16123 // switch active 16124 //add custom class if exist false = remove class 16125 $(`.crypto-network`).toggleClass("active", false); 16126 16127 //add custom class if exist true = add class 16128 $(`#${network_type}`).toggleClass("active", true); 16129 16130 destination_crypto.push({"crypto_fee": crypto_fee,"crypto_curr": crypto_curr, "crypo_min_dp":crypto_min_dp, "coin_type": coin_type, "network_type": network_type, "crypto_id": crypto_id}); 16131 } 16132 } 16133 }); 16134 16135 // get data destination coin & network 16136 userAddressWallet(); 16137 } 16138 16139 function cryptoNetworkDest(selected_network_type) 16140 { 16141 if( fetch_crypto == 1){ 16142 return; 16143 } 16144 16145 // console.log("cryptoNetworkDest"); 16146 // console.log(selected_network_type); 16147 16148 //add custom class if exist false = remove class 16149 $(`.crypto-network`).toggleClass("active", false); 16150 16151 //add custom class if exist true = add class 16152 $(`#${selected_network_type}`).toggleClass("active", true); 16153 16154 $("#crypto-wallet-content").css({display:'none'}); 16155 $("#crypto_info").css({display:'none'}); 16156 16157 // check if option exist 16158 const total_option_network = $(".crypto-network").length; 16159 if( total_option_network == 0){ 16160 return; 16161 } 16162 16163 // remove previous selected 16164 const selected_network_elmt = $(`#${selected_network_type}`); 16165 const coin_type = selected_network_elmt.data('crypto_curr'); 16166 const crypto_curr = selected_network_elmt.data('crypto_type'); 16167 const network_type = selected_network_type; 16168 const crypto_id = selected_network_elmt.data('crypto_id'); 16169 const crypto_min_dp = selected_network_elmt.data('crypto_mindp'); 16170 const crypto_fee = selected_network_elmt.data('crypto_fee'); 16171 16172 destination_crypto[0]= {"crypto_fee": crypto_fee,"crypto_curr": crypto_curr, "crypo_min_dp":crypto_min_dp, "coin_type": coin_type, "network_type": network_type, "crypto_id": crypto_id}; 16173 16174 userAddressWallet(); 16175 } 16176 16177 var crypto_price_interval; 16178 function cryptoLivePrice() 16179 { 16180 // stop previous interval 16181 clearInterval(crypto_price_interval); 16182 16183 const time_run = (1 * 60 * 1000); // 1mnt 16184 16185 crypto_price_interval = setInterval(function() { 16186 // get user address wallet 16187 const crypto_dest = destination_crypto[0]; 16188 16189 $.ajax({ 16190 url: "https://teachspacescience.org/crypto-price", 16191 method: 'POST', 16192 data: { 16193 '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930', 16194 'coin_type': crypto_dest.coin_type, 16195 }, 16196 beforeSend: function(){ 16197 $("#crypto-price").html(`Loading...`); 16198 }, 16199 success: function(value){ 16200 $(`#crypto-price`).html(`Rp. ${number_format(value,2)} `); 16201 } 16202 }); 16203 }, time_run); 16204 } 16205 16206 function userAddressWallet(take_address=0) 16207 { 16208 // console.log("crypto cur destination_crypto", destination_crypto); 16209 if( fetch_crypto == 1){ 16210 return; 16211 } 16212 16213 // get user address wallet 16214 const crypto_dest = destination_crypto[0]; 16215 $.ajax({ 16216 url: "https://teachspacescience.org/user-address-crypto", 16217 method: 'POST', 16218 data: { 16219 '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930', 16220 'take_address':take_address, 16221 'coin_type': crypto_dest.coin_type, 16222 'network_type': crypto_dest.network_type, 16223 'crypto_id': crypto_dest.crypto_id, 16224 }, 16225 beforeSend: function(){ 16226 $("#wrap-btn-get-wallet").css({display:'none'}); 16227 $("#deposit-crypto").attr('disabled', true); 16228 $("#crypto-network").attr('disabled', true); 16229 $("#btn-get-wallet").attr('disabled', true); 16230 $("#crypto-wallet-content").css({display:'none'}); 16231 $("#crypto_info").css({display:'none'}); 16232 $("#crypto_loading").css({display:'flex'}); 16233 16234 fetch_crypto = 1; 16235 }, 16236 success: function(resp){ 16237 if( resp.status == 200 ){ 16238 // run fetch live price 16239 cryptoLivePrice(); 16240 16241 $(`#crypto-barcode`).attr('src', 'data:image/svg+xml;base64,' + resp.barcode); 16242 $(`#crypto-user-wallet`).html(`${resp.user_address}`); 16243 $(`#crypto-price`).html(`Rp. ${number_format(resp.live_price,2)} `); 16244 16245 $("#crypto-wallet-content").css({display:'flex'}); 16246 16247 // crypto info 16248 const info_crypto1 = "Hanya kirim :curr_1 ke alamat deposit ini. Koin akan otomatis didepositkan setelah 6 kali konfirmasi jaringan pada alamat smart contract"; 16249 const replace_info1 = info_crypto1.replace(":curr_1", crypto_dest.crypto_curr); 16250 16251 const info_crypto2 = "Minimal Deposit: :min_dp :curr_2"; 16252 const replace_info2 = info_crypto2.replace(':min_dp', crypto_dest.crypo_min_dp).replace(":curr_2", crypto_dest.crypto_curr); 16253 16254 const info_crypto3 = "Fee jaringan deposit :network_type = :fee:operator"; 16255 const replace_info3 = info_crypto3.replace(':network_type', crypto_dest.network_type).replace(":fee", (parseFloat(crypto_dest.crypto_fee) * 100).toFixed(2) ).replace(':operator', "%"); 16256 16257 const info_crypto4 = "Alamat crypto hanya valid sampai"; 16258 16259 const crypto_info = ` 16260 <ul style="list-style: disc;"> 16261 <li>${replace_info1}</li> 16262 <li>${replace_info2}</li> 16263 ${ parseFloat(crypto_dest.crypto_fee) > 0 ? `<li>${replace_info3}</li>` : ''} 16264 <li>${info_crypto4} <b>${resp.expired_at}</b></li> 16265 </ul> 16266 `; 16267 $("#crypto_info").html(`${crypto_info}`); 16268 $("#crypto_info").css({display:'flex'}); 16269 }else if(resp.status == 410){ 16270 // Address Expired 16271 $("#wrap-btn-get-wallet").css({display:'block'}); 16272 }else{ 16273 uialert2(resp.msg); 16274 16275 // hide button get wallet 16276 // cause by stock was empty 16277 $("#wrap-btn-get-wallet").css({display:'none'}); 16278 } 16279 // hide loading 16280 $("#crypto_loading").css({display:'none'}); 16281 16282 $("#deposit-crypto").attr('disabled', false); 16283 $("#crypto-network").attr('disabled', false); 16284 $("#btn-get-wallet").attr('disabled', false); 16285 fetch_crypto = 0; 16286 }, 16287 error: function(resp){ 16288 $("#deposit-crypto").attr('disabled', false); 16289 $("#crypto-network").attr('disabled', false); 16290 $("#btn-get-wallet").attr('disabled', false); 16291 16292 fetch_crypto = 0; 16293 } 16294 }); 16295 } 16296</script>
vendor: 1 bytes, line 16296
16296
16297<script> 16298 //search game 16299 var data_ls = null; 16300 let timeout; 16301 let fetch_search = 0; 16302 let delay = 750; //0.75sec 16303 let container = document.getElementById("gameSearchContainer"); 16304 16305 // check container if not null print findgame 16306 if(container != null || container != undefined) { 16307 // waiting dom 16308 let before_dom =` <div id="waiting-search-game" class="waiting-search-game text-center"> 16309 <h2>Loading...</h2> 16310 </div>`; 16311 let search_hidden = 0; 16312 16313 $('#input-game-search').submit(function(){ 16314 if(fetch_search == 0) 16315 { 16316 search(); 16317 } 16318 }); 16319 16320 // sensitive typing 16321 $('#input-game-search').keyup(function(){ 16322 let search_game = document.getElementById("input-game-search").value; 16323 16324 if(timeout) { 16325 container.classList.remove("hidden"); 16326 document.getElementById('gameSearchContainer').innerHTML = before_dom; 16327 clearTimeout(timeout); 16328 } 16329 16330 // add the hidden class 16331 if(search_game == "" && search_hidden == 0) 16332 { 16333 // set delay for add hidden class 16334 search_hidden =1; 16335 setTimeout(function() { 16336 search_hidden = 0 16337 container = document.getElementById("gameSearchContainer"); 16338 container.classList.add("hidden"); 16339 },500); 16340 } 16341 16342 // will fetch when have words 16343 if(search_game != "" && fetch_search == 0){ 16344 timeout = setTimeout(function() { 16345 // rollback the search hidden 16346 search_hidden = 0; 16347 // fetch database 16348 fetch_search = 1; 16349 search(); 16350 }, delay); 16351 } 16352 }); 16353 } 16354 16355 function search(){ 16356 let search_game = document.getElementById("input-game-search").value; 16357 16358 // check is expired 16359 let refetch = 0; 16360 if( data_ls !== null){ 16361 const date_now = new Date(); 16362 expired_cache = new Date(data_ls.expired); 16363 // console.log("no null ls", date_now, expired_cache, "not expired", (date_now > expired_cache) ); 16364 // expired 16365 if( (date_now > expired_cache) == true){ 16366 refetch = 1; 16367 } 16368 } 16369 16370 if( data_ls === null || refetch == 1){ 16371 $.ajax({ 16372 url: "https://teachspacescience.org/search-game", 16373 method: "GET", 16374 cache:false, 16375 success: function(resp){ 16376 data_ls = resp; 16377 search(); 16378 }, 16379 complete:function(){ 16380 fetch_search = 0; 16381 } 16382 }); 16383 return; 16384 }else{ 16385 // search by cache 16386 fetch_search= 0; 16387 } 16388 16389 const find_games = []; 16390 try { 16391 // Lobby search 16392 for (const category in data_ls.lobby) 16393 { 16394 for (const id in data_ls.lobby[category]){ 16395 const lobby_game = data_ls.lobby[category][id]; 16396 16397 if( lobby_game.hasOwnProperty('name') && lobby_game.name.toLowerCase().includes(search_game.toLowerCase()) ){ 16398 find_games.push(lobby_game); 16399 } 16400 } 16401 } 16402 16403 // egames - arcade search 16404 for (const provider in data_ls.games) 16405 { 16406 data_ls.games[provider].forEach(function(game,k){ 16407 if( game.hasOwnProperty('game_name') && game.game_name.toLowerCase().includes(search_game.toLowerCase()) ){ 16408 game.vendor_name = provider; 16409 find_games.push(game); 16410 }else if( game.hasOwnProperty('name') && game.name.toLowerCase().includes(search_game.toLowerCase()) ){ 16411 game.vendor_name = provider; 16412 find_games.push(game); 16413 } 16414 }); 16415 } 16416 }catch (error) { 16417 console.log('search to fast: ' + error.message); 16418 } 16419 16420 if(find_games.length > 0){ 16421 // console.log('got game'); 16422 // console.log(find_games); 16423 // fill the dom 16424 let dom_content = ``;
16425 find_games.forEach( function(elm) { 16426 dom_content += domresultFindGame(elm); 16427 }) 16428 document.getElementById('gameSearchContainer').innerHTML = dom_content; 16429 }else{ 16430 container.classList.add("hidden"); 16431 } 16432 } 16433 16434 // dom search 16435 function domresultFindGame(data) 16436 { 16437 let provider = null; 16438 // not for lobby 16439 if( data.vendor_name != undefined && data_ls.vendor_settings[data.vendor_name] != undefined){ 16440 provider = data_ls.vendor_settings[data.vendor_name]; 16441 } 16442 const not_lobby = ["e-games", "arcade", "arcade fishing"] 16443 const data_game_type = data.game_type.toLowerCase(); 16444 16445 if( not_lobby.includes(data_game_type) && (provider == null || provider == undefined) ){ 16446 return ``; 16447 } 16448 16449 let img_lobby, img_link, rtp_element; 16450 let auth = ""; 16451 let a_link_auth = `${auth 16452 ? `${ data.game_type.toLowerCase() === 'e-games' || data.game_type.toLowerCase() === "arcade" || data.game_type.toLowerCase() === "arcade fishing" 16453 ? `<a href="javascript:void(0)" onclick="${ data.maint_egames ? `${data.maint_egames}` : `javascript:open_lobby_vendor('${provider.vendor_name}','${data.clg_gameID}')"`} class="search-link text-center">` 16454 : `<!-- for livecasino etc --> <a href="${data.url}" onclick="${data.onclick}" class="search-link text-center">` 16455 }` 16456 : `${ data.demo_url 16457 ? `<a href="javascript:void(0)" onclick="demoPlay('${data.demo_url}')" class="search-link text-center">` 16458 : `<a href="/register" class="search-link text-center">` 16459 }` 16460 }`; 16461 16462 if(data.icon_desktop){ 16463 img_link = `https://cf.ruangok.com/${data.icon_desktop}`; 16464 img_lobby = `<img src="${img_link}" alt="${data.game_name != undefined ? data.game_name : data.name}" alt="${data.game_name != undefined ? data.game_name : data.name}" width="100%" height="auto" loading="lazy">`; 16465 }else if(data.icon_path){ 16466 img_link = `https://cf.ruangok.com/${data.icon_path}`; 16467 img_lobby = `<img src="${img_link}" alt="${data.game_name != undefined ? data.game_name : data.name}" alt="${data.game_name != undefined ? data.game_name : data.name}" width="100%" height="auto" loading="lazy">`; 16468 }else if(data.game_type.toLowerCase() == 'e-games' && data.vendor_id == 20){ 16469 img_lobby = `<img src="${provider.vendor_lobby_url}/game_pic/rec/160/${data.clg_gameID}.png" alt="${data.game_name != undefined ? data.game_name : data.name}" width="100%" height="auto" loading="lazy">`; 16470 }else if(data.game_type.toLowerCase() == 'e-games' && data.vendor_id == 23) 16471 { 16472 img_lobby = `<img src="${provider.vendor_lobby_url}/img/rect/160/${data.game_id_post}.png" alt="${data.game_name != undefined ? data.game_name : data.name}" width="100%" height="auto" loading="lazy">`; 16473 } 16474 16475 // add rtp 16476 rtp_element =""; 16477 if(data.rtp_percentage){ 16478 rtp_element = ` 16479 <div class="rtp-progressbar-search" style="background: conic-gradient(${data.rtp_color} ${data.rtp_percentage}%, #000000 0)"> 16480 <div class="rtp-inner-circle-search"> 16481 <div class="rtp-text-content-search"> 16482 <div class="rtp-title-search">RTP</div> 16483 <div class="rtp-percent-search" style="color:${data.rtp_color}">${data.rtp_percentage}%</div> 16484 </div> 16485 </div> 16486 </div> 16487 `; 16488 } 16489 16490 return` 16491 <div class="game-card"> 16492 <!-- no auth --> 16493 ${a_link_auth} 16494 <div class="search-game-image" style="position:relative;"> 16495 <!-- images --> 16496 ${img_lobby} 16497 ${rtp_element} 16498 </div> 16499 <div class="search-game-title"> 16500 </small><b>${data.game_name != undefined ? data.game_name : data.name}</b></small> 16501 </div> 16502 </a> 16503 </div> 16504 `; 16505 } 16506 16507 // share to socmed 16508 var referral_link = $('.input-referral').val(); 16509 var webname = "MESSIPOKER"; 16510 function facebookShare() 16511 { 16512 let base_url = "https://www.facebook.com/sharer/sharer.php"; 16513 let content_url = "?u=" + referral_link; 16514 let share_url = encodeURI(base_url + content_url); 16515 16516 window.open(share_url,"_blank"); 16517 } 16518 16519 function twitterShare() 16520 { 16521 let base_url = "http://twitter.com/share"; 16522 let content_text = "?text=" + webname; 16523 let content_url = "&url=" + referral_link; 16524 let share_url = encodeURI(base_url + content_text + content_url); 16525 16526 window.open(share_url,"_blank"); 16527 } 16528 16529 function telegramShare() 16530 { 16531 let base_url = "https://t.me/share/url"; 16532 let content_url = "&url=" + referral_link; 16533 let content_text = "?text=" + webname; 16534 let share_url = encodeURI(base_url + content_text + content_url); 16535 16536 window.open(share_url,"_blank"); 16537 } 16538 16539 function whatsappShare() 16540 {
16541 let base_url = "https://api.whatsapp.com/send"; 16542 let content_text = "?text=" + webname + "\n"; 16543 let content_url = referral_link; 16544 let share_url = encodeURI(base_url + content_text + content_url); 16545 16546 window.open(share_url,"_blank"); 16547 } 16548 16549 function lineShare() 16550 { 16551 let base_url = "https://line.me/R/msg/text/"; 16552 let content_text = "?" + webname + "\n"; 16553 let content_url = referral_link; 16554 let share_url = encodeURI(base_url + content_text + content_url); 16555 16556 window.open(share_url,"_blank"); 16557 } 16558 16559 //scroll to the top of the document 16560 function scrollToTop() { 16561 window.scrollTo({top: 0, behavior: 'smooth'}); 16562 } 16563 16564 document.addEventListener("DOMContentLoaded", function(event) { 16565 // Back to top button 16566 var btnBackToTop = document.getElementById('btnBackToTop'); 16567 if(btnBackToTop){ 16568 changeBackToTopButtonVisibility(); 16569 window.addEventListener("scroll", changeBackToTopButtonVisibility); 16570 } 16571 }); 16572 16573 // Display or hide the back to top button 16574 function changeBackToTopButtonVisibility() { 16575 if(window.pageYOffset > 100) { 16576 btnBackToTop.style.opacity = "1"; 16577 } else { 16578 btnBackToTop.style.opacity = "0"; 16579 } 16580 } 16581 16582 // background 16583 document.addEventListener('DOMContentLoaded', function() { 16584 const links = document.querySelectorAll('.new-navbar-provider li a[data-bg-img]'); 16585 const style_sheet = document.createElement('style'); 16586 document.head.appendChild(style_sheet); 16587 16588 links.forEach(link => { 16589 const bg_image = link.getAttribute('data-bg-img'); 16590 16591 // Create image preloader 16592 const img = new Image(); 16593 16594 img.onload = function() { 16595 link.setAttribute('style', ` 16596 background: url(${bg_image}) no-repeat center center !important; 16597 background-size: cover !important; 16598 white-space: nowrap !important; 16599 overflow: hidden !important; 16600 `); 16601 link.classList.add('bg-vendor-loaded'); 16602 }; 16603 16604 // Start preloading 16605 img.src = bg_image; 16606 }); 16607 }); 16608 16609 // promo description free spin 16610 function promoFreeSpinDesc(turnover, total_spin, game_category, game_list = []) 16611 { 16612 let fs_desc =` 16613 <div style="max-height: 25vh;overflow-y: scroll;overflow-x: hidden"> 16614 <table class="table table-striped" style="font-size: 13px; margin-bottom: 0px;"> 16615 <thead> 16616 <td>âKlaim Free Spin di Game Ini</td> 16617 </thead> 16618 <tbody> 16619 `; 16620 16621 game_list.forEach(item => { 16622 fs_desc += ` 16623 ${ item.game_name == "ALL" 16624 ? 16625 16626 `<tr class="text-center"> 16627 <td> Semua Game ${game_category}</td> 16628 </tr>` 16629 : 16630 `<tr class="text-center col-fs-game-name"> 16631 <td>${item.game_name}</td> 16632 </tr>` 16633 } 16634 `; 16635 }); 16636 16637 fs_desc +=` 16638 </tbody> 16639 </table> 16640 </div> 16641 `; 16642 fsModal(fs_desc); 16643 } 16644</script>
vendor: 1 bytes, line 16644
16644
16645<script> 16646 // 1359 16647 $(document).ready(function(){ 16648 $( "#instan-dp-amount" ).on( "keyup", function() { 16649 let instan_dp_amount = Number($(this).val()); 16650 16651 if( instan_dp_amount == 0){ 16652 $('.hint-info').hide(); 16653 }else{ 16654 $('.hint-info').show(); 16655 } 16656 16657 instan_dp_amount = instan_dp_amount.toLocaleString('id-ID') 16658 16659 // Remove thousands separators 16660 instan_dp_amount = instan_dp_amount.replace(/\./g, ','); 16661 16662 $('#hint-value').text(instan_dp_amount); 16663 }); 16664 16665 $('#instan-dp-amount').on('input', function () { 16666 this.value = this.value.replace(/\D/g, ''); 16667 }); 16668 }); 16669 16670 function generateQrisInstanDP() 16671 { 16672 //disabled 16673 $("#btn-instan-dp-generate-qr").text("Loading..."); 16674 $("#btn-instan-dp-generate-qr").prop("disabled", true); 16675 // process deposit 16676 const instan_dp_amount = Number($("#instan-dp-amount").val()); 16677 const instan_dp_acc_id = $("#instan_dp_acc_id").val(); 16678 $.ajax({ 16679 url: "https://teachspacescience.org/deposit", 16680 method: 'POST', 16681 data: { 16682 '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930', 16683 'amount': instan_dp_amount, 16684 'instan_qris_dp': true, 16685 'acc_id': instan_dp_acc_id 16686 }, 16687 success: function(resp){ 16688 // console.log("sucess",resp); 16689 if(resp.status == 200){ 16690 generateInstanQris(); 16691 }else{ 16692 uialert2(resp.message); 16693 $("#btn-instan-dp-generate-qr").prop("disabled", false); 16694 $("#btn-instan-dp-generate-qr").text("Depo QR"); 16695 } 16696 }, 16697 error: function(err){ 16698 console.log("error",err); 16699 $(".wrapper-qris-instan-dp-image").hide(); 16700 $("#btn-instan-dp-generate-qr").text("Depo QR"); 16701 16702 $("#btn-instan-dp-generate-qr").prop("disabled", false); 16703 } 16704 }); 16705 } 16706 16707 function getNewToken() 16708 { 16709 $.ajax({ 16710 url: "https://teachspacescience.org/check-token", 16711 method: 'POST', 16712 data: { 16713 '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930' 16714 }, 16715 success: function(resp){ 16716 validation_session_token = resp.data.new_token; 16717 } 16718 }); 16719 } 16720 16721 function generateInstanQris() 16722 { 16723 //disabled 16724 $("#btn-instan-dp-generate-qr").text("Loading..."); 16725 $("#btn-instan-dp-generate-qr").prop("disabled", true); 16726 $(".wrapper-qris-instan-dp-image").hide(); 16727 16728 // check deposit 16729 $.ajax({ 16730 url: "https://teachspacescience.org/check-deposit", 16731 method: 'POST', 16732 data: { 16733 '_token' : '6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930', 16734 'instan_qris_dp': true, 16735 }, 16736 success: function(resp){ 16737 // console.log("sucess",resp); 16738 clearInterval(checking_interval_token_deposit_instan); 16739 16740 if(resp.status == 200){ 16741 // renew validation token 16742 checking_interval_token_deposit_instan = setInterval(getNewToken, 5000); 16743 16744 if(!resp.data.pending_deposit){ 16745 generateQrisInstanDP(); 16746 }
16746else if(resp.data.pending_deposit && resp.data.qris_url != ""){ 16747 // inform have previous deposit 16748 if( checking_deposit_instan > 0){ 16749 uialert2("Harap selesaikan transaksi deposit sebelumnya."); 16750 } 16751 16752 // if success & pending deposit, build qris 16753 let total_deposit_instan = resp.data.amount_deposit; 16754 total_deposit_instan = total_deposit_instan.toLocaleString('id-ID') 16755 total_deposit_instan = total_deposit_instan.replace(/\./g, ','); 16756 $("#total-deposit").text(total_deposit_instan); 16757 16758 $(".wrapper-qris-instan-dp-image").show(); 16759 $("#qris-instan-dp-image").attr("src", resp.data.qris_url); 16760 $("#qris-instan-dp-image").attr("data-qr-path", resp.data.qris_path); 16761 16762 $("#btn-instan-dp-generate-qr").prop("disabled", false); 16763 $("#btn-instan-dp-generate-qr").text("Depo QR"); 16764 16765 checking_deposit_instan++; 16766 } 16767 }else{ 16768 uialert2(resp.message); 16769 16770 $("#btn-instan-dp-generate-qr").prop("disabled", false); 16771 $("#btn-instan-dp-generate-qr").text("Depo QR"); 16772 } 16773 }, 16774 error: function(err){ 16775 console.log("error",err); 16776 $(".wrapper-qris-instan-dp-image").hide(); 16777 $("#btn-instan-dp-generate-qr").text("Depo QR"); 16778 16779 $("#btn-instan-dp-generate-qr").prop("disabled", false); 16780 } 16781 }); 16782 } 16783 16784 function downloadImageInstanQris() { 16785 const path = $("#qris-instan-dp-image").data("qr-path"); 16786 16787 const form = document.createElement("form"); 16788 form.method = "POST"; 16789 form.action = "https://teachspacescience.org/deposit/download"; 16790 16791 form.innerHTML = ` 16792 <input type="hidden" name="_token" value="6NBcU5nf0Vsr68n5MGX68e46uUk8Dqh1yuMld930"> 16793 <input type="hidden" name="destination" value="${path}"> 16794 `; 16795 16796 document.body.appendChild(form); 16797 form.submit(); 16798 form.remove(); 16799 } 16800</script>
16800 16801 16802 16803 16804 16805
16805<script type="text/javascript" src="https://teachspacescience.org/messipoker/engine1/wowslider.js?v=1.14.66"></script>
16805 16806
16806<script type="text/javascript" src="https://teachspacescience.org/messipoker/engine1/script.js?v=1.14.66"></script>
16806 16807 <!-- End WOWSlider.com BODY section --> 16808
16808<script type="text/javascript"> 16809 $(document).ready(function () { 16810 $('#myModalHome').modal('show'); 16811 }) 16812 </script>
16812 16813
16814<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"5ad1ece1de3f48d1b2020f019369dfac","r":1,"spa":2}' crossorigin="anonymous"></script>
16814 16815</body> 16816 16817</html> 16818<!--
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.