TSmenu

Attualmente in www.tuttosoft.it è stata caricata la versione del nuke 7.9 TS sono presenti la bellezza di 78 categorie e 713 downloads       Utenti registrati:  13490    Admin del sito sono: 1  Ultimi 5 Utenti registrati :    buagamasta    homebrew    kevyn_morgan    abramax    208ferro

Fai Una Donazione

Siti Amici

©

Pubblicità

Ts Tags Ver 1.0
Oracle su Linux Misura il PageRank Installare Lamp su Ubuntu Linux Matteoiamma Forum phbb3 V 3.0.4 Generatore Numeri casuale Numbers 1.0 PR5 Alexthemaster Forums Php Nuke Giovannib vea83inc Trucchi Nuke Banner Blocchi Notepad ++ Sottoscriviti PageRank 5 Queen_live78 PageRank Slaybook 1.2.1 Nukelive 1.0 Temi PhpBB Php Nuke Karmik koala Indicizzazione del tuo sito Gnu License Mappa sito Pilia Federico Nuke Sentinel 2.6.01 Splatt Chat 0.8.29 Ubuntu 9.10 Temi Phpnuke Donazione Sitemap Fonts Ranks Forum Weblord Directory Cambiare Ip da remoto Tuttosoft Serpe76 Configurare la scheda di rete da terminale con Ubuntu Moduli Proxy su Linux Ubuntu Ts Contacts Addons Banners No Spam Attack 3.1 Staff del sito OpenId 0.3 new Mascherare Mac-Address con Linux Avatars Nuke Ts Gallery Più comandi in uno unico con Linux da terminale Ts Menu 5.3 Virit Antivirus Installare Cairo-Dock su Ubuntu Linux a 64bit JQooBe LGNuke 2.0.0RC IP Remote Changer

Tuttosoft.it Php Nuke Italian Community: Forums

TUTTOSOFT :: Leggi il Topic - Come mettere un margine testo al titolo della news Benvenuti nel Forum di tuttosoft.it , per qualsiasi problema postate pure nel forum vi verrà data una risposta entro le 24 ore dal momento del Post. Buona Navigazione
 FAQFAQ   CercaCerca   Gruppi utentiGruppi utenti   ProfiloProfilo   Messaggi PrivatiMessaggi Privati   LoginLogin 

Come mettere un margine testo al titolo della news

 
Nuovo Topic   Rispondi    Indice del forum -> Temi PHP-Nuke
Precedente :: Successivo  
Autore Messaggio
Destino
Maestro
Maestro


Registrato: Feb 08, 2009
Messaggi: 314
Località: Reggi Calabria

MessaggioInviato: Lun Giu 28, 2010 6:59 pm    Oggetto: Come mettere un margine testo al titolo della news Rispondi citando

Ciao a tutti potete aiutarmi..dovrei mettere un margine di testo al titolo delle news. posto il file PHP e CSS del tema....aiuto..è urgente...:

Codice:
<?php
$bgcolor1 = "#000000";
$bgcolor2 = "#000000";
$bgcolor3 = "#46a4a1";
$bgcolor4 = "#46a4a1";
$textcolor1 = "#ffffff";
$textcolor2 = "#fgfgfgf";

function OpenTable() {
    global $bgcolor1, $bgcolor2;
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable() {
    echo "</td></tr></table></td></tr></table>\n";
}

function OpenTable2() {
    global $bgcolor1, $bgcolor2;
    echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
    echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable2() {
    echo "</td></tr></table></td></tr></table>\n";
}

function FormatStory($thetext, $notes, $aid, $informant) {
    global $anonymous;
    if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
  echo "<font class=\"news\">$thetext$notes</font>\n";
 
    } else {
   if($informant != "") {
       $boxstuff = "<a href=\"user.php?op=userinfo&amp;uname=$informant\"><b>$informant</a> ";
   } else {
       $boxstuff = "<b>Un anonimo ";
   }
   $boxstuff .= "segnala:</b> \"$thetext\"$notes\n";
   echo "<font class=\"content\">$boxstuff</font>\n";
    }
}


function themeheader() {
    global $banners, $name;
    echo "<body text=\"#ffffff\" link=\"0000ff\" leftmargin=0 rightmargin=0 topmargin=0>\n";
    if ($banners) {
   include("banners.php");
    }
    ########## Modifica header #########
    if ($name=='Forums') {
    $logo="Header_forum.jpg";
    } else {
    $logo="Heade2222.jpg";
    }
   #########################
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"10\" align=\"center\">\n"

    ."<tr><td width=\"100%\" height=\"10\" valign=\"bottom\">\n"
   ."<map name=\"FPMap0\">"
   ."</map>"
   ."<img border=\"0\" src=\"themes/Darkside/images/$logo\" usemap=\"#FPMap0\" width=\"1036px\" height=\"282px\">"


    ."<tr><td width=\"1040px\" align=\"center\" >\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"1040px\">\n"
   ."<tr><td width=\"1040\" bgcolor=\"#000000\"><table width='1040%' cellspacing='0' cellpadding='0' border='0' ><tr><td>\n";
    echo "</td></tr></table><table width=\"\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n"
   ."<tr valign=\"top\">\n"
   ."<td width=\"10400\"  valign=\"top\" style=\"padding:10px;\">\n";
   if ($name=='Forums') {}
   else if ($name=='Members_List') {}
   else if ($name=='Private_Messages') {}
   else {
    blocks(left);
    $sg = 'banner'; include "templates.php";   
   }
    echo "</td><td width=\"100%\" style=\"padding:10px 10px 10px 0px;\">\n";
}


function themefooter() {
    global $index;
    echo "<br>";
if (defined('INDEX_FILE')) {
   echo "</td><td valign=\"top\" width=\"130\" style=\"padding:10px 10px 10px 0px;\">\n";
   blocks(right);
   echo "<td>";
    }
 else {
   echo "</td>";
    }
    echo "</tr></table>\n"
    ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"
style=\"border-collapse: collapse\" width=\"100%\"><tr><td width=\"100%\">"
   ."<br><center>";
   echo "<br>";
   // DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE. YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS.
   echo "<p align=\"center\">";
   $sg = ''; include "templates.php";
   echo "</p>";   
   echo "</center></table></table></table>";
}


function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td>\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#666666\">\n"
   ."<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\"><tr>\n"
   ."<td background=\"themes/Darkside/images/barranews.gif\" width=\"609\" height=\"45\"><font class=\"option\"><b>$title</b></font></td></tr>\n"
   ."<tr><td background=\"themes/Darkside/images/back1.gif\"colspan=\"2\" bgcolor=\"#333333\">\n"
   ."<table border=\"0\" width=\"100%\" align=\"center\"><tr><td>\n"
   ."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
    FormatStory($thetext, $notes, $aid, $informant);
    echo "</td></tr></table>\n"
   ."</td></tr></table>\n"
   ."</td></tr><tr><td bgcolor=\"#000000\" align=\"center\">\n"
    ."&nbsp"
   ."<b><font class=\"tiny\">"._POSTEDBY." ";
    formatAidHeader($aid);
    echo " - $time $timezone <br></font>\n"
   ."<font class=\"content\">$morelink</font></center>\n"
   ."<img src=\"themes/Darkside/images/pixel.gif\" border=\"0\" height=\"1\">"
   ."</td></tr></table>\n"
   ."</td></tr><tr><td background=\"themes/Darkside/images/header_news_down.gif\" width=\"609\" height=\"32\"></tr>"
   ."<tr><td bgcolor=\"#000000\"><img src=\"themes/Darkside/images/pixel.gif\" width=\"100%\" height=\"4\"></td></tr></table>\n";
}

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid, $tipath;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td>\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
   ."<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\">"
   ."<tr><td background=\"themes/Darkside/images/barranews.gif\" width=\"609\" height=\"45\"><b>$title</b></td></tr>\n"
   ."<tr><td colspan=\"2\" background=\"themes/Darkside/images/back1.gif\"\n"
   ."<table border=\"0\" width=\"110%\" align=\"center\"><tr><td>\n"
   ."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
    FormatStory($thetext, $notes="", $aid, $informant);
    echo "</td></tr></table>\n"
   ."</td></tr></table><br>\n"
   ."</td></tr>\n"
   ."</table></td></tr>\n"
   ."<tr><td background=\"themes/Darkside/images/barrasottodopo.gif\" width=\"604px\" height=\"88\"></tr>"
   ."<tr><td><br><div align=\"center\"></div></td></tr>\n"
   ."<tr><td bgcolor=\"#2897dd\"></td></tr></table>\n";
}

function themesidebox($title, $content) {
echo "<table border=\"0\" align=\"center\" width=\"200\" cellpadding=\"0\" cellspacing=\"0\">"
   ."<tr><td background=\"themes/Darkside/images/menu_top1.jpg\" width=\"200\" height=\"1\">"
   ."   <font color=\"#46a4a1\" style=\"font-size:13px;\"><b>";
if (file_exists("$title.png")){ //Mod by matteoiamma - // www.matteoiammarrone.com
echo "<img src='$title.png'/>";
} else {
echo $title;
}
   echo "</b></font>"
   ."</td></tr></table>\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"200\">\n"
   ."<tr><td width=\"160\" bgcolor=\"#46a4a1\">\n"
   ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"200\">\n"
   ."<tr><td background=\"themes/Darkside/images/menu_middle.jpg\" width=\"200\" height=\100\">\n"
   ."$content"
   ."</td></tr></table></td></tr><td background=\"themes/Darkside/images/menu_bottom.jpg\" width=\"200\" height=\"9\"></td><tr><td><img src=\"themes/Darkside/images/pixel.gif\" width=\"130\" height=\"4\"></td></tr></table>";
}

?>


CSS

Codice:
FONT      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
TD      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
BODY      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px;color:#ffffff;background:#000 url(../images/ron.jpg) center top repeat-y;}
P      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
DIV      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
INPUT      {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
TEXTAREA   {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
FORM       {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
A:link          {
   BACKGROUND: none;
   COLOR: #a4dbdc;
   FONT-SIZE: 10px;
   FONT-FAMILY: Verdana, Helvetica;
   TEXT-DECORATION: none;
}
A:active        {
   BACKGROUND: none;
   COLOR: #a4dbdc;
   FONT-SIZE: 10px;
   FONT-FAMILY: Verdana, Helvetica;
   TEXT-DECORATION: none;
}
A:visited       {
   BACKGROUND: none;
   COLOR: #a4dbdc;
   FONT-SIZE: 10px;
   FONT-FAMILY: Verdana, Helvetica;
   TEXT-DECORATION: none;
}
A:hover         {
   BACKGROUND: none;
   COLOR: White;
   FONT-SIZE: 10px;
   FONT-FAMILY: Verdana, Helvetica;
   TEXT-DECORATION: underline;
}
.title       {BACKGROUND: none; COLOR: #fefefe; FONT-SIZE: 12px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.content    {BACKGROUND: none; COLOR: #ffffff; line-height:150%; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica}
.news    {BACKGROUND: none; COLOR: #ffffff; line-height:155%; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica}
.storytitle    {BACKGROUND: none; COLOR: #ffffff; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.storycat   {BACKGROUND: none; COLOR: #ffffff; FONT-SIZE: 10px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.boxtitle    {BACKGROUND: none; COLOR: #ffffff; FONT-SIZE: 10px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.boxcontent    {BACKGROUND: none; COLOR: #fefefe; FONT-SIZE: 12px; FONT-FAMILY: Verdana, Helvetica}
.option    {
   BACKGROUND: none;
   COLOR: #a4dbdc;
   FONT-SIZE: 11px;
   FONT-WEIGHT: bold;
   FONT-FAMILY: Verdana, Helvetica;
   TEXT-DECORATION: none;
}
.tiny      {
   BACKGROUND: none;
   COLOR: White;
   FONT-SIZE: 10px;
   FONT-WEIGHT: normal;
   FONT-FAMILY: Verdana, Helvetica;
   TEXT-DECORATION: none;
}
.footmsg        {
   BACKGROUND: none;
   COLOR: White;
   FONT-SIZE: 10px;
   FONT-WEIGHT: normal;
   FONT-FAMILY: Verdana, Helvetica;
   TEXT-DECORATION: none;
}
.footmsg_l   {
   BACKGROUND: none;
   COLOR: White;
   FONT-SIZE: 10px;
   FONT-WEIGHT: normal;
   FONT-FAMILY: Verdana, Helvetica;
   TEXT-DECORATION: underline;
}
.box      {
   FONT-FAMILY: Verdana,Helvetica;
   FONT-SIZE: 10px;
   border: 1px solid #CCCCCC;
   background-color: White;
}
i { color:#a6d7ed;}

/* -------------------------- */
a.sgfooter:link, a.sgfooter:visited {
   color         : #fefefe;
   font-size      : 11px;
   font-family: Arial;
   text-decoration:none;
}
a.sgfooter:hover {
   color         : #fefefe;
   font-family: Arial;
   text-decoration:none;
}
a.sgfooter1:link, a.sgfooter1:visited {
   color         : #336699;
   font-size      : 10px;
   font-family: Verdana,Arial,Helvetica,sans-serif;
   text-decoration:none;
}
a.sgfooter1:hover {
   color: White;
   font-family: Verdana,Arial,Helvetica,sans-serif;
   text-decoration: none;
}
.sgf {
font-size: 11px;
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #fefefe;
text-decoration:none;
}
.sgf1 {
font-size: 11px;
font-family: Verdana,Arial,Helvetica,sans-serif;
color: #fefefe;
text-align:left;
}

.sgimg1{
   background:#0072b5 url(../images/banner_01.jpg) center top no-repeat;
   background-repeat: no-repeat;
   width:28px;
   height:16px;
}
.sgimg2{
   background:#0072b5 url(../images/banner_02.jpg) center top no-repeat;
   background-repeat: no-repeat;
   width:107px;
   height:16px;
}

_________________
Torna in cima
Profilo Messaggio privato Invia email HomePage MSN Messenger
queen_live78
Amministratore
Amministratore


Registrato: Nov 10, 2006
Messaggi: 2457
Località: Cagliari (CA) - Maniago (PN)

MessaggioInviato: Ven Lug 02, 2010 9:15 am    Oggetto: Rispondi citando

la variabile del titolo della news è indicato nel file html del tema che utilizzi.
_________________

Torna in cima
Profilo Messaggio privato HomePage
Destino
Maestro
Maestro


Registrato: Feb 08, 2009
Messaggi: 314
Località: Reggi Calabria

MessaggioInviato: Ven Lug 02, 2010 9:17 am    Oggetto: Rispondi citando

queen_live78 ha scritto:
la variabile del titolo della news è indicato nel file html del tema che utilizzi.
nn ne ho file html nella cartella..ho solo file php e css
_________________
Torna in cima
Profilo Messaggio privato Invia email HomePage MSN Messenger
queen_live78
Amministratore
Amministratore


Registrato: Nov 10, 2006
Messaggi: 2457
Località: Cagliari (CA) - Maniago (PN)

MessaggioInviato: Ven Lug 02, 2010 9:19 am    Oggetto: Rispondi citando

è la stessa cosa!!! che tema utilizzi ?
_________________

Torna in cima
Profilo Messaggio privato HomePage
Destino
Maestro
Maestro


Registrato: Feb 08, 2009
Messaggi: 314
Località: Reggi Calabria

MessaggioInviato: Ven Lug 02, 2010 9:47 am    Oggetto: Rispondi citando

queen_live78 ha scritto:
è la stessa cosa!!! che tema utilizzi ?


http://phpnuke.siteground.com/siteground4/ ma chiaramente il file del tema è cambiato un casino
_________________
Torna in cima
Profilo Messaggio privato Invia email HomePage MSN Messenger
Destino
Maestro
Maestro


Registrato: Feb 08, 2009
Messaggi: 314
Località: Reggi Calabria

MessaggioInviato: Dom Lug 04, 2010 10:07 am    Oggetto: Rispondi citando

quindi che dovrei fare...è qualkosa che si può fare?
_________________
Torna in cima
Profilo Messaggio privato Invia email HomePage MSN Messenger
Mostra prima i messaggi di:   
Nuovo Topic   Rispondi    Indice del forum -> Temi PHP-Nuke 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, 2005 phpBB Group
Tema Creato da Queen_live78 © 2007