• 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!

[Gesior ACC Layout] Freeq's Layout

1. change in latest news
Code:
Najmocniejsze gildie(fragi z wojen gildii sie nie licza!):
to
Code:
The best guild(frags from guild wars doesn't count!):

2. change in every .php file
Code:
    $main_content1 .= '<table bgcolor='.$config['site']['darkborder'].' border=0 cellpadding=4 cellspacing=1 width=100%>
    <tr bgcolor='. $config['site']['vdarkborder'] .'><td align="center" class=white colspan=1><b>Welcome to '.$config['server']['serverName'].'</b></td></tr>
    <tr><td><table border=0 cellpadding=1 cellspacing=1 width=100%>

    <tr bgcolor='. $config['site']['lightborder'] .'><td><center>Najnowszy gracz: <a href="?subtopic=characters&name='.urlencode($query2['name']).'">'.$query2['name'].'</a>, gracz numer '.$query2['id'].'. Witamy i zyczymy milej gry!</center></td></tr>
    <tr bgcolor='. $config['site']['lightborder'] .'><td><center>Aktualnie najlepszym graczem jest: <a href="index.php?subtopic=characters&name='.urlencode($query['name']).'"> '.$query['name'].'</a> ('.urlencode($query['level']).'). Gratulacje!</center></td></tr>
    <tr bgcolor='. $config['site']['lightborder'] .'><td><center><b>Server motd:</b> '.$query['text'].'</center></td></tr> 
    <table border=0 cellpadding=0 cellspacing=1 width=100%>
      <tr bgcolor='. $config['site']['lightborder'] .'><td><center><b>Wolne Domki:</b> '.$housesfree[0].'</center></td>
    <td><center><b>Rented Houses:</b> '.$housesrented[0].'</center></td></tr>      
    <tr bgcolor='. $config['site']['lightborder'] .'><td><center><b>Ilosc kont:</b>  '.$accounts[0].'</center></td>
    <td><center><b>Players</b> in database: '.$players[0].'</center></td></tr>
    <tr bgcolor='. $config['site']['lightborder'] .'><td><center><b>Zbanowane konta:</b> '.$banned[0].'</center></td>
    <td><center><b>Guilds</b> in databese: '.$guilds[0].'</center></td></tr>
to
Code:
    $main_content1 .= '<table bgcolor='.$config['site']['darkborder'].' border=0 cellpadding=4 cellspacing=1 width=100%>
    <tr bgcolor='. $config['site']['vdarkborder'] .'><td align="center" class=white colspan=1><b>Welcome to '.$config['server']['serverName'].'</b></td></tr>
    <tr><td><table border=0 cellpadding=1 cellspacing=1 width=100%>

    <tr bgcolor='. $config['site']['lightborder'] .'><td><center>Latest player: <a href="?subtopic=characters&name='.urlencode($query2['name']).'">'.$query2['name'].'</a>, gracz numer '.$query2['id'].'. Welcome and Enjoy the game!</center></td></tr>
    <tr bgcolor='. $config['site']['lightborder'] .'><td><center>The best player: <a href="index.php?subtopic=characters&name='.urlencode($query['name']).'"> '.$query['name'].'</a> ('.urlencode($query['level']).'). Congratulations!</center></td></tr>
    <tr bgcolor='. $config['site']['lightborder'] .'><td><center><b>Server motd:</b> '.$query['text'].'</center></td></tr> 
    <table border=0 cellpadding=0 cellspacing=1 width=100%>
      <tr bgcolor='. $config['site']['lightborder'] .'><td><center><b>Free houses:</b> '.$housesfree[0].'</center></td>
    <td><center><b>Rented Houses:</b> '.$housesrented[0].'</center></td></tr>      
    <tr bgcolor='. $config['site']['lightborder'] .'><td><center><b>Number of accounts:</b>  '.$accounts[0].'</center></td>
    <td><center><b>Players</b> in database: '.$players[0].'</center></td></tr>
    <tr bgcolor='. $config['site']['lightborder'] .'><td><center><b>Banished accounts:</b> '.$banned[0].'</center></td>
    <td><center><b>Guilds</b> in databese: '.$guilds[0].'</center></td></tr>
 
And make this query to sql:

Code:
DROP TABLE IF EXISTS `player_advances`;

CREATE TABLE `player_advances` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `cid` int(11) DEFAULT NULL,
  `skill` int(11) DEFAULT NULL,
  `oldlevel` int(11) DEFAULT NULL,
  `newlevel` int(11) DEFAULT NULL,
  `time` int(11) DEFAULT NULL,
  UNIQUE KEY `id` (`id`),
  KEY `cid` (`cid`),
  CONSTRAINT `player_advances_ibfk_1` FOREIGN KEY (`cid`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;

ALTER TABLE `z_shop_offer` ADD `category` INT( 11 ) NOT NULL DEFAULT '1';
 
ty, but this still shows
Notice: Undefined index: sqliteDatabase in /home/otsmanager/www/public_html/config-and-functions.php on line 30 Notice: Undefined index: action in /home/otsmanager/www/public_html/index.php on line 13 Notice: Undefined index: account_login in /home/otsmanager/www/public_html/index.php on line 35 Notice: Undefined index: password_login in /home/otsmanager/www/public_html/index.php on line 36 Notice: Undefined variable: main_content2 in /home/otsmanager/www/public_html/buypoints.php on line 2 Notice: Undefined variable: main_content1 in /home/otsmanager/www/public_html/buypoints.php on line 29 Notice: Undefined index: system in /home/otsmanager/www/public_html/buypoints.php on line 187 Notice: Undefined index: system in /home/otsmanager/www/public_html/buypoints.php on line 191 Notice: Undefined index: system in /home/otsmanager/www/public_html/buypoints.php on line 198 Notice: Undefined index: system in /home/otsmanager/www/public_html/buypoints.php on line 301 Notice: Undefined variable: main_content in /home/otsmanager/www/public_html/buypoints.php on line 422
 
Notice: Undefined variable: main_content1 in /home/otsmanager/www/public_html/layouts/freeq/layout.php on line 111
 
Welcome to the Starcore Shop.
how to change that?
 
look here for ex.
if u go there
ParadiseOT
u will need to go DOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOWN until u see the login thing,
 
what more should i add in my db?
i think there is more
 
i did :/
still same :S
i think there r more sql things
ohh, maby cuz the config is based on sqllite?
im using Winscp
www/etc..
 
no
but i get these errors
Notice: Undefined index: sqliteDatabase in /home/otsmanager/www/public_html/config-and-functions.php on line 30 Notice: Undefined variable: file_data in /home/otsmanager/www/public_html/config-and-functions.php on line 456 Notice: Undefined index: action in /home/otsmanager/www/public_html/index.php on line 13 Notice: Undefined index: account_login in /home/otsmanager/www/public_html/index.php on line 35 Notice: Undefined index: password_login in /home/otsmanager/www/public_html/index.php on line 36 Notice: Undefined variable: str in /home/otsmanager/www/public_html/latestnews.php on line 6 Notice: Undefined variable: char_id in /home/otsmanager/www/public_html/latestnews.php on line 7 Notice: Undefined variable: char_id in /home/otsmanager/www/public_html/latestnews.php on line 7 Notice: Undefined variable: char_id in /home/otsmanager/www/public_html/latestnews.php on line 7 Notice: Undefined variable: char_id in /home/otsmanager/www/public_html/latestnews.php on line 7 Notice: Undefined variable: char_id in /home/otsmanager/www/public_html/latestnews.php on line 7 Notice: Undefined variable: char_id in /home/otsmanager/www/public_html/latestnews.php on line 7 Notice: Undefined variable: char_id in /home/otsmanager/www/public_html/latestnews.php on line 7 Notice: Undefined variable: char_id in /home/otsmanager/www/public_html/latestnews.php on line 7 Notice: Undefined variable: char_id in /home/otsmanager/www/public_html/latestnews.php on line 7 Notice: Undefined variable: char_id in /home/otsmanager/www/public_html/latestnews.php on line 7 Notice: Undefined variable: main_content in /home/otsmanager/www/public_html/latestnews.php on line 32 Notice: Undefined variable: main_content1 in /home/otsmanager/www/public_html/latestnews.php on line 77 Notice: Undefined variable: main_content2 in /home/otsmanager/www/public_html/latestnews.php on line 79 Notice: Undefined variable: news_content in /home/otsmanager/www/public_html/latestnews.php on line 90 Notice: Undefined variable: tickers_to_add in /home/otsmanager/www/public_html/latestnews.php on line 159 Notice: Use of undefined constant newticker - assumed 'newticker' in /home/otsmanager/www/public_html/latestnews.php on line 181

Notice: Undefined index: sqliteDatabase in /home/otsmanager/www/public_html/config-and-functions.php on line 30 Notice: Undefined index: action in /home/otsmanager/www/public_html/index.php on line 13 Notice: Undefined index: account_login in /home/otsmanager/www/public_html/index.php on line 35 Notice: Undefined index: password_login in /home/otsmanager/www/public_html/index.php on line 36 Notice: Undefined variable: main_content2 in /home/otsmanager/www/public_html/guilds.php on line 2 Notice: Undefined variable: main_content1 in /home/otsmanager/www/public_html/guilds.php on line 29 Notice: Undefined variable: main_content in /home/otsmanager/www/public_html/guilds.php on line 58 Notice: Undefined index: world in /home/otsmanager/www/public_html/guilds.php on line 67

Notice: Undefined variable: main_content1 in /home/otsmanager/www/public_html/layouts/freeq/layout.php on line 109
 
Back
Top