-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1 lines (1 loc) · 33.4 KB
/
index.html
1
<!doctype html><html lang=en><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=/favicon.ico type=image/x-icon><link href=https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css rel=stylesheet integrity=sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x crossorigin=anonymous><script src=https://cdn.jsdelivr.net/npm/vue/dist/vue.js></script><script src=https://cdn.jsdelivr.net/gh/peterolson/BigInteger.js/BigInteger.min.js></script><script src=https://cdn.jsdelivr.net/npm/tronweb@3.2.1/dist/TronWeb.js></script><script src=https://cdn.jsdelivr.net/npm/sunweb@1.1.0/dist/SunWeb.js></script><script src=https://cdn.jsdelivr.net/gh/voteit-top/voteit@0.1.17/presetranks.js></script><script src=https://cdn.jsdelivr.net/gh/voteit-top/voteitimgs@0.0.2/voteitdetails.js></script><script src=https://kit.fontawesome.com/f4c2f140bb.js crossorigin=anonymous></script><style>.w3-spin{animation:w3-spin 4s infinite linear}@keyframes w3-spin{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}.rankh{height:32px}.tongjih{height:210px}.slideshowh{height:180px}@media screen and (max-width:768px){.mobile{display:none}}.bg_b1{background-color:#7952b3!important}.bg_b2{background-color:#f7f7f7!important}.bg_b3{background-color:#fffffa!important}.shand{cursor:pointer}.vhide{display:none}body{position:relative}</style><meta name=description content="Vote for amazing countries regions persons cities resorts brands in a decentralized TRON network, and Bet, Pet, DEX.."><title>VoteIt.top-Decentralized Voting System based on Tron Network</title><body data-bs-spy=scroll data-bs-target=.navbar data-bs-offset=50><nav class="navbar navbar-expand-sm navbar-dark bg_b1 fixed-top"><div class="container-fluid container"><a class="navbar-brand text-white" href=#><img src=./img/logo100.png alt="VOTEIT logo" width=30 height=30 class="d-inline-block align-top"> VoteIt</a> <button class=navbar-toggler type=button data-bs-toggle=collapse data-bs-target=#navbarSupportedContent aria-controls=navbarSupportedContent aria-expanded=false aria-label="Toggle navigation"><span class=navbar-toggler-icon></span></button><div class="collapse navbar-collapse" id=navbarSupportedContent><ul class=navbar-nav><li class=nav-item><a class=nav-link href=#sec_vote>Vote<i class="text-info fas fa-thumbs-up"></i></a><li class=nav-item><a class=nav-link href=#sec_bet>Bet<i class="text-danger fas fa-dice"></i></a><li class=nav-item><a class=nav-link href=#sec_pet>Pet<i class="text-info fas fa-cat"></i></a><li class=nav-item><a class=nav-link href=#sec_dex>DEX<i class="text-warning fas fa-exchange-alt"></i></a></ul><ul id=v_wallet class=navbar-nav><li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href=# id=navbarDropdown role=button data-bs-toggle=dropdown aria-expanded=false><span v-if=tlconneting class="spinner-border spinner-border-sm" role=status aria-hidden=true></span>{{wallet}}</a><ul class=dropdown-menu aria-labelledby=navbarDropdown><li><a class=dropdown-item href=# v-on:click=connectWallet v-if=!tlconnected>{{ConnectWallet}}</a><li><a class=dropdown-item href=#><span class="badge bg-info text-dark">TRX</span>{{trxBalance}}</a><li><a class=dropdown-item href=#><span class="badge bg-info text-dark">VOTEIT</span>{{tokenBalance}}</a><li><a class=dropdown-item href=# v-on:click=exitWallet v-if=tlconnected>Disconnect</a></ul><li class=nav-item><a class=nav-link href=#events onclick=showAllEvents()><i class="text-warning fas fa-bell" v-bind:class='{"w3-spin":eventspin}'></i><span class="badge rounded-pill bg-info">{{eventcnt}}</span></a></ul></div></div></nav><div><div id=sec_vote class="bg_b2 container-fluid" style=padding-top:55px;padding-bottom:5px><div class=container><h3><span class="badge bg-info">VOTE</span>  <span class=text-muted>No Vote, No Reward<a class=text-info href=http://www.voteit.top/help/2021-05-01-FAQ.html#5-how-to-get-reward target=_blank><i class="far fa-question-circle"></i></a></span></h3><div class=row><div class=col-md-9><div id=v_ranks class="card text-secondary mb-1"><div class="btn-group text-center"><button type=button onclick=createRanksOfCate(8) class="btn btn-outline-success" v-bind:class="{active:cateId==8}">Exchanges</button> <button type=button onclick=createRanksOfCate(1) class="btn btn-outline-success" v-bind:class="{active:cateId==1}">Country/Region</button> <button type=button onclick=createRanksOfCate(2) class="btn btn-outline-success" v-bind:class="{active:cateId==2}">Person</button> <button type=button onclick=createRanksOfCate(6) class="btn btn-outline-success" v-bind:class="{active:cateId==6}">Crypto</button> <button type=button onclick=createRanksOfCate(7) class="btn btn-outline-success" v-bind:class="{active:cateId==7}">Universe</button> <button type=button onclick=createRanksOfCate(3) class="btn btn-outline-success" v-bind:class="{active:cateId==3}">City</button> <button type=button onclick=createRanksOfCate(4) class="btn btn-outline-success" v-bind:class="{active:cateId==4}">Resort</button> <button type=button onclick=createRanksOfCate(5) class="btn btn-outline-success" v-bind:class="{active:cateId==5}">Brand</button></div><div class=container><div class="input-group mb-0"><span class="input-group-text bg-info">{{cateName}} rankings</span> <input class=form-control id=rankFilterInput placeholder="Search for names.." onkeyup=rankFilter()> <span><a class="btn btn-lg btn-primary" href=# onclick=createNew() title="creator can get rewards per block" role=button>Create</a></span></div><div class="row align-items-center"><div class="border-bottom col-2 text-muted rankh"><b>Rank</b></div><div class="border-bottom col-4 text-muted rankh"><b>Name</b></div><div class="mobile border-bottom col-2 text-muted rankh"><b>Votes</b></div><div class="border-bottom text-center text-muted col-4 rankh"><b>Operate</b></div></div><rankitem v-for="(item,index) in items" v-bind:rank=index+1+(curPage-1)*pageSize v-bind:cid=item.cateId v-bind:gsbase=gbase v-bind:rkitem=item v-bind:rkid=item.id v-bind:voting=item.voting v-bind:unvoting=item.unvoting></rankitem><nav aria-label="Page navigation example" v-if="allItems.length>pageSize"><ul class=pagination><li class=page-item><a class=page-link href=# v-on:click=previousPage v-bind:class={disabled:!hasPrePage}>Previous</a><li class="page-item active" aria-current=page><a class=page-link href=#>{{curPage}}</a><li class=page-item><a class=page-link href=# v-on:click=nextPage v-bind:class={disabled:!hasNextPage}>Next</a></ul></nav><div><h5 class="text-center text-muted">Vote For Great {{cateName}}s Around The World!!</h5></div></div><div id=v_itemdetail class=vhide><h2 style=position:relative class=text-center>{{name}}<button type=button :itemid=itemId onclick=backFromItemDetail(this) style=position:absolute;left:2px;top:2px class="btn btn-info">Back</button></h2><table class=table><tr><th scope=row class=text-muted>Ranking<td class="fs-4 text-success">{{rank}}<tr><th scope=row class=text-muted>Votes<td class="fs-4 text-info">{{vote}}<tr><th scope=row class=text-muted>Votes to rise ranking<td class="fs-3 text-secondary">{{vote2rise}}</table><div class=text-center><button type=button :itemid=itemId onclick=voteItem(this) class="btn btn-success">Vote<span v-if=voting class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button> <button type=button :itemid=itemId onclick=unVoteItem(this) class="btn btn-warning">UnVote<span v-if=unvoting class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button></div><div><div class=border-bottom>{{desc}}<div class=row><div class=col-4><a v-if="(desc.length==0)" :href=googleurl target=_blank>Google {{name}}</a></div><div class=col-4><a v-if="(desc.length==0)" :href=wikiurl target=_blank>Wiki {{name}}</a></div><div class=col-4><a v-if="(desc.length==0)" href=https://github.com/voteit-top/voteitimgs target=_blank>Add description for {{name}}({{itemId}})</a></div></div></div><div><a v-if="(imgs.length==0)" href=https://github.com/voteit-top/voteitimgs target=_blank>Add images for {{name}}({{itemId}})</a> <img v-for="img in imgs" :src=img class=img-fluid :alt=name></div></div><div v-if="(imgs.length>0)" class=text-center><button type=button :itemid=itemId onclick=voteItem(this) class="btn btn-success">Vote<span v-if=voting class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button> <button type=button :itemid=itemId onclick=unVoteItem(this) class="btn btn-warning">UnVote<span v-if=unvoting class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button></div></div></div></div><div class=col-md-3><div id=v_tongji><div class="card text-white mb-1"><div class=card-body><p class="fs-6 mb-1 text-muted">Total Votes:{{totalvotes}}<p class="fs-6 mb-1 text-muted">My Votes:{{myvotes}}<p class="fs-6 mb-1 text-muted">Total Items:{{totalitems}}<p class="fs-6 mb-1 text-muted">Total Rewards:{{totalrewards}}<p class="fs-6 mb-1 text-muted">Rewards(1Vote/day): ~{{estimateReward}}<p class="fs-6 mb-1 text-muted">APY: ~{{estimateApy}}%</p><button type=button onclick=btnClaimReward() class="btn btn-primary">Claim Rewards</button> <span v-if=loading class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></div></div></div></div></div></div></div><div id=sec_bet class="container-fluid bg_b2" style=padding-top:25px;padding-bottom:5px><div class=container><h3><span class="badge bg-info">BET</span>  <span class=text-muted>Bet One, Win More<a class=text-info href=http://www.voteit.top/help/2021-08-20-bet.html target=_blank><i class="far fa-question-circle"></i></a></span></h3><div class="card text-muted p-3" id=v_betgame><div class=row><div id=v_betheader class="col-8 btn-group"><button type=button v-on:click=showUefa2021Cur class="btn btn-outline-primary" v-bind:class={active:isUefa2021}>Ballon d'Or 2021</button><button type=button v-on:click=showUefa2021His class="btn btn-outline-primary" v-bind:class={active:isUefa2021His}>Expired ones</button><button type=button v-on:click=showBlockbet class="btn btn-outline-primary" v-bind:class={active:isBlockbet}>Block bet</button></div><div class=col><div class=btn-group><button type=button id=betRefresh v-on:click=smartRefresh class="btn btn-outline-primary">Refresh</button></div></div></div><div id=uefa2021><div id=uefa2021cur><h1>{{desc}} <span class=text-warning style="text-shadow:1px 1px 0 #444">1000000 VOTEIT Bonus</span></h1><p class=text-info>Who will be the winer? <a href="https://en.wikipedia.org/wiki/2021_Ballon_d'Or" target=_blank>Ballon d'Or 2021</a><div class="mb-2 row bg-light" v-for="grp in groups"><h3>{{grp.title}}</h3><h5>Votes:<span class=text-secondary>{{grp.votes}}</span>    Pool:<span class=text-success>{{grp.bonus}}</span>VOTEIT  <span class="badge bg-danger">Winner:{{grp.winner}}</span>   <button class="btn btn-warning" v-if=grp.canClaimWin v-on:click=claimWin(grp.cid)>Claim Win<span v-if=claimingCids[grp.cid] class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button></h5><div class=col v-for="item in grp.items"><img :src="'./img/'+itemImg(item)" width=100px height=150px :title=itemName(item)><br><h4>{{itemName(item)}}</h4><p>Votes:{{items[item].uvotes}}/{{items[item].votes}}<p>Time left:{{items[item].ltStr}}</p><button class="btn btn-primary" v-bind:class={disabled:!items[item].active} v-on:click=voteItem(item)>Vote</button></div></div></div><div id=uefa2021his class=vhide><h1 class=text-muted>Expired ones</h1><p class=text-info>Note:if you ever voted it, you can claim your bonus ......"<div class="row mb-2 bg-light" v-for="grp in hisgroups"><h3 class=text-muted>{{grp.title}}</h3><p>Votes:<span class=text-secondary>{{grp.votes}}</span>    Pool:<span class=text-success>{{grp.bonus}}</span>VOTEIT  Leg1:<i class=text-primary>{{grp.leg1}}</i>   Leg2:<i class=text-primary>{{grp.leg2}}</i>    <span class="badge bg-danger">Winner:{{grp.winner}}</span>   <button class="btn btn-warning" v-if=grp.canClaimWin v-on:click=claimWin(grp.cid)>Claim Win<span v-if=claimingCids[grp.cid] class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button><div class=col><img :src="'./img/'+itemImg(grp.items[0])" width=150px height=150px :title=itemName(grp.items[0])><br><h4>{{itemName(grp.items[0])}}</h4><p>Votes:{{items[grp.items[0]].uvotes}}/{{items[grp.items[0]].votes}}<p>Left time:{{items[grp.items[0]].ltStr}}</p><button class="btn btn-primary" v-bind:class={disabled:!items[grp.items[0]].active} v-on:click=voteItem(grp.items[0])>Vote</button></div><div class=col><img src=./img/vs.png width=100px height=100px></div><div class=col><img :src="'./img/'+itemImg(grp.items[1])" width=150px height=150px :title=itemName(grp.items[1])><br><h4>{{itemName(grp.items[1])}}</h4><p>Votes:{{items[grp.items[1]].uvotes}}/{{items[grp.items[1]].votes}}<p>Left time:{{items[grp.items[1]].ltStr}}</p><button class="btn btn-primary" v-bind:class={disabled:!items[grp.items[1]].active} v-on:click=voteItem(grp.items[1])>Vote</button></div></div></div></div><div id=v_blockbet class="container vhide"><div class=row><div class="col-4 text-muted">Latest Block Number</div><div title="Last 5 characters of block ID" class="col-4 text-muted">L5BID</div><div class="col-4 text-muted">Result</div></div><div class="row border"><div class="fs-3 text-primary col-4"><a :href="'https://dappchain.tronscan.org/#/block/'+blockNumber" target=_blank>{{blockNumber}}</a></div><div class="fs-3 text-primary col-4">{{blockID.slice(-5)}}</div><div class="fs-3 text-primary col-4">{{resultStr(result)}}</div></div><div class=row><div class=col-sm-6><label class="col-form-label text-info fs-5 nowrap">VOTEIT balance:<span>{{tokenBalance}}</span></label><div class="mb-3 row"><label class="col-sm-4 col-form-label text-muted" title=VOTEIT>Amount(VOTEIT):</label><div class=col-sm-8><input class=form-control v-model=betAmount></div></div><div class="mb-3 row"><label class="col-sm-4 col-form-label text-muted"><a href=http://www.voteit.top/help/2021-08-20-bet.html#support-modes target=_blank><i class="far fa-question-circle"></i></a>Type:</label><div class=col-sm-8><select id=betTypeselect v-model=betTypeSelected class=form-select aria-label="Default Bet Type"><option v-for="item in betTypes" :value=item.id>{{item.name}}</select></div></div><div class="mb-3 row"><label class="col-sm-4 col-form-label text-muted" title="multiple bet"><a href=http://www.voteit.top/help/2021-08-20-bet.html#support-modes target=_blank><i class="far fa-question-circle"></i></a>Batch:</label><div class=col-sm-8><input class=form-control v-model=batchCount></div></div><div class="mb-3 row"><div class=col-sm-4></div><div class=col-sm-8><button class="btn btn-danger mb-3" v-on:click=confirmBet>Bet<span v-if=betting class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button><span class=text-muted>{{indicate}}</span></div></div></div><div class=col-sm-6><label class="col-form-label text-info fs-5">My active bets</label><div class=row><div class=col-3>Block</div><div class=col-3>Amount</div><div class=col-3>Bet</div><div class=col-3>Result</div></div><div class=row v-for="mb in myBets"><div class=col-3><a :href="'https://dappchain.tronscan.org/#/block/'+mb.bn" target=_blank>{{mb.bn}}</a></div><div class=col-3>{{mb.amount/1000000}}</div><div class=col-3>{{mb.btypeStr}}</div><div class=col-3>{{resultStr(mb.result)}}<i v-if=mb.win class="text-warning fas fa-smile-beam"></i></div></div><div class=text-center><button class="btn btn-info mb-3" v-on:click=refreshMyBets>Refresh<span v-if=isRefreshing class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button><span> </span><button id=btnClaimBonus class="btn btn-success mb-3" v-on:click=confirmCheckBonus>Check Bonus<span v-if=checking class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button></div><p class=text-info>{{betResult}}</div></div></div></div></div></div><div id=sec_pet class="container-fluid bg_b2" style=padding-top:25px;padding-bottom:5px><div class=container><h3><span class="badge bg-info">PET</span>  <span class=text-muted>Powered Pet Can Farm<a target=_blank href=http://www.voteit.top/help/2021-03-01-PET.html><i class="text-info far fa-question-circle"></i></a></span></h3><div id=v_pets><div class="modal fade" id=petPriceModal tabindex=-1 aria-labelledby=exampleModalLabel aria-hidden=true><div class=modal-dialog><div class=modal-content><div class=modal-header><h5 class=modal-title id=petModalLabel>Sell <span class=text-primary>{{itemName}}</span></h5><button type=button class=btn-close data-bs-dismiss=modal aria-label=Close></button></div><div class=modal-body><form><div class=mb-3><label for=message-text class=col-form-label>Price to sell(VOTEIT)</label> <input class=form-control id=sell_price v-model=sellPrice></div></form></div><div class=modal-footer><span class=text-info>{{sellIndicator}}</span> <button type=button class="btn btn-secondary" data-bs-dismiss=modal>Close</button> <button type=button class="btn btn-primary" v-on:click=confirmSell>Sell</button></div></div></div></div><div class="modal fade" id=bindPetModal tabindex=-1 aria-labelledby=exampleModalLabel aria-hidden=true><div class=modal-dialog><div class=modal-content><div class=modal-header><h5 class=modal-title id=bindPetModalLabel><span class=text-primary>{{itemName}}</span></h5><button type=button class=btn-close data-bs-dismiss=modal aria-label=Close></button></div><div class=modal-body><form><div class=mb-3><select id=petSelect v-model=selectedPetId aria-label="specify pet to bind"><option value=0>Select Pet<option v-for="p in myPets" :value=p.petId>{{p.petId}}</select> <img v-if="selectedPetId>0" width=100px height=100px :src=selectedPetImg></div></form></div><div class=modal-footer><span class=text-info>{{sellIndicator}}</span> <button type=button class="btn btn-secondary" data-bs-dismiss=modal>Close</button> <button type=button class="btn btn-primary" v-on:click=confirmBind>Bind</button></div></div></div></div><div class=row><div class=col><div class=btn-group><button type=button v-on:click=showPetRanking class="btn btn-outline-primary">Ranking</button><button type=button v-on:click=showPetPicker class="btn btn-outline-primary">Pick</button><button type=button v-on:click=showPetMarket class="btn btn-outline-primary">Market</button><button type=button v-on:click=showMyPetGem class="btn btn-outline-primary">My</button></div></div><div class="col text-end"><div class=btn-group><button type=button v-on:click=smartRefresh class="btn btn-outline-primary">Refresh</button></div></div></div><div id=petsRanking><p>Ranking of pets. Total powered pet:{{totalPoweredPet}} Total pet power:{{totalPetPower}}<div class=card-group><div class=card style=min-width:120px;max-width:120px v-for="(rp,index) in rankingPets"><img width=120px height=120px :src="'./img/'+rp.img" class=card-img-top alt=...><div class=card-body><p class="card-text text-center">Rank:{{index+1}}<p class="card-text text-center">PUID:{{rp.petId}}<p class="card-text text-center">Power:{{rp.power}}</div></div></div></div><div id=myPetGem class=vhide><p>My pets and gems<div class=card-group><div class=card style=max-width:200px;min-width:180px v-for="mp in myPets"><img width=180px height=200px :src="'./img/'+mp.img" class=card-img-top alt=...><div class=card-body><p class="card-text text-center">PUID:{{mp.petId}}<p class="card-text text-center">Power:{{mp.power}}</p><a v-on:click=sell(mp.petId) class="btn btn-primary">{{sellOrUnsell(1,mp.petId)}}</a> <a v-on:click=feed(mp.petId) class="btn btn-primary">Feed</a></div></div></div><div class=card-group><div class=card style=max-width:150px;min-width:150px v-for="mg in myGems"><img width=120px height=120px :src="'./img/'+mg.img" class=card-img-top alt=...><div class=card-body><p class="card-text text-center">GUID:{{mg.gemId}}<p class="card-text text-center">Power:{{mg.power}}</p><a v-on:click=sellGem(mg.gemId) class="btn btn-primary">{{sellOrUnsell(2,mg.gemId)}}</a> <a v-on:click="bindGem(mg.gemId, mg.petId)" class="btn btn-primary">{{bindOrUnbind(mg.gemId)}}</a></div></div></div></div><div id=petsPick class=vhide><p>You can pick a pet randomly. The first pet costs 100 VOTEIT. Starting with the second pet, you'll have to spend twice as much as the previous one.<div class="mt-3 row"><div class=col-6><span class=text-info>next pick price:{{nextPickPrice}} VOTEIT</span><button type=button class="btn btn-primary" v-on:click=pick>Pick one pet randomly</button></div><div class=col-6><p class=text-muted v-on:click=showMyPetGem>My pets:{{myPetsCnt}}</div></div><div class=card-group><div class=card style=min-width:100px v-for="(rp,index) in rawPets"><img width=100px height=100px :src="'./img/'+rp.img" class=card-img-top alt=...><div class=card-body><p class=card-text>#{{index+1}}<p class=card-text>{{rp.hot}} pick</div></div></div></div><div id=petsMarket class=vhide><p>Buy/Sell pets and gems<div class=card-group><div class=card style=max-width:200px;min-width:180px v-for="mp in marketPets"><img width=180px height=200px :src="'./img/'+mp.img" :title=mp.owner class=card-img-top alt=...><div class=card-body><p class=card-text>Power:{{mp.power}}<p class=card-text>{{mp.price}}VOTEIT</p><a v-on:click=buy(mp.petId,mp.price) class="btn btn-primary">Buy</a></div></div></div><div class=card-group><div class=card style=max-width:150px;min-width:150px v-for="mg in marketGems"><img width=100px height=100px :src="'./img/'+mg.img" :title=mg.owner class=card-img-top alt=...><div class=card-body><p class=card-text>Power:{{mg.power}}<p class=card-text>{{mg.price}} VOTEIT</p><a v-on:click=buyGem(mg.gemId,mg.price) class="btn btn-primary">Buy</a></div></div></div></div></div></div></div><div id=sec_dex class="container-fluid bg_b2" style=padding-top:25px;padding-bottom:5px><div class=container><h3><span class="badge bg-info">DEX</span>  <span class=text-muted>Exchange VOTEIT and TRX</span></h3><div class=row><div class=col-sm-9><div id=voteitdex><ul class=list-group><li class="list-group-item list-group-item-secondary"><div class=row><div class=col-6>Sell Price(Trx)</div><div class=col-6>Amount(VOTEIT)</div></div><li class=list-group-item v-for="(sorder,index) in sellorders"><div class=row><div :idx=index onclick=clickSellItem(this) class=col-6>{{sorder.dprice}}</div><div class=col-6 :idx=index onclick=clickSellItem(this)>{{sorder.amount/1000000}}</div></div></ul><div class=row><div class=col-6><p class="fs-5 text-warning">Last price:{{lastPrice/1000000}}Trx</div><div class=col-6><p class="fs-5 text-warning">Total orders:{{totalOrders}}</div></div><ul class=list-group><li class="list-group-item list-group-item-success"><div class=row><div class=col-6>Buy Price(Trx)</div><div class=col-6>Amount(VOTEIT)</div></div><li class=list-group-item v-for="(border,index) in buyorders"><div class=row><div :idx=index onclick=clickBuyItem(this) class=col-6>{{border.dprice}}</div><div class=col-6 :idx=index onclick=clickBuyItem(this)>{{border.amount/1000000}}</div></div></ul><div class=row><div class=col-6><div><label class="col-form-label text-info fs-5 nowrap">TRX balance:<span>{{trxBalance}}</span></label></div><div class="mb-3 row"><label class="col-sm-4 col-form-label">Buy Price:</label><div class=col-sm-8><input class=form-control v-model=buyPrice></div></div><div class="mb-3 row"><label class="col-sm-4 col-form-label">Amount</label><div class=col-sm-8><input class=form-control v-model=buyAmount></div></div><div class=text-center><button class="btn btn-secondary mb-3" v-on:click=buyVoteit>Buy VOTEIT<span v-if=buying class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button></div></div><div class=col-6><div><label class="col-form-label text-info fs-5 nowrap">VOTEIT balance:<span>{{tokenBalance}}</span></label></div><div class="mb-3 row"><label class="col-sm-4 col-form-label">Sell Price:</label><div class=col-sm-8><input class=form-control v-model=sellPrice></div></div><div class="mb-3 row"><label class="col-sm-4 col-form-label">Amount</label><div class=col-sm-8><input class=form-control v-model=sellAmount></div></div><div class=text-center><button class="btn btn-danger mb-3" v-on:click=sellVoteit>Sell VOTEIT<span v-if=selling class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button></div></div><p class=text-warning>{{indicator}}</div></div></div><div id=dex_myorders class=col-sm-3><h4>My orders</h4><ul class=list-group><li class="list-group-item fs-6" v-for="o in orders">{{orderType[o.type&3]}} {{o.lamount/1000000}} VOTEIT<span class=text-red>({{o.price/1000000}})</span><button type=button class="btn btn-danger btn-sm" v-on:click=cancelOrder(o.oid)>Cancel<span v-if=o.canceling class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button></ul></div></div></div></div><div id=section42 class="container-fluid bg_b2" style=padding-top:5px;padding-bottom:5px><nav class=container><ul id=signindays class="pagination pagination-sm"><li class=page-item><a class=page-link href=# v-on:click=claimSignReward>Signin rewards</a><li class=page-item v-for="dr,idx in daysreward" v-bind:class="{active: idx<contDays}"><a class=page-link href=# :title="'day'+(idx+1)">{{dr}}</a><li class=page-item><a class=page-link href=http://www.voteit.top/help/2021-05-01-FAQ.html#8-sign-in-rewards>?</a></ul></nav></div></div><div class=modal id=voteitModal tabindex=-1><div class=modal-dialog><div class=modal-content><div class=modal-header><h5 class=modal-title>VOTEIT</h5><button type=button class=btn-close data-bs-dismiss=modal aria-label=Close></button></div><div class=modal-body><div class=card><h4>AirDrop</h4><p>Every TRON account whose balance > 0, Can request 100 VOTEIT airdrop only once.<p>Alternatively, you can just tweet <a href=https://twitter.com/TopVoteit><i class="fab fa-twitter"></i>me</a> to leave your TRX address</p><button type=button class="btn btn-primary" v-on:click=airDropToken>Airdrop<span v-if=airdroping class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button></div></div><div class=modal-footer><button type=button class="btn btn-secondary" data-bs-dismiss=modal>Close</button></div></div></div></div><div class=modal id=tronlinkModal tabindex=-1><div class=modal-dialog><div class=modal-content><div class=modal-header><h5 class=modal-title>No Tronlink?</h5><button type=button class=btn-close data-bs-dismiss=modal aria-label=Close></button></div><div class=modal-body><h5>For safety concern, we only support Tronlink wallet, you need visit <a href=https://www.tronlink.org/ >Tronlink</a> to install Chrome extension.</h5><p>if you have installed Tronlink, please make sure it has been activated.</div><div class=modal-footer><button type=button class="btn btn-secondary" data-bs-dismiss=modal>Close</button></div></div></div></div><div class=modal id=connectWalletModal tabindex=-1><div class=modal-dialog><div class=modal-content><div class=modal-header><h5 class=modal-title>Connect Tronlink</h5><button type=button class=btn-close data-bs-dismiss=modal aria-label=Close></button></div><div class=modal-body><p>Connect tronlink to enable your wallet.</div><div class=modal-footer><button type=button class="btn btn-secondary" data-bs-dismiss=modal>Close</button> <button type=button class="btn btn-primary" data-bs-dismiss=modal onclick=walletv.connectWallet()>Connect</button></div></div></div></div><div class="modal fade" id=voteModal tabindex=-1 aria-labelledby=exampleModalLabel aria-hidden=true><div class=modal-dialog><div class=modal-content><div class=modal-header><h5 class=modal-title id=voteModalLabel>{{title}} <span class=text-primary>{{itemName}}</span></h5><button type=button class=btn-close data-bs-dismiss=modal aria-label=Close></button></div><div class=modal-body><form><div class=mb-3><label for=recipient-name class=col-form-label>{{titleBalance}}</label><p class=text-secondary>{{tokenBalance}}</div><div class=mb-3><label for=message-text class=col-form-label>{{title}}:</label><span v-on:click=voteAllBalance class="btn btn-info">All</span> <input class=form-control id=recipient-name v-model=inputVotes></div></form></div><div class=modal-footer><span class=text-info>{{indicator}}</span> <button type=button class="btn btn-secondary" data-bs-dismiss=modal>Close</button> <button type=button class="btn btn-primary" v-on:click=confirmVote>{{title}}</button></div></div></div></div><div class="modal fade" id=createModal tabindex=-1 aria-labelledby=exampleModalLabel aria-hidden=true><div class=modal-dialog><div class=modal-content><div class=modal-header><h5 class=modal-title id=voteModalLabel>Create New</h5><button type=button class=btn-close data-bs-dismiss=modal aria-label=Close></button></div><div class=modal-body><form><div class=mb-3><label for=recipient-name class=col-form-label>Trx balance:{{trxBalance}}</label></div><div class=mb-3><label for=message-text class=col-form-label>Category:</label> <select id=cateselect v-model=cateSelected class=form-select aria-label="Default select example"><option v-for="item in cates" :value=item.id>{{item.name}}</select> <label for=message-text class=col-form-label>Name:</label> <input class=form-control id=item-name v-model=itemName></div></form></div><div class=modal-footer><span class=text-info>{{indicator}}</span> <button type=button class="btn btn-secondary" data-bs-dismiss=modal>Close</button> <button type=button class="btn btn-primary" v-on:click=confirmCreate>Create</button></div></div></div></div><div class="modal fade" id=eventsModal tabindex=-1><div class="modal-dialog modal-dialog-scrollable"><div class=modal-content><div class=modal-header><h5 class=modal-title>Events</h5><button type=button class=btn-close data-bs-dismiss=modal aria-label=Close></button></div><div class=modal-body><div id=allevents_v class=container><ul class="nav nav-tabs" id=myTab role=tablist><li class=nav-item role=presentation><a class="nav-link active" id=home-tab data-bs-toggle=tab href=#home role=tab aria-controls=home aria-selected=true>Events</a><li class=nav-item role=presentation><a id=link_myEvents class=nav-link id=profile-tab data-bs-toggle=tab href=#profile role=tab aria-controls=profile aria-selected=false>My events</a></ul><div class=tab-content><div class="tab-pane fade fade" id=supporters role=tabpanel aria-labelledby=supporters-tab><ul class=list-group v-if="mode==2"><li class="list-group-item fs-6" v-for="v in voters">{{v.addr}}<span class=text-red>({{v.vote}})</span></ul><ul class=list-group v-if="mode==3"><li class="list-group-item fs-6" v-for="o in orders">{{orderType[o.type&3]}} {{o.lamount/1000000}} VOTEIT<span class=text-red>({{o.price/1000000}})</span><button type=button class="btn btn-danger btn-sm" v-on:click=cancelOrder(o.oid)>Cancel</button></ul></div><div class="tab-pane fade show active" id=home role=tabpanel aria-labelledby=home-tab><button type=button class="btn btn-primary" onclick=loadHisEvents() v-if="pendingLoadEvents>0">Load Events({{pendingLoadEvents}})<span v-if=loadingEvents class="spinner-border spinner-border-sm" role=status aria-hidden=true></span></button><ul class=list-group><li class=list-group-item v-for="evt in events"><a :title=evt.details :href=evt.tranId>{{evt.name}} {{evt.param2}}</a></ul></div><div class="tab-pane fade" id=profile role=tabpanel aria-labelledby=profile-tab><ul class=list-group><li class=list-group-item v-if=waiting>{{waitingText}}<span class="spinner-border spinner-border-sm" role=status aria-hidden=true></span><li class=list-group-item v-for="evt in myEvents"><a data-toggle=tooltip data-placement=right v-bind:title=evt.details :href=evt.tranUrl target=_blank>{{evt.name}} {{evt.param2}}</a><span class="badge bg-danger" v-if=evt.error>error</span><span class="badge bg-success" v-if=!evt.error>OK</span></ul></div></div></div></div><div class=modal-footer><button type=button class="btn btn-secondary" data-bs-dismiss=modal>Close</button></div></div></div></div><footer class="mt-auto py-3 bg_b2"><div class=container><div class=row><div class=col-1><img src=./img/logo100.png></div><div class="col-3 container text-start"><a href=./res/VOTEIT-whitepaper.pdf>whitepaper</a><br><a href=http://www.voteit.top/help/2021-05-01-FAQ.html target=_blank>FAQ</a><br><a href=# onclick=requestVOTEIT()>airdrop</a><br><a href=./res/VOTEIT-dappchain-activate-day1.txt>Dappchain accounts activation d1</a><br><a href=./res/VOTEIT-dappchain-activate-day2.txt>Dappchain accounts activation d2</a><br><a href=./res/VOTEIT-dappchain-activate-day3.txt>Dappchain accounts activation d3</a></div><div class="col-4 container text-center"><p class=text-muted title="4VOTEIT per block for voter|4VOTEIT per block for creator">Voting As Mining:VOTEIT</p><a href=https://dappchain.tronscan.org/#/contract/TECu9sH4r5BZ373yBgBDsS3chC4s24cePA/ target=_blank>VOTEIT Miner smart contract</a><br><a href=https://dappchain.tronscan.org/#/contract/TRWnVLAEJcAha5rYFgSTTRFWG9Vb7SPeS5/ target=_blank>VOTEIT DEX smart contract</a><br><a href=https://dappchain.tronscan.org/#/contract/TXPV4HTikmAzA1SDbGPKrs652KFzy1wnDp/ target=_blank>VOTEIT BET smart contract</a><br><a href=https://dappchain.tronscan.org/#/contract/TJ5qtb9wUM9iNBzaRETcrVXBhPkuqBq4r9/ target=_blank>VOTEIT PET smart contract</a><br><a href=https://dappchain.tronscan.io/#/contract/TLysE9cYxfsDUrU25SZWpuNW5o6sF1gL3H/ target=_blank>VOTEIT MATCH BET smart contract</a></div><div class="col-4 container text-end"><a href=https://twitter.com/TopVoteit><i class="fab fa-twitter"></i></a><br><i class="fas fa-eye text-secondary"><span class=text-secondary id=busuanzi_value_site_pv></span></i></div></div></div></footer><script src=https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js integrity=sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4 crossorigin=anonymous></script><script src="./js/chunkall.min.js?v=252"></script><script async src=//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js></script>