Doesn't look bad. I'll put up a screenshot on the next update, probably tomorrow.
EDIT: added update 1.2
EDIT: added update 1.3
EDIT: added update 1.2
EDIT: added update 1.3
There are margins there. Without them it'd be overlapping the outline of the content box. I'll increase the margin a bit more, let me know what you think:Quote:
You might want to add some margins to the text inside the content boxes so they're not so close to the edges.
It does look better. Maybe a bit more would be better. The header could use it as well on the left side.Quote:
There are margins there. Without them it'd be overlapping the outline of the content box. I'll increase the margin a bit more, let me know what you think:
I actually like it better like this, thanks for the suggestion.
Responsive css framework:Quote:
Purpose
The premise of the system is ideally suited to rapid prototyping, but it would work equally well when integrated into a production environment. There are printable sketch sheets, design layouts, and a CSS file that have identical measurements.
I've got half the server status checker coded. Its all I've had time for this week. Its going to be able to check the database to see if the server is online(some servers put a 1 or a 0 in the 'online' table to tell if its online or offline) and will also check the port.Quote:
Any updates ?
I really wanna see the final results xD
Quote:
$host = '127.0.0.1';
$port = '5817';
$timeout = 1;
$connection = @fsockopen($host, $port, $timeout);
if (is_resource($connection))
{
echo 'Server is online' . "\n";
fclose($connection);
}
else
{
echo 'Server is offline' . "\n";
}
Nah, that type is already taken care of. Thanks though. If you'd like you can code the type of status check that will check a table in the database for a 1 or 0. 1 = ONLINE, 0 = OFFLINE. If not I can work on it this weekend.Quote:
I see, here is server status checker ( if u need it )
Quote:
I wonder how the code you have written looks like. Mind showing a preview ?
<?php
require_once('connect.php');
$conn = mysql_connect("$hostdb", "$dbuser", "$dbpass");
$db = mysql_select_db("$dbname");
$serverport = "5816";
$serveraddress = "$serverip";
$port = "9959";
$ip = "$serverip";
//EDIT HERE!!!
$status = '1'; //1: Checks the port. 2: *NOT CODED* Checks database table for 1/0.
//EDIT HERE!!!
if ($status == '1')
{
$res = mysql_query('SELECT count(Username) FROM accounts;');
$val1 = mysql_fetch_array($res);
echo '<p class="offline"><font style="color: ">Accounts: <font style="color: green"><b>'.$val1[0].'</p></b></font>';
$res = mysql_query('SELECT count(Name) FROM entities;');
$val2 = mysql_fetch_array($res);
echo '<p class="offline"><font style="color: ">Characters: <font style="color: green"><b>'.$val2[0].'</p></b></font>';
$res = mysql_query('SELECT count(*) FROM entities WHERE Online=1;');
$val3 = mysql_fetch_array($res);
echo '<p class="offline"><font style="color: ">Online Players: <font style="color: green"><b>'.$val3[0].'</p></b></font>';
require_once("inc/online.php");
}
else if ($status == '2')
{
echo "WORKED2";
}
else
{
echo "EDIT INC/SERVERSTATUS.PHP";
}
?>