Ver post
  #2 (permalink)  
Old 20-jun-2008, 01:44
Sonia Fonz Sonia Fonz is offline
Junior Member
 
Registrado: abril-2008
Posts: 4
Predeterminado

Es codigo php Solo pones:

<?PHP
include("la_carpeta_en_donde_esta_guardado_el_arch ivo_shownews/show_news.php");
?>

Las variables que puedes usar son:

<?PHP

$number = "<X>"; // show only the X newest articles.
$template = "<NAME>"; // load another template, if you don't use it the default template will be loaded.
$static = TRUE; // included news will not load on this location, for more info see 'Using Multiple Includes'.
$category = "<ID>"; // show only news from the selected category where <ID> is the id of category.
$start_from = "<NUMBER>"; // show the news starting not from the first newest but from <NUMBER>, it is required to use $start_from = "<NUMBER>"; only when you use $number = "X";.

include("la_carpeta_en_donde_esta_guardado_el_arch ivo_shownews/show_news.php");
?>

Espero te sirva!! Saludos!!


_____________________________
Sonia
Citar y responder