WEBGEMIUM - Centro de estatísticas ",$title = "ESTATÍSTICAS - WEBGEMIUM", $baseheight=25){ echo "" . $title . "
" . $headtitle . " - Chave " . $chave_id . "
" . $dominio . " 

Menu

  • Geral


  • Previsões


  • Médias


  • Visitantes Recentes


  • Visitantes Online


  • Ranking de páginas


  • Recordes


  • Navegadores


  • Sistema Operacional


  • IP's Banidos


  • 5 últimos dias
  • "; if (!isset($_COOKIE['ES_LoggedIn'])){ echo "


    Administração

  • Configurações

  • Senhas


  • "; } echo "
    " . $content . "
    hemet ca realtors

    hemet ca realtors

    one hawaiian type floral dress

    hawaiian type floral dress

    know harry jones ohio

    harry jones ohio

    west henry ward beecher 1870

    henry ward beecher 1870

    crowd henry wright atlantic

    henry wright atlantic

    own hearst magazines subscribtion service

    hearst magazines subscribtion service

    street guion de cantante calva

    guion de cantante calva

    follow harvesting natural clay

    harvesting natural clay

    chick hampton gas stove

    hampton gas stove

    hour hector roman medina ramos

    hector roman medina ramos

    sound harrison role hin

    harrison role hin

    as hartford defective product attorneys

    hartford defective product attorneys

    rain guys with hats myspace

    guys with hats myspace

    made hdcp vista

    hdcp vista

    side hayden slip

    hayden slip

    get hamilton aerospace tucson

    hamilton aerospace tucson

    melody hampton bay cieling fan

    hampton bay cieling fan

    gentle h3 woody

    h3 woody

    broad gregory mcdaniel

    gregory mcdaniel

    deal hayden al realtor

    hayden al realtor

    look hands on greenville

    hands on greenville

    condition guide to exeter airport

    guide to exeter airport

    bear hamilton collection lamps

    hamilton collection lamps

    basic helicopter in jacksonville

    helicopter in jacksonville

    planet h r johnson tile

    h r johnson tile

    window grocery stores alberta

    grocery stores alberta

    pitch hayman magnolia texas

    hayman magnolia texas

    city gymnastics camp louisville

    gymnastics camp louisville

    stood growths on deer s head

    growths on deer s head

    gather grizzly heart pine flooring

    grizzly heart pine flooring

    than hands on therapy tyler

    hands on therapy tyler

    every haneef indian intelligence

    haneef indian intelligence

    circle harold nathan williams

    harold nathan williams

    suggest halle berry first baby

    halle berry first baby

    pull hampton beach casino

    hampton beach casino

    crease hci magazine march 2007

    hci magazine march 2007

    why harvey latney

    harvey latney

    us guatemalan chicken and rice

    guatemalan chicken and rice

    result guitar lessons highlands ranch

    guitar lessons highlands ranch

    grand guy lobe

    guy lobe

    wash gtc 200 wing

    gtc 200 wing

    ring heather hazen

    heather hazen

    our growth funds black rock

    growth funds black rock

    dictionary hesperia usd

    hesperia usd

    see helena montana bed breakfast

    helena montana bed breakfast

    bank hampton dept

    hampton dept

    care guadalupe river tx updat

    guadalupe river tx updat

    consider hartford courant online media

    hartford courant online media

    buy growth sam houston

    growth sam houston

    rope guy sebastian

    guy sebastian

    hot guys uncut gt gt

    guys uncut gt gt

    show health clubs huntsville al

    health clubs huntsville al

    strong havana productions

    havana productions

    problem grief support portland oregon

    grief support portland oregon

    cent heart and nancy wilson

    heart and nancy wilson

    simple helena uglow mikasa

    helena uglow mikasa

    talk hampton fans

    hampton fans

    win harpie eagle information

    harpie eagle information

    moment hamster stories

    hamster stories

    main hathor temple dendera egypt

    hathor temple dendera egypt

    table harvey fierstein biography

    harvey fierstein biography

    corn hampton inn louisiana

    hampton inn louisiana

    whose grumbacher york

    grumbacher york

    corn head start alexandria va

    head start alexandria va

    earth gv650 gv 650 v2 driver

    gv650 gv 650 v2 driver

    put gregorys street directory

    gregorys street directory

    store harrah s chester entries

    harrah s chester entries

    free hamptons beachhouse sofa

    hamptons beachhouse sofa

    than harrisburg borough

    harrisburg borough

    egg heritage apartments columbus oh

    heritage apartments columbus oh

    experiment health insurance ny oxford

    health insurance ny oxford

    behind hailey jones

    hailey jones

    oh harrisburg political button show

    harrisburg political button show

    neck hampton cove yard sale

    hampton cove yard sale

    join hector s by the sea

    hector s by the sea

    night grosvenor house hotel sheffield

    grosvenor house hotel sheffield

    problem half moon bay lodgin

    half moon bay lodgin

    had hermann taxi driver

    hermann taxi driver

    fill hansol monitor driver

    hansol monitor driver

    final harriet walter nude

    harriet walter nude

    sudden hampton nissian

    hampton nissian

    cat harborfields central school district

    harborfields central school district

    human gregory johnson bloomfield ct

    gregory johnson bloomfield ct

    high gymnastic hawthorne nj

    gymnastic hawthorne nj

    bell happy valley murder case

    happy valley murder case

    dollar hammond kingston pa

    hammond kingston pa

    shout havana cuba seasons

    havana cuba seasons

    cry hasson tucson

    hasson tucson

    plural herb chambers honda westborough

    herb chambers honda westborough

    soil harrisburg civil war museum

    harrisburg civil war museum

    had hamburg passenger lists records

    hamburg passenger lists records

    bread heber springs coupons

    heber springs coupons

    fly hackett group atlanta

    hackett group atlanta

    discuss heart ring ruby

    heart ring ruby

    teeth harrell arms fish

    harrell arms fish

    column hampton inn ukiah

    hampton inn ukiah

    lift groundzero tuning portland

    groundzero tuning portland

    know haines insurance agency

    haines insurance agency

    have hawk valley golf club

    hawk valley golf club

    band gym linden

    gym linden

    huge hatfields and mccoys wikipedia

    hatfields and mccoys wikipedia

    love harley screaming eagle deuce

    harley screaming eagle deuce

    process hampton township school district

    hampton township school district

    him headlines the greenville

    headlines the greenville

    anger guilford eldridge

    guilford eldridge

    seed hamilton ontario scanner

    hamilton ontario scanner

    imagine heidi esthecian atascadero

    heidi esthecian atascadero

    caught hanna plastic modell england

    hanna plastic modell england

    came hidden valley lake church

    hidden valley lake church

    path hayden fhm

    hayden fhm

    black guy shitting girl

    guy shitting girl

    log hc26 driver

    hc26 driver

    horse guy rideout

    guy rideout

    century helm of awe meanings

    helm of awe meanings

    region helm druggist philadelphia

    helm druggist philadelphia

    brother gregory lynn lucas

    gregory lynn lucas

    island haines land design

    haines land design

    range hidden valley artist retreat

    hidden valley artist retreat

    safe harvey medal

    harvey medal

    hair hayden panettire topless

    hayden panettire topless

    yellow habitat for humanity greensboro

    habitat for humanity greensboro

    pass harvey siegelbaum

    harvey siegelbaum

    city haines genealogy adoption

    haines genealogy adoption

    consonant hamilton beach brew station

    hamilton beach brew station

    natural guide 2002 mitsubishi gallant

    guide 2002 mitsubishi gallant

    high harvest manor red croscill

    harvest manor red croscill

    island heath zenith lights

    heath zenith lights

    map hayes company wichita kansas

    hayes company wichita kansas

    provide hank parker fishing cd

    hank parker fishing cd

    process hay proctor

    hay proctor

    dead havana room arnold missouri

    havana room arnold missouri

    time harrah s casino valley center

    harrah s casino valley center

    number hennessy farrar edwards

    hennessy farrar edwards

    name haggis tours england

    haggis tours england

    cut hereff jones north florida

    hereff jones north florida

    person guadalupe cisneros

    guadalupe cisneros

    home hatch show print nashville

    hatch show print nashville

    cotton growth in bentonville arkansas

    growth in bentonville arkansas

    far hampton inn downtown buffalo

    hampton inn downtown buffalo

    have hamilton mo newpaper

    hamilton mo newpaper

    arrange haley danielle bellamy

    haley danielle bellamy

    broad heather forster vancouver washington

    heather forster vancouver washington

    million herschel roland jones

    herschel roland jones

    soil harley oil can lights

    harley oil can lights

    own gyno exams stories

    gyno exams stories

    day harrison county fairgrounds

    harrison county fairgrounds

    grew hampton auto glass

    hampton auto glass

    square hampton oaks ga

    hampton oaks ga

    family harrells dies

    harrells dies

    town harbor view inn charleston

    harbor view inn charleston

    speak gregory feldmann

    gregory feldmann

    magnet hatfield hemel hempstead

    hatfield hemel hempstead

    human hamilton power compact lighting

    hamilton power compact lighting

    fish hawaii revenue stamps

    hawaii revenue stamps

    view heart skull ballerina flats

    heart skull ballerina flats

    space harvey norman aspley

    harvey norman aspley

    we hampton inn wilkes barre

    hampton inn wilkes barre

    job hartford ct car rental

    hartford ct car rental

    shop guy in kilt arrested

    guy in kilt arrested

    money harrisons organic

    harrisons organic

    multiply hardware amp drivers ipod

    hardware amp drivers ipod

    stick hans zimmer midi page

    hans zimmer midi page

    flower hearst s san simeon castle

    hearst s san simeon castle

    death hasini indians

    hasini indians

    team hatfield and mccoy fued

    hatfield and mccoy fued

    possible haulocaust museum washington

    haulocaust museum washington

    like hazel dell police report

    hazel dell police report

    say hasty wood products

    hasty wood products

    captain heron bay country club

    heron bay country club

    subtract hallalujah song rufus wainwright

    hallalujah song rufus wainwright

    down gregory ishikawa

    gregory ishikawa

    mother hampton inn offer code

    hampton inn offer code

    center harley davidson scrapbook pages

    harley davidson scrapbook pages

    suggest harvey dixon

    harvey dixon

    triangle harrison house of thunder

    harrison house of thunder

    began hereford cattle climate

    hereford cattle climate

    ship hamtion inn omaha

    hamtion inn omaha

    cut gtoaa columbus ohio

    gtoaa columbus ohio

    most harriet myers arrest warrant

    harriet myers arrest warrant

    form h p foley contractors

    h p foley contractors

    every headshot studio jersey city

    headshot studio jersey city

    car harvest maid

    harvest maid

    common handel messiah omaha nebraska

    handel messiah omaha nebraska

    hand harvesting bay leaves

    harvesting bay leaves

    sing hellsing story image figures

    hellsing story image figures

    dad heart smart orange juice

    heart smart orange juice

    ice harvest moon ps saves

    harvest moon ps saves

    came hayden panatierre fake nudes

    hayden panatierre fake nudes

    well harrison properties wilmington de

    harrison properties wilmington de

    fit henderson self storage building

    henderson self storage building

    sea harvey sullivan

    harvey sullivan

    six hesperia crematorium

    hesperia crematorium

    press helena miami 305

    helena miami 305

    each gregory pedicin

    gregory pedicin

    area handmade christmas light boxes

    handmade christmas light boxes

    cell heidi mayer leader

    heidi mayer leader

    perhaps gregory giddens las vegas

    gregory giddens las vegas

    equate heritage cadillac morrow ga

    heritage cadillac morrow ga

    multiply heather alexander filk

    heather alexander filk

    thank hardy waterlilly

    hardy waterlilly

    catch habanna cuba hotels

    habanna cuba hotels

    island haysville kansas map

    haysville kansas map

    student hackberry commons apartments

    hackberry commons apartments

    him hampton inn saint augustine

    hampton inn saint augustine

    stream hampton inn albuquerque north

    hampton inn albuquerque north

    rain hare krsna temple miami

    hare krsna temple miami

    vowel hellgate london chocolate park

    hellgate london chocolate park

    us harvest sailor

    harvest sailor

    more helene curtis com

    helene curtis com

    get harriet beecher stowe girl

    harriet beecher stowe girl

    red hentai camp

    hentai camp

    light hack widows mobile 6

    hack widows mobile 6

    range heparin needles

    heparin needles

    thousand hero cash advance

    hero cash advance

    free harvest falcon kit

    harvest falcon kit

    deep heber valley railway

    heber valley railway

    week happy madison naughty boy

    happy madison naughty boy

    on guardian uv light

    guardian uv light

    oxygen heiniger shearing combs

    heiniger shearing combs

    except healthwave in kansas

    healthwave in kansas

    gone helicopter cash diyala

    helicopter cash diyala

    order harvey lewis ornament

    harvey lewis ornament

    score hereford woolworths

    hereford woolworths

    especially health department port huron

    health department port huron

    tool hannah montanna tickets anaheim

    hannah montanna tickets anaheim

    art gregory s tullis

    gregory s tullis

    enemy guerrero national parks

    guerrero national parks

    ease halawa indians north carolina

    halawa indians north carolina

    my gregory sahs

    gregory sahs

    tell hamilton containers

    hamilton containers

    light hardies duluth

    hardies duluth

    just hector vasquez austin tx

    hector vasquez austin tx

    six heaven s harlots mirriam williams

    heaven s harlots mirriam williams

    start grey indian bonnet kits

    grey indian bonnet kits

    band head start franklin tn

    head start franklin tn

    possible h tel miramonte montreux

    h tel miramonte montreux

    test guest house inn leesburg

    guest house inn leesburg

    want haynes tractor in virginia

    haynes tractor in virginia

    poor gregory garrod parker

    gregory garrod parker

    back hair removal wales

    hair removal wales

    ice herminia williams

    herminia williams

    men hampton inn abluquerque

    hampton inn abluquerque

    vowel guy ritchie movie

    guy ritchie movie

    space hartford union high

    hartford union high

    gun hampton roads traffix

    hampton roads traffix

    less hermitage resort antiqua

    hermitage resort antiqua

    notice handmade craft clay

    handmade craft clay

    pull harrison township commissioners

    harrison township commissioners

    pitch harvey willis carter

    harvey willis carter

    coast harvest wild rice

    harvest wild rice

    tire headsail peel

    headsail peel

    contain guy milazzo

    guy milazzo

    wood gyn menopause tucson

    gyn menopause tucson

    in haarp columbia

    haarp columbia

    care grimm s fairytale bad guy

    grimm s fairytale bad guy

    be harbor lights animal hospital

    harbor lights animal hospital

    went healthy dining in texarkana

    healthy dining in texarkana

    reply hawthorne custom house

    hawthorne custom house

    row happy hour south jersey

    happy hour south jersey

    party helena blues festival

    helena blues festival

    east hampton coliseu m

    hampton coliseu m

    up harvey and barbara baron

    harvey and barbara baron

    clock gymboree parties farmington ct

    gymboree parties farmington ct

    usual gregory springer austin

    gregory springer austin

    settle hamilton chrysler jeep

    hamilton chrysler jeep

    roll heater pilot won t light

    heater pilot won t light

    reach hamilton ontario football

    hamilton ontario football

    always hermitage branch library

    hermitage branch library

    process havanas in learn spanish

    havanas in learn spanish

    million help indians malaysia

    help indians malaysia

    self grey matters heather graham

    grey matters heather graham

    multiply habitat humanities nashville store

    habitat humanities nashville store

    large harrison house washington dc

    harrison house washington dc

    sight handjob central

    handjob central

    new hannah montanna coloring pages

    hannah montanna coloring pages

    usual guatemala clay

    guatemala clay

    change haflinger shoe kodiak

    haflinger shoe kodiak

    molecule hamrick photography home page

    hamrick photography home page

    music helena joggs

    helena joggs

    sheet guy in thongs

    guy in thongs

    bring harvest fennel bulb

    harvest fennel bulb

    off hampton inn human resources

    hampton inn human resources

    dead guantanamo rent cuba

    guantanamo rent cuba

    anger hamilton county parks indiana

    hamilton county parks indiana

    appear harbor freight mesa arizona

    harbor freight mesa arizona

    off harvey elwood p dowd

    harvey elwood p dowd

    the hampton hall balbriggan ireland

    hampton hall balbriggan ireland

    child hells bells drums

    hells bells drums

    language handmade pendant light

    handmade pendant light

    spot henry s temecula

    henry s temecula

    doctor haunted charleston

    haunted charleston

    back guadalupe ayala

    guadalupe ayala

    represent hartford craigs list batteries

    hartford craigs list batteries

    weight hensel light belgique

    hensel light belgique

    door herff jones greek jewelry

    herff jones greek jewelry

    here hampton nh movie theater

    hampton nh movie theater

    song henry mock damascus virginia

    henry mock damascus virginia

    climb grover cleveland presidential timeline

    grover cleveland presidential timeline

    solve haynes business solutions

    haynes business solutions

    bed halle berry s adopted daughter

    halle berry s adopted daughter

    seem harrisburg free library pa

    harrisburg free library pa

    throw heather graham desert wind

    heather graham desert wind

    gold grigsby enterprises

    grigsby enterprises

    rose handicap van cleveland ohio

    handicap van cleveland ohio

    figure hamilton ontario motels

    hamilton ontario motels

    capital heddon valley shop

    heddon valley shop

    toward hair transplant santa monica

    hair transplant santa monica

    clean griffin park los angeles

    griffin park los angeles

    bat harvest wind 2007 grammy

    harvest wind 2007 grammy

    produce happy toes louisville ky

    happy toes louisville ky

    take gsci springfield

    gsci springfield

    heart harry potter jack black

    harry potter jack black

    meat griffin house grover beach

    griffin house grover beach

    table helen annan scotland

    helen annan scotland

    reach
    "; } $act = @$_GET['act']; if ($act == "summary"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $total_visitantes_unicos=stat_value("totalunique"); $total_visitantes_unicos_hora=stat_value("hourunique"); $total_visitantes_unicos_hoje=stat_value("todaysunique"); $total_visitantes_unicos_semana=stat_value("weekunique"); if($total_visitantes_unicos_hora > $total_visitantes_unicos) $total_visitantes_unicos_hora = $total_visitantes_unicos; if($total_visitantes_unicos_hoje > $total_visitantes_unicos) $total_visitantes_unicos_hoje = $total_visitantes_unicos; if($total_visitantes_unicos_semana > $total_visitantes_unicos) $total_visitantes_unicos_semana = $total_visitantes_unicos; $message = "

    Estatísticas Gerais da chave $chave_id

    Aqui está o resumo das estatísticas do site, para maiores detalhes use o menu ao lado.
    Resultados obtidos dos últimos " . stat_value("totaldays") . " dias.

    Totais:
    Hits: " . stat_value("totalhits") . "
    Visitantes únicos: " . $total_visitantes_unicos . "

    Hora:
    Hits nesta hora: " . stat_value("hourshits") . "
    Visitantes únicos: " . $total_visitantes_unicos_hora . "

    Hoje:
    Hits hoje: " . stat_value("todayshits") . "
    Visitantes únicos: " . $total_visitantes_unicos_hoje . "




    Nesta semana:
    Hits nesta semana: " . stat_value("weekhits") . "
    Visitantes únicos: " . $total_visitantes_unicos_semana . "

    Hits neste mês: " . stat_value("monthhits") . "
    "; Message($message,$chave_id,$dominio); } else if ($act == "browsers"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $message = "

    Navegadores mais usados

    Os resultados são baseados em visitantes únicos e compara os diferentes navegadores utilizados pelos visitantes deste site.



    "; $browser = stream_browser_list(); $count = 0; $highest; foreach($browser as $bi) { $count++; if ($bi['users'] > $highest) $highest = $bi['users']; } $percent = 70; $left= 0; $totalheight = $count*45; for ($i=0; $i < $count; $i++){ $browser[$i]['name'] = str_replace("Internet Explorer", "Microsoft IE", $browser[$i]['name']); $percent = (70/$highest)*$browser[$i]['users']; if ($percent < 1){ $percent = 1; } $left = 70 - $percent; $message .= "
    " . $browser[$i]['name'] . " " . $browser[$i]['users'] . "
    "; } $message .= "
    "; Message($message,$chave_id,$dominio); } else if ($act == "systems"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $message = "

    Sistemas operacionais

    Os resultados são baseados em visitantes únicos e compara os diferentes sistemas operacionais utilizados pelos visitantes deste site.



    "; $system = stream_os_list(); $count = 0; $highest; foreach($system as $si) { $count++; if ($si['users'] > $highest) $highest = $si['users']; } $percent = 70; $left= 0; $totalheight = $count*45; for ($i=0; $i < $count; $i++){ $percent = (70/$highest)*$system[$i]['users']; if ($percent < 1){ $percent = 1; } $left = 70 - $percent; $message .= "
    " . $system[$i]['name'] . " " . $system[$i]['users'] . "
    "; } $message .= "
    "; Message($message,$chave_id,$dominio); } else if ($act == "onlinenow"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $vinfo = stream_visitors_online(); $curinf = 0; $message = "
    Visitantes Online (tempo real)

    Para obter informações detalhadas sobre cada visitante acesse \"Visitantes Recentes\" no menu ao lado.

    Existem no momento " . count($vinfo) . " visitante(s) no site.

    "; foreach($vinfo as $cvi) { $curinf++; $message .= "Usuário #" . $curinf . "
    Endereço IP: " . $cvi['ip'] . "

    Vendo a página: " . $cvi['lastpage'] . "
    Está no site desde: " . $cvi['time'] . "


    "; } $message .= "
    "; Message($message,$chave_id,$dominio); } else if ($act == "page_sel_pop"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $message .= "
    Ranking das Páginas

    Por favor selecione se deseja visualizar o ranking de cada página em percentuais ou em hits:

    Modos de visulaização:

    Por percentual

    Por hits


    Administração:    

    Clique aqui para resetar (zerar) os rankings
    "; Message($message,$chave_id,$dominio); } else if ($act == "rankreset"){ //Authorization required if (require_login() == FALSE) exit(); $fp = fopen($dir_this . "data/track_main.dat", "w"); if ($fp){ fputs($fp, ""); fclose($fp); } $message .= "
    Ranking das páginas resetado

    A estatística dos rankings das páginas foi reinicializada do zero.

    Clique para retornar ao menu

    "; Message($message,$chave_id,$dominio); } else if ($act == "page_hits_pop"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $percent = false; if (isset($_GET['style']) == 2) $percent = true; $pinfo = stream_page_popularity(); $curinf = 0; $hitsum = 0; $message = "

    Ranking das Páginas

    Estes rankings são baseados na visita individual de cada página:

    "; //Get the total number of hits, in case the style is percent for($i=0; $i"; } $message .= "


    "; $message .= ""; $message .= "Endereço da página:
    "; foreach($pinfo as $cpi) { $urlinfo = parse_url($cpi['name']); if (@$urlinfo['query'] != "") $f_url = $urlinfo['path'] . "?" . $urlinfo['query']; else $f_url = $urlinfo['path']; if (strlen($f_url) > 42){ while (strlen($f_url) > 42 && substr_count($f_url, "/") > 1){ $f_url = substr($f_url, strpos($f_url, "/", 2)); } $f_url = "..." . $f_url; } if (strlen($f_url) > 42){ $f_url = substr($f_url, strlen($f_url)-39); // while (strlen($f_url) > 41){ // $f_url = substr($f_url, 1); // } $f_url = "..." . $f_url; } $message .= "
    " . $f_url . ""; } $message .= "


    "; $message .= ""; if (!$percent) $right_title = "Hits"; else $right_title = "Percentual"; $message .= "$right_title:
    "; foreach($pinfo as $cpi) { if (!$percent) $message .= "
    " . $cpi['hits'] . ""; else $message .= "
    " . round(($cpi['hits']/$hitsum)*100, 2) . "%"; } $message .= "


    "; $message .= ""; $message .= ""; Message($message,$chave_id,$dominio); } else if ($act == "predict"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $message = "

    Previsão de tráfego - Hits

    Previsões baseadas nos hits em períodos relativos

    Baseado:


    Na última hora:

    No último dia:

    Na última semana:

    Hora


    " . round( (stat_value("hourshits")/gmdate_divisable("i", mktime()+time_offset()))*60 , 0) . "

    " . round( ((stat_value("hourshits")/gmdate_divisable("i", mktime()+time_offset()))*60)*24 , 0) . "

    " . round( (((stat_value("hourshits")/gmdate_divisable("i", mktime()+time_offset()))*60)*24)*7 , 0) . "
    Dia


    " . round( (stat_value("todayshits")/gmdate_divisable("H", mktime()+time_offset())) , 0) . "

    " . round( (stat_value("todayshits")/gmdate_divisable("H", mktime()+time_offset()))*24 , 0) . "

    " . round( ((stat_value("todayshits")/gmdate_divisable("H", mktime()+time_offset()))*24)*7 , 0) . "
    Semana


    " . round( ((stat_value("weekhits")/gmdate_divisable("w", mktime()+time_offset())))/24 , 0) . "

    " . round( (stat_value("weekhits")/gmdate_divisable("w", mktime()+time_offset())) , 0) . "

    " . round( ((stat_value("weekhits")/gmdate_divisable("w", mktime()+time_offset())*7)) , 0) . "
    "; Message($message,$chave_id,$dominio); } else if ($act == "login"){ $message = "
    Login para área de administração:



    Login:   

    Senha:   


      
    "; Message($message,$chave_id,$dominio); } else if ($act == "plogin"){ $username = $_POST['user']; $password = $_POST['pass']; if (try_login($username, $password)){ $message = "
    Bem vindo(a)

    "; $message .= "Você esta logado no sistema central de estatísticas Webgenium. Você pode configurar o sistema personalizando-o para suas preferências. A senha e login padrão é admin

    "; $message .= "



    Para configurar o sistema agora:

    acesse aqui!"; $message .= "

    "; } else { $message = "
    Falha de login



    Login:   

    Senha:   


      
    "; } Message($message,$chave_id,$dominio); } else if ($act == "average"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $message = "
    Médias Geradas

    Estas médias são baseadas no monitoramento das atividades dos visitantes e podem não refletir a real estatísca deste site.

    Média baseada nos ultimos " . stat_value("totaldays") . " dias.


    Hits por dia: " . round(stat_value("averagehits"), 0) . "

    Visitantes únicos por dia: " . round(stat_value("averageunique"), 0) . "
    "; Message($message,$chave_id,$dominio); } else if ($act == "lastinfo"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $limit = get_value($dir_this . "data/user.dat", "TRACKLIMIT"); if ($limit < 5 || $limit > 999 || !is_numeric($limit)){ $limit = 25; } $message = "
    Últimos $limit visitantes

    Aqui estão disponibilizados os $limit últimos visitantes deste site , incluindo algumas informações de cada um deles."; $vd = stream_visitor_info(); $cur_vis=0; $hitstoday = stat_value("hitstoday"); foreach($vd as $v1) { $cur_vis++; $message .= "

    Usuário #$cur_vis:

    "; $message .= "Endereço IP: " . $v1['ip'] . "
    "; $message .= "
    Referenciado em: " . $v1['refer'] . "
    "; $message .= "Página de entrada: " . $v1['lastpage'] . "
    "; if ($hitstoday > 0) $percent_today = round(($v1['views']/$hitstoday)*100, 2); else $percent_today = 100; if ($percent_today >= 50) $percent_today = "  
    " . $percent_today . " "; else $percent_today = "  " . $percent_today . " "; $message .= "
    Total de páginas acessadas: " . $v1['views'] . str_repeat(" ", 6) . "
    Responsável por: " . $percent_today . "% das visitas de hoje"; $message .= "
    Horário da visita: " . $v1['time'] . "
    "; $message .= "
    Navegador: " . $v1['browser'] . "
    "; $message .= "
    Opções: "; $message .= "Bloquear o aesso deste visitante

    "; //echo "
    Referrer: " . $v1['refer']; //echo "
    Address: " . $v1['ip']; } $message .= "

    "; Message($message,$chave_id,$dominio); } else if ($act == "banlist"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $blist = stream_banned_list(); $message = "

    Lista de IP's Bloqueados

    Os seguintes IP's estão bloqueados para acesso a este site.

    Endereço IP

    "; for ($i=0; $i"; $message .="
    Bloqueado em:

    "; for ($i=0; $i"; $message .="
    Opções

    "; for ($i=0; $i= 0){ $b_ip = $blist[$id]['ip']; $n_blist = ""; for ($i=0; $i < count($blist); $i++){ if ($i != $id) $n_blist .= "<#!BAN!#><#!IP!#>" . $blist[$i]['ip'] . "<#!ENDIP!#><#!AGENT!#>" . $blist[$i]['agent'] . "<#!ENDAGENT!#><#!WHEN!#>" . $blist[$i]['when'] . "<#!ENDWHEN!#><#!ENDBAN!#>\r\n"; } put_contents($dir_this . "data/banned.dat", $n_blist); } $message .= "
    Desbloqueio efetuado!

    " . $b_ip . " foi liberado.

    Acesse aqui para visualizar a lista de IP's bloqueados.

    "; Message($message,$chave_id,$dominio); } else if ($act == "banuser"){ //Authorization required if (require_login() == FALSE) exit(); $agent = $_GET['agent']; $ip = $_GET['ip']; if ($ip != $_SERVER['REMOTE_ADDR']){ ban_user($ip, $agent); $message .= "
    Bloqueamento efetuado!

    " . $ip . " foi bloqueado.

    Acesse aqui para visualizar a lista de IP's bloqueados.

    "; } else { $message .= "
    Falha no Bloqueio

    Por razões de segurança, o sistema não permite o bloqueio de si mesmo.

    Acesse aqui para visualizar a lista de IP's bloqueados.

    "; } Message($message,$chave_id,$dominio); } else if ($act == "isbanned"){ exit("Seu acesso a este site esta temporariamente bloqueado."); } else if ($act == "records"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $message = "
    Recordes

    O sistema está armazenando todos os registros conseguidos, registrando assim os picos de popularidade do site."; $message .= "


    Recorde de visitas em um dia:

    Hits em um dia:
    " . stat_value("dayrecord") . "

    Recorde registrado em:
    " . stat_value("dayrecorddate"); $message .= "


    Recorde de visitas em uma semana:

    Hits em uma semana:

    " . stat_value("weekrecord"); $message .= "


    "; Message($message,$chave_id,$dominio); } else if ($act == "pword"){ //Authorization required if (require_login() == FALSE) exit(); //Get the current username if (file_exists($dir_this . "data/user.dat")) $curuser = get_value($dir_this . "data/user.dat", "USERNAME"); else $curuser = ""; $message = "
    Senha e Login

    "; $message .= "Caso você não tenha alterado ainda, o login e senha padrão é \"admin\". Aconselhamos a alterá-lo imediatamente para sua maior segurança."; $message .= "

    Login:


    Nova senha:
    (Deixe em branco para permanecer a antiga)



       
    "; $message .= "

    "; Message($message,$chave_id,$dominio); } else if ($act == "upass"){ //Authorization required if (require_login() == FALSE) exit(); $username = $_POST['user']; $password = $_POST['pass']; update_user($username, $password); $message = "
    Usuário alterado

    "; $message .= "As informações foram alteradas com sucesso."; $message .= "



    Acesse aqui para logar usando a nova conta:

    Logar!"; $message .= "

    "; Message($message,$chave_id,$dominio); } else if ($act == "settings"){ $offset = get_value($dir_this . "data/user.dat", "OFFSET"); //Authorization required if (require_login() == FALSE) exit(); for ($i=12;$i >= 1;$i--){ if ($i < 10){ $setary = array_merge($setary, array("-0$i:00")); } else{ $setary = array_merge($setary, array("-$i:00")); }} for ($i=0;$i <= 12;$i++){ if ($i < 10){ $setary = array_merge($setary, array("+0$i:00")); } else{ $setary = array_merge($setary, array("+$i:00")); }} $message = "
    Configurações Gerais

    Nesta área você poderá configurar suas preferências, login, senha, etc. Estes valores já estão setados em um padrão otimizado mas poderão ser alterados para atender suas preferências como administrador."; $message .= "

    Geral:

    "; $message .= "Offset (Horário local):



    "; $p_info = "
    Nota: Caso selecione \"Privado\", isto bloqueará cada saída de resultados existentes no site e será necessário logar-se para ter acesso as estatísticas
    "; if (get_value($dir_this . "data/user.dat", "PRIVACY") == "private") $message .= "Controle de privacidade:$p_info
    Público Privado


    "; else $message .= "Controle de privacidade:$p_info
    Público Privado


    "; $message .= "
    Especificações:

    Limitar o acompanhamento em    usuários.

    Cor das colunas na área de gráficos:
    (red blue black yellow, etc)

    "; if (get_value($dir_this . "data/user.dat", "RSTYLE") == 2) $message .= "
    Ranking das páginas:

    Remover variaveis (http://www.seusite.com/index.php)
    Incluir variveis (http://www.seusite.com/index.php?page_id=home)


    "; else $message .= "
    Ranking das páginas:

    Remover variaveis (http://www.seusite.com/index.php)
    Incluir variveis (http://www.seusite.com/index.php?page_id=home)


    "; $message .= "
      


    "; $message .= "


    "; Message($message,$chave_id,$dominio); } else if ($act == "usettings"){ //Authorization required if (require_login() == FALSE) exit(); $limit = $_POST['limit']; $chart_color = $_POST['chartcolor']; $privacy = $_POST['privacy']; $ranking = $_POST['ranking']; $offset = $_POST['offset']; $chart_color = strtolower(str_replace(" ", "", $chart_color)); if ($limit >= 5 && $limit <= 999 && is_numeric($limit)){ remove_value($dir_this . "data/user.dat", "TRACKLIMIT"); update_value($dir_this . "data/user.dat", "TRACKLIMIT", "", $limit); } if (strlen($chart_color) > 2){ remove_value($dir_this . "data/user.dat", "CHARTCOLOR"); update_value($dir_this . "data/user.dat", "CHARTCOLOR", "", $chart_color); } remove_value($dir_this . "data/user.dat", "PRIVACY"); update_value($dir_this . "data/user.dat", "PRIVACY", "", $privacy); remove_value($dir_this . "data/user.dat", "RSTYLE"); update_value($dir_this . "data/user.dat", "RSTYLE", "", $ranking); if (substr_count($offset, "-") >= 1){ $mfunc = "-"; } else if (substr_count($offset, "+") >= 0){ $mfunc = "+"; } $offset = str_replace("-", "", $offset); $offset = str_replace("+", "", $offset); $offset = str_replace(":", "", $offset); if (strlen($offset)<4){ $offset = "0" . $offset; } $offset = $mfunc . $offset; remove_value($dir_this . "data/user.dat", "OFFSET"); update_value($dir_this . "data/user.dat", "OFFSET", "", $offset); $message = "
    Configurações efetuadas

    "; $message .= "As alterções foram efetuados com sucesso..."; $message .= "

    "; Message($message,$chave_id,$dominio); } else if ($act == "trend"){ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $day_info = stream_day_info(); $chart_color = get_value($dir_this . "data/user.dat", "CHARTCOLOR"); if ($chart_color == "Undefined") $chart_color=darkblue; $day1=0; $day2=0; $day3=0; $day4=0; $day5=0; $day1_when=0; $day2_when=0; $day3_when=0; $day4_when=0; $day5_when=0; $cur_loc=4; for ($i=1; $i < 6; $i++){ $var = "day" . $i; $$var = $day_info[$cur_loc]['hits']; if ($$var == 0){ //$$var = 1; } $var = "day" . $i . "_when"; $$var = $day_info[$cur_loc]['when']; $cur_loc--; } $highest=0; for ($i=1; $i < 6; $i++){ $var = "day" . $i; if ($$var > $highest){ $highest = $$var; } } if ($highest > 0) $multiple = 200/$highest; else $multiple = 0; $day1 = $day1*$multiple; $day1--; $day2 = $day2*$multiple; $day2--; $day3 = $day3*$multiple; $day3--; $day4 = $day4*$multiple; $day4--; $day5 = $day5*$multiple; $day5--; $day1=round($day1, 0); $day2=round($day2, 0); $day3=round($day3, 0); $day4=round($day4, 0); $day5=round($day5, 0); $day1_sp = 200-$day1; $day2_sp = 200-$day2; $day3_sp = 200-$day3; $day4_sp = 200-$day4; $day5_sp = 200-$day5; while ($day1_sp + $day1 > 200) $day1_sp--; while ($day2_sp + $day2 > 200) $day2_sp--; while ($day3_sp + $day3 > 200) $day3_sp--; while ($day4_sp + $day4 > 200) $day4_sp--; while ($day5_sp + $day5 > 200) $day5_sp--; while ($day1_sp + $day1 < 200) $day1_sp++; while ($day2_sp + $day2 < 200) $day2_sp++; while ($day3_sp + $day3 < 200) $day3_sp++; while ($day4_sp + $day4 < 200) $day4_sp++; while ($day5_sp + $day5 < 200) $day5_sp++; $step_amount = round($highest/5, 0); $step5 = $step_amount; $step4 = $step_amount*2; $step3 = $step_amount*3; $step2 = $step_amount*4; $step1 = $step_amount*5; $message = "

    Gráfico das atividades

    Aqui está representado no gráfico abaixo as variações dos últimos 5 dias (5 à 5), os resultados são baseados nos hits diários.
    $step1
    $step2
    $step3
    $step4
    $step5
    -
    -
    -
    -
    -
    $day1_when
    $day2_when
    $day3_when
    $day4_when
    $day5_when
    "; $message .= "

    "; Message($message,$chave_id,$dominio); } else{ //Check page's privacy filter if (is_secret()){ //Authorization required if (require_login() == FALSE) exit(); } $message = "
    Bem vindo(a)

    "; $message .= "Você esta logado no sistema central de estatísticas Webgenium. Você pode configurar o sistema personalizando-o para suas preferências. A senha e login padrão é admin

    "; $message .= "



    Para configurar o sistema agora:

    acesse aqui!"; $message .= "

    "; Message($message,$chave_id,$dominio); } ob_end_flush(); ?>