As it creates another one an an an an an an an a news, in a block of the forumID 89, and another one of another side of the forumID 84, and to standard in the center!
The excuses itself is not correct!
They excuse for my English. .. I use translator!
Please help me!
I have that code I am that and for 2.0x and I will want for 2.1x
Thanks...
Help me pls;
x)
As it create another block of news
Started by MachinexD-, Sep 28 2006 10:42 PM
5 replies to this topic
#2
Posted 29 September 2006 - 12:24 PM
Try this
<?php
$qurey1 = $this->ipsclass->DB->query("select last_id from ibf_forums where id = '89'");
$fetch = $this->ipsclass->DB->fetch_row($query1);
$tid = $fetch['last_id'];
$query2 = $this->ipsclass->DB->query("SELECT * FROM ibf_posts where topic_id = ".$tid." order by pid DESC limit 1");
$row= $this->ipsclass->DB->fetch_row($query2);
$this->parser->parse_html = $row['post_htmlstate'];
$this->parser->parse_nl2br = 1;
$post = $this->parser->pre_display_parse($row['post']);
echo $post;
echo "<br/><br/>Posted By: <a href='./index.php?showuser=".$row['author_id']."'>".$row['author_name']."</a> | <a href='./index.php?showtopic=".$tid."&view=getnewpost'>View Latest Post</a>";
?>
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












