|
#1
| |||
| |||
PHP-Frage/Hilfe für SMF ModifikationHi, wollte ein neues Board spontan mittels eines kleines Bildes als Neu kennzeichnen, benötige aber kurze Hilfe bei einer der PHP-IF-Konstellation. BoardIndex.template.php (original) Code: ... <td class="windowbg2" align="left" width="60%"> <a name="b', $board['id'], '"></a> <b>', $board['link'], '</b><br /> ', $board['description']; // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) ... ![]() BoardIndex.template.php (neu/geplant) Code: ...
<td class="windowbg2" align="left" width="60%">
<a name="b', $board['id'], '"></a>';
if ($board['id']==15)
{
echo'<b>', $board['link'], '</b> <img src="neu.gif"><br />';
}
else
echo'<b>', $board['link'], '</b><br />';
}
echo'
', $board['description'];
// Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.)
...
![]() .:.geber.:. __________________ i read your e-mail |
|
#2
| |||
| |||
| nach den else fehlt noch die geschweifte klammer .... aber ansonsten sollte es gehen abgesehen von der komischen syntax die da verwendet wird... die " sind nicht escapt und warum zur hölle wind da kommas statt punkte ? |
|
#3
| |||
| |||
| Das gibts doch nicht... Das wars ![]() ...danke Fabio ![]() .:.geber.:. __________________ i read your e-mail |
![]() |
| Stichworte |
| - |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Gratis Webspace mit PHP und MySQL Unterstützung? | babco | Webspace, Webserver, Domains | 20 | 13.08.2008 19:56 |
| Suchen Anwendungsentwickler, Schwerpunkt PHP (m/w) | enfinitemedia | Marktplatz: Projekt, Domain- & Jobbörse | 0 | 03.01.2008 18:50 |
| Welches Redaktionssystem für PHP? | Gnomoru | Blog, CMS, Wiki und Sonstige | 11 | 12.09.2007 12:42 |
| WBB zu SMF und Erfahrungem zum SMF | Marty | Forensoftware | 6 | 22.04.2005 12:07 |
| Das PHP Forum 4 all | ShadowByte | Projektvorstellung und Bewertung | 4 | 22.06.2003 21:12 |