M

Sunday, 3 August 2008

search.php —————————–
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : while (have_posts()): the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>"><h2>
<a href="<?php the_permalink() ?>" rel="bookmark"
title="Permanent Link to: <?php the_title(); ?>">
<?php the_title(); ?></a> </h2>
<div class="post-body">
<?php the_excerpt(); ?>
</div>
<cite class="right">
<a href="<?php the_permalink() ?>">
<?php the_author(); ?> -
<?php the_time('m/j/Y g:i:00 A')?></a>
</cite> <br />
</div>
<?php endwhile; ?>
<?php else : ?>
<p>
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
<?php include(TEMPLATEPATH.'/nav.php') ?>
</div>
<!-- content close -->
<div id="content2">
<?php include(TEMPLATEPATH.'/topbar.php') ?>
<?php include(TEMPLATEPATH.'/mbar.php'); ?>
<?php get_footer(); ?>

searchform2.php ————————

<form method="get" class="searchform" action="<?php
bloginfo('url'); ?>/">
<div class="searchbar">
<input type="text" value="<?php the_search_query(); ?>"
name="s" class="s"/>
<input type="submit" class="searchsubmit" value="<?php
_e('Search');?>" />
</div>
</form>

searchform.php ————————-

<form method="get" class="searchform" action="<?php
bloginfo('url'); ?>/">
<div class="searchbar">
<input type="text" value="<?php the_search_query(); ?>"
name="s" class="s"/>
<input type="submit" class="searchsubmit"
value="<?php _e('Search');?>" />
</div>
</form>

sharethis.js —————————

<script type="text/javascript"
src="http://w.sharethis.com/widget/?tabs=web%2Cpost%2Cemail&
charset=utf-8&style=rotate&
publisher=1f9c6b62-ac5e-40f5-aa51-12e34b08e284&
headerbg=%238b4513&inactivebg=%23778899&
inactivefg=%23f5f5dc&linkfg=%238b4513"></script>


Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

  • time time time…
  • Recent Comments

  • Lütfü Hoca

  • Roll

  • Ads