MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completely customizable, expandable and suitable for all needs.
A2Hosting
Moderators: Moderators
Forum RSS feedReply
Comments
AuthorText
Wloczykij
Junior Member

Posts: 19
Contributes: 20

Gender: _MALE_
Online: No

Languages: Polish
Version: 4.0.1
Country: POLAND
Date: 07/05/2009 19:28
Comments
#post19868
code
        <?php
        if (!defined("_RECENT_COMMENTS_")) { define("_RECENT_COMMENTS_","Recent comments"); }
        global $dblink,$siteConfig;
        ?>

                                        <div style="color: red;"><?php echo "W Budowie<br />Underconstruction<br /><br />"; ?></div>
                                        <?php
                                        $result = $dblink->get_list("SELECT name,text FROM memht_comments WHERE moderate=0 ORDER BY id DESC LIMIT 5");
                                        foreach ($result as $row) {
                                                $name = outCode($row['name']);
                                                $text = outCode($row['text']);
                                               
                                                echo "<div style='padding:2px 0;'><img src='templates/".$siteConfig['template']."/images/page_white.gif' border='0' alt='Bullet'> <span style='vertical-align: top;'><b>$name: </b>".trimString($text,50,1)."</a></span></div>\n";
                                        }
                                        ?>


eioban.com On the right bottom [Komentarze PL][Comments ENG]

I have the script "comments", but you can not click on them to go to fully comment.

Modifications to the script please.
Or enter a variable link.

Regards.
Edited: 07/05/2009 19:29
<?php
?>
Delete Edit Quote
 
Reply
Tags Cloud
Twitter updates...
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.107.179.233

Username
Password
MemHT Wiki
Language
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo