franky (October 14th, 2011)
<?php global $app_abbr; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <?php appthemes_meta(); ?>
<title><?php wp_title('|',true,'right'); ?><?php bloginfo('name'); ?></title>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('feedburner_url') <> "" ) echo get_option('feedburner_url'); else echo get_bloginfo_rss('rss2_url').'?post_type='.APP_POST_TYPE; ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php if ( file_exists(TEMPLATEPATH.'/images/favicon.ico') ) { ?><link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/images/favicon.ico" type="image/x-icon" /><?php } ?>
<?php if ( is_singular() && get_option('thread_comments') ) wp_enqueue_script('comment-reply'); ?> <?php wp_head(); ?>
<script type="text/javascript" src="jquery.js"></script><script type="text/javascript"> /* Category nav drop down */function toggle_slide(id_name) { jQuery('#'+id_name).slideToggle('fast');// open/close slide menu}
/* Category nav drop down */function selected_slide(id_name, form_id_place, form_name_place, id_cat) { // checked slide variable var ObjectForm = document.getElementById(id_name); // init slide var Element = ObjectForm.parentNode.getElementsByTagName("li"); // init slide element for (i = 0; i < Element.length; i++) { // choose slide element ElementHref = Element[i].parentNode.getElementsByTagName("a"); // init Tag A attribute = ElementHref[i].getAttribute("rel"); // init ID element Element[i].removeAttribute("class"); // delete checked old slide menu selected if (id_cat == attribute) { // init selecte element save_slide(form_id_place, form_name_place, attribute, ElementHref[i].innerHTML); // save data Element[i].setAttribute("class", "active"); // checked slide menu selected element } } toggle_slide(id_name); // close slide menu}
/* Category nav drop down */function save_slide(id_place, name_place, var_id, var_name) { document.getElementById(id_place).value = var_id; // write ID element document.getElementById(name_place).innerHTML = var_name; // write name Element return 0;}
/* initialize the form validation */jQuery(document).ready( function(){ jQuery("#mainform").validate({ errorClass: "invalid" }); });
// ]]>$(document).ready(function($){$(".adv_categories").click(function(){ $(".adv_categories").slideToggle("fast"); $(this).toggleClass("active"); return false;});});</script></head>
<body <?php body_class(); ?>> <?php appthemes_before(); ?>
<div class="container">
<?php if ( get_option('cp_debug_mode') == 'yes' ) { ?><div class="debug"><h3><?php _e('Debug Mode On','appthemes'); ?></h3><?php print_r($wp_query->query_vars); ?></div><?php } ?>
<?php appthemes_before_header(); ?> <?php appthemes_header(); ?> <?php appthemes_after_header(); ?>
<?php include_once( TEMPLATEPATH . '/includes/theme-searchbar.php' ); ?>
franky (October 14th, 2011)
franky (October 14th, 2011)
franky (October 14th, 2011)
zontor (October 16th, 2011)
There are currently 1 users browsing this thread. (0 members and 1 guests)