Forum Moderators: coopster

Message Too Old, No Replies

PHP News(?) script

         

Kevve

12:42 pm on Jul 30, 2010 (gmt 0)

10+ Year Member



So, I'm back with another project, and this time it seems like I'm forced to use PHP.

Anyway, on to the problem.

I have just general knowledge about PHP.

I want some kind of news script. Man, this is really hard to explain since I'm not that good at English. Anyway, what I want it to do is have an Admin panel where I can post new tutorials. It has to add a new page like 'site.com/tutorial/tutorial1.php' like most other news script you can find on the net. But what I have not been able to find is something that also lists all my tutorials in 'site.com/tutorial' AND lists the newest 10 tutorials in a list like this
<ul class="list"> 
<li class="new"><em>July 29th, 2010 @ 00:21 GMT+1</em><img src="images/en.png" border="0" class="inlineimg" /> <a href="/#">Tutorial</a><br class="spacer" /></li><li class="new"><em>July 29th, 2010 @ 00:21 GMT+1</em><img src="images/en.png" border="0" class="inlineimg" /> <a href="/#">Tutorial</a><br class="spacer" /></li><li class="new"><em>July 29th, 2010</em><img src="images/en.png" border="0" class="inlineimg" /> <a href="/#">Tutorial</a><br class="spacer" /></li><li class="new"><em>July 29th, 2010</em><img src="images/en.png" border="0" class="inlineimg" /> <a href="/#">Tutorial</a><br class="spacer" /></li><li class="new"><em>July 29th, 2010</em><img src="images/en.png" border="0" class="inlineimg" /> <a href="/#">Tutorial</a><br class="spacer" /></li><li class="new"><em>July 29th, 2010</em><img src="images/en.png" border="0" class="inlineimg" /> <a href="/#">Tutorial</a><br class="spacer" /></li><li><em>Jul 29th, 2010</em><img src="images/en.png" border="0" class="inlineimg" /> <a href="/#">Tutorial</a><br class="spacer" /></li><li><em>Jul 29nd, 2010</em><img src="images/en.png" border="0" class="inlineimg" /> <a href="/#">Tutorial</a><br class="spacer" /></li><li><em>Jul 29nd, 2010</em><img src="images/en.png" border="0" class="inlineimg" /> <a href="/#">Tutorial</a><br class="spacer" /></li><li style="

Inside the "home-right" class I have for this purpose.

So I want the script to print out the time and the title in a list and link it to the tutorial.

I also have a "home-left" class I want to use to have a little larger preview picture and also link to the newest posted tutorial like this.
<div class="home-left"> 
<h1>The Latest Tutorial</h1>
<div class="release-preview">
<a href="/#"><img src="images/preview.png" border="0" alt="Tutorial" style="border:1px solid #e7e7e7;" /></a>
</div>
<div class="release-info">
<h2><a href="/#">Tutorial <em>#1</em></a></h2>
<small>July 29th, 2010 @ 00:21 GMT+1</small><br /><br />

<strong>Title:</strong> Tutorial<br /><br />

<a href="/#"><img src="images/read.png" border="0" alt="Tutorial" /></a>
</div>
<div class="spacer"></div>
</div>


I'm not asking anyone to code anything for me, but is there a free script out there that I can customize to do this?

rocknbil

5:45 pm on Jul 30, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Wordpress. :-)

Kevve

8:57 pm on Jul 30, 2010 (gmt 0)

10+ Year Member



I have none intentions whatsoever to use Wordpress or any other CMS, and Wordpress isn't even a CMS it's a blog.

rocknbil

4:36 pm on Jul 31, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It works equally well as a CMS, I have many clients using it as such, it just depends on how you configure it. In the context of tutorials, it would work out well. You asked for a free script, that's the most popular one and you can indeed modify it.