Code:
<?php
/*
SPORA for Ascent v1.4
Simple Page Of Registration of Accounts for Ascent
It is made in the form of one page with fields of input of the
information of an account and the list of players being on a server.
Original Creation by mirage666 for MaNGOS http://pomm.da.ru/
Modified for Ascent by Kandyman http://www.burning-wow.com
*/
="en"; // Language ("en" - english, "ru" - russian)
="ViVoWoW"; // Insert the title of your server here
="127.0.0.1"; // HOST for Character database
="root"; // USER for Character database
="******"; // PASS for Character database
="Ascent logon"; // NAME of Character database
="127.0.0.1"; // HOST for Logonserver database
="root"; // USER for Logonserver database
="******"; // PASS for Logonserver database
="Ascent"; // NAME of Logonserver database
= 'CP1251'; // Set encoding
= "img/"; // Image dir
= "http://vivowow.servegame.org/"; // Ascent Server Address
= "8129"; // Ascent Server Port
=0; // Lock created account to IP address (1 - on, 0 - off)
=0; // Registration only one (or more) account from one IP address
// 0 - not limit, 1 - one acc, 2 - two acc, etc...
Switch ()
{
case "en":
="create_en.gif";
Every time I add something, Hello Error
Code:
<?php
/*
SPORA for Ascent v1.4
Simple Page Of Registration of Accounts for Ascent
It is made in the form of one page with fields of input of the
information of an account and the list of players being on a server.
Original Creation by mirage666 for MaNGOS http://pomm.da.ru/
Modified for Ascent by Kandyman http://www.burning-wow.com
*/
$lang="en"; // Language ("en" - english, "ru" - russian)
$title="ViVoWoW"; // Insert the title of your server here
$host="127.0.0.1"; // HOST for Character database
$user="root"; // USER for Character database
$password="******"; // PASS for Character database
$db="Ascent logon"; // NAME of Character database
$hostr="127.0.0.1"; // HOST for Logonserver database
$userr="root"; // USER for Logonserver database
$passwordr="******"; // PASS for Logonserver database
$dbr="Ascent"; // NAME of Logonserver database
$database_encoding = 'CP1251'; // Set encoding
$img_base = "img/"; // Image dir
$server = "http://vivowow.servegame.org/"; // Ascent Server Address
$port = "8129"; // Ascent Server Port
$lock_acc=0; // Lock created account to IP address (1 - on, 0 - off)
$lock_reg=0; // Registration only one (or more) account from one IP address
// 0 - not limit, 1 - one acc, 2 - two acc, etc...
Switch ($lang)
{
case "en":
$button="create_en.gif";
$text = Array(
'acc' => 'Creation of account',
'create' => 'is completed! If your looking to be a GM email me at ******',
'failed' => 'was not possible !',
'not_all' => 'Fields are filled not all',
'taken' => 'is already taken!',
'playerson' => 'players online',
'off' => 'is online!, Please email me at ****** If your looking to become a GM',
'name' => 'Account Name',
'password' => 'Password',
'ip_limit' => Array('From your IP ',' accounts are already created'),
'char' => Array('Name','Race','Class','LvL','Location'),
);
break;
case "ru":
$button="create_ru.gif";
$text = Array(
'acc' => 'Ñîçäàíèå àêêàóíòà',
'create' => 'çàâåðøåíî !',
'failed' => 'íåâîçìîæíî !',
'not_all' => 'Çàïîëíåíû íå âñå ïîëÿ',
'taken' => 'is already taken !',
'playerson' => 'èãðîêîâ íà ñåðâåðå',
'off' => 'ñåé÷àñ îòêëþ÷åí',
'name' => 'Èìÿ Àêêàóíòà',
'password' => 'Ïàðîëü',
'ip_limit' => Array('Ñ âàøåãî IP ',' àêêàóíòîâ óæå ñîçäàíî'),
'char' => Array('Ïåðñîíàæ','**àñà','Êëàññ','ËâË','**àñïîëîæåíèå'),
);
break;
}
Its longer but I had to delete some. = Array(
'acc' => 'Creation of account',
'create' => 'is completed! If your looking to be a GM email me at ******',
'failed' => 'was not possible !',
'not_all' => 'Fields are filled not all',
'taken' => 'is already taken!',
'playerson' => 'players online',
'off' => 'is online!, Please email me at ****** If your looking to become a GM',
'name' => 'Account Name',
'password' => 'Password',
'ip_limit' => Array('From your IP ',' accounts are already created'),
'char' => Array('Name','Race','Class','LvL','Location'),
);
break;
case "ru":
="create_ru.gif";
Every time I add something, Hello Error
Code:
<?php
/*
SPORA for Ascent v1.4
Simple Page Of Registration of Accounts for Ascent
It is made in the form of one page with fields of input of the
information of an account and the list of players being on a server.
Original Creation by mirage666 for MaNGOS http://pomm.da.ru/
Modified for Ascent by Kandyman http://www.burning-wow.com
*/
$lang="en"; // Language ("en" - english, "ru" - russian)
$title="ViVoWoW"; // Insert the title of your server here
$host="127.0.0.1"; // HOST for Character database
$user="root"; // USER for Character database
$password="******"; // PASS for Character database
$db="Ascent logon"; // NAME of Character database
$hostr="127.0.0.1"; // HOST for Logonserver database
$userr="root"; // USER for Logonserver database
$passwordr="******"; // PASS for Logonserver database
$dbr="Ascent"; // NAME of Logonserver database
$database_encoding = 'CP1251'; // Set encoding
$img_base = "img/"; // Image dir
$server = "http://vivowow.servegame.org/"; // Ascent Server Address
$port = "8129"; // Ascent Server Port
$lock_acc=0; // Lock created account to IP address (1 - on, 0 - off)
$lock_reg=0; // Registration only one (or more) account from one IP address
// 0 - not limit, 1 - one acc, 2 - two acc, etc...
Switch ($lang)
{
case "en":
$button="create_en.gif";
$text = Array(
'acc' => 'Creation of account',
'create' => 'is completed! If your looking to be a GM email me at ******',
'failed' => 'was not possible !',
'not_all' => 'Fields are filled not all',
'taken' => 'is already taken!',
'playerson' => 'players online',
'off' => 'is online!, Please email me at ****** If your looking to become a GM',
'name' => 'Account Name',
'password' => 'Password',
'ip_limit' => Array('From your IP ',' accounts are already created'),
'char' => Array('Name','Race','Class','LvL','Location'),
);
break;
case "ru":
$button="create_ru.gif";
$text = Array(
'acc' => 'Ñîçäàíèå àêêàóíòà',
'create' => 'çàâåðøåíî !',
'failed' => 'íåâîçìîæíî !',
'not_all' => 'Çàïîëíåíû íå âñå ïîëÿ',
'taken' => 'is already taken !',
'playerson' => 'èãðîêîâ íà ñåðâåðå',
'off' => 'ñåé÷àñ îòêëþ÷åí',
'name' => 'Èìÿ Àêêàóíòà',
'password' => 'Ïàðîëü',
'ip_limit' => Array('Ñ âàøåãî IP ',' àêêàóíòîâ óæå ñîçäàíî'),
'char' => Array('Ïåðñîíàæ','**àñà','Êëàññ','ËâË','**àñïîëîæåíèå'),
);
break;
}
Its longer but I had to delete some. = Array(
'acc' => 'Ñîçäàíèå àêêàóíòà',
'create' => 'çàâåðøåíî !',
'failed' => 'íåâîçìîæíî !',
'not_all' => 'Çàïîëíåíû íå âñå ïîëÿ',
'taken' => 'is already taken !',
'playerson' => 'èãðîêîâ íà ñåðâåðå',
'off' => 'ñåé÷àñ îòêëþ÷åí',
'name' => 'Èìÿ Àêêàóíòà',
'password' => 'Ïàðîëü',
'ip_limit' => Array('Ñ âàøåãî IP ',' àêêàóíòîâ óæå ñîçäàíî'),
'char' => Array('Ïåðñîíàæ','**àñà','Êëàññ','ËâË','**àñïîëîæåíèå'),
);
break;
}
Its longer but I had to delete some.