PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/globalclassified.kerihosting.com/oc-admin/themes/modern/market/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/globalclassified.kerihosting.com/oc-admin/themes/modern/market/section.php |
<?php /* * Copyright 2014 Osclass * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ function addHelp() { echo '<p>' . __('Browse and download available Osclass plugins, from a constantly-updated selection. After downloading a plugin, you have to install it and configure it to get it up and running.') . '</p>'; } osc_add_hook('help_box','addHelp'); osc_current_admin_theme_path('market/header.php'); $title = __get('title'); $section = __get('section'); $array = __get('array'); $pagination = __get('pagination'); $sort = __get('sort'); $order_download = __get('order_download'); $order_updated = __get('order_updated'); $sort_download = __get('sort_download'); $sort_updated = __get('sort_updated'); $categories = __get('market_categories'); $categories = isset($categories[$section])?$categories[$section]:array(); ?> <div class="grid-market"> <h2 class="section-title"><?php echo $title[$section]; ?>, <?php echo $array['total'].' '.$section; ?> <?php _e('and counting'); ?> <span style="<?php if($sort=='downloads'){ echo "font-weight: bold;";}?>" class="<?php echo ($order_download=='desc'?'sorting_desc':'sorting_asc') ?>"><a id="sort_download" href="<?php echo $sort_download; ?>"><?php _e('Downloads'); ?> </a></span> <span style="<?php if($sort=='updated'){ echo "font-weight: bold;";}?>" class="<?php echo ($order_updated=='desc'?'sorting_desc':'sorting_asc') ?>"><a id="sort_updated" href="<?php echo $sort_updated; ?>"><?php _e('Last updates'); ?> </a></span> <?php if($section=='plugins' || $section=='themes') { ?> <span class="wrapper_market_categories"> <select id="market_categories"> <option value="<?php echo $categories['value'] ?>" <?php if(Params::getParam('sCategory')==$categories['value']) {echo 'selected="selected"'; }; ?>><?php echo $categories['label']; ?></option> <?php foreach($categories['categories'] as $c) { ?> <option value="<?php echo $c['value'] ?>" <?php if(Params::getParam('sCategory')==$c['value']) {echo 'selected="selected"'; }; ?>> <?php echo $c['label']; ?></option> <?php }; ?> </select> </span> <?php }; ?> </h2> <?php // if there are data to be shown if(isset($array[$section]) ) { if(isset($array['total']) && (int)$array['total']>0) { $colors = gradienColors(); foreach ($array[$section] as $item) { drawMarketItem($item, $colors[array_rand($colors)]); } echo '<div class="clear"></div><div class="has-pagination">' . $pagination . '</div>'; } else { ?> <div> <p class="flashmessage flashmessage-inline flashmessage-error"><?php printf(__('There are no %s that matches your search'), $section); ?></p> </div> <?php } } else { ?> <div> <p class="flashmessage flashmessage-inline flashmessage-error"><?php _e('Cannot get information form market.osclass.org, sorry for the inconvenience'); ?></p> </div> <?php } ?> </div> <?php osc_current_admin_theme_path( 'parts/footer.php' ); ?>