By agent-orange on
Hey Guys, I got a problem with the listing of userdata in the file profile_listing.tpl.php. Now I got repeated all lines of this file, but I want a headline and after that all repeated. Is this possible?
Here you see how it looks now
http://img125.imageshack.us/img125/5527/userlist01kd6.jpg
Here you see how it should look
http://img259.imageshack.us/img259/4335/userlist02sc0.jpg
The code of my profile_listing.tpl.php
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><strong>Logo</strong></td>
<td> </td>
<td><strong>Name</strong></td>
<td> </td>
<td><strong>Firmenname</strong></td>
<td> </td>
<td><strong>Website</strong></td>
<td> </td>
<td><strong>Infos</strong></td>
</tr>
<tr>
<td><img src="http://localhost/www/gruenderstammtisch-ms.de/<?php print $user->picture ?>"></td>
<td> </td>
<td><?php print $user->profile_name ?></td>
<td> </td>
<td><?php print $user->profile_company ?></td>
<td> </td>
<td><a href=<?php print $user->profile_url ?> target="_blank"><?php print $user->profile_url ?></a></td>
<td> </td>
<td><a href="user/<?php print $user->uid ?>">mehr</a></td>
</tr>
</table>
Got someone an idea?