What's new
  • logo_cipsoft
    Latest servers:
    New servers will open on: 16th Oct 2024:
    Bravoria (Open PvP) Aethera (Open PvP) us_logo Cantabra (Open PvP)

Account Maker Nie pokazuj?ce Newsy

Joined
Oct 29, 2018
Messages
18
Reaction score
0
Witam wszystkich serdecznie czy m?g?by kto? mi pom?c z acc makerem ? nie pokazuje ?adnych news"?w na stronie g??wnej ..

Oto skrypt:

Code:
<body oncontextmenu="return false" 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>PokemonWorld - Pokemon Online Tibia</title>
<meta name="robots" content="index,follow">
<meta http-equiv="CONTENT-LANGUAGE" content="pt,ptb,pt-br">
<meta name="title" content="PokemonWorld - Pokemon Tibia Online">
<meta name="domain" content="PokemonWorld">
<meta name="url" content="Pokemonworld">
<meta name="keywords" content="Pokemon Online, Pokemon, Tibia Pokemon, Pok?mon Online, Tibia Pok?mon">
<meta name="description" content="">
<meta name="autor" content="">
<meta name="company" content="">
<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">| News | </div></a>
<a href="{$path}/index.php/account/create"><div class="navbar_link">| Create Account | </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 Client |</div></a>
<a href="{$path}/index.php/highscores"><div class="navbar_link">| Highscores | </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">| Currently 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 href="cosik" target="_blank"><div class="twt_button"></div></a>
<a target="_blank" href="cosik"><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/createaccount"><div class="accbox_button">Create Account</div></a><a href="/index.php/p/v/downloads"><div class="accbox_button_"> Download Client V0.1</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>
<center><div class="fb-like-box" data-href="" 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 World 2018
<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">+Create Account</a></br><a href="/index.php/account/lost">+Retrieve Account</a>
</br><a href="/index.php/p/v/downloads">Download Client</a>
</br><a href="{$path}/index.php/p/v/gallery">Mapa Pokemon World</a>
</br><a href="/index.php/p/v/staff">Support</a>
</br><a href="/index.php/highscores">Highscores</a>
</br><a href="{$path}/index.php/character/online">Who Is Online?</a>
</br><a href="{$path}/index.php/p/v/ban">Ban Info</a>
</br><a href="/index.php/character/view">Search Player</a>
</br><a href="/index.php/p/v/shop">+Shop</a>
</br><a href="/index.php/p/v/pagseguro">+Donation</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">Manage Account</a>
<br/><a href="/index.php/createcharacter">Create Character</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 />
Online: {$serverPlayers[0]}/</font><font color="green">100</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.TO P_RIGHT
});
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
 

Nush

Advanced User
Joined
May 10, 2012
Messages
379
Reaction score
11
Odp: Nie pokazuj?ce Newsy

Z tego co widz? pokaza?e? nam layout.php sk?d mamy wiedzie? w takim razie co jest przyczyn? nie pokazywania news?w?
Pode?lij latestnews.php czy jaki tam jest news.php w twoim acc makerze.
 
Joined
Oct 29, 2018
Messages
18
Reaction score
0
Odp: Nie pokazuj?ce Newsy

view_news.php

<?php
$ide = new IDE;
try { $ide->loadInjections("view_news"); }catch(Exception $e) { error($e->getMessage());}
echo "<div class='news'>";
echo "<div class='newsTitle'>".$news[0]['title']."</div>";
echo "<div class='newsBody'>".$news[0]['body']."</div>";
echo "<div class='newsFooter'>Enviado em: ".UNIX_TimeStamp($news[0]['time'])." </div>";
echo "</div>";

echo "<h1>comments</h1>";
if(!$ide->isLogged())
alert("You must be logged in to write comments.");
else {
if(count($characters) == 0)
error("You must have a character on the server to comment on the story.");
else {
echo error(validation_errors());
echo form_open(WEBSITE."/index.php/home/view/".$id);
echo "<br /><label>Character</label><select name='character'>";
foreach($characters as $character) {
echo "<option value='".$character['id']."'>".$character['name']."</option>";
}
echo "</select><br /><br />";
echo "<textarea style='width: 99%;' name='body'>".@$_POST['body']."</textarea><label></label>";
echo $captcha;
echo "<br/><label>Captcha</label>";
echo "<input type='text' name='captcha'/><br/>";
echo "<input type='submit' value='Comment'>";
echo "</form>";
}
}
echo "<center>".$pages."</center>";
foreach($comments as $comment) {
if($ide->isAdmin())
$delete = "<a href='#' onClick=\"if(confirm('Are you sure you want to delete this comment?')) window.location.href='".WEBSITE."/index.php/home/delete_comment/".$comment['id']."';\" ><img src='".WEBSITE."/public/images/false.gif'></a>";
else if($ide->isLogged()) {
if(@in_array($comment['author'], $characters)) {
$delete = "<a href='#' onClick=\"if(confirm('Are you sure you want to delete this comment?')) window.location.href='".WEBSITE."/index.php/home/delete_comment/".$comment['id']."';\" ><img src='".WEBSITE."/public/images/false.gif'></a>";
}
else
$delete = "";
}
else
$delete = "";
echo "<div class='comment'>";
echo "<div class='commentBody'>".strip_tags($comment['body'])."</div>";
echo "<div class='commentFooter'>".$delete." Posted on: ".UNIX_TimeStamp($comment['time'])." by <a href=\"".WEBSITE."/index.php/character/view/".$comment['author']."\">".$comment['author']."</a></div>";
echo "</div>";
}
echo "<center>".$pages."</center>";
?>
 
Top