| 1 | <?php |
| 2 | |
| 3 | //echo "<br><br><br><br><b><center>some create same steel some are having wonderful anal sex in their beds with their pets.<br><br><br>\"posledne\" section stopped for temporary maintenance.</b></center>"; |
| 4 | |
| 5 | |
| 6 | |
| 7 | echo "<br><center><b>posledne pridane prispevky</b></center><br>"; |
| 8 | |
| 9 | $q="select last_submissions.*,user.login as user_name,forum.forum_name as forum_name from last_submissions left join forum on last_submissions.forum_id=forum.forum_id left join user on last_submissions.submission_owner=user.id "; |
| 10 | $q.=" ORDER BY submission_id DESC LIMIT 15"; |
| 11 | |
| 12 | $set=$kyberia->query($q); |
| 13 | |
| 14 | while ($set->next()) { |
| 15 | $submissions=$set->getRecord(); |
| 16 | echo "<table class='bigitem'><tr><td class='icon'>"; |
| 17 | $submissions['submission_text'] = preg_replace ("/<img src=(.*?)>/","obrazok: <a href=\\1>\\1</a>",$submissions['submission_text']); |
| 18 | echo "<img alt='",$submissions['user_name'],"' src='/images/users/",strtolower($submissions['user_name']),".gif'>"; |
| 19 | echo "</td><td class='item'>"; |
| 20 | echo "<table class='item'>"; |
| 21 | echo "<td class='header'>"; |
| 22 | echo "forum: <a href='?action=forum&node_id=",$submissions['forum_id'],"'>",$submissions['forum_name'],"</a><br>"; |
| 23 | echo $submissions['user_name']; |
| 24 | if ($submissions['user_mode']=="normal" AND ($submissions['user_action'])) { |
| 25 | Showz::showLocation($submissions['user_action'],$submissions['user_action_id'],$submissions['user_action_name']); |
| 26 | } |
| 27 | Showz::showDate($submissions['submission_timestamp']); |
| 28 | echo "</td>"; |
| 29 | echo "</tr>"; |
| 30 | echo "<tr class='content'><td class='content'>",Stripslashes($submissions['submission_text']),"</td></tr>"; |
| 31 | echo "</table>"; |
| 32 | echo "</td></tr></table>"; |
| 33 | } |
| 34 | |
| 35 | |
| 36 | |
| 37 | ?> |
| 38 | |
| 39 | |