Esempio n. 1
0
 *
 * @package Osclass
 * @subpackage Classified
 */
?>
	<?php 
osc_current_web_theme_path('head.php');
?>
	
	<?php 
if (nc_osc_show_landing_popup()) {
    osc_current_web_theme_path('landing-popup.php');
}
?>
	<?php 
if (nc_osc_show_shout_box()) {
    osc_current_web_theme_path('shoutbox/index.html');
}
?>

    <?php 
osc_current_web_theme_path('header.php');
?>
   
    <?php 
if (nc_osc_get_front_map_or_slider()) {
    ?>
    <?php 
    osc_current_web_theme_path('google-maps.php');
    ?>
    <?php 
Esempio n. 2
0
function load_my_script()
{
    osc_register_script('jquery-ui', osc_base_url() . 'oc-content/themes/classified/js/jquery-ui.min.js', 'jquery');
    osc_register_script('cookie-plugin', osc_base_url() . 'oc-content/themes/classified/js/jquery.cookie.min.js', 'jquery');
    osc_register_script('tiny_mce', osc_base_url() . 'oc-includes/osclass/assets/js/tiny_mce/tiny_mce.js');
    osc_enqueue_script('tiny_mce');
    osc_register_script('ratings', osc_base_url() . 'oc-content/themes/classified/js/jRate.min.js');
    osc_enqueue_script('ratings');
    osc_register_script('facebook-admin', osc_base_url() . 'oc-content/themes/classified/js/facebook-admin.js');
    osc_register_script('jquery-validate', osc_base_url() . 'oc-content/themes/classified/js/jquery.validate.min.js', 'jquery');
    osc_enqueue_script('jquery-validate');
    osc_enqueue_script('facebook-admin');
    osc_register_script('classified', osc_base_url() . 'oc-content/themes/classified/js/classified.js');
    osc_enqueue_script('classified');
    osc_register_script('jssor', osc_base_url() . 'oc-content/themes/classified/js/jssor.js');
    osc_enqueue_script('jssor');
    osc_register_script('jssor-slider', osc_base_url() . 'oc-content/themes/classified/js/jssor.slider.js');
    osc_enqueue_script('jssor-slider');
    osc_enqueue_script('cookie-plugin');
    osc_register_script('bootstrap-dialog', osc_base_url() . 'oc-content/themes/classified/js/bootstrap-dialog.min.js');
    osc_register_script('jquery-uniform', osc_base_url() . 'oc-content/themes/classified/js/jquery.uniform.js');
    osc_register_script('jquery-fineuploader', osc_base_url() . 'oc-includes/osclass/assets/js/fineuploader/jquery.fineuploader.min.js', 'jquery');
    if (!OC_ADMIN) {
        osc_enqueue_style('font-awesome', osc_base_url() . 'oc-content/themes/classified/css/font-awesome.min.css');
        osc_enqueue_style('bootstrap', osc_base_url() . 'oc-content/themes/classified/bootstrap/bootstrap.css');
        osc_enqueue_style('facebook-css', osc_base_url() . 'oc-content/themes/classified/css/facebook.css');
        osc_enqueue_style('default-css', osc_base_url() . 'oc-content/themes/classified/css/style.css');
    }
    if (osc_is_home_page()) {
        osc_enqueue_style('jCarouselLite-css', osc_base_url() . 'oc-content/themes/classified/css/premium_slide.css');
        osc_register_script('jCarouselLite', osc_base_url() . 'oc-content/themes/classified/js/jCarouselLite.js');
        osc_enqueue_script('jCarouselLite');
    }
    if (nc_osc_show_shout_box()) {
        osc_enqueue_style('shoutbox', osc_base_url() . 'oc-content/themes/classified/shoutbox/style.css');
    }
}