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 We are pleased to introduce a new ZK component – Linelayout. Linelayout is useful for displaying chronological information (i.e. timeline) in a flexible and easy way. Demo Simple usage Here is a simple usage of Linelayout component: <zk> <zscript> ListModel model = new ListModelList(new String[] { “2019-Q1”, “2019-Q2”, “2019-Q3”, “2019-Q4” }); </zscript> […]
Introduction Instead of using iframe, since ZK 9, there is a new way to embed ZK applications into an external application such as a NodeJS or Python-based web page. In other words, with this feature we can easily combine ZK with other front-end frameworks. By using ZK client binding in Javascript, we can also control […]
Introduction In ZK 9, we are glad to introduce a new component – Coachmark. Coachmark is used to attract users’ attention to the target component and display further information in a dialog. Demo A coachmark is suitable for guiding users to navigate a specific component in the page; it should be as relevant as possible to […]
Introduction In some of the use cases it is convenient for users to select a value or a range by dragging a handle, and the Slider component has been provided for this purpose. Now, instead of having to use multiple sliders to choose multiple values, we are glad to introduce two new components in ZK 9 […]
Introduction Kanban board is a popular agile project management tool for visualizing work process. Since ZK 9, we added PortalChildren frame design to Portallayout component, making it extremely easy to create a Kanban-like layout for your application. Demo To turn on the PortalChildren frame design, just specify the title attribute to PortalChildren. Each PortalChildren with title can […]