Exemplo n.º 1
0
<?php

/**
* @version		v.1.2.2
* @package		Fiyo CMS
* @copyright	Copyright (C) 2012 Fiyo CMS.
* @license		GNU/GPL, see LICENSE.txt
* @description	
**/
defined('_FINDEX_') or die('Access Denied');
$article = new articleCategory();
$article->item($id, Page_ID);
if (isset($article->category)) {
    $category = $article->category;
    $catlink = $article->catlink;
    $text = $article->article;
    $pagelink = $article->pglink;
    $link = $article->link;
    $comment = $article->comment;
    $perrows = $article->perrows;
    $author = $article->author;
    $title = $article->title;
    $hits = $article->hits;
    $date = $article->date;
    if ($text) {
        ?>
	
<?php 
        if (defined('Apps_Title')) {
            echo "<h2>" . Apps_Title . "</h2>";
        }
Exemplo n.º 2
0
<?php

/**
* @version		v.1.2.2
* @package		Fiyo CMS
* @copyright	Copyright (C) 2012 Fiyo CMS.
* @license		GNU/GPL, see LICENSE.txt
* @description	
**/
defined('_FINDEX_') or die('Access Denied');
$article = new articleCategory();
$article->item(1, Page_ID, 2);
if (isset($article->category)) {
    $category = $article->category;
    $catlink = $article->catlink;
    $text = $article->article;
    $pagelink = $article->pglink;
    $link = $article->link;
    $comment = $article->comment;
    $readmore = $article->readmore;
    $perrows = $article->perrows;
    $author = $article->author;
    $title = $article->title;
    $hits = $article->hits;
    $date = $article->date;
    if ($text) {
        ?>
	
	<?php 
        if (defined('Apps_Title')) {
            echo "<h2>" . Apps_Title . "</h2>";