Browse Source

0.0.5.30.6

master
racha.non 9 years ago
parent
commit
198a35b0ed
  1. 4
      js/stdb.js

4
js/stdb.js

@ -41,7 +41,7 @@ function getStartPage(){
function LogoutPage(){ function LogoutPage(){
localStorage.removeItem('token'); localStorage.removeItem('token');
sessionStorage.removeItem('token'); sessionStorage.removeItem('token');
window.location.href = 'login.html' window.location.href = 'index.html'
} }
function getStat(){ function getStat(){
@ -120,7 +120,7 @@ function getUser(status){
function getDataStat(respone){ function getDataStat(respone){
getUser('first'); getUser('first');
// console.log(respone) // console.log(respone)
document.getElementById("like").innerHTML = '0' document.getElementById("like").innerHTML = respone.items.completed
document.getElementById("status").innerHTML = '+'+respone.items.recent_update document.getElementById("status").innerHTML = '+'+respone.items.recent_update
document.getElementById("accountActive").innerHTML = respone.users.active document.getElementById("accountActive").innerHTML = respone.users.active
document.getElementById("numAll").innerHTML = respone.items.all document.getElementById("numAll").innerHTML = respone.items.all

Loading…
Cancel
Save