示例#1
0
        ?>
memberlist.php?mode=viewprofile&u=<?php 
        echo $row['poster_id'];
        ?>
" 
                    title="View profile" target="_blank"><?php 
        echo $user['username'];
        ?>
</a>
                    </td>
                    <td><?php 
        echo $topic['topic_title'];
        ?>
</td>
                    <td><?php 
        echo limit_characters(strip_tags($string), 75);
        ?>
...</td>
                    <td><a href="<?php 
        echo $GLOBALS['website_domain'] . substr($GLOBALS['forum']['forum_path'], 1);
        ?>
viewtopic.php?t=<?php 
        echo $row['topic_id'];
        ?>
" 
                    title="View this topic" target="_blank">
                    	View topic</a></td>
                </tr>
            <?php 
    }
    ?>
示例#2
0
            $user = mysql_fetch_assoc($getUser);
            //Get topic
            $getTopic = mysql_query("SELECT topic_title FROM phpbb_topics WHERE topic_id='" . $row['topic_id'] . "'");
            $topic = mysql_fetch_assoc($getTopic);
            ?>
                <tr>
                    <td><a href="http://heroic-wow.net/forum/memberlist.php?mode=viewprofile&u=<?php 
            echo $row['poster_id'];
            ?>
" title="View profile" 
                    target="_blank"><?php 
            echo $user['username'];
            ?>
</a></td>
                    <td><?php 
            echo limit_characters(stripBBcode($string));
            ?>
</td>
                    <td><a href="http://heroic-wow.net/forum/viewtopic.php?t=<?php 
            echo $row['topic_id'];
            ?>
" title="View this topic" target="_blank">
                    	View topic</a></td>
                </tr>
            <?php 
        }
        ?>
        </table>
         </div> 
             <?php 
    }