Newsgroup: it.comp.www.php
Titolo: Qualcuno conosce bene php nuke?

avrei una domanda,
Se richiamo la variabile $sid nella pagina index delle News, questa non 
viene riconosciuta, se la chiamo dalla pagine article viene riconosciuta.
Qualcuno che conosce nuke puņ aiutarmi. 

se in una pagina richiamo una variabile ed è ok, ed in un'altra non succede 
nulla, da cosa dipende?
Aiutatemi, vi prego! 

Chiara Novella wrote:

dal codice della pagina..
-- 
www.iuz-lab.info

 dal codice della pagina..
themeindex non va mentre themearticle sě
function themeindex ($aid, $informant, $time, $title, $counter, $topic, 
$thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $tipath, $anonymous, $bgcolor1, $bgcolor2, $bgcolor3;
    $ThemeSel = get_theme();
    if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
 $t_image = "themes/$ThemeSel/images/topics/$topicimage";
    } else {
 $t_image = "$tipath$topicimage";
    }
    echo "<table style=\"border: dashed 1px #c0c0c0;\" cellpadding=\"0\" 
cellspacing=\"0\" align=\"center\" bgcolor=$bgcolor3 
width=\"100%\"><tr><td>"
        ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" 
width=\"100%\"><tr><td bgcolor=#eeffcc>"
        ."<font class=\"title\">$title</font><br>"
        ."<font size=\"1\">"
 ."$time "._BY." "
        ."<b>";
    formatAidHeader($informant);
    echo "</b> ($counter "._READS.")</font></td></tr>"
 ."<tr><td bgcolor=#f8f8f8><a 
href=\"modules.php?name=News&amp;new_topic=$topic\"><img src=\"$sid\" 
align=\"right\" border=\"0\" alt=\"$topictext\"
title=\"$topictext\"></a>";
    FormatStory($thetext, $notes, $aid, $informant);
    echo "<br>"
        ."</td></tr><tr><td bgcolor=#f2f2f2 align=\"right\">"
        ."<font size=\"2\">$morelink</font>"
        ."</td></tr></table></td></tr></table>"
 ."<br>";
}
function themearticle ($aid, $informant, $datetime, $title, $thetext, 
$topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid, $tipath, $bgcolor1, $bgcolor2, $bgcolor3;
    $ThemeSel = get_theme();
    if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
 $t_image = "themes/$ThemeSel/images/topics/$topicimage";
    } else {
 $t_image = "$tipath$topicimage";
    }
    if ("$aid" == "$informant") {
 echo "<table style=\"border-style: dashed; border-width: 1px; 
border-color=#c0c0c0;\" border=0 cellpadding=0 cellspacing=0 align=center
bgcolor=$bgcolor3 width=100%><tr><td>"
 ."<table border=0 cellpadding=3 cellspacing=1 width=100%><tr><td 
bgcolor=#ffeecc>"
 ."<font class=\"title\">$title</font><br>"._TOPIC.": <a 
href=modules.php?name=News&amp;new_topic=$topic>$topictext</a> - $datetime"
 ."</td></tr><tr><td bgcolor=#f8f8f8>"
 ."<a href=\"modules.php?name=News&amp;new_topic=$topic\"><img 
src=\"$t_image\" border=\"0\" alt=\"$topictext\" title=\"$topictext\"
align=\"right\"></a>$thetext"
 ."</td></tr></table></td></tr></table><br>";
    } else {
 if($informant != "") $informant = "<a 
href=\"modules.php?name=Your_Account&amp;op=userinfo&username=$informant\">$informant</a> 
";
 else $boxstuff = "$anonymous ";
 $boxstuff .= ""._WRITES." \"$thetext\" $notes";
 echo "<table style=\"border: dashed 1px #c0c0c0;\" border=0 cellpadding=0 
cellspacing=0 align=center bgcolor=$bgcolor3 width=100%><tr><td>"
 ."<table border=0 cellpadding=3 cellspacing=1 width=100%><tr><td 
bgcolor=#ffeecc>"
        ."<font class=\"title\">$title</font><br>"._TOPIC.": <a 
href=modules.php?name=News&amp;new_topic=$topic>$topictext</a> - $datetime"
 ."</td></tr><tr><td bgcolor=\"#f8f8f8\">"
 ."<a href=\"modules.php?name=News&amp;new_topic=$topic\"><img 
src=\"$t_image\" border=\"0\" alt=\"$topictext\" title=\"$topictext\"
align=\"right\"></a>$thetext"
 ."</td></tr></table></td></tr></table><br>";
    }
}