Código PHP:
Ver original/* Establecemos las variables */
$ruta = "test.tpl";
$menu[] = "$m1[Menu]";
}
if($n){
"header" => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="GENERATOR" content="BlogIn">
<meta name="description" content=""/>
<meta name="keywords" content="HTML, tags, commands">
<meta name="author" content="" />
<title>{titulo}</title>
</head>',
"titulo" => $c['Titulo'],
"descripcion" => $c['Descripcion'],
"noticiatitulo" => $n['Titulo'],
"noticia" => $n['Contenido'],
"fecha" => $n['Fecha'],
"menu" => $menu,
"footer" => "© 2012-2013 Simple Organization. All rights Reserved. Todos los derechos reservados <a href='http://iblog.net'>iBlog</a>"
);
}else{
"header" => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="GENERATOR" content="BlogIn">
<meta name="description" content=""/>
<meta name="keywords" content="HTML, tags, commands">
<meta name="author" content="" />
<title>{titulo}</title>
</head>',
"titulo" => $c['Titulo'],
"descripcion" => $c['Descripcion'],
"noticiatitulo" => "El articulo no existe.",
"noticia" => "",
"fecha" => "",
"menu" => $menu,
"footer" => "© 2012-2013 Simple Organization. All rights Reserved. Todos los derechos reservados <a href='http://iblog.net'>iBlog</a>"
);
}
/* Llamamos a la funci¨®n */
Pero me da error del else