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'];
?>
Introduction In the upcoming ZK 6.5, we will introduce a new component called ‘Cardlayout’ enabling end-users to switch components like switching cards. On tablet, this navigation operation is supported by simply swiping through components. Check out the demo below to see how it works exactly! Live Demo Implementation Like HBox or Hlyout, developers can add […]
Introduction There already a lot of components in the ZK framework. In this blog post, I will introduce a new one that I have created: Accordion, a horizontal accordion component that is based on liteAccordion, a jQuery plug-in. Accordion includes the following features: Supports any ZK components as children Supports all the native themes (basic, dark, […]