<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[semplice comando if?]]></title><description><![CDATA[<p dir="auto">ho inserito questa riga:<br />
&lt;div&gt;&lt;?php mosLoadModules('centrale1', -1); ?&gt;&lt;/div&gt;<br />
al centro di una pagina per visualizzare un modulo<br />
nell'indice dei downloads su un portale,<br />
ma quando entro nelle varie categorie visualizzo sempre<br />
questo modulo e cioè gli ultimi files inseriti,<br />
cioè questo modulo viene riportato<br />
in tutte le pagine</p>
<p dir="auto">come posso fare per visualizzarlo solo nell'indice?<br />
credo sia una cosa semplice che non so fare</p>
<p dir="auto">forse ci vuole un comando if... ma non sono pratica di php</p>
<p dir="auto">mi aiutate per favore?</p>
]]></description><link>https://dev.connect.gt/topic/56612/semplice-comando-if</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 05:07:21 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/56612.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Dec 2007 16:10:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to semplice comando if? on Fri, 14 Dec 2007 23:46:41 GMT]]></title><description><![CDATA[<p dir="auto">ma con include non si ottiene l'effetto scrollbar...<br />
comunque ho provato e non funziona...</p>
<p dir="auto">mi da errore:<br />
<strong>Warning</strong>: include() [<a href="http://www.karaoko.net/home/function.include" rel="nofollow ugc"><strong>function.include</strong></a>]: URL file-access is disabled in the server configuration in <strong>/mounted-storage/home78a/sub002/sc44226-RRSU/karaoko.net/home/modules/mod_ultimevisite.php</strong> on line <strong>4</strong></p>
<p dir="auto">se invece tolgo quella riga di codice mi dice:<br />
<strong>Fatal error</strong>: Call to a member function setQuery() on a non-object in <strong>/mounted-storage/home78a/sub002/sc44226-RRSU/karaoko.net/home/modules/mod_ultimevisite2.php</strong> on line <strong>29</strong></p>
<p dir="auto">vabbè mi rassegno per questo....<br />
ma per la data non ho capito bene cosa devo fare...<br />
o meglio è una cosa che non saprei fare....<br />
cmq grazie lo stesso....</p>
]]></description><link>https://dev.connect.gt/post/651689</link><guid isPermaLink="true">https://dev.connect.gt/post/651689</guid><dc:creator><![CDATA[lovemusic]]></dc:creator><pubDate>Fri, 14 Dec 2007 23:46:41 GMT</pubDate></item><item><title><![CDATA[Reply to semplice comando if? on Fri, 14 Dec 2007 20:40:39 GMT]]></title><description><![CDATA[<p dir="auto">prova a usare un include invece di un frame, o a togliere</p>
<pre><code class="language-php">defined( '_VALID_MOS' ) or die( 'Accesso diretto a questa locazione non consentito.' );
</code></pre>
<p dir="auto">per la data devi aggiungere la funzione php nella variabile $html in modo che vada in output</p>
]]></description><link>https://dev.connect.gt/post/651684</link><guid isPermaLink="true">https://dev.connect.gt/post/651684</guid><dc:creator><![CDATA[thedarkita]]></dc:creator><pubDate>Fri, 14 Dec 2007 20:40:39 GMT</pubDate></item><item><title><![CDATA[Reply to semplice comando if? on Fri, 14 Dec 2007 19:46:52 GMT]]></title><description><![CDATA[<p dir="auto">scusa, solo un'ultimissima cosa...<br />
ma solo se è semplice da fare, altrimenti fa niente...</p>
<p dir="auto">in questo file qui che riporta gli ultimi files inseriti<br />
nella tabella fatta sopra,<br />
mi mostra il titolo e la categoria del file, se volessi aggiungere<br />
anche la data del caricamento con un semplice comando date<br />
in quale riga va inserito?</p>
<pre><code class="language-php">&lt;?php
/**
 * DOCman Latest Downloads 1.4.x
 * @version $Id: mod_docman_latestdown.php 409 2007-10-17 13:03:57Z mjaz $
 * @package DOCmanModules_1.4
 * @copyright (C) 2003-2007 The DOCman Development Team
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link http://www.joomlatools.org/ Official website
 **/
defined('_VALID_MOS') or die('Restricted access');
// you can define the following parameters at administration:
// limits = number of downloads to display (default = 3);
// show_icon = displays a generic icon near the name of the document
// show_category = displays the category of the document
include_once( $mosConfig_absolute_path."/administrator/components/com_docman/docman.class.php");
//DOCman core interaction API
global $_DOCMAN, $_DMUSER;
if(!is_object($_DOCMAN)) {
    $_DOCMAN = new dmMainFrame();
    $_DMUSER = $_DOCMAN-&gt;getUser();
}
$_DOCMAN-&gt;setType(_DM_TYPE_MODULE);
$_DOCMAN-&gt;loadLanguage('modules');
require_once($_DOCMAN-&gt;getPath('classes', 'utils'));
require_once($_DOCMAN-&gt;getPath('classes', 'file'));
require_once($_DOCMAN-&gt;getPath('classes', 'model'));
// get the parameters
$limits    = abs($params-&gt;def( 'limits', 3 ));
$show_icon   = abs($params-&gt;def( 'show_icon', 1 ));
$show_category  = abs($params-&gt;def( 'show_category', 1 ));
$menuid = $_DOCMAN-&gt;getMenuId();
$html = '';
$rows = DOCMAN_Docs::getDocsByUserAccess(0, 'date', 'desc', $limits);
if (count($rows)) {
    $html .= '&lt;ul class="mod_docman_latestdown"&gt;';
    foreach ($rows as $row)
    {
      $doc = new DOCMAN_Document($row-&gt;id);
        $catid = $doc-&gt;getData('catid');
     $url = sefRelToAbs( "index.php?option=com_docman&amp;task=cat_view&amp;Itemid=$menuid&amp;gid=$catid&amp;orderby=dmdate_published" );
     $html .= '&lt;li&gt;&lt;a href="'.$url.'"&gt;';
        if ($show_icon)
         $html .= '&lt;img border="0" src="'.$doc-&gt;getPath('icon', 1, '16x16').'" alt="file icon" /&gt; ';
        $html .= $doc-&gt;getData('dmname');
        if ($show_category)
         $html .= '&lt;font face="bell mt" size="1" color="#000099"&gt;&amp;nbsp;('.$row-&gt;cat_title.')&lt;/font&gt;';
        $html .= '&lt;/a&gt;&lt;/li&gt;';
    }
    $html .='&lt;/ul&gt;';
} else {
 $html .= "&lt;br /&gt;"._DML_MOD_NODOCUMENTS;
}
echo $html;
</code></pre>
]]></description><link>https://dev.connect.gt/post/651688</link><guid isPermaLink="true">https://dev.connect.gt/post/651688</guid><dc:creator><![CDATA[lovemusic]]></dc:creator><pubDate>Fri, 14 Dec 2007 19:46:52 GMT</pubDate></item><item><title><![CDATA[Reply to semplice comando if? on Fri, 14 Dec 2007 19:17:25 GMT]]></title><description><![CDATA[<p dir="auto">grazie tante veramente.... mi stai aiutando tanto....</p>
<p dir="auto">allora scusa, prima mi sono sbagliata, il codice esatto del file<br />
ultime visite è questo:</p>
<pre><code class="language-php">&lt;?php
//=====================================================================================
// Tradotto in Italiano da Bernardeschi Riccardo
// ricca82it@gmail.com
// Last Seen Module 1.1
// Created for Joomla! 1.x by Admir Bahtagic (Ado_k2)
//
// 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.
//
// The "GNU General Public License" (GPL) is available at
// http://www.gnu.org/copyleft/gpl.html.
//=====================================================================================
defined( '_VALID_MOS' ) or die( 'Accesso diretto a questa locazione non consentito.' );
global $mosConfig_offset;
$count = @$params-&gt;count ? intval( $params-&gt;count ) : 10;
$query = "SELECT id, username, name, lastvisitDate"
 . "\nFROM #__users"
 . "\nWHERE block='0' and lastvisitDate&lt;&gt;'0000-00-00 00:00:00'"
 . "\nORDER BY lastvisitDate  DESC LIMIT $count";
$database-&gt;setQuery( $query );
$rows = $database-&gt;loadObjectList(); 
function seg2tiempo($segundos){ 
   $tiempo = $segundos; 
    $tiempo = abs($tiempo); 
    $dias = floor($tiempo/86400); 
    $resto_dias = $tiempo % 86400; 
    $horas = floor($resto_dias/3600); 
    $resto_horas = $resto_dias % 3600; 
    $minutos = floor($resto_horas/60); 
    $resto_minutos = $resto_horas % 60; 
    $segundos = floor($resto_minutos); 
 
if($dias==0){ 
$dias="" ;
}elseif($dias==1){
$dias="$dias giorno "; 
}else
{
$dias="$dias giorni ";
}
if($horas==0){ 
$horas="" ;
}elseif($horas==1){
$horas="$horas ora "; 
}else
{
$horas="$horas ore ";
}
if($minutos==0){ 
$minutos="" ;
}else{
$minutos="$minutos min ";
}
if($segundos==0){ 
$segundos="0" ;
}else{
$segundos="$segundos sec ";
}

return $dias.$horas.$minutos.$segundos."fa"; 
} 
?&gt; 
&lt;table cellpadding="1" cellspacing="1" border="0"&gt;
&lt;?php foreach ($rows as $row) { 
$f1 = $row-&gt;lastvisitDate;
$f2 = date("Y-m-d H:i:s");
$dif = strtotime($f2)-strtotime($f1);
?&gt;
 &lt;tr&gt;
  &lt;td&gt;&lt;b&gt;&amp;raquo; &amp;nbsp;&lt;?php echo $row-&gt;username ?&gt;&lt;/b&gt;&lt;br&gt;&lt;span="smalldark"&gt;&lt;?php echo seg2tiempo($dif); ?&gt;&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;?php
}
?&gt;
&lt;/table&gt;
</code></pre>
<p dir="auto">io non sapendo esattamente dove mettere l'iframe<br />
ho fatto così, ho rinominato il file originale della lista utenti in 2<br />
cioè mod_ultimevisite2.php<br />
ed ho ricreato il file mod_ultimevisite.php<br />
con questa semplice riga all'interno che richiami l'altro:</p>
<pre><code class="language-html">&lt;iframe name="utenti" scrolling="auto" border="0" frameborder="0" width="150" height="300" align="center" marginheight=0 marginwidth=0 src="http://www.karaoko.net/home/modules/mod_ultimevisite2.php"&gt;&lt;/iframe&gt;
</code></pre>
<p dir="auto">e l'errore che mi dice è:</p>
<p dir="auto">Accesso diretto a questa locazione non consentito, guarda <a href="http://www.karaoko.net/home/index.php" rel="nofollow ugc">http://www.karaoko.net/home/index.php</a></p>
]]></description><link>https://dev.connect.gt/post/651687</link><guid isPermaLink="true">https://dev.connect.gt/post/651687</guid><dc:creator><![CDATA[lovemusic]]></dc:creator><pubDate>Fri, 14 Dec 2007 19:17:25 GMT</pubDate></item><item><title><![CDATA[Reply to semplice comando if? on Fri, 14 Dec 2007 18:08:57 GMT]]></title><description><![CDATA[<p dir="auto">Puoi postare l'errore che ti da?</p>
]]></description><link>https://dev.connect.gt/post/651682</link><guid isPermaLink="true">https://dev.connect.gt/post/651682</guid><dc:creator><![CDATA[thedarkita]]></dc:creator><pubDate>Fri, 14 Dec 2007 18:08:57 GMT</pubDate></item><item><title><![CDATA[Reply to semplice comando if? on Thu, 13 Dec 2007 23:51:53 GMT]]></title><description><![CDATA[<p dir="auto">posso chiedere un'altra piccola cortesia poi basta...<br />
non voglio esagerare.... <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/cf2b9f4d-33e6-4abf-a06a-1fe2cb265afc-sbav.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--sbav" style="height:1.4em;width:auto;vertical-align:middle" title=":sbav:" alt="" /></p>
<p dir="auto">avrei bosogno di creare la lista degli utenti in una scrollbar<br />
altrimenti mi allunga troppo la prima pagina<br />
quando ci sono tanti utenti....<br />
ho scritto sul forum di supporto ma non mi ha risposto nessuno....<br />
ho provato a mettere un iframe nel file che richiama<br />
il file della lista utenti, ma da errore restrizione...<br />
altro non so fare....</p>
<p dir="auto">questo è il codice del file che mostra la lista degli utenti online:</p>
<pre><code class="language-php">&lt;?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 &lt;&gt; 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-&gt;get('show_today', 1);
$show_week = $params-&gt;get('show_week', 1);
$show_month = $params-&gt;get('show_month', 1);
$show_last = $params-&gt;get('show_last', 1);
$icon_set = $params-&gt;get('icon_set', 1);
$query1 = "SELECT count(id) as registered FROM #__users WHERE usertype &lt;&gt; 'administrator' AND usertype &lt;&gt; 'superadministrator'";
$query2 = "SELECT count(id) FROM #__users WHERE to_days(registerDate) = to_days(curdate()) AND usertype &lt;&gt; 'administrator' AND usertype &lt;&gt; 'superadministrator'";
$query3 = "SELECT count(id) FROM #__users WHERE yearweek(registerDate) = yearweek(curdate()) AND usertype &lt;&gt; 'administrator' AND usertype &lt;&gt; 'superadministrator'";
$query4 = "SELECT count(id) FROM #__users WHERE month(registerDate) = month(curdate()) AND usertype &lt;&gt; 'administrator' AND usertype &lt;&gt; 'superadministrator'";
$query5 = "SELECT username FROM #__users WHERE block='0' AND usertype &lt;&gt; 'administrator' AND usertype &lt;&gt; 'superadministrator' ORDER BY registerDate DESC LIMIT 1";
$database-&gt;setQuery($query1);
$total_array = $database-&gt;loadResult();
if($show_today==1) {
 $database-&gt;setQuery($query2);
 $today = $database-&gt;loadResult();
 };
if($show_week==1) {
 $database-&gt;setQuery($query3);
 $thisweek = $database-&gt;loadResult();
 };
if($show_month==1) {
 $database-&gt;setQuery($query4);
 $thismonth = $database-&gt;loadResult();
 };
if($show_last==1) {
 $database-&gt;setQuery($query5);
 $lastuser = $database-&gt;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;
}
if ($total_array == NULL) {?&gt;
 &lt;table&gt;
 &lt;tr&gt;&lt;td&gt;&lt;img src="&lt;?php echo $mosConfig_live_site; ?&gt;/modules/mod_totalusers_images/&lt;?php echo $icon0; ?&gt;" width="100%" height="100%" border="0" align="left" alt="" /&gt;&lt;/td&gt;&lt;td&gt;&lt;?php echo " 0 "._REG_USS;?&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/table&gt;&lt;?php
} else {?&gt;
 &lt;table&gt;
 &lt;tr&gt;&lt;td&gt;&lt;img src="&lt;?php echo $mosConfig_live_site; ?&gt;/modules/mod_totalusers_images/&lt;?php echo $icon0; ?&gt;" border="0" align="center" alt="" /&gt;&lt;/td&gt;&lt;td&gt;&lt;?php echo " $total_array "._REG_USS;?&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;?php if($show_today==1) { ?&gt;&lt;tr&gt;&lt;td&gt;&lt;img src="&lt;?php echo $mosConfig_live_site; ?&gt;/modules/mod_totalusers_images/&lt;?php echo $icon1; ?&gt;" border="0" align="center" alt="" /&gt;&lt;/td&gt;&lt;td&gt;&lt;?php echo " $today "._REG_TDY;?&gt;&lt;/td&gt;&lt;/tr&gt;&lt;?php }; ?&gt;
 &lt;?php if($show_week==1) { ?&gt;&lt;tr&gt;&lt;td&gt;&lt;img src="&lt;?php echo $mosConfig_live_site; ?&gt;/modules/mod_totalusers_images/&lt;?php echo $icon2; ?&gt;" border="0" align="center" alt="" /&gt;&lt;/td&gt;&lt;td&gt;&lt;?php echo " $thisweek "._REG_WEK;?&gt;&lt;/td&gt;&lt;/tr&gt;&lt;?php }; ?&gt;
 &lt;?php if($show_month==1) { ?&gt;&lt;tr&gt;&lt;td&gt;&lt;img src="&lt;?php echo $mosConfig_live_site; ?&gt;/modules/mod_totalusers_images/&lt;?php echo $icon3; ?&gt;" border="0" align="center" alt="" /&gt;&lt;/td&gt;&lt;td&gt;&lt;?php echo " $thismonth "._REG_MON;?&gt;&lt;/td&gt;&lt;/tr&gt;&lt;?php }; ?&gt;
 &lt;?php if($show_last==1) { ?&gt;&lt;tr&gt;&lt;td&gt;&lt;img src="&lt;?php echo $mosConfig_live_site; ?&gt;/modules/mod_totalusers_images/&lt;?php echo $icon4; ?&gt;" border="0" align="center" alt="" /&gt;&lt;/td&gt;&lt;td&gt;&lt;?php echo _REG_LST;?&gt;&lt;I&gt;&lt;?php echo $lastuser;?&gt;&lt;/I&gt;&lt;/td&gt;&lt;/tr&gt;&lt;?php }; ?&gt;
 &lt;/table&gt;&lt;?php
}
?&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/post/651685</link><guid isPermaLink="true">https://dev.connect.gt/post/651685</guid><dc:creator><![CDATA[lovemusic]]></dc:creator><pubDate>Thu, 13 Dec 2007 23:51:53 GMT</pubDate></item><item><title><![CDATA[Reply to semplice comando if? on Thu, 13 Dec 2007 23:17:41 GMT]]></title><description><![CDATA[<p dir="auto">Funziona funziona... <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/559d73b1-6433-4f6d-8068-61f9dfa0017d-tupitupi.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--yuppi" style="height:1.4em;width:auto;vertical-align:middle" title=":yuppi:" alt="" /><br />
grazie... grazie mille... <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/54a3bffb-5e4a-4eb8-81dc-99b2072e5d05-175.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--ciauz" style="height:1.4em;width:auto;vertical-align:middle" title=":ciauz:" alt="" /></p>
]]></description><link>https://dev.connect.gt/post/651691</link><guid isPermaLink="true">https://dev.connect.gt/post/651691</guid><dc:creator><![CDATA[lovemusic]]></dc:creator><pubDate>Thu, 13 Dec 2007 23:17:41 GMT</pubDate></item><item><title><![CDATA[Reply to semplice comando if? on Thu, 13 Dec 2007 21:33:56 GMT]]></title><description><![CDATA[<p dir="auto">prova a sostituire:</p>
<pre><code>[COLOR=#000000]&lt;!-- Inizio tabella creata da me con Ultimi downloads --&gt;
 
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;

&lt;table width="690" border="0" align="center" bordercolor="#000000"&gt;
  &lt;tr&gt;
    &lt;th width="312" height="36" align="center"&gt;&lt;font size="3"&gt;Ultimi Files inseriti&lt;/font&gt;&lt;/th&gt;
    &lt;td width="1" rowspan="2" bgcolor="#000000"&gt;&amp;nbsp;&lt;/td&gt;
    &lt;th width="313" align="center"&gt;&lt;font size="3"&gt;Files più scaricati&lt;/font&gt;&lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;th height="90" align="left" valign="top" scope="row"&gt;
    &lt;p&gt;[COLOR=#0000bb]&lt;?php mosLoadModules[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]'centrales1'[/COLOR][COLOR=#007700], -[/COLOR][COLOR=#0000bb]1[/COLOR][COLOR=#007700]); [/COLOR][COLOR=#0000bb]?&gt;[/COLOR]&lt;/p&gt;&lt;/th&gt;
    &lt;td valign="top"&gt;
    &lt;p&gt;[COLOR=#0000bb]&lt;?php mosLoadModules[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]'centraled2'[/COLOR][COLOR=#007700], -[/COLOR][COLOR=#0000bb]1[/COLOR][COLOR=#007700]); [/COLOR][COLOR=#0000bb]?&gt;[/COLOR]&lt;/p&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;

&lt;!-- Fine tabella ultimi downloads --&gt;[/COLOR]
</code></pre>
<p dir="auto">con</p>
<pre><code class="language-php"> &lt;?php if($_SERVER['REQUEST_URI']== "/home/index.php?option=com_docman&amp;Itemid=29"){ ?&gt;
&lt;!-- Inizio tabella creata da me con Ultimi downloads --&gt;
 
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;

&lt;table width="690" border="0" align="center" bordercolor="#000000"&gt;
  &lt;tr&gt;
    &lt;th width="312" height="36" align="center"&gt;&lt;font size="3"&gt;Ultimi Files inseriti&lt;/font&gt;&lt;/th&gt;
    &lt;td width="1" rowspan="2" bgcolor="#000000"&gt;&amp;nbsp;&lt;/td&gt;
    &lt;th width="313" align="center"&gt;&lt;font size="3"&gt;Files più scaricati&lt;/font&gt;&lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;th height="90" align="left" valign="top" scope="row"&gt;
    &lt;p&gt;&lt;?php mosLoadModules('centrales1', -1); ?&gt;&lt;/p&gt;&lt;/th&gt;
    &lt;td valign="top"&gt;
    &lt;p&gt;&lt;?php mosLoadModules('centraled2', -1); ?&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;

&lt;!-- Fine tabella ultimi downloads --&gt;
&lt;?php }?&gt;
</code></pre>
<p dir="auto">e vedi se funziona</p>
]]></description><link>https://dev.connect.gt/post/651680</link><guid isPermaLink="true">https://dev.connect.gt/post/651680</guid><dc:creator><![CDATA[thedarkita]]></dc:creator><pubDate>Thu, 13 Dec 2007 21:33:56 GMT</pubDate></item><item><title><![CDATA[Reply to semplice comando if? on Thu, 13 Dec 2007 17:57:23 GMT]]></title><description><![CDATA[<p dir="auto">avete ragione...<br />
questo è l'indirizzo:<br />
<a href="http://www.karaoko.net/home/index.php?option=com_docman&amp;Itemid=29" rel="nofollow ugc">http://www.karaoko.net/home/index.php?option=com_docman&amp;Itemid=29</a></p>
<p dir="auto">vedete la tabella in sezione con ultimi file insetiti e scaricati...<br />
quella tabella è quella che ho aggiunto io...<br />
è solo che la vorrei visualizzare solo nell'indice,<br />
mentre ora se entro nelle varie categorie si vede sempre...<br />
la riporta allungando le pagine delle categorie con un brutto effetto.</p>
<p dir="auto">questo è il codice del file modificato da me:</p>
<pre><code class="language-php">&lt;?php
/**
 * DOCman 1.4.x - Joomla! Document Manager
 * @version $Id: page_docbrowse.tpl.php 251 2007-09-01 14:28:37Z mjaz $
 * @package DOCman_1.4
 * @copyright (C) 2003-2007 The DOCman Development Team
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link http://www.joomlatools.org/ Official website
 **/
defined('_VALID_MOS') or die('Restricted access');
/**
 * Default DOCman Theme
 *
 * Creator:  The DOCman Development Team
 * Website:  http://www.joomlatools.org/
 * Email:    support@joomlatools.org
 * Revision: 1.4
 * Date:     February 2007
 **/
/* Display the documents overview (required)
*
* This template is called when u user preform browse the docman
*
* General variables  :
* $this-&gt;theme-&gt;path (string) : template path
*  $this-&gt;theme-&gt;name (string) : template name
*  $this-&gt;theme-&gt;conf (object) : template configuartion parameters
* $this-&gt;theme-&gt;icon (string) : template icon path
*   $this-&gt;theme-&gt;png  (boolean): browser png transparency support
*
* Preformatted html variables :
* $this-&gt;html-&gt;menu     (string)(fetched from : general/menu.tpl.php)
 $this-&gt;html-&gt;category (string)(fetched from : categories/category.tpl.php)
* $this-&gt;html-&gt;cat_list (string)(fetched from : categories/list.tpl.php)
* $this-&gt;html-&gt;doc_list (string)(fetched from : documents/list.tpl.php)
* $this-&gt;html-&gt;pagenav  (string)(fetched from : general/pagenav.tpl.php)
* $this-&gt;html-&gt;pagetitle(string)(fetched from : general/pagetitle.tpl.php)
*/
?&gt;
&lt;?php $this-&gt;splugin('pagetitle', _DML_TPL_TITLE_BROWSE.$this-&gt;html-&gt;pagetitle ) ?&gt;
&lt;?php echo $this-&gt;plugin('stylesheet', $this-&gt;theme-&gt;path . "css/theme.css") ?&gt;
&lt;?php $theme = defined('_DM_J15') ? "css/theme15.css" : "css/theme10.css";
      echo $this-&gt;plugin('stylesheet', $this-&gt;theme-&gt;path . $theme) ?&gt;
&lt;?php echo $this-&gt;plugin('javascript', $this-&gt;theme-&gt;path . "js/theme.js") ?&gt;
&lt;?php
if ($this-&gt;theme-&gt;conf-&gt;item_tooltip) :
    echo $this-&gt;plugin('overlib');
endif;
?&gt;
&lt;?php echo $this-&gt;html-&gt;menu; ?&gt;
&lt;?php echo $this-&gt;html-&gt;category; ?&gt;
&lt;?php echo $this-&gt;html-&gt;cat_list; ?&gt;
&lt;?php echo $this-&gt;html-&gt;doc_list; ?&gt;
&lt;?php echo $this-&gt;html-&gt;pagenav; ?&gt;
 

&lt;!-- Inizio tabella creata da me con Ultimi downloads --&gt;
 
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;

&lt;table width="690" border="0" align="center" bordercolor="#000000"&gt;
  &lt;tr&gt;
    &lt;th width="312" height="36" align="center"&gt;&lt;font size="3"&gt;Ultimi Files inseriti&lt;/font&gt;&lt;/th&gt;
    &lt;td width="1" rowspan="2" bgcolor="#000000"&gt;&amp;nbsp;&lt;/td&gt;
    &lt;th width="313" align="center"&gt;&lt;font size="3"&gt;Files più scaricati&lt;/font&gt;&lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;th height="90" align="left" valign="top" scope="row"&gt;
    &lt;p&gt;&lt;?php mosLoadModules('centrales1', -1); ?&gt;&lt;/p&gt;&lt;/th&gt;
    &lt;td valign="top"&gt;
    &lt;p&gt;&lt;?php mosLoadModules('centraled2', -1); ?&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;

&lt;!-- Fine tabella ultimi downloads --&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/post/651686</link><guid isPermaLink="true">https://dev.connect.gt/post/651686</guid><dc:creator><![CDATA[lovemusic]]></dc:creator><pubDate>Thu, 13 Dec 2007 17:57:23 GMT</pubDate></item><item><title><![CDATA[Reply to semplice comando if? on Wed, 12 Dec 2007 21:04:34 GMT]]></title><description><![CDATA[<p dir="auto">effettivamente XD</p>
<p dir="auto">possiamo vedere il sito???</p>
<p dir="auto">magari capiamo che cosa intendi <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://dev.connect.gt/post/651690</link><guid isPermaLink="true">https://dev.connect.gt/post/651690</guid><dc:creator><![CDATA[samyorn]]></dc:creator><pubDate>Wed, 12 Dec 2007 21:04:34 GMT</pubDate></item><item><title><![CDATA[Reply to semplice comando if? on Wed, 12 Dec 2007 20:54:09 GMT]]></title><description><![CDATA[<p dir="auto">beh con solo queste informazioni non credo nessuno ti possa aiutare</p>
]]></description><link>https://dev.connect.gt/post/651679</link><guid isPermaLink="true">https://dev.connect.gt/post/651679</guid><dc:creator><![CDATA[thedarkita]]></dc:creator><pubDate>Wed, 12 Dec 2007 20:54:09 GMT</pubDate></item></channel></rss>