Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/05/2012, 18:24
SNAK3
 
Fecha de Ingreso: mayo-2007
Mensajes: 12
Antigüedad: 17 años
Puntos: 1
Editar un theme

Tengo este tema

Y me gustaría que los menús de la iquierda, quedasen a la misma altura que los de la derecha pero por mas que lo intento no lo consigo.
¿Alguien podría darme indicaciones de como hacerlo?

Gracias

Código:
<?php
/*
+---------------------------------------------------------------+
|	e107 website system
|
|	©Steve Dunstan 2001-2007
|	http://e107.org
|	[email protected]
|
|	Released under the terms and conditions of the
|	GNU General Public License (http://gnu.org).
+---------------------------------------------------------------+
*/
// [multilanguage]
$lan_file = e_THEME."4xA_047/languages/".e_LANGUAGE.".php";
require_once(file_exists($lan_file) ? $lan_file : e_THEME."4xA_047/languages/German.php");

define("BROWSIMAGES", e_THEME."4xA_047/images/browsers.png");
// [theme]
$themename = "4xA_047";
$themeversion = "1.0";
$themeauthor = "***RuSsE***";
$themeemail = "[email protected]";
$themewebsite = "www.e107.4xa.de";
$themedate = "17.08.2010";
$themeinfo = "<a href='http://www.e107.4xa.de' title=''><img src='http://www.e107.4xa.de/e107_images/e107-templates.png' style='border:0px;float:right;margin:px 5px 0px 0px;padding:2px;' title='' alt='Logo'/></a> Eine dunkle Theme extra für die \"Battlefield: Bad Company 2\"- Clans, mit einem Menübereich auf der linke Seite (Menüs 1) und einem Meübereich auf der rechte Seite (Menüs 2).";
define("STANDARDS_MODE", "");
define("IMODE", "dark");
$xhtmlcompliant = TRUE;
$csscompliant = TRUE;
// [layout]
$layout = "_default";
require_once(THEME."gc_custom_login.php");
function theme_head(){
	return "<link rel='stylesheet' href='".THEME."nav_menu.css' />\n";
}

define("e_PAGE", substr(strrchr($_SERVER['PHP_SELF'], "/"), 1));
define("e_PAGECLASS", str_replace(substr(strrchr(e_PAGE, "."), 0), "", e_PAGE));

$HEADER = "
	<table cellspacing='0' align='center' cellpadding='0' height='900' width='1024' border='0' style='font-size:100%;background:url(".THEME."images/BG.jpg) no-repeat;'>
		<tr>
			<td style='background:transparent;padding:3px;text-align:left;vertical-align:top;height:100px;border:0px;width:100%;'>
				<table cellspacing='0' cellpadding='0' width='100%' border='0' style='font-size:90%;color:#000;'>
					<tr>
						<td style='vertical-align:top;font-size:200%;font-weight:bold;'>
					{SITENAME}
					<br/><br/>
					{SITETAG}
						</td>
						<td style='vertical-align:top;height:100px;width:220px;padding-top:60px;font-weight:bold;'>						
						".GC_CUSTOM_LOGIN."
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td style='background:transparent;vertical-align:top;height:3px;width:100%;'>
	
			</td>
		</tr>
		<tr>
			<td style='background:transparent;vertical-align:top;width:100%;'>
				<table cellspacing='0' cellpadding='0' width='100%' border='0' style='font-size:100%;'>
					<tr>
						<td style='background:transparent;width:230px;vertical-align:top;padding:0px;'>
							{SETSTYLE=menu1}
							{MENU=1}
						</td>
						<td style='background:transparent;width:750px;vertical-align:top;text-align:center;padding:0px;'>
						<img src='".THEME."/images/BC2-Logo.png' style='border:0px;margin:px 5px 0px 0px;padding:2px;' title='' alt='Logo'/>
						<br/>
							{SITELINKS_ALT=no_icons}
							<br/><br/>
							<table cellspacing='0' cellpadding='0' width='750' border='0' style='font-size:100%;'>
								<tr>
									<td style='background:transparent;width:550px;vertical-align:top;text-align:center;padding:5px;'>	
										{SETSTYLE=content}
						";
$FOOTER = "				</td>
									<td style='background:transparent;width:200px;vertical-align:top;text-align:center;padding:5px;'>
									{SETSTYLE=menu2}
									{MENU=2}
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td style='background:url(".THEME."images/footer.jpg) no-repeat;height:276px;text-align:center;'>
				{SITEDISCLAIMER}
			</td>
		</tr>
	</table>";
////////////////////////////////////////////////////////////////////
function news_style($news) {
        $myday  = strftime("%d", $news["news_datestamp"]);
        $mymonth = strftime("%b", $news["news_datestamp"]);
        $myyear = strftime("%Y", $news["news_datestamp"]);
$NEWSSTYLE = "

				<table cellspacing='0' cellpadding='0' border='0' style='font-size:100%;' width='100%'>
					<tr>
						<td style='font-size:100%;background:url(".THEME."images/content_bg.png);border: 9px #4d5e65 solid;padding:10px;text-align:left;'>&nbsp;
						<font style='color:#5d6e75;font-size:130%;font-weight:bold;'>{NEWSTITLE}&nbsp;&nbsp;{ADMINOPTIONS}<br/></font>
						";
					if(NEWSIMAGE){$NEWSSTYLE .= "<div id='newsimg'>{NEWSTHUMBNAIL}</div>";}
					$NEWSSTYLE .= "{NEWSBODY}{EXTENDED}
							</td>
					</tr>
				</table>
				<br/>";
	return $NEWSSTYLE;
 }
define('ICONMAIL', 'email_16.png');
define('ICONPRINT', 'print_16.png');
define("ICONSTYLE", "float: left; border:0");
define("COMMENTLINK", LAN_THEME_2);
define("COMMENTOFFSTRING", LAN_THEME_3);
define("PRE_EXTENDEDSTRING", "");
define("EXTENDEDSTRING", LAN_THEME_4);
define("POST_EXTENDEDSTRING", "");
define("TRACKBACKSTRING", LAN_THEME_5);
define("TRACKBACKBEFORESTRING", " | ");
///////////////////////////////////////////////////////////////
function linkstyle($sTheStyle)
{

//
// Common to all styles (for this theme)
//
  $aSLinkSet['prelink']          = "";
  $aSLinkSet['postlink']         = "";
  $aSLinkSet['linkclass']        = "link1";
  $aSLinkSet['linkclass_hilite'] = "link2";
  // (see below for linkstart_hilite and linkstart)
  $aSLinkSet['linkend']          = "</div></div>";
  $aSLinkSet['linkdisplay']      = 1;
  $aSLinkSet['linkalign']        = "left";
  $aSLinkSet['linkseparator']    = "";

//
// Set some common sublink settings
// NOTE: *any* settings can be customized for sublinks by using
//       'sub' as a prefix for the setting name. Plus, there's "subindent"
//
  $aSLinkSet['sublinkclass'] = 'mysublink';
  $aSLinkSet['subindent']    = ' ';

//
// Now for some per-style setup
//
  switch ($sTheStyle)
  {
  case 'StyleA':
    $aSLinkSet['linkstart'] = "<li>";
    $aSLinkSet['linkstart_hilite'] = "";
    break;
  case 'StyleB':
    $aSLinkSet['linkstart'] = "| ";
    $aSLinkSet['linkstart_hilite'] = "";
    break;
  default: // if no LINKSTYLE defined
    $aSLinkSet['linkstart'] = "<div  class='link1' onmouseover=\"this.className='link2';\" onmouseout=\"this.className='link1';\"><div class='linktext'> <img src='".THEME_ABS."images/bullet2.gif' alt='' />&nbsp;&nbsp;";
    $aSLinkSet['linkstart_hilite'] = "<div class='link2' onmouseover=\"this.className='link1';\" onmouseout=\"this.className='link2';\"><div class='linktext'><img src='".THEME_ABS."images/bullet2.gif' alt='' />&nbsp;&nbsp;";
    $aSLinkSet['linkclass'] = 'link2'; // Override linkclass for fun-- mark these
    $aSLinkSet['sublinkclass'] = 'link1'; // Override sublinkclass for fun-- mark these
    $aSLinkSet['LINKEND'] = "</div></div>";
		$aSLinkSet['LINKDISPLAY'] = 1;
		$aSLinkSet['LINKALIGN'] =  "left";
  }
  return $aSLinkSet;
}

//	[tablestyle]
function tablestyle($caption, $text, $mode)
	{
	global $style;	
	if($style == "menu1")
		{
		echo "
				<table cellspacing='0' cellpadding='0' border='0' width='220' style='font-size:100%;'>
					<tr>
						<td style='font-size:80%;background:url(".THEME."images/content_bg.png);border: 9px #4d5e65 solid;padding:10px;'>&nbsp;
						<font style='color:#4d5e65;font-size:130%;font-weight:bold;'>".$caption."</font><br/>
						".$text."
							</td>
					</tr>
				</table>
				<br/>";
		}
	elseif($style == "menu2")
		{
		echo "
				<table cellspacing='0' cellpadding='0' border='0' width='200' style='font-size:100%;'>
					<tr>
						<td style='font-size:80%;background:url(".THEME."images/content_bg.png);border: 9px #4d5e65 solid;padding:10px;'>&nbsp;
						<font style='color:#4d5e65;font-size:130%;font-weight:bold;'>".$caption."</font><br/>
						".$text."
							</td>
					</tr>
				</table>
				<br/>";
		}
	elseif($style == "content")
		{
		echo "<table cellspacing='0' cellpadding='0' width='100%'  border='0' style='font-size:100%;'>
					<tr>
						<td style='text-align:left;font-size:100%;background:url(".THEME."images/content_bg.png);border: 9px #4d5e65 solid;padding:10px;'>&nbsp;
						<font style='color:#4d5e65;font-size:130%;font-weight:bold;'>".$caption."</font><br/>
						".$text."
							</td>
					</tr>
				</table>
				<br/>";
		}
else{
	echo "<div class='menu_bottom' style='color:#fff;'><b>".$caption."<b/></div><br/><div class='menu_bottom' >".$text."</div>";
		}
	}
?>