Advertisement
Guest User

Index.php from Presglossary

a guest
Mar 19th, 2013
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.69 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
  3. <head>
  4. <?php get_header(); ?>
  5. </head>
  6. <body>
  7. <div id="page">
  8.   <div id="content">
  9.     <?php include (TEMPLATEPATH . "/first-navigation.php"); ?>
  10.     <?php include (TEMPLATEPATH . "/navigation.php"); ?>
  11.     <div id="page_content">
  12.       <?php if(is_category() && !is_paged()):?>
  13.       <div id="gradientback01">
  14.         <p class="noprint"> <a href="http://www.indezine.com">Home</a> | <a href="http://www.indezine.com/products/powerpoint/">PowerPoint</a> | <a href="/">PowerPoint and Presenting Glossary</a><br>
  15.         </p>
  16.         <h1 class="titlemain">
  17.           Glossary: <?php single_cat_title(); ?>
  18.         </h1>
  19.         <?php include (TEMPLATEPATH . "/categorylinks.php"); ?>
  20.         <p><b>See Also:</b><br>
  21.           <a href="http://notes.indezine.com/">PowerPoint and Presenting Notes</a><br>
  22.           <a href="http://blog.indezine.com/">PowerPoint and Presenting Blog </a></p>
  23.         <hr align="left"/>     
  24.       </div>
  25.       <?php include (TEMPLATEPATH . "/textlinks.php"); ?>
  26.       <hr align="left" class="hrleft740">
  27.       <?php if (is_category()) { $posts = query_posts($query_string . '&orderby=title&order=asc'); } ?>
  28.       <?php while (have_posts()) : the_post(); ?>
  29.       <div class="clear">
  30.         <div id="content970">
  31.           <div class="fiveleft">
  32.             <p><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title_attribute(); ?>">
  33.              <?php the_title(); ?></a></p>   
  34.             </div>
  35.         </div>
  36.       </div>
  37.       <?php endwhile; ?>
  38.       <?php endif;?>
  39.      
  40.      <?php if(is_tag() && !is_paged()):?>
  41.       <div id="gradientback01">
  42.         <p class="noprint"> <a href="http://www.indezine.com">Home</a> | <a href="http://www.indezine.com/products/powerpoint/">PowerPoint</a> | <a href="/">PowerPoint and Presenting Glossary</a><br>
  43.         </p>
  44.         <h1 class="titlemain">
  45.           <?php single_tag_title(); ?>
  46.         </h1>
  47.         <p><b>See Also:</b><br>
  48.           <a href="http://notes.indezine.com/">PowerPoint and Presenting Notes</a><br>
  49.           <a href="http://blog.indezine.com/">PowerPoint and Presenting Blog </a></p>
  50.         <hr align="left"/>     
  51.       </div>
  52.       <?php include (TEMPLATEPATH . "/textlinks.php"); ?>
  53.       <?php while (have_posts()) : the_post(); ?>
  54.       <div class="clear">
  55.         <div id="content970">
  56.           <hr align="left" class="hrleft740">
  57.           <div class="fiveleft">
  58.             <h2 class="titlenext"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title_attribute(); ?>">
  59.              <?php the_title(); ?></a></h2>
  60.             </div>
  61.             <div class="fiveleft">
  62.             <?php the_content('Read the rest of this entry &raquo;'); ?>
  63.             </div>         
  64.         </div>
  65.       </div>
  66.       <?php endwhile; ?>
  67.       <?php endif;?>
  68.      
  69.       <?php if(is_home() && !is_paged()):?>
  70.       <div id="gradientback01">
  71.         <p class="noprint"> <a href="http://www.indezine.com">Home</a> | <a href="http://www.indezine.com/products/powerpoint/">PowerPoint</a> | <a href="/">PowerPoint and Presenting Glossary</a><br>
  72.         </p>
  73.         <h1 class="titlemain">PowerPoint and Presenting Glossary</h1>
  74.         <p>
  75.           <?php bloginfo('description'); ?>
  76.         </p>
  77.         <p><b>See Also:</b><br>
  78.           <a href="http://notes.indezine.com/">PowerPoint and Presenting Notes</a><br>
  79.           <a href="http://blog.indezine.com/">PowerPoint and Presenting Blog </a></p>
  80.         <hr align="left"/>
  81.          <?php include (TEMPLATEPATH . "/categorylinks.php"); ?>
  82.         <hr align="left"/>
  83.       </div>
  84.       <?php include (TEMPLATEPATH . "/textlinks.php"); ?>
  85.      
  86.       <?php if (have_posts()) : ?>
  87.       <?php while (have_posts()) : the_post(); ?>
  88.       <div class="clear">
  89.         <div id="content970">
  90.           <hr align="left" class="hrleft740">
  91.           <div class="fiveleft">
  92.             <h2 class="titlenext"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title_attribute(); ?>">
  93.               <?php the_title(); ?>
  94.               </a></h2>
  95.           </div>
  96.           <div class="detailsgray">
  97.             <?php the_time('l, F j, Y'); ?>
  98.           </div>
  99.           <div class="detailsgray">
  100.             <?php _e("posted by ");?>
  101.             <b>
  102.             <?php the_author(); ?>
  103.             </b>
  104.             <?php _e("at ");?>
  105.             <?php the_time('G:i A'); ?>
  106.             <?php _e("IST ");?>
  107.           </div>
  108.           <div class="fiveleft">
  109.             <?php the_content('Read the rest of this entry &raquo;'); ?>
  110.             <p><strong>Glossary</strong>:
  111.               <?php the_category(', ') ?>
  112.               <br />
  113.               <?php the_tags('Tagged as: ', ', ', '<br />'); ?>
  114.             </p>
  115.           </div>
  116.         </div>
  117.       </div>
  118.       <div class="fiveleft">
  119.         <p>
  120.           <?php comments_popup_link('No Comments', '1 Comment', '% Comments', 'comments'); ?>
  121.           <?php edit_post_link('Edit', '<p>', '</p>'); ?>
  122.         </p>
  123.       </div>
  124.       <?php endwhile; ?>
  125.       <?php else : ?>
  126.       <h2 class="center">Not Found</h2>
  127.       <p class="center">Sorry, but you are looking for something that isn't here.</p>
  128.       <?php include (TEMPLATEPATH . "/searchform.php"); ?>
  129.       <?php endif; ?>
  130.       <div class="navigation">
  131.         <div class="alignleft">
  132.           <?php next_posts_link('&laquo; Older Entries') ?>
  133.         </div>
  134.         <div class="alignright">
  135.           <?php previous_posts_link('Newer Entries &raquo;') ?>
  136.         </div>
  137.       </div>
  138.       <?php endif;?>
  139.       <div class="clr">&nbsp;</div>
  140.     </div>
  141.     <?php get_sidebar(); ?>
  142.     <?php get_footer(); ?>
  143.   </div>
  144. </div>
  145. </body>
  146. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement