CYBERMIX | FORUM

Hello, Guest !

We would like to invite you to join our community.

Register & Login now Smile

( " We are currently recruiting forum staffs " )
CYBERMIX | FORUM

Hello, Guest !

We would like to invite you to join our community.

Register & Login now Smile

( " We are currently recruiting forum staffs " )
. Login Register
CYBERMIX | FORUM

WE POST EVERYTHING YOU NEED


You are not connected. Please login or register

Like this topic? Then share our topic !

URL Direct
BBcode
HTML
Anti Deface Script

View previous topic View next topic Go down  Message [Page 1 of 1]

Post: #1Sun Jul 27, 2014 7:08 am

Anonymous

Guest

Guest
$allow_guests = true;
include('core.php');
include('includes/session.php');
$body_id = "news";
$pageid = "4";
//$id = FilterText($_GET['id']);
//yaya
if(FilterText($_GET['id'])){
$news_id = FilterText($_GET['id']);
$main_sql = mysql_query("SELECT * FROM cms_news WHERE num = '".$news_id."'") or die(mysql_error());
$article_exists = mysql_num_rows($main_sql);
if($article_exists == "1"){
$news = mysql_fetch_assoc($main_sql);
$pagename = "News - " . stripslashes($news['title']);
$archive = "0";
} else {
$pagename = "Articolo inesistente!";
$archive = "1";
}

} else {
$pagename = "News";
$archive = "1";
}
include('templates/community/subheader.php');
include('templates/community/header.php');
?>
function FilterNew($str, $news_id)
{
$str = str_replace("à", "à",($str));
$str = str_replace('\r\n', '', ($str));
$str = str_replace('\"', '', ($str));
$str = str_replace("è", "è",($str));
$str = str_replace("ì", "ì",($str));
$str = str_replace("ò", "ò",($str));
$str = str_replace("ù", "ù",($str));

return $str;
}
?>





News



Tutte le News




  • $get_sub_archive = mysql_query("SELECT num, title, date FROM cms_news ORDER BY num DESC LIMIT 50");
    $count = mysql_num_rows($get_sub_archive);
    if($count > 0){
    while ($row = mysql_fetch_array($get_sub_archive, MYSQL_NUM)) {
    printf("
  • [You must be registered and logged in to see this link.] »
  • ", $row[0], HoloText($row[1]));
    }
    } else {
    echo "
    No headlines to display yet.";
    }
    ?>





if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }











[You must be registered and logged in to see this link.]





Articolo inesistente



L'articolo non esiste: clicca su un Articolo esistente!







include('templates/community/footer.php');
?> 
cyclops

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum