 |
 | |
| | | | |
|  |
 |
 |
|
|
| Zadając pytanie dotyczące PHPNuke podaj jego wersje!! |
| Author |
Message |
Selena
~user

Joined: 27.09.2006
Posts: 94
Location: Gdańsk
Status: Offline
|
Posted: 5 Sep 2009 20:23:25
|
|
User browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13 (.NET CLR 3.5.30729) |
Mam turbonuke, ale nie sądzę, aby było to bardzo istotne. A może?
Mam styl PH2BLUE i mam problem z newsami. Gdy dodaję, to ucina mi prawe bloki i wyskakuje błąd:
/themes/PH2BLUE/theme.php on line 369
Sprawdziłam, a linijka 369, to:
| Code: |
| formatAidHeader($aid); |
Trochę szerzej:
| Code: |
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
$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 width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">"
."<tr><td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">"
."<td bgcolor=\"#0A34AA\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\">"
."<tr><td bgcolor=\"#3868D7\" width=\"100%\" height=\"29\" background=\"themes/PH2BLUE/images/newsbar_top.jpg\"> "
."<font class=\"storytitle\"><b>$title</b></font>"
."</td></tr>"
."<tr><td bgcolor=\"#F2F1ED\"><a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$t_image\" alt=\"$topictext\" border=\"0\" align=\"right\" hspace=\"10\" vspace=\"10\"></a>";
FormatStory($thetext, $notes, $aid, $informant);
echo"</td></tr>"
."<tr><td bgcolor=\"#F2F1ED\" background=\"themes/PH2BLUE/images/newsbar_bottom.jpg\" align=\"center\">";
echo"<center><b><font class=\"tiny\">"._POSTEDBY." ";
formatAidHeader($aid);
echo " "._ON." $time $timezone </center></td>"
."<tr><td bgcolor=\"#F2F1ED\" background=\"themes/PH2BLUE/images/newsbar_bottom.jpg\" align=\"center\">"
."<div align=\"right\"><font class=\"content\">$morelink</font></div></td>"
."</table></td></tr>"
."</table></td></tr>"
."</table><br>";
}
|
pliss, help
------------------------------------------------
------------------------------------------------
Chciałam dodać, że wziełam wyciełam kod:
| Code: |
| formatAidHeader($aid); |
W ogóle go usunęłam i pomogło. Nie robi się to coś. Ale czy ten po coś ważnego był? skoro go usunęłam, coś innego może mi się nie zepsuć?
Pozdrawiam
|
|
|
|
|
|
|
 |
|
|
|
|
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum Nie możesz dołączać plików na tym forum Możesz ściągać pliki na tym forum |
|
|
|
|
|
|
|