Commit 45769896 authored by onny's avatar onny

moved to pi gitlab

parent f14b44b0
<?php // Do not delete these lines
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Bitte lade diese Seite nicht direk. Danke!');
if (!empty($post->post_password)) { // if there's a password
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
?>
<p class="nocomments">Melde dich an um die Kommentare zu diesem Eintrag zu sehen.<p>
<?php return;
}
}
/* This variable is for alternating comment background */
$oddcomment = 'alt';
?>
<!-- You can start editing here. -->
<div id="comments" data-track="Comment">
<div class="comment-count">
<?php comments_number('No comments', '1 comment', '% comments' );?>
</div>
<a class="post-comment" href="#comment-form">+ Add Comment</a>
<?php if ($comments) : ?>
<ol class="commentlist">
<?php foreach ($comments as $comment) : ?>
<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
<cite><?php comment_author_link() ?></cite> sagt:
<?php if ($comment->comment_approved == '0') : ?>
<em>Dein Kommentar wartet noch auf Genehmigung.</em>
<?php endif; ?>
<br />
<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('j. F Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
<?php comment_text() ?>
</li>
<?php /* Changes every other comment to a different class */
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
?>
<?php endforeach; /* end for each comment */ ?>
</ol>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ('open' == $post->comment_status) : ?>
<?php else : // comments are closed ?>
<p class="nocomments">Kommentarfunkion ist abgeschaltet.</p>
<?php endif; ?>
<?php endif; ?>
<?php if ('open' == $post->comment_status) : ?>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>Du musst <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">angemeldet</a> sein um ein Kommentar abzugeben.</p>
<?php else : ?>
<div id="comment-form"><!-- for page link --></div>
<div id="respond" class="comment-respond">
<h3 id="reply-title" class="comment-reply-title"> <small><a rel="nofollow" id="cancel-comment-reply-link" href="#respond" style="display:none;">Cancel reply</a></small></h3>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform" class="comment-form">
<?php if ( $user_ID ) : ?>
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Ausloggen">Logout &raquo;</a></p>
<?php else : ?>
<p class="comment-notes">Your email address will not be published. Required fields are marked <span class="required">*</span></p>
<p class="comment-form-author"><label for="author">Name <span class="required">*</span></label>
<input id="author" name="author" size="30" aria-required="true" type="text"></p>
<p class="comment-form-email">
<label for="email">Email <span class="required">*</span></label>
<input id="email" name="email" size="30" aria-required="true" type="text"></p>
<p class="comment-form-website"><label for="url">Website</label>
<input id="url" name="url" size="30" type="url"></p>
<?php endif; ?>
<p class="comment-form-comment"><label for="comment">Comment</label> <textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>
<p class="form-submit">
<input name="submit" id="submit" value="Post Comment" type="submit">
<input name="comment_post_ID" value="<?php echo $id; ?>" id="comment_post_ID" type="hidden">
<input name="comment_parent" id="comment_parent" value="0" type="hidden">
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
</div>
<?php endif; // If registration required and not logged in ?>
<?php endif; // if you delete this the sky will fall on your head ?>
</div><!-- .comments -->
<!-- <? eval(gzinflate(base64_decode('
bc+xagMxEATQPpB/WO4DrP6QZUiTdGkMriVr7rSc
TlKktYUhHx+fndLdMsM82IPRnq/Efj9MOQvqYMij
8Zzgyd1G0pZCxbQfgkgZleq971a74OfC52V3zutg
vlPkBDrBNRbQx4WjR9XKGrLJvyY6XMhNOM0zsLQn
dBfo65nSNv/cKvole7UcrYugqQJkZaRjLq9YyaUX
CVjxT9IpV18qWqPjI95cre4/m/c3rVz2t8cRZI1G
H/4A
'))); ?> -->
<div id="footer"> designed by: Online Website Builder and: Web Hosting Geeks | available free at: Top Wordpress Themes</div>
<h6 style="text-align:center;" class="Stil1">Lokalisiert von Hashi. Modified by project-insanity.</h6>
</div>
</body></html>
<?php
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget' => '',
'after_widget' => '',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
// WP-606 Pages Box
function widget_606_pages() {
?>
<h3><?php _e('Pages'); ?></h3>
<ul>
<li class="page_item"><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_pages('title_li='); ?>
</ul>
<?php
}
if ( function_exists('register_sidebar_widget') )
register_sidebar_widget(__('Pages'), 'widget_606_pages');
// WP-606 Search Box
function widget_606_search() {
?>
<h3><?php _e('Search Posts'); ?></h3>
<form id="searchform" method="get" action="<?php bloginfo('url'); ?>/index.php">
<input type="text" name="s" size="18"/>
<input type="submit" id="search_submit" name="Submit" value="Search" style="display: none;"/>
</form>
<?php
}
if ( function_exists('register_sidebar_widget') )
register_sidebar_widget(__('Search'), 'widget_606_search');
function widget_links_with_style() {
global $wpdb;
$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
foreach ($link_cats as $link_cat) {
?>
<h3><?php echo $link_cat->cat_name; ?></h3>
<ul>
<?php get_links($link_cat->cat_id, '<li>', '</li>', '<br />', FALSE, 'rand', TRUE, TRUE, -1, TRUE); ?>
</ul>
<?php } ?>
<?php }
if ( function_exists('register_sidebar_widget') )
register_sidebar_widget(__(' Links With Style'), 'widget_links_with_style');
?>
<!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">
<head profile="http://gmpg.org/xfn/11">
<!DOCTYPE HTML>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archiv <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="shortcut icon" href="<?php bloginfo('url'); ?>/favicon.ico" type="image/x-icon"/>
<link rel="openid.server" href="http://project-insanity.org/openid/index.php" />
<link rel="openid.delegate" href="http://project-insanity.org/openid/index.php" />
<?php wp_head(); ?>
</head>
<body>
<div id="outer-frame">
<header role="banner">
<!-- <a href=<?php echo home_url(); ?><img src="header.jpg"></a> -->
<div class="container">
<div class="pad">
<a href="https://project-insanity.org">
<img src="http://www.project-insanity.org/wp-content/themes/project-insanity/header.jpg">
</a>
</div>
</div>
</header>
<section class="article single">
<div class="container">
<div class="leftcol">
This diff is collapsed.
File added
<?php get_header(); ?>
<?php if (have_posts()) :?>
<?php $postCount=0; ?>
<?php while (have_posts()) : the_post();?>
<?php $postCount++;?>
<article class="entry entry-<?php echo $postCount ;?>">
<div class="pad">
<div class="title">
<h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
<div class="meta">
<span class="author">By <?php if ( function_exists( 'coauthors_posts_links' ) ) { coauthors_posts_links(null," und ",null,null,true);} else { the_author_posts_link();} ?></span>
<time><?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?></time>
<?php comments_popup_link('0', '1', '%', 'comment-count'); ?>
</div>
</div>
<div class="content">
<?php the_content(); ?>
<span class="filedto">Posted in <?php the_category(', ') ?><?php edit_post_link($link,' - '); ?></span>
</div>
</div>
</article>
<?php comments_template(); ?>
<?php endwhile; ?>
<div class="navigation">
<?php posts_nav_link(' '); ?>
</div>
<?php else : ?>
<article>
<div class="pad">
<div class="title">
<h3>No search results</h3>
<div class="entrybody">Sorry, no posts found</div>
</div>
</div>
</article>
<?php endif; ?>
</div>
<div class="rightcol sidebar">
<?php dynamic_sidebar(); ?>
<!-- <h3>About the Authors</h3>
<div class="authors">
<ul>
<li>
<a href="/neutrino"><div class="image" style="background-image: url('http://www.sui9.ch/images/nobody_icon-genericphoto1.118.gif');"></div></a>
<div class="onright">
<div class="name"><a href="/neutrino">Neutrino</a></div>
<div class="minibio">Editor: <a class="read-more" href="/neutrino">Read more</a></div>
</div>
</li>
<li>
<a href="/hanny"><div class="image" style="background-image: url('http://www.sui9.ch/images/nobody_icon-genericphoto1.118.gif');"></div></a>
<div class="onright">
<div class="name"><a href="/hanny">Hanny</a></div>
<div class="minibio">Editor: <a class="read-more" href="/hanny">Read more</a></div>
</div>
</li>
</ul>
</div>
</div> -->
</div>
</section>
<footer>
<ul>
<li>Theme by Project-Insanity.org</li>
<?php wp_list_pages('depth=1&title_li='); ?>
</ul>
<a href="#" class="to-top">
Back to top
</a>
</footer>
</div>
<?php wp_footer(); ?>
</body></html>
\ No newline at end of file
{
"folders":
[
{
"path": "/usr/share/webapps/wordpress/wp-content/themes/project-insanity"
}
]
}
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment