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 would like to introduce a new feature – Loadingbar. It is a modern, lightweight loading animation for indicating the loading progress. Demo Here is a loading bar demo from start –> update –> finish. Example // create a LoadingbarControl for control the loadingbar LoadingbarControl loadingbarCtrl = Loadingbar.createLoadingbar(“myId”); loadingbarCtrl.start(); loadingbarCtrl.update(20); // update the value to 20 […]
Introduction We’d like to introduce you a new mold for Checkbox component: TriState. TriState mold is used to select either “checked”, “unchecked” or “indeterminate” as the value. With this feature, you can offer more diverse options for your users. Demo You can switch between the three states by clicking the checkbox or pressing the space key. […]