1970 issue
-
Hey.
Usually it only displays the freshness of my forum’s post, but when using the search function it also shows the date the post was created.
Unfortunately it show the year 1970.
Here’s the link:
http://www.cmscentral.de/content/forum/search.php?q=Family
Does anyone know how to fix this?
Thanks in advance!
- <h4>“><?php topic_title($bb_post->topic_id); ?></h4>
<p><?php echo show_context($q, $bb_post->post_text); ?></p>
<p><small><?php _e(‘Posted’) ?> <?php echo date(__(‘F j, Y, h:i A’), bb_get_post_time()); ?></small></p>
- <h4>“><?php topic_title($bb_post->topic_id); ?></h4>
<p><?php echo show_context($q, $bb_post->post_text); ?></p>
<p><small><?php _e(‘Posted’) ?> <?php echo date(__(‘F j, Y, h:i A’), bb_get_post_time()); ?></small></p>
<?php endforeach; ?>
<?php endif; ?>
<?php if ( $relevant ) : ?>
<h2><?php _e(‘Relevant posts’)?></h2>
<ol class=”results”>
<?php foreach ( $relevant as $bb_post ) : ?>
<?php endforeach; ?>
<?php endif; ?>
<?php if ( !$topics && !$recent && !$relevant && !users) : ?>
<p><?php _e(‘No results found.’) ?></p>
<?php endif; ?>
<p><?php printf(__(‘You may also try your search at Google‘), bb_get_option(‘uri’), urlencode($q)) ?></p>
<?php bb_get_footer(); ?>
</code