x10Hosting Forums

Corporate Free Hosting for the Masses.



Register

Reply
 
LinkBack Thread Tools Display Modes
♫ ¤- Spanish Sr AM -¤ ♫

GM Punk's Avatar

Join Date: Jan 2008
Posts: 3,572
Credits: 24,462
GM Punk has a spectacular aura about
Location: university

Send a message via MSN to GM Punk
Quote  
03-27-2008, 09:15 PM
Unhappy [PHP] Ayuda con codigos T.T

Bueno veran, quiero hacer un template con ayuda de php en el cual no cambie nada del menu (nav, header, etc.) solo el contenido, y me encontre con un template ya echo, el cual estoi estudiando para realizar la mia, pero me perdi en una, bueno unas funciones que me cuatrapearon todo

Miren, ya busque en php.net y no encontre nada, estas son las funciones:
Quote:
/index.php?show=demo <--- Este es el link que debe mostrar el contenido "x"
{func:show} <--- Aqui se muestra el contenido
Aqui en lo de arriba como pongo el contenido de "demo"?
Se pone como variable? ejemplo: <?php $demo = "Aqui lleno de todo el contenido demo" ?>
A continuacion otras funciones que no se relacionan con nada mas en la template sin embargo estan dentro de esta:
Quote:
{count:one}
{count:day}
{login:top}
{login:btm}
{event:nav}
{event:cal}

Alguien sabe como llenar el contenido :s por lo menos denme una idea XD


salu2
__________________

Importante:
☻A toda la comunidad hispana, lean atentamente: "Nuevo Sistema de Soporte"☻

About Me | Sobre Mi
× PM × E-Mail × Donar ×
Tambien pueden contactarme cuando me vean en IRC.

Last edited by GM Punk; 03-27-2008 at 09:16 PM.
Reply With Quote
GM Punk is online nowReport Post
x10 Sophmore

Join Date: Mar 2008
Posts: 208
Credits: 1,346
ThePaintGuru will become famous soon enough
Quote  
03-29-2008, 12:22 AM
Re: [PHP] Ayuda con codigos T.T

Si entiendo, creo que quieres hacer algo con la disena de su pagina en un archivo de PHP, y puede mostrar el HTML de otras paginas dentra de la disna, para no necesitar copiar el codigo todavia? Es bastante simple. Debes hacer un archivo de PHP como eso

index.php:
PHP Code:
<?php
print <<<TERMINAR
disena...disena...disena
TERMINAR;
$archivo $_GET['abrir'];
$archivo .= '.html';
$contents file_get_contents($archivo);
print 
"$contents";
print <<<TERMINAR
disena...disena...disena
TERMINAR;
?>
La disena va aqui, y el contenido va en archivos de HTML sin disena o <HTML> tags. Para mostrar un archivo con contenido de NOMBRE.html, vas a index.php?abrir=NOMBRE

Es posible que haya erores en el codigo, pero es la idea. Lo siento por mi espanol .
__________________
----------
If you found my post helpful in some way, I'd really appreciate a few credits as I'm saving up for a domain.

You can click the blue check mark in the upper right corner of this post to increase my reputation.
Reply With Quote
ThePaintGuru is offlineReport Post
♫ ¤- Spanish Sr AM -¤ ♫

GM Punk's Avatar

Join Date: Jan 2008
Posts: 3,572
Credits: 24,462
GM Punk has a spectacular aura about
Location: university

Send a message via MSN to GM Punk
Quote  
03-29-2008, 12:45 AM
Re: [PHP] Ayuda con codigos T.T

thankyou for helpme ^^ i understand your spanish is good ^^
so i need to do how this links:
reg.imageshack.us/content.php?page=rules
reg.imageshack.us/content.php?page=features

This is one example that i need to do XD

Thanks again for helpme


grettigns
salu2
__________________

Importante:
☻A toda la comunidad hispana, lean atentamente: "Nuevo Sistema de Soporte"☻

About Me | Sobre Mi
× PM × E-Mail × Donar ×
Tambien pueden contactarme cuando me vean en IRC.

Last edited by GM Punk; 03-29-2008 at 12:47 AM.
Reply With Quote
GM Punk is online nowReport Post
x10 Sophmore

Join Date: Mar 2008
Posts: 208
Credits: 1,346
ThePaintGuru will become famous soon enough
Quote  
03-29-2008, 12:53 AM
Re: [PHP] Ayuda con codigos T.T

Creo que sea mas facil usar <iframe src="URL HERE"></iframe> para mostrar paginas completas o paginas de otros dominios. No olvide de usar http:// antes del URL.
__________________
----------
If you found my post helpful in some way, I'd really appreciate a few credits as I'm saving up for a domain.

You can click the blue check mark in the upper right corner of this post to increase my reputation.
Reply With Quote
ThePaintGuru is offlineReport Post
♫ ¤- Spanish Sr AM -¤ ♫

GM Punk's Avatar

Join Date: Jan 2008
Posts: 3,572
Credits: 24,462
GM Punk has a spectacular aura about
Location: university

Send a message via MSN to GM Punk
Quote  
03-29-2008, 01:17 AM
Re: [PHP] Ayuda con codigos T.T

lo que pasa que quiero aprender el php ^^
so happen that I want to learn php ^^


grettings
salu2
__________________

Importante:
☻A toda la comunidad hispana, lean atentamente: "Nuevo Sistema de Soporte"☻

About Me | Sobre Mi
× PM × E-Mail × Donar ×
Tambien pueden contactarme cuando me vean en IRC.
Reply With Quote
GM Punk is online nowReport Post
VPS User

Kansy's Avatar

Join Date: Oct 2006
Posts: 2,131
Credits: 13,403
Kansy will become famous soon enough
Location: Sabadell, Barcelona

Send a message via AIM to Kansy Send a message via MSN to Kansy Send a message via Skype™ to Kansy
Quote  
03-29-2008, 04:20 AM
Re: [PHP] Ayuda con codigos T.T

Yo sabia hacer lo del cargar por ejemplo index.php?algo=1


Ya te lo buscare con tiempo
__________________

Por favor utiliza la opcion Buscar antes de preguntar
Lee las noticias | Leete las Preguntas frequentes
Quieres soporte por voz/chat?
Llámame

Reply With Quote
Kansy is offlineReport Post
x10 Lieutenant

Join Date: May 2006
Posts: 391
Credits: 10,312
eZakto will become famous soon enough
Location: Salta, Argentina.

Quote  
03-29-2008, 02:05 PM
Re: [PHP] Ayuda con codigos T.T

Smarty FTW!
http://www.smarty.net <- El mejor sistema de templates hecho en php, con manual en español.
__________________
eZakto
Reply With Quote
eZakto is offlineReport Post
♫ ¤- Spanish Sr AM -¤ ♫

GM Punk's Avatar

Join Date: Jan 2008
Posts: 3,572
Credits: 24,462
GM Punk has a spectacular aura about
Location: university

Send a message via MSN to GM Punk
Quote  
03-29-2008, 04:01 PM
Re: [PHP] Ayuda con codigos T.T

Quote:
Smarty FTW!
http://www.smarty.net <- El mejor sistema de templates hecho en php, con manual en español.
Gracias lo voi a investigar ^^


salu2
__________________

Importante:
☻A toda la comunidad hispana, lean atentamente: "Nuevo Sistema de Soporte"☻

About Me | Sobre Mi
× PM × E-Mail × Donar ×
Tambien pueden contactarme cuando me vean en IRC.
Reply With Quote
GM Punk is online nowReport Post
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ayuda gegocha Soporte 2 02-12-2008 01:46 PM
¿Existe ayuda en español? quetecagas Soporte 2 09-26-2007 10:51 AM
Dudas y Ayuda con web RolMaster Soporte 1 07-20-2007 07:25 PM
Ayuda con mi sitio yaxiiah Soporte 2 07-19-2007 07:06 PM
Ayuda de algun Argentino... fedlerner Soporte 25 11-09-2006 10:32 PM


All times are GMT -5. The time now is 06:00 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

Cheap Loan | Mortgages | Fast Loans | Mortgage | Mortgage Calculator