Posted By

Hos4m on 08/24/10


Tagged


Versions (?)

index


 / Published in: PHP
 

  1. <div id="all" align="center">
  2. <?php get_header(); ?>
  3. <div id="wrap">
  4.  
  5. <br />
  6.  
  7. <div id="site-word" align="center">
  8. Searching for good Adobe air applications? Do you want them all in one place? Here, we go. We categorized almost all adobe air applications and make it easy to find what you want.
  9. </div>
  10.  
  11. <div id="posts">
  12. <?php if(have_posts()) : while(have_posts()) : the_post();?>
  13. <ul class="post">
  14.  
  15. <div class="postimg"><a href="<?php the_permalink(); ?>"<?php $postimageurl = get_post_meta($post->ID, 'tpic', true);
  16. if ($postimageurl) {
  17. ?>
  18. <a href="<?php the_permalink(); ?>" rel="bookmark"><img src="<?php echo $postimageurl; ?>" alt="Post Pic" width="201" height="111" /></a>
  19. <?php } else { ?>
  20. <a href="<?php the_permalink(); ?>" rel="bookmark"><img src="<?php bloginfo('template_url'); ?>/images/default.JPG" alt="Screenshot" width="201" height="111" /></a>
  21. <?php } ?></a></div>
  22.  
  23.  
  24. <div class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></div>
  25. <div class="post-category">Category : <?php the_category(', '); ?></div>
  26.  
  27. <div class="appdesc-index"><?php $appdesc = get_post_meta($post->ID, 'appdesc', true);
  28. if ($appdesc) {
  29. ?>
  30. <?php echo $appdesc; ?>
  31. <?php } else { ?>
  32. <font color="gray" >No found information about this</font>
  33. <?php } ?></div>
  34.  
  35. <!-- <div class="readmore"><a href="<?php the_permalink(); ?>">More & Download</a></div> -->
  36. </ul><!-- End Post -->
  37. <?php endwhile; ?>
  38. <?php else : ?>
  39. <p>I can't find what you're searching for, Try again with a different search word.</p>
  40. <br />
  41. <?php endif; ?>
  42. <div id="next"><?php previous_posts_link(); ?><?php next_posts_link(); ?>
  43. </div>
  44. <br></br>
  45. </div><!-- End Posts -->
  46.  
  47. <?php get_sidebar(); ?>
  48.  
  49. </div><!-- End Warp -->
  50. </div><!-- End Container -->
  51. </div>
  52. <?php get_footer(); ?>
  53. </body>
  54. </html>

Report this snippet  

You need to login to post a comment.