Ir para conteúdo
  • Cadastre-se

(Resolvido)LINK SHARE E LIKE FACEBOOK ON GESIOR


Ir para solução Resolvido por Dev PHP,

Posts Recomendados

Olá, tenho um servidor old 7x rodando com o website Gesior 2012, nele veio um botão de like e um de share pro facebook, gostaria de retira-los e add um outro melhor, alguém sabe me dizer como fazer ? Algum tutorial sobre isso ? Segue uma print do botão que quero remover e outra de como eu gostaria de colocar.

 

botao antigo.jpg

botao new.jpg

Link para o post
Compartilhar em outros sites
2 horas atrás, amora murder disse:

Posta seu layout.php aí 

 

<!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" ng-app>
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
	<title><?PHP echo $title; ?> ::Antiqua::</title>
	<meta name="author" content="Bufostudio.pl"/>
	<link rel="stylesheet" href="<?PHP echo $layout_name; ?>/_css/default.css" type="text/css" />
	<link rel="stylesheet" href="<?PHP echo $layout_name; ?>/_css/basic.css" type="text/css" />

 	<link rel="icon" href="<? echo $layout_name; ?>/images/favicon.ico" type="image/x-icon">
	
	<script type="text/javascript" src="<?PHP echo $layout_name; ?>/_js/slideshow.js"></script>
	<script type="text/javascript" src="<?PHP echo $layout_name; ?>/_js/jquery-1.4.2.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"></script>
	
	<script type='text/javascript'>
		$(document).ready(function(){
		$("img.a").hover(
			function() {
				$(this).stop().animate({"opacity": "0"}, "slow");
			},
			function() {
				$(this).stop().animate({"opacity": "1"}, "slow");
			});
		});
	</script>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'></script>
<style>
#fbox-background {
    display: none;
    background: rgba(0,0,0,0.8);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
}

#fbox-close {
    width: 100%;
    height: 100%;
}

#fbox-display {
    background: #eaeaea;
    border: 5px solid #828282;
    width: 340px;
    height: 230px;
    position: absolute;
    top: 32%;
    left: 37%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#fbox-button {
    float: right;
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: 0px;
}

#fbox-button:before {
    content: "CLOSE";
    padding: 5px 8px;
    background: #828282;
    color: #eaeaea;
    font-weight: bold;
    font-size: 10px;
    font-family: Tahoma;
}

#fbox-link,#fbox-link a.visited,#fbox-link a,#fbox-link a:hover {
    color: #aaaaaa;
    font-size: 9px;
    text-decoration: none;
    text-align: center;
    padding: 5px;
}
</style>
<script type='text/javascript'>
//<![CDATA[
jQuery.cookie = function (key, value, options) {
// key and at least value given, set cookie...
if (arguments.length > 1 && String(value) !== "[object Object]") {
options = jQuery.extend({}, options);
if (value === null || value === undefined) {
options.expires = -1;
}
if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setDate(t.getDate() + days);
}
value = String(value);
return (document.cookie = [
encodeURIComponent(key), '=',
options.raw ? value : encodeURIComponent(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}
// key and possibly options given, get cookie...
options = value || {};
var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
};
//]]>
</script>
    <?php echo $layout_header; ?>
</head>
<body>
	<div id="page">
		<div id="logo"></div>
		
		<div id="content">
			<div id="menu_top">
				<div class='img'>
					<div class="left">
						<div id='menu_top_home'>
							<a href="?subtopic=latestnews">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/news_1a.png' alt='<?PHP echo $title; ?> ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/news_1b.png' alt='<?PHP echo $title; ?> ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_acc'>
							<a href="?subtopic=accountmanagement">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/account_1a.png' alt='Account ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/account_1b.png' alt='Account ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_shop'>
							<a href="?subtopic=shopsystem">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/shop_1a.png' alt='Shop ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/shop_1b.png' alt='Shop ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						
					<div class="online">
						<?PHP
							$players_online = $SQL->query("SELECT COUNT(*) AS online FROM players WHERE world_id = '.$world_id.' and online = 1");
							foreach($players_online as $players);
							
							if($config['status']['serverStatus_online'] == 1){
									echo '<center style="text-shadow: 1px 1px #2d2d2d; text-transform: uppercase;"><img src='. $layout_name .'/_img/online/online.png /><br/>									
										<a style="color:#FFF;" href="index.php?subtopic=whoisonline">Online: '.$config['status']['serverStatus_players'].' ('.($players['online']-$config['status']['serverStatus_players']).' AFK)</a><br/>
										UpTime: <FONT color="green"><b>'.$config['status']['serverStatus_uptime'].'</b></FONT><br/>
										Monsters:  '. $config['status']['serverStatus_monsters'] .'
										</center>';
									}else{
								echo '<center style="text-shadow: 1px 1px #2d2d2d; text-transform: uppercase;"><img src='. $layout_name .'/_img/online/online.png /><br/>									
										<a style="color:#FFF;" href="index.php?subtopic=whoisonline">Online: '.$config['status']['serverStatus_players'].' ('.($players['online']-$config['status']['serverStatus_players']).' AFK)</a><br/>
										UpTime: <FONT color="green"><b>'.$config['status']['serverStatus_uptime'].'</b></FONT><br/>
										Monsters:  '. $config['status']['serverStatus_monsters'] .'
										</center>';}
						?>
					</div>
					
					<div class="right">
						<div id='menu_top_forum'>
							<a href="?subtopic=forum">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/forum_1a.png' alt='Forum ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/forum_1b.png' alt='Forum ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_highscores'>
							<a href="?subtopic=highscores">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/highscores_1a.png' alt='Highscores ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/highscores_1b.png' alt='Highscores ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_register'>
							<a href="?subtopic=createaccount">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/register_1a.png' alt='Register ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/register_1b.png' alt='Register ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
					</div>
					</div>
				</div>
			</div>
			
			<div id="menu_left">
				<div id="menu-label">
					<div id="icon-news"></div>
					<div id="text-news"></div>
				</div>
				<div id="menu_links">
					<ul>
						<li><a href="?subtopic=latestnews">&nbsp;&raquo; Latest news</a></li>
						<li><a href="?subtopic=archive">&nbsp;&raquo; News archive</a></li>
						<li><a href="?subtopic=forum&action=show_thread&id=2"><b><font color="red">&nbsp;&raquo; New hunts</font></a></li>
						<li><a href="?subtopic=forum&action=show_thread&id=3">&nbsp;&raquo; Screenshots</a></li>
					</ul>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-account"></div>
					<div id="text-account"></div>
				</div>
				<div id="menu_links">
					<ul>
						<?PHP if($logged){
								if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
									echo '<li><a href="?subtopic=phpmyadmin"><font color="red">&nbsp;&raquo; PhpMyAdmin</font></a></li>
								<li><a href="?subtopic=shopadmin"><font color="red">&nbsp;&raquo; Shop Admin</font></a></li>';
								if($logged)
							echo '<li><a href="?subtopic=accountmanagement"><font color="orange"><b>Acc. Management</b></font></a></li>';
								}else{
							echo '<li><a href="?subtopic=accountmanagement"><b>&nbsp;&raquo; Login</b></a></li>
								<li><a href="?subtopic=createaccount"><b>&nbsp;&raquo; Create Account</b></a></li>
								<li><a href="?subtopic=lostaccount"><b>&nbsp;&raquo; Lost Account</b></a></li>';}?>
								<li><a href="?subtopic=tibiarules"><b>&nbsp;&raquo; Server Rules</b></a></li>
					</ul>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-community"></div>
					<div id="text-community"></div>
				</div>
				<div id="menu_links">
					<li><a href="?subtopic=characters">&nbsp;&raquo; Characters</a></li>
					<li><a href="?subtopic=whoisonline">&nbsp;&raquo; Who is Online?</a></li>
					<li><a href="?subtopic=highscores">&nbsp;&raquo; Highscores</a></li>
					<li><a href="?subtopic=killstatistics">&nbsp;&raquo; Kill Statistics</a></li>
					<li><a href="?subtopic=guilds">&nbsp;&raquo; Guilds</a></li>
					<li><a href="?subtopic=wars">&nbsp;&raquo; Guild Wars</a></li>
					<li><a href="?subtopic=forum">&nbsp;&raquo; Forum</a></li>
					<li><a href="?subtopic=team">&nbsp;&raquo; Support</a></li>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-library"></div>
					<div id="text-library"></div>
				</div>
				<div id="menu_links">
					<li><a href="?subtopic=serverinfo">&nbsp;&raquo; Server Info</a></li>
					<li><a href="?subtopic=tasks">&nbsp;&raquo; Task Info</a></li>
					<li><a href="?subtopic=quests">&nbsp;&raquo; Quest List</a></li>
					<li><a href="?subtopic=downloads">&nbsp;&raquo; Downloads</a></li>
					<li><a href="?subtopic=spells">&nbsp;&raquo; Spell List</a></li>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-shop"></div>
					<div id="text-shop"></div>
				</div>
				<div id="menu_links">
						<li><a href="?subtopic=buypoints&system=homepay"><b><font color="red">&nbsp;&raquo; Buy Points</font></b></a></li>
						<li><a href="?subtopic=shopsystem"><b><font color="green">&nbsp;&raquo; Shop Offers</font></b></a></li>
						<?PHP
							if($logged)
								echo '<li><a href="?subtopic=shopsystem&action=show_history"><b>&nbsp;&raquo; Trans History</b></a></li>';
						?>
				</div>

			</div>
			
			<div id="content_text">
				<?PHP echo $main_content; ?>
			</div>
				
			<div id="menu_right">
				<div id="menu-label">
					<div id="icon-info"></div>
					<div id="text-info"></div>
				</div>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Exp: </span><i>Stage 20x</i><br/>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Skill: </span><i>5x</i><br/>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Magic: </span><i>3x</i><br/>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Loot: </span><i>Personalizado</i>
			
				<div class="clean_5"></div>
			
				<div id="menu-label">
					<div id="icon-search"></div>
					<div id="text-search"></div>
				</div>
				
				<div class="clean_5"></div>
					<center>
						<FORM ACTION="?subtopic=characters" METHOD=post>
							<INPUT NAME="name" VALUE="" class="search" SIZE=20 MAXLENGTH=29>
							<div class="clean_5"></div>
							<INPUT TYPE=image NAME="Submit" SRC="layouts/cyber/images/buttons/sbutton_submit.gif" BORDER=0 WIDTH=120 HEIGHT=18>
						</FORM>
					</center>
			
				<div class="clean_5"></div>
			
				<div id="menu-label">
					<div id="icon-toplevel"></div>
					<div id="text-toplevel"></div>
				</div>
				
				<table width="100%" border="0">
				 <?PHP
					$order = 0;
					$number_of_people = 0;
					$skills = $SQL->query('SELECT name,online,level,experience,vocation,promotion FROM players WHERE players.deleted = 0 AND players.group_id < '.$config['site']['players_group_id_block'].' AND name != "Account Manager" AND name != "Rook Sample" AND name != "Sorcerer Sample" AND name != "Druid Sample" AND name != "Paladin Sample" AND name != "Knight Sample" ORDER BY level DESC, experience DESC LIMIT 10;');
						foreach($skills as $skill) {
						  $order++;
							if(is_int($number_of_people / 2))
								$bgcolor = $config['site']['darkborder'];
							else
								$bgcolor = $config['site']['lightborder'];
								$number_of_people++;
								$players_skill .= '<tr BGCOLOR="'.$bgcolor.'"><td align="center">'.$order.'.</td><td align="left"><B><a href="?subtopic=characters&name='.urlencode($skill['name']).'">'.($skill['online']>0 ? "<font color=\"green\">".$skill['name']."</font>" : "".$skill['name']."</font>").'</a></td> <td align="center"><font color="#7073FC"><em>LvL '.$skill['level'].'</em></font></td>';
						}
					echo "$players_skill";
				?>
				</table>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-topguilds"></div>
					<div id="text-topguilds"></div>
				</div>
				
				<table width="100%" border="0">
				<?PHP
					$guilds = $SQL->query('SELECT `g`.`id` AS `id`, `g`.`name` AS `name`,
							`g`.`logo_gfx_name` AS `logo`, COUNT(`g`.`name`) as `frags`
					FROM `killers` k
							LEFT JOIN `player_killers` pk ON `k`.`id` = `pk`.`kill_id`
							LEFT JOIN `players` p ON `pk`.`player_id` = `p`.`id`
							LEFT JOIN `guild_ranks` gr ON `p`.`rank_id` = `gr`.`id`
							LEFT JOIN `guilds` g ON `gr`.`guild_id` = `g`.`id`
					WHERE `k`.`unjustified` = 1 AND `k`.`final_hit` = 1
							GROUP BY `name`
							ORDER BY `frags` DESC, `name` ASC
							LIMIT 0, 10;');
							$i = 0;
						foreach($guilds as $guild)
						{
						$i++;
						echo '<tr BGCOLOR="'.$bgcolor.'">
								<td align="center">'.$i.'. </td>
								<td align="left">
									<B><a href="?subtopic=guilds&action=show&guild=' . $guild['id'] . '">' . $guild['name'] . '</a></b>
								</td>
								<td align="center">' . $guild['frags'] . ' kills</td>
							</tr>';
						}
				?>
				</table>
			</div>
		</div>
		
		<div id="content_bot"></div>
	</div>
</body>
</html>

 

Link para o post
Compartilhar em outros sites

Não tenho muita certeza se vou conseguir te ajudar. Mas substitui por esse aqui e me fala o que aconteceu, tira print da tela e posta aí, se possível

Se bugar a tela é só voltar pra como estava antes.

 

Spoiler

<!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" ng-app>
<head>?
	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
	<title><?PHP echo $title; ?> ::Antiqua::</title>
	<meta name="author" content="Bufostudio.pl"/>
	<link rel="stylesheet" href="<?PHP echo $layout_name; ?>/_css/default.css" type="text/css" />
	<link rel="stylesheet" href="<?PHP echo $layout_name; ?>/_css/basic.css" type="text/css" />

 	<link rel="icon" href="<? echo $layout_name; ?>/images/favicon.ico" type="image/x-icon">
	
	<script type="text/javascript" src="<?PHP echo $layout_name; ?>/_js/slideshow.js"></script>
	<script type="text/javascript" src="<?PHP echo $layout_name; ?>/_js/jquery-1.4.2.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"></script>
	
	<script type='text/javascript'>
		$(document).ready(function(){
		$("img.a").hover(
			function() {
				$(this).stop().animate({"opacity": "0"}, "slow");
			},
			function() {
				$(this).stop().animate({"opacity": "1"}, "slow");
			});
		});
	</script>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'></script>

<script type='text/javascript'>
//<![CDATA[
jQuery.cookie = function (key, value, options) {
// key and at least value given, set cookie...
if (arguments.length > 1 && String(value) !== "[object Object]") {
options = jQuery.extend({}, options);
if (value === null || value === undefined) {
options.expires = -1;
}
if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setDate(t.getDate() + days);
}
value = String(value);
return (document.cookie = [
encodeURIComponent(key), '=',
options.raw ? value : encodeURIComponent(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}
// key and possibly options given, get cookie...
options = value || {};
var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
};
//]]>
</script>
    <?php echo $layout_header; ?>
</head>
<body>
	<div id="page">
		<div id="logo"></div>
		
		<div id="content">
			<div id="menu_top">
				<div class='img'>
					<div class="left">
						<div id='menu_top_home'>
							<a href="?subtopic=latestnews">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/news_1a.png' alt='<?PHP echo $title; ?> ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/news_1b.png' alt='<?PHP echo $title; ?> ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_acc'>
							<a href="?subtopic=accountmanagement">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/account_1a.png' alt='Account ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/account_1b.png' alt='Account ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_shop'>
							<a href="?subtopic=shopsystem">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/shop_1a.png' alt='Shop ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/shop_1b.png' alt='Shop ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						
					<div class="online">
						<?PHP
							$players_online = $SQL->query("SELECT COUNT(*) AS online FROM players WHERE world_id = '.$world_id.' and online = 1");
							foreach($players_online as $players);
							
							if($config['status']['serverStatus_online'] == 1){
									echo '<center style="text-shadow: 1px 1px #2d2d2d; text-transform: uppercase;"><img src='. $layout_name .'/_img/online/online.png /><br/>									
										<a style="color:#FFF;" href="index.php?subtopic=whoisonline">Online: '.$config['status']['serverStatus_players'].' ('.($players['online']-$config['status']['serverStatus_players']).' AFK)</a><br/>
										UpTime: <FONT color="green"><b>'.$config['status']['serverStatus_uptime'].'</b></FONT><br/>
										Monsters:  '. $config['status']['serverStatus_monsters'] .'
										</center>';
									}else{
								echo '<center style="text-shadow: 1px 1px #2d2d2d; text-transform: uppercase;"><img src='. $layout_name .'/_img/online/online.png /><br/>									
										<a style="color:#FFF;" href="index.php?subtopic=whoisonline">Online: '.$config['status']['serverStatus_players'].' ('.($players['online']-$config['status']['serverStatus_players']).' AFK)</a><br/>
										UpTime: <FONT color="green"><b>'.$config['status']['serverStatus_uptime'].'</b></FONT><br/>
										Monsters:  '. $config['status']['serverStatus_monsters'] .'
										</center>';}
						?>
					</div>
					
					<div class="right">
						<div id='menu_top_forum'>
							<a href="?subtopic=forum">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/forum_1a.png' alt='Forum ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/forum_1b.png' alt='Forum ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_highscores'>
							<a href="?subtopic=highscores">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/highscores_1a.png' alt='Highscores ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/highscores_1b.png' alt='Highscores ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_register'>
							<a href="?subtopic=createaccount">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/register_1a.png' alt='Register ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/register_1b.png' alt='Register ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
					</div>
					</div>
				</div>
			</div>
			
			<div id="menu_left">
				<div id="menu-label">
					<div id="icon-news"></div>
					<div id="text-news"></div>
				</div>
				<div id="menu_links">
					<ul>
						<li><a href="?subtopic=latestnews">&nbsp;&raquo; Latest news</a></li>
						<li><a href="?subtopic=archive">&nbsp;&raquo; News archive</a></li>
						<li><a href="?subtopic=forum&action=show_thread&id=2"><b><font color="red">&nbsp;&raquo; New hunts</font></a></li>
						<li><a href="?subtopic=forum&action=show_thread&id=3">&nbsp;&raquo; Screenshots</a></li>
					</ul>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-account"></div>
					<div id="text-account"></div>
				</div>
				<div id="menu_links">
					<ul>
						<?PHP if($logged){
								if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
									echo '<li><a href="?subtopic=phpmyadmin"><font color="red">&nbsp;&raquo; PhpMyAdmin</font></a></li>
								<li><a href="?subtopic=shopadmin"><font color="red">&nbsp;&raquo; Shop Admin</font></a></li>';
								if($logged)
							echo '<li><a href="?subtopic=accountmanagement"><font color="orange"><b>Acc. Management</b></font></a></li>';
								}else{
							echo '<li><a href="?subtopic=accountmanagement"><b>&nbsp;&raquo; Login</b></a></li>
								<li><a href="?subtopic=createaccount"><b>&nbsp;&raquo; Create Account</b></a></li>
								<li><a href="?subtopic=lostaccount"><b>&nbsp;&raquo; Lost Account</b></a></li>';}?>
								<li><a href="?subtopic=tibiarules"><b>&nbsp;&raquo; Server Rules</b></a></li>
					</ul>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-community"></div>
					<div id="text-community"></div>
				</div>
				<div id="menu_links">
					<li><a href="?subtopic=characters">&nbsp;&raquo; Characters</a></li>
					<li><a href="?subtopic=whoisonline">&nbsp;&raquo; Who is Online?</a></li>
					<li><a href="?subtopic=highscores">&nbsp;&raquo; Highscores</a></li>
					<li><a href="?subtopic=killstatistics">&nbsp;&raquo; Kill Statistics</a></li>
					<li><a href="?subtopic=guilds">&nbsp;&raquo; Guilds</a></li>
					<li><a href="?subtopic=wars">&nbsp;&raquo; Guild Wars</a></li>
					<li><a href="?subtopic=forum">&nbsp;&raquo; Forum</a></li>
					<li><a href="?subtopic=team">&nbsp;&raquo; Support</a></li>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-library"></div>
					<div id="text-library"></div>
				</div>
				<div id="menu_links">
					<li><a href="?subtopic=serverinfo">&nbsp;&raquo; Server Info</a></li>
					<li><a href="?subtopic=tasks">&nbsp;&raquo; Task Info</a></li>
					<li><a href="?subtopic=quests">&nbsp;&raquo; Quest List</a></li>
					<li><a href="?subtopic=downloads">&nbsp;&raquo; Downloads</a></li>
					<li><a href="?subtopic=spells">&nbsp;&raquo; Spell List</a></li>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-shop"></div>
					<div id="text-shop"></div>
				</div>
				<div id="menu_links">
						<li><a href="?subtopic=buypoints&system=homepay"><b><font color="red">&nbsp;&raquo; Buy Points</font></b></a></li>
						<li><a href="?subtopic=shopsystem"><b><font color="green">&nbsp;&raquo; Shop Offers</font></b></a></li>
						<?PHP
							if($logged)
								echo '<li><a href="?subtopic=shopsystem&action=show_history"><b>&nbsp;&raquo; Trans History</b></a></li>';
						?>
				</div>

			</div>
			
			<div id="content_text">
				<?PHP echo $main_content; ?>
			</div>
				
			<div id="menu_right">
				<div id="menu-label">
					<div id="icon-info"></div>
					<div id="text-info"></div>
				</div>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Exp: </span><i>Stage 20x</i><br/>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Skill: </span><i>5x</i><br/>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Magic: </span><i>3x</i><br/>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Loot: </span><i>Personalizado</i>
			
				<div class="clean_5"></div>
			
				<div id="menu-label">
					<div id="icon-search"></div>
					<div id="text-search"></div>
				</div>
				
				<div class="clean_5"></div>
					<center>
						<FORM ACTION="?subtopic=characters" METHOD=post>
							<INPUT NAME="name" VALUE="" class="search" SIZE=20 MAXLENGTH=29>
							<div class="clean_5"></div>
							<INPUT TYPE=image NAME="Submit" SRC="layouts/cyber/images/buttons/sbutton_submit.gif" BORDER=0 WIDTH=120 HEIGHT=18>
						</FORM>
					</center>
			
				<div class="clean_5"></div>
			
				<div id="menu-label">
					<div id="icon-toplevel"></div>
					<div id="text-toplevel"></div>
				</div>
				
				<table width="100%" border="0">
				 <?PHP
					$order = 0;
					$number_of_people = 0;
					$skills = $SQL->query('SELECT name,online,level,experience,vocation,promotion FROM players WHERE players.deleted = 0 AND players.group_id < '.$config['site']['players_group_id_block'].' AND name != "Account Manager" AND name != "Rook Sample" AND name != "Sorcerer Sample" AND name != "Druid Sample" AND name != "Paladin Sample" AND name != "Knight Sample" ORDER BY level DESC, experience DESC LIMIT 10;');
						foreach($skills as $skill) {
						  $order++;
							if(is_int($number_of_people / 2))
								$bgcolor = $config['site']['darkborder'];
							else
								$bgcolor = $config['site']['lightborder'];
								$number_of_people++;
								$players_skill .= '<tr BGCOLOR="'.$bgcolor.'"><td align="center">'.$order.'.</td><td align="left"><B><a href="?subtopic=characters&name='.urlencode($skill['name']).'">'.($skill['online']>0 ? "<font color=\"green\">".$skill['name']."</font>" : "".$skill['name']."</font>").'</a></td> <td align="center"><font color="#7073FC"><em>LvL '.$skill['level'].'</em></font></td>';
						}
					echo "$players_skill";
				?>
				</table>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-topguilds"></div>
					<div id="text-topguilds"></div>
				</div>
				
				<table width="100%" border="0">
				<?PHP
					$guilds = $SQL->query('SELECT `g`.`id` AS `id`, `g`.`name` AS `name`,
							`g`.`logo_gfx_name` AS `logo`, COUNT(`g`.`name`) as `frags`
					FROM `killers` k
							LEFT JOIN `player_killers` pk ON `k`.`id` = `pk`.`kill_id`
							LEFT JOIN `players` p ON `pk`.`player_id` = `p`.`id`
							LEFT JOIN `guild_ranks` gr ON `p`.`rank_id` = `gr`.`id`
							LEFT JOIN `guilds` g ON `gr`.`guild_id` = `g`.`id`
					WHERE `k`.`unjustified` = 1 AND `k`.`final_hit` = 1
							GROUP BY `name`
							ORDER BY `frags` DESC, `name` ASC
							LIMIT 0, 10;');
							$i = 0;
						foreach($guilds as $guild)
						{
						$i++;
						echo '<tr BGCOLOR="'.$bgcolor.'">
								<td align="center">'.$i.'. </td>
								<td align="left">
									<B><a href="?subtopic=guilds&action=show&guild=' . $guild['id'] . '">' . $guild['name'] . '</a></b>
								</td>
								<td align="center">' . $guild['frags'] . ' kills</td>
							</tr>';
						}
				?>
				</table>
			</div>
		</div>
		
		<div id="content_bot"></div>
	</div>
</body>
</html>

 

 

Otserver Global - Open Tibia

angera.servegame.com

Link para o post
Compartilhar em outros sites
3 horas atrás, amora murder disse:

Não tenho muita certeza se vou conseguir te ajudar. Mas substitui por esse aqui e me fala o que aconteceu, tira print da tela e posta aí, se possível

Se bugar a tela é só voltar pra como estava antes.

 

  Mostrar conteúdo oculto


<!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" ng-app>
<head>?
	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
	<title><?PHP echo $title; ?> ::Antiqua::</title>
	<meta name="author" content="Bufostudio.pl"/>
	<link rel="stylesheet" href="<?PHP echo $layout_name; ?>/_css/default.css" type="text/css" />
	<link rel="stylesheet" href="<?PHP echo $layout_name; ?>/_css/basic.css" type="text/css" />

 	<link rel="icon" href="<? echo $layout_name; ?>/images/favicon.ico" type="image/x-icon">
	
	<script type="text/javascript" src="<?PHP echo $layout_name; ?>/_js/slideshow.js"></script>
	<script type="text/javascript" src="<?PHP echo $layout_name; ?>/_js/jquery-1.4.2.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"></script>
	
	<script type='text/javascript'>
		$(document).ready(function(){
		$("img.a").hover(
			function() {
				$(this).stop().animate({"opacity": "0"}, "slow");
			},
			function() {
				$(this).stop().animate({"opacity": "1"}, "slow");
			});
		});
	</script>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'></script>

<script type='text/javascript'>
//<![CDATA[
jQuery.cookie = function (key, value, options) {
// key and at least value given, set cookie...
if (arguments.length > 1 && String(value) !== "[object Object]") {
options = jQuery.extend({}, options);
if (value === null || value === undefined) {
options.expires = -1;
}
if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setDate(t.getDate() + days);
}
value = String(value);
return (document.cookie = [
encodeURIComponent(key), '=',
options.raw ? value : encodeURIComponent(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}
// key and possibly options given, get cookie...
options = value || {};
var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
};
//]]>
</script>
    <?php echo $layout_header; ?>
</head>
<body>
	<div id="page">
		<div id="logo"></div>
		
		<div id="content">
			<div id="menu_top">
				<div class='img'>
					<div class="left">
						<div id='menu_top_home'>
							<a href="?subtopic=latestnews">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/news_1a.png' alt='<?PHP echo $title; ?> ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/news_1b.png' alt='<?PHP echo $title; ?> ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_acc'>
							<a href="?subtopic=accountmanagement">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/account_1a.png' alt='Account ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/account_1b.png' alt='Account ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_shop'>
							<a href="?subtopic=shopsystem">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/shop_1a.png' alt='Shop ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/shop_1b.png' alt='Shop ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						
					<div class="online">
						<?PHP
							$players_online = $SQL->query("SELECT COUNT(*) AS online FROM players WHERE world_id = '.$world_id.' and online = 1");
							foreach($players_online as $players);
							
							if($config['status']['serverStatus_online'] == 1){
									echo '<center style="text-shadow: 1px 1px #2d2d2d; text-transform: uppercase;"><img src='. $layout_name .'/_img/online/online.png /><br/>									
										<a style="color:#FFF;" href="index.php?subtopic=whoisonline">Online: '.$config['status']['serverStatus_players'].' ('.($players['online']-$config['status']['serverStatus_players']).' AFK)</a><br/>
										UpTime: <FONT color="green"><b>'.$config['status']['serverStatus_uptime'].'</b></FONT><br/>
										Monsters:  '. $config['status']['serverStatus_monsters'] .'
										</center>';
									}else{
								echo '<center style="text-shadow: 1px 1px #2d2d2d; text-transform: uppercase;"><img src='. $layout_name .'/_img/online/online.png /><br/>									
										<a style="color:#FFF;" href="index.php?subtopic=whoisonline">Online: '.$config['status']['serverStatus_players'].' ('.($players['online']-$config['status']['serverStatus_players']).' AFK)</a><br/>
										UpTime: <FONT color="green"><b>'.$config['status']['serverStatus_uptime'].'</b></FONT><br/>
										Monsters:  '. $config['status']['serverStatus_monsters'] .'
										</center>';}
						?>
					</div>
					
					<div class="right">
						<div id='menu_top_forum'>
							<a href="?subtopic=forum">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/forum_1a.png' alt='Forum ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/forum_1b.png' alt='Forum ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_highscores'>
							<a href="?subtopic=highscores">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/highscores_1a.png' alt='Highscores ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/highscores_1b.png' alt='Highscores ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
						<div id='menu_top_register'>
							<a href="?subtopic=createaccount">
								<div class='fadehover'>
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/register_1a.png' alt='Register ::Soft Cores:: ' class='a' />
									<img src='/<?PHP echo $layout_name; ?>/_img/menu/register_1b.png' alt='Register ::Soft Cores:: ' class='b' />
								</div>
							</a>
						</div>
					</div>
					</div>
				</div>
			</div>
			
			<div id="menu_left">
				<div id="menu-label">
					<div id="icon-news"></div>
					<div id="text-news"></div>
				</div>
				<div id="menu_links">
					<ul>
						<li><a href="?subtopic=latestnews">&nbsp;&raquo; Latest news</a></li>
						<li><a href="?subtopic=archive">&nbsp;&raquo; News archive</a></li>
						<li><a href="?subtopic=forum&action=show_thread&id=2"><b><font color="red">&nbsp;&raquo; New hunts</font></a></li>
						<li><a href="?subtopic=forum&action=show_thread&id=3">&nbsp;&raquo; Screenshots</a></li>
					</ul>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-account"></div>
					<div id="text-account"></div>
				</div>
				<div id="menu_links">
					<ul>
						<?PHP if($logged){
								if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
									echo '<li><a href="?subtopic=phpmyadmin"><font color="red">&nbsp;&raquo; PhpMyAdmin</font></a></li>
								<li><a href="?subtopic=shopadmin"><font color="red">&nbsp;&raquo; Shop Admin</font></a></li>';
								if($logged)
							echo '<li><a href="?subtopic=accountmanagement"><font color="orange"><b>Acc. Management</b></font></a></li>';
								}else{
							echo '<li><a href="?subtopic=accountmanagement"><b>&nbsp;&raquo; Login</b></a></li>
								<li><a href="?subtopic=createaccount"><b>&nbsp;&raquo; Create Account</b></a></li>
								<li><a href="?subtopic=lostaccount"><b>&nbsp;&raquo; Lost Account</b></a></li>';}?>
								<li><a href="?subtopic=tibiarules"><b>&nbsp;&raquo; Server Rules</b></a></li>
					</ul>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-community"></div>
					<div id="text-community"></div>
				</div>
				<div id="menu_links">
					<li><a href="?subtopic=characters">&nbsp;&raquo; Characters</a></li>
					<li><a href="?subtopic=whoisonline">&nbsp;&raquo; Who is Online?</a></li>
					<li><a href="?subtopic=highscores">&nbsp;&raquo; Highscores</a></li>
					<li><a href="?subtopic=killstatistics">&nbsp;&raquo; Kill Statistics</a></li>
					<li><a href="?subtopic=guilds">&nbsp;&raquo; Guilds</a></li>
					<li><a href="?subtopic=wars">&nbsp;&raquo; Guild Wars</a></li>
					<li><a href="?subtopic=forum">&nbsp;&raquo; Forum</a></li>
					<li><a href="?subtopic=team">&nbsp;&raquo; Support</a></li>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-library"></div>
					<div id="text-library"></div>
				</div>
				<div id="menu_links">
					<li><a href="?subtopic=serverinfo">&nbsp;&raquo; Server Info</a></li>
					<li><a href="?subtopic=tasks">&nbsp;&raquo; Task Info</a></li>
					<li><a href="?subtopic=quests">&nbsp;&raquo; Quest List</a></li>
					<li><a href="?subtopic=downloads">&nbsp;&raquo; Downloads</a></li>
					<li><a href="?subtopic=spells">&nbsp;&raquo; Spell List</a></li>
				</div>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-shop"></div>
					<div id="text-shop"></div>
				</div>
				<div id="menu_links">
						<li><a href="?subtopic=buypoints&system=homepay"><b><font color="red">&nbsp;&raquo; Buy Points</font></b></a></li>
						<li><a href="?subtopic=shopsystem"><b><font color="green">&nbsp;&raquo; Shop Offers</font></b></a></li>
						<?PHP
							if($logged)
								echo '<li><a href="?subtopic=shopsystem&action=show_history"><b>&nbsp;&raquo; Trans History</b></a></li>';
						?>
				</div>

			</div>
			
			<div id="content_text">
				<?PHP echo $main_content; ?>
			</div>
				
			<div id="menu_right">
				<div id="menu-label">
					<div id="icon-info"></div>
					<div id="text-info"></div>
				</div>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Exp: </span><i>Stage 20x</i><br/>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Skill: </span><i>5x</i><br/>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Magic: </span><i>3x</i><br/>
						<span class="white" style="font-weight: bold;">&nbsp;&raquo; Loot: </span><i>Personalizado</i>
			
				<div class="clean_5"></div>
			
				<div id="menu-label">
					<div id="icon-search"></div>
					<div id="text-search"></div>
				</div>
				
				<div class="clean_5"></div>
					<center>
						<FORM ACTION="?subtopic=characters" METHOD=post>
							<INPUT NAME="name" VALUE="" class="search" SIZE=20 MAXLENGTH=29>
							<div class="clean_5"></div>
							<INPUT TYPE=image NAME="Submit" SRC="layouts/cyber/images/buttons/sbutton_submit.gif" BORDER=0 WIDTH=120 HEIGHT=18>
						</FORM>
					</center>
			
				<div class="clean_5"></div>
			
				<div id="menu-label">
					<div id="icon-toplevel"></div>
					<div id="text-toplevel"></div>
				</div>
				
				<table width="100%" border="0">
				 <?PHP
					$order = 0;
					$number_of_people = 0;
					$skills = $SQL->query('SELECT name,online,level,experience,vocation,promotion FROM players WHERE players.deleted = 0 AND players.group_id < '.$config['site']['players_group_id_block'].' AND name != "Account Manager" AND name != "Rook Sample" AND name != "Sorcerer Sample" AND name != "Druid Sample" AND name != "Paladin Sample" AND name != "Knight Sample" ORDER BY level DESC, experience DESC LIMIT 10;');
						foreach($skills as $skill) {
						  $order++;
							if(is_int($number_of_people / 2))
								$bgcolor = $config['site']['darkborder'];
							else
								$bgcolor = $config['site']['lightborder'];
								$number_of_people++;
								$players_skill .= '<tr BGCOLOR="'.$bgcolor.'"><td align="center">'.$order.'.</td><td align="left"><B><a href="?subtopic=characters&name='.urlencode($skill['name']).'">'.($skill['online']>0 ? "<font color=\"green\">".$skill['name']."</font>" : "".$skill['name']."</font>").'</a></td> <td align="center"><font color="#7073FC"><em>LvL '.$skill['level'].'</em></font></td>';
						}
					echo "$players_skill";
				?>
				</table>
				
				<div class="clean_5"></div>
				
				<div id="menu-label">
					<div id="icon-topguilds"></div>
					<div id="text-topguilds"></div>
				</div>
				
				<table width="100%" border="0">
				<?PHP
					$guilds = $SQL->query('SELECT `g`.`id` AS `id`, `g`.`name` AS `name`,
							`g`.`logo_gfx_name` AS `logo`, COUNT(`g`.`name`) as `frags`
					FROM `killers` k
							LEFT JOIN `player_killers` pk ON `k`.`id` = `pk`.`kill_id`
							LEFT JOIN `players` p ON `pk`.`player_id` = `p`.`id`
							LEFT JOIN `guild_ranks` gr ON `p`.`rank_id` = `gr`.`id`
							LEFT JOIN `guilds` g ON `gr`.`guild_id` = `g`.`id`
					WHERE `k`.`unjustified` = 1 AND `k`.`final_hit` = 1
							GROUP BY `name`
							ORDER BY `frags` DESC, `name` ASC
							LIMIT 0, 10;');
							$i = 0;
						foreach($guilds as $guild)
						{
						$i++;
						echo '<tr BGCOLOR="'.$bgcolor.'">
								<td align="center">'.$i.'. </td>
								<td align="left">
									<B><a href="?subtopic=guilds&action=show&guild=' . $guild['id'] . '">' . $guild['name'] . '</a></b>
								</td>
								<td align="center">' . $guild['frags'] . ' kills</td>
							</tr>';
						}
				?>
				</table>
			</div>
		</div>
		
		<div id="content_bot"></div>
	</div>
</body>
</html>

 

 

Deu em nada mano, não deu nenhum erro mas também não removeu os botoes do face, ta normal.

 

Link para o post
Compartilhar em outros sites

@RAJADAO procura saber o nome da imagem e depois abre o layout.php e o latestnews,php como notepad ou bloco de notas e da um CTRL + F e procura o nome da imagem, remove a linha que puxa a imagem e salva, NÃO FECHA O ARQUIVO, POIS SE NÃO DER CERTO E BUGAR ALGO VOCÊ PODE VOLTAR E TENTAR DE NOVO.....

Link para o post
Compartilhar em outros sites
Em 25/09/2018 em 22:56, Emanueldk disse:

@RAJADAO procura saber o nome da imagem e depois abre o layout.php e o latestnews,php como notepad ou bloco de notas e da um CTRL + F e procura o nome da imagem, remove a linha que puxa a imagem e salva, NÃO FECHA O ARQUIVO, POIS SE NÃO DER CERTO E BUGAR ALGO VOCÊ PODE VOLTAR E TENTAR DE NOVO.....

 

nada nada =/

Editado por RAJADAO (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

posta o link do site em produção que posso dar uma ajuda.

<?php

$assinatura = function($texto) {
	return $texto;
};

$assinatura('Eu ainda não tenho uma assinatura decente ):, php ♥');
?>

Meus sites.:

https://ferobraglobal.com/
https://codenome.com/
https://uam.codenome.com/

https://myci.myara.net/

 

Me ajuda no café:
http://picpay.me/ricardo.codenome

 

Link para o post
Compartilhar em outros sites
Agora, ricardo codenome disse:

posta o link do site em produção que posso dar uma ajuda.

 

www.antiqua74.com

Editado por RAJADAO (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

ta com loop infinito esse link ae

<?php

$assinatura = function($texto) {
	return $texto;
};

$assinatura('Eu ainda não tenho uma assinatura decente ):, php ♥');
?>

Meus sites.:

https://ferobraglobal.com/
https://codenome.com/
https://uam.codenome.com/

https://myci.myara.net/

 

Me ajuda no café:
http://picpay.me/ricardo.codenome

 

Link para o post
Compartilhar em outros sites
6 minutos atrás, ricardo codenome disse:

ta com loop infinito esse link ae

 

Como assim ? Não entendo nada de web =/

Entra pelo ip então, 158.69.131.119

Link para o post
Compartilhar em outros sites

Manda teu arquivo Latest news ae

<?php

$assinatura = function($texto) {
	return $texto;
};

$assinatura('Eu ainda não tenho uma assinatura decente ):, php ♥');
?>

Meus sites.:

https://ferobraglobal.com/
https://codenome.com/
https://uam.codenome.com/

https://myci.myara.net/

 

Me ajuda no café:
http://picpay.me/ricardo.codenome

 

Link para o post
Compartilhar em outros sites
4 minutos atrás, ricardo codenome disse:

Manda teu arquivo Latest news ae

 

<?PHP header("Content-Type: text/html; charset=ISO-8859-1",true);
date_default_timezone_set('America/Sao_Paulo');
    // top kills - guilds
    $main_content .= '<center><div class="NewsHeadline">
        <div class="NewsHeadlineBackground"">
            <table border="0">
                <tr>
                    <td style="text-align: center; font-weight: bold;">
					 <div class="fb-like fb_iframe_widget" data-href="https://www.facebook.com/antiqua74" data-layout="standard" data-action="like" data-show-faces="false" data-share="true" fb-xfbml-state="rendered" fb-iframe-plugin-query="action=like&amp;app_id=497232093667125&amp;container_width=720&amp;href=https%3A%2F%2Fwww.facebook.com%2FOldServbr&amp;layout=standard&amp;locale=en_US&amp;sdk=joey&amp;share=true&amp;show_faces=false"><span style="vertical-align: bottom; width: 450px; height: 20px;"><iframe name="f26839eaf9525ec" width="1000px" height="1000px" frameborder="0" allowtransparency="false" allowfullscreen="true" scrolling="no" title="fb:like Facebook Social Plugin" src="http://www.facebook.com/plugins/like.php?action=like&amp;app_id=497232093667125&amp;channel=http%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D42%23cb%3Df30dbf3dfeb5868%26domain%3DOldServbr.com%26origin%3Dhttp%253A%252F%252FOldServbr.com%252Ff38d449e4607c38%26relation%3Dparent.parent&amp;container_width=720&amp;href=https%3A%2F%2Fwww.facebook.com%2FOldServbr&amp;layout=standard&amp;locale=en_US&amp;sdk=joey&amp;share=true&amp;show_faces=false" style="border: none; visibility: visible; width: 550px; height: 30px;" class=""></iframe></span></div> 
                        <font color="white">Most powerfull guilds</font>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <table border="0" cellspacing="3" cellpadding="4" width="100%"><tr>';
   
    foreach($SQL->query('SELECT `g`.`id` AS `id`, `g`.`name` AS `name`, COUNT(`g`.`name`) as `frags` FROM `players` p LEFT JOIN `player_deaths` pd ON `pd`.`killed_by` = `p`.`name` LEFT JOIN `guild_membership` gm ON `p`.`id` = `gm`.`player_id` LEFT JOIN `guilds` g ON `gm`.`guild_id` = `g`.`id` WHERE `g`.`id` > 0 AND `pd`.`unjustified` = 1 GROUP BY `name` ORDER BY `frags` DESC, `name` ASC LIMIT 4;') as $guild)
    $main_content .= '<td style="width: 25%; text-align: center;"><a href="?subtopic=guilds&action=show&guild=' . $guild['id'] . '"><img src="guild_image.php?id=' . $guild['id'] . '" width="64" height="64" border="0"/> <br />' . $guild['name'] . '</a><br />' . $guild['frags'] . ' kills
    </td>';
    $main_content .= '</tr></table></center>';
//######################## SHOW TICKERS AND NEWS #######################
if ($logged){
$players_from_account = $SQL->query("SELECT `players`.`name`, `players`.`id` FROM `players` WHERE `players`.`account_id` = ".(int) $account_logged->getId())->fetchAll();
foreach($players_from_account as $player)
    {
        $str .= '<option value="'.$player['id'].'"';
            if($player['id'] == $char_id)
            $strt .= ' selected="selected"';
            $str .= '>'.$player['name'].'</option>';
    }
}
$time = time();
$news_content .= '
<div id="newsticker" class="Box">
<div class="Corner-tl" style="background-image: url('.$layout_name.'/images/content/corner-tl.gif);"></div>
<div class="Corner-tr" style="background-image: url('.$layout_name.'/images/content/corner-tr.gif);"></div>
<div class="Border_1" style="background-image: url('.$layout_name.'/images/content/border-1.gif);"></div>
<div class="BorderTitleText" style="background-image: url('.$layout_name.'/images/content/title-background-green.gif);"></div>
<img class="Title"  src="/images/head/News Ticker.png" alt="Contentbox headline" />
	
<div class="Border_2">
<div class="Border_3">
<div class="BoxContent" style="background-image: url('.$layout_name.'/images/content/scroll.gif);">';
//##################### ADD NEW TICKER #####################
if($action == "newticker") {
if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) {
$ticker_text = stripslashes(trim($_POST['new_ticker']));
$ticker_icon = (int) $_POST['icon_id'];
if(empty($ticker_text)) {
$news_content .= 'You can\'t add empty ticker.';
}
else
{
if(empty($ticker_icon)) {
$news_icon = 0;
}
$SQL->query('INSERT INTO '.$SQL->tableName('z_news_tickers').' (date, author, image_id, text, hide_ticker) VALUES ('.$SQL->quote($time).', '.$account_logged->getId().', '.$ticker_icon.', '.$SQL->quote($ticker_text).', 0)');
$news_content .= '<center><h2><font color="red">Added new ticker:</font></h2></center><hr/>
<div id="newsticker" class="Box">
<div id="TickerEntry-1" class="Row" onclick=\'TickerAction("TickerEntry-1")\'>
<div class="Odd">
<div class="NewsTickerIcon" style="background-image: url('.$layout_name.'/images/news/icon_'.$ticker['image_id'].'.gif);"></div>
<div id="TickerEntry-1-Button" class="NewsTickerExtend" style="background-image: url('.$layout_name.'/images/general/plus.gif);"></div>
<div class="NewsTickerText">
<span class="NewsTickerDate">'.date("j M Y", $time).' -</span>
<div id="TickerEntry-1-ShortText" class="NewsTickerShortText">';
$news_content .= '<a href="index.php?subtopic=latestnews&action=deleteticker&id='.$time.'"><img src="'.$layout_name.'/images/news/delete.png" border="0"></a>';
$news_content .= short_text($ticker_text, 60).'
</div>
<div id="TickerEntry-1-FullText" class="NewsTickerFullText">';
$news_content .= '<a href="index.php?subtopic=latestnews&action=deleteticker&id='.$time.'"><img src="'.$layout_name.'/images/news/delete.png" border="0"></a>';
$news_content .= $ticker_text.'
</div>
</div>
</div>
</div>
</div><hr/>';
}
}
else
{
$news_content .= 'You don\'t have admin rights. You can\'t add new ticker.';
}
$news_content .= '<form action="index.php?subtopic=latestnews" METHOD="post"><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Back" alt="Back" src="'.$layout_name.'/images/buttons/_sbutton_back.gif" ></div></div></form>';
}
//#################### DELETE (HIDE only!) TICKER ############################
if($action == "deleteticker") {
if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) {
header("Location: ");
$date = (int) $_REQUEST['id'];
$SQL->query('UPDATE '.$SQL->tableName('z_news_tickers').' SET hide_ticker = 1 WHERE '.$SQL->fieldName('date').' = '.$date.';');
$news_content .= '<center>News tickets with <b>date '.date("j M Y", $date).'</b> has been deleted.<form action="index.php?subtopic=latestnews" METHOD=post><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Back" alt="Back" src="'.$layout_name.'/images/buttons/_sbutton_back.gif" ></div></div></form></center>';
}
else
{
$news_content .= '<center>You don\'t have admin rights. You can\'t delete tickers.<form action="index.php?subtopic=latestnews" METHOD=post><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Back" alt="Back" src="'.$layout_name.'/images/buttons/_sbutton_back.gif" ></div></div></form></center>';
}
}
//show tickers if any in database or not blocked (tickers limit = 0)
$tickers = $SQL->query('SELECT * FROM `z_news_tickers` WHERE hide_ticker != 1 ORDER BY date DESC LIMIT 50;');
$number_of_tickers = 0;
if(is_object($tickers)) {
foreach($tickers as $ticker) {
if(is_int($number_of_tickers / 2))
$color = "Odd";
else
$color = "Even";
$tickers_to_add .= '
<div id="TickerEntry-'.$number_of_tickers.'" class="Row" onclick=\'TickerAction("TickerEntry-'.$number_of_tickers.'")\'>
<div class="'.$color.'">
<div class="NewsTickerIcon" style="background-image: url('.$layout_name.'/images/news/icon_'.$ticker['image_id'].'.gif);"></div>
<div id="TickerEntry-'.$number_of_tickers.'-Button" class="NewsTickerExtend" style="background-image: url('.$layout_name.'/images/general/plus.gif);"></div>
<div class="NewsTickerText">
<span class="NewsTickerDate">'.date("j M Y", $ticker['date']).' -</span>
<div id="TickerEntry-'.$number_of_tickers.'-ShortText" class="NewsTickerShortText">';
//if admin show button to delete (hide) ticker
if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) {
$tickers_to_add .= '<a href="index.php?subtopic=latestnews&action=deleteticker&id='.$ticker['date'].'"><img src="'.$layout_name.'/images/news/delete.png" border="0"></a>';
}
$tickers_to_add .= short_text($ticker['text'], 60).'</div>
<div id="TickerEntry-'.$number_of_tickers.'-FullText" class="NewsTickerFullText">';
//if admin show button to delete (hide) ticker
if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) {
$tickers_to_add .= '<a href="index.php?subtopic=latestnews&action=deleteticker&id='.$ticker['date'].'"><img src="'.$layout_name.'/images/news/delete.png" border="0"></a>';
}
$tickers_to_add .= $ticker['text'].'</div>
</div>
</div>
</div>';
$number_of_tickers++;
}
}
if(!empty($tickers_to_add)) {
//show table with tickers
if($group_id_of_acc_logged >= $config['site']['access_admin_panel'] && $action!=newticker)
$news_content .= '<script type="text/javascript">
var showednewticker_state = "0";
function showNewTickerForm()
{
if(showednewticker_state == "0") {
document.getElementById("newtickerform").innerHTML = \'<form action="index.php?subtopic=latestnews&action=newticker" method="post" ><table border="0"><tr><td bgcolor="D4C0A1" align="center"><b>Select icon:</b></td><td><table border="0" bgcolor="F1E0C6"><tr><td><img src="'.$layout_name.'/images/news/icon_0.gif" width="20"></td><td><img src="'.$layout_name.'/images/news/icon_1.gif" width="20"></td><td><img src="'.$layout_name.'/images/news/icon_2.gif" width="20"></td><td><img src="'.$layout_name.'/images/news/icon_3.gif" width="20"></td><td><img src="'.$layout_name.'/images/news/icon_4.gif" width="20"></td></tr><tr><td><input type="radio" name="icon_id" value="0" checked="checked"></td><td><input type="radio" name="icon_id" value="1"></td><td><input type="radio" name="icon_id" value="2"></td><td><input type="radio" name="icon_id" value="3"></td><td><input type="radio" name="icon_id" value="4"></td></tr></table></td></tr><tr><td align="center" bgcolor="D4C0A1"><b>New<br>ticker<br>text:</b></td><td bgcolor="F1E0C6"><textarea name="new_ticker" rows="3" cols="45"></textarea></td></tr><tr><td><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif" ></div></div></form><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><img class="ButtonText" id="AddTicker" src="'.$layout_name.'/images/buttons/_sbutton_cancel.gif" onClick="showNewTickerForm()" alt="AddTicker" /></div></div></td></tr></table>\';
document.getElementById("jajo").innerHTML = \'\';
showednewticker_state = "1";
}
else {
document.getElementById("newtickerform").innerHTML = \'\';
document.getElementById("jajo").innerHTML = \'<div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><img class="ButtonText" id="AddTicker" src="'.$layout_name.'/images/buttons/addticker.gif" onClick="showNewTickerForm()" alt="AddTicker" /></div></div>\';
showednewticker_state = "0";
}
}
</script><div id="newtickerform"></div><div id="jajo"><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><img class="ButtonText" id="AddTicker" src="'.$layout_name.'/images/buttons/addticker.gif" onClick="showNewTickerForm()" alt="AddTicker" /></div></div></div><hr/>';
//add tickers list
$news_content .= $tickers_to_add;
//koniec
}
$news_content .= '</div>
</div>
</div>
<div class="Border_1" style="background-image: url('.$layout_name.'/images/content/border-1.gif);"></div>
<div class="CornerWrapper-b"><div class="Corner-bl" style="background-image: url('.$layout_name.'/images/content/corner-bl.gif);"></div></div>
<div class="CornerWrapper-b"><div class="Corner-br" style="background-image: url('.$layout_name.'/images/content/corner-br.gif);"></div></div>
</div>';
//end of tickers, news part
//featured article
//sem creditos do autor, apenas postado por Dhenyz Shady no X-tibia.

$news_content .= '
    <div id="news" class="Box">
    <div class="Corner-tl" style="background-image:url('.$layout_name.'/images/content/corner-tl.gif);"></div>
    <div class="Corner-tr" style="background-image:url('.$layout_name.'/images/content/corner-tr.gif);"></div>
    <div class="Border_1" style="background-image:url('.$layout_name.'/images/content/border-1.gif);"></div>
    <div class="BorderTitleText" style="background-image:url(layouts/tibiacom/images/content/title-background-green.gif);"></div>
   <img class="Title" src="/images/head/Featured Article.png" alt="Contentbox headline" />
    <div class="Border_2">
        <div class="Border_3">
            <div class="BoxContent" style="background-image:url('.$layout_name.'/images/content/scroll.gif);">
                <div id=\'TeaserThumbnail\'><img src="layouts/tibiacom/images/news/topitems.jpg" width=150 height=100 border=0 alt="" ALIGN=right hspace="10" /></div>
                <div id=\'TeaserText\'>
                    <div style="position: relative; top: -9px; margin-bottom: -60px;"></br>
				 <b><font size="5px"><center><b><font style="text-decoration: inherit; text-shadow:#000 1px -1px 2px, #000 -1px 1px 2px, #000 1px 1px 2px, #000 -1px -1px 2px" size="1px" color="white">| IP: <font color="#00FF00">www.warglobal.com.br</font> / Port: <font color="#00FF00">7171</font> / Client: <font color="#00FF00">10.51</font>/<font color="#00FF00">10.53</font> |</b></font></center><br></b><font size="2px">Seja bem vindo ao <b><font color="green">www.warglobal.com.br</font></b>, servidor feito especialmente para jogadores que gostam de um pvp up. Oferecemos quests, outfits e quest sem algumas missoes, temos uma boa jogabilidade e estabilidade que poucos ots tem, esperamos que goste.<br><br><br><br>	
                </font> </div>
	 </div>
            </div>
        </div>
    </div>
    <div class="Border_1" style="background-image: url('.$layout_name.'/images/content/border-1.gif);"></div>
    <div class="CornerWrapper-b"><div class="Corner-bl" style="background-image: url('.$layout_name.'/images/content/corner-bl.gif);"></div></div>
    <div class="CornerWrapper-b"><div class="Corner-br" style="background-image: url('.$layout_name.'/images/content/corner-br.gif);"></div></div>
    </div>
';
//Fim do featured Article
//adding news
if($action == "newnews") {
if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) {
$text = ($_REQUEST['text']);
$char_id = (int) $_REQUEST['char_id'];
$post_topic = stripslashes(trim($_REQUEST['topic']));
$smile = (int) $_REQUEST['smile'];
$news_icon = (int) $_REQUEST['icon_id'];
if(empty($news_icon)) {
$news_icon = 0;
}
if(empty($post_topic)) {
$an_errors[] .= 'You can\'t add news without topic.';
}
if(empty($text)) {
$an_errors[] .= 'You can\'t add empty news.';
}
if(empty($char_id)) {
$an_errors[] .= 'Select character.';
}
//execute query
if(empty($an_errors)) {
$SQL->query("INSERT INTO `z_forum` (`id` ,`first_post` ,`last_post` ,`section` ,`replies` ,`views` ,`author_aid` ,`author_guid` ,`post_text` ,`post_topic` ,`post_smile` ,`post_date` ,`last_edit_aid` ,`edit_date`, `post_ip`, `icon_id`) VALUES ('NULL', '0', '".time()."', '1', '0', '0', '".$account_logged->getId()."', '".(int) $char_id."', ".$SQL->quote($text).", ".$SQL->quote($post_topic).", '".(int) $smile."', '".time()."', '0', '0', '".$_SERVER['REMOTE_ADDR']."', '".$news_icon."')");
$thread_id = $SQL->lastInsertId();
$SQL->query("UPDATE `z_forum` SET `first_post`=".(int) $thread_id." WHERE `id` = ".(int) $thread_id);//show added data
$main_content .= '<form action="index.php?subtopic=latestnews" METHOD=post><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Back" alt="Back" src="'.$layout_name.'/images/buttons/_sbutton_back.gif" ></div></div></form>';
}
else
{
//show errors
$main_content .= '<div class="SmallBox" >  <div class="MessageContainer" >    <div class="BoxFrameHorizontal" style="background-image:url('.$layout_name.'/images/content/box-frame-horizontal.gif);" /></div>    <div class="BoxFrameEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div>    <div class="BoxFrameEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div>    <div class="ErrorMessage" >      <div class="BoxFrameVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></div>      <div class="BoxFrameVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></div>      <div class="AttentionSign" style="background-image:url('.$layout_name.'/images/content/attentionsign.gif);" /></div><b>The Following Errors Have Occurred:</b><br/>';
foreach($an_errors as $an_error) {
	$main_content .= '<li>'.$an_error;
}
$main_content .= '</div>    <div class="BoxFrameHorizontal" style="background-image:url('.$layout_name.'/images/content/box-frame-horizontal.gif);" /></div>    <div class="BoxFrameEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div>    <div class="BoxFrameEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div>  </div></div><br/>';
//okno edycji newsa z wpisanymi danymi przeslanymi wczesniej
$main_content .= '<form action="index.php?subtopic=latestnews&action=newnews" method="post" ><table border="0"><tr><td bgcolor="D4C0A1" align="center"><b>Select icon:</b></td><td><table border="0" bgcolor="F1E0C6"><tr><td><img src="'.$layout_name.'/images/news/icon_0.gif" width="20"></td><td><img src="'.$layout_name.'/images/news/icon_1.gif" width="20"></td><td><img src="'.$layout_name.'/images/news/icon_2.gif" width="20"></td><td><img src="'.$layout_name.'/images/news/icon_3.gif" width="20"></td><td><img src="'.$layout_name.'/images/news/icon_4.gif" width="20"></td></tr><tr><td><input type="radio" name="icon_id" value="0" checked="checked"></td><td><input type="radio" name="icon_id" value="1"></td><td><input type="radio" name="icon_id" value="2"></td><td><input type="radio" name="icon_id" value="3"></td><td><input type="radio" name="icon_id" value="4"></td></tr></table></td></tr><tr><td align="center" bgcolor="F1E0C6"><b>Topic:</b></td><td><input type="text" name="topic" maxlenght="50" style="width: 300px" value="'.$post_topic.'"></td></tr><tr><td align="center" bgcolor="D4C0A1"><b>News<br>text:</b></td><td bgcolor="F1E0C6"><textarea name="text" rows="6" cols="60">'.$text.'</textarea></td></tr><tr><td width="180"><b>Character:</b></td><td><select name="char_id"><option value="0">(Choose character)</option>'.$str.'</select></td></tr><tr><td><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif" ></div></div></form><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><img class="ButtonText" id="CancelAddNews" src="'.$layout_name.'/images/buttons/_sbutton_cancel.gif" onClick="location.href=\'index.php?subtopic=latestnews\';" alt="CancelAddNews" /></div></div></td></tr></table>';
}
}
else
{
$main_content .= 'You don\'t have site-admin rights. You can\'t add news.';}
}
//####################Show script with new news panel############################								
if($group_id_of_acc_logged >= $config['site']['access_admin_panel'] && $action != 'newnews')
{

$main_content .= '
<font style="font-size: 16px; font-weight: bold; margin-left: 20px;">New News</font>
<form action="index.php?subtopic=latestnews&action=newnews" method="post" >
<table border="0">
<tr>
<td bgcolor="D4C0A1" align="center"><b>Select icon:</b></td>
<td>
<table border="0">
<tr bgcolor="F1E0C6">
<td><img src="'.$layout_name.'/images/news/icon_0.gif" width="20"></td>
<td><img src="'.$layout_name.'/images/news/icon_1.gif" width="20"></td>
<td><img src="'.$layout_name.'/images/news/icon_2.gif" width="20"></td>
<td><img src="'.$layout_name.'/images/news/icon_3.gif" width="20"></td>
<td><img src="'.$layout_name.'/images/news/icon_4.gif" width="20"></td>
</tr>
<tr bgcolor="D4C0A1">
<td><input type="radio" name="icon_id" value="0" checked="checked"></td>
<td><input type="radio" name="icon_id" value="1" /></td>
<td><input type="radio" name="icon_id" value="2" /></td>
<td><input type="radio" name="icon_id" value="3" /></td>
<td><input type="radio" name="icon_id" value="4" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" bgcolor="F1E0C6"><b>Topic:</b></td>
<td><input type="text" name="topic" maxlenght="50" style="width: 300px" ></td>
</tr>
<tr>
<td align="center" bgcolor="D4C0A1"><b>News<br>text:</b></td>
<td bgcolor="F1E0C6"><textarea name="text" rows="6" cols="50"></textarea></td>
</tr>
<tr>
<td width="180"><b>Character:</b></td>
<td><select name="char_id"><option value="0">(Choose character)</option>'.$str.'</select></td>
</tr>
<tr>
<td>
<div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif" ></div></div></form></td></tr>
</table>
<hr/>';
$zapytanie = $SQL->query("SELECT `z_forum`.`icon_id`,`z_forum`.`post_topic`, `z_forum`.`author_guid`, `z_forum`.`post_date`, `z_forum`.`post_text`, `z_forum`.`id`, `z_forum`.`replies`, `players`.`name` FROM `z_forum`, `players` WHERE `section` = '1' AND `z_forum`.`id` = `first_post` AND `players`.`id` = `z_forum`.`author_guid` ORDER BY `post_date` DESC LIMIT 3;")->fetchAll();
}
///show news
$announcements = $SQL->query("SELECT * FROM `announcements` WHERE id ORDER BY `date` DESC LIMIT 1");
foreach ($announcements as $announcementsRow){
$news_content .= '<div id="featuredarticle" class="Box">
<div class="Corner-tl" style="background-image:url('.$layout_name.'/images/content/corner-tl.gif);"></div>
<div class="Corner-tr" style="background-image:url('.$layout_name.'/images/content/corner-tr.gif);"></div>
<div class="Border_1" style="background-image:url('.$layout_name.'/images/content/border-1.gif);"></div>
<div class="BorderTitleText" style="background-image:url('.$layout_name.'/images/content/title-background-green.gif);"></div>
<img class="Title" src="montaimg.php?text=Announcement" alt="Contentbox headline" />
<div class="Border_2">
<div class="Border_3">
<div class="BoxContent" style="background-image:url('.$layout_name.'/images/content/scroll.gif);">
<div id="TeaserThumbnail"><img src="images/news/announcement.jpg" width="150" height="100" border="0" alt="" /></div>
<div id="TeaserText">
<div style="position: relative; margin-bottom: 2px;" >
<div style="font-size:18px; font-weight:bold;">'.$announcementsRow['title'].'</div>
</div>
'.$announcementsRow['text'].'
<br />
<br />
<small style="float: right;">Posted by <font color="red">'.$announcementsRow['author'].'</font> - '.date("d M Y", $announcementsRow['date']).'</small>';
if ($logged)if ($account_logged->getCustomField("page_access") > 6 ){ $news_content .='<input type="button" value="Deletar" OnClick="location.href=\'index.php?subtopic=cpanel&action=deletar_ann&id='.$announcementsRow['id'].'\'" />';} 
$news_content .='
</div>
</div>
</div>
</div>

<div class="Border_1" style="background-image:url('.$layout_name.'/images/content/border-1.gif);"></div>
<div class="CornerWrapper-b"><div class="Corner-bl" style="background-image:url('.$layout_name.'/images/content/corner-bl.gif);"></div></div>
<div class="CornerWrapper-b"><div class="Corner-br" style="background-image:url('.$layout_name.'/images/content/corner-br.gif);"></div></div>
</div>
';
}

//
$zapytanie = $SQL->query("SELECT `z_forum`.`icon_id`,`z_forum`.`post_topic`, `z_forum`.`author_guid`, `z_forum`.`post_date`, `z_forum`.`post_text`, `z_forum`.`id`, `z_forum`.`replies`, `players`.`name` FROM `z_forum`, `players` WHERE `section` = '1' AND `z_forum`.`id` = `first_post` AND `players`.`id` = `z_forum`.`author_guid` ORDER BY `post_date` DESC LIMIT 6;")->fetchAll();
foreach ($zapytanie as $row)
{
        $BB = array(
		'/\[youtube\](.*?)\[\/youtube\]/is' => '<center><object width="500" height="405"><param name="movie" value="http://www.youtube.com/v/$1&hl=pt-br&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/$1&hl=pt-br&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="405"></embed></object></center>',
		'/\[b\](.*?)\[\/b\]/is' => '<strong>$1</strong>',
		'/\[center\](.*?)\[\/center\]/is' => '<center>$1</center>',
		'/\[quote\](.*?)\[\/quote\]/is' => '<table cellpadding="0" style="background-color: #c4c4c4; width: 480px; border-style: dotted; border-color: #007900; border-width: 2px"><tr><td>$1</td></tr></table>',
		'/\[u\](.*?)\[\/u\]/is' => '<u>$1</u>',
		'/\[i\](.*?)\[\/i\]/is' => '<i>$1</i>',
		'/\[letter\](.*?)\[\/letter\]/is' => '<img src=images/letters/$1.gif alt=$1 />',
		'/\[url](.*?)\[\/url\]/is' => '<a href=$1>$1</a>',
		'/\[color\=(.*?)\](.*?)\[\/color\]/is' => '<span style="color: $1;">$2</span>',
		'/\[img\](.*?)\[\/img\]/is' => '<img src=$1 alt=$1 />',
		'/\[player\](.*?)\[\/player\]/is' => '<a href='.$server['ip'].'index.php?subtopic=characters&amp;name=$1>$1</a>',
		'/\[code\](.*?)\[\/code\]/is' => '<div dir="ltr" style="margin: 0px;padding: 2px;border: 1px inset;width: 500px;height: 290px;text-align: left;overflow: auto"><code style="white-space:nowrap">$1</code></div>'
		);
		$message = preg_replace(array_keys($BB), array_values($BB), nl2br($row['post_text']));
        $main_content .= '
		<div class="NewsHeadline">
		<div class="NewsHeadlineBackground" style="">
		<center><h3><div class="NewsHeadlineText"><br>'.$row['post_topic'].'</div></h3></center>
		</div>
		</div>
		<table style=\'clear:both\' border=0 cellpadding=0 cellspacing=0 width=\'100%\'><tr>
		<td><img src="'.$layout_name.'/images/global/general/blank.gif" width=10 height=1 border=0 alt=\'\' /></td>';
		if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
		{
			$main_content .='<td width="100%">'.$message.'<br><p align="right"><a href="index.php?subtopic=forum&action=remove_post&id='.$row['id'].'"><font color="red">[Delete this news]</font></a>  <a href="index.php?subtopic=forum&action=edit_post&id='.$row['id'].'"><font color="green">[Edit this news]</font></a>';
		}
		else		
		{
			$main_content .='<td width="100%">'.$message.'<br /><br />';		
		}
		$main_content .= '</td>
		<td><img src="'.$layout_name.'/images/global/general/blank.gif" width=10 height=1 border=0 alt=\'\' /></td>
		</tr></table>';

}
?>

 

Link para o post
Compartilhar em outros sites
  • Solução
1 minuto atrás, RAJADAO disse:

<div class="fb-like fb_iframe_widget" data-href="https://www.facebook.com/antiqua74" data-layout="standard" data-action="like" data-show-faces="false" data-share="true" fb-xfbml-state="rendered" fb-iframe-plugin-query="action=like&amp;app_id=497232093667125&amp;container_width=720&amp;href=https%3A%2F%2Fwww.facebook.com%2FOldServbr&amp;layout=standard&amp;locale=en_US&amp;sdk=joey&amp;share=true&amp;show_faces=false"><span style="vertical-align: bottom; width: 450px; height: 20px;"><iframe name="f26839eaf9525ec" width="1000px" height="1000px" frameborder="0" allowtransparency="false" allowfullscreen="true" scrolling="no" title="fb:like Facebook Social Plugin" src="http://www.facebook.com/plugins/like.php?action=like&amp;app_id=497232093667125&amp;channel=http%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D42%23cb%3Df30dbf3dfeb5868%26domain%3DOldServbr.com%26origin%3Dhttp%253A%252F%252FOldServbr.com%252Ff38d449e4607c38%26relation%3Dparent.parent&amp;container_width=720&amp;href=https%3A%2F%2Fwww.facebook.com%2FOldServbr&amp;layout=standard&amp;locale=en_US&amp;sdk=joey&amp;share=true&amp;show_faces=false" style="border: none; visibility: visible; width: 550px; height: 30px;" class=""></iframe></span></div>

tira essa parte do código e GG

<?php

$assinatura = function($texto) {
	return $texto;
};

$assinatura('Eu ainda não tenho uma assinatura decente ):, php ♥');
?>

Meus sites.:

https://ferobraglobal.com/
https://codenome.com/
https://uam.codenome.com/

https://myci.myara.net/

 

Me ajuda no café:
http://picpay.me/ricardo.codenome

 

Link para o post
Compartilhar em outros sites
9 minutos atrás, ricardo codenome disse:

tira essa parte do código e GG

 

Foi mano, brigadão, eu queria add um botao daqueles que fica na lateral >>> quando rola a pagina ele sobe e desce junto, pode me ajudar a botar ele lá no site ? se não for te atrapalhar eh claro, ja ajudou bastante rep+

e como assim o site ta com loop infinito mano ? Como resolve isso ? o.o

Editado por RAJADAO (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

Usa esse arquivo, coloca ele na pasta layouts

 

fb_float_plugin.js

 

coloca essa tag em qq lugar depois da abertura do <body> no layout.php

<script id="float_fb" src="<?=$layout_name?>/fb_float_plugin.js" data-href="<?=$config['social']['facebook']?>" async></script>

 

Editado por ricardo codenome (veja o histórico de edições)
<?php

$assinatura = function($texto) {
	return $texto;
};

$assinatura('Eu ainda não tenho uma assinatura decente ):, php ♥');
?>

Meus sites.:

https://ferobraglobal.com/
https://codenome.com/
https://uam.codenome.com/

https://myci.myara.net/

 

Me ajuda no café:
http://picpay.me/ricardo.codenome

 

Link para o post
Compartilhar em outros sites
Agora, ricardo codenome disse:

Usa esse arquivo, coloca ele na pasta layouts

 

fb_float_plugin.js

 

coloca essa tag em qq lugar depois da abertura do <body> no layout.php


<script id="float_fb" src="<?=$layout_name?>/fb_float_plugin.js" data-href="<?=$config['social']['facebook']?>" async></script>

 

 

Então, eu to com esse aqui tbm

 

 <div id="fbplikebox" style="right: -250px; top: 100px;">
    <div class="fbplbadge"></div> 
    <iframe src="http://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/NOMEDOSEUOT/?fref=ts/963936866981152?fref=tsref=hl&amp;width=250&amp;height=250&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23C4C4C4&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:250px;background:#FFFFFF;" allowtransparency="true"></iframe>
</div>

 

só não sei onde tem que colocar pra ele ficar no canto da pagina >> como na foto.for

Ai ele fornece o codigo e fala que tem que colocar em layout.php, mas onde exatamente ?

Link para o post
Compartilhar em outros sites
Em 25/09/2018 em 16:45, RAJADAO disse:

<table width="100%" border="0"> <?PHP $order = 0; $number_of_people = 0; $skills = $SQL->query('SELECT name,online,level,experience,vocation,promotion FROM players WHERE players.deleted = 0 AND players.group_id < '.$config['site']['players_group_id_block'].' AND name != "Account Manager" AND name != "Rook Sample" AND name != "Sorcerer Sample" AND name != "Druid Sample" AND name != "Paladin Sample" AND name != "Knight Sample" ORDER BY level DESC, experience DESC LIMIT 10;'); foreach($skills as $skill) { $order++; if(is_int($number_of_people / 2)) $bgcolor = $config['site']['darkborder']; else $bgcolor = $config['site']['lightborder']; $number_of_people++; $players_skill .= '<tr BGCOLOR="'.$bgcolor.'"><td align="center">'.$order.'.</td><td align="left"><B><a href="?subtopic=characters&name='.urlencode($skill['name']).'">'.($skill['online']>0 ? "<font color=\"green\">".$skill['name']."</font>" : "".$skill['name']."</font>").'</a></td> <td align="center"><font color="#7073FC"><em>LvL '.$skill['level'].'</em></font></td>'; } echo "$players_skill"; ?> </table>

Depois dessa parte:

no layouts.php

<?php

$assinatura = function($texto) {
	return $texto;
};

$assinatura('Eu ainda não tenho uma assinatura decente ):, php ♥');
?>

Meus sites.:

https://ferobraglobal.com/
https://codenome.com/
https://uam.codenome.com/

https://myci.myara.net/

 

Me ajuda no café:
http://picpay.me/ricardo.codenome

 

Link para o post
Compartilhar em outros sites
3 minutos atrás, ricardo codenome disse:

Depois dessa parte:

no layouts.php

 

Não apareceu, da uma olhada no layout.php como ficou se ta certo pfv.


<?php
if(!defined('INITIALIZED'))
	exit;
?>
<!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">
        <head>
  <title><?PHP echo $title ?> Alternative Tibia Server</title>
  <meta name="description" content="Antiqua 7.4 Alternative Tibia Server, Otserv(Tibia) é um jogo multiplayer online (MMORPG). Participe deste jogo fascinante que tem milhares de fãs de todo o mundo!" />
  <meta name="author" content="Antiqua 7.4" />
  <meta http-equiv="content-language" content="en" />
  <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
  <meta name="keywords" content="Antiqua Tibia Server, Servidor de otserv,Servidor de tibia, jogo gratis, jogo legal, free online game, free multiplayer game, free online rpg, free mmorpg, mmorpg, mmog, online role playing game, online multiplayer game, internet game, online rpg, rpg,tibia, br, tibiabr, downloads, magias, magic, brasil, tibiabrasil, macetes, tibiarpgbrasil, dicas, tibiagg, mapas, rpg, graphical mud, rpg, game, fantasy, medieval, roleplaying game, mmorpg, massively multiplayer, online game, persistent online game, online world, persistent online world, massively multi-user, massively multi user, multi-user-dungeon, multiuser dungeon, internet game, online spiel, internet spiel, rollenspiel, multiplayer spiel, multiplayer game, free game, kostenloses spiel, free internet game, free online game, Página Inicial" />
  <?PHP echo $layout_header; ?>      
        <link rel="stylesheet" type="text/css" href="<?php echo $layout_name; ?>/style.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $layout_name; ?>/basic.css" />
        <style>
        #facebook{
            background: url('<?php echo $layout_name; ?>/images/facebook.png') no-repeat;
            position: fixed;
            top: 200px;
            right: 0px;
            height: 42px;
            width: 42px;
        }
        </style>
        <!-- Load MooTools 1.2.5 and needed Libraries-->
 
        <script type="text/javascript" src="<?php echo $layout_name; ?>/js/mootools.js"></script>
        <script type="text/javascript" src="<?php echo $layout_name; ?>/js/lang_switcher.js"></script>
        <script type="text/javascript" src="<?php echo $layout_name; ?>/js/statusbox.js"></script>
		<script type="text/javascript" src="<?PHP echo $layout_name; ?>/initialize.js"></script>
  <script type='text/javascript'> var IMAGES=0; IMAGES='<?PHP echo $layout_name; ?>/images'; var g_FormField='';  var LINK_ACCOUNT=0; LINK_ACCOUNT='';</script>
</head> 
 <script type="text/javascript">
                        function init()
                        {
                                initLanguageBox();
                                initStatusBox();
                        }
                       
                        window.onload = init;
                </script>
                <script type="text/javascript">
            jQuery(document).ready(function($) {
            $('a[rel*=facebox]').facebox()
            })
 
            $.facebox.settings.opacity = 0.7;
        </script>
<script language="javascript">  
<!--  
function somente_numero(campo){  
var digits="0123456789"  
var campo_temp   
    for (var i=0;i<campo.value.length;i++){  
        campo_temp=campo.value.substring(i,i+1)   
        if (digits.indexOf(campo_temp)==-1){		
            campo.value = campo.value.substring(0,i);  
        }  
    }  
}  
  
--> 
</script> 		
        <body>	
                <div id="vt_page">
                <div id="vt_header">
                <div id="vt_lang_switcher" onmouseover="ShowLanguages();" onmouseout="HideLanguages();">
                        <div id="vt_active_language">
                        <div id="vt_language">English</div>
                        <div id="vt_language_flag"><img src="<?php echo $layout_name; ?>/images/gb.png" alt="GB" /></div>
                    </div>
                        <ul id="vt_languages_list">
                        <a href="http://translate.google.com/translate?hl=en&sl=en&tl=pl&u=http://<?php echo $_SERVER['SERVER_NAME']; ?>/">
                                                        <li id="language_pl">
                                                                <div class="list_left">Polski</div>
                                                                <div class="list_right"><img src="<?php echo $layout_name; ?>/images/pl.png" alt="PL" /></div>
                                                        </li>
                                                </a>
                        <a href="http://<?php echo $_SERVER['SERVER_NAME']; ?>">
                                                        <li id="language_eng">
                                                                <div class="list_left">English</div>
                                                                <div class="list_right"><img src="<?php echo $layout_name; ?>/images/gb.png" alt="ENG" /></div>
                                                        </li>
                                                </a>
                        <a href="http://translate.google.com/translate?hl=en&sl=en&tl=pt&u=http://<?php echo $_SERVER['SERVER_NAME']; ?>/">
                                                        <li id="language_eng">
                                                                <div class="list_left">Portuguese</div>
                                                                <div class="list_right"><img src="<?php echo $layout_name; ?>/images/br.png" alt="ENG" /></div>
                                                        </li>
                                                </a>
                        <a href="http://translate.google.com/translate?hl=en&sl=en&tl=sv&u=http://<?php echo $_SERVER['SERVER_NAME']; ?>/">
                                                        <li id="language_eng">
                                                                <div class="list_left">Swedish</div>
                                                                <div class="list_right"><img src="<?php echo $layout_name; ?>/images/swe.png" alt="ENG" /></div>
                                                        </li>
                                                </a>
                    </ul>
                </div>
            </div>
			<script id="float_fb" src="<?=$layout_name?>/fb_float_plugin.js" data-href="<?=$config['social']['facebook']?>" async></script>
            <div id="vt_content">
                <div id="vt_content_top">
                        <div id="vt_content_bot">
                        <div id="vt_container">
                                <div id="vt_content_header">
                                                                <img src="<?php echo $layout_name; ?>/images/sub.png" alt="" />
                                                        </div>
                                <div id="vt_padding_box">
                                    <div class="darkbox">
                                        <div class="top">
                                            <div class="bot">
                                            <?php
                                                if($_GET['subtopic'] == 'latestnews' || $_GET['subtopic'] == '')
                                                    echo $main_content;
                                                else
                                                    echo '<div class="content">'.$main_content.'</div>';
                                            ?>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                        </div>
                        <div id="vt_panel">

                                <div class="vt_status_box" onmouseover="ShowStatusBox(1);" onmouseout="HideStatusBox(1);">
                                <div class="vt_active_status">
                                        <div class="vt_status_name"><?php echo $config['server']['serverName']; ?></div>
                                    <div class="vt_status_state online"><?php if($config['status']['serverStatus_online'] == 1){ ?><span class="online">ON</span><?php }else{ ?><span class="offline">OFF</span><?php } ?></div>
                                </div>
                                                                        <div class="vt_status_info" id="server_status_1">
                                                                                <?php if($config['status']['serverStatus_online'] == 1){ ?>
                                                                                        <table cellpadding="3" cellspacing="0" border="0" width="100%">
                                                                                                <tr>
                                                                                                        <td><b>IP:</b></td>
                                                                                                        <td><?php echo $_SERVER['SERVER_NAME']; ?></td>
                                                                                                </tr>
                                                <tr>
                                                                                                        <td><b>Status:</b></td>
                                                                                                        <td><span class="online">ONLINE</span></td>
                                                                                                </tr>
                                                                                                <tr>
                                                                                                        <td><b>Players:</b></td>
                                                                                                        <td><a class="pcountlink" href="?subtopic=whoisonline">
																										<?PHP if($config['status']['serverStatus_online'] == 1)
                                                                                                            echo $config['status']['serverStatus_players'].' Players Online';
                                                                                                                else
                                                                                                            echo '<font color="red"><b>Server OFFLINE</b></font>';
                                                                                                        ?></a></td>
                                                                                                </tr>
                                                                                                <tr>
                                                                                                        <td><b>Save:</b></td>
                                                                                                        <td> 5:00</td>
                                                                                                </tr>
                                                                                        </table>
																						 <div id="fbplikebox" style="right: -250px; top: 100px;">
    <div class="fbplbadge"></div> 
    <iframe src="http://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/antiqua74/?fref=ts/963936866981152?fref=tsref=hl&amp;width=250&amp;height=250&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23C4C4C4&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:250px;background:#FFFFFF;" allowtransparency="true"></iframe>
</div>
                                                                                        <?php }else{ ?>
                                                                                        <table cellpadding="3" cellspacing="0" border="0" width="100%">
                                                                                                <tr>
                                                                                                        <td><b>IP:</b></td>
                                                                                                        <td><?php echo $_SERVER['SERVER_NAME']; ?></td>
                                                                                                </tr>
                                                <tr>
                                                                                                        <td><b>Status:</b></td>
                                                                                                        <td><span class="offline">OFFLINE</span></td>
                                                                                                </tr>
                                                                                        </table>
                                                                                        <?php } ?>
                                     </div>
                            </div>
                        <div id="vt_news_menu">
                            <div class="header"><img src="<?php echo $layout_name; ?>/images/menu_latestnews.png" alt="News"/></div>
                                                                <div class="content">
                                    <ul>
                                                                                <li><a href="?subtopic=latestnews">Latest News</a></li>
                                                                                <li><a href="?subtopic=archive">News Archive</a></li>                               </ul>
                                </div>
                         </div>
                            <div id="vt_account_menu">
                                <div class="header"><img src="<?php echo $layout_name; ?>/images/menu_account.png" alt="Account"/></div>
                                                                        <div class="content">
                                                                                <ul>
                                                                                       <?php
                                                                                        if($logged){
                                                                                                echo    '<li><a href="?subtopic=accountmanagement">Account management</a></li>';
                                                                                        }else{
                                                                                                echo'<li><a href="?subtopic=accountmanagement">Login</a></li>
                                                                                                <li><a href="?subtopic=createaccount">Create Account</a></li>
                                                                                                <li><a href="?subtopic=lostaccount">Lost Account?</a></li>';
                                                                                        }
                                                                                               echo ' <li><a href="?subtopic=downloads">Downloads
																							   </a></li>';
                                                                                        ?>
                                                                                </ul>
                                </div>
                            </div>
                            <div id="vt_forum_menu">
                                <div class="header"><img src="<?php echo $layout_name; ?>/images/menu_community.png" alt="community" /></div>
                                                                        <div class="content">
                                                                                <ul>
                                                                                     <li><a href="?subtopic=characters">Characters</a></li>
                                                                                     <li><a href="?subtopic=whoisonline">Who is Online?</a></li>
                                                                                     <li><a href="?subtopic=highscores">Highscores</a></li>
                                                                                     <li><a href="?subtopic=houses">Houses</a></li>
                                                                                     <li><a href="?subtopic=guilds">Guilds</a></li>
                                                                                     <li><a href="?subtopic=wars">Guild wars</a></li>
                                                                                     <li><a href="?subtopic=killstatistics">Kill Statistics</a></li>
                                                                                     <li><a href="?subtopic=team">Support</a></li>
																					 <li><a href="?subtopic=tasks">Task Informations</a></li>
                                                                                </ul>
                                                                        </div>
                                                        </div>
                            <div id="vt_community_menu">
                                <div class="header"><img src="<?php echo $layout_name; ?>/images/menu_forum.png" alt="forum" /></div>
                                                                        <div class="content">
                                                                                <ul>
                                                                                     <li><a href="?subtopic=forum">Forum</a> </li>
                                                                                </ul>
                                                                        </div>
                            </div>
                            <div id="vt_library_menu">
                                <div class="header"><img src="<?php echo $layout_name; ?>/images/menu_library.png" alt="Library" /></div>
                                                                        <div class="content">
                                                                                <ul>
                                                                                        <li><a href="?subtopic=tibiarules">Rules</a></li>
                                                                                        <li><a href="?subtopic=serverinfo">Server Information</a></li>
                                                                                        <li><a href="?subtopic=experiencetable">Experience Table</a></li>
                                                                                </ul>
                                </div>
                            </div>
                            <div id="vt_shop_menu">
                                <div class="header"><img src="<?php echo $layout_name; ?>/images/menu_shops.png" alt="Sklep" /></div>
                                                                        <div class="content">
                                                                                <ul>
                                                                                        <li><a href="?subtopic=buypoints">Donate</a></li>
                                                                                        <li><a href="?subtopic=shopsystem">Shop</a></li>
                                                                                </ul>
                                                                        </div>
                            </div>
                                                </div>
                                        </div>
                                </div>
                                <a href="https://www.facebook.com/antiqua74/" target="_blank"><div id="facebook"></div></a>
                        </div>
                            <div id="vt_footer">
                                <p>Copyright &copy; 2015 <a href="index.php"><?php echo $config['server']['serverName']; ?></a>. All rights reserved.</p>
                            </div>
                </div>
        </body>
</html>

 

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo