include('include/zugriff.inc.php');
$
sql = "SELECT * FROM team ORDER BY id";
$result = mysql_query($
sql);
$outputtable = '<table width="100%" border="0" class="subborder">
<tr>
<td colspan="2" class="header">{name}</td>
</tr>
<tr>
<td width="14%">Tätigkeit:</td>
<td width="86%">{Tätigkeit}</td>
</tr>
<tr>
<td>E-Mail:</td>
<td>[email="{E-Mail}"]{E-Mail}[/email]</td>
</tr>
<tr>
<td>ICQ:</td>
<td>[
url="http://www.icq.com/whitepages/cmd.php?uin={ICQ}&action=add"][img]http://web.icq.com/whitepages/online?icq={ICQ}&img=5[/img][/
url]</td>
</tr>
</table>
';
$output = $outputtable;
while ($row = mysql_fetch_assoc($result))
{
$output = str_replace('{name}', $row['name'], $output);
$output = str_replace('{Tätigkeit}', $row['taetigkeit'], $output);
$output = str_replace('{E-Mail}', $row['email'], $output);
$output = str_replace('{ICQ}', $row['ICQ'], $output);
echo $output;
}