﻿/*
+-----------------------------------------+
+ Articles Panel V1.00
+-----------------------------------------+
+-----------------------------------------+
| Copyright © 2010 Fangree Productions
| Web: www.fangree.co.uk
| Email: admin@fangree.co.uk
| Translations: French Locale By Slaughter
|-----------------------------------------+
==================================================================================
|                                                                                |
|    This program is free software: you can redistribute it and/or modify        |
|    it under the terms of the GNU Affero General Public License as              |
|    published by the Free Software Foundation, either version 3 of the          |
|    License, or (at your option) any later version.                             |
|                                                                                |
|    This program is distributed in the hope that it will be useful,             |
|    but WITHOUT ANY WARRANTY; without even the implied warranty of              |
|    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               |
|    GNU Affero General Public License for more details.                         |
|                                                                                |
|   You should have received a copy of the GNU Affero General Public License     |
|    along with this program.  If not, see <http://www.gnu.org/licenses/>.       |
|                                                                                |
==================================================================================
|-----------------------------------------+
| PHP-Fusion
| Copyright © 2002 - 2009 Nick Jones
| http://www.php-fusion.co.uk/
|-----------------------------------------+
*/


-----------------
|GENERAL:       |
-----------------
A Center Articles Panel that displays the latest 5 Articles.
Displays information for who submited  articles, Article Category, and number of reads each article has had. 
Also displays Total Articles & Total Articles categories count and a search box.



-------------------------------------------
|INSTALL INSTRUCTIONS:                    |
-------------------------------------------

1. Upload all files in /files/ folder to your PHP-Fusion site route. (infusions/articles_panel)


2. Go to Admin >>> System Admin >>> Panels >>> Add New Panel and select articles_panel from the drop down.

3. Name Panel "Articles Panel" >>> Select which User Group you wish to view the panel >>> Save as Upper or Lower Center Panel >>>> Enable

4. Done Enjoy



-------------------------------------------
NOTES:                                    |
-------------------------------------------
To display more or Less Articles in the panel open articles_panel.php

Look for this at line 32...

".(iSUPERADMIN ? "" : "WHERE ".groupaccess('article_cat_access'))." AND article_draft='0' ORDER BY article_id DESC LIMIT 0,5"

Change that number 5 to whichever number you wish.



-------------------------------------------
SUPPORT:                                  |
-------------------------------------------
http://www.fangree.co.uk



-------------------------------------------
|CHANGELOG:                               | 
 ------------------------------------------
V1.00 - First Public Release
