| Revision 852,
469 bytes
checked in by cdleonard@…, 4 years ago
(diff) |
|
svn:eol-style native in trunk. Also svn:executable on all scripts
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | // Display recent posts in a topic. |
|---|
| 4 | // Used by infoarena's macro_smftopic.php |
|---|
| 5 | |
|---|
| 6 | require("./SSI.php"); |
|---|
| 7 | |
|---|
| 8 | $count = min(getattr($_GET, 'count', 5), 10); |
|---|
| 9 | $topic_id = getattr($_GET, 'topic_id'); |
|---|
| 10 | |
|---|
| 11 | if (!$topic_id) { |
|---|
| 12 | echo 'Expecting topic_id'; |
|---|
| 13 | return; |
|---|
| 14 | } |
|---|
| 15 | |
|---|
| 16 | echo '<div class="smf recentPosts">'; |
|---|
| 17 | echo '<div class="toolbar"><a href="'.IA_SMF_URL.'?topic='.$topic_id.'.0">Vezi intreg topic-ul</a></div>'; |
|---|
| 18 | ssi_recentPostsFromTopic($topic_id, $count); |
|---|
| 19 | echo '</div>'; |
|---|
| 20 | |
|---|
| 21 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.