├── .gitignore ├── .htaccess ├── LICENSE ├── README.md ├── clsAWStats.php ├── clsPage.php ├── config.dist.php ├── defaults.php ├── index.php ├── js ├── constants.js ├── excanvas.js ├── jawstats.js ├── jawstats_mail.js ├── jawstats_web.js ├── jquery.flot.crosshair.js ├── jquery.flot.js ├── jquery.flot.label.js ├── jquery.flot.navigate.js ├── jquery.flot.pie.js ├── jquery.flot.stack.js ├── jquery.flot.threshold.js ├── jquery.js ├── jquery.json.js ├── jquery.tablesorter.js └── packed.js ├── json_info.php ├── languages ├── cs.js ├── da.js ├── de-de.js ├── es-es.js ├── fr.js ├── jp.js ├── nl.js ├── pl.js ├── pt.js ├── sv.js ├── translations.php ├── zh-cn.js └── zh-tw.js ├── site-configs ├── .gitignore └── example.com.dist.php ├── themes └── default │ ├── browsers │ ├── camino.gif │ ├── chrome.gif │ ├── firefox.gif │ ├── icab.gif │ ├── konqueror.gif │ ├── libwww.gif │ ├── lotusnotes.gif │ ├── mozilla.gif │ ├── msie.gif │ ├── netscape.gif │ ├── omniweb.gif │ ├── opera.gif │ ├── otherbrowsers.gif │ ├── safari.gif │ ├── unknown.gif │ └── wget.gif │ ├── changemonth │ ├── first.gif │ ├── first_off.gif │ ├── first_on.gif │ ├── last.gif │ ├── last_off.gif │ ├── last_on.gif │ ├── next.gif │ ├── next_off.gif │ ├── next_on.gif │ ├── prev.gif │ ├── prev_off.gif │ └── prev_on.gif │ ├── flags │ ├── ad.gif │ ├── ae.gif │ ├── af.gif │ ├── ag.gif │ ├── ai.gif │ ├── al.gif │ ├── am.gif │ ├── an.gif │ ├── ao.gif │ ├── ar.gif │ ├── as.gif │ ├── at.gif │ ├── au.gif │ ├── aw.gif │ ├── ax.gif │ ├── az.gif │ ├── ba.gif │ ├── bb.gif │ ├── bd.gif │ ├── be.gif │ ├── bf.gif │ ├── bg.gif │ ├── bh.gif │ ├── bi.gif │ ├── bj.gif │ ├── bm.gif │ ├── bn.gif │ ├── bo.gif │ ├── br.gif │ ├── bs.gif │ ├── bt.gif │ ├── bv.gif │ ├── bw.gif │ ├── by.gif │ ├── bz.gif │ ├── ca.gif │ ├── catalonia.gif │ ├── cc.gif │ ├── cd.gif │ ├── cf.gif │ ├── cg.gif │ ├── ch.gif │ ├── ci.gif │ ├── ck.gif │ ├── cl.gif │ ├── cm.gif │ ├── cn.gif │ ├── co.gif │ ├── cr.gif │ ├── cs.gif │ ├── cu.gif │ ├── cv.gif │ ├── cx.gif │ ├── cy.gif │ ├── cz.gif │ ├── de.gif │ ├── dj.gif │ ├── dk.gif │ ├── dm.gif │ ├── do.gif │ ├── dz.gif │ ├── ec.gif │ ├── ee.gif │ ├── eg.gif │ ├── eh.gif │ ├── england.gif │ ├── er.gif │ ├── es.gif │ ├── et.gif │ ├── eu.gif │ ├── europeanunion.gif │ ├── fam.gif │ ├── fi.gif │ ├── fj.gif │ ├── fk.gif │ ├── fm.gif │ ├── fo.gif │ ├── fr.gif │ ├── ga.gif │ ├── gb.gif │ ├── gd.gif │ ├── ge.gif │ ├── gf.gif │ ├── gh.gif │ ├── gi.gif │ ├── gl.gif │ ├── gm.gif │ ├── gn.gif │ ├── gp.gif │ ├── gq.gif │ ├── gr.gif │ ├── gs.gif │ ├── gt.gif │ ├── gu.gif │ ├── gw.gif │ ├── gy.gif │ ├── hk.gif │ ├── hm.gif │ ├── hn.gif │ ├── hr.gif │ ├── ht.gif │ ├── hu.gif │ ├── id.gif │ ├── ie.gif │ ├── il.gif │ ├── in.gif │ ├── io.gif │ ├── iq.gif │ ├── ir.gif │ ├── is.gif │ ├── it.gif │ ├── jm.gif │ ├── jo.gif │ ├── jp.gif │ ├── ke.gif │ ├── kg.gif │ ├── kh.gif │ ├── ki.gif │ ├── km.gif │ ├── kn.gif │ ├── kp.gif │ ├── kr.gif │ ├── kw.gif │ ├── ky.gif │ ├── kz.gif │ ├── la.gif │ ├── lb.gif │ ├── lc.gif │ ├── li.gif │ ├── lk.gif │ ├── lr.gif │ ├── ls.gif │ ├── lt.gif │ ├── lu.gif │ ├── lv.gif │ ├── ly.gif │ ├── ma.gif │ ├── mc.gif │ ├── md.gif │ ├── me.gif │ ├── mg.gif │ ├── mh.gif │ ├── mk.gif │ ├── ml.gif │ ├── mm.gif │ ├── mn.gif │ ├── mo.gif │ ├── mp.gif │ ├── mq.gif │ ├── mr.gif │ ├── ms.gif │ ├── mt.gif │ ├── mu.gif │ ├── mv.gif │ ├── mw.gif │ ├── mx.gif │ ├── my.gif │ ├── mz.gif │ ├── na.gif │ ├── nc.gif │ ├── ne.gif │ ├── nf.gif │ ├── ng.gif │ ├── ni.gif │ ├── nl.gif │ ├── no.gif │ ├── np.gif │ ├── nr.gif │ ├── nu.gif │ ├── nz.gif │ ├── om.gif │ ├── pa.gif │ ├── pe.gif │ ├── pf.gif │ ├── pg.gif │ ├── ph.gif │ ├── pk.gif │ ├── pl.gif │ ├── pm.gif │ ├── pn.gif │ ├── pr.gif │ ├── ps.gif │ ├── pt.gif │ ├── pw.gif │ ├── py.gif │ ├── qa.gif │ ├── re.gif │ ├── ro.gif │ ├── rs.gif │ ├── ru.gif │ ├── rw.gif │ ├── sa.gif │ ├── sb.gif │ ├── sc.gif │ ├── scotland.gif │ ├── sd.gif │ ├── se.gif │ ├── sg.gif │ ├── sh.gif │ ├── si.gif │ ├── sj.gif │ ├── sk.gif │ ├── sl.gif │ ├── sm.gif │ ├── sn.gif │ ├── so.gif │ ├── sr.gif │ ├── st.gif │ ├── sv.gif │ ├── sy.gif │ ├── sz.gif │ ├── tc.gif │ ├── td.gif │ ├── tf.gif │ ├── tg.gif │ ├── th.gif │ ├── tj.gif │ ├── tk.gif │ ├── tl.gif │ ├── tm.gif │ ├── tn.gif │ ├── to.gif │ ├── tr.gif │ ├── trans.gif │ ├── tt.gif │ ├── tv.gif │ ├── tw.gif │ ├── tz.gif │ ├── ua.gif │ ├── ug.gif │ ├── uk.gif │ ├── um.gif │ ├── us.gif │ ├── uy.gif │ ├── uz.gif │ ├── va.gif │ ├── vc.gif │ ├── ve.gif │ ├── vg.gif │ ├── vi.gif │ ├── vn.gif │ ├── vu.gif │ ├── wales.gif │ ├── wf.gif │ ├── ws.gif │ ├── ye.gif │ ├── yt.gif │ ├── za.gif │ ├── zm.gif │ └── zw.gif │ ├── images │ ├── change_language.gif │ ├── change_language_on.gif │ ├── control_bg.gif │ ├── external_link.png │ ├── loading.gif │ ├── logo.gif │ ├── tab_left.gif │ ├── tab_right.gif │ ├── tablesorter_asc.gif │ ├── tablesorter_bg.gif │ ├── tablesorter_desc.gif │ ├── taboff_left.gif │ └── taboff_right.gif │ ├── os │ ├── bsd.gif │ ├── linux.gif │ ├── mac.gif │ ├── otheros.gif │ ├── psp.gif │ ├── sun.gif │ ├── symbian.gif │ ├── unknown.gif │ └── win.gif │ ├── paging │ ├── first.gif │ ├── first_off.gif │ ├── first_on.gif │ ├── last.gif │ ├── last_off.gif │ ├── last_on.gif │ ├── next.gif │ ├── next_off.gif │ ├── next_on.gif │ ├── prev.gif │ ├── prev_off.gif │ └── prev_on.gif │ ├── searchengines │ ├── alexa.gif │ ├── alice.gif │ ├── alltheweb.gif │ ├── altavista.gif │ ├── aol.gif │ ├── ask.gif │ ├── avantfind.gif │ ├── blingo.gif │ ├── bluewin.gif │ ├── clusty.gif │ ├── delicious.gif │ ├── dogpile.gif │ ├── earthlink.gif │ ├── eniro.gif │ ├── excite.gif │ ├── goodsearch.gif │ ├── google.gif │ ├── infospace.gif │ ├── kvasir.gif │ ├── live.gif │ ├── lycos.gif │ ├── mamma.gif │ ├── msn.gif │ ├── mywebsearch.gif │ ├── sapo.gif │ ├── search.gif │ ├── seznam.gif │ ├── steadysearch.gif │ ├── stumbleupon.gif │ ├── tiscali.gif │ ├── vivisimo.gif │ ├── voila.gif │ ├── webcrawler.gif │ ├── webde.gif │ └── yahoo.gif │ ├── style.css │ └── style.js ├── ui ├── mailmenu.xml └── webmenu.xml ├── xml_history.php ├── xml_pages.php ├── xml_stats.php └── xml_update.php /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .DS_Store 3 | nbproject 4 | config.php 5 | !.gitignore 6 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | Options -Indexes 2 | RedirectMatch 404 /\.git 3 | RedirectMatch 404 /nbproject 4 | RedirectMatch 404 /site-configs 5 | RedirectMatch 404 /ui 6 | 7 | 8 | RedirectMatch 404 .* 9 | 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | /* 2 | * JAWStats 0.8.0 Web Statistics 3 | * 4 | * Copyright (c) 2009 Jon Combe (jawstats.com) 5 | * 6 | * Permission is hereby granted, free of charge, to any person 7 | * obtaining a copy of this software and associated documentation 8 | * files (the "Software"), to deal in the Software without 9 | * restriction, including without limitation the rights to use, 10 | * copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | * copies of the Software, and to permit persons to whom the 12 | * Software is furnished to do so, subject to the following 13 | * conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be 16 | * included in all copies or substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 19 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 20 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 21 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 22 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 23 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 24 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 25 | * OTHER DEALINGS IN THE SOFTWARE. 26 | */ 27 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JAWStats Website Statistics 2 | 3 | **Web 2.0 Frontend for AWStats** 4 | 5 | This is a fork of the [JAWStats](http://www.jawstats.com), because primary development is dead over 5 years. 6 | Original JAWStats 0.7 beta has some issues and can't work out of the box anymore. It's a great tool, so now this is fixed. 7 | 8 | **For today standards it's poorly coded, but it works.** 9 | 10 | ## Features 11 | 12 | - Quick and Easy to Install 13 | - User-friendly interface 14 | - Web 2.0 look and feel 15 | - Multi-Language 16 | - Fully Skinnable 17 | - Configurable base URL for static files 18 | 19 | ## Fixes 20 | 21 | - Deprived of Flash 22 | - PHP notices and deprecated functions 23 | - White screen of dead 24 | - Broken AJAX 25 | - A separate config for each site 26 | - AWStats data custom filename 27 | - Latest JAWStats Language Pack included 28 | - Files protection with .htaccess 29 | 30 | ## Why not an AWStats frontend? 31 | 32 | - It's too much server heavy 33 | - It's ugly and not very user friendly 34 | 35 | ## Requirements 36 | 37 | - [AWStats](http://awstats.sourceforge.net/) 38 | - [PHP](http://php.net/) 39 | 40 | ## Setup 41 | 42 | 1. Download or clone this repository 43 | 44 | 2. Copy `config.dist.php` to `config.php` and edit (optionally) 45 | 46 | 3. Copy `site-configs/example.com.dist.php` to `site-configs/mysite.tld.php` and edit 47 | 48 | *NOTE: Create as many site configs as you need.* 49 | 50 | *NOTE: [Original JAWStats installation guide](http://www.jawstats.com/documentation)* 51 | 52 | ## Changelog 53 | 54 | ### 0.9.0 55 | 56 | - Graph display based on the table column header sort 57 | - Replace all instances of $_GET with $_REQUEST 58 | - Fix of the AWStats GeoIP plugin illegal HTML data 59 | - Configurable base URL for static files 60 | 61 | ### 0.8.0 62 | 63 | - Deprived of Flash 64 | - PHP notices and deprecated functions 65 | - White screen of dead 66 | - Broken AJAX 67 | - A separate config for each site 68 | - AWStats data custom filename 69 | - Latest JAWStats Language Pack included 70 | - Files protection with .htaccess 71 | 72 | ## Addendum 73 | 74 | Please, if you are interested in this great tool report any issues and don't hesitate to contribute. 75 | 76 | [Report a bug](https://github.com/webino/JAWStats) | [Fork me](https://github.com/webino/JAWStats) 77 | -------------------------------------------------------------------------------- /clsPage.php: -------------------------------------------------------------------------------- 1 | load($uifile); 44 | } else { 45 | exit("Failed to open ui/" . $type . "menu.xml"); 46 | } 47 | 48 | $aMenuString = "