1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051 |
- <?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
- <link rel="stylesheet" type="text/css" href="/Public/Static/css/base2.css" />
- <link rel="stylesheet" type="text/css" href="/Public/Static/css/nologed.css" />
- <link rel="stylesheet" href="/Public/Static/Icoinfont/iconfont.css">
- <script src="/Public/Static/Icoinfont/iconfont.js"></script>
- <title><?php echo ($webname); ?></title>
- <style>
- ::-webkit-input-placeholder { /* WebKit browsers */
- color: #b5b5b5;
- font-size: 18px;
- }
- ::-moz-placeholder { /* Mozilla Firefox 19+ */
- color: #b5b5b5;
- font-size: 18px;
- }
- input:focus{background:#F5F5F5;outline: 1px solid #F5F5F5;}
- a:hover,a:link,a:visited,a:active{color:#707A8A;text-decoration:none;}
- .headerbox{height:50px;line-height:50px;}
- .iconf{height: 30px;width: 30px;border-radius: 15px;background: #eaebed;margin-top: 10px;}
- .imgbox{width:50px;height:50px;line-height:50px;float:left;}
- .badge-light{background-color: #FCD535;position: relative;left: -15px;top: -10px;}
- .badge{line-height: 0.8;border-radius: .5rem;}
- ul, li {list-style-type: none;padding: 0px;}
- .scrollDiv {
- height: 25px;/* 必要元素 */
- line-height: 25px;
- border: none;
- overflow: hidden;/* 必要元素 */
- margin-top:8px;
- }
- .scrollDiv li {
- height: 25px;
- padding-left: 10px;
- }
- .optionbox{width:100%;height:90px;background:#fff;margin-top:10px;border-top-left-radius:20px;border-top-right-radius:20px;padding: 5px 8px;}
- .oplist{width:20%;height:80px;float:left;}
- .opimg{width:100%;height: 50px;line-height: 50px;text-align: center;}
- .opicon{width:30px;height:30px;margin-top: 10px;}
- .optext{width:100%;height: 30px;line-height: 30px;text-align: center;overflow: hidden;}
- .hyicon{width:40px;height: 40px; margin-left: 20px;margin-top: 10px;}
- .ricon{background: #eaebed;padding: 5px;border-radius: 20px;font-size: 20px;color: #000;}
- .zixunlist {height: 90px;width: 100%;background: #fff;}
- .zixunconten{height: 90px;width: 33.3%;background: #fff;float: left;margin: 0 auto;text-align: center;}
- .bgreen{background:#0ecb81;}
- .bred{background:#f5465c;}
- .bgfcc{background:#f5f5f5;}
- .green{color:#0ecb81;}
- .red{color:#f5465c;}
- .list_open{width:40%;height:50px;line-height:50px;float:left;text-align:center;}
- .list_cname{width:30%;height:50px;line-height:50px;float:left;}
- .list_change{width:30%;height:50px;line-height:50px;float:left;text-align:right;}
- .dongbox{position:fixed;z-index:9999;display:none;top:0px;width:100%;height:100vh;background:rgba(0,0,0,0.2);}
- .dong_order_c{width:90%;height:460px;background:#fff;margin:80px auto;border-radius:10px;padding:10px;}
- .dong_order_x{width:100%;height:20px;line-height:20px;text-align:right;}
- .dong_order_title{width:100%;height:30px;line-height:20px;text-align:center;border-bottom: 1px solid #f5f5f5;}
- .infobox{width:100%;height:400px;padding:5px 20px;margin-top:50px;}
- .infotbox{width:100%;margin-top:15px;}
- .lbox{width:100%;height:50px;}
- .lboxc{width:100%;padding:15px 0px;}
- .lbox_l{width:20%;height:50px;line-height:50px;float:left;text-align:left;}
- .lbox_r{width:80%;height:50px;line-height:50px;float:right;text-align:right;}
- .SidebarList {
- position: fixed;
- right: 5px;
- bottom: 220px;
- background: #ffffff;
- box-shadow: rgb(78 75 75 / 17%) 0 0 15px 5px;
- z-index: 99;
- border-radius: 4px;
- }
- .Sidebar {
- display: block;
- transition: all 0.3s;
- position: relative;
- text-align: center;
- width: 72px;
- height: 72px;
- border-bottom: 1px solid #3e3e3e;
- box-sizing: border-box;
- padding-top: 10px;
- cursor: pointer;
- }
- .Sidebar {
- width: 30px;
- height: 40px;
- padding: 7px 0;
- }
- .Sidebar>.Sidebar_top {
- display: block;
- transition: all 0.3s;
- width: 36px;
- height: 36px;
- background: url(/Public/Static/img/SidebarList.png) no-repeat;
- box-sizing: border-box;
- margin: 0 auto 1px;
- }
- .Sidebar_App {
- background-position: 3px -54px !important;
- }
- .Sidebar_img {display: none;position: absolute;z-index: 100;right: 85px;width: 152px;top: 12px;box-sizing: border-box;padding: 9px 8px;background: #fff;border-radius: 3px;box-shadow: rgb(78 75 75 / 17%) 0 0 15px 5px;}
- .Sidebar_img>p {text-align: left;font-size: 14px;border-bottom: 1px #ddd dashed;}
- .Sidebar>.Sidebar_top {display: block;transition: all 0.3s;width: 36px;height: 36px;background: url(/Public/Static/img/SidebarList.png) no-repeat;box-sizing: border-box;margin: 0 auto 1px;}
- .Sidebar>.Sidebar_top {width: 100%;height: 100%;background-size: 25px;padding: 0 0 0;}
- .Sidebar_Service {background-position: 2px -108px !important;}
- .Sidebar>p {font-size: 12px;color: #273e57;}
- .Sidebar:last-child {border-bottom: 0;}
- .Sidebar>.Sidebar_top {display: block;transition: all 0.3s;width: 36px;height: 36px;background: url(/Public/Static/img/SidebarList.png) no-repeat;box-sizing: border-box;margin: 0 auto 1px;}
- .Sidebar>.Sidebar_top {width: 100%;height: 100%;background-size: 25px;padding: 0 0 0;}
- .Sidebar_CounUs {background-position: 3px 0 !important;}
- </style>
- </head>
- <body>
- <div style="height: 40px"></div>
- <div class="container-fluid " style="padding:0px;width:100vw;">
- <div class="no_header" style="position: fixed;z-index: 9999;background: #f5f5f5;padding:0px 10px;">
- <div class="headerbox fl">
- <?php if($uid <= 0): ?><a href="<?php echo U('Login/loption');?>">
- <div class="imgbox" style="">
- <svg class="icon iconf" aria-hidden="true"><use xlink:href="#icon-ziyuan2"></use></svg>
- </div>
- </a>
- <?php else: ?>
- <a href="<?php echo U('Index/uoption');?>">
- <div class="imgbox" style="">
- <svg class="icon iconf" aria-hidden="true"><use xlink:href="#icon-ziyuan2"></use></svg>
- </div>
- </a><?php endif; ?>
- <?php if($uid <= 0): ?><div style="height:60px;line-height:60px;float:left;text-align:center;">
- <a href="<?php echo U('Login/index');?>" style="font-color:red;" class="fcc"> <span style="background: #aadbaa;padding: 10px;border-radius: 5px;"><b><?php echo L('登陆');?> / <?php echo L('注册');?></b></span></a>
- </div><?php endif; ?>
- </div>
- <a href="<?php echo U('Index/notice');?>">
- <div class="headerbox fr txtr">
- <i class="bi bi-bell fcc" style="font-size:22px;"></i>
- <?php if($sum > 0){?>
- <span class="badge badge-light"><?php echo $sum;?></span>
- <?php }?>
- </div>
- </a>
- </div>
- <div style="width:100%;height:60px;background:#f5f5f5;"></div>
- <!--轮播图-->
- <div id="carouselExampleIndicators" class="carousel slide slidepm" data-ride="carousel" style="width:100%;margin: 0px;padding:0px 10px;">
- <div class="carousel-inner" style="height: 150px;">
- <div class="carousel-item active">
- <img src="/Upload/public/<?php echo ($clist["websildea"]); ?>" class="d-block w-100" style="height:150px;border-radius:10px;" />
- </div>
- <div class="carousel-item">
- <img src="/Upload/public/<?php echo ($clist["websildeb"]); ?>" class="d-block w-100" style="height:150px;border-radius:10px;" />
- </div>
- <div class="carousel-item">
- <img src="/Upload/public/<?php echo ($clist["websildec"]); ?>" class="d-block w-100" style="height:150px;border-radius:10px;" />
- </div>
- </div>
- </div>
- <!--滚动新闻-->
- <div style="width:100%;height:40px;margin-top:5px;padding:0px 10px;">
- <div style="width:10%;height:40px;float:left;line-height: 40px;">
- <i class="bi bi-megaphone fcc" style="font-size:20px;"></i>
- </div>
- <div style="width:75%;height:40px;float:left;line-height: 40px;">
- <div class="scrollDiv" id="s1">
- <ul>
- <?php if(is_array($nlist)): foreach($nlist as $key=>$vo): ?><li><a href="<?php echo U('Index/gginfo');?>?id=<?php echo ($vo["id"]); ?>"><?php echo ($vo["title"]); ?></a></li><?php endforeach; endif; ?>
- </ul>
- </div>
- </div>
- <div style="width:10%;height:40px;float:right;line-height: 40px;text-align:right;">
- <a href="<?php echo U('Index/gglist');?>">
- <i class="bi bi-list-ul fcc" style="font-size:22px;"></i>
- </a>
- </div>
- </div>
- </div>
- <!--OPTION选项-->
- <div class="optionbox">
- <div style="width:100%;height:80px;">
- <a href="<?php echo U('Issue/index');?>">
- <div class="oplist">
- <div class="opimg">
- <svg class="icon opicon" aria-hidden="true"><use xlink:href="#icon-ziyuan5"></use></svg>
- </div>
- <div class="optext">
- <span class="fzmm fcc"><?php echo L('认购');?></span>
- </div>
- </div>
- </a>
- <a href="<?php echo U('User/czcoin');?>">
- <div class="oplist">
- <div class="opimg">
- <svg class="icon opicon" aria-hidden="true"><use xlink:href="#icon-xinyongka"></use></svg>
- </div>
- <div class="optext">
- <span class="fzmm fcc"><?php echo L('充币');?></span>
- </div>
- </div>
- </a>
- <a href="<?php echo U('User/txcoin');?>">
- <div class="oplist">
- <div class="opimg">
- <svg class="icon opicon" aria-hidden="true"><use xlink:href="#icon-ziyuan27"></use></svg>
- </div>
- <div class="optext">
- <span class="fzmm fcc"><?php echo L('提币');?></span>
- </div>
- </div>
- </a>
- <a href="<?php echo U('Login/setlang');?>">
- <div class="oplist">
- <div class="opimg">
- <i class="bi bi-globe fcc fzmmm" style="font-size:22px;"></i>
- </div>
- <div class="optext">
- <span class="fzmm fcc"><?php echo L('语言');?></span>
- </div>
- </div>
- </a>
- <a href="<?php echo U('user/online');?>">
- <div class="oplist">
- <div class="opimg">
- <svg class="icon opicon" aria-hidden="true"><use xlink:href="#icon-ziyuan8"></use></svg>
- </div>
- <div class="optext">
- <span class="fzmm fcc"><?php echo L('客服');?></span>
- </div>
- </div>
- </a>
- </div>
- </div>
- <!--单选项区-->
- <!--<div style="width:100%;height:80px;padding:10px;">-->
- <!-- <div style="width:20%;height:60px;float:left;">-->
- <!-- <svg class="icon hyicon" aria-hidden="true"><use xlink:href="#icon-ziyuan1"></use></svg>-->
- <!-- </div>-->
- <!-- <div style="width:65%;height:60px;float:left;">-->
- <!-- <div style="width:100%;height:30px;line-height:40px;">-->
- <!-- <span class="fcc fzmmm"><?php echo L('快速合约');?></span>-->
- <!-- </div>-->
- <!-- <div style="width:100%;height:20px;line-height:20px;">-->
- <!-- <span class="fcc fzm"><?php echo L('支持多币种、多时间类型');?></span>-->
- <!-- </div>-->
- <!-- </div>-->
- <!-- <a href="<?php echo U('Contract/index');?>">-->
- <!-- <div style="width:15%;height:60px;line-height:60px;float:left;text-align:center;">-->
- <!-- <i class="bi bi-arrow-right ricon"></i>-->
- <!-- </div>-->
- <!-- </a>-->
- <!--</div>-->
- <!--重点币行情区-->
- <div class="zixunlist">
- <div class="zixunconten" style="padding:10px;">
- <div class="tjcoinbox1">
- <span style="font-size:14px;color:#707A8A;" id="btc_coin_box">BTC/USDT</span>
- </div>
- <div class="tjcoinbox2" id="btc_money_box">
- <span style="font-size:16px;color:#2ebd85;font-weight: 500;">16711</span>
- </div>
- <div class="tjcoinbox3" id="btc_change_box">
- <span style="font-size:14px;color:#2ebd85;font-weight: 500;">+2.16%</span>
- </div>
- </div>
- <div class="zixunconten" style="padding:10px;">
- <div class="tjcoinbox1">
- <span style="font-size:14px;color:#707A8A;" id="bch_coin_box">BCH/USDT</span>
- </div>
- <div class="tjcoinbox2" id="bch_money_box">
- <span style="font-size:16px;color:#2ebd85;font-weight: 500;">174.77</span>
- </div>
- <div class="tjcoinbox3" id="bch_change_box">
- <span style="font-size:14px;color:#2ebd85;font-weight: 500;">+2.33%</span>
- </div>
- </div>
- <div class="zixunconten" style="padding:10px;">
- <div class="tjcoinbox1">
- <span style="font-size:14px;font-weight:500;color:#707A8A;" id="eth_coin_box">ETH/USDT</span>
- </div>
- <div class="tjcoinbox2" id="eth_money_box">
- <span style="font-size:16px;font-weight:500;color:#2ebd85;">3204.28</span>
- </div>
- <div class="tjcoinbox3" id="eth_change_box">
- <span style="font-size:14px;color:#2ebd85;font-weight: 500;">+4.47%</span>
- </div>
- </div>
- </div>
- <!--单选项区-->
- <div style="width:100%;height:80px;padding:10px;">
- <div style="width:20%;height:60px;float:left;">
- <svg class="icon hyicon" aria-hidden="true"><use xlink:href="#icon-ziyuan14"></use></svg>
- </div>
- <div style="width:50%;height:60px;float:left;">
- <div style="width:100%;height:30px;line-height:40px;">
- <span class="fcc fzmmm"><?php echo L('质押挖矿');?></span>
- </div>
- <div style="width:100%;height:20px;line-height:20px;">
- <!-- <span class="fcc fzm"><?php echo L('矿机出租、共享矿机');?></span>-->
- </div>
- </div>
- <a href="<?php echo U('Orepool/index');?>">
- <div style="width:30%;height:60px;line-height:60px;float:left;text-align:center;">
- <span style="background: #FCD535;padding: 10px;border-radius: 5px;"><?php echo L('立即参与');?></span>
- </div>
- </a>
- </div>
- <!--市场行情-->
- <div style="width:100%;background:#fff;padding:10px;">
- <div style="width:100%;height:30px;line-height:30px;">
- <span class="fzmmm fcc">USDT<?php echo L('市场');?></span>
- </div>
- <div style="width:100%;height:30px;">
- <div style="width:30%;height:30px;line-height:30px;float:left;">
- <span class="fzm fcc"><?php echo L('交易对');?></span>
- </div>
- <div style="width:40%;height:30px;line-height:30px;float:left;text-align:center;">
- <span class="fzm fcc"><?php echo L('最新价格');?></span>
- </div>
- <div style="width:30%;height:30px;line-height:30px;float:left;text-align:right;">
- <span class="fzm fcc">24h<?php echo L('涨跌幅');?></span>
- </div>
- </div>
- <div style="width:100%;" id="tradebox">
- <?php if(is_array($market)): foreach($market as $key=>$vo): ?><div style="width:100%;height:50px;">
- <div class="list_cname">
- <span class="fzmmm fcc cn_<?php echo ($vo["coinname"]); ?>"><?php echo strtoupper($vo['coinname']);?>/USDT</span>
- </div>
- <div class="list_open cpr_<?php echo ($vo["coinname"]); ?>">
- <span class='fzmmm fcc'>--.--</span></div>
- <div class="list_change cch_<?php echo ($vo["coinname"]); ?>">
- <span class='fzmm bgfcc' style='color:#fff;border-radius: 2px;width:70px;height:35px;line-height:35px;text-align:center;display:inline-block;'>0%</span>
- </div>
- </div><?php endforeach; endif; ?>
- </div>
- </div>
- <div class="dongbox" id="dongbox" style="display:hidden;">
- <div class="dong_order_c">
- <div class="dong_order_x" id="x_dongbox">
- <i class="bi bi-x" style="font-size:18px;" ></i>
- </div>
- <div class="dong_order_title">
- <span class="fch" style="font-size:16px;font-weight:500;"><?php echo L('公告中心');?></span>
- </div>
- <div style="width:100%;height:340px;overflow-y:scroll;">
- <div class="infotbox">
- <span class="fcy" style="font-size:14px;font-weight:bold;"><?php echo ($info["title"]); ?></span>
- </div>
- <?php if($info["img"] != ''): ?><div class="lboxc">
- <img src="/Upload/article/<?php echo ($info["img"]); ?>" style="width:100%;border-radius:10px;"/>
- </div><?php endif; ?>
- <div class="lboxc" style="text-indent:24px;">
- <span><?php echo ($info["content"]); ?></span>
- </div>
- <div class="lbox">
- <div class="lbox_l">
- <!--<span class="fcc fzmm"><?php echo L('发布时间');?></span>-->
- </div>
- <div class="lbox_r">
- <span class="fch fzmm"><?php echo ($info["addtime"]); ?></span>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="SidebarList">
- <!-- <p>whatsApp</p>
- <a class="Sidebar" target="_blank" href="https://vm.melumisc.com/1chfk3x6cio6i12n51olfyv6dv">
- <div class="Sidebar_top Sidebar_Service"> </div>
- <p>Telegram</p>
- </a> -->
- <!-- <a class="Sidebar" id="Sidebar_CounUs" target="_blank" href="https://vm.lenteiga.com/0jfbvyss8itcz1agcsey904vji">-->
- <!-- <div class="Sidebar_top Sidebar_CounUs"> </div>-->
- <!-- <!– <p>在線客服</p>–>-->
- <!-- </a>-->
- </div>
- <div style="width:100%;height:100px;"></div>
- <!--底部-->
- <div class="footer">
- <a href="<?php echo U('Index/index');?>">
- <div class="footer_op">
- <div class="f_op_t">
- <svg class="icon fticon" aria-hidden="true"><use xlink:href="#icon-shouye"></use></svg>
- </div>
- <div class="f_op_b">
- <span class="fzm fcy"><?php echo L('首页');?></span>
- </div>
- </div>
- </a>
- <a href="<?php echo U('Trade/index');?>">
- <div class="footer_op">
- <div class="f_op_t" style="line-height:35px;">
- <span class="iconfont icon-fukuan" style="font-size:22px;"></span>
- </div>
- <div class="f_op_b">
- <span class="fzm fcc"><?php echo L('交易');?></span>
- </div>
- </div>
- </a>
- <a href="<?php echo U('Orepool/index');?>">
- <div class="footer_op">
- <div class="f_op_t" style="line-height:35px;">
- <span class="iconfont icon-ziyuan14" style="font-size:22px;"></span>
- </div>
- <div class="f_op_b">
- <span class="fzm fcc"><?php echo L('DEFI');?></span>
- </div>
- </div>
- </a>
- <a href="<?php echo U('Levertade/index');?>" target="_top">
- <div class="footer_op">
- <div class="f_op_t" style="line-height:35px;">
- <span class="iconfont icon-xuanxiang" style="font-size:22px;"></span>
- </div>
- <div class="f_op_b">
- <span class="fzm fcc"><?php echo L('合约');?></span>
- </div>
- </div>
- </a>
- <a href="<?php echo U('User/index');?>">
- <div class="footer_op">
- <div class="f_op_t" style="line-height:35px;">
- <span class="iconfont icon-ziyuan24" style="font-size:22px;"></span>
- </div>
- <div class="f_op_b">
- <span class="fzm fcc"><?php echo L('资产');?></span>
- </div>
- </div>
- </a>
- </div>
- </body>
- <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
- <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" crossorigin="anonymous"></script>
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/js/bootstrap.min.js" crossorigin="anonymous"></script>
- <script type="text/javascript" src="/Public/Static/js/layer/layer.js" ></script>
- <!--<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>-->
- <script type="text/javascript">
- $("#x_dongbox").click(function(){
- $("#dongbox").hide();
- });
- function obtain_btc(){
- var coin = "btc";
- var nameclass = ".cn_btc";
- var priceclass = ".cpr_btc";
- var changeclass = ".cch_btc";
- $.post("<?php echo U('Ajaxtrade/obtain_btc');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- }else{
- console.log(data.info);return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_eth(){
- var coin = "eth";
- var nameclass = ".cn_eth";
- var priceclass = ".cpr_eth";
- var changeclass = ".cch_eth";
- $.post("<?php echo U('Ajaxtrade/obtain_eth');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- }else{
- console.log(data.info);return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_eos(){
- var coin = "eos";
- var nameclass = ".cn_eos";
- var priceclass = ".cpr_eos";
- var changeclass = ".cch_eos";
- $.post("<?php echo U('Ajaxtrade/obtain_eos');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- }else{
- console.log(data.info);return false;
- }
- delete data;
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_doge(){
- var coin = "doge";
- var nameclass = ".cn_doge";
- var priceclass = ".cpr_doge";
- var changeclass = ".cch_doge";
- $.post("<?php echo U('Ajaxtrade/obtain_doge');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_bch(){
- var coin = "bch";
- var nameclass = ".cn_bch";
- var priceclass = ".cpr_bch";
- var changeclass = ".cch_bch";
- $.post("<?php echo U('Ajaxtrade/obtain_bch');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data
- }else{
- console.log(data.info);
- delete data
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_ltc(){
- var coin = "ltc";
- var nameclass = ".cn_ltc";
- var priceclass = ".cpr_ltc";
- var changeclass = ".cch_ltc";
- $.post("<?php echo U('Ajaxtrade/obtain_ltc');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data;
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_trx(){
- var coin = "trx";
- var nameclass = ".cn_trx";
- var priceclass = ".cpr_trx";
- var changeclass = ".cch_trx";
- $.post("<?php echo U('Ajaxtrade/obtain_ltc');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data;
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_xrp(){
- var coin = "xrp";
- var nameclass = ".cn_xrp";
- var priceclass = ".cpr_xrp";
- var changeclass = ".cch_xrp";
- $.post("<?php echo U('Ajaxtrade/obtain_ltc');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data;
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_shib(){
- var coin = "shib";
- var nameclass = ".cn_shib";
- var priceclass = ".cpr_shib";
- var changeclass = ".cch_shib";
- $.post("<?php echo U('Ajaxtrade/obtain_ltc');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data;
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_gcb(){
- var coin = "gcb";
- var nameclass = ".cn_gcb";
- var priceclass = ".cpr_gcb";
- var changeclass = ".cch_gcb";
- $.post("<?php echo U('Ajaxtrade/obtain_ltc');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data;
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_iota(){
- var coin = "iota";
- var nameclass = ".cn_iota";
- var priceclass = ".cpr_iota";
- var changeclass = ".cch_iota";
- $.post("<?php echo U('Ajaxtrade/obtain_iota');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data;
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_fil(){
- var coin = "fil";
- var nameclass = ".cn_fil";
- var priceclass = ".cpr_fil";
- var changeclass = ".cch_fil";
- $.post("<?php echo U('Ajaxtrade/obtain_fil');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data;
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_flow(){
- var coin = "flow";
- var nameclass = ".cn_flow";
- var priceclass = ".cpr_flow";
- var changeclass = ".cch_flow";
- $.post("<?php echo U('Ajaxtrade/obtain_flow');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data;
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_jst(){
- var coin = "jst";
- var nameclass = ".cn_jst";
- var priceclass = ".cpr_jst";
- var changeclass = ".cch_jst";
- $.post("<?php echo U('Ajaxtrade/obtain_jst');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data;
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_itc(){
- var coin = "jst";
- var nameclass = ".cn_itc";
- var priceclass = ".cpr_itc";
- var changeclass = ".cch_itc";
- $.post("<?php echo U('Ajaxtrade/obtain_itc');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data;
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_ht(){
- var coin = "ht";
- var nameclass = ".cn_ht";
- var priceclass = ".cpr_ht";
- var changeclass = ".cch_ht";
- $.post("<?php echo U('Ajaxtrade/obtain_ht');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html(data.cname);
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete data;
- }else{
- console.log(data.info);
- delete data;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- function obtain_usdz(){
- let coin = "ukb";
- let nameclass = ".cn_ukb";
- let priceclass = ".cpr_ukb";
- let changeclass = ".cch_ukb";
- $.post("<?php echo U('Ajaxtrade/obtain_usdz');?>",
- {'coin':coin},
- function(data){
- if(data.code == 1){
- $(nameclass).html("UKB/USDT");
- $(priceclass).html(data.open);
- $(changeclass).html(data.change);
- delete coin;
- delete nameclass;
- delete changeclass;
- delete data;
- }else{
- console.log(data.info);
- delete data;
- delete coin;
- delete nameclass;
- delete changeclass;
- return false;
- }
- }
- );
- }
- </script>
- <script type="text/javascript">
- $(function(){
- //obtain_btc();
- setInterval("obtain_btc()",2000);
- //obtain_eth();
- setInterval("obtain_eth()",3000);
- //obtain_eos();
- setInterval("obtain_eos()",5000);
- obtain_doge();
- setInterval("obtain_doge()",7000);
- obtain_bch();
- setInterval("obtain_bch()",9000);
- obtain_ltc();
- setInterval("obtain_ltc()",11000);
- obtain_trx();
- setInterval("obtain_trx()",33000);
- obtain_xrp();
- setInterval("obtain_xrp()",27000);
- obtain_shib();
- setInterval("obtain_shib()",29000);
- obtain_iota();
- setInterval("obtain_iota()",13000);
- obtain_fil();
- setInterval("obtain_fil()",15000);
- obtain_flow();
- setInterval("obtain_flow()",17000);
- obtain_jst();
- setInterval("obtain_jst()",19000);
- obtain_itc();
- setInterval("obtain_itc()",21000);
- obtain_ht();
- setInterval("obtain_ht()",23000);
- obtain_usdz();
- setInterval("obtain_usdz()",25000);
- //getallsymbol();
- //setInterval("getallsymbol()",5000);
- getonemarket();
- setInterval("getonemarket()",2000);
- });
- </script>
- <script type="text/javascript">
- function getonemarket(){
- $.post("<?php echo U('Ajaxtrade/get_market_one');?>",
- function(data){
- if(data.code == 1){
- $("#btc_coin_box").html(data.btccoin);
- $("#btc_money_box").html(data.btcnewprice);
- $("#btc_change_box").html(data.btcchange);
- $("#eth_coin_box").html(data.ethcoin);
- $("#eth_money_box").html(data.ethnewprice);
- $("#eth_change_box").html(data.ethchange);
- $("#bch_coin_box").html(data.bchcoin);
- $("#bch_money_box").html(data.bchnewprice);
- $("#bch_change_box").html(data.bchchange);
- }
- });
- }
- </script>
- <!--<script type="text/javascript">
- function getallsymbol(){
- $.post("<?php echo U('Ajaxtrade/getallsymbol');?>",
- function(data){
- if(data.code == 1){
- $("#tradebox").empty();
- var html = '';
- if(data.data == '' || data.data == null){
- html = '<div style="width:100%;height:100px;line-height:100px;text-align:center;">'+
- '<span class="fzmm fcc">' + "<?php echo L('没有获取数据');?>" + '</span>'+
- '</div>';
- $("#tradebox").append(html);
-
- }else{
- $.each(data.data,function(key,val){
- html += '<div style="width:100%;height:50px;">'+
- '<div class="list_cname">'+
- '<span class="fzmmm fcc">'+ val.cname +'</span>'+
- '</div>'+
- '<div class="list_open">' + val.open + '</div>'+
- '<div class="list_change">' + val.change +'</div>'+
- '</div>';
- });
- $("#tradebox").append(html);
- }
- }else{
- html = '<div style="width:100%;height:100px;line-height:100px;text-align:center;">'+
- '<span class="fzmm fcc">' + "<?php echo L('没有获取数据');?>" + '</span>'+
- '</div>';
- $("#tradebox").append(html);
- }
- });
- }
- </script>-->
- <script type="text/javascript">
- function AutoScroll(obj) {
- $(obj).find("ul:first").animate({
- marginTop: "-25px"
- }, 500, function() {
- $(this).css({
- marginTop: "0px"
- }).find("li:first").appendTo(this);
- });
- }
- $(document).ready(function() {
- setInterval('AutoScroll("#s1")', 3000);
- });
- </script>
- </html>
- <!--
- <div class="web_notice" style="
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgba(0,0,0,0.3);
- z-index: 99999;
- ">
- <div style="
- position: fixed;
- top: 50%;
- left: 50%;
- width: 350px;
- background: #FFF;
- transform: translate(-50%, -50%);
- border-radius: 25px;
- padding: 35px 25px;
- ">
- <h3 style="
- font-weight: bold;
- text-align: center;
- font-size: 30px;
- ">本程序温馨提醒</h3>
- <div style="
- font-size: 16px;
- margin-top: 26px;
- line-height: 30px;
- color: #999;
- ">仅为演示站,不可用于其他途径,由于多次被盗用,无奈出此下策,Telegram@gogog0808,本程序价格优惠,可联系客服咨询,右边Telegram图标可直接跳转至本人</div><a style="
- display: block;
- background: #98a3ff;
- color: #FFF;
- text-align: center;
- font-weight: bold;
- font-size: 19px;
- line-height: 60px;
- margin: 0 auto;
- margin-top: 45px;
- border-radius: 32px;
- width: 80%;
- " onclick="javascript:document.querySelector('.web_notice').remove()">我知道了</ a>
- </div>
- </div>--->
|