524a08806bc29449645d93a7a8f8e680.php 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  1. <?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1.0,initial-scale=1,user-scalable=no,viewport-fit=true" data-shuvi-head="true">
  6. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
  7. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
  8. <link rel="stylesheet" type="text/css" href="/Public/Home/static/css/base.css" />
  9. <title><?php echo ($webname); ?></title>
  10. <style>
  11. .css-155nz97 {
  12. box-sizing: border-box;
  13. margin: 0;
  14. min-width: 0;
  15. display: -webkit-box;
  16. display: -webkit-flex;
  17. display: -ms-flexbox;
  18. display: flex;
  19. -webkit-flex-direction: column;
  20. -ms-flex-direction: column;
  21. flex-direction: column;
  22. min-height: 100vh;
  23. color: #1E2329;
  24. background-color: #FFFFFF;
  25. }
  26. .css-1b9spv1 {
  27. box-sizing: border-box;
  28. margin: 0;
  29. min-width: 0;
  30. display: contents;
  31. }
  32. .css-qf37yy {
  33. box-sizing: border-box;
  34. margin: 0;
  35. min-width: 0;
  36. display: -webkit-box;
  37. display: -webkit-flex;
  38. display: -ms-flexbox;
  39. display: flex;
  40. background-color: #FFFFFF;
  41. height: 64px;
  42. width: 100%;
  43. padding-left: 16px;
  44. padding-right: 16px;
  45. -webkit-user-select: none;
  46. -moz-user-select: none;
  47. -ms-user-select: none;
  48. user-select: none;
  49. -webkit-align-items: center;
  50. -webkit-box-align: center;
  51. -ms-flex-align: center;
  52. align-items: center;
  53. }
  54. .css-1en9dhb {
  55. box-sizing: border-box;
  56. margin: 0;
  57. min-width: 0;
  58. display: -webkit-box;
  59. display: -webkit-flex;
  60. display: -ms-flexbox;
  61. display: flex;
  62. color: #1E2329;
  63. overflow: hidden;
  64. -webkit-align-items: center;
  65. -webkit-box-align: center;
  66. -ms-flex-align: center;
  67. align-items: center;
  68. pointer-events: none;
  69. visibility: hidden;
  70. }
  71. .css-1en9dhb {
  72. pointer-events: auto;
  73. visibility: visible;
  74. }
  75. .css-qf37yy >div {
  76. height: 100%;
  77. }
  78. .css-11y6cix {
  79. box-sizing: border-box;
  80. margin: 0;
  81. min-width: 0;
  82. display: -webkit-box;
  83. display: -webkit-flex;
  84. display: -ms-flexbox;
  85. display: flex;
  86. -webkit-align-items: center;
  87. -webkit-box-align: center;
  88. -ms-flex-align: center;
  89. align-items: center;
  90. -webkit-flex: 1;
  91. -ms-flex: 1;
  92. flex: 1;
  93. }
  94. .css-wu6zme {
  95. box-sizing: border-box;
  96. margin: 0;
  97. min-width: 0;
  98. display: -webkit-box;
  99. display: -webkit-flex;
  100. display: -ms-flexbox;
  101. display: flex;
  102. -webkit-flex: none;
  103. -ms-flex: none;
  104. flex: none;
  105. }
  106. .css-143enlu {
  107. box-sizing: border-box;
  108. margin: 0;
  109. min-width: 0;
  110. display: -webkit-box;
  111. display: -webkit-flex;
  112. display: -ms-flexbox;
  113. display: flex;
  114. -webkit-align-items: center;
  115. -webkit-box-align: center;
  116. -ms-flex-align: center;
  117. align-items: center;
  118. color: #1E2329;
  119. font-size: 14px;
  120. padding-left: 8px;
  121. padding-right: 8px;
  122. }
  123. .css-wu6zme >div {
  124. height: 100%;
  125. }
  126. .css-1ka9xaf {
  127. box-sizing: border-box;
  128. margin: 0;
  129. min-width: 0;
  130. display: -webkit-box;
  131. display: -webkit-flex;
  132. display: -ms-flexbox;
  133. display: flex;
  134. margin-top: 0;
  135. overflow: hidden;
  136. -webkit-align-items: center;
  137. -webkit-box-align: center;
  138. -ms-flex-align: center;
  139. align-items: center;
  140. -webkit-flex: 1;
  141. -ms-flex: 1;
  142. flex: 1;
  143. -webkit-flex-direction: column;
  144. -ms-flex-direction: column;
  145. flex-direction: column;
  146. }
  147. .css-8t6vxp {
  148. box-sizing: border-box;
  149. margin: 0;
  150. min-width: 0;
  151. display: -webkit-box;
  152. display: -webkit-flex;
  153. display: -ms-flexbox;
  154. display: flex;
  155. -webkit-flex-direction: column;
  156. -ms-flex-direction: column;
  157. flex-direction: column;
  158. width: 100%;
  159. -webkit-align-items: center;
  160. -webkit-box-align: center;
  161. -ms-flex-align: center;
  162. align-items: center;
  163. margin-top: 40px;
  164. }
  165. .css-16kn2us {
  166. box-sizing: border-box;
  167. margin: 0;
  168. min-width: 0;
  169. max-width: 1200px;
  170. width: 100%;
  171. }
  172. .binance-row {
  173. display: flex;
  174. -webkit-box-orient: horizontal;
  175. -webkit-box-direction: normal;
  176. flex-flow: row wrap;
  177. }
  178. .binance-col-4 {
  179. display: block;
  180. flex: 0 0 16.6667%;
  181. max-width: 16.6667%;
  182. }
  183. .binance-col {
  184. position: relative;
  185. max-width: 100%;
  186. min-height: 1px;
  187. }
  188. .css-vurnku {
  189. box-sizing: border-box;
  190. margin: 0;
  191. min-width: 0;
  192. }
  193. .binance-col {
  194. position: relative;
  195. max-width: 100%;
  196. min-height: 1px;
  197. }
  198. .css-1wz0uwi {
  199. box-sizing: border-box;
  200. margin: 0;
  201. min-width: 0;
  202. display: -webkit-box;
  203. display: -webkit-flex;
  204. display: -ms-flexbox;
  205. display: flex;
  206. -webkit-flex-direction: column;
  207. -ms-flex-direction: column;
  208. flex-direction: column;
  209. -webkit-align-items: flex-start;
  210. -webkit-box-align: flex-start;
  211. -ms-flex-align: flex-start;
  212. align-items: flex-start;
  213. }
  214. .css-9vx3s2 {
  215. box-sizing: border-box;
  216. margin: 0;
  217. min-width: 0;
  218. padding-left: 0px;
  219. padding-right: 0px;
  220. text-align: left;
  221. width: 100%;
  222. margin-bottom: 40px;
  223. }
  224. .css-1g5tc38 {
  225. box-sizing: border-box;
  226. margin: 0;
  227. min-width: 0;
  228. font-weight: 600;
  229. font-size: 32px;
  230. line-height: 40px;
  231. color: #1E2329;
  232. margin-bottom: 16px;
  233. }
  234. .css-152kxht {
  235. box-sizing: border-box;
  236. margin: 0;
  237. min-width: 0;
  238. font-weight: 400;
  239. font-size: 16px;
  240. line-height: 24px;
  241. color: #474D57;
  242. }
  243. .css-128p7pv {
  244. box-sizing: border-box;
  245. margin: 0;
  246. min-width: 0;
  247. display: -webkit-box;
  248. display: -webkit-flex;
  249. display: -ms-flexbox;
  250. display: flex;
  251. width: 100%;
  252. -webkit-align-items: center;
  253. -webkit-box-align: center;
  254. -ms-flex-align: center;
  255. align-items: center;
  256. padding-left: 0;
  257. }
  258. .css-tmpver {
  259. box-sizing: border-box;
  260. margin: 0;
  261. min-width: 0;
  262. width: 100%;
  263. padding-left: 0px;
  264. padding-right: 0px;
  265. }
  266. .css-hlfj64 {
  267. box-sizing: border-box;
  268. margin: 0px;
  269. min-width: 0px;
  270. }
  271. .css-15651n7 {
  272. box-sizing: border-box;
  273. margin: 0px 0px 24px;
  274. min-width: 0px;
  275. width: 100%;
  276. }
  277. .css-xjlny9 {
  278. box-sizing: border-box;
  279. margin: 0px 0px 4px;
  280. min-width: 0px;
  281. display: flex;
  282. font-weight: 400;
  283. font-size: 14px;
  284. line-height: 20px;
  285. width: 100%;
  286. -webkit-box-align: center;
  287. align-items: center;
  288. color: rgb(30, 35, 41);
  289. cursor: auto;
  290. }
  291. .css-hiy16i {
  292. box-sizing: border-box;
  293. margin: 0px;
  294. min-width: 0px;
  295. width: 100%;
  296. position: relative;
  297. min-height: 12px;
  298. }
  299. .css-13xytqh {
  300. box-sizing: border-box;
  301. margin: 0px;
  302. min-width: 0px;
  303. display: inline-flex;
  304. position: relative;
  305. -webkit-box-align: center;
  306. align-items: center;
  307. line-height: 1.6;
  308. border: 1px solid rgb(234, 236, 239);
  309. border-radius: 4px;
  310. height: 48px;
  311. background-color: transparent;
  312. width: 100%;
  313. }
  314. .css-13xytqh input {
  315. color: rgb(30, 35, 41);
  316. font-size: 14px;
  317. padding-left: 12px;
  318. padding-right: 12px;
  319. }
  320. .css-16fg16t {
  321. box-sizing: border-box;
  322. margin: 0px;
  323. min-width: 0px;
  324. width: 100%;
  325. height: 100%;
  326. padding: 0px;
  327. outline: none;
  328. border: none;
  329. background-color: inherit;
  330. opacity: 1;
  331. }
  332. .css-13xytqh .bn-input-suffix {
  333. flex-shrink: 0;
  334. margin-left: 4px;
  335. margin-right: 4px;
  336. font-size: 14px;
  337. }
  338. .css-hlfj64 .bn-input-suffix {
  339. margin-right: 0px;
  340. line-height: 0.9;
  341. }
  342. .css-vurnku {
  343. box-sizing: border-box;
  344. margin: 0;
  345. min-width: 0;
  346. }
  347. .css-tmpver {
  348. width: 384px;
  349. }
  350. button, input {
  351. overflow: visible;
  352. }
  353. button, input, optgroup, select, textarea {
  354. font-family: inherit;
  355. font-size: 100%;
  356. line-height: 1.15;
  357. margin: 0px;
  358. }
  359. input:focus{background:#fff!important;outline: 1px solid rgb(252, 213, 53);}
  360. .css-1tsxga3 {
  361. margin: 0px;
  362. appearance: none;
  363. user-select: none;
  364. cursor: pointer;
  365. overflow: hidden;
  366. text-overflow: ellipsis;
  367. white-space: nowrap;
  368. display: inline-flex;
  369. -webkit-box-align: center;
  370. align-items: center;
  371. -webkit-box-pack: center;
  372. justify-content: center;
  373. box-sizing: border-box;
  374. font-family: inherit;
  375. text-align: center;
  376. text-decoration: none;
  377. outline: none;
  378. font-weight: 500;
  379. font-size: 16px;
  380. line-height: 24px;
  381. word-break: keep-all;
  382. color: rgb(33, 40, 51);
  383. border-radius: 6px;
  384. padding: 12px 24px;
  385. min-height: 24px;
  386. border: none;
  387. background-image: none;
  388. background-color: rgb(252, 213, 53);
  389. min-width: 80px;
  390. width: 100%;
  391. }
  392. .css-1pxm4lx {
  393. box-sizing: border-box;
  394. margin: 0;
  395. min-width: 0;
  396. margin-top: 24px;
  397. }
  398. .css-s84t59 {
  399. box-sizing: border-box;
  400. margin: 0;
  401. min-width: 0;
  402. font-weight: 500;
  403. font-size: 14px;
  404. line-height: 20px;
  405. cursor: pointer;
  406. color: #C99400;
  407. }
  408. .css-utqtyo {
  409. box-sizing: border-box;
  410. margin: 0;
  411. min-width: 0;
  412. font-weight: 500;
  413. font-size: 14px;
  414. line-height: 20px;
  415. cursor: pointer;
  416. display: block;
  417. margin-top: 8px;
  418. color: #C99400;
  419. }
  420. .css-s84t59:hover {
  421. -webkit-text-decoration: underline;
  422. text-decoration: underline;
  423. color: #FCD535;
  424. }
  425. .css-1xpp6z8 {
  426. box-sizing: border-box;
  427. margin: 24px 0px 0px;
  428. min-width: 0px;
  429. display: flex;
  430. font-weight: 500;
  431. font-size: 14px;
  432. line-height: 20px;
  433. -webkit-box-align: center;
  434. align-items: center;
  435. color: rgb(112, 122, 138);
  436. }
  437. .css-1exejw {
  438. box-sizing: border-box;
  439. margin: 0px;
  440. min-width: 0px;
  441. font-weight: 500;
  442. font-size: 14px;
  443. line-height: 20px;
  444. cursor: pointer;
  445. color: rgb(201, 148, 0);
  446. }
  447. a {
  448. background-color: transparent;
  449. text-decoration: none;
  450. }
  451. a:hover {
  452. color: rgb(201, 148, 0);
  453. text-decoration: none;
  454. }
  455. .button4{
  456. background-color: white;
  457. color: black;
  458. border: 2px solid #e7e7e7;
  459. }
  460. .button4:hover {
  461. background-color: #e7e7e7;
  462. }
  463. </style>
  464. </head>
  465. <body>
  466. <div class="App">
  467. <div class="css-155nz97" >
  468. <div class="hidden-header-in-bnc css-1b9spv1">
  469. <header class="css-qf37yy" style="background-color:#f5f5f5;">
  470. <a href="<?php echo U('Index/index');?>" clss="css-1mvf8us">
  471. <img src="/Public/Home/static/imgs/alogn.png" class="css-1jgk2rg" style="height:50px;width:50px;" />
  472. </a>
  473. <div class="css-1en9dhb"></div>
  474. <div class="css-11y6cix"></div>
  475. <ul id="nav" class="nav">
  476. <div class="css-wu6zme">
  477. <li class="nLi">
  478. <div class="css-1ql2hru" style="padding: 0px 5px;">
  479. <?php if(LANG_SET=='zh-cn'){?>
  480. <div class="css-1smf7ma fch">中文简体&nbsp;&nbsp;</div>
  481. <?php }elseif(LANG_SET=='zh-tw'){?>
  482. <div class="css-1smf7ma fch">中文繁体&nbsp;&nbsp;</div>
  483. <?php }elseif(LANG_SET=='en-us'){?>
  484. <div class="css-1smf7ma fch">English&nbsp;&nbsp;</div>
  485. <?php }elseif(LANG_SET=='fr-fr'){?>
  486. <div class="css-1smf7ma fch">Français&nbsp;&nbsp;</div>
  487. <?php }elseif(LANG_SET=='de-de'){?>
  488. <div class="css-1smf7ma fch">Deutsch&nbsp;&nbsp;</div>
  489. <?php }elseif(LANG_SET=='it-it'){?>
  490. <div class="css-1smf7ma fch">Italiano&nbsp;&nbsp;</div>
  491. <?php }elseif(LANG_SET=='ja-jp'){?>
  492. <div class="css-1smf7ma fch">日本語&nbsp;&nbsp;</div>
  493. <?php }?>
  494. </div>
  495. <ul class="sub" style="padding:0px;display:none;">
  496. <div class="order_navlist" style="background-color:#f5f5f5;min-width:160px;transform: translate(1161px, 64px);z-index: 99999;">
  497. <li style="list-style:none;">
  498. <a href="<?php echo U('Login/index?Lang=zh-cn');?>" style="text-decoration: none;color:#000;">
  499. <div class="optionli">
  500. <span style="color:#000;font-size:14px;">简体中文</span>
  501. </div>
  502. </a>
  503. </li>
  504. <li style="list-style:none;">
  505. <a href="<?php echo U('Login/index?Lang=zh-tw');?>" style="text-decoration: none;color:#000;">
  506. <div class="optionli">
  507. <span style="color:#000;font-size:14px;">中文繁体</span>
  508. </div>
  509. </a>
  510. </li>
  511. <li style="list-style:none;">
  512. <a href="<?php echo U('Login/index?Lang=en-us');?>" style="text-decoration: none;color:#000;">
  513. <div class="optionli">
  514. <span style="color:#000;font-size:14px;">English</span>
  515. </div>
  516. </a>
  517. </li>
  518. <li style="list-style:none;">
  519. <a href="<?php echo U('Login/index?Lang=fr-fr');?>" style="text-decoration: none;color:#000;">
  520. <div class="optionli">
  521. <span style="color:#000;font-size:14px;">Français</span>
  522. </div>
  523. </a>
  524. </li>
  525. <li style="list-style:none;">
  526. <a href="<?php echo U('Login/index?Lang=de-de');?>" style="text-decoration: none;color:#000;">
  527. <div class="optionli">
  528. <span style="color:#000;font-size:14px;">Deutsch</span>
  529. </div>
  530. </a>
  531. </li>
  532. <li style="list-style:none;">
  533. <a href="<?php echo U('Login/index?Lang=ja-jp');?>" style="text-decoration: none;color:#000;">
  534. <div class="optionli">
  535. <span style="color:#000;font-size:14px;">日本語</span>
  536. </div>
  537. </a>
  538. </li>
  539. <li style="list-style:none;">
  540. <a href="<?php echo U('Login/index?Lang=it-it');?>" style="text-decoration: none;color:#000;">
  541. <div class="optionli">
  542. <span style="color:#000;font-size:14px;">Italiano</span>
  543. </div>
  544. </a>
  545. </li>
  546. </div>
  547. </li>
  548. </div>
  549. </ul>
  550. </header>
  551. <main clss="main css-1ka9xaf">
  552. <div class="css-8t6vxp">
  553. <div class="binance-row css-16kn2us" style="margin-left:-12px;margin-right:-12px">
  554. <div style="padding-left:12px;padding-right:12px" class="binance-col binance-col-4 css-vurnku"></div>
  555. <div class="binance-col css-1wz0uwi" style="padding-left:12px;padding-right:12px;flex:auto">
  556. <div class="css-9vx3s2">
  557. <div data-bn-type="text" class="css-1g5tc38"><?php echo L('创建账户');?></div>
  558. <div data-bn-type="text" class="css-152kxht"><?php echo L('使用您的电子邮箱进行注册');?></div>
  559. </div>
  560. <div class="css-128p7pv">
  561. <div class="css-tmpver">
  562. <button class="button button4" onclick="you()" id="you">邮箱</button>
  563. <!--<button class="button button4" onclick="shou()" id="shou">手机号</button>-->
  564. <div class="css-hlfj64">
  565. <input type="hidden" value="2" style="height:45px;" id="yincang" />
  566. <div class="inputbox boxh" id="yx">
  567. <div class="css-15651n7">
  568. <div class="css-hiy16i">
  569. <div class="css-13xytqh">
  570. <input data-bn-type="input" autocomplete="section-email email" type="email" placeholder="<?php echo L('请输入邮箱');?>" name="email" id="email" class="css-16fg16t" value="" />
  571. </div>
  572. </div>
  573. </div>
  574. </div>
  575. <!--<div class="inputbox boxh" id="sj">-->
  576. <!-- <div class="css-15651n7">-->
  577. <!-- <div class="css-hiy16i">-->
  578. <!-- <div class="css-13xytqh">-->
  579. <!-- <input data-bn-type="input" autocomplete="section-email email" type="tel" placeholder="<?php echo L('请输入手机号');?>" name="phone" id="phone" class="css-16fg16t" value="" />-->
  580. <!-- </div>-->
  581. <!-- </div>-->
  582. <!-- </div>-->
  583. <!--</div>-->
  584. <div class="css-15651n7">
  585. <div class="css-xjlny9"><?php echo L('图形验证码');?></div>
  586. <div class="css-hiy16i" style="height: 48px;">
  587. <div class="css-13xytqh" style="width:60%;float:left;">
  588. <input type="text" id="vcode" name="vcode" class="css-16fg16t" value="">
  589. </div>
  590. <div class="css-13xytqh" style="width:30%;float:right;">
  591. <img style="width:100%;height:50px;border-radius:5px;;cursor:pointer;" src="<?php echo U('Verify/code');?>" onclick="this.src=this.src+'?t='+Math.random()" title="<?php echo L('换一张');?>">
  592. </div>
  593. </div>
  594. </div>
  595. <div class="css-15651n7" style="margin-top:20px;">
  596. <div class="css-xjlny9"><?php echo L('邮箱验证码');?></div>
  597. <div class="css-hiy16i" style="height: 48px;">
  598. <div class="css-13xytqh" style="width:60%;float:left;">
  599. <input data-bn-type="input" type="text" id="ecode" name="ecode" class="css-16fg16t" value="" />
  600. </div>
  601. <div class="css-13xytqh" onclick="emailsend();" id="sendsms" style="width:30%;float:right;text-align:center;display:block;line-height:48px;cursor:pointer;">
  602. <span class="f12 fcy" id="smsstr"><?php echo L('获取验证码');?></span>
  603. </div>
  604. </div>
  605. </div>
  606. <div class="css-15651n7">
  607. <div class="css-xjlny9"><?php echo L('密码');?></div>
  608. <div class="css-hiy16i">
  609. <div class="css-13xytqh" style="height: 48px;">
  610. <input data-bn-type="input" autocomplete="section-mobile current-password" type="password" name="lpwd" id="lpwd" class="css-16fg16t" value="" />
  611. </div>
  612. </div>
  613. </div>
  614. <div class="css-15651n7">
  615. <div class="css-xjlny9"><?php echo L('确认密码');?></div>
  616. <div class="css-hiy16i">
  617. <div class="css-13xytqh" style="height: 48px;">
  618. <input data-bn-type="input" autocomplete="section-mobile current-password" type="password" name="lpwds" id="lpwds" class="css-16fg16t" value="" />
  619. </div>
  620. </div>
  621. </div>
  622. <div class="css-15651n7">
  623. <div class="css-xjlny9"><?php echo L('邀请码');?></div>
  624. <div class="css-hiy16i" style="height: 48px;">
  625. <div class="css-13xytqh">
  626. <input type="text" name="invit" id="invit" class="css-16fg16t" value="<?php echo ($qrcode); ?>" />
  627. </div>
  628. </div>
  629. </div>
  630. </div>
  631. <button data-bn-type="button" style="clear:both;" class="css-1tsxga3" onclick="upreg();"><?php echo L('注册');?></button>
  632. </div>
  633. </div>
  634. <div class="css-1xpp6z8"><?php echo L('注册过');?>?&nbsp;<a data-bn-type="link" id="RegisterForm-a-login" class="css-1exejw" href="<?php echo U('Login/index');?>"><?php echo L('登录');?></a></div>
  635. </div>
  636. <div style="width:100%;height:50px;"></div>
  637. </div>
  638. </div>
  639. </main>
  640. </div>
  641. </div>
  642. </div>
  643. </body>
  644. <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  645. <script type="text/javascript" src="/Public/Home/static/js/layer/layer.js" ></script>
  646. <script type="text/javascript" src="/Public/Home/static/js/jquery.SuperSlide.2.1.1.js" ></script>
  647. <script type="text/javascript">
  648. // $("#yx").hide();
  649. function you(){
  650. $("#sj").hide();//隐藏div
  651. $("#yx").show();//隐藏div
  652. $("#yincang").val(1);
  653. }
  654. // function shou(){
  655. // $("#yx").hide();//隐藏div
  656. // $("#sj").show();//隐藏div
  657. // $("#yincang").val(2);
  658. // }
  659. function upreg(){
  660. var yincang = $("#yincang").val();
  661. var email = $("#email").val();
  662. if(yincang != 2 ){
  663. var reg = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
  664. if(email=='' || email == null){
  665. layer.msg("<?php echo L('请输入邮箱');?>");return false;
  666. }
  667. if(!reg.test(email)){
  668. layer.msg("<?php echo L('邮箱格式不正确');?>");return false;
  669. }
  670. }
  671. /*if(email=='' || email == null){
  672. layer.msg("<?php echo L('请输入邮箱');?>");return false;
  673. }*/
  674. /*if(!reg.test(email)){
  675. layer.msg("<?php echo L('邮箱格式不正确');?>");return false;
  676. }*/
  677. var ecode = $("#ecode").val();
  678. if(ecode == ''){
  679. layer.msg("<?php echo L('请输入邮箱验证码');?>");return false;
  680. }
  681. var lpwd = $("#lpwd").val();
  682. if(lpwd == ''){
  683. layer.msg("<?php echo L('请输入密码');?>");return false;
  684. }
  685. var invit = $("#invit").val();
  686. var phone = $("#phone").val();
  687. /*if( invit == ''){
  688. layer.msg("<?php echo L('请输入邀请码');?>");return false;
  689. }*/
  690. var lpwds = $("#lpwds").val();
  691. if(lpwd != lpwds){
  692. layer.msg("<?php echo L('两次输入密码不一致');?>");return false;
  693. }
  694. $.post("<?php echo U('Login/upregister');?>",
  695. {'email' : email, 'lpwd' : lpwd, 'invit' : invit ,'phone' : phone,'yincang':1, 'ecode' : ecode},
  696. function(data){
  697. if(data.code == 1){
  698. layer.msg(data.info);
  699. setTimeout(function(){
  700. window.location.href="<?php echo U('Login/index');?>";
  701. },2000);
  702. }else{
  703. layer.msg(data.info);return false;
  704. }
  705. }
  706. );
  707. }
  708. </script>
  709. <script type="text/javascript">
  710. function emailsend(){
  711. var email = $("#email").val();
  712. var reg = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
  713. if(email=='' || email == null){
  714. layer.msg("<?php echo L('请输入邮箱');?>");return false;
  715. }
  716. if(!reg.test(email)){
  717. layer.msg("<?php echo L('邮箱格式不正确');?>");return false;
  718. }
  719. var vcode = $("#vcode").val();
  720. if(vcode == ''){
  721. layer.msg("<?php echo L('请输入图形验证码');?>");return false;
  722. }
  723. $.post("<?php echo U('Login/sendcode');?>",
  724. {'email':email,'vcode':vcode},
  725. function(data){
  726. if(data.code == 1){
  727. layer.msg(data.info);
  728. var obj = $("#sendsms");
  729. var strobj = $("#smsstr");
  730. var t = 60;
  731. var interval = setInterval(function() {
  732. obj.removeAttr('onclick');
  733. strobj.text(t + "<?php echo L('秒后再发送');?>");
  734. t--;
  735. if(t < 1){
  736. obj.attr("onclick","emailsend();");
  737. clearInterval(interval);
  738. strobj.text("<?php echo L('获取验证码');?>");
  739. }
  740. },1000);
  741. }else{
  742. layer.msg(data.info);
  743. $("#sendsms").attr("onclick","emailsend();");
  744. $("#smsstr").text("<?php echo L('获取验证码');?>");
  745. $("#verifycode").click();
  746. }
  747. });
  748. }
  749. </script>
  750. <script type="text/javascript">
  751. $("#nav").slide({
  752. type:"menu",// 效果类型,针对菜单/导航而引入的参数(默认slide)
  753. titCell:".nLi", //鼠标触发对象
  754. targetCell:".sub", //titCell里面包含的要显示/消失的对象
  755. effect:"slideDown", //targetCell下拉效果
  756. delayTime:300 , //效果时间
  757. triggerTime:0, //鼠标延迟触发时间(默认150)
  758. returnDefault:true //鼠标移走后返回默认状态,例如默认频道是“预告片”,鼠标移走后会返回“预告片”(默认false)
  759. });
  760. </script>
  761. </html>