آموزش افقی کردن کادر تشکر

Silver PC

Well-Known Member
برای این کار وارد post_thanks_postbit_legacy یا post_thanks_postbit شوید و کد زیر را جایگزین کد های قبلی کنید :

کد:
<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
    <table width="100%" align="center">
        <tr>
            <td class="thanks" style="padding:0px">
                <if condition="$post['post_thanks_amount'] == 1">
                    <strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
                <else />
                    <strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]:</phrase></strong>
                </if>
            $post[post_thanks_bit]
            <if condition="$bbuserinfo['usergroupid'] == 6">
                <td class="thanks" align="center">
                    <a href="post_thanks.php?do=post_thanks_remove_all&amp;p=$  post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a></td>
                
            </if>
            <if condition="$post['show_thanks_remove_option']">
            <td class="thanks" align="center">
                    <a href="post_thanks.php?do=post_thanks_remove_user&amp;p=  $post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a></td>
            </if>
        </td></tr>
    </table>
</div>

سپس وارد css های اضافه قالب مورد نظر شوید و کد زیر را در آن اضافه کنید :

کد:
.thanks { 
border: solid 1px #fff;
color: #444; 
background: #def9e5;
font: 10px arial, tahoma, sans-serif;
}

منتظر آموزش های بعدی باشید !
نظر یادتون نره !
 

جدیدترین ارسال ها

بالا