if (!empty($_SERVER['HTTP_CLIENT_IP']))
$ip=$_SERVER['HTTP_CLIENT_IP'];
else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];
else
$ip=$_SERVER['REMOTE_ADDR'];
?>
Is it really necessary to have 3-divs for round-cornered tabs ?
Under certain conditions i.e. if you control the maximum width to under 400px and if your application does not require more complicated tabs like vertical tab or according tab, it is possible to implement lighter tabs in order to increase your application’s performance when dealing with huge sets of tab components.
To achieve this, use a simple component called “Swifttab” to avoid burdening your browser with unnecessary resources.
It can be easily done by replacing the original <tab> to <swifttab>
There is also one more useful feature to this tab – you are now able to drag and reorder the tab components around.
Very nice.