Webboard

Pełna wersja: liczba stron na dole
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.6.12
adres forum: cs-pasjonaci.pl
na czym polega problem (screen, opis, komunikaty, nazwa i wersja wtyczki):

Tak jak w temacie chciał bym mieć na samym dole liczbę stron a nie na same górze :)
W szablonie showthread zmienną {$multipage} umieść niżej.
Gdzie dokładanie mam umieścić ta zmienną :)

Kod:
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1603"></script>
</head>
<body>
    {$header}
    {$stcp_thr}{$pollbox}


<div class="ipbfs_titlebox">
<?php
$ls = get_user($thread['uid']);
$format_user = format_name($thread['username'], $ls['usergroup'], $ls['displaygroup']);
$firstposterlink = build_profile_link($format_user, $thread['uid']);
?>
<?php
$thread_user = get_user($thread['uid']);
echo "

<div style='float: left;'>
<span title='{$thread_user['username']}' class='nav_rightlinks pmpopup'>

<img src='{$thread_user['avatar']}' alt='User Avatar' height='57px' width='57px' class='UserPhoto' />
</div>
<div style='float: right;'>
    {$multipage}
</div>        

</span>
<span style='font: 300 26px/1.4 Helvetica, Arial, sans-serif;'>
{$thread['subject']}
</span>
<div class='streatposty'>
<span class='streatposty'>

Rozpoczęty przez:  {$firstposterlink}



, " . my_date($mybb->settings['dateformat'], $thread['dateline']) . "  " . my_date($mybb->settings['timeformat'], $thread['dateline']);

    
?>

</span>
    
{$ratingcol}
    
        
{$tagspostbit}

{$tagslist}
{$etiqueta}
{$thread['tags']}

    
    

</span>


</div>


    

</div>




<br>


{$ratingcol}

    
{$ratethread}
    




    




<table border="0" cellspacing="0" cellpadding="5" class="tborder " style="clear: both; border-bottom-width: 0;border: 0px;margin-bottom: 6px;">







        
<tr>

<td class="thead" colspan="2" style="
    border-radius: 4px;margin-top:4px;
">



                
                <div style="font-weight:normal;">
                    {$thread['replies']} Odpowiedzi w tym temacie
                </div>
            </td>


</tr>
        





        
        {$classic_header}
    </table>
    
        <div style="border: 1px solid #393939;border-top:0;">
{$posts}
</div>    
    
    <div style="padding-top: 4px;" class="right">    
<br />    
{$newreply}
    </div>
    <br style="clear: both;" />
    {$quickreply}
    {$threadexbox}
    {$similarthreads}
    <br />
    <div class="left">
        <ul class="thread_tools">
            <li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
            <li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
            <li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
        </ul>
    </div>

    <div class="right" style="text-align: right;">
        {$moderationoptions}
        {$forumjump}
    </div>
    <br style="clear: both;" />
    {$usersbrowsing}
    {$footer}
</body>
</html>
Polish napisał(a):<div style="padding-top: 4px;" class="right">
<br />
spróbuj po tym...
Kod PHP:
<html>
<
head>
<
title>{$thread['subject']}</title>
{
$headerinclude}
<
script type="text/javascript">
<!--
    var 
quickdelete_confirm "{$lang->quickdelete_confirm}";
// -->
</script>
<
script type="text/javascript" src="jscripts/thread.js?ver=1603"></script>
</
head>
<
body>
    {
$header}
    {
$stcp_thr}{$pollbox}


<
div class="ipbfs_titlebox">
<?
php
$ls 
get_user($thread['uid']);
$format_user format_name($thread['username'], $ls['usergroup'], $ls['displaygroup']);
$firstposterlink build_profile_link($format_user$thread['uid']);
?>
<?php
$thread_user 
get_user($thread['uid']);
echo 
"

<div style='float: left;'>
<span title='
{$thread_user['username']}' class='nav_rightlinks pmpopup'>

<img src='
{$thread_user['avatar']}' alt='User Avatar' height='57px' width='57px' class='UserPhoto' />
</div>
<div style='float: right;'>
    
</div>        
{$multipage}
</span>
<span style='font: 300 26px/1.4 Helvetica, Arial, sans-serif;'>
{$thread['subject']}
</span>
<div class='streatposty'>
<span class='streatposty'>

Rozpoczęty przez:  
{$firstposterlink}



, " 
my_date($mybb->settings['dateformat'], $thread['dateline']) . "  " my_date($mybb->settings['timeformat'], $thread['dateline']);

    
?>

</span>
    
{$ratingcol}
    
        
{$tagspostbit}

{$tagslist}
{$etiqueta}
{$thread['tags']}

    
    

</span>


</div>


    

</div>




<br>


{$ratingcol}

    
{$ratethread}
    




    




<table border="0" cellspacing="0" cellpadding="5" class="tborder " style="clear: both; border-bottom-width: 0;border: 0px;margin-bottom: 6px;">







        
<tr>

<td class="thead" colspan="2" style="
    border-radius: 4px;margin-top:4px;
">



                
                <div style="font-weight:normal;">
                    {$thread['replies']} Odpowiedzi w tym temacie
                </div>
            </td>


</tr>
        





        
        {$classic_header}
    </table>
    
        <div style="border: 1px solid #393939;border-top:0;">
{$posts}
</div>    
    
    <div style="padding-top: 4px;" class="right">    
<br />    
{$newreply}
    </div>
    <br style="clear: both;" />
    {$quickreply}
    {$threadexbox}
    {$similarthreads}
    <br />
    <div class="left">
        <ul class="thread_tools">
            <li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
            <li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
            <li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subsc​ription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
        </ul>
    </div>

    <div class="right" style="text-align: right;">
        {$moderationoptions}
        {$forumjump}
    </div>
    <br style="clear: both;" />
    {$usersbrowsing}
    {$footer}
</body>
</html> 
Sprawdz teraz :)