+ Antworten
Ergebnis 1 bis 4 von 4

Thema: rss feed aus mod_totalusers.xml ???

  1. #1
    War schon öfter hier Avatar von smokeyjoe
    Registriert seit
    22.03.2005
    Beiträge
    147
    Bedankte sich
    2
    Erhielt 4 Danksagungen
    in 4 Beiträgen

    Frage rss feed aus mod_totalusers.xml ???

    Hi Leute ich hab da mal was spezielles und zwar ...

    Ich betreibe einen Eggdrop Bot der mir nen rss feed aus dem mod "totalusers" anzeigen soll...

    Frage ist das möglich ?
    Wenn ja wie ??

    Ich poste euch mal die relevanten Codes damit ihr mal nen Überblick bekommt.

    Code von der .Tcl des Bots :

    PHP-Code:
    set feed(user) {
      
    URL=http://www.Verzeichniss.de/modules/mod_totalusers.xml   /* The location of the news, in format http://domain.com:port/file.xml (port value is optional). */
      
    DATABASE=scripts/dbase/rssnews/.user         /* The file where the news are saved. */
      
    CHANNELS=#fun-and-party-channel #planetradio                             /* On which channels is the feed activated? Set to ALL for all channels. */
      
    POSTNEWS=1                                                   /* Post news if there are new ones? */
      
    POSTLIMIT=2                                                  /* max. posted news */
      
    PUBLIMIT=3                                                   /* How many news are posted on pub triggers? */
      
    MSGLIMIT=10                                                  /* How many news are posted on msg triggers? */
      /* Thats the design used for automated output. */
      
    POSTLAYOUT=9[4!99W4w13W11.8Fun4-13and4-8Party4-9Channel4.11de 4..9Der 4letzte 13Gästebuch 8Eintrag  9[4!9] <news9[4!94,8<link9[4!9]
      
    /* And this one is for use on trigger events. */
      
    TRIGLAYOUT=9[4!99W4w13W11.84-13and4-8Party4-9Channel4.11de 4..9Der 4letzte 13Gästebuch 8Eintrag  9[4!9] <news9[4!94,8<link9[4!9]
    }


    ## ---- End of Setup -------------------------------------------
    ## -------------------------------------------------------------

    if {[package vcompare [info tclversion8.4] < 0} {
      
    putlog "You don't have TCL 8.4, you have to upgrade to version 8.4 or higher to use [file tail [info script]]."
      
    return;
    }

    package require http

    namespace 
    eval rss {
      
    variable protect 60
      variable timeout 20
      variable pubbind 
    {$news}
      
    variable msgbind {news}
      
    variable v_major 4
      variable v_minor 5
      variable v_build 0251
      variable version $v_major
    .$v_minor.$v_build
      variable client 
    "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3"
      
    bind PUB -|- $pubbind [namespace current]::public
      
    bind MSG -|- $msgbind [namespace current]::private
      
    bind TIME -|- {00 * * * *} [namespace current]::check
      bind PUB m
    |!rsscheck [namespace current]::check
      namespace export 
    public private check
    }

    proc rss::check {args} {
      global 
    feed
      variable client
      variable timeout
      putquick 
    "PING :[clock seconds]" -next
      
    foreach id [array names feed] {
        
    set url "0"
        
    set database "0"
        
    set channels "0"
        
    set postnews "1"
        
    set postlimit "3"
        
    set publimit "3"
        
    set msglimit "10"
        
    set postlayout {00314(00307<publisher>00314)00307 <news00314<00307<link>00314>003}
        foreach 
    line [split $feed($idn] {
          
    regsub -all -- {/*.*?*/} $line {} line
          regexp 
    -nocase -- {^s*URL=(.+?)s*$} $line tmp url
          regexp 
    -nocase -- {^s*DATABASE=(.+?)s*$} $line tmp database
          regexp 
    -nocase -- {^s*CHANNELS=(.+?)s*$} $line tmp channels
          regexp 
    -nocase -- {^s*POSTNEWS=(.+?)s*$} $line tmp postnews
          regexp 
    -nocase -- {^s*POSTLIMIT=(.+?)s*$} $line tmp postlimit
          regexp 
    -nocase -- {^s*PUBLIMIT=(.+?)s*$} $line tmp publimit
          regexp 
    -nocase -- {^s*MSGLIMIT=(.+?)s*$} $line tmp msglimit
          regexp 
    -nocase -- {^s*POSTLAYOUT=(.+?)s*$} $line tmp postlayout
        
    }
        if {(
    $url == 0) || ($database == 0) || ($channels == 0)} {
          
    putlog "RSS: Warning: Couldn't load configuration for the \[$id\] feed."
          
    continue
        }
        if {
    $postnews == 0} {
          continue
        }
        if {![
    file isdirectory [file dirname $database]]} {
          
    file mkdir [file dirname $database]
        }
        
    set count 0
        set data 
    {}
        
    http::config -useragent $client
        
    catch {http::geturl $url -command "[namespace current]::check:data {$database} {$channels} {$postlimit} {$postlayout}" -timeout [expr $timeout 1000]}
      }
    }

    proc rss::check:data {database channels postlimit postlayout token} {
      
    upvar 0 $token state
      
    if {![string equal -nocase $state(status"ok"]} {
        return 
    0
      
    }
      
    set latestnews "iddqd"
      
    if {[file exists $database]} {
        
    set temp [open $database r+]
        
    set latestnews [gets $temp]
        if {[
    string length $latestnews] <= 1} {
          
    set latestnews "iddqd"
        
    }
        
    close $temp
      
    }
      
    set data [http::data $token]
      
    http::cleanup $token
      set publisher 
    [publisher $data]
      
    set data [parse $data]
      
    set temp [open $database w+]
      
    set postlayout [join $postlayout { }]
      foreach {
    item$data {
        
    regsub -all -- {<id>} $postlayout [lindex $item 0output
        regsub 
    -all -- {<publisher>} $output $publisher output
        regsub 
    -all -- {<link>} $output [lindex $item 1output
        regsub 
    -all -- {<news>} $output [lindex $item 2output
        regsub 
    -all -- {<upfirstchars(.*?)>} [clean $output] {[upfirstchar "\1"]} output
        puts $temp 
    [decode [subst $output]]
      }
      
    close $temp
      set count 0
      set temp 
    [open $database r+]
      while {![
    eof $temp]} {
        
    gets $temp headline
        
    if {([string equal -nocase $latestnews $headline]) || ([string equal -nocase $latestnews "iddqd"]) || ($count == $postlimit)} {
          break
        }
        
    incr count
        msg $channels $headline
      
    }
      
    close $temp
    }

    proc rss::news {target id type} {
      global 
    feed
      variable client
      variable timeout
      
    if {$type == 2} {
        
    set msgtype PRIVMSG
      
    } else {
        
    set msgtype NOTICE
      
    }
      
    set url "0"
      
    set publimit "3"
      
    set msglimit "10"
      
    set triglayout "\00314\[\00307<id>\00314\]\00307 <news> \00314<\00307<link>\00314>\003"
      
    foreach item [split $feed($idn] {
        
    regsub -all -- {/*.*?*/} $item {} item
        regexp 
    -nocase -- {^s*URL=(.+?)s*$} $item tmp url
        regexp 
    -nocase -- {^s*PUBLIMIT=(.+?)s*$} $item tmp publimit
        regexp 
    -nocase -- {^s*MSGLIMIT=(.+?)s*$} $item tmp msglimit
        regexp 
    -nocase -- {^s*TRIGLAYOUT=(.+?)s*$} $item tmp triglayout
      
    }
      if {(
    $url == 0)} {
        
    putquick "$msgtype $target :Warning: Couldn't load configuration for the \[$id\] feed."
        
    return 0
      
    }
      if {
    $type == 1} {
        
    set limit $msglimit
      
    } elseif {$type == 2} {
        
    set limit $publimit
      
    } else {
        return 
    0
      
    }
      
    http::config -useragent $client
      
    catch {http::geturl $url -timeout [expr $timeout 1000]} token
      
    if {[regexp -nocase -- {^couldn't\sopen\ssocket:\s+?(.*)$} $token tmp state(status)]} {
        putquick "$msgtype $target :Warning: Couldn'
    t connect to the [$idfeed ($state(status))."
        return 0
      }
      upvar 0 $token state
      if {![string equal -nocase $state(status) "
    ok"]} {
        putquick "
    $msgtype $target :WarningCouldnt connect to the [$idfeed (connection $state(status))."
        return 0
      }
      set data [http::data $token]
      http::cleanup $token
      set publisher [publisher $data]
      set data [parse $data]
      set count 0
      set triglayout [join $triglayout { }]
      foreach {item} $data {
        incr count
        regsub -all -- {<id>} $triglayout [lindex $item 0] output
        regsub -all -- {<publisher>} $output $publisher output
        regsub -all -- {<link>} $output [lindex $item 1] output
        regsub -all -- {<news>} $output [lindex $item 2] output
        regsub -all -- {<upfirstchar\s(.*?)>} [clean $output] {[upfirstchar "
    1"]} output
        set output [decode [subst $output]]
        if {$type == 2} {
          if {[regexp -- {c} [getchanmode $target]]} {
            set output [stripcodes c $output]
          }
        }
        puthelp "
    $msgtype $target :$output"
        if {($count == $limit)} {
          break
        }
      }
    }

    proc rss::publisher {content} {
      set publisher {n/a}
      regsub -all -- {\n+|\s+|\t+} $content { } content
      regsub -all -- {([\\&])} $content {\\\1} content
      regexp -nocase -- {<title>(.+?)</title>} $content tmp publisher
      return $publisher

    Geändert von smokeyjoe (11.04.2005 um 18:01 Uhr)

  2. #2
    War schon öfter hier Avatar von smokeyjoe
    Registriert seit
    22.03.2005
    Beiträge
    147
    Bedankte sich
    2
    Erhielt 4 Danksagungen
    in 4 Beiträgen

    Frage

    Fortsetzung des .TCL Codes
    PHP-Code:
    proc rss::parse {content} {
      
    regsub -all -- {n+|s+|t+} $content { } content
      regsub 
    -all -- {([&])} $content {1content
      set item 0
      set news 
    ""
      
    while {[regexp -nocase -- {<item(s[^>]*?)?>(.+?)</item>} $content -> & value]} {
        incr item
        set title {n/a}
        regexp -nocase -- {<title>(.+?)</title>} $value -> title
        regexp -nocase -- {\<\!\[CDATA\[(.*?)\]\]\>} $title -> title
        set link {n/a}
        regexp -nocase -- {<link>(.+?)</link>} $value -> link
        regexp -nocase -- {\<\!\[CDATA\[(.*?)\]\]\>} $link -> link
        regsub -nocase -- {<item.*?>.+?</item>} $content {} content
        lappend news "$item {$link} {$title}"
      }
      return [lsort -integer -unique -index 0 $news]
    }

    proc rss::decode {content} {
      if {![regexp -- & $content]} {
        return $content
      }
      set escapes {
        &nbsp; \x20 &quot; \x22 &amp; \x26 &apos; \x27 &ndash; \x2D &lt; \x3C &gt; \x3E &tilde; \x7E &euro; \x80 &iexcl; \xA1
        &cent; \xA2 &pound; \xA3 &curren; \xA4 &yen; \xA5 &brvbar; \xA6 &sect; \xA7 &uml; \xA8 &copy; \xA9 &ordf; \xAA &laquo; \xAB
        &not; \xAC &shy; \xAD &reg; \xAE &hibar; \xAF &deg; \xB0 &plusmn; \xB1 &sup2; \xB2 &sup3; \xB3 &acute; \xB4 &micro; \xB5
        &para; \xB6 &middot; \xB7 &cedil; \xB8 &sup1; \xB9 &ordm; \xBA &raquo; \xBB &frac14; \xBC &frac12; \xBD &frac34; \xBE &iquest; \xBF
        &Agrave; \xC0 &Aacute; \xC1 &Acirc; \xC2 &Atilde; \xC3 &Auml; \xC4 &Aring; \xC5 &AElig; \xC6 &Ccedil; \xC7 &Egrave; \xC8 &Eacute; \xC9
        &Ecirc; \xCA &Euml; \xCB &Igrave; \xCC &Iacute; \xCD &Icirc; \xCE &Iuml; \xCF &ETH; \xD0 &Ntilde; \xD1 &Ograve; \xD2 &Oacute; \xD3
        &Ocirc; \xD4 &Otilde; \xD5 &Ouml; \xD6 &times; \xD7 &Oslash; \xD8 &Ugrave; \xD9 &Uacute; \xDA &Ucirc; \xDB &Uuml; \xDC &Yacute; \xDD
        &THORN; \xDE &szlig; \xDF &agrave; \xE0 &aacute; \xE1 &acirc; \xE2 &atilde; \xE3 &auml; \xE4 &aring; \xE5 &aelig; \xE6 &ccedil; \xE7
        &egrave; \xE8 &eacute; \xE9 &ecirc; \xEA &euml; \xEB &igrave; \xEC &iacute; \xED &icirc; \xEE &iuml; \xEF &eth; \xF0 &ntilde; \xF1
        &ograve; \xF2 &oacute; \xF3 &ocirc; \xF4 &otilde; \xF5 &ouml; \xF6 &divide; \xF7 &oslash; \xF8 &ugrave; \xF9 &uacute; \xFA &ucirc; \xFB
        &uuml; \xFC &yacute; \xFD &thorn; \xFE &yuml; \xFF
      }
      set content [string map $escapes $content]
      regsub -all -- {&[a-zA-Z]+?;} [clean $content] {?} content
      regsub -all -- {&#(\d{1,3});} $content {[format %c [scan \1 %d]]} content
      return [subst $content]
    }

    proc rss::private {nickname hostname handle arguments} {
     global feed
     variable spam
     variable protect
      set arguments [clean $arguments]
      set spewfeed [lindex $arguments 0]
      if {![validfeed $spewfeed 1]} {
        putquick "NOTICE $nickname :Please supply a valid feed: [join [lsort -dictionary [array names feed]] ",\x20"]"
        return 0
      }
      set spewfeed [validfeed $spewfeed 2]
      if {([info exists spam(flood,$spewfeed,$hostname)])} {
        set s [expr [clock seconds] - $spam(flood,$spewfeed,$hostname)]
        if {$s < $protect} {
          putquick "NOTICE $nickname :Sorry - This trigger has recently been used. It will be unlocked in [expr $protect - $s] seconds."
          return 0
        }
      }
      set spam(flood,$spewfeed,$hostname) [clock seconds]
      news $nickname $spewfeed 1
    }

    proc rss::public {nickname hostname handle channel arguments} {
     global feed
     variable spam
     variable protect
      set arguments [clean $arguments]
      set spewfeed [lindex $arguments 0]
      if {![validfeed $spewfeed 1]} {
        putquick "PRIVMSG $channel :Please supply a valid feed: [join [lsort -dictionary -unique [array names feed]] ",\x20"]"
        return 0
      }
      set spewfeed [validfeed $spewfeed 2]
      if {([info exists spam(flood,$spewfeed,$channel)]) && (![isop $nickname $channel])} {
        set s [expr [clock seconds] - $spam(flood,$spewfeed,$channel)]
        if {$s < $protect} {
          putquick "PRIVMSG $channel :Sorry - This trigger has recently been used. It will be unlocked in [expr $protect - $s] seconds."
          return 0
        }
      }
      set spam(flood,$spewfeed,$channel) [clock seconds]
      set channels 0
      foreach item [split $feed($spewfeed) \n] {
        regsub -all -- {/\*.*\*/} $item {} item
        regexp -nocase -- {^\s*CHANNELS=(.+?)\s*$} $item tmp channels
      }
      if {([lsearch -exact [string tolower $channels] [string tolower $channel]] == -1) && (![string equal -nocase $channels "ALL"])} {
        putquick "PRIVMSG $channel :The \[$spewfeed\] feed is not available on this channel. ($channels)"
        return 0
      }
      news $channel $spewfeed 2
    }

    proc rss::msg {channels headline} {
      if {[string equal -nocase $channels "ALL"]} {
        foreach channel [channels] {
          if {[regexp -- {c} [getchanmode $channel]] && [regexp -- {\003} $headline]} {
            lappend nocolors $channel
          } else {
            lappend colors $channel
          }
        }
      } else {
        foreach channel [channels] {
          if {[lsearch -exact [string tolower $channels] [string tolower $channel]] >= 0} {
            if {[regexp -- {c} [getchanmode $channel]] && [regexp -- {\003} $headline]} {
              lappend nocolors $channel
            } else {
              lappend colors $channel
            }
          }
        }
      }
      if {[info exists nocolors]} {
        putquick "PRIVMSG [join $nocolors {,}] :[stripcodes c $headline]"
      }
      if {[info exists colors]} {
        putquick "PRIVMSG [join $colors {,}] :$headline"
      }
    }

    proc rss::validfeed {keyword type} {
     global feed
      foreach id [array names feed] {
        if {[string equal -nocase $id $keyword]} {
          switch -exact -- $type {
            {1} {
              return 1
            }
            {2} {
              return $id
            }
          }
        }
      }
      return 0
    }

    proc rss::upfirstchar {content} {
      regsub -all -- {((^|\s)([a-z]))} [clean $content] {[string toupper "\1"]} content
      return [subst $content]
    }

    proc rss::clean {string} {
      regsub -all -- {([\(\)\[\]\{\}\$\"\\])} $string {\\\1} string
      return $string
    }

    putlog "Script loaded: RSS feed parser $rss::version (C) 2004 perpleXa." 
    Geändert von smokeyjoe (11.04.2005 um 18:00 Uhr)

  3. #3
    War schon öfter hier Avatar von smokeyjoe
    Registriert seit
    22.03.2005
    Beiträge
    147
    Bedankte sich
    2
    Erhielt 4 Danksagungen
    in 4 Beiträgen

    Frage

    Code aus der XML des mod_totalusers :
    PHP-Code:
    <?xml version="1.0" ?>
    <mosinstall type="module">
    <name>Total Users</name>
    <creationDate>05/11/2004</creationDate>
    <author>Helder Garcia</author>
    <copyright>This module is released under the GNU/GPL License.  </copyright>
    <authorEmail>hlbog@sounerd.com.br</authorEmail>
    <authorUrl>www.sounerd.com.br</authorUrl>
    <version>3.0</version>
    <description>This module displays statistics about registered users. Author: Helder Garcia - http://www.sounerd.com.br</description>
    <files>
        <filename module="mod_totalusers">mod_totalusers.php</filename>
        <filename>mod_totalusers_language/english.php</filename>
        <filename>mod_totalusers_language/brazilian_portuguese.php</filename>
        <filename>mod_totalusers_language/germani.php</filename>
        <filename>mod_totalusers_language/germanf.php</filename>
    </files>
    <params>
        <param name="show_today" type="radio" default='1' label="Show today" description="Display how many users were registered in current day" >
            <option value='1'>Yes</option>
            <option value='2'>No</option>
        </param>
        <param name="show_week" type="radio" default='1' label="Show week" description="Display how many users were registered in current week starting on Sunday" >
            <option value='1'>Yes</option>
            <option value='2'>No</option>
        </param>
        <param name="show_month" type="radio" default='1' label="Show month" description="Display how many users were registered in current month" >
            <option value="1">Yes</option>
            <option value="2">No</option>
        </param>
        <param name="show_last" type="radio" default='1' label="Show last" description="Display last user registered in the site" >
            <option value='1'>Yes</option>
            <option value='2'>No</option>
        </param>
        <param name="icon_set" type="list" default="1" label="Icon set" description="Select style of icons" >
            <option value='1'>Orkut style</option>
            <option value='2'>PHP-Nuke style</option>
            <option value='3'>PHP-Nuke old style</option>
            <option value='4'>Penguin icons</option>
        </param>
    </params>
    <images>
        <filename>mod_totalusers_images/group01.gif</filename>
        <filename>mod_totalusers_images/blueman.gif</filename>
        <filename>mod_totalusers_images/pinkman.gif</filename>
        <filename>mod_totalusers_images/redman.gif</filename>
        <filename>mod_totalusers_images/yellowman.gif</filename>
        <filename>mod_totalusers_images/group02.gif</filename>
        <filename>mod_totalusers_images/man01.gif</filename>
        <filename>mod_totalusers_images/man02.gif</filename>
        <filename>mod_totalusers_images/man03.gif</filename>
        <filename>mod_totalusers_images/man04.gif</filename>
        <filename>mod_totalusers_images/man05.gif</filename>
        <filename>mod_totalusers_images/group03.gif</filename>
        <filename>mod_totalusers_images/today.gif</filename>
        <filename>mod_totalusers_images/week.gif</filename>
        <filename>mod_totalusers_images/month.gif</filename>
        <filename>mod_totalusers_images/last.gif</filename>
        <filename>mod_totalusers_images/penguin00.png</filename>
        <filename>mod_totalusers_images/penguin01.gif</filename>
        <filename>mod_totalusers_images/penguin02.gif</filename>
    </images>
    </mosinstall>

  4. #4
    War schon öfter hier Avatar von smokeyjoe
    Registriert seit
    22.03.2005
    Beiträge
    147
    Bedankte sich
    2
    Erhielt 4 Danksagungen
    in 4 Beiträgen

    Frage

    Code aus der mod_totalusers.php:

    PHP-Code:
    <?php
    /**
    * Registered Users Module
    * @package Mambo Open Source
    * @Copyright (C) 2004 - Helder Garcia
    * @ All rights reserved
    * @ Mambo Open Source is Free Software
    * @ Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html
    **/

    defined'_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

    global 
    $mosConfig_offset;

    $ret = include('modules/mod_totalusers_language/'.$mosConfig_lang.'.php');
    if(
    $ret <> 1) {
        include(
    'modules/mod_totalusers_language/english.php');
        }

    /*
    * Module Configuration
    * These settings can be done through the Module Parameters in the
    * administration panel. All defaults to YES (1)
    */

    $show_today $params->get('show_today'1);
    $show_week $params->get('show_week'1);
    $show_month $params->get('show_month'1);
    $show_last $params->get('show_last'1);
    $icon_set $params->get('icon_set'1);

    $query1 "SELECT count(id) as registered FROM #__users WHERE usertype <> 'administrator' AND usertype <> 'superadministrator'";
    $query2 "SELECT count(id) FROM #__users WHERE to_days(registerDate) = to_days(curdate()) AND usertype <> 'administrator' AND usertype <> 'superadministrator'";
    $query3 "SELECT count(id) FROM #__users WHERE yearweek(registerDate) = yearweek(curdate()) AND usertype <> 'administrator' AND usertype <> 'superadministrator'";
    $query4 "SELECT count(id) FROM #__users WHERE month(registerDate) = month(curdate()) AND year(registerDate) = year(curdate()) AND usertype <> 'administrator' AND usertype <> 'superadministrator'";
    $query5 "SELECT username FROM #__users WHERE block='0' AND usertype <> 'administrator' AND usertype <> 'superadministrator' ORDER BY registerDate DESC LIMIT 1";
    $database->setQuery($query1);
    $total_array $database->loadResult();
    if(
    $show_today==1) {
        
    $database->setQuery($query2);
        
    $today $database->loadResult();
        };
    if(
    $show_week==1) {
        
    $database->setQuery($query3);
        
    $thisweek $database->loadResult();
        };
    if(
    $show_month==1) {
        
    $database->setQuery($query4);
        
    $thismonth $database->loadResult();
        };
    if(
    $show_last==1) {
        
    $database->setQuery($query5);
        
    $lastuser $database->loadResult();
        };
    switch (
    $icon_set) {
        case 
    1:
            
    $icon0 "group02.gif";
            
    $icon1 "man01.gif";
            
    $icon2 "man02.gif";
            
    $icon3 "man03.gif";
            
    $icon4 "man05.gif";
            break;
        case 
    2:
            
    $icon0 "group03.gif";
            
    $icon1 "today.gif";
            
    $icon2 "week.gif";
            
    $icon3 "month.gif";
            
    $icon4 "last.gif";
            break;
        case 
    3:
            
    $icon0 "group01.gif";
            
    $icon1 "blueman.gif";
            
    $icon2 "pinkman.gif";
            
    $icon3 "redman.gif";
            
    $icon4 "yellowman.gif";
            break;
        case 
    4:
            
    $icon0 "penguin00.png";
            
    $icon1 "penguin01.gif";
            
    $icon2 "penguin01.gif";
            
    $icon3 "penguin01.gif";
            
    $icon4 "penguin02.gif";
            break;
    }

    if (
    $total_array == NULL) {?>
        <table>
        <tr><td><img src="<?php echo $mosConfig_live_site?>/modules/mod_totalusers_images/<?php echo $icon0?>" width="100%" height="100%" border="0" align="left" alt="" /></td><td><?php echo " 0 "._REG_USS;?></td></tr>
        </table><?php
    } else {?>
        <table>
        <tr><td><img src="<?php echo $mosConfig_live_site?>/modules/mod_totalusers_images/<?php echo $icon0?>" border="0" align="center" alt="" /></td><td><?php echo " $total_array "._REG_USS;?></td></tr>
        <?php if($show_today==1) { ?><tr><td><img src="<?php echo $mosConfig_live_site?>/modules/mod_totalusers_images/<?php echo $icon1?>" border="0" align="right" alt="" /></td><td><?php echo " $today "._REG_TDY;?></td></tr><?php }; ?>
        <?php if($show_week==1) { ?><tr><td><img src="<?php echo $mosConfig_live_site?>/modules/mod_totalusers_images/<?php echo $icon2?>" border="0" align="right" alt="" /></td><td><?php echo " $thisweek "._REG_WEK;?></td></tr><?php }; ?>
        <?php if($show_month==1) { ?><tr><td><img src="<?php echo $mosConfig_live_site?>/modules/mod_totalusers_images/<?php echo $icon3?>" border="0" align="right" alt="" /></td><td><?php echo " $thismonth "._REG_MON;?></td></tr><?php }; ?>
        <?php if($show_last==1) { ?><tr><td><img src="<?php echo $mosConfig_live_site?>/modules/mod_totalusers_images/<?php echo $icon4?>" border="0" align="right" alt="" /></td><td><?php echo _REG_LST;?><I><?php echo $lastuser;?></I></td></tr><?php }; ?>
        </table><?php
    }

    ?>
    #


    Danke schon mal für die Hilfe ...
    Gruß Smokey-Joe

+ Antworten

Ähnliche Themen

  1. RSS XT Linkaufbau
    Von GrayDeath im Forum Mambo 4.5.0 Komponenten
    Antworten: 3
    Letzter Beitrag: 27.02.2008, 11:52
  2. RSS newsfeed
    Von turbo-g im Forum Mambo Templates
    Antworten: 0
    Letzter Beitrag: 14.03.2005, 21:19
  3. Rss hat falsche "encodierung"
    Von Ste im Forum Mambo Komponenten
    Antworten: 1
    Letzter Beitrag: 06.02.2005, 18:25
  4. RSS Implementierung nicht sauber?
    Von nuggets im Forum Allgemeine Fragen zu Mambo
    Antworten: 3
    Letzter Beitrag: 13.01.2005, 06:19
  5. Hilfe bei RSS feed Integration
    Von nhaag im Forum Mambo 4.5.0 Komponenten
    Antworten: 0
    Letzter Beitrag: 04.11.2003, 10:29

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein