Tema: php en .tpl
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/10/2005, 15:15
Avatar de yuguilley
yuguilley
 
Fecha de Ingreso: febrero-2004
Ubicación: Montenegro Quindío
Mensajes: 108
Antigüedad: 20 años, 2 meses
Puntos: 0
php en .tpl

tengo el siguinete codigo en php
y quiero llamar esta funcion a un archivo .tpl
como lo puedo hacer?

<?
$keywords = 6; //numero de textos que se rotarán
$random = rand(1,$keywords);
$txt = array();

$txt[1] = "Arrears Mortgage Problem";
$txt[2] = "Arrears Mortgage";
$txt[3] = "Adverse Remortgage uk";
$txt[4] = "Bad Credit Mortgage Remortgage";
$txt[5] = "Arrears Mortgage uk";
$txt[6] = "Bad Credit Mortgage";

echo showFeed("$txt[$random]");
?>