##############################################################
##  : [   ]
##  : frost444 http://f-trackers.com
##  : 1.0
## :      ...       , +   .
##  : 
##   : 5 
##  : admin/admin_ranks.php
##                   templates/admin/admin_ranks.tpl
##                   language/lang_russian/lang_admin.php
##		     includes/functions.php
##		     config.php
##
##  :  misc/js/jscolor.js
##                     misc/js/arrow.gif
##                     misc/js/cross.gif
##		       misc/js/hs.png
##		       misc/js/hv.png
##############################################################
# 
#-----[ UNPACK FILE ]---------------------------------
#

 misc/js/jscolor.js
 misc/js/arrow.gif
 misc/js/cross.gif
 misc/js/hs.png
 misc/js/hv.png

# 
#-----[ OPEN ]---------------------------------
# 
admin/admin_ranks.php

#
#-----[ FIND ]---------------------------------
#

"STYLE" => $rank_rows[$i]['rank_style'],


#
#-----[ REPLACE ]---------------------------------
#

"STYLE" => $rank_rows[$i]['rank_style'] ? $rank_rows[$i]['rank_style'] : $lang['STYLE_RANK_COLOR_NONE'],


# 
#-----[ OPEN ]---------------------------------
# 
templates/admin/admin_ranks.tpl

#
#-----[ FIND ]---------------------------------
#

<tr>
	<td width="40%"><h4>{L_STYLE_COLOR}</h4><br />
		<h6>{L_STYLE_COLOR_FAQ}</h6>
	<td>
		<input class="post" type="text" name="style" size="60" maxlength="40" value="{STYLE}" />
	</td>
</tr>


#
#-----[ REPLACE ]---------------------------------
#

<script type="text/javascript" src="{#BB_ROOT}misc/js/jscolor.js"></script>
<tr>
	<td width="40%"><h4>{L_STYLE_COLOR}</h4><br />
		<h6>{L_STYLE_COLOR_FAQ}</h6>
	<td>
		<input class="color {hash:true}" type="text" name="style" size="60" maxlength="40" value="{STYLE}" />
	</td>
</tr>

#
#-----[ FIND ]---------------------------------
#

<td><div class="{ranks.STYLE}">{ranks.RANK}</div></td>

# 
#-----[ REPLACE ]---------------------------------
#

<td><div style="color:{ranks.STYLE}">{ranks.RANK}</div></td>

#
#-----[ FIND ]---------------------------------
#

<tr>
	<th>{L_RANK_TITLE}</th>
	<th>{L_RANK_IMAGE}</th>

# 
#-----[ AFTER, ADD ]---------------------------------
#
	<th>{L_STYLE_RANK_COLOR}</th>

#
#-----[ FIND ]---------------------------------
#

<tr class="{ranks.ROW_CLASS} tCenter">
	<td><div style="color:{ranks.STYLE}">{ranks.RANK}</div></td>
	<td>{ranks.IMAGE_DISPLAY}</td>

# 
#-----[ AFTER, ADD ]---------------------------------
#

    <td style="background-color:{ranks.STYLE}">{ranks.STYLE}</td>

# 
#-----[ OPEN ]---------------------------------
# 
language/lang_russian/lang_admin.php

# 
#-----[ FIND ]---------------------------------
#

$lang['STYLE_COLOR'] = ' ';
$lang['STYLE_COLOR_FAQ'] = ' class      .  <i class="bold">colorAdmin<i>';

# 
#-----[ REPLACE ]---------------------------------
#

$lang['STYLE_COLOR'] = ' ';
$lang['STYLE_COLOR_FAQ'] = '   ,    .  <i class="bold" style="color:#59CDFF">#59CDFF<i>';
$lang['STYLE_RANK_COLOR'] = '';
$lang['STYLE_RANK_COLOR_NONE'] = ' ';

# 
#-----[ OPEN ]---------------------------------
# 
includes\functions.php


# 
#-----[ FIND ]---------------------------------
#

if(empty($style)) $style = 'colorUser';

# 
#-----[ REPLACE ]---------------------------------
#

if(empty($style)) $style = '#00496c';

# 
#-----[ FIND ]---------------------------------
#

$profile = '<span title="'. $title .'" class="'. $style .'">'. $username .'</span>';


# 
#-----[ REPLACE ]---------------------------------
#

$profile = '<span title="'. $title .'" style="color:'. $style .'">'. $username .'</span>';


#
#-----[ SAVE/CLOSE ALL FILES/UPDATE DataStore ]-------------
#
# EoM


