Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

Untitled
Saturday, February 23rd, 2008 at 11:09:52pm MST 

  1. <?php get_header(); ?>
  2. <div id="main-content">
  3. <div id="right-content-post">
  4.  
  5. <div id="post-entry">
  6.  
  7. <?php if(have_posts()) : ?>
  8.  
  9. <?php while(have_posts()) : the_post(); ?>
  10.  
  11. <div class="post-meta" id="post-<?php the_ID(); ?>">
  12. <h1><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
  13.  
  14. <div class="post-date">Published in <?php the_time('F jS, Y') ?> <?php edit_post_link('Edit', '&#124; ', ''); ?></div>
  15. <div class="authors-cat">Posted by <?php the_author_posts_link(); ?> in <?php the_category(', ') ?></div>
  16.  
  17. <div class="post-content"><?php the_content('Continue reading this post...') ;?></div>
  18. </div>
  19.  
  20. <div class="post-clear"></div>
  21.  
  22. <?php endwhile; ?>
  23.  
  24.  
  25. <div class="post-clear"></div>
  26.  
  27. <?php else : ?>
  28.  
  29. <h2>The page had been deleted</h2>
  30.  
  31. <?php endif; ?>
  32.               
  33.  
  34. </div>
  35.  
  36. <?php get_sidebar(); ?>
  37.  
  38. <?php get_leftbar(); ?>
  39.  
  40. <?php get_footer(); ?>
  41. <?php get_header(); ?>
  42.    <div id="content" class="narrowcolumn">
  43.       <!-- This sets the $curauth variable -->
  44. <?php
  45. if(isset($_GET['author_name'])) :
  46. $curauth = get_userdatabylogin($author_name);
  47. else :
  48. $curauth = get_userdata(intval($author));
  49. endif;
  50. ?>
  51.  
  52. <h2>About: <?php echo $curauth->nickname; ?></h2>
  53. <dl>
  54. <dt>Website</dt>
  55. <dd><a href="<?php echo $curauth->user_url; ?>"><?php echo $curauth->user_url; ?></a></dd>
  56. <dt>Profile</dt>
  57. <dd><?php echo $curauth->user_description; ?></dd>
  58. </dl>
  59.  
  60. <h2>Posts by <?php echo $curauth->nickname; ?>:</h2>
  61.  
  62. <ul>
  63. <!-- The Loop -->
  64. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  65.   <li>
  66. <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">
  67. <?php the_title(); ?></a>,
  68. <?php the_time('d M Y'); ?> in <?php the_category('&');?>
  69.   </li>
  70.  
  71.   <?php endwhile; else: ?>
  72.      <p><?php _e('No posts by this author.'); ?></p>
  73.  
  74.         <?php endif; ?>
  75. <!-- End Loop -->
  76. </ul>
  77. </div>
  78. <?php get_sidebar(); ?>
  79. <?php get_footer(); ?>

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

fantasy-obligation