TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,965
  • Latest: boruko
Stats
  • Total Posts: 195,981
  • Total Topics: 21,320
  • Online today: 281
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 113
  • Total: 113

Error tp_above sub template

Started by alhaudhie, December 08, 2008, 02:05:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alhaudhie

I having the problem like this?

File: /home/~/Themes/default/sbox.template.php (tp_above sub template - eval?)
Line: 20


where must i check to fix this problem?

G6Cad

Please read the Posting Guidelines.html

You have been here long enough to know what info we need the help you  ;)

sbox.template.php, that file i have never heard of

IchBin

That error is from another shoutbox which we do not support. You must seek help from the mod author of that shoutbox.

alhaudhie

Sorry for everything..

before this topic is closedcoz wrong topic i post the problem here..

i think the problem is from this code:

global $scripturl;
echo  '<div style="width: 100%; height: 185px;overflow: auto">';


echo '
                        <table border="0" width="650px" cellspacing="1" cellpadding="4" class="bordercolor">
                               <tr><td colspan="6" class="custom" align="center">20  Kiriman Terbaru Di Forum   

</td></tr> ';
       $what=ssi_recentTopics('20', NULL, 'array');


        foreach ($what as $topic)
        {
               echo '
                                <tr>
                                        <td class="windowbg" valign="middle">
                                                <span title="',shorten_subject($topic['preview'], $modSettings

['hoverLength']),'">', $topic['link'],'</span>';

                // Is this topic new? (assuming they are logged in!)
                if (!$topic['new'] && $context['user']['is_logged'])
                        echo '
                                                <a href="', $scripturl, '?topic=', $topic['topic'], '.from', $topic

['new_from'], '#new"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="',

$txt[302], '" border="0" /></a>';

                echo '
                                        </td>
                                        <td class="windowbg2" valign="middle" width="14%">
                                                ', $topic['poster']['link'], '
                                        </td>

                                        </td>
                                        <td class="windowbg" valign="middle" width="14%">
                                                ', $topic['board']['link'], '
                                        </td>


                                        <td class="windowbg2" valign="middle" width="24%">';
                if ($settings['images_url'] != $settings['theme_url'] . '/images' || file_exists($settings

['theme_dir'] . '/images/icons/last_post.gif'))
                        echo '
                                        <a href="', $topic['href'], '"><img src="', $settings['images_url'],

'/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" border="0" style="float: right;" /></a>';
                echo '
                                               <span style="font: bold 10px Verdana, sans serif; color: #7D6700">
                                                        ', $topic['time'], '
                                                </span>
                                        </td>
                                </tr>';
        }

        echo '
                        </table>';


After remove
echo  '<div style="width: 100%; height: 185px;overflow: auto">';

the block run properly...

This website is proudly hosted on Crocweb Cloud Website Hosting.