K
Klaus234
Beta
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
<?php
require_once('./global.php');
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('[Acá va el nombre de la template]') . '");');
?>
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
$headinclude
</head>
<body>
$header
$navbar
$footer
</body>
</html>
munir dijo:tambien puede servir para hacer una hoja de noticias o una hoja de publicidad sin perder los marcos del foro
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
$headinclude
</head>
<body>
$header
$navbar
"Estas paginas son nuestras amigas"
http://iguanas.cl :
http://www.yacarecoli.com.ar :
http://www.btarg.com.ar
http://www.exeemarg.com.ar
http://munir.com.ar
http://argentop2p.com.ar
http://okoronko.com.ar
http://www.revistaarabe.com.ar
$footer
</body>
</html>
<?php
require_once('./global.php');
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('[amiga1]') . '");');
?>
eval('print_output("' . fetch_template('Site_Login') . '");');
eval('print_output("' . fetch_template('Latest_Active_Threads') . '");');
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'prueba'); // el nombre del script ha de ser siempre el del archivo php
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
//Si quieres cachear más de un template usa una coma seguido del nombre del template
$globaltemplates = array(
'PRUEBA'
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
$navbits = array();
$navbits[$parent] = 'Página de Prueba';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('PRUEBA') . '");');
?>
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">Página de prueba</td>
</tr>
<tr>
<td class="alt1">Contenido del texto</td>
</tr>
</table>
$footer
</body>
</html>
Klaus234 dijo:Eso es lo que estoy buscando .. como hago funcionar lo de $_REQUEST['do] , bah el ejemplo que puse arriba lo puse lo mas simple posible se que se le pueden agregar todo eso 🙂
require_once('./global.php');
function PrintError($error, $normal)
{
if ($normal==1)
{
$error=base64_encode($error . "" . "<strong><p>Presiona la tecla atrás de tu navegador y rellena el dato que te falta </p></srong>");
$link="Location:Prueba3.php?do=showerror&view=" . $error;
header($link);
exit;
}else {
$error=base64_encode($error);
$link="Location:Prueba3.php?do=showerror&view=" . $error;
header($link);
exit;
}
}
if ($_REQUEST['do']=="Register")
{
$Myusername = $vbulletin->userinfo[username];
$email=$vbulletin->userinfo[email];
//$Myusername = $bbuserinfo[username];
//$email=$bbuserinfo[email];
$Nombre = $_POST['nombre'];
if ($error){
$Mensaje_Usuario ="<center>El proceso de pedido está en marcha, se ha enviado una copia de tu pedido a las oficinas de </center><br>El equipo de *****se pondrá en contacto contigo.";
PrintError ($Mensaje_Usuario,0);
}
else
{
$Mensaje_Usuario= "<center>No se ha podido enviar el email</center><br>Error: $error";
PrintError ($Mensaje_Usuario,0);
}
eval('print_output("' . fetch_template('TEMPLATEUNO') . fetch_template('TEMPLATEDOS') . '");');
////concatenacion de arrays
$globaltemplates = array(
'TEMPLATEUNO',
'TEMPLATESDOS',
);
Utilizamos cookies y tecnologías similares para los siguientes fines:
¿Aceptas las cookies y estas tecnologías?
Utilizamos cookies y tecnologías similares para los siguientes fines:
¿Aceptas las cookies y estas tecnologías?