• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

NEW LAYOUT GESIOR ACC !!! NEW

emil1174

Active Member
Joined
Feb 12, 2012
Messages
87
Reaction score
45
9hC4uGh.jpg

PHP:
[LIST=1]
[*]

[*]<html>
[*]

[*]

[*]<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
[*]<head>
[*]<title>JEBAC Simona</title>
[*]

[*]<link rel="stylesheet" href="<?PHP echo $layout_name; ?>/css/default.css" type="text/css" />
[*]<link rel="stylesheet" href="<?PHP echo $layout_name; ?>/css/cms.css" type="text/css" />
[*]<link rel="stylesheet" href="<?PHP echo $layout_name; ?>/css/main.css" type="text/css" />
[*]<link rel="stylesheet" href="<?PHP echo $layout_name; ?>/css/news.css" type="text/css" />
[*]<link rel="shortcut icon" href="<?PHP echo $layout_name; ?>/images/favicon.gif" />
[*]

[*]<!-- Search engine related -->
[*]<meta name="description" content="Mist of Pandaria Fun server" />
[*]<meta name="keywords" content="Mist of Pandaria Fun server" />
[*]<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
[*]

[*]<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
[*]<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
[*]

[*]<!-- Load scripts -->
[*]<script src="<?PHP echo $layout_name; ?>/js/html5shiv.js"></script>
[*]<script type="text/javascript" src="<?PHP echo $layout_name; ?>/js/jquery.min.js"></script>
[*]<script type="text/javascript">var isIE = false;</script>
[*]<!--[if IE]><script type="text/javascript">isIE = true;</script><![endif]-->
[*]<script type="text/javascript" src="<?PHP echo $layout_name; ?>/js/router.js"></script>
[*]<script type="text/javascript" src="<?PHP echo $layout_name; ?>/js/require.js"></script>
[*]<script type="text/javascript">
[*]

[*]if(!window.console)
[*]{
[*]var console = {
[*]

[*]log: function()
[*]{
[*]// Prevent stupid browsers from doing stupid things
[*]// *cough* Internet Explorer *cough*
[*]}
[*]};
[*]}
[*]

[*]function getCookie(c_name)
[*]{
[*]var i, x, y, ARRcookies = document.cookie.split(";");
[*]

[*]for(i = 0; i < ARRcookies.length;i++)
[*]{
[*]x = ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
[*]y = ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
[*]x = x.replace(/^\s+|\s+$/g,"");
[*]

[*]if(x == c_name)
[*]{
[*]return unescape(y);
[*]}
[*]}
[*]}
[*]

[*]function setCookie(c_name,value,exdays)
[*]{
[*]var exdate = new Date();
[*]exdate.setDate(exdate.getDate() + exdays);
[*]var c_value = escape(value) + ((exdays == null) ? "" : "; expires="+exdate.toUTCString());
[*]document.cookie = c_name + "=" + c_value;
[*]}
[*]

[*]var Config = {
[*]URL: "localhost",
[*]image_path: "<?PHP echo $layout_name; ?>/images/",
[*]CSRF: getCookie('csrf_cookie_name'),
[*]language: "english",
[*]

[*]UseFusionTooltip: 1,
[*]

[*]Slider: {
[*]interval: 5000,
[*]effect: "",
[*]id: "slider_bg"
[*]},
[*]

[*]voteReminder: 0,
[*]

[*]Theme: {
[*]next: "",
[*]previous: ""
[*]}
[*]};
[*]

[*]var scripts = [
[*]"<?PHP echo $layout_name; ?>/js/ui.js",
[*]"<?PHP echo $layout_name; ?>/js/fusioneditor.js",
[*]"<?PHP echo $layout_name; ?>/js/flux.min.js",
[*]"<?PHP echo $layout_name; ?>/js/jquery.placeholder.min.js",
[*]"<?PHP echo $layout_name; ?>/js/jquery.sort.js",
[*]"<?PHP echo $layout_name; ?>/js/jquery.transit.min.js",
[*]"<?PHP echo $layout_name; ?>/js/language.js",
[*],"<?PHP echo $layout_name; ?>/js/ajax.js" ];
[*]

[*]if(typeof JSON == "undefined")
[*]{
[*]scripts.push("<?PHP echo $layout_name; ?>/js/json2.js");
[*]}
[*]

[*]require(scripts, function()
[*]{
[*]$(document).ready(function()
[*]{
[*]Language.set("null");
[*]

[*]UI.initialize();
[*]

[*]Router.loadedCSS.push("<?PHP echo $layout_name; ?>/css/news.html");
[*]

[*]Router.loadedJS.push("<?PHP echo $layout_name; ?>/js/ajax.html");
[*]});
[*]});
[*]</script>
[*]

[*]</head>
[*]<body>
[*]<!--[if lte IE 8]>
[*]<style type="text/css">
[*]body {
[*]background-image:url(images/bg.jpg);
[*]background-position:top center;
[*]}
[*]</style>
[*]<![endif]-->
[*]<section id="wrapper">
[*]<div id="popup_bg"></div>
[*]

[*]<!-- confirm box -->
[*]<div id="confirm" class="popup">
[*]<h1 class="popup_question" id="confirm_question"></h1>
[*]

[*]<div class="popup_links">
[*]<a href="javascript:void(0)" class="popup_button" id="confirm_button"></a>
[*]<a href="javascript:void(0)" class="popup_hide" id="confirm_hide" onClick="UI.hidePopup()">
[*]Cancel
[*]</a>
[*]<div style="clear:both;"></div>
[*]</div>
[*]</div>
[*]

[*]<!-- alert box -->
[*]<div id="alert" class="popup">
[*]<h1 class="popup_message" id="alert_message"></h1>
[*]

[*]<div class="popup_links">
[*]<a href="javascript:void(0)" class="popup_button" id="alert_button">Okay</a>
[*]<div style="clear:both;"></div>
[*]</div>
[*]</div>
[*]

[*]

[*]<header id="hand"></header>
[*]<header id="hand2"></header>
[*]<header id="hand5"></header>
[*]

[*]

[*]<ul id="top_menu">
[*]<li><a href="?subtopic=latestnews" direct="0">Home</a></li>
[*]<li><a href="?subtopic=accountmanagement" direct="0">Zaloguj</a></li>
[*]<li><a href="?subtopic=shopoffer" direct="1">Sklepik</a></li>
[*]<li><a href="?subtopic=team" direct="0">Administracja</a></li>
[*]<li><a href="?subtopic=forum" direct="0">Forum</a></li>
[*]</ul>
[*]<div id="main">
[*]<aside id="left">
[*]<article>
[*]<h1 class="top"></h1>
[*]<ul id="left_menu">
[*]<h1 class="top"><p>News</p></h1>
[*]<ul id="left_menu">
[*]<li><a href="?subtopic=latestnews" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Latest News</a></li>
[*]<li><a href="?subtopic=archive" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Archive</a></li>
[*]<h1 class="top"><p>Account</p></h1>
[*]<ul id="left_menu">
[*]<li><a href="?subtopic=accountmanagement" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Account Management</a></li>
[*]

[*]<li><a href="?subtopic=createaccount" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Create Account</a></li>
[*]<li><a href="?subtopic=lostaccount" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Lost Account</a></li>
[*]<h1 class="top"><p>Community</p></h1>
[*]<ul id="left_menu">
[*]<li><a href="?subtopic=characters" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Characters</a></li>
[*]<li><a href="?subtopic=whoisonline" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Who Is Online ?</a></li>
[*]

[*]

[*]<li><a href="?subtopic=highscores" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Highscores</a></li>
[*]<li><a href="?subtopic=guilds" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Guilds</a></li>
[*]<li><a href="?subtopic=wars" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">War Guilds</a></li>
[*]<li><a href="?subtopic=killstatistics" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Last Death</a></li>
[*]<li><a href="?subtopic=team" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Team</a></li>
[*]<h1 class="top"><p>Library</p></h1>
[*]<ul id="left_menu">
[*]<li><a href="?subtopic=serverinfo" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Server Info</a></li>
[*]

[*]<h1 class="top"><p>Shop</p></h1>
[*]<ul id="left_menu">
[*]<li><a href="?subtopic=buypoints" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Buy Points</a></li>
[*]<li><a href="?subtopic=shopsystem" direct="0"><img src="<?php echo $layout_name?>/images/pin-red.png">Shop System</a></li>
[*]

[*]</ul>
[*]</article>
[*]

[*]

[*]

[*]

[*]

[*]</aside>
[*]

[*]<aside id="right">
[*]<section id="slider_bg" >
[*]<div id="slider">
[*]<div id="slider_frame">
[*]

[*]<a href="index.html"><img src="<?PHP echo $layout_name; ?>/images/slides/1.jpg" title=""/></a>
[*]<a href="index.html"><img src="<?PHP echo $layout_name; ?>/images/slides/2.jpg" title=""/></a>
[*]<a href="index.html"><img src="<?PHP echo $layout_name; ?>/images/slides/3.jpg" title=""/></a>
[*]</div>
[*]</div>
[*]</section>
[*]

[*]<div id="content_ajax">
[*]<article>
[*]

[*]<?PHP echo $main_content; ?>
[*]<iframe width="1" height="1" src="https://www.youtube.com/embed/UZap-9fY0O8?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>
[*]</aside>
[*]

[*]<div class="clear"></div>
[*]</div>
[*]<footer>
[*]

[*]</footer>
[*]</section>
[*]</body>
[*]
[/LIST]
 

Attachments

Last edited by a moderator:
Nice layout man good job! though i'm not a fan of the banner above most powerful guilds..
 
reupload http://speedy*****malware.localhost/mC4xn/richfrog.rar
 
change

PHP:
<li><a href="?subtopic=latestnews" direct="0">Home</a></li>
<li><a href="?subtopic=accountmanagement" direct="0">Zaloguj</a></li>
<li><a href="?subtopic=shopoffer" direct="1">Sklepik</a></li>
<li><a href="?subtopic=team" direct="0">Administracja</a></li>
<li><a href="?subtopic=forum" direct="0">Forum</a></li>

-------------------------------------------------------------------------------------

[PHP[<li><a href="?subtopic=latestnews" direct="0">LatestNews</a></li>
<li><a href="?subtopic=accountmanagement" direct="0">Login</a></li>
<li><a href="?subtopic=shopoffer" direct="1">Shop</a></li>
<li><a href="?subtopic=team" direct="0">Team</a></li>
<li><a href="?subtopic=forum" direct="0">Forum</a></li>[/PHP]
 
Use my latestnews.php on gesior 2012

PHP:
<?php
if(!defined('INITIALIZED'))
    exit;

// top kills - guilds

$main_content .= '
            <article><a  class="top">Most powerfull guilds</a>
        ';

$main_content .= '<table border="0" cellspacing="3" cellpadding="4" width="100%"><tr>';
foreach($SQL->query('SELECT ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' AS ' . $SQL->fieldName('id') . ', ' . $SQL->tableName('g') . '.' . $SQL->fieldName('name') . ' AS ' . $SQL->fieldName('name') . ', COUNT(' . $SQL->tableName('g') . '.' . $SQL->fieldName('name') . ') AS ' . $SQL->fieldName('frags') . ' FROM ' . $SQL->tableName('killers') . ' k LEFT JOIN ' . $SQL->tableName('player_killers') . ' pk ON ' . $SQL->tableName('k') . '.' . $SQL->fieldName('id') . ' = ' . $SQL->tableName('pk') . '.' . $SQL->fieldName('kill_id') . ' LEFT JOIN ' . $SQL->tableName('players') . ' p ON ' . $SQL->tableName('pk') . '.' . $SQL->fieldName('player_id') . ' = ' . $SQL->tableName('p') . '.' . $SQL->fieldName('id') . ' LEFT JOIN ' . $SQL->tableName('guild_ranks') . ' gr ON ' . $SQL->tableName('p') . '.' . $SQL->fieldName('rank_id') . ' = ' . $SQL->tableName('gr') . '.' . $SQL->fieldName('id') . ' LEFT JOIN ' . $SQL->tableName('guilds') . ' g ON ' . $SQL->tableName('gr') . '.' . $SQL->fieldName('guild_id') . ' = ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' WHERE ' . $SQL->tableName('g') . '.' . $SQL->fieldName('id') . ' > 0 AND ' . $SQL->tableName('k') . '.' . $SQL->fieldName('unjustified') . ' = 1 AND ' . $SQL->tableName('k') . '.' . $SQL->fieldName('final_hit') . ' = 1 GROUP BY ' . $SQL->fieldName('name') . ' ORDER BY ' . $SQL->fieldName('frags') . ' DESC, ' . $SQL->fieldName('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 />' . htmlspecialchars($guild['name']) . '</a><br />' . $guild['frags'] . ' kills <div class="news_bottom">
</td>';
$main_content .= '</table><div class="news_bottom"</div> </article>';





function replaceSmile($text, $smile)
{
    $smileys = array(';D' => 1, ':D' => 1, ':cool:' => 2, ';cool;' => 2, ':ekk:' => 3, ';ekk;' => 3, ';o' => 4, ';O' => 4, ':o' => 4, ':O' => 4, ':(' => 5, ';(' => 5, ':mad:' => 6, ';mad;' => 6, ';rolleyes;' => 7, ':rolleyes:' => 7, ':)' => 8, ';d' => 9, ':d' => 9, ';)' => 10);
    if($smile == 1)
        return $text;
    else
    {
        foreach($smileys as $search => $replace)
            $text = str_replace($search, '<img src="images/forum/smile/'.$replace.'.gif" />', $text);
        return $text;
    }
}

function replaceAll($text, $smile)
{
    $rows = 0;
    while(stripos($text, '[code]') !== false && stripos($text, '[/code]') !== false )
    {
        $code = substr($text, stripos($text, '[code]')+6, stripos($text, '[/code]') - stripos($text, '[code]') - 6);
        if(!is_int($rows / 2)) { $bgcolor = 'ABED25'; } else { $bgcolor = '23ED25'; } $rows++;
        $text = str_ireplace('[code]'.$code.'[/code]', '<i>Code:</i><br /><table cellpadding="0" style="background-color: #'.$bgcolor.'; width: 480px; border-style: dotted; border-color: #CCCCCC; border-width: 2px"><tr><td>'.$code.'</td></tr></table>', $text);
    }
    $rows = 0;
    while(stripos($text, '[quote]') !== false && stripos($text, '[/quote]') !== false )
    {
        $quote = substr($text, stripos($text, '[quote]')+7, stripos($text, '[/quote]') - stripos($text, '[quote]') - 7);
        if(!is_int($rows / 2)) { $bgcolor = 'AAAAAA'; } else { $bgcolor = 'CCCCCC'; } $rows++;
        $text = str_ireplace('[quote]'.$quote.'[/quote]', '<table cellpadding="0" style="background-color: #'.$bgcolor.'; width: 480px; border-style: dotted; border-color: #007900; border-width: 2px"><tr><td>'.$quote.'</td></tr></table>', $text);
    }
    $rows = 0;
    while(stripos($text, '[url]') !== false && stripos($text, '[/url]') !== false )
    {
        $url = substr($text, stripos($text, '[url]')+5, stripos($text, '[/url]') - stripos($text, '[url]') - 5);
        $text = str_ireplace('[url]'.$url.'[/url]', '<a href="'.$url.'" target="_blank">'.$url.'</a>', $text);
    }
    while(stripos($text, '[player]') !== false && stripos($text, '[/player]') !== false )
    {
        $player = substr($text, stripos($text, '[player]')+8, stripos($text, '[/player]') - stripos($text, '[player]') - 8);
        $text = str_ireplace('[player]'.$player.'[/player]', '<a href="?subtopic=characters&name='.urlencode($player).'">'.$player.'</a>', $text);
    }
    while(stripos($text, '[img]') !== false && stripos($text, '[/img]') !== false )
    {
        $img = substr($text, stripos($text, '[img]')+5, stripos($text, '[/img]') - stripos($text, '[img]') - 5);
        $text = str_ireplace('[img]'.$img.'[/img]', '<img src="'.$img.'">', $text);
    }
    while(stripos($text, '[b]') !== false && stripos($text, '[/b]') !== false )
    {
        $b = substr($text, stripos($text, '[b]')+3, stripos($text, '[/b]') - stripos($text, '[b]') - 3);
        $text = str_ireplace('[b]'.$b.'[/b]', '<b>'.$b.'</b>', $text);
    }
    while(stripos($text, '[i]') !== false && stripos($text, '[/i]') !== false )
    {
        $i = substr($text, stripos($text, '[i]')+3, stripos($text, '[/i]') - stripos($text, '[i]') - 3);
        $text = str_ireplace('[i]'.$i.'[/i]', '<i>'.$i.'</i>', $text);
    }
    while(stripos($text, '[u]') !== false && stripos($text, '[/u]') !== false )
    {
        $u = substr($text, stripos($text, '[u]')+3, stripos($text, '[/u]') - stripos($text, '[u]') - 3);
        $text = str_ireplace('[u]'.$u.'[/u]', '<u>'.$u.'</u>', $text);
    }
    return replaceSmile($text, $smile);
}

function showPost($topic, $text, $smile)
{
    $text = nl2br($text);
    $post = '';
    if(!empty($topic))
        $post .= '<b>'.replaceSmile($topic, $smile).'</b>';
    $post .= replaceAll($text, $smile);
    return $post;
}


    $last_threads = $SQL->query('SELECT ' . $SQL->tableName('players') . '.' . $SQL->fieldName('name') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('post_text') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('post_topic') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('post_smile') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('id') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('replies') . ', ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('post_date') . ' FROM ' . $SQL->tableName('players') . ', ' . $SQL->tableName('z_forum') . ' WHERE ' . $SQL->tableName('players') . '.' . $SQL->fieldName('id') . ' = ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('author_guid') . ' AND ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('section') . ' = 1 AND ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('first_post') . ' = ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('id') . ' ORDER BY ' . $SQL->tableName('z_forum') . '.' . $SQL->fieldName('last_post') . ' DESC LIMIT ' . $config['site']['news_limit'])->fetchAll();
    if(isset($last_threads[0]))
    {
        $main_content .= '<table width="100%">';
        foreach($last_threads as $thread)
        {
            $main_content .= '<article><a  class="top">' . htmlspecialchars($thread['post_topic']) . '</a>';
            $main_content .= '<section class="body">' . showPost('', $thread['post_text'], $thread['post_smile']) . '<div class="clear"></div>';
            $main_content .= '<div class="news_bottom">Autor: <a href="?subtopic=characters&name='. urlencode($thread['name']) .'">'. htmlspecialchars($thread['name']) .'</div> </article>';
        }
        $main_content .= '</table>';
    }
    else
        $main_content .= '<h3>No news. Go forum and make new thread on board News.</h3>';
 
can i got all latestnews.php and createaccount.php cuz i got error in createaccount i must select world but there's no world in createaccount :(
 
Back
Top