Ir para conteúdo
  • 0

[Resolvido] [Problem] Com padding e margin no site


LeoTK

Pergunta

Fala galera então estou tendo um problema no meu site estou tentando usar margin-left ou padding-left porém nenhum dos dois tem efeito e gostaria de saber o porque ou se estou usando da forma errada segue a linha

 

<div class="fb-like-box" padding-left=" 900px" data-href="https://www.facebook.com/PokemonNewSeason/" data-width="650" data-height="700" data-show_border="false" data-show-faces="false" data-stream="true" data-header="false"></div></div>

está assim porém o padding-left não tem efeito isso ocorre também com o margin-left gostaria de entender o porque alguem?

Link para o comentário
Compartilhar em outros sites

Posts Recomendados

  • 0
Agora, Brunds disse:

 

no meu home.php do viwes não tem nada está vazio o link da page é pkns.sytes.net:8090

 

no home.php troca tudo por esse

Spoiler

<?php 

require("config.php");

$ide = new IDE;

foreach($news['news'] as $value) {

    echo "<div class='news'>";

    echo "<div class='newsTitle'>".$value['title']."</div>";

    echo "<div class='newsBody'>".$value['body']."</div>";    

    echo "<div class='newsFooter'> ";    

    if($config['facebook']) {

        echo "<iframe src='http://www.facebook.com/widgets/like.php?href=".WEBSITE."/index.php/home/view/".$value['id']."' scrolling='no' frameborder='0'style='border: none; width: 400px; height: 24px;'></iframe><br/>";

    }

    echo " </div>";

    echo "</div>";

}

?>

<br>

<center><h1><strong>News of Day</strong></h1></center>

<center>*Nos estamos no Facebook:</center>

<center><iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2FPokemonNewSeason%2F&tabs=timeline&width=340&height=500&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=false&appId" width="340" height="500" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>

<br>

<br>

<br><br>

</center>

 

Link para o comentário
Compartilhar em outros sites

  • 0
<div class="fb-like-box" style="padding-left: 900px;" data-href="https://www.facebook.com/PokemonNewSeason/" data-width="650" data-height="700" data-show_border="false" data-show-faces="false" data-stream="true" data-header="false"></div></div>

 

 

Tente utilizar assim amigo, espero ajudar.

tinha que definir a classe style para o script saber que é posição no template.

Link para o comentário
Compartilhar em outros sites

  • 0

<div class="fb-like-box" style="padding-left: 900px; margin: 0px auto;" data-href="https://www.facebook.com/PokemonNewSeason/" data-width="650" data-height="700" data-show_border="false" data-show-faces="false" data-stream="true" data-header="false"></div></div>

 

 

Veja se ele ajusta ao tamanho correto...

Link para o comentário
Compartilhar em outros sites

  • 0

nada voltou do jeito que estava

 

EETjWCs.png

 

no caso o certo é margin-right px 500

 

<div class="fb-like-box" style="margin-right: 500px; margin: 0px auto;" data-href="https://www.facebook.com/PokemonNewSeason/" data-width="650" data-height="700" data-show_border="false" data-show-faces="false" data-stream="true" data-header="false"></div></div>

 

Link para o comentário
Compartilhar em outros sites

  • 0

Rapaz você mexer com essas partes do html+css sem saber o que está fazendo vai ser complicado
Aconselho você à arrumar alguém que faça isso pra você...

Abração!

Link para o comentário
Compartilhar em outros sites

  • 0
1 hora atrás, Bennyyw disse:

Rapaz você mexer com essas partes do html+css sem saber o que está fazendo vai ser complicado
Aconselho você à arrumar alguém que faça isso pra você...

Abração!

maninho é que esse website ta todo bagunçado eu já mexi em outra modern acc e tals mas esse ta muito confuso ... eu tenho uma noção mas sabe como é eu sou cauteloso gosto de ter certeza do que estou fazendo entende?

 

1 hora atrás, victorfasano disse:

@Brunds poste dentro de um spoiler o seu index.tpl que eu ajeito pra ti. É mais fácil..

 

tranquilo esse aqui

 

Spoiler

<body oncontextmenu="return true" onselectstart="return false" ondragstart="return false">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta http-equiv="Content-Language" content="pt-br">
<title>Pokemon New Season</title>
<meta name="robots" content="index,follow">
<meta http-equiv="CONTENT-LANGUAGE" content="pt,ptb,pt-br">
<meta name="title" content="Pokemon New Season">
<meta name="domain" content="Pokemon New Season">
<meta name="url" content="Pokemon New Season">
<meta name="keywords" content="Pokemon Online, Pokemon, Tibia Pokemon, Jogue Pokemon, Pokémon Online, Tibia Pokémon, Jogue Pokémon, Jogar Pokemon Online">
<meta name="description" content="O maior e melhor servidor de Tibia Pokemon do Brasil, um MMORPG que Mistura Tibia com Pokémon uma aventura incrivel te espera no mundo de pokegx.zapto.org">
<meta name="autor" content="[ADM] Master">
<meta name="company" content="Pokemon New Season">
<meta name="revisit-after" content="5">
<script type="text/javascript">
</script>
{$head}        
<link rel="stylesheet" href="{$path}/templates/pokemon/system/style.css" type="text/css" />
<link type="text/css" href="{$path}/htdocs/public/css/system.css" rel="stylesheet" /><link type="text/css" href="{$path}/htdocs/public/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.ui.datetimepicker.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/system.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-ui-1.8.custom.min.js"></script><link rel="stylesheet" href="{$path}/htdocs/public/css/tipsy.css" type="text/css" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.tipsy.js"></script><link rel="stylesheet" type="text/css" href="{$path}/htdocs/public/css/tooltip.css" /> <script type="text/javascript" src="{$path}/htdocs/public/js/tooltip.js"></script>

<link rel="shortcut icon" href="{$path}/templates/pokemon/otp.ico">        

<script type="text/javascript" src="{$path}/templates/pokemon/system/js.js"></script>
        
<script type="text/javascript">
        var url = 0; var url = "http://www.pokemon.com";
    </script>
<script>
!function(d,s,id){
var js,fjs=d.getElementsByTagName(s)[0];
if(!d.getElementById(id)){
js=d.createElement(s);
js.id=id;js.src="//platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js,fjs);}
}
(document,"script","twitter-wjs");
</script> 
<body>

<div class="page">
<div class="mainbody">
<a href="{$path}"><div class="header"><div class="dex" style="background-image:url('{$path}/templates/pokemon/images/dex/delibird.gif')"></div></div></a>
<div class="navbar">
<a href="{$path}"><div class="navbar_link">| Principal | </div></a>
<a href="{$path}/index.php/account/create"><div class="navbar_link">| Criar conta | </div></a>
<a href="{$path}/index.php/p/v/gallery"><div class="navbar_link">| Mapa | </div></a>
<a href="/index.php/p/v/downloads"><div class="navbar_link">| Download Cliente 7.0 |</div></a>
<a href="{$path}/index.php/highscores"><div class="navbar_link">| Ranking | </div></a>
<a href="{$path}/index.php/houses/main"><div class="navbar_link">| Houses | </div></a>
<a href="{$path}/index.php/character/online"><div class="navbar_link">|    Jogadores online {$serverPlayers[0]}   |</div></a>
</div> 
<div class="slider">
<div class="slider_bg">
<center>
<link rel="stylesheet" href="{$path}/templates/pokemon/system/slider/orbit.css">
<!--[if IE]>
<style type="text/css">
.timer { 
display: none !important; 
}
div.caption {
    background:transparent;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
    zoom: 1; 
}
</style>
        <![endif]-->
 
<script src="{$path}/templates/pokemon/system/slider/jquery.min.js" type="text/javascript"></script>
<script src="{$path}/templates/pokemon/system/slider/jquery.orbit.min.js" type="text/javascript"></script>
</head>
<body>
<div id="featured">
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/1.jpg" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/2.jpg" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/3.jpg" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/4.jpg" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/5.jpg" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/6.jpg" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/7.jpg" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/8.jpg" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/9.jpg" alt="otpokemon"/>
</div>
 
<script type="text/javascript">
     $(window).load(function() {
         $("#featured").orbit();
     });
</script>
</center>
</div>
<div class="navbox_right">
<a target="_blank" href="https://www.facebook.com/PokemonNewSeason"><div class="fb_button"></div></a>
<div class="acc_box">
<div class="box_cont">
<div class="pOnline" align="center">
<font style="background-color: #3399FF;" color="#3399FF">**</font>
<font color="#00FF00">{$serverPlayers[0]}</font>
</center></div><a href="/index.php/account/create"><div class="accbox_button">Criar Conta</div></a><a href="/index.php/p/v/downloads"><div class="accbox_button_"> Download Cliente 1.0</div></a>
</div>
</div>
</div>
<div class="newscont">
    {$main}
    {$admin}
<div class="addthis_toolbox addthis_32x32_style addthis_default_style">
<a class="addthis_button_favorites"></a>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_orkut"></a>
<a class="addthis_button_live"></a>
</div>
<div id="twitter_div">
<div id="fb-root"></div>
<script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) return;
          js = d.createElement(s); js.id = id;
          js.src = "templates/connect.facebook.net/pt_BR/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));</script>
<h1 class="sidebar-title">Novidades Pokémon Online : facebook.com/PokemonNewSeason</h2>
<center><div class="fb-like-box" style="margin-right: 500px;" data-href="https://www.facebook.com/PokemonNewSeason/" data-width="650" data-height="700" data-show_border="false" data-show-faces="false" data-stream="true" data-header="false"></div></div>
<script type="text/javascript" src="templates/s7.addthis.com/js/250/addthis_widget.js#username=ratoextreme"></script>
</center>
<div class="copyrights">
Pokemon New Season BRASIL fãSite © 2013
<br/><small>© 1995-2010 Nintendo/Creatures Inc./GAME FREAK inc. Pokémon and Pokémon character names are trademarks of Nintendo.</small>
<br>
</div>
</div>
<div class="menu_nav">
<div id="community_button"></div>
<div class="nav_links"><a href="/index.php/account/create">Criar Conta</a></br><a href="/index.php/account/lost">Recuperar Conta</a>
</br><a href="/index.php/p/v/downloads">Download Cliente</a>
</br><a href="{$path}/index.php/p/v/gallery">Mapa</a>
</br><a href="/index.php/highscores">Ranking</a>
</br><a href="/index.php/video/main">Videos</a>
</br><a href="{$path}/index.php/character/online">Jogadores Online</a>
</br><a href="{$path}/index.php/p/v/deaths">Ultimas Mortes</a>
</br><a href="/index.php/character/view">Personagens</a>
</br><a href="/index.php/p/v/shop">Shop</a>
</br><a href="/index.php/p/v/pagseguro">Fazer Doacao</a>
</div>
<div id="navigation_button"></div>
<div class="nav_links">
{if $logged == 1}<a href="/index.php/admin">Administration</a>
<br/><a href="/index.php/account">Gerenciar Account</a>
<br/><a href="/index.php/createcharacter">Criar Personagem</a>
<br/><a href="/index.php/account/logout">Logout</a>
{/if}
{if $logged == 0}
<form action="{$path}/index.php/account/login.ide" method="post">
<center><input onFocus="javascript:this.value=''" type="text" class="input" name="name" value="account" onclick="clickclear(this, 'name')" onblur="clickrecall(this,'name')" />
<input onFocus="javascript:this.value=''" type="password" class="input" name="pass" value="password" onclick="clickclear(this, 'pass')" onblur="clickrecall(this,'pass')" /></center>       
<center><input type="Submit" class="loginbutton" name="Submit" value=""/></center>
</form>
{/if}
</div>
<div id="s1_h"></div>
<div class="nav_links">
{if $serverOnline[0]}
    <font color="green">Status: Online<br />
    Jogadores: {$serverPlayers[0]}</font></b><br />


    {else}
    <font color="blue">Off-Line</font>
    {/if}
</div>
</font>
</body>

<script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: "pt",
    floatPosition: google.translate.TranslateElement.FloatPosition.TOP_RIGHT
  });
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

 

Link para o comentário
Compartilhar em outros sites

  • 0
1 hora atrás, Brunds disse:

maninho é que esse website ta todo bagunçado eu já mexi em outra modern acc e tals mas esse ta muito confuso ... eu tenho uma noção mas sabe como é eu sou cauteloso gosto de ter certeza do que estou fazendo entende?

 

 

tranquilo esse aqui

 

  Mostrar conteúdo oculto

<body oncontextmenu="return true" onselectstart="return false" ondragstart="return false">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>

<meta http-equiv="Content-Language" content="pt-br">

<title>Pokemon New Season</title>

<meta name="robots" content="index,follow">

<meta http-equiv="CONTENT-LANGUAGE" content="pt,ptb,pt-br">

<meta name="title" content="Pokemon New Season">

<meta name="domain" content="Pokemon New Season">

<meta name="url" content="Pokemon New Season">

<meta name="keywords" content="Pokemon Online, Pokemon, Tibia Pokemon, Jogue Pokemon, Pokémon Online, Tibia Pokémon, Jogue Pokémon, Jogar Pokemon Online">

<meta name="description" content="O maior e melhor servidor de Tibia Pokemon do Brasil, um MMORPG que Mistura Tibia com Pokémon uma aventura incrivel te espera no mundo de pokegx.zapto.org">

<meta name="autor" content="[ADM] Master">

<meta name="company" content="Pokemon New Season">

<meta name="revisit-after" content="5">

<script type="text/javascript">

</script>

{$head}        

<link rel="stylesheet" href="{$path}/templates/pokemon/system/style.css" type="text/css" />

<link type="text/css" href="{$path}/htdocs/public/css/system.css" rel="stylesheet" /><link type="text/css" href="{$path}/htdocs/public/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.ui.datetimepicker.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/system.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-ui-1.8.custom.min.js"></script><link rel="stylesheet" href="{$path}/htdocs/public/css/tipsy.css" type="text/css" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.tipsy.js"></script><link rel="stylesheet" type="text/css" href="{$path}/htdocs/public/css/tooltip.css" /> <script type="text/javascript" src="{$path}/htdocs/public/js/tooltip.js"></script>

<link rel="shortcut icon" href="{$path}/templates/pokemon/otp.ico">        

<script type="text/javascript" src="{$path}/templates/pokemon/system/js.js"></script>

        

<script type="text/javascript">

        var url = 0; var url = "http://www.pokemon.com";

    </script>

<script>

!function(d,s,id){

var js,fjs=d.getElementsByTagName(s)[0];

if(!d.getElementById(id)){

js=d.createElement(s);

js.id=id;js.src="//platform.twitter.com/widgets.js";

fjs.parentNode.insertBefore(js,fjs);}

}

(document,"script","twitter-wjs");

</script> 

<body>

<div class="page">

<div class="mainbody">

<a href="{$path}"><div class="header"><div class="dex" style="background-image:url('{$path}/templates/pokemon/images/dex/delibird.gif')"></div></div></a>

<div class="navbar">

<a href="{$path}"><div class="navbar_link">| Principal | </div></a>

<a href="{$path}/index.php/account/create"><div class="navbar_link">| Criar conta | </div></a>

<a href="{$path}/index.php/p/v/gallery"><div class="navbar_link">| Mapa | </div></a>

<a href="/index.php/p/v/downloads"><div class="navbar_link">| Download Cliente 7.0 |</div></a>

<a href="{$path}/index.php/highscores"><div class="navbar_link">| Ranking | </div></a>

<a href="{$path}/index.php/houses/main"><div class="navbar_link">| Houses | </div></a>

<a href="{$path}/index.php/character/online"><div class="navbar_link">|    Jogadores online {$serverPlayers[0]}   |</div></a>

</div> 

<div class="slider">

<div class="slider_bg">

<center>

<link rel="stylesheet" href="{$path}/templates/pokemon/system/slider/orbit.css">

<!--[if IE]>

<style type="text/css">

.timer { 

display: none !important; 

}

div.caption {

    background:transparent;

    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);

    zoom: 1; 

}

</style>

        <![endif]-->

 

<script src="{$path}/templates/pokemon/system/slider/jquery.min.js" type="text/javascript"></script>

<script src="{$path}/templates/pokemon/system/slider/jquery.orbit.min.js" type="text/javascript"></script>

</head>

<body>

<div id="featured">

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/1.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/2.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/3.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/4.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/5.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/6.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/7.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/8.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/9.jpg" alt="otpokemon"/>

</div>

 

<script type="text/javascript">

     $(window).load(function() {

         $("#featured").orbit();

     });

</script>

</center>

</div>

<div class="navbox_right">

<a target="_blank" href="https://www.facebook.com/PokemonNewSeason"><div class="fb_button"></div></a>

<div class="acc_box">

<div class="box_cont">

<div class="pOnline" align="center">

<font style="background-color: #3399FF;" color="#3399FF">**</font>

<font color="#00FF00">{$serverPlayers[0]}</font>

</center></div><a href="/index.php/account/create"><div class="accbox_button">Criar Conta</div></a><a href="/index.php/p/v/downloads"><div class="accbox_button_"> Download Cliente 1.0</div></a>

</div>

</div>

</div>

<div class="newscont">

    {$main}

    {$admin}

<div class="addthis_toolbox addthis_32x32_style addthis_default_style">

<a class="addthis_button_favorites"></a>

<a class="addthis_button_facebook"></a>

<a class="addthis_button_twitter"></a>

<a class="addthis_button_orkut"></a>

<a class="addthis_button_live"></a>

</div>

<div id="twitter_div">

<div id="fb-root"></div>

<script>(function(d, s, id) {

          var js, fjs = d.getElementsByTagName(s)[0];

          if (d.getElementById(id)) return;

          js = d.createElement(s); js.id = id;

          js.src = "templates/connect.facebook.net/pt_BR/all.js#xfbml=1";

          fjs.parentNode.insertBefore(js, fjs);

        }(document, 'script', 'facebook-jssdk'));</script>

<h1 class="sidebar-title">Novidades Pokémon Online : facebook.com/PokemonNewSeason</h2>

<center><div class="fb-like-box" style="margin-right: 500px;" data-href="https://www.facebook.com/PokemonNewSeason/" data-width="650" data-height="700" data-show_border="false" data-show-faces="false" data-stream="true" data-header="false"></div></div>

<script type="text/javascript" src="templates/s7.addthis.com/js/250/addthis_widget.js#username=ratoextreme"></script>

</center>

<div class="copyrights">

Pokemon New Season BRASIL fãSite © 2013

<br/><small>© 1995-2010 Nintendo/Creatures Inc./GAME FREAK inc. Pokémon and Pokémon character names are trademarks of Nintendo.</small>

<br>

</div>

</div>

<div class="menu_nav">

<div id="community_button"></div>

<div class="nav_links"><a href="/index.php/account/create">Criar Conta</a></br><a href="/index.php/account/lost">Recuperar Conta</a>

</br><a href="/index.php/p/v/downloads">Download Cliente</a>

</br><a href="{$path}/index.php/p/v/gallery">Mapa</a>

</br><a href="/index.php/highscores">Ranking</a>

</br><a href="/index.php/video/main">Videos</a>

</br><a href="{$path}/index.php/character/online">Jogadores Online</a>

</br><a href="{$path}/index.php/p/v/deaths">Ultimas Mortes</a>

</br><a href="/index.php/character/view">Personagens</a>

</br><a href="/index.php/p/v/shop">Shop</a>

</br><a href="/index.php/p/v/pagseguro">Fazer Doacao</a>

</div>

<div id="navigation_button"></div>

<div class="nav_links">

{if $logged == 1}<a href="/index.php/admin">Administration</a>

<br/><a href="/index.php/account">Gerenciar Account</a>

<br/><a href="/index.php/createcharacter">Criar Personagem</a>

<br/><a href="/index.php/account/logout">Logout</a>

{/if}

{if $logged == 0}

<form action="{$path}/index.php/account/login.ide" method="post">

<center><input onFocus="javascript:this.value=''" type="text" class="input" name="name" value="account" onclick="clickclear(this, 'name')" onblur="clickrecall(this,'name')" />

<input onFocus="javascript:this.value=''" type="password" class="input" name="pass" value="password" onclick="clickclear(this, 'pass')" onblur="clickrecall(this,'pass')" /></center>       

<center><input type="Submit" class="loginbutton" name="Submit" value=""/></center>

</form>

{/if}

</div>

<div id="s1_h"></div>

<div class="nav_links">

{if $serverOnline[0]}

    <font color="green">Status: Online<br />

    Jogadores: {$serverPlayers[0]}</font></b><br />

 

    {else}

    <font color="blue">Off-Line</font>

    {/if}

</div>

</font>

</body>

<script>

function googleTranslateElementInit() {

  new google.translate.TranslateElement({

    pageLanguage: "pt",

    floatPosition: google.translate.TranslateElement.FloatPosition.TOP_RIGHT

  });

}

</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

 

vai em system\application\views la tem um arquivo chamado home.php mande aki pra min eo link da sua page se puder tmbn 

Link para o comentário
Compartilhar em outros sites

  • 0
16 minutos atrás, Marshmello disse:

vai em system\application\views la tem um arquivo chamado home.php mande aki pra min eo link da sua page se puder tmbn 

 

no meu home.php do viwes não tem nada está vazio o link da page é pkns.sytes.net:8090

Link para o comentário
Compartilhar em outros sites

  • 0
51 minutos atrás, Marshmello disse:

 

no home.php troca tudo por esse

  Ocultar conteúdo

<?php 

require("config.php");

$ide = new IDE;

foreach($news['news'] as $value) {

    echo "<div class='news'>";

    echo "<div class='newsTitle'>".$value['title']."</div>";

    echo "<div class='newsBody'>".$value['body']."</div>";    

    echo "<div class='newsFooter'> ";    

    if($config['facebook']) {

        echo "<iframe src='http://www.facebook.com/widgets/like.php?href=".WEBSITE."/index.php/home/view/".$value['id']."' scrolling='no' frameborder='0'style='border: none; width: 400px; height: 24px;'></iframe><br/>";

    }

    echo " </div>";

    echo "</div>";

}

?>

<br>

<center><h1><strong>News of Day</strong></h1></center>

<center>*Nos estamos no Facebook:</center>

<center><iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2FPokemonNewSeason%2F&tabs=timeline&width=340&height=500&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=false&appId" width="340" height="500" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>

<br>

<br>

<br><br>

</center>

 

man até deu certo e ficou show de bola mas ai bugo o menu_nav eu tentei editar no style.css mas nada mudou

 

AjTclZG.png

Link para o comentário
Compartilhar em outros sites

  • 0
22 minutos atrás, Brunds disse:

man até deu certo e ficou show de bola mas ai bugo o menu_nav eu tentei editar no style.css mas nada mudou

 

AjTclZG.png

troque o index.tlp por esse pra ver

Spoiler

<body oncontextmenu="return true" onselectstart="return false" ondragstart="return false">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>

<meta http-equiv="Content-Language" content="pt-br">

<title>Pokemon New Season</title>

<meta name="robots" content="index,follow">

<meta http-equiv="CONTENT-LANGUAGE" content="pt,ptb,pt-br">

<meta name="title" content="Pokemon New Season">

<meta name="domain" content="Pokemon New Season">

<meta name="url" content="Pokemon New Season">

<meta name="keywords" content="Pokemon Online, Pokemon, Tibia Pokemon, Jogue Pokemon, Pokémon Online, Tibia Pokémon, Jogue Pokémon, Jogar Pokemon Online">

<meta name="description" content="O maior e melhor servidor de Tibia Pokemon do Brasil, um MMORPG que Mistura Tibia com Pokémon uma aventura incrivel te espera no mundo de pokegx.zapto.org">

<meta name="autor" content="[ADM] Master">

<meta name="company" content="Pokemon New Season">

<meta name="revisit-after" content="5">

<script type="text/javascript">

</script>

{$head}        

<link rel="stylesheet" href="{$path}/templates/pokemon/system/style.css" type="text/css" />

<link type="text/css" href="{$path}/htdocs/public/css/system.css" rel="stylesheet" /><link type="text/css" href="{$path}/htdocs/public/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.ui.datetimepicker.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/system.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-ui-1.8.custom.min.js"></script><link rel="stylesheet" href="{$path}/htdocs/public/css/tipsy.css" type="text/css" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.tipsy.js"></script><link rel="stylesheet" type="text/css" href="{$path}/htdocs/public/css/tooltip.css" /> <script type="text/javascript" src="{$path}/htdocs/public/js/tooltip.js"></script>

<link rel="shortcut icon" href="{$path}/templates/pokemon/otp.ico">        

<script type="text/javascript" src="{$path}/templates/pokemon/system/js.js"></script>

        

<script type="text/javascript">

        var url = 0; var url = "http://www.pokemon.com";

    </script>

<script>

!function(d,s,id){

var js,fjs=d.getElementsByTagName(s)[0];

if(!d.getElementById(id)){

js=d.createElement(s);

js.id=id;js.src="//platform.twitter.com/widgets.js";

fjs.parentNode.insertBefore(js,fjs);}

}

(document,"script","twitter-wjs");

</script> 

<body>

<div class="page">

<div class="mainbody">

<a href="{$path}"><div class="header"><div class="dex" style="background-image:url('{$path}/templates/pokemon/images/dex/delibird.gif')"></div></div></a>

<div class="navbar">

<a href="{$path}"><div class="navbar_link">| Principal | </div></a>

<a href="{$path}/index.php/account/create"><div class="navbar_link">| Criar conta | </div></a>

<a href="{$path}/index.php/p/v/gallery"><div class="navbar_link">| Mapa | </div></a>

<a href="/index.php/p/v/downloads"><div class="navbar_link">| Download Cliente 7.0 |</div></a>

<a href="{$path}/index.php/highscores"><div class="navbar_link">| Ranking | </div></a>

<a href="{$path}/index.php/houses/main"><div class="navbar_link">| Houses | </div></a>

<a href="{$path}/index.php/character/online"><div class="navbar_link">|    Jogadores online {$serverPlayers[0]}   |</div></a>

</div> 

<div class="slider">

<div class="slider_bg">

<center>

<link rel="stylesheet" href="{$path}/templates/pokemon/system/slider/orbit.css">

<!--[if IE]>

<style type="text/css">

.timer { 

display: none !important; 

}

div.caption {

    background:transparent;

    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);

    zoom: 1; 

}

</style>

        <![endif]-->

 

<script src="{$path}/templates/pokemon/system/slider/jquery.min.js" type="text/javascript"></script>

<script src="{$path}/templates/pokemon/system/slider/jquery.orbit.min.js" type="text/javascript"></script>

</head>

<body>

<div id="featured">

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/1.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/2.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/3.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/4.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/5.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/6.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/7.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/8.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/9.jpg" alt="otpokemon"/>

</div>

 

<script type="text/javascript">

     $(window).load(function() {

         $("#featured").orbit();

     });

</script>

</center>

</div>

<div class="navbox_right">

</div>

<div class="acc_box">

<div class="box_cont">

<div class="pOnline" align="center">

<font style="background-color: #3399FF;" color="#3399FF">**</font>

<font color="#00FF00">{$serverPlayers[0]}</font>

</center></div><a href="/index.php/account/create"><div class="accbox_button">Criar Conta</div></a><a href="/index.php/p/v/downloads"><div class="accbox_button_"> Download Cliente 1.0</div></a>

</div>

</div>

</div>

<div class="newscont">

    {$main}

    {$admin}

<div class="addthis_toolbox addthis_32x32_style addthis_default_style">

<a class="addthis_button_favorites"></a>

<a class="addthis_button_facebook"></a>

<a class="addthis_button_twitter"></a>

<a class="addthis_button_orkut"></a>

<a class="addthis_button_live"></a>

</div>

<div id="twitter_div">

<div id="fb-root"></div>

<script>(function(d, s, id) {

          var js, fjs = d.getElementsByTagName(s)[0];

          if (d.getElementById(id)) return;

          js = d.createElement(s); js.id = id;

          js.src = "templates/connect.facebook.net/pt_BR/all.js#xfbml=1";

          fjs.parentNode.insertBefore(js, fjs);

        }(document, 'script', 'facebook-jssdk'));</script>

<h1 class="sidebar-title">Novidades Pokémon Online : facebook.com/PokemonNewSeason</h2>

<center><div class="fb-like-box" style="margin-right: 500px;" data-href="https://www.facebook.com/PokemonNewSeason/" data-width="650" data-height="700" data-show_border="false" data-show-faces="false" data-stream="true" data-header="false"></div></div>

<script type="text/javascript" src="templates/s7.addthis.com/js/250/addthis_widget.js#username=ratoextreme"></script>

</center>

<div class="copyrights">

Pokemon New Season BRASIL fãSite © 2013

<br/><small>© 1995-2010 Nintendo/Creatures Inc./GAME FREAK inc. Pokémon and Pokémon character names are trademarks of Nintendo.</small>

<br>

</div>

</div>

<div class="menu_nav">

<div id="community_button"></div>

<div class="nav_links"><a href="/index.php/account/create">Criar Conta</a></br><a href="/index.php/account/lost">Recuperar Conta</a>

</br><a href="/index.php/p/v/downloads">Download Cliente</a>

</br><a href="{$path}/index.php/p/v/gallery">Mapa</a>

</br><a href="/index.php/highscores">Ranking</a>

</br><a href="/index.php/video/main">Videos</a>

</br><a href="{$path}/index.php/character/online">Jogadores Online</a>

</br><a href="{$path}/index.php/p/v/deaths">Ultimas Mortes</a>

</br><a href="/index.php/character/view">Personagens</a>

</br><a href="/index.php/p/v/shop">Shop</a>

</br><a href="/index.php/p/v/pagseguro">Fazer Doacao</a>

</div>

<div id="navigation_button"></div>

<div class="nav_links">

{if $logged == 1}<a href="/index.php/admin">Administration</a>

<br/><a href="/index.php/account">Gerenciar Account</a>

<br/><a href="/index.php/createcharacter">Criar Personagem</a>

<br/><a href="/index.php/account/logout">Logout</a>

{/if}

{if $logged == 0}

<form action="{$path}/index.php/account/login.ide" method="post">

<center><input onFocus="javascript:this.value=''" type="text" class="input" name="name" value="account" onclick="clickclear(this, 'name')" onblur="clickrecall(this,'name')" />

<input onFocus="javascript:this.value=''" type="password" class="input" name="pass" value="password" onclick="clickclear(this, 'pass')" onblur="clickrecall(this,'pass')" /></center>       

<center><input type="Submit" class="loginbutton" name="Submit" value=""/></center>

</form>

{/if}

</div>

<div id="s1_h"></div>

<div class="nav_links">

{if $serverOnline[0]}

    <font color="green">Status: Online<br />

    Jogadores: {$serverPlayers[0]}</font></b><br />

    {else}

    <font color="blue">Off-Line</font>

    {/if}

</div>

</font>

</body>

<script>

function googleTranslateElementInit() {

  new google.translate.TranslateElement({

    pageLanguage: "pt",

    floatPosition: google.translate.TranslateElement.FloatPosition.TOP_RIGHT

  });

}

</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

 

Link para o comentário
Compartilhar em outros sites

  • 0
Agora, Marshmello disse:

troque o index.tlp por esse pra ver

  Ocultar conteúdo

<body oncontextmenu="return true" onselectstart="return false" ondragstart="return false">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>

<meta http-equiv="Content-Language" content="pt-br">

<title>Pokemon New Season</title>

<meta name="robots" content="index,follow">

<meta http-equiv="CONTENT-LANGUAGE" content="pt,ptb,pt-br">

<meta name="title" content="Pokemon New Season">

<meta name="domain" content="Pokemon New Season">

<meta name="url" content="Pokemon New Season">

<meta name="keywords" content="Pokemon Online, Pokemon, Tibia Pokemon, Jogue Pokemon, Pokémon Online, Tibia Pokémon, Jogue Pokémon, Jogar Pokemon Online">

<meta name="description" content="O maior e melhor servidor de Tibia Pokemon do Brasil, um MMORPG que Mistura Tibia com Pokémon uma aventura incrivel te espera no mundo de pokegx.zapto.org">

<meta name="autor" content="[ADM] Master">

<meta name="company" content="Pokemon New Season">

<meta name="revisit-after" content="5">

<script type="text/javascript">

</script>

{$head}        

<link rel="stylesheet" href="{$path}/templates/pokemon/system/style.css" type="text/css" />

<link type="text/css" href="{$path}/htdocs/public/css/system.css" rel="stylesheet" /><link type="text/css" href="{$path}/htdocs/public/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.ui.datetimepicker.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/system.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-ui-1.8.custom.min.js"></script><link rel="stylesheet" href="{$path}/htdocs/public/css/tipsy.css" type="text/css" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.tipsy.js"></script><link rel="stylesheet" type="text/css" href="{$path}/htdocs/public/css/tooltip.css" /> <script type="text/javascript" src="{$path}/htdocs/public/js/tooltip.js"></script>

<link rel="shortcut icon" href="{$path}/templates/pokemon/otp.ico">        

<script type="text/javascript" src="{$path}/templates/pokemon/system/js.js"></script>

        

<script type="text/javascript">

        var url = 0; var url = "http://www.pokemon.com";

    </script>

<script>

!function(d,s,id){

var js,fjs=d.getElementsByTagName(s)[0];

if(!d.getElementById(id)){

js=d.createElement(s);

js.id=id;js.src="//platform.twitter.com/widgets.js";

fjs.parentNode.insertBefore(js,fjs);}

}

(document,"script","twitter-wjs");

</script> 

<body>

<div class="page">

<div class="mainbody">

<a href="{$path}"><div class="header"><div class="dex" style="background-image:url('{$path}/templates/pokemon/images/dex/delibird.gif')"></div></div></a>

<div class="navbar">

<a href="{$path}"><div class="navbar_link">| Principal | </div></a>

<a href="{$path}/index.php/account/create"><div class="navbar_link">| Criar conta | </div></a>

<a href="{$path}/index.php/p/v/gallery"><div class="navbar_link">| Mapa | </div></a>

<a href="/index.php/p/v/downloads"><div class="navbar_link">| Download Cliente 7.0 |</div></a>

<a href="{$path}/index.php/highscores"><div class="navbar_link">| Ranking | </div></a>

<a href="{$path}/index.php/houses/main"><div class="navbar_link">| Houses | </div></a>

<a href="{$path}/index.php/character/online"><div class="navbar_link">|    Jogadores online {$serverPlayers[0]}   |</div></a>

</div> 

<div class="slider">

<div class="slider_bg">

<center>

<link rel="stylesheet" href="{$path}/templates/pokemon/system/slider/orbit.css">

<!--[if IE]>

<style type="text/css">

.timer { 

display: none !important; 

}

div.caption {

    background:transparent;

    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);

    zoom: 1; 

}

</style>

        <![endif]-->

 

<script src="{$path}/templates/pokemon/system/slider/jquery.min.js" type="text/javascript"></script>

<script src="{$path}/templates/pokemon/system/slider/jquery.orbit.min.js" type="text/javascript"></script>

</head>

<body>

<div id="featured">

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/1.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/2.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/3.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/4.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/5.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/6.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/7.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/8.jpg" alt="otpokemon"/>

<img src="{$path}/templates/pokemon/system/slider/pics/jpg/9.jpg" alt="otpokemon"/>

</div>

 

<script type="text/javascript">

     $(window).load(function() {

         $("#featured").orbit();

     });

</script>

</center>

</div>

<div class="navbox_right">

</div>

<div class="acc_box">

<div class="box_cont">

<div class="pOnline" align="center">

<font style="background-color: #3399FF;" color="#3399FF">**</font>

<font color="#00FF00">{$serverPlayers[0]}</font>

</center></div><a href="/index.php/account/create"><div class="accbox_button">Criar Conta</div></a><a href="/index.php/p/v/downloads"><div class="accbox_button_"> Download Cliente 1.0</div></a>

</div>

</div>

</div>

<div class="newscont">

    {$main}

    {$admin}

<div class="addthis_toolbox addthis_32x32_style addthis_default_style">

<a class="addthis_button_favorites"></a>

<a class="addthis_button_facebook"></a>

<a class="addthis_button_twitter"></a>

<a class="addthis_button_orkut"></a>

<a class="addthis_button_live"></a>

</div>

<div id="twitter_div">

<div id="fb-root"></div>

<script>(function(d, s, id) {

          var js, fjs = d.getElementsByTagName(s)[0];

          if (d.getElementById(id)) return;

          js = d.createElement(s); js.id = id;

          js.src = "templates/connect.facebook.net/pt_BR/all.js#xfbml=1";

          fjs.parentNode.insertBefore(js, fjs);

        }(document, 'script', 'facebook-jssdk'));</script>

<h1 class="sidebar-title">Novidades Pokémon Online : facebook.com/PokemonNewSeason</h2>

<center><div class="fb-like-box" style="margin-right: 500px;" data-href="https://www.facebook.com/PokemonNewSeason/" data-width="650" data-height="700" data-show_border="false" data-show-faces="false" data-stream="true" data-header="false"></div></div>

<script type="text/javascript" src="templates/s7.addthis.com/js/250/addthis_widget.js#username=ratoextreme"></script>

</center>

<div class="copyrights">

Pokemon New Season BRASIL fãSite © 2013

<br/><small>© 1995-2010 Nintendo/Creatures Inc./GAME FREAK inc. Pokémon and Pokémon character names are trademarks of Nintendo.</small>

<br>

</div>

</div>

<div class="menu_nav">

<div id="community_button"></div>

<div class="nav_links"><a href="/index.php/account/create">Criar Conta</a></br><a href="/index.php/account/lost">Recuperar Conta</a>

</br><a href="/index.php/p/v/downloads">Download Cliente</a>

</br><a href="{$path}/index.php/p/v/gallery">Mapa</a>

</br><a href="/index.php/highscores">Ranking</a>

</br><a href="/index.php/video/main">Videos</a>

</br><a href="{$path}/index.php/character/online">Jogadores Online</a>

</br><a href="{$path}/index.php/p/v/deaths">Ultimas Mortes</a>

</br><a href="/index.php/character/view">Personagens</a>

</br><a href="/index.php/p/v/shop">Shop</a>

</br><a href="/index.php/p/v/pagseguro">Fazer Doacao</a>

</div>

<div id="navigation_button"></div>

<div class="nav_links">

{if $logged == 1}<a href="/index.php/admin">Administration</a>

<br/><a href="/index.php/account">Gerenciar Account</a>

<br/><a href="/index.php/createcharacter">Criar Personagem</a>

<br/><a href="/index.php/account/logout">Logout</a>

{/if}

{if $logged == 0}

<form action="{$path}/index.php/account/login.ide" method="post">

<center><input onFocus="javascript:this.value=''" type="text" class="input" name="name" value="account" onclick="clickclear(this, 'name')" onblur="clickrecall(this,'name')" />

<input onFocus="javascript:this.value=''" type="password" class="input" name="pass" value="password" onclick="clickclear(this, 'pass')" onblur="clickrecall(this,'pass')" /></center>       

<center><input type="Submit" class="loginbutton" name="Submit" value=""/></center>

</form>

{/if}

</div>

<div id="s1_h"></div>

<div class="nav_links">

{if $serverOnline[0]}

    <font color="green">Status: Online<br />

    Jogadores: {$serverPlayers[0]}</font></b><br />

    {else}

    <font color="blue">Off-Line</font>

    {/if}

</div>

</font>

</body>

<script>

function googleTranslateElementInit() {

  new google.translate.TranslateElement({

    pageLanguage: "pt",

    floatPosition: google.translate.TranslateElement.FloatPosition.TOP_RIGHT

  });

}

</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

 

deu certo não bugou mais do que já estava kkk sera que não tem como usar um margin ou padding pra mover o menu_nav para onde tava? 

consegui arrumar eu retirei 

<div id="twitter_div">

e voltou ao normal

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...