Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: list new one article in index Separated from the other articles ...  (Read 1271 times)

adminphp

  • Full Member
  • ***
  • Karma: 4
  • Posts: 150
  • you must be a great snewser .

Does anyone know how to list new one article in index Separated from the other articles by image or adsense google ... some thing like that.?

Example/

<div id="main_2">
<?php center(0,1); ?>
</div>
<img border="0" src="img.png" width="xx" height="xx">
<div id="main">
<?php center(2,20); ?>
</div>

To identify the situation was more//

_The first new article_
_image or table
_article two _
_article three_
_.........forth_
_.........five_
« Last Edit: September 07, 2010, 12:32:45 PM by adminphp »
Logged
“Fifty years of programming language research, and we end up with C++?”

adminphp

  • Full Member
  • ***
  • Karma: 4
  • Posts: 150
  • you must be a great snewser .
Re: list new one article in index Separated from the other articles ...
« Reply #1 on: September 14, 2010, 01:55:57 PM »

ok .. let's explain the problemm .. What I want to say. is can we Displaye some article  from another categorie .in the homepage
(index ).

for example;) we have three categories (index-categorie2-categorie3-)

So we'll create an article put it in the second or third section ... To display the latest news from that section .. Us to become a mixture of articles from different sections

to explain better!!;) display like this/

Code: [Select]
<?php news_categorie_one(); ?>
<?php news_caegorie_two(); ?>
<?php center(); ?>
<?php news_categorie_three(); ?>

so we Must be written PHP function in the file snews.php..I wish I had you know what I mean ... Thank you.
« Last Edit: September 14, 2010, 05:03:29 PM by adminphp »
Logged
“Fifty years of programming language research, and we end up with C++?”