nie jestem autorem jedynie poprawiłem troszke wygląd
Spoiler
#####################################################################################
## MOD Title: RepStyle from IPB
## MOD Author: gielet
## MOD Description: Zmienia wyglad reputacji na taki jak w IPB.
## Installation Level: (Easy)
## Installation Time: 1-5 Minutes
##
##
## Files To Edit:
## - viewtopic.php
## - templates/nazwa_stylu/nazwa_stylu.css
## - templates/nazwa_stylu/viewtopic_body.tpl
## - language/lang_polish/lang_main.php
##
########################################################################################
| |
| PAMIETAJ o ZROBIENIU KOPI ZAPASOWEJ EDYTOWANYCH PLIKOW |
| |
+--------------------------------------------------------------------------------------+
=====! OTWORZ !=====
viewtopic.php
=====! ZNAJDZ !=====
'SPECIAL_RANK' => $special_rank,
=====! ZAMIEN NA !=====
'SPECIAL_RANK' => ($special_rank) ? '<div align="center" class="repstyle_tlo"><div class="repstyle_up">'.$special_rank. '</div><div align="center" class="repstyle_down">' .$repStyle_php.'</div></div>' : '',
=====! ZNAJDZ !=====
if ( $postrow[$i]['post_marked'] == 'y' && $is_auth['auth_mod'] )
{
$icon_help = ($postrow[$i]['user_gender'] == 2) ? $images['icon_help-a'] : $images['icon_help'];
$helped_me_show = '<a href="' . append_sid("viewtopic.php?t=$topic_id&p_del=$postrow_post_id") . '"><img src="' . $icon_help . '" border="0" title="' . $lang['He_helped_delete'] . '" alt=""></a> ';
}
=====! DODAJ ZA !=====
if ($postrow[$i]['special_rank'] < 0) {
$repStyle_php = '';
}
if ($postrow[$i]['special_rank'] <= 5 && $postrow[$i]['special_rank'] > 0) {
$repStyle_php = 'Spamer';
}
if ($postrow[$i]['special_rank'] > 5 && $postrow[$i]['special_rank'] <= 10) {
$repStyle_php = 'Pomocny';
}
if ($postrow[$i]['special_rank'] > 10 && $postrow[$i]['special_rank'] <= 15) {
$repStyle_php = 'Mega Pomocny';
}
if ($postrow[$i]['special_rank'] > 15 && $postrow[$i]['special_rank'] <= 20) {
$repStyle_php = 'Super Pomocny';
}
if ($postrow[$i]['special_rank'] > 20 && $postrow[$i]['special_rank'] <= 25) {
$repStyle_php = 'Hiper Pomocny';
}
if ($postrow[$i]['special_rank'] > 25 && $postrow[$i]['special_rank'] <= 30) {
$repStyle_php = 'Hiper Pomocny';
}
if ($postrow[$i]['special_rank'] > 30 && $postrow[$i]['special_rank'] <= 300) {
$repStyle_php = 'Nadzwyczaj Pomocny';
}
=====! ZAMKNIJ I ZAPISZ !=====
=====! OTWORZ !=====
templates/nazwa_stylu/nazwa_stylu.css
=====! ZNAJDZ !=====
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
=====! DODAJ PRZED !=====
.repstyle_tlo {
background-color: #7BB112;
border-radius: 5px;
padding: 5px;
width: 110px;
border-bottom-style: ridge
}
.repstyle_up {
color: #FFFFFF;
font-size: 13px;
font-weight: bold;
text-decoration: none;
text-shadow: 3px 3px 5px black;
}
.repstyle_down {
color: #FFFFFF;
font-size: 10px;
font-weight: bold;
text-decoration: none;
text-shadow: 3px 3px 5px black;
}
=====! ZAMKNIJ I ZAPISZ !=====
=====! OTWORZ !=====
templates/nazwa_stylu/viewtopic_body.tpl
=====! ZNAJDZ i USUN !=====
{postrow.SPECIAL_RANK}
=====! ZNAJDZ !=====
{postrow.POSTER_FROM}
=====! DODAJ ZA !=====
<br />{postrow.SPECIAL_RANK}
=====! ZAMKNIJ I ZAPISZ !=====
=====! OTWORZ !=====
language/lang_polish/lang_main.php
=====! ZNAJDZ !=====
$lang['postrow_help'] = '<b>Pomógł:</b> ';
=====! ZAMIEN NA !=====
$lang['postrow_help'] = '<b>Reputacja:</b> ';
=====! ZNAJDZ I USUŃ !=====
$lang['help_1'] = ' raz';
$lang['help_more'] = ' razy';
=====! ZAMKNIJ I ZAPISZ !=====
## MOD Title: RepStyle from IPB
## MOD Author: gielet
## MOD Description: Zmienia wyglad reputacji na taki jak w IPB.
## Installation Level: (Easy)
## Installation Time: 1-5 Minutes
##
##
## Files To Edit:
## - viewtopic.php
## - templates/nazwa_stylu/nazwa_stylu.css
## - templates/nazwa_stylu/viewtopic_body.tpl
## - language/lang_polish/lang_main.php
##
########################################################################################
| |
| PAMIETAJ o ZROBIENIU KOPI ZAPASOWEJ EDYTOWANYCH PLIKOW |
| |
+--------------------------------------------------------------------------------------+
=====! OTWORZ !=====
viewtopic.php
=====! ZNAJDZ !=====
'SPECIAL_RANK' => $special_rank,
=====! ZAMIEN NA !=====
'SPECIAL_RANK' => ($special_rank) ? '<div align="center" class="repstyle_tlo"><div class="repstyle_up">'.$special_rank. '</div><div align="center" class="repstyle_down">' .$repStyle_php.'</div></div>' : '',
=====! ZNAJDZ !=====
if ( $postrow[$i]['post_marked'] == 'y' && $is_auth['auth_mod'] )
{
$icon_help = ($postrow[$i]['user_gender'] == 2) ? $images['icon_help-a'] : $images['icon_help'];
$helped_me_show = '<a href="' . append_sid("viewtopic.php?t=$topic_id&p_del=$postrow_post_id") . '"><img src="' . $icon_help . '" border="0" title="' . $lang['He_helped_delete'] . '" alt=""></a> ';
}
=====! DODAJ ZA !=====
if ($postrow[$i]['special_rank'] < 0) {
$repStyle_php = '';
}
if ($postrow[$i]['special_rank'] <= 5 && $postrow[$i]['special_rank'] > 0) {
$repStyle_php = 'Spamer';
}
if ($postrow[$i]['special_rank'] > 5 && $postrow[$i]['special_rank'] <= 10) {
$repStyle_php = 'Pomocny';
}
if ($postrow[$i]['special_rank'] > 10 && $postrow[$i]['special_rank'] <= 15) {
$repStyle_php = 'Mega Pomocny';
}
if ($postrow[$i]['special_rank'] > 15 && $postrow[$i]['special_rank'] <= 20) {
$repStyle_php = 'Super Pomocny';
}
if ($postrow[$i]['special_rank'] > 20 && $postrow[$i]['special_rank'] <= 25) {
$repStyle_php = 'Hiper Pomocny';
}
if ($postrow[$i]['special_rank'] > 25 && $postrow[$i]['special_rank'] <= 30) {
$repStyle_php = 'Hiper Pomocny';
}
if ($postrow[$i]['special_rank'] > 30 && $postrow[$i]['special_rank'] <= 300) {
$repStyle_php = 'Nadzwyczaj Pomocny';
}
=====! ZAMKNIJ I ZAPISZ !=====
=====! OTWORZ !=====
templates/nazwa_stylu/nazwa_stylu.css
=====! ZNAJDZ !=====
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
=====! DODAJ PRZED !=====
.repstyle_tlo {
background-color: #7BB112;
border-radius: 5px;
padding: 5px;
width: 110px;
border-bottom-style: ridge
}
.repstyle_up {
color: #FFFFFF;
font-size: 13px;
font-weight: bold;
text-decoration: none;
text-shadow: 3px 3px 5px black;
}
.repstyle_down {
color: #FFFFFF;
font-size: 10px;
font-weight: bold;
text-decoration: none;
text-shadow: 3px 3px 5px black;
}
=====! ZAMKNIJ I ZAPISZ !=====
=====! OTWORZ !=====
templates/nazwa_stylu/viewtopic_body.tpl
=====! ZNAJDZ i USUN !=====
{postrow.SPECIAL_RANK}
=====! ZNAJDZ !=====
{postrow.POSTER_FROM}
=====! DODAJ ZA !=====
<br />{postrow.SPECIAL_RANK}
=====! ZAMKNIJ I ZAPISZ !=====
=====! OTWORZ !=====
language/lang_polish/lang_main.php
=====! ZNAJDZ !=====
$lang['postrow_help'] = '<b>Pomógł:</b> ';
=====! ZAMIEN NA !=====
$lang['postrow_help'] = '<b>Reputacja:</b> ';
=====! ZNAJDZ I USUŃ !=====
$lang['help_1'] = ' raz';
$lang['help_more'] = ' razy';
=====! ZAMKNIJ I ZAPISZ !=====