Вход Регистрация
Файл: public_html/element_achievement.php
Строк: 100
<?php
require_once './element_options/element_options.php';
if (!
$user) { header('Location: /'); exit; }

$title 'Достижения '.$user['lost_login'].'';

    if (
readcache('element_user_mesto'.$user['lost_id']) != $titlewritecache('element_user_mesto'.$user['lost_id'], $title);

require_once 
'./element_include/element_head.php';
require_once 
'./element_include/element_header_user_true.php';

if(
$user['lost_params_strlen'] > 1000$user['lost_params_strlen'] = 1000;
if(
$user['lost_params_heatpoints'] > 1000$user['lost_params_strlen'] = 1000;
if(
$user['lost_params_protection'] > 1000$user['lost_params_strlen'] = 1000;
if(
$user['lost_level'] > 20$user['lost_params_strlen'] = 20;




?>








<div class="title mt3 mb3">

                    

                </div>
                <div class="cntr mt5">
                    <div class="nfl p5 mb5 mt5 small mlra">
                        <table>
                            <tbody>
                                <tr>
                                    <td>
                                        <img src="images/achiv/power.png"></img>
                                    </td>
                                    <td class="small" valign="top">
                                        <span class="ml5 small yellow1">

                                            Силач

                                        </span>
                                        <br></br>
                                        <span class="ml5 small yellow1">

                                            Параметр силы должен быть не менее 1000 ед.

                                        </span>
                                        <br></br>
                                        <span class="ml5 small yellow1">

                                            Прогресс: <?php echo $user['lost_params_strlen']; ?> / 1000 ед.
                                           <span class="bl mb5 prg-bar"><span class="bl fl prg-green"  style="width: <?php echo (int)(($user['lost_params_strlen'] / 1000) * 100);?>%">&nbsp;</span></span>
        
                                        </span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="nfl p5 mb5 mt5 small mlra">
                        <table>
                            <tbody>
                                <tr>
                                    <td>
                                        <img src="images/achiv/heal.png"></img>
                                    </td>
                                    <td class="small" valign="top">
                                        <span class="ml5 small yellow1">

                                            Здоровяк

                                        </span>
                                        <br></br>
                                        <span class="ml5 small yellow1">

                                            Параметр здоровья должен быть не менее 1000 ед.

                                        </span>
                                        <br></br>
                                        <span class="ml5 small yellow1">

                                             Прогресс: <?php echo $user['lost_params_heatpoints']; ?> / 1000 ед.
                                             <span class="bl mb5 prg-bar"><span class="bl fl prg-green"  style="width: <?php echo (int)(($user['lost_params_heatpoints'] / 1000) * 100);?>%">&nbsp;</span></span>
                                        </span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="nfl p5 mb5 mt5 small mlra">
                        <table>
                            <tbody>
                                <tr>
                                    <td>
                                        <img src="images/achiv/armor.png"></img>
                                    </td>
                                    <td class="small" valign="top">
                                        <span class="ml5 small yellow1">

                                            Мастер защиты

                                        </span>
                                        <br></br>
                                        <span class="ml5 small yellow1">

                                            Параметр защиты должен быть не менее 1000 ед.

                                        </span>
                                        <br></br>
                                        <span class="ml5 small yellow1">

                                             Прогресс: <?php echo $user['lost_params_protection']; ?> / 1000 ед.
                                            <span class="bl mb5 prg-bar"><span class="bl fl prg-green"  style="width: <?php echo (int)(($user['lost_params_protection'] / 1000) * 100);?>%">&nbsp;</span></span>
                                       
                                        </span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                     <div class="nfl p5 mb5 mt5 small mlra">
                        <table>
                            <tbody>
                                <tr>
                                    <td>
                                        <img src="images/achiv/level.png"></img>
                                    </td>
                                    <td class="small" valign="top">
                                        <span class="ml5 small yellow1">

                                            Магистр Повелителей

                                        </span>
                                        <br></br>
                                        <span class="ml5 small yellow1">

                                            Необходимо достичь двадцатого уровня чтобы стать Магистром

                                        </span>
                                        <br></br>
                                        <span class="ml5 small yellow1">
                                             Прогресс:  <?php echo $user['lost_level']; ?> ур. / 20 ур.
                                             <span class="bl mb5 prg-bar"><span class="bl fl prg-green"  style="width: <?php echo (int)(($user['lost_level'] / 20) * 100);?>%">&nbsp;</span></span>
                                        </span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                
<?php                    
                    
require_once './element_include/element_foot_user_true.php';
?>
Онлайн: 1
Реклама