<?php
/* Smarty version 3.1.29, created on 2016-11-09 22:11:58
  from "C:\OpenServer\domains\LastExTeam\views\templates\default\widgets\ServerInfo.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_582374fec0fbb9_15289217',
  'file_dependency' => 
  array (
    'c5be838d827cb5336a0928c205db3b845aa7d29c' => 
    array (
      0 => 'C:\\OpenServer\\domains\\LastExTeam\\views\\templates\\default\\widgets\\ServerInfo.tpl',
      1 => 1477987749,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_582374fec0fbb9_15289217 ($_smarty_tpl) {
?>
<div class="col-md-4">
    <div class="progress-overlay">
        <div id="progressbar-first" class="progressbar">
            <span class="online" id="online1"></span>
            <p class="progressbar-text"><span>Online</span>
                Server ExGames x35</p>
        </div>
    </div>
</div>

<?php echo '<script'; ?>
 type="text/javascript">
    $(function() {
        var online;
        document.getElementById('online1').innerHTML='';
        document.getElementById('online1').innerHTML=<?php echo $_smarty_tpl->tpl_vars['InWidgetServerInfo']->value['Online'];?>
;


        var online1;
        var startColor = '#7fc51a';
        var endColor = 'rgba(255,123,0,1)';
        var optsGradient = {
            from: { color: startColor},
            to: { color: endColor}
        };
        var optsBar = {
            color: startColor,
            strokeWidth: 12.25,
            trailWidth: 0,
            duration: 0,
            easing: 'linear',
            text: {
                value: "",
                autoStyle: false
            }
        };
        var optsBarGradient = {
            color: startColor,
            strokeWidth: 12.25,
            trailWidth: 0,
            duration: 0,
            easing: 'linear',
            text: {
                value: "",
                autoStyle: false
            },
// Set default step function for all animate calls
            step: function(state, circle) {
                circle.path.setAttribute('stroke', state.color);
            }
        };

//online1 = document.getElementById('online1').innerText / 100 / 100;
        online1 = <?php echo $_smarty_tpl->tpl_vars['InWidgetServerInfo']->value['Online'];?>
/200;
        var first = new ProgressBar.Circle('#progressbar-first', optsBar);
        first.animate(online1, function() {
            first.animate(online1);
        });


    });
<?php echo '</script'; ?>
>

<?php }
}
