[ Index ] |
|
Code source de phpMyVisites 2.3 |
1 <?php 2 /* 3 * phpMyVisites : website statistics and audience measurements 4 * Copyright (C) 2002 - 2006 5 * http://www.phpmyvisites.net/ 6 * phpMyVisites is free software (license GNU/GPL) 7 * Authors : phpMyVisites team 8 */ 9 10 // $Id: ViewVisitsRss.class.php 29 2006-08-18 07:35:21Z matthieu_ $ 11 12 13 require_once INCLUDE_PATH."/core/include/ViewModule.class.php"; 14 15 class ViewVisitsRss extends ViewModule 16 { 17 function ViewVisitsRss($o_site = null) 18 { 19 parent::ViewModule( "visits" ); 20 $this->site = $o_site; 21 $this->disableCache = true; 22 } 23 24 function showAll( $return = false, $mail = false ) 25 { 26 $this->viewTemplate = ($mail) 27 ? "common/structure_mail.tpl" 28 : "common/structure_rss.tpl"; 29 30 $date = $this->data->archive->date->get(); 31 $this->tpl->assign( "url_phpmv", 32 Request::getCurrentCompletePath() 33 . "/index.php?site=".$this->site->getId() 34 . "&mod=view_visits&date=" 35 . $date); 36 $this->tpl->assign( "site_name", $this->site->getName() ); 37 $methods = array( 38 "statistics" => array(), 39 // "periodsummaries" => array(8) 40 ); 41 $this->getDataMethod( $methods ); 42 43 if($return) 44 { 45 return $this->fetch($this->viewTemplate); 46 } 47 else 48 { 49 $this->display(); 50 return true; 51 } 52 } 53 } 54 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 14:10:01 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |