|
From: Jon O. <jon...@us...> - 2007-07-09 22:40:47
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6655/pafiledb/modules Modified Files: pa_stats.php Log Message: Updated pak and tpl bug New OS icons and Orys fixes Index: pa_stats.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_stats.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** pa_stats.php 13 Aug 2006 19:44:45 -0000 1.21 --- pa_stats.php 9 Jul 2007 22:40:09 -0000 1.22 *************** *** 186,196 **** $lang['Stats_text'] = str_replace( "{least_no}", $leastdl['file_dls'], $lang['Stats_text'] ); ! $agent_lang = array( 'OPERA' => 'Opera', 'IE' => 'Internet Explorer', 'MOZILLA' => 'Mozilla', 'NETSCAPE' => 'NetScape', 'OTHER' => 'Other' ); ! $agent_image = array( 'OPERA' => 'opera.gif', 'IE' => 'explorer.gif', 'MOZILLA' => 'mozilla.gif', 'NETSCAPE' => 'netscape.gif', 'OTHER' => 'irix.gif' ); ! $agent_point = array( 'OPERA' => 0, 'IE' => 0, 'MOZILLA' => 0, 'NETSCAPE' => 0, 'OTHER' => 0 ); ! $os_lang = array( 'Win' => 'Windows', 'Mac' => 'Macintosh', 'Linux' => 'Linux', 'Unix' => 'Unix', 'Other' => 'Other' ); ! $os_image = array( 'Win' => 'windows.gif', 'Mac' => 'mac.gif', 'Linux' => 'linux.gif', 'Unix' => 'linux.gif', 'Other' => 'os2.gif' ); ! $os_point = array( 'Win' => 0, 'Mac' => 0, 'Linux' => 0, 'Unix' => 0, 'Other' => 0 ); $sql = "SELECT downloader_os, downloader_browser --- 186,196 ---- $lang['Stats_text'] = str_replace( "{least_no}", $leastdl['file_dls'], $lang['Stats_text'] ); ! $agent_lang = array( 'OPERA' => 'Opera', 'IE' => 'Internet Explorer', 'MOZILLA' => 'Mozilla', 'NETSCAPE' => 'NetScape', 'LYNX' => 'Lynx', 'KONQUEROR' => 'Konqueror', 'SAFARI' => 'Safari', 'AOL' => 'AOL' , 'BOT' => 'Bot' , 'OTHER' => 'Other', '' => 'Unknown' ); ! $agent_image = array( 'OPERA' => 'opera.gif', 'IE' => 'explorer.gif', 'MOZILLA' => 'mozilla.gif', 'NETSCAPE' => 'netscape.gif', 'LYNX' => 'lynx.gif', 'KONQUEROR' => 'konqueror.gif', 'SAFARI' => 'safari.gif', 'AOL' => 'aol.gif', 'BOT' => 'bot.gif', 'OTHER' => 'altavista.gif', '' => 'none.gif' ); ! $agent_point = array( 'OPERA' => 0, 'IE' => 0, 'MOZILLA' => 0, 'NETSCAPE' => 0, 'LYNX' => 0, 'KONQUEROR' => '0', 'SAFARI' => '0', 'AOL' => '0', 'BOT' => '0', 'OTHER' => '0', '' => '0'); ! $os_lang = array( 'Win' => 'Windows', 'Mac' => 'Macintosh', 'Linux' => 'Linux', 'Unix' => 'Unix', 'FreeBSD' => 'FreeBSD', 'BeOS' => 'BeOS', 'OS2' => 'OS2', 'IRIX' => 'Irix', 'SunOS' => 'SunOS', 'Aix' => 'Aix', 'PalmOS' => 'Palm OS', 'Other' => 'Other', '' => 'Unknown' ); ! $os_image = array( 'Win' => 'windows.gif', 'Mac' => 'mac.gif', 'Linux' => 'linux.gif', 'Unix' => 'unix.gif', 'FreeBSD' => 'bsd.gif', 'BeOS' => 'be.gif', 'OS2' => 'os2.gif', 'IRIX' => 'irix.gif', 'SunOS' => 'sun.gif', 'Aix' => 'aix.gif', 'PalmOS' => 'palm.gif', 'Other' => 'question.gif', '' => 'none.gif' ); ! $os_point = array( 'Win' => 0, 'Mac' => 0, 'Linux' => 0, 'Unix' => 0, 'FreeBSD' => '0', 'BeOS' => '0', 'OS2' => '0', 'IRIX' => '0', 'SunOS' => '0', 'Aix' => '0', 'PalmOS' => '0', 'Other' => '0', '' => '0' ); $sql = "SELECT downloader_os, downloader_browser *************** *** 246,251 **** } ! $agent_point = array( 'OPERA' => 0, 'IE' => 0, 'MOZILLA' => 0, 'NETSCAPE' => 0, 'OTHER' => 0 ); ! $os_point = array( 'Win' => 0, 'Mac' => 0, 'Linux' => 0, 'Unix' => 0, 'Other' => 0 ); $sql = "SELECT voter_os, voter_browser --- 246,251 ---- } ! $agent_point = array( 'OPERA' => 0, 'IE' => 0, 'MOZILLA' => 0, 'NETSCAPE' => 0, 'LYNX' => 0, 'KONQUEROR' => '0', 'SAFARI' => '0', 'AOL' => '0', 'BOT' => '0', 'OTHER' => '0', '' => '0'); ! $os_point = array( 'Win' => 0, 'Mac' => 0, 'Linux' => 0, 'Unix' => 0, 'FreeBSD' => '0', 'BeOS' => '0', 'OS2' => '0', 'IRIX' => '0', 'SunOS' => '0', 'Aix' => '0', 'PalmOS' => '0', 'Other' => '0', '' => '0' ); $sql = "SELECT voter_os, voter_browser |