Foros del Web » Creando para Internet » Sistemas de gestión de contenidos »

Duda tontisima con phpnuke

Estas en el tema de Duda tontisima con phpnuke en el foro de Sistemas de gestión de contenidos en Foros del Web. Buenas!!!! Soy un novatillo en esto de hacer páginas, hace años que estudie html y esto ha cambiado mucho ^^. Bueno casi me da verguenza ...
  #1 (permalink)  
Antiguo 04/05/2009, 05:05
 
Fecha de Ingreso: mayo-2009
Mensajes: 16
Antigüedad: 15 años
Puntos: 3
Duda tontisima con phpnuke

Buenas!!!!
Soy un novatillo en esto de hacer páginas, hace años que estudie html y esto ha cambiado mucho ^^.
Bueno casi me da verguenza preguntaros esto, pero adelante, por que no me sale...
Esta es mi web;
Cita:
tristefansub.uuuq-com (substituir - por un punto, es que no me deja poner links
Necesito hacer 2 cosas y no se como:
-La primera es poner un espacio en blanco entre el menu con imágenes y el bloque de noticias. He probado poniendo br's, pero por alguna razon coje el color del background y se queda azulito.

-La segunda y mas importante, es que quiero hacer un "marco" en la web, es decir, dejar el fondo asi azulito y el contenido enmarcarlo con un borde hecho con un jpg. La imagen ya la tengo hecha, pero lo que no se es insertarla en los laterales sin que los bloques cambien de posicion. Me explico; yo pongo los laterales, y se pone la imagen y mas abajo, tras esta, los menus laterales.


Archivo Theme
Código:
<?php

$bgcolor1 = "#ffffff";
$bgcolor2 = "#9cbee6";
$bgcolor3 = "#ffffff";
$bgcolor4 = "#0E3259";
$textcolor1 = "#000000";
$textcolor2 = "#000000";

function OpenTable() {
    global $bgcolor1, $bgcolor2;
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable() {
    echo "</td></tr></table></td></tr></table>\n";
}

function OpenTable2() {
    global $bgcolor1, $bgcolor2;
    echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
    echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable2() {
    echo "</td></tr></table></td></tr></table>\n";
}

function FormatStory($thetext, $notes, $aid, $informant) {
    global $anonymous;
    if (!empty($notes)) {
	$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
	$notes = "";
    }
    if ("$aid" == "$informant") {
	echo "<font class=\"content\">$thetext$notes</font>\n";
    } else {
	if(!empty($informant)) {
	    $boxstuff = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$informant\">$informant</a> ";
	} else {
	    $boxstuff = "$anonymous ";
	}
	$boxstuff .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
	echo "<font class=\"content\">$boxstuff</font>\n";
    }
}

/************************************************************/
/* Function themeheader()                                   */
/************************************************************/

function themeheader() {
    global $banners, $sitename;
    echo "<body bgcolor=\"#9cbee6\" text=\"#000000\" link=\"0000ff\">"
	."<br>";
	$ads = ads(0);
	echo "$ads";
//	echo "<br>";
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"940\" align=\"center\">\n"
	."<tr><td width=\"100%\">\n"
	."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"940\">\n"
	."<tr><td width=\"100%\">\n"
	."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"940\">\n"
	."<tr><td width=\"100%\" height=\"88\" bgcolor=\"#FFFFFF\">\n"
	."<table border=0 width=100% cellpadding=0 cellspacing=0><tr></td><td align=\"left\"><img border=\"0\" src=\"themes/DeepBlue/images/logo-graphic.gif\"></td></tr></table></td></tr>\n"
	."<tr><td width=\"100%\" bgcolor=\"#000000\" height=\"19\" valign=\"bottom\">\n"
	."<a href=\"index.php\"><img border=\"0\" src=\"/images/Inicio.jpg\" width=\"134\" height=\"60\"></a>"
	."<a href=\"index.php\"><img border=\"0\" src=\"/images/Inicio 2.jpg\" width=\"134\" height=\"60\"></a>"
	."<a href=\"index.php\"><img border=\"0\" src=\"/images/Inicio 3.jpg\" width=\"134\" height=\"60\"></a>"
	."<a href=\"index.php\"><img border=\"0\" src=\"/images/Inicio 4.jpg\" width=\"134\" height=\"60\"></a>"
	."<a href=\"index.php\"><img border=\"0\" src=\"/images/Inicio 5.jpg\" width=\"134\" height=\"60\"></a>"
	."<a href=\"index.php\"><img border=\"0\" src=\"/images/Inicio 6.jpg\" width=\"134\" height=\"60\"></a>"
	."<a href=\"index.php\"><img border=\"0\" src=\"/images/Inicio 7.jpg\" width=\"134\" height=\"60\"></a>"
	."</td></tr></table>\n";
    $public_msg = public_message();
    echo "$public_msg";
    echo "</td></tr></table><table width=\"940\" cellpadding=\"0\" bgcolor=\"ffffff\" cellspacing=\"0\" border=\"0\">\n"
//	."<a href=\"index.php\"><img border=\"0\" src=\"/images/lateral.jpg\" width=\"4\" height=\"\"></a>"
	."<tr valign=\"top\">\n"
	."<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
	."<td width=\"138\" bgcolor=\"ffffff\" valign=\"top\">\n";
    blocks("left");
    echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}

/************************************************************/
/* Function themefooter()                                   */
/*                                                          */
/* Control the footer for your site. You don't need to      */
/* close BODY and HTML tags at the end. In some part call   */
/* the function for right blocks with: blocks(right);       */
/* Also, $index variable need to be global and is used to   */
/* determine if the page your're viewing is the Homepage or */
/* and internal one.                                        */
/************************************************************/

function themefooter() {
    echo "<br>";
    if (defined('INDEX_FILE')) {
	echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"ffffff\">\n";
	blocks("right");
	echo "<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\">";
    }
 else {
	echo "</td><td colspan=\"2\"><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\">";
    }
    echo "<br><br></td></tr></table>\n"
	."<br><center>";
    footmsg();
    echo "</center>";
}


function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
	."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
	."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
	."<img src=\"themes/DeepBlue/images/dot.gif\" border=\"0\"></td><td width=\"100%\" bgcolor=\"#FFFFFF\"><font class=\"option\"><b>&nbsp;$title</b></font></td></tr>\n"
	."<tr><td colspan=\"2\" bgcolor=\"#FFFFFF\"><br>\n"
	."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n"
	."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
    FormatStory($thetext, $notes, $aid, $informant);
    echo "</td></tr></table>\n"
	."</td></tr></table><br>\n"
	."</td></tr><tr><td bgcolor=\"#FFFFFF\" align=\"center\">\n"
	."<font class=\"tiny\">"._POSTEDBY." ";
    formatAidHeader($aid);
    echo " "._ON." $time $timezone ($counter "._READS.")<br></font>\n"
	."<font class=\"content\">$morelink</font></center>\n"
	."<img src=\"themes/DeepBlue/images/pixel.gif\" border=\"0\" height=\"2\">\n"
	."</td></tr></table>\n"
	."</td></tr></table><br>\n";
}

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid, $tipath;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
	."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
	."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#FFFFFF\">\n"
	."<img src=\"themes/DeepBlue/images/dot.gif\" border=\"0\"></td><td width=\"100%\" bgcolor=\"#FFFFFF\"><font class=\"option\"><b>&nbsp;$title</b></font></td></tr>\n"
	."<tr><td colspan=\"2\" bgcolor=\"#FFFFFF\"><br>\n"
	."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n"
	."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
    FormatStory($thetext, $notes="", $aid, $informant);
    echo "</td></tr></table>\n"
	."</td></tr></table><br>\n"
	."</td></tr></table>\n"
	."</td></tr></table><br><br>\n";
}

function themesidebox($title, $content) {
    echo "<table border=\"0\" align=\"center\" width=\"138\" cellpadding=\"0\" cellspacing=\"0\">"
	."<br>"
	."<tr><td background=\"themes/DeepBlue/images/table-title.gif\" width=\"138\" height=\"20\">"
	."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#FFFFFF\"><b>$title</b></font>"
	."</td></tr><tr><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"100%\" height=\"3\"></td></tr></table>\n"
	."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"138\">\n"
	."<tr><td width=\"138\" bgcolor=\"#000000\">\n"
	."<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\" width=\"138\">\n"
	."<tr><td width=\"138\" bgcolor=\"#ffffff\">\n"
	."$content"
	."</td></tr></table></td></tr></table><br>";
}

?>

Muchas gracias de antemano!!!
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 07:42.