Example #1
0
echo insert_cached_module('<mod-top_os cache=' . $cache_delay . ' year=' . $year . ' month=' . $month . ' archive=' . $is_archived . '>');
echo "</TD>\n";
echo "<TD VALIGN='top' WIDTH='33%'>\n";
// ------------------------------------------------------------------------
// MODULE: top_agent
// ------------------------------------------------------------------------
echo '<A NAME="top_agent"></A>';
echo insert_cached_module('<mod-top_agent cache=' . $cache_delay . ' year=' . $year . ' month=' . $month . ' archive=' . $is_archived . '>');
echo "</TD></TR>\n";
echo "</TABLE>\n";
// ------------------------------------------------------------------------
// IMAGE: visitors per hour
// ------------------------------------------------------------------------
echo '<A NAME="img_per_hour"></A>';
echo insert_cached_image('<mod-img_visitors_per_hour year=' . $year . ' month=' . $month . ' generate=0>');
echo "<TABLE BORDER='0' CELLSPACING='0' CELLPADDING='0' WIDTH='100%'>\n";
echo "<TR><TD VALIGN='top' WIDTH='50%'>\n";
// ----------------------------------------------------------------------------
// MODULE: top_referer
// ----------------------------------------------------------------------------
echo '<A NAME="top_referer"></A>';
echo insert_cached_module('<mod-top_referer cache=' . $cache_delay . ' year=' . $year . ' month=' . $month . ' archive=' . $is_archived . '>');
echo "</TD>\n";
echo "<TD VALIGN='top' WIDTH='50%'>\n";
// ----------------------------------------------------------------------------
// MODULE: top_domain
// ----------------------------------------------------------------------------
echo '<A NAME="top_domain"></A>';
echo insert_cached_module('<mod-top_domain cache=' . $cache_delay . ' year=' . $year . ' month=' . $month . ' archive=' . $is_archived . '>');
echo "</TD></TR>\n";
echo "</TABLE>";
Example #2
0
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
// ------------------------------------------------------------------------- //
// ------------------------------------------------------------------------
// MODULE: daily_stats
// ------------------------------------------------------------------------
echo '<A NAME="daily_stats"></A>';
echo insert_cached_module('<mod-daily_stats cache=' . $lvc_delay_daily_stats . '>');
// ------------------------------------------------------------------------
// MODULE: last_visitors
// ------------------------------------------------------------------------
echo '<A NAME="last_visitors"></A>';
echo insert_cached_module('<mod-last_visitors cache=' . $lvc_delay_last_visitors . '>');
// ------------------------------------------------------------------------
// IMAGE: visitors per hour
// ------------------------------------------------------------------------
echo '<A NAME="img_per_hour"></A>';
echo insert_cached_image('<mod-img_day_per_hour generate=0>');
// ------------------------------------------------------------------------
// MODULE: top_day_referer
// ------------------------------------------------------------------------
echo '<A NAME="top_day_referer"></A>';
echo insert_cached_module('<mod-top_day_referer cache=' . $lvc_delay_top_day_referer . '>');
Example #3
0
//                   phpInfo.net <http://www.phpinfo.net/>                   //
// ------------------------------------------------------------------------- //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
// ------------------------------------------------------------------------- //
if ($year < $lvc_site_opening_year || $year == $lvc_site_opening_year && (int) $month < (int) $lvc_site_opening_month || $year > date('Y') || $year == date('Y') && (int) $month > (int) date('m')) {
    $year = date('Y');
    $month = date('m');
}
// ------------------------------------------------------------------------
// MODULE: last_visitors
// ------------------------------------------------------------------------
echo '<A NAME="last_visitors"></A>';
echo insert_cached_module('<mod-last_visitors cache=' . $lvc_delay_last_visitors . '>');
// ------------------------------------------------------------------------
// MODULE: calendar
// ------------------------------------------------------------------------
echo '<A NAME="calendar"></A>';
echo insert_cached_module('<mod-calendar cache=' . $lvc_delay_calendar . '>');
Example #4
0
<?php

// ------------------------------------------------------------------------- //
// Les Visiteurs - Statistiques de fréquentation d'un site web               //
// ------------------------------------------------------------------------- //
// Visitors      - Web site statistics analysis program                      //
// ------------------------------------------------------------------------- //
// Copyright (C) 2000, 2001  J-Pierre DEZELUS <*****@*****.**>        //
// ------------------------------------------------------------------------- //
//                   phpInfo.net <http://www.phpinfo.net/>                   //
// ------------------------------------------------------------------------- //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
// ------------------------------------------------------------------------- //
// ----------------------------------------------------------------------------
// MODULE: last months
// ----------------------------------------------------------------------------
echo insert_cached_module('<mod-last_months cache=' . $lvc_delay_last_months . '>');