Example #1
0
    function module_admin_head()
    {
        ?>
		<style type="text/css">
		/*	#submenu .current {
				background: #000000;
				border-right: none;
				border-top: none;
				color: #ffffff;
			}

			#subsubmenu {
				background: #000000;
				border-bottom: none;
				margin: 0;
				padding: 3px 2em 0 4em;
			}

			#subsubmenu li {
				display: inline;
				line-height: 200%;
				list-style: none;
				text-align: center;
			}

			#subsubmenu .current {
				background: #ffffff;
				color: #000000;
				font-weight: bold;
				text-decoration: none;
			}

			#subsubmenu a {
				border: none;
				color: #ffffff;
				font-size: 10px;
				padding: .3em .4em .4em;
			}

			#subsubmenu a:hover {
				background: #ddeaf4;
				color: #393939;
			}

			#subsubmenu li {
				line-height: 170%;
				height: 25px;
			} */
		</style>
		<?php 
        if (!isset($_GET['subpage'])) {
            ?>
			<link type="text/css" rel="stylesheet" href="<?php 
            bloginfo('template_url');
            ?>
/css/sbm.css" />

			<script type="text/javascript">
				//<![CDATA[
					jQuery(document).ready(function(){ sbm_load(<?php 
            echo get_option('k2sbm_modules_next_id');
            ?>
, "<?php 
            output_javascript_url('app/includes/sbm-direct.php');
            ?>
"); });
				//]]>
			</script>
		<?php 
        }
    }
Example #2
0
?>

		<?php 
/* Hide Author Elements */
if (!is_user_logged_in() and (is_page() or is_single()) and $comment_author = $_COOKIE['comment_author_' . COOKIEHASH] and 'open' == $post->comment_status or 'comment' == $post->comment_type) {
    ?>
			jQuery(document).ready(function(){ OnLoadUtils(); });
		<?php 
}
?>

		<?php 
if (get_option('k2livecommenting') == 1 and ((is_page() or is_single()) and !isset($_GET['jal_edit_comments']) and 'open' == $post->comment_status or 'comment' == $post->comment_type)) {
    ?>
			K2.ajaxCommentsURL = "<?php 
    output_javascript_url('comments-ajax.php');
    ?>
";
		<?php 
}
?>

	//]]>
	</script>

	<?php 
wp_get_archives('type=monthly&format=link');
?>
</head>

<body class="<?php 
Example #3
0
        include 'navigation.php';
        ?>
</noscript>
<?php 
    }
    ?>

<?php 
    if (!isset($_GET['k2dynamic']) or $_GET['k2dynamic'] == 'init') {
        ?>
<script type="text/javascript">
// <![CDATA[
	jQuery(document).ready(function() {
		k2Rolling.setup(
			"<?php 
        output_javascript_url('theloop.php');
        ?>
",
			"<?php 
        echo attribute_escape(__('Page %1$d of %2$d', k2_domain));
        ?>
",
			<?php 
        echo $rolling_page;
        ?>
,
			<?php 
        echo $wp_query->max_num_pages;
        ?>
,
			<?php