Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

Commit

Permalink
a wordpress theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Riza Selcuk Saydam committed Apr 12, 2012
1 parent 6f4e10f commit a6c147a
Show file tree
Hide file tree
Showing 10 changed files with 1,538 additions and 0 deletions.
128 changes: 128 additions & 0 deletions comments.php
@@ -0,0 +1,128 @@
<?php // Do not delete these lines
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');

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">Yazı parola korumalı.Yorumları görebilmek için parolayı girin.</p>
<?php
return;
}
}

/* This variable is for alternating comment background */
$oddcomment = 'class="alt" ';
?>
<!-- You can start editing here. -->
<?php if ($comments) : ?>
<?php if (!('open' == $post-> comment_status)) : ?>
<span class="closecomment">
<?php _e('Comments are closed')?>
</span>
<?php else : ?>
<?php endif; ?>

<li class="padded">
<div class="comments">
<?php comments_number('No Comments', '1 Comment', '% Comments' );?>
</div>

<div class="allcomments">




<?php foreach ($comments as $comment) : ?>
<div class="singlecomment clearfix admin" <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
<a class="commenter" href="<?php comment_author_link() ?>">
<p style="background-image: url(http://files-cdn.formspring.me/profile/20110331/n4d9445d64bd7e_small.jpg)" class="iconize">&nbsp;</p>

<p class="title"><?php _e('')?></p>
</a>
<p><?php comment_text() ?></p>
<?php if ($comment->comment_approved == '0') : ?>
<p class="moderate"><?php _e('Waiting for moderation.')?>.</p>
<?php endif; ?>

</div> <!-- admin comment -->

<?php
/* Changes every other comment to a different class */
$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';
?>
<?php endforeach; /* end for each comment */ ?>

</div>


<?php if (!('open' == $post-> comment_status)) : ?>
<p class="nocomments"><?php _e('No comments. Be first!')?>.</p>
<?php else : ?>
<?php endif; ?>


<?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"><?php _e('Not avaible to comment')?>.</p>

<?php endif; ?>

<?php endif; ?>
<?php if ('open' == $post->comment_status) : ?>
<div class="commentarea clearfix square">

<h3 id="respond"><?php _e('Yorum yap, fikrini paylaş')?></h3>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p><?php _e('Yorum yapabilmek için')?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>"><?php _e('giriş')?></a> <?php _e('yapmalısınız')?>.</p>
<?php else : ?>
<form id="new_app" class="app_form borderize clearfix" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform" accept-charset="UTF-8">
<?php if ( $user_ID ) : ?>
<div class="labelforcomment">Add Your Comment
</div>
<p><?php _e('Hoş geldinis Sn.')?> <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="Çıkış"><?php _e('Çıkış')?> &raquo;</a></p>
<?php else : ?>
<p>You know the rules. No need reminding.</p>


<div class="text_field">
<input type="text" size="auto" placeholder="What's your name?" name="author" id="author" value="<?php echo $comment_author; ?>" class="pane_input">
<div class="insertion_point">&nbsp;</div>
</div>


<div class="text_field">
<input type="text" size="auto" placeholder="And your email?" name="email" id="email" value="<?php echo $comment_author_email; ?>" class="pane_input">
<div class="insertion_point">&nbsp;</div>
</div>


<div class="text_field">
<input type="text" size="auto" placeholder="Personal blog?" name="url" id="url" value="<?php echo $comment_author_url; ?>" class="pane_input">
<div class="insertion_point">&nbsp;</div>
</div>


<?php endif; ?>

<div class="text_field area">

<textarea placeholder="Your Comment is ..." name="comment" id="comment" cols="auto" class="pane_input" style="resize: none; overflow-y: hidden; height: 100px;"></textarea>
<div class="insertion_point">&nbsp;</div>
</div>


<a class="buttonize square commentsender" value="submit">Sent</a>
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />

<?php do_action('comment_form', $post->ID); ?>
</form>
</div>
<div class="clearfix"></div>
<?php endif; // If registration required and not logged in ?>
<?php endif; // if you delete this the sky will fall on your head ?>
4 changes: 4 additions & 0 deletions footer.php
@@ -0,0 +1,4 @@
<?php wp_footer(); ?>

</body>
</html>
45 changes: 45 additions & 0 deletions header.php
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<!--[if IE 6]>
<html id="ie6" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 7]>
<html id="ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html id="ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width" />
<title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); echo " - "; bloginfo('name'); } elseif (is_single() || is_page() ) { single_post_title(); } elseif (is_search() ) { bloginfo('name'); echo " search results: "; echo wp_specialchars($s); } else { wp_title('',true); } ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

<?php wp_head(); ?>
</head>

<body>
<header id="simple">
<h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
<ul id="user_info">
<li class="website"><a href="http://rss-ems.com">rss-ems.com</a></li>
<li class="twitter"><a href="http://twitter.com/rssems">@rssems</a></li>
<li class="email"><a href="#">say hello</a></li>
<li class="rss"><a href="/rss">rss feed</a></li>
</ul>
<p class="copyleft" style="color: #777">Theme Copyleft
<!--[if lte IE 8]><span style="filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); display: inline-block;"><![endif]--><span class="copyleftRSS">&copy;</span>
<!--[if lte IE 8]></span><![endif]-->
by <a href="http://www.rss-ems.com/blog">RSS</a>.
</p>
</header>
Binary file added helveticaneu-bold-webfont.eot
Binary file not shown.

0 comments on commit a6c147a

Please sign in to comment.