Tema: #include
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/11/2008, 14:16
Avatar de gVenom
gVenom
 
Fecha de Ingreso: julio-2008
Ubicación: Costa Rica
Mensajes: 1.458
Antigüedad: 15 años, 9 meses
Puntos: 53
Respuesta: #include

Bien, aqui esta mi primer intento fallido por tratar de usar #include. Alguien que me ayude porfavor:
Código PHP:
<html>
<head>
<title>index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (index.psd) -->
<?php #include("index.html"); ?>
<table id="01">
    <tr>
        <td colspan="2" rowspan="4">
            <img src="images/index_07.jpg" width="190" height="135" alt=""></td>
        <td rowspan="7">
            <img src="images/index_08.jpg" width="1" height="159" alt=""></td>
        <td colspan="2" rowspan="4">
            <img src="images/index_09.jpg" width="395" height="135" alt=""></td>
        <td colspan="3">
            <img src="images/index_10.jpg" width="190" height="3" alt=""></td>
        <td rowspan="2">
            <img src="images/index_11.jpg" width="1" height="21" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="3" alt=""></td>
    </tr>
    <tr>
        <td colspan="2">
            <img src="images/index_12.jpg" width="188" height="18" alt=""></td>
        <td>
            <img src="images/index_13.jpg" width="2" height="18" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="18" alt=""></td>
    </tr>
    <tr>
        <td>
            <img src="images/index_14.jpg" width="1" height="1" alt=""></td>
        <td colspan="3" rowspan="2">
            <img src="images/index_15.jpg" width="190" height="114" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="1" alt=""></td>
    </tr>
    <tr>
        <td rowspan="3">
            <img src="images/index_16.jpg" width="1" height="136" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="113" alt=""></td>
    </tr>
    <tr>
        <td colspan="2">
            <img src="images/index_17.jpg" width="190" height="2" alt=""></td>
        <td rowspan="2">
            <img src="images/index_18.jpg" width="392" height="23" alt=""></td>
        <td rowspan="2">
            <img src="images/index_19.jpg" width="3" height="23" alt=""></td>
        <td rowspan="2">
            <img src="images/index_20.jpg" width="187" height="23" alt=""></td>
        <td rowspan="2">
            <img src="images/index_21.jpg" width="2" height="23" alt=""></td>
        <td rowspan="2">
            <img src="images/index_22.jpg" width="1" height="23" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="2" alt=""></td>
    </tr>
    <tr>
        <td colspan="2" rowspan="2">
            <img src="images/index_23.jpg" width="190" height="22" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="21" alt=""></td>
    </tr>
    <tr>
        <td colspan="3" rowspan="2">
            <img src="images/index_24.jpg" width="396" height="193" alt=""></td>
        <td colspan="3" rowspan="2">
            <img src="images/index_25.jpg" width="190" height="193" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="1" alt=""></td>
    </tr>
    <tr>
        <td>
            <img src="images/index_26.jpg" width="2" height="192" alt=""></td>
        <td colspan="2">
            <img src="images/index_27.jpg" width="189" height="192" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="192" alt=""></td>
    </tr>
    <tr>
        <td colspan="9">
            <img src="images/index_28.jpg" width="778" height="25" alt=""></td>
        <td>
            <img src="images/index_29.jpg" width="1" height="25" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="25" alt=""></td>
    </tr>
    <tr>
        <td>
            <img src="images/spacer.gif" width="36" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="2" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="2" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="188" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="392" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="3" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="187" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="2" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="1" height="1" alt=""></td>
        <td>
            <img src="images/spacer.gif" width="35" height="1" alt=""></td>
        <td></td>
    </tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>
y este es el header

Código HTML:
<html>
<head>
<title>index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table id="head" width="851" height="601" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td rowspan="11">
			<img src="images/index_01.jpg" width="36" height="600" alt=""></td>
		<td colspan="9">
			<img src="images/index_02.jpg" width="778" height="1" alt=""></td>
		<td>
			<img src="images/index_03.jpg" width="1" height="1" alt=""></td>
		<td rowspan="11">
			<img src="images/index_04.jpg" width="35" height="600" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="1" alt=""></td>
	</tr>
	<tr>
		<td rowspan="9">
			<img src="images/index_05.jpg" width="2" height="574" alt=""></td>
		<td colspan="9">
			<img src="images/index_06.jpg" width="777" height="223" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="223" alt=""></td>
	</tr>
    </table>
    </body>
    </html> 
__________________
"Al que venciere y guardare mis obras hasta el fin, yo le daré autoridad sobre las naciones."
Apocalipsis 2: 26
Servicios para Pymes http://dst.co.cr