function asp_check_compatibility() { $_comp = wpdreamsCompatibility::Instance(); $_comp->check_dir_w(ASP_PATH . 'css' . DIRECTORY_SEPARATOR, "You might not be able to change the search style."); $_comp->check_dir_w(ASP_PATH . 'cache' . DIRECTORY_SEPARATOR, "Images may not show in results, the caching of results may not work."); $_comp->can_open_url("Images may not show in results."); $_comp->can_write_files(); }
<option value="priority ASC">Priority ascending</option> </select> <div style="display: inline-block;"> <label>Filter</label><input name="p_asp_filter" placeholder="post title here"> </div> <label>Limit</label><input name="p_asp_limit" style="width: 40px;" value="20"> <input type='submit' id="p_asp_submit" class='submit' value='Filter'/> <?php $_r = ob_get_clean(); ?> <?php $_comp = wpdreamsCompatibility::Instance(); if ($_comp->has_errors()) { ?> <div class="wpdreams-slider errorbox"> <p class='errors'>Possible incompatibility! Please go to the <a href="<?php echo get_admin_url() . "admin.php?page=ajax-search-pro/backend/comp_check.php"; ?> ">error check</a> page to see the details and solutions!</p> </div> <?php } ?> <div class='wpdreams-slider'> <form name='asp_priorities' id="asp_priorities" method='post'> <fieldset> <legend>Filter Posts</legend>