Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/class_language.php on line 201
DUDA CON INDEX CON BOXES
Páginas (2):    1 2
storm   7 May, 2014, 7:03 am
#11
He probado con este código:

Código PHP:
<?php 
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="880">
<
tr>
<
td class="thead2">
<
strong>Caja 1</strong>
</
td>
</
tr>
<
tr>
<
td class="trow3">
<
img src="http://i.imgur.com/ZJITn7p.png">
</
td>
</
tr>
</
table>
<
br />
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="880">
<
tr>
<
td class="thead2">
<
strong>Caja 2</strong>
</
td>
</
tr>
<
tr>
<
td class="trow3">
Example!Example!Example!Example!<br />
Example!Example!Example!Example!<br />
Example!Example!Example!Example!
</
td>
</
tr>
</
table>

Pero no consigo colocarlo bien en la plantilla index.

Aquí os dejo mi plantilla, a qué altura debería colocarlo?

Código PHP:
<?php 
<html>
<
head>
<
title>{$mybb->settings['bbname']}</title>
{
$headerinclude}
<
script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</
head>
<
body>
{
$header}
{
$ps_header_index}
{
$forums}
{
$ps_footer_index}
{
$boardstats}<!-- IndexTags -->{$tagsindex}<!-- /IndexTags -->

<!-- <
dl class="forum_legend smalltext">
<
dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<
dd>{$lang->new_posts}</dd>

<
dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<
dd>{$lang->no_new_posts}</dd>

<
dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
<
dd>{$lang->forum_locked}</dd>
</
dl> -->
{
$footer}
</
body>
</
html>

Muchas gracias
Brown   7 May, 2014, 1:47 pm
#12
Prueba añadiéndolo debajo de {$header}

de modo que quede así:

Código PHP:
<?php 
<html>
<
head>
<
title>{$mybb->settings['bbname']}</title>
{
$headerinclude}
<
script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</
head>
<
body>
{
$header}
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="880">
<
tr>
<
td class="thead2">
<
strong>Caja 1</strong>
</
td>
</
tr>
<
tr>
<
td class="trow3">
<
img src="http://i.imgur.com/ZJITn7p.png">
</
td>
</
tr>
</
table>
<
br />
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="880">
<
tr>
<
td class="thead2">
<
strong>Caja 2</strong>
</
td>
</
tr>
<
tr>
<
td class="trow3">
Example!Example!Example!Example!<br />
Example!Example!Example!Example!<br />
Example!Example!Example!Example!
</
td>
</
tr>
</
table>
{
$ps_header_index}
{
$forums}
{
$ps_footer_index}
{
$boardstats}<!-- IndexTags -->{$tagsindex}<!-- /IndexTags -->

<!-- <
dl class="forum_legend smalltext">
<
dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<
dd>{$lang->new_posts}</dd>

<
dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<
dd>{$lang->no_new_posts}</dd>

<
dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
<
dd>{$lang->forum_locked}</dd>
</
dl> -->
{
$footer}
</
body>
</
html> [/php]


PD: Siempre has una copia de los códigos por defecto, para evitar cualquier problema
Última modificación: 7 May, 2014, 1:48 pm por mr-gothic.
storm   8 May, 2014, 12:56 pm
#13
Se sigue viendo mal.
Brown   8 May, 2014, 7:11 pm
#14
(8 May, 2014, 12:56 pm)storm escribió: Se sigue viendo mal.

Usas el theme "The Cure" verdad Smile déjame ver en localhost a ver si lo resuelvo
storm   11 May, 2014, 1:02 pm
#15
Te lo agradecería mucho Brown.


Saludos
Páginas (2):    1 2
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.