function lab_1cl_demo_installer_get_pack($name) { foreach (lab_1cl_demo_installer_get_packs() as $pack) { if (sanitize_title($pack['name']) == $name) { return $pack; } } return null; }
?> <tfoot> <tr> <td colspan="4" class="small"> To change PHP directives you need to modify <strong>php.ini</strong> file, more information about this you can <a href="http://goo.gl/I9f74U" target="_blank">search here</a> or contact your hosting provider. </td> </tr> </tfoot> <?php } ?> </table> <ul class="demo-content-packs"> <?php foreach (lab_1cl_demo_installer_get_packs() as $pack) { extract($pack); $popup_link = admin_url("admin.php?page=laborator_demo_content_installer&install-pack=" . sanitize_title($name)) . '&TB_iframe=true&width=780&height=550'; ?> <li> <div class="pack-entry"> <a href="<?php echo $popup_link; ?> " class="thickbox"> <img src="<?php echo $lab_demo_content_url . $thumb; ?> " /> </a>