Recent Topics

1 Jun 25, 2005 21:28    

I have that

20.06.05

06:30:00, Catégories:

http://news.nospy.info/

I want change for have that 20.06.05 06:30:00 , Catégories:


<div class="bPosts">
	<h2>
	<?php 
	arcdir_title();
	last_comments_title();
	profile_title();
	single_cat_title();
	single_month_title();
	single_post_title();
	stats_title();
	?>
	</h2>

<?php // START POSTS
if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post
if( isset($MainList) ) while( $Item = $MainList->get_item() ) {
	locale_temp_switch( $Item->locale ); // Temporarily switch to post locale
	$MainList->date_if_changed(); // display post date if it changed
	$Item->anchor(); // Anchor for permalinks to refer to
	?>
	
<div class="bPost" lang="<?php $Item->lang() ?>">

<div class="bSmallHead">
	<a href="<?php $Item->permalink() ?>" title="<?php echo T_('Permanent link to full entry') ?>"><img src="img/icon_minipost.gif" alt="Permalink" width="12" height="9" class="middle" /></a>
	<?php 
	$Item->issue_time();
	echo ', ', T_('Categories'), ': ';
	$Item->categories();
	echo ', ';
	$Item->wordcount();
	echo ' ', T_('words'), ' &nbsp; ';
	locale_flag( $Item->locale, 'h10px' );
	?>
	</div>

2 Jun 25, 2005 21:41

Try this:


<div class="bPosts">
   <h2>
   <?php
   arcdir_title();
   last_comments_title();
   profile_title();
   single_cat_title();
   single_month_title();
   single_post_title();
   stats_title();
   ?>
   </h2>

<?php // START POSTS
if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post
if( isset($MainList) ) while( $Item = $MainList->get_item() ) {
   locale_temp_switch( $Item->locale ); // Temporarily switch to post locale
   $Item->anchor(); // Anchor for permalinks to refer to
   ?>
   
<div class="bPost" lang="<?php $Item->lang() ?>">

<div class="bSmallHead">
   <a href="<?php $Item->permalink() ?>" title="<?php echo T_('Permanent link to full entry') ?>"><img src="img/icon_minipost.gif" alt="Permalink" width="12" height="9" class="middle" /></a>
   <?php
   $Item->issue_date();
   $Item->issue_time();
   echo ', ', T_('Categories'), ': ';
   $Item->categories();
   echo ', ';
   $Item->wordcount();
   echo ' ', T_('words'), ' &nbsp; ';
   locale_flag( $Item->locale, 'h10px' );
   ?>
   </div>

I just removed the date_if_changed statement and put in $Item->issue_date(); down next to the time.

3 Jun 25, 2005 21:55

Parse error: parse error, unexpected T_STRING in /news/skins/NoSpy/_main.php on line 101

100 = $Item->issue_date();
101 = $Item->issue_time();

4 Jun 26, 2005 17:19

Here's what I have, pasted right from the php file:

<?php // ------------------------------------ START OF POSTS --------------------------------------
        if( isset($MainList) ) $MainList->display_if_empty();   // Display message if no post

        if( isset($MainList) ) while( $Item = $MainList->get_item() )
{
?>

<p class="newstitle" lang="<?php $Item->lang() ?>">
<?php $Item->anchor(); ?>
<?php $Item->title(); ?></p>
<div class="newspost">
        <?php $Item->content(); ?>
        <?php link_pages() ?>
</div>
<div class="newscomments">
<a href="<?php $Item->permalink() ?>" title="Permalink">posted</a> by <?php $Item->Author->prefered_name() ?> | <?php $Item->issue_date() ?> | <?php $Item->issue_time() ?> | <?php $Item->categories('true','') ?> |


        <?php $Item->feedback_link( 'comments' ) // Link to comments ?>

        <?php $Item->trackback_rdf() // trackback autodiscovery information ?>


<div>

Try commenting out lines one at a time until the problem goes away, then you'll know what's causing it and we might be able to fix it.


Form is loading...