2
default/theme.html
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
[color=990033]<{assign var=theme_name value=$xoTheme->folderName}>[/color]
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}>title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/xoops.css" />
[color=990033]<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>css/style.css" />[/color]
<script type="text/javascript" src="<{$xoops_imageurl}>js/adminmenu.js">script>
<script type="text/javascript" src="<{$xoops_imageurl}>js/ie5.js">script>
<script type="text/javascript">
function toggle(notifs_form)
{
obj=document.getElementById(notifs_form);
obj.style.display=!(obj.style.display=="block")? "block" : "none";
}
function swapimage(swap)
{
img_plus="<{$xoops_imageurl}>images/plus.gif";
img_minus="<{$xoops_imageurl}>images/minus.gif";
obj=document.getElementById(swap);
obj.src=!(obj.src==img_minus)? img_minus : img_plus;
}
script>
<{$xoops_module_header}>
head>
<body>
<div class="wrapper">
<table class="toptable" cellspacing="0">
<tr>
<td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>images/logo.gif" width="148" height="80" title="<{$smarty.const._YOURHOME}>" alt="<{$smarty.const._YOURHOME}>" />a>td>
<td id="headerbanner"><{$xoops_banner}>td>
tr>
<tr>
<td id="headerbar" colspan="2">
<{include file="$theme_name/navigation/theme_usernav.html"}>
td>
tr>
table>
<table class="maintable" cellspacing="0">
<tr>
<{if $xoops_showlblock == 1}>
<td id="leftcolumn">
<{foreach item=block from=$xoops_lblocks}>
<{include file="$theme_name/blocks/theme_blockleft.html"}>
<{/foreach}>
td>
<{/if}>
<td id="centercolumn">
<{if $xoops_showcblock == 1}>
<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">
<{foreach item=block from=$xoops_ccblocks}>
<{include file="$theme_name/blocks/theme_blockcenter_c.html"}>
<{/foreach}>
td>
tr>
<tr>
<td id="centerLcolumn">
<{foreach item=block from=$xoops_clblocks}>
<{include file="$theme_name/blocks/theme_blockcenter_l.html"}>
<{/foreach}>
td>
<td id="centerRcolumn">
<{foreach item=block from=$xoops_crblocks}>
<{include file="$theme_name/blocks/theme_blockcenter_r.html"}>
<{/foreach}>
td>
tr>
table>
<{/if}>
<div id="content">
<{$xoops_contents}>
div>
td>
<{if $xoops_showrblock == 1}>
<td id="rightcolumn">
<{foreach item=block from=$xoops_rblocks}>
<{include file="$theme_name/blocks/theme_blockright.html"}>
<{/foreach}>
td>
<{/if}>
tr>
table>
<table class="footertable" cellspacing="0">
<tr>
<td id="footerbar">
<{$xoops_footer}>
td>
tr>
table>
div>
<script type="text/javascript">
var menu1 = new AdMenu("menu1");
menu1.position.level1.top = 1;
menu1.position.level1.left = 0;
menu1.position.levelX.top = 0;
menu1.position.levelX.left = 0;
menu1.init();
script>
[color=990033] [/color]
body>
html>
default/navigation/theme_usernav.html
[color=990033]
<{php}>
if(file_exists(XOOPS_ROOT_PATH.'/themes/[b]default[/b]/language/'.$GLOBALS['xoopsConfig']['language'].'/main.php')){
include_once XOOPS_ROOT_PATH.'/themes/xdt2016/language/'.$GLOBALS['xoopsConfig']['language'].'/main.php';
} else {
include_once XOOPS_ROOT_PATH.'/themes/[b]default[/b]/language/english/main.php';
}
<{/php}>
[/color]
<div id="navbar">
<table cellspacing="0" cellpadding="0" id="menu1" class="NavMenu">
<tr>
<{if $xoops_isuser == 1}>
<td>
<a class="button" href="javascript:void(0)"><{$smarty.const._MA_NAV_ACTIONS}>a>
<div class="section">
<a class="item" href="<{$xoops_url}>/user.php"><{$smarty.const._MA_NAV_VIEWACCOUNT}>a>
<a class="item" href="<{$xoops_url}>/edituser.php"><{$smarty.const._MA_NAV_EDITACCOUNT}>a>
<a class="item" href="<{$xoops_url}>/notifications.php"><{$smarty.const._MA_NAV_NOTIFICATIONS}>a>
<a class="item" href="<{$xoops_url}>/user.php?op=logout"><{$smarty.const._MA_NAV_LOGOUT}>a>
<{if $xoops_isadmin}>
<a class="item" href="<{$xoops_url}>/admin.php"><{$smarty.const._MA_NAV_ADMINISTRATION}>a>
<{/if}>
div>
td>
<{else}>
<td id="date">
<{$smarty.now|date_format:"%A, %e %B %Y"}>
td>
<{/if}>
<td id="search">
<form style="margin: 0px;" action="<{$xoops_url}>/search.php" method="get">
<input type="text" name="query" size="14" />
<input type="hidden" name="action" value="results" />
<input class="formButton" type="submit" value="<{$smarty.const._SEARCH}>" />
<{if $smarty.const.modid > 1}>
<input type="hidden" name="mids[]" value="<{$smarty.const.modid}>" />
<{/if}>
form>
td>
tr>
table>
div>
Best regards,
Julio