Topic: question about no wrap in html enclosed in php
Hello all,
So, i'm still working at the layout of my future punbb forum.
I will use alexis.org mod active topics mod (mixed with shuttertalk revision for the direct access to new topic I found usefull) and I need some help to adapt the script to my design : what I want is easy to understand : all in ONE line (i.e. : topic [go to new] by poster at that date with no wrap).
All is working but impossible to get a solution to avoid annoying wraping in this mix of php and html.
(you can see the trouble here : http://www.languefrancaise.net/punbb/index.php)
Here is my sadly adaptated code :
<?php
while ($ak_post = $db->fetch_assoc($ak_latest)) {$subject_new_posts = '[ <a href="viewtopic.php?id='.$ak_post['id'].'&action=new" title="'.$lang_common['New posts info'].'">'.$lang_common['New posts'].'</a> ]';?>
<div id="navcontainer">
<ul id="navlist">
<li id="active"><b><a href="viewtopic.php?id=<?php echo $ak_post['id'] ?>"><?php echo pun_htmlspecialchars($ak_post['subject']) ?></a></b><?php echo $subject_new_posts; ?> dernier message posté par <?php echo pun_htmlspecialchars($ak_post['last_poster']) ?> (<?php echo format_time($ak_post['last_post']) ?>)
</li>
</ul>
</div>
Thanks in advance,
abclf.