Login    Registrati    Text  + grande    + piccolo

phpnuke for donkeys translator phpnuke for donkeys translator phpnuke for donkeys translator phpnuke for donkeys translator phpnuke for donkeys translator phpnuke for donkeys translator phpnuke for donkeys translator

smartphone android
vendite riservate
Offerte Cd e Dvd
 
Area Riservata 1 Tutorials
Area Riservata 1 Downloads
Area Riservata 2 Tutorials
Area Riservata 2 Downloads Info Area 1    Info Area 2
Clicca per iniziare il tour!
Mobile     Facebook     Twitter     RSS Feed
Per qualsiasi informazione Contattaci
Nuova pagina 2


PHP-Nukefordonkeys.com: Forums

:: Leggi il Topic - aiuto Tema XGrey
 FAQFAQ   CercaCerca   Gruppi utentiGruppi utenti   ProfiloProfilo   LoginLogin 

aiuto Tema XGrey

 
Nuovo Topic   Rispondi    Indice del forum -> Grafica e Temi
Precedente :: Successivo  
Autore Messaggio
Shin-ji
Newbie
Newbie


Registrato: 09-02-2004
Messaggi: 4

MessaggioInviato: 29-02-2004 16:58    Oggetto: aiuto Tema XGrey Rispondi citando

ho un problema con il tema XGray scaricato dalla sezione download Smile
Questa č la mia Homepage http://www.shinji89.altervista.org/index.php
subito sotto al logo colorato, c'č una barra grigia con al centro il contatore di visite. Io vorrei togliere sia il contatore di visite sia i link ai due lati...ma come devo fare?? questo č il themeheater del theme.php:

/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/

function themeheader() {
global $dbi, $startdate, $user_prefix, $prefix, $thewidth, $thename, $bgcolor5, $user, $banners, $sitename, $slogan, $cookie;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = $anonymous;
}
echo "<body topmargin=\"2\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" bgcolor=\"#FFFFFF\" text=\"#000000\" link=\"#000000\" vlink=\"#000000\" alink=\"#000000\">\n";
if ($banners) {
include("banners.php");
}
echo "<center>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"$thewidth\">\n"
." <tr>\n"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/toplefti.gif\" width=\"4\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/topi.gif\"><img border=\"0\" src=\"themes/$thename/images/topi.gif\" width=\"152\" height=\"4\"></td>\n"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/toprighti.gif\" width=\"4\" height=\"4\"></td>\n"
."</tr>\n<tr>\n"
." <td background=\"themes/$thename/images/midlefti.gif\" width=\"4\"><img border=\"0\" src=\"themes/$thename/images/midlefti.gif\" width=\"4\" height=\"30\"></td>\n"
." <td class=\"blockitem\" align=\"left\"><img border=\"0\" src=\"themes/$thename/images/logo.jpg\"></td>\n"
." <td background=\"themes/$thename/images/midrighti.gif\" width=\"4\"><img border=\"0\" src=\"themes/$thename/images/midrighti.gif\" width=\"4\" height=\"30\"></td>\n"
."</tr>\n<tr>\n"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/botlefti.gif\" width=\"4\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/boti.gif\"><img border=\"0\" src=\"themes/$thename/images/boti.gif\" width=\"152\" height=\"4\"></td>\n"
." <td width=\"4\"><img border=\"0\" src=\"themes/$thename/images/botrighti.gif\" width=\"4\" height=\"4\"></td>\n"
."</tr>\n"
."</table>\n</center>\n"
."<table width=\"$thewidth\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"$bgcolor5\" align=\"center\"><tr valign=top>\n"
."<td bgcolor=\"$bgcolor5\"><img src=\"themes/$thename/images/pixel.gif\" width=\"1\" height=\"10\" border=\"0\"></td></tr></table>\n"
."<center>\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"$thewidth\">\n"
." <tr>\n"
." <td width=\"20\"><img border=\"0\" src=\"themes/$thename/images/toplefta.gif\" width=\"20\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/top.gif\"><img border=\"0\" src=\"themes/$thename/images/top.gif\" width=\"136\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/top.gif\"><img border=\"0\" src=\"themes/$thename/images/top.gif\" width=\"136\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/top.gif\"><img border=\"0\" src=\"themes/$thename/images/top.gif\" width=\"136\" height=\"4\"></td>\n"
." <td width=\"20\"><img border=\"0\" src=\"themes/$thename/images/toprighta.gif\" width=\"20\" height=\"4\"></td>\n"
." </tr>\n"
." <tr>\n"
." <td background=\"themes/$thename/images/midlefta.gif\" width=\"20\"><img border=\"0\" src=\"themes/$thename/images/midlefta.gif\" width=\"20\" height=\"14\"></td>\n"
." <td align=\"left\" class=\"boxtitle\" width=\"33%\"><b>\n";
if ($username == $anonymous) {
echo "&<a href=\"user.php?op=new_user\" class=\"header\">"._NEWUSER."</a></b> / <b><a href=\"user.php\" class=\"header\">"._USERLOGIN."</a>\n";
} else {
echo "&"._TWELCOME." $username: <a href=\"user.php\" class=\"header\">"._TACCOUNT."</a> | <a href=\"user.php?op=logout\" class=\"header\">"._LOGOUT."</a>";
}
echo "</b></td>\n"
." <td align=\"center\" class=\"boxtitle\" width=\"34%\"><b>\n";
$result = sql_query("select type, var, count from $prefix"._counter." order by type desc", $dbi);
while(list($type, $var, $count) = sql_fetch_row($result, $dbi)) {
if(($type == "total") && ($var == "hits")) {
$total = $count;
echo ""._WERECEIVED." $total "._PAGESVIEWS." $startdate\n";
}
}
echo "</b></td>\n"
."<td align=\"right\" class=\"boxtitle\" width=\"33%\"><b>\n";
$numrows = sql_num_rows(sql_query("select uid from $user_prefix"._users."", $dbi), $dbi);
echo ""._WEHAVE." $numrows "._REGSOFAR."&</b></td>\n"
."<td background=\"themes/$thename/images/midrighta.gif\" width=\"20\"><img border=\"0\" src=\"themes/$thename/images/midrighta.gif\" width=\"20\" height=\"14\"></td>\n"
."</tr>\n"

."<tr>\n"
." <td width=\"20\"><img border=\"0\" src=\"themes/$thename/images/botlefta.gif\" width=\"20\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/bot.gif\"><img border=\"0\" src=\"themes/$thename/images/bot.gif\" width=\"136\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/bot.gif\"><img border=\"0\" src=\"themes/$thename/images/bot.gif\" width=\"136\" height=\"4\"></td>\n"
." <td background=\"themes/$thename/images/bot.gif\"><img border=\"0\" src=\"themes/$thename/images/bot.gif\" width=\"136\" height=\"4\"></td>\n"
." <td width=\"20\"><img border=\"0\" src=\"themes/$thename/images/botrighta.gif\" width=\"20\" height=\"4\"></td>\n"
."</tr>\n"
."</table>\n"
."</center>\n"
."<!-- END HEADER -->\n"
."<table width=\"$thewidth\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"$bgcolor5\" align=\"center\"><tr valign=top>\n"
."<td bgcolor=\"$bgcolor5\"><img src=\"themes/$thename/images/pixel.gif\" width=\"1\" height=\"10\" border=\"0\"></td></tr></table>\n"
."<table width=\"$thewidth\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"$bgcolor5\" align=\"center\"><tr valign=top>\n"
."<td bgcolor=\"$bgcolor5\" width=\"160\" valign=\"top\">\n";
blocks(left);
echo "</td><td><img src=themes/$thename/images/pixel.gif width=15 height=1 border=0></td><td width=100%>\n";

}
penso che il contenuto di quella barra sia quello che ho evidenziato, ma non ne sono certo. Qualcuno č in grado di aiutarmi?
grazie mille, Very Happy
Torna in cima
Profilo Messaggio privato Invia email
piermin
senior
senior


Registrato: 18-12-2003
Messaggi: 1298

MessaggioInviato: 29-02-2004 19:22    Oggetto: Rispondi citando

sulla barra grigia hai:
Nuovo Utente , _USERLOGIN, 300 pagine viste dal 28 Febbraio 2004 e _WEHAVE _REGSOFAR

Cosa vuoi togliere di preciso ? (non ho capito se vuoi togliere tutto o lasciare qualcosa)
Torna in cima
Profilo Messaggio privato Invia email
Shin-ji
Newbie
Newbie


Registrato: 09-02-2004
Messaggi: 4

MessaggioInviato: 01-03-2004 13:08    Oggetto: Rispondi citando

vorrei togliere tutto se č possibile, e magari mettere la data a destra.... Very Happy
Torna in cima
Profilo Messaggio privato Invia email
piermin
senior
senior


Registrato: 18-12-2003
Messaggi: 1298

MessaggioInviato: 01-03-2004 14:50    Oggetto: Rispondi citando

per avere la barra grigia pulita, prova ad eliminare le parti rosse

per i due a sinistra

." <td align=\"left\" class=\"boxtitle\" width=\"33%\"><b>\n";
if ($username == $anonymous) {
echo "&<a href=\"user.php?op=new_user\" class=\"header\">"._NEWUSER."</a></b> / <b><a href=\"user.php\" class=\"header\">"._USERLOGIN."</a>\n";
} else {
echo "&"._TWELCOME." $username: <a href=\"user.php\" class=\"header\">"._TACCOUNT."</a> | <a href=\"user.php?op=logout\" class=\"header\">"._LOGOUT."</a>";
}


echo "</b></td>\n"

per il centrale

." <td align=\"center\" class=\"boxtitle\" width=\"34%\"><b>\n";
$result = sql_query("select type, var, count from $prefix"._counter." order by type desc", $dbi);
while(list($type, $var, $count) = sql_fetch_row($result, $dbi)) {
if(($type == "total") && ($var == "hits")) {
$total = $count;
echo ""._WERECEIVED." $total "._PAGESVIEWS." $startdate\n";
}
}

echo "</b></td>\n"

per il destro

."<td align=\"right\" class=\"boxtitle\" width=\"33%\"><b>\n";
$numrows = sql_num_rows(sql_query("select uid from $user_prefix"._users."", $dbi), $dbi);
echo ""._WEHAVE." $numrows "._REGSOFAR."&</b></td>\n"

echo "</b></td>\n" (da inserire al posto della riga precedente)
Torna in cima
Profilo Messaggio privato Invia email
Shin-ji
Newbie
Newbie


Registrato: 09-02-2004
Messaggi: 4

MessaggioInviato: 01-03-2004 17:23    Oggetto: Rispondi citando

perfetto ora funziona, la barra č vuota! Grazie mille Very Happy Very Happy
Torna in cima
Profilo Messaggio privato Invia email
Mostra prima i messaggi di:   
Nuovo Topic   Rispondi    Indice del forum -> Grafica e Temi Tutti i fusi orari sono GMT + 1 ora
Pagina 1 di 1

 
Vai a:  
Non puoi inserire nuovi Topic in questo forum
Non puoi rispondere ai Topic in questo forum
Non puoi modificare i tuoi messaggi in questo forum
Non puoi cancellare i tuoi messaggi in questo forum
Non puoi votare nei sondaggi in questo forum


Powered by phpBB © 2001-2006 phpBB Group
Versione 2.0.21 by Nuke Cops © 2006 http://www.nukecops.com

Basato su PHP-Nuke - Powered by PHPNuke Professional
Generazione pagina: 0.12 Secondi