Tengo una pagina en php nuke, y el header esta formado por un diseño que esta cortado en varias secciones. (index_01.gif , index_02.gif, index_03.gif etc etc etc el chiste es que esta formado por 6 partes).... Lo que quiero es poner solo una imagen de header o un solo diseño de 780x129 px, ya vi que tengo que modificar el themeheader del theme.php, pero estoy muy verde en esto del php.
Muchas gracias por su ayuda.
Este es el codigo que tengo actualmente:
Cita:
salu2 ************************************************** **********/
/* Function themeheader() */
/************************************************** **********/
function themeheader() {
global $banners, $bside;
echo "<body bgcolor=\"#3E4E5D\" text=\"#000000\">";
echo "<table bgcolor=\"#FFFFFF\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"840\" align=\"center\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
."<tr><td width=\"100%\" height=\"129\" background=\"themes/bigbang/images/index_02.gif\">\n"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"840\"><tr><td width=\"331\"><img src=\"themes/bigbang/images/index_01.gif\" align=\"left\" hspace=\"0\"></td><td width=\"489\">\n";
if ($banners) {
include("banners.php");
}
echo "<br><img src=\"themes/bigbang/images/pixel.gif\" width=\"489\" height=\"20\" border=\"0\" alt=\"\"></td><td width=\"20\"><img src=\"themes/bigbang/images/index_03.gif\" align=\"right\" hspace=\"0\"></td></tr></table></td></tr><tr><td width=\"100%\" valign=\"top\">\n"
."<table width=\"840\" cellpadding=\"0\" bgcolor=\"ffffff\" cellspacing=\"0\" border=\"0\">\n"
."<tr valign=\"top\">\n"
."<td width=\"133\" background=\"themes/bigbang/images/index_06.gif\" valign=\"top\" align=\"center\">\n";
$bside="left";
blocks(left);
$bside="";
echo "<br><img src=\"themes/bigbang/images/pixel.gif\" width=\"133\" height=\"1\" border=\"0\" alt=\"\"></td><td><img src=\"themes/bigbang/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}
/* Function themeheader() */
/************************************************** **********/
function themeheader() {
global $banners, $bside;
echo "<body bgcolor=\"#3E4E5D\" text=\"#000000\">";
echo "<table bgcolor=\"#FFFFFF\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"840\" align=\"center\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
."<tr><td width=\"100%\" height=\"129\" background=\"themes/bigbang/images/index_02.gif\">\n"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"840\"><tr><td width=\"331\"><img src=\"themes/bigbang/images/index_01.gif\" align=\"left\" hspace=\"0\"></td><td width=\"489\">\n";
if ($banners) {
include("banners.php");
}
echo "<br><img src=\"themes/bigbang/images/pixel.gif\" width=\"489\" height=\"20\" border=\"0\" alt=\"\"></td><td width=\"20\"><img src=\"themes/bigbang/images/index_03.gif\" align=\"right\" hspace=\"0\"></td></tr></table></td></tr><tr><td width=\"100%\" valign=\"top\">\n"
."<table width=\"840\" cellpadding=\"0\" bgcolor=\"ffffff\" cellspacing=\"0\" border=\"0\">\n"
."<tr valign=\"top\">\n"
."<td width=\"133\" background=\"themes/bigbang/images/index_06.gif\" valign=\"top\" align=\"center\">\n";
$bside="left";
blocks(left);
$bside="";
echo "<br><img src=\"themes/bigbang/images/pixel.gif\" width=\"133\" height=\"1\" border=\"0\" alt=\"\"></td><td><img src=\"themes/bigbang/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}