Nieuw lid |
|
Hallo,
Ik heb een probleempje met de ubb codes. Ik heb namelijk de functie wel goed ingesteld:
function ubb($var)
{
$var = str_replace("[table]","<table class='inhoud' width='100%'>",$var);
$var = str_replace("[/table]","</table>",$var);
$var = str_replace("[tr]","<tr>",$var);
$var = str_replace("[/tr]","</tr>",$var);
$var = str_replace("[td]","<td width='50%'>",$var);
$var = str_replace("[/td]","</td>",$var);
return $var;
}
function ubb($var) { $var = str_replace("[table]","<table class='inhoud' width='100%'>",$var); return $var; }
en dit heb ik dan ingevoerd in mijn cms systeem:
[table]
[tr]
[td]* Dateq[/td]
[td]* Ram Audio[/td]
[/tr]
[tr]
[td]* DBX[/td]
[td]* RCF audio[/td]
[/tr]
[tr]
[td]* Denon[/td]
[td]* DB technologies[/td]
[/tr]
[tr]
[td]* Denon professional[/td]
[td]* Martin lighting[/td]
[/tr]
[tr]
[td]* Marantz professional[/td]
[td]* Procab[/td]
[/tr]
[tr]
[td]* JBL professional[/td]
[td]* Philips[/td]
[/tr]
[tr]
[td]* HK Audio[/td]
[td]* Osram[/td]
[/tr]
[tr]
[td]* Pioneer [/td]
[td]* GE[/td]
[/tr]
[tr]
[td]* Sennheiser[/td]
[td]* SGM lighting[/td]
[/tr]
[tr]
[td]* Shure[/td]
[td]* Panasonic[/td]
[/tr]
[tr]
[td]* Tascam[/td]
[td]* BPM muzieksystemen[/td]
[/tr]
[tr]
[td]* CLS led producten[/td]
[td]* PCDJ muzieksystemen[/td]
[/tr]
[tr]
[td]* Numark DJ[/td]
[td]* Audience Delight[/td]
[/tr]
[tr]
[td]* QSC versterkers[/td]
[td] [/td]
[/tr]
[/table]
Maar dan krijg ik enorme witruimte tussen de bovenste tekst en deze tabel: zie http://www.bax-...na=verkoop.
Rara hoe kan dit ?
Alvast bedankt!
|