Contrata servicios web en ougcNetwork.

no se que movi exactamente pero cuando visualizo mi portal en mozilla se ve distorcionado pero en chrome no aqui les dejo mi portal y una imagen espero una ayuda Sad

[Image: png2x.png]


<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<style type="text/css">

.newsbar {

background: #fff6bf;

border: 2px solid #ffd324;

text-align: center;

margin: 10px auto;

padding: 5px 20px;

	-moz-border-radius-bottomright: 6px;

	-moz-border-radius-bottomleft: 6px;

	-webkit-border-bottom-right-radius: 6px;

	-webkit-border-bottom-left-radius: 6px;

	-moz-border-radius-topright: 6px;

	-moz-border-radius-topleft: 6px;

	-webkit-border-top-right-radius: 6px;

	-webkit-border-top-left-radius: 6px;

}

.newsbar2 {

background: #d6eca6;

border: 2px solid #8dc93e;

text-align: center;

margin: 10px auto;

padding: 5px 20px;

	-moz-border-radius-bottomright: 6px;

	-moz-border-radius-bottomleft: 6px;

	-webkit-border-bottom-right-radius: 6px;

	-webkit-border-bottom-left-radius: 6px;

	-moz-border-radius-topright: 6px;

	-moz-border-radius-topleft: 6px;

	-webkit-border-top-right-radius: 6px;

	-webkit-border-top-left-radius: 6px;

}

.newsbar3 {

	background: #ADCBE7;

	border: 2px solid #0F5C8E;

	text-align: center;

	margin: 10px auto;

	padding: 5px 20px;

	-moz-border-radius-bottomright: 6px;

	-moz-border-radius-bottomleft: 6px;

	-webkit-border-bottom-right-radius: 6px;

	-webkit-border-bottom-left-radius: 6px;

	-moz-border-radius-topright: 6px;

	-moz-border-radius-topleft: 6px;

	-webkit-border-top-right-radius: 6px;

	-webkit-border-top-left-radius: 6px;

}



</style>
</head>
<body>
{$header}
{$ps_header_portal}

<p class="newsbar3"><b><font color="black">Eres nuevo en UnderGamerZ? que esperas</font></b> <b><a href=http://www.undergamerz.com/foro-Presentate><font color="blue">Presentate</font></a></b>  

<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center">

<tr>
<td valign="top">
<ul class="pestañas_portal" align="center">
<li class=""><a href="#pestaña1"><img src="/images/pst.png" width="16" height="15"/>Últimos Post</a></li>
<li class=""><a href="#pestaña2"><img src="/images/tpst.png" width="16" height="15"/>Últimos Comentarios</a></li>
<li class=""><a href="#pestaña3"><img src="/images/tpu.png" width="16" height="15"/>Top posteadores</a></li>
<li class=""><a href="#pestaña4"><img src="/images/pst.png" width="16" height="15"/>StreamTV</a></li>
</ul>

<div style="display: none;" id="pestaña1" class="pestañas_portal_contenido">
<?php
if (!defined("IN_PORTAL")) {
    die("<div style=\"border:1px solid #CC0000; padding:3px; margin:0; font-family:Tahoma; width:250px; font-size:12px;\"><strong>Error:</strong> This file cannot be viewed directly!</div>");
}

// Get forums user cannot view
$unviewable = get_unviewable_forums();
if($unviewable)
{
    $unviewwhere = " AND fid NOT IN ($unviewable)";
}

$threadlimit = 15;
$query = $db->query("
    SELECT t.*, t.subject AS threadsubject, u.username, u.usergroup, u.displaygroup, i.*, i.name AS iconname,
    t.dateline AS threaddate, t.lastpost AS threadlastpost
    FROM ".TABLE_PREFIX."threads t
    LEFT JOIN ".TABLE_PREFIX."icons i ON (i.iid=t.icon)
    LEFT JOIN ".TABLE_PREFIX."users u ON (t.lastposter=u.username)
    WHERE t.visible = '1'
    $unviewwhere
    GROUP BY t.tid
    ORDER BY threaddate DESC
    LIMIT 0, $threadlimit
");

while($threads = $db->fetch_array($query))
{

    if($threads['icon'] > 0)
    {
        $icon = "<img src=\"{$threads['path']}\" alt=\"{$threads['iconname']}\" />";
    }
    else
    {
        $icon = "&nbsp;";
    }

    if(strlen($threads['threadsubject']) > "60")
    {
        $threadsthreadsubject = my_substr($threads['threadsubject'],0,60)."...";
    }
    else
    {
        $threadsthreadsubject = $threads['threadsubject'];
    }

    if(strlen($threads['forumname']) > "20")
    {
        $threadsforumname = my_substr($threads['forumname'],0,20)."...";
    }
    else
    {
        $threadsforumname = $threads['forumname'];
    }

    $threadlink = get_thread_link($threads['tid']);
    $forumlink = get_forum_link($threads['fid']);
    $replies = my_number_format($threads['replies']);
    $views = my_number_format($threads['views']);
    $lastpostdate = my_date($mybb->settings['dateformat'], $threads['threadlastpost']);
    $lastposttime = my_date($mybb->settings['timeformat'], $threads['threadlastpost']);
    $lastposter = format_name($threads['username'], $threads['usergroup'], $threads['displaygroup']);
    $lastposter = build_profile_link($lastposter, $threads['lastposteruid']);

    $last_thread .= "<tr>
        <td class=\"trow1\" align=\"center\" width=\"1\"><img src=\"images/mycleanblue/ficons/icon_{$threads['fid']}.png\" width=\"35\" height=\"35\" alt=\"\"  title=\"$threads[forumname]\" /></a></td>
        <td class=\"trow2\"><a href=\"$threadlink\" title=\"$threads[threadsubject]\"><strong>$threadsthreadsubject</strong></a><br />
        <span class=\"smalltext\">
        <em>Último mensaje por:</em> $lastposter
        <div class=\"float_right\">$lastpostdate $lastposttime <a href=\"$threadlink&action=lastpost\"><img src=\"images/mycleanblue/lastpost.png\" style=\"vertical-align: middle;\" /></a></div>
            </span>
            </td>
        <td  class=\"trow1\" width=\"100\">
<span class=\"smalltext\"><strong>&raquo; </strong>
        Respuestas: $replies <br />
        <strong>&raquo; </strong>Visitas: $views
        </td>
</tr>";

}
if(!$last_thread){ $last_thread = "<tr><td class=\"trow1\" colspan=\"5\">{$lang->no_thread}</td></tr>"; }
echo "
<table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" class=\"tborder\" style=\"-moz-border-radius-topleft: 0px; -webkit-border-top-left-radius: 0px; border-top-left-radius: 0px;\">
        <tbody><tr>
            <td class=\"thead\" colspan=\"3\"><strong>Últimos Post</strong></td>
        </tr>
        </tbody>
{$last_thread}
</table>";
?>
</div>
<div style="display: block;" id="pestaña2" class="pestañas_portal_contenido">
<?php
if (!defined("IN_PORTAL")) {
    die("<div style=\"border:1px solid #CC0000; padding:3px; margin:0; font-family:Tahoma; width:250px; font-size:12px;\"><strong>Error:</strong> This file cannot be viewed directly!</div>");
}

// Get forums user cannot view
$unviewable = get_unviewable_forums();
if($unviewable)
{
    $unviewwhere = " AND fid NOT IN ($unviewable)";
}

$altbg = alt_trow();
$threadlist = '';
$showlimit = 15;
$query = $db->query("
    SELECT p.*, u.username
    FROM ".TABLE_PREFIX."posts p
    LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=p.uid)
    WHERE p.visible='1' $unviewwhere
    ORDER BY p.dateline DESC 
    LIMIT 0, ".$showlimit
);
while($thread = $db->fetch_array($query))
{
    $lastpostdate = my_date($mybb->settings['dateformat'], $thread['dateline']);
    $lastposttime = my_date($mybb->settings['timeformat'], $thread['dateline']);
    // Don't link to guest's profiles (they have no profile).
    if($thread['uid'] == 0)
    {
        $lastposterlink = $thread['username'];
    }
    else
    {
        $lastposterlink = build_profile_link($thread['username'], $thread['uid']);
    }
    if(my_strlen($thread['subject']) > 20)
    {
        $thread['subject'] = my_substr($thread['subject'], 0, 50) . "...";
    }
    $thread['subject'] = htmlspecialchars_uni($parser->parse_badwords($thread['subject']));
    $thread['threadlink'] = get_post_link($thread['pid'],$thread['tid']);
$forumlink = get_forum_link($threads['fid']);
    $threadlist .= "<tr> 
		       	     
			        <td class=\"trow1\" align=\"center\" width=\"1\"><img src=\"images/mycleanblue/ficons/icon_{$thread['fid']}.png\" width=\"35\" height=\"35\" alt=\"\"  title=\"$thread[forumname]\" /></a></td> 
		 	
                <td class=\"trow2\"><strong><a href=\"".$mybb->settings['bburl']."/".$thread['threadlink']."#pid".$thread['pid']."\" title=\"$thread[subject]\">$thread[subject] </a></strong><br />
        <span class=\"smalltext\">
$lastpostdate $lastposttime. <em>Enviado por:</em> $lastposterlink
            </span>
            </td>
</tr>";
    $altbg = alt_trow();
}
if($threadlist)
{ 
    // Show the table only if there are threads
    $latestposts = "<table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" class=\"tborder\" style=\"-moz-border-radius-topleft: 0px; -webkit-border-top-left-radius: 0px; border-top-left-radius: 0px;\">
        <tbody><tr>
            <td class=\"thead\" colspan=\"3\"><strong>Ultimos comentarios</strong></td>

        </tr>
		
</tbody>
        {$threadlist}        
    </table>";
}
else
{
    $latestposts = "<table border=\"0\" cellspacing=\"".$theme['borderwidth']."\" cellpadding=\"".$theme['tablespace']."\" class=\"tborder\">
        <tbody><tr>
            <td class=\"thead\"><div class=\"expcolimage\"></div><strong>Ultimos comentarios</strong></td>
        </tr></tbody>
        <tbody style=\"{$expdisplay}\" id=\"block_{$result_blocks['id']}_e\">
        <tr>
        <td class=\"$altbg\">No Post</td>
        </tr>
        </tbody>
    </table>";
}

echo "$latestposts";
?>
</div>
<div style="display: block;" id="pestaña3" class="pestañas_portal_contenido">
<?php
$tpaltbg = alt_trow();
$query = $db->query("SELECT uid, username, postnum, avatar, avatardimensions, usergroup, displaygroup FROM ".TABLE_PREFIX."users ORDER by postnum DESC LIMIT 0, 10");
while($user = $db->fetch_array($query))
{
    $username = format_name($user['username'], $user['usergroup'], $user['displaygroup']);
    $profilelink = get_profile_link($user['uid']);
    if($user['postnum'] <= "1"){ $postnum = my_number_format($user['postnum'])." ".$lang->have_post; }else{ $postnum = my_number_format($user['postnum'])." ".$lang->have_posts; }
    
    if($user['avatar']){ $user['avatar'] = htmlspecialchars_uni($user['avatar']); }else{ $user['avatar'] = $mybb->settings['bburl']."/portal/images/user.png"; $user['avatardimensions'] = "40|40"; }
    $avatar_dimensions = explode("|", $user['avatardimensions']);
    
    if($avatar_dimensions[0] && $avatar_dimensions[1])
    {
        list($max_width, $max_height) = explode("x", my_strtolower("40x40"));
        if($avatar_dimensions[0] > $max_width || $avatar_dimensions[1] > $max_height)
        {
            require_once MYBB_ROOT."inc/functions_image.php";
            $scaled_dimensions = scale_image($avatar_dimensions[0], $avatar_dimensions[1], $max_width, $max_height);
            $block_avatar_width_height = "width=\"{$scaled_dimensions['width']}\" height=\"{$scaled_dimensions['height']}\"";
        }
        else
        {
            $block_avatar_width_height = "width=\"{$avatar_dimensions[0]}\" height=\"{$avatar_dimensions[1]}\"";    
        }
    }
    
    $topposters .= "<tr><td class=\"tcat\" width=\"50\" align=\"center\"><img src=\"".$user['avatar']."\" alt=\"\" width=\"70\" height=\"70\" border=\"0\"></td><td class=\"trow1\"><a href=\"{$mybb->settings['bburl']}/{$profilelink}\"><strong>{$username}</strong></a><br></td><td class=\"trow1\" align=\"center\">{$postnum}</td></tr>";
$tpaltbg = alt_trow();
}

echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" class=\"tborder\" style=\"-moz-border-radius-topleft: 0px; -webkit-border-top-left-radius: 0px; border-top-left-radius: 0px;\">
        <tr>
            <td class=\"thead\" colspan=\"3\"><strong>Top participativos</strong></td>
        </tr>
        <tr>
            <td class=\"tcat smalltext\" width=\"70\" align=\"center\"><strong>Avatar</strong></td>
            <td class=\"tcat smalltext\"><strong>Nombre de usuario</strong></td>
            <td class=\"tcat smalltext\" align=\"center\"><strong>Mensajes</strong></td>
        </tr>
        {$topposters}
    </table>";
?>
</div>
</td>

<td valign="top" width="230">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">


{$welcome}
{$pms}
{$search}
{$stats}
{$whosonline}

</tr>
</table>
<br />
</td>
</tr>
</table>
{$ps_footer_portal}
{$footer}
</body>
</html>
Acabo de entrar en el portal, pero no sale así... :S
si pues eh cambiado por ese error Sad pero en el code php esta bien? no hay algun error?
No estoy seguro, es que yo de php sé muy poco. Además yo en el portal usaba include, en vez de poner toodo el código php.
include o todo el code es igual, se ejecuta de la misma manera.

Yo entro y lo veo perfecto

Aunque cambiaste la plantilla xD