1
|
1 |
<div class="bg-top"><div class="bg-bot"><div class="bg-left"><div class="bg-right"> |
|
2 |
<div class="corner-left-top"><div class="corner-right-top"><div class="corner-left-bot"><div class="corner-right-bot" > |
|
3 |
<?php |
|
4 |
/** |
|
5 |
* @package WordPress |
|
6 |
* @subpackage Default_Theme |
|
7 |
*/ |
|
8 |
|
|
9 |
// Do not delete these lines |
|
10 |
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) |
|
11 |
die ('Please do not load this page directly. Thanks!'); |
|
12 |
|
|
13 |
if ( post_password_required() ) { ?> |
|
14 |
<p class="nocomments">This post is password protected. Enter the password to view comments.</p> |
|
15 |
<?php |
|
16 |
return; |
|
17 |
} |
|
18 |
?> |
|
19 |
|
|
20 |
<!-- You can start editing here. --> |
|
21 |
<br /><br /> |
|
22 |
<?php if ( have_comments() ) : ?> |
|
23 |
|
|
24 |
|
|
25 |
<div class="title-page"> |
|
26 |
<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3> |
|
27 |
</div> |
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
<div class="navigation"> |
|
32 |
<div class="alignleft"><?php previous_comments_link() ?></div> |
|
33 |
<div class="alignright"><?php next_comments_link() ?></div> |
|
34 |
<div class="clear"></div> |
|
35 |
</div> |
|
36 |
|
|
37 |
<div class="text-box" style=" padding-top:0;"> |
|
38 |
|
|
39 |
<ol class="commentlist"> |
|
40 |
<?php wp_list_comments(); ?> |
|
41 |
</ol> |
|
42 |
|
|
43 |
</div> |
|
44 |
<div class="navigation"> |
|
45 |
<div class="alignleft"><?php previous_comments_link() ?></div> |
|
46 |
<div class="alignright"><?php next_comments_link() ?></div> |
|
47 |
<div class="clear"></div> |
|
48 |
</div> |
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
<?php else : // this is displayed if there are no comments so far ?> |
|
54 |
|
|
55 |
<?php if ('open' == $post->comment_status) : ?> |
|
56 |
<!-- If comments are open, but there are no comments. --> |
|
57 |
|
|
58 |
<?php else : // comments are closed ?> |
|
59 |
<!-- If comments are closed. --> |
|
60 |
<p class="nocomments">Comments are closed.</p> |
|
61 |
|
|
62 |
<?php endif; ?> |
|
63 |
<?php endif; ?> |
|
64 |
|
|
65 |
|
|
66 |
<?php if ('open' == $post->comment_status) : ?> |
|
67 |
|
|
68 |
<div id="respond" style=" padding:0px 24px 0px 25px;"> |
|
69 |
|
|
70 |
<div class="title-page"> |
|
71 |
<h3><?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h3> |
|
72 |
</div> |
|
73 |
|
|
74 |
<div class="text-box" style=" padding:0;"> |
|
75 |
<div class="cancel-comment-reply"> |
|
76 |
<small><?php cancel_comment_reply_link(); ?></small> |
|
77 |
</div> |
|
78 |
|
|
79 |
<?php if ( get_option('comment_registration') && !$user_ID ) : ?> |
|
80 |
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p> |
|
81 |
<?php else : ?> |
|
82 |
|
|
83 |
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> |
|
84 |
|
|
85 |
<?php if ( $user_ID ) : ?> |
|
86 |
|
|
87 |
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out »</a></p> |
|
88 |
|
|
89 |
<?php else : ?> |
|
90 |
|
|
91 |
<p><input class="text" type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> /> |
|
92 |
<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p> |
|
93 |
|
|
94 |
<p><input class="text" type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /> |
|
95 |
<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p> |
|
96 |
|
|
97 |
<p><input class="text" type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> |
|
98 |
<label for="url"><small>Website</small></label></p> |
|
99 |
|
|
100 |
<?php endif; ?> |
|
101 |
|
|
102 |
<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>--> |
|
103 |
|
|
104 |
<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4" style=" width:355px;"></textarea></p> |
|
105 |
<p><input name="submit" type="image" src="<?php bloginfo('stylesheet_directory'); ?>/images/submit.gif" id="submit" tabindex="5" value="Submit" /> |
|
106 |
<?php comment_id_fields(); ?> |
|
107 |
</p> |
|
108 |
<?php do_action('comment_form', $post->ID); ?> |
|
109 |
|
|
110 |
</form> |
|
111 |
|
|
112 |
<?php endif; // If registration required and not logged in ?> |
|
113 |
</div> |
|
114 |
|
|
115 |
<?php endif; // if you delete this the sky will fall on your head ?> |
|
116 |
</div> |
|
117 |
|
|
118 |
</div></div></div></div> |
|
119 |
</div></div></div></div> |