Ejemplo n.º 1
0
    foreach ($server['p'] as $player_key => $player) {
        $output .= "\r\n        <tr style='" . lgsl_bg() . "'>";
        foreach ($fields as $field) {
            $output .= "<td> {$player[$field]} </td>";
        }
        $output .= "\r\n        </tr>";
    }
    $output .= "\r\n    </table>";
}
$output .= "\r\n  </div>";
//------------------------------------------------------------------------------------------------------------+
$output .= "\r\n  <div style='height:10px'><br /></div>\r\n  <div style='" . lgsl_bg(TRUE) . "; width:90%; margin:auto; text-align:center; height:6px; border:1px solid'><br /></div>\r\n  <div style='height:20px'><br /></div>";
//------------------------------------------------------------------------------------------------------------+
// SHOW THE SETTINGS
if (empty($server['e']) || !is_array($server['e'])) {
    $output .= "\r\n    <table cellpadding='4' cellspacing='2' style='margin:auto'>\r\n      <tr style='" . lgsl_bg(FALSE) . "'>\r\n        <td> {$lgsl_config['text']['nei']} </td>\r\n      </tr>\r\n    </table>";
} else {
    $output .= "\r\n    <table cellpadding='4' cellspacing='2' style='margin:auto'>\r\n      <tr style='" . lgsl_bg(FALSE) . "'>\r\n        <td> <b>{$lgsl_config['text']['ehs']}</b> </td>\r\n        <td> <b>{$lgsl_config['text']['ehv']}</b> </td>\r\n      </tr>";
    foreach ($server['e'] as $field => $value) {
        $color = lgsl_bg();
        $output .= "\r\n      <tr>\r\n        <td style='{$color}'> {$field} </td>\r\n        <td style='{$color}'> {$value} </td>\r\n      </tr>";
    }
    $output .= "\r\n    </table>";
}
//------------------------------------------------------------------------------------------------------------+
$output .= "\r\n  <div style='height:10px'><br /></div>\r\n  <div style='" . lgsl_bg(TRUE) . "; width:90%; margin:auto; text-align:center; height:6px; border:1px solid'><br /></div>\r\n  <div style='height:20px'><br /></div>";
$output .= "\r\n  </div>";
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
//------ PLEASE MAKE A DONATION OR SIGN THE GUESTBOOK AT GREYCUBE.COM IF YOU REMOVE THIS CREDIT ----------------------------------------------------------------------------------------------------+
$output .= "<div style='text-align:center; font-family:tahoma; font-size:9px'><br /><br /><br /><a href='http://www.greycube.com' style='text-decoration:none'>" . lgsl_version() . "</a><br /></div>";
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Ejemplo n.º 2
0
    //------------------------------------------------------------------------------------------------------------+
    $output .= "\r\n\r\n\t\t\t<hr>\r\n";
    //------------------------------------------------------------------------------------------------------------+
    // SHOW THE SETTINGS
    if (empty($server['e']) || !is_array($server['e'])) {
        $output .= "\r\n\t\t\t<div style='text-align: center;'><span class='label'> {$lgsl_config['text']['nei']} </span></div>";
    } else {
        $output .= "\n\t\t\t<table class='table table-striped'>\n\t\t\t\t<thead>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td><b> {$lgsl_config['text']['ehs']} </b></td>\n\t\t\t\t\t\t<td><b> {$lgsl_config['text']['ehv']} </b></td>\n\t\t\t\t\t</tr>\n\t\t\t\t</thead>\n\t\t\t\t<tbody>";
        foreach ($server['e'] as $field => $value) {
            $output .= "\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td> {$field} </td>\n\t\t\t\t\t\t<td> {$value} </td>\n\t\t\t\t\t</tr>";
        }
        $output .= "\n\t\t\t\t</tbody>\n\t\t\t</table>";
    }
    //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    //------ PLEASE MAKE A DONATION OR SIGN THE GUESTBOOK AT GREYCUBE.COM IF YOU REMOVE THIS CREDIT ----------------------------------------------------------------------------------------------------+
    $output .= "\n\n\t\t\t<div style='margin-top: 19px;'>\n\t\t\t\t<table class='table table-bordered'>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td style='text-align: center;'>\n\t\t\t\t\t\t\tPowered by <a href='http://www.greycube.com' target='_blank'>" . lgsl_version() . "</a>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n\t\t\t\t</table>\n\t\t\t</div>\n\n";
    //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    echo $output;
    unset($output);
}
?>
						</div>
					</div>
					<div class="tab-pane" id="5">
						<div class="row">
							<div class="span6 offset3">
								<div class="well">
									<div style="text-align: center; margin-bottom: 5px;">
										<span class="label label-info"><?php 
echo T_('Last 15 Actions');
?>