* replace deprecated HTML <font> tag with <span>

This commit is contained in:
slawkens 2018-06-01 13:35:27 +02:00
parent 1926c5ec5b
commit 05e15ce9ad
38 changed files with 267 additions and 267 deletions

View File

@ -565,7 +565,7 @@ function getCreatureName($killer, $showStatus = false, $extendedInfo = false)
if(!$showStatus)
return $str.'<b>'.$player->getName().'</b></a>';
$str .= '<font color="'.($player->isOnline() ? 'green' : 'red').'">' . $player->getName() . '</font></b></a>';
$str .= '<span style="color: '.($player->isOnline() ? 'green' : 'red').'">' . $player->getName() . '</span></b></a>';
if($extendedInfo) {
$str .= '<br><small>'.$player->getLevel().' '.$player->getVocationName().'</small>';
}
@ -684,25 +684,25 @@ function superAdmin() {
*
* @param int $exp Experience amount.
* @param bool $color Should result be colorized?
* @return string Resulted message attached in <font> tag.
* @return string Resulted message attached in <span> tag.
*/
function formatExperience($exp, $color = true)
{
$ret = '';
if($color)
{
$ret .= '<font';
if($exp > 0)
$ret .= ' color="green">';
elseif($exp < 0)
$ret .= ' color="red">';
else
$ret .= '<span';
if($exp != 0) {
$ret .= ' style="color: ' . ($exp > 0 ? 'green' : 'red') . '">';
}
else {
$ret .= '>';
}
}
$ret .= '<b>' . ($exp > 0 ? '+' : '') . number_format($exp) . '</b>';
if($color)
$ret .= '</font>';
$ret .= '</span>';
return $ret;
}

View File

@ -234,7 +234,7 @@ class Forum
'#\[player\](.*?)\[/player\]#si' => urldecode(generateLink(getPlayerLink('$1', false), '$1', true)),
// TODO: [poll] tag
'#\[color=(.*?)\](.*?)\[/color\]#si' => ($xhtml ? '<span style="color: \\1;">\\2</span>' : '<font color="\\1">\\2</font>'),
'#\[color=(.*?)\](.*?)\[/color\]#si' => ($xhtml ? '<span style="color: \\1;">\\2</span>' : '<span style="color: \\1">\\2</span>'),
'#\[img\](.*?)\[/img\]#si' => ($xhtml ? '<img class="forum-image" style="max-width:550px; max-height; 550px;" src="\\1" border="0" alt="" />' : '<img class="forum-image" style="max-width:550px; max-height; 550px;" src="\\1" border="0" alt="">'),
'#\[url=(.*?)\](.*?)\[/url\]#si' => '<a href="\\1" title="\\2">\\2</a>',
// '#\[email\](.*?)\[/email\]#si' => '<a href="mailto:\\1" title="Email \\1">\\1</a>',

View File

@ -111,6 +111,6 @@ $locale['step_finish_homepage'] = 'Startseite';
$locale['step_finish'] = 'Fertig';
$locale['step_finish_title'] = 'Installation beendet!';
$locale['step_finish_desc'] = 'Herzlichen Glückwunsch! <b>MyAAC</b> ist bereit zu verwenden!<br/>Sie können sich jetzt im $ADMIN_PANEL$ anmelden, oder die $HOMEPAGE$ besuchen.<br/><br/>
<font color="red">Bitte lösche install/ Verzeichnis.</font><br/><br/>
<span style="color: red">Bitte lösche install/ Verzeichnis.</span><br/><br/>
Bitte senden Sie Fehler und Vorschläge zu $LINK$, Vielen Dank!';
?>

View File

@ -111,6 +111,6 @@ $locale['step_finish_homepage'] = 'homepage';
$locale['step_finish'] = 'Finish';
$locale['step_finish_title'] = 'Installation finished!';
$locale['step_finish_desc'] = 'Congratulations! <b>MyAAC</b> is ready to use!<br/>You can now login to $ADMIN_PANEL$, or visit $HOMEPAGE$.<br/><br/>
<font color="red">Please delete install/ directory.</font><br/><br/>
<span style="color: red">Please delete install/ directory.</span><br/><br/>
Post bugs and suggestions at $LINK$, thanks!';
?>

View File

@ -106,6 +106,6 @@ $locale['step_finish_homepage'] = 'stronę główną';
$locale['step_finish'] = 'Koniec';
$locale['step_finish_title'] = 'Instalacja zakończona!';
$locale['step_finish_desc'] = 'Gratulacje! <b>MyAAC</b> jest gotowy do użycia!<br/>Możesz się teraz zalogować do $ADMIN_PANEL$, albo odwiedzić $HOMEPAGE$.<br/><br/>
<font color="red">Proszę usunąć katalog <b>install/</b>.</font><br/><br/>
<span style="color: red">Proszę usunąć katalog <b>install/</b>.</span><br/><br/>
Wrzuć błędy i sugestie na $LINK$, dzięki!';
?>

View File

@ -88,6 +88,6 @@ $locale['step_finish_homepage'] = 'hemsida';
$locale['step_finish'] = 'Klar';
$locale['step_finish_title'] = 'Installationen klar!';
$locale['step_finish_desc'] = 'Grattis! <b>MyAAC</b> är redo att användas!<br/>Du kan logga in $ADMIN_PANEL$, eller titta till $HOMEPAGE$.<br/><br/>
<font color="red">Var vänligen ta bort installations mappen.</font><br/><br/>
<span style="color: red">Var vänligen ta bort installations mappen.</span><br/><br/>
Var vänligen rapportera buggar och förslag $LINK$, tack!';
?>

View File

@ -35,7 +35,7 @@ if(isset($_POST['registeraccountsave']) && $_POST['registeraccountsave'] == "1")
}
$twig->display('success.html.twig', array(
'title' => 'Account Registered',
'description' => 'Thank you for registering your account! You can now recover your account if you have lost access to the assigned email address by using the following<br/><br/><font size="5">&nbsp;&nbsp;&nbsp;<b>Recovery Key: '.$new_rec_key.'</b></font><br/><br/><br/><b>Important:</b><ul><li>Write down this recovery key carefully.</li><li>Store it at a safe place!</li>' . $message . '</ul>'
'description' => 'Thank you for registering your account! You can now recover your account if you have lost access to the assigned email address by using the following<br/><br/><span style="font-size: 24px">&nbsp;&nbsp;&nbsp;<b>Recovery Key: '.$new_rec_key.'</b></span><br/><br/><br/><b>Important:</b><ul><li>Write down this recovery key carefully.</li><li>Store it at a safe place!</li>' . $message . '</ul>'
));
}
else

View File

@ -63,18 +63,18 @@ $errors = array();
$freePremium = isset($config['lua']['freePremium']) && getBoolean($config['lua']['freePremium']);
$recovery_key = $account_logged->getCustomField('key');
if(!$account_logged->isPremium())
$account_status = '<b><font color="red">Free Account</font></b>';
$account_status = '<b><span style="color: red">Free Account</span></b>';
else
$account_status = '<b><font color="green">Premium Account, ' . ($freePremium ? 'Unlimited' : $account_logged->getPremDays() . ' days left') . '</font></b>';
$account_status = '<b><span style="color: green">Premium Account, ' . ($freePremium ? 'Unlimited' : $account_logged->getPremDays() . ' days left') . '</span></b>';
if(empty($recovery_key))
$account_registered = '<b><font color="red">No</font></b>';
$account_registered = '<b><span style="color: red">No</span></b>';
else
{
if($config['generate_new_reckey'] && $config['mail_enabled'])
$account_registered = '<b><font color="green">Yes ( <a href="' . getLink('account/register/new') . '"> Buy new Recovery Key </a> )</font></b>';
$account_registered = '<b><span style="color: green">Yes ( <a href="' . getLink('account/register/new') . '"> Buy new Recovery Key </a> )</span></b>';
else
$account_registered = '<b><font color="green">Yes</font></b>';
$account_registered = '<b><span style="color: green">Yes</span></b>';
}
$account_created = $account_logged->getCreated();
@ -86,9 +86,9 @@ $errors = array();
$account_location = $account_logged->getLocation();
if($account_logged->isBanned())
if($account_logged->getBanTime() > 0)
$welcome_message = '<font color="red">Your account is banished until '.date("j F Y, G:i:s", $account_logged->getBanTime()).'!</font>';
$welcome_message = '<span style="color: red">Your account is banished until '.date("j F Y, G:i:s", $account_logged->getBanTime()).'!</span>';
else
$welcome_message = '<font color="red">Your account is banished FOREVER!</font>';
$welcome_message = '<span style="color: red">Your account is banished FOREVER!</span>';
else
$welcome_message = 'Welcome to your account!';

View File

@ -37,12 +37,12 @@ if(!$bans->rowCount())
?>
<table border="0" cellspacing="1" cellpadding="4" width="100%">
<tr align="center" bgcolor="<?php echo $config['vdarkborder']; ?>" class="white">
<td><font color="white"><b>Nick</b></font></td>
<td><font color="white"><b>Type</b></font></td>
<td><font color="white"><b>Expires</b></font></td>
<td><font color="white"><b>Reason</b></font></td>
<td><font color="white"><b>Comment</b></font></td>
<td><font color="white"><b>Added by:</b></font></td>
<td><span style="color: white"><b>Nick</b></span></td>
<td><span style="color: white"><b>Type</b></span></td>
<td><span style="color: white"><b>Expires</b></span></td>
<td><span style="color: white"><b>Reason</b></span></td>
<td><span style="color: white"><b>Comment</b></span></td>
<td><span style="color: white"><b>Added by:</b></span></td>
</tr>
<?php
foreach($bans as $ban)

View File

@ -47,11 +47,11 @@ $showed = $post = $reply = false;
if(!$reply)
{
if($bug[2]['status'] == 2)
$value = "<font color=green>[OPEN]</font>";
$value = '<span style="color: green">[OPEN]</span>';
elseif($bug[2]['status'] == 3)
$value = "<font color=red>[CLOSED]</font>";
$value = '<span style="color: red">[CLOSED]</span>';
elseif($bug[2]['status'] == 1)
$value = "<font color=blue>[NEW ANSWER]</font>";
$value = '<span style="color: blue">[NEW ANSWER]</span>';
echo '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Bug Tracker</B></TD></TR>';
echo '<TR BGCOLOR="'.$dark.'"><td width=40%><i><b>Subject</b></i></td><td>'.$tags[$bug[2]['tag']].' '.$bug[2]['subject'].' '.$value.'</td></tr>';
@ -71,9 +71,9 @@ $showed = $post = $reply = false;
foreach($answers as $answer)
{
if($answer['who'] == 1)
$who = "<font color=red>[ADMIN]</font>";
$who = '<span style="color: red">[ADMIN]</span>';
else
$who = "<font color=green>[PLAYER]</font>";
$who = '<span style="color: green">[PLAYER]</span>';
echo '<br><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Answer #'.$answer['reply'].'</B></TD></TR>';
echo '<TR BGCOLOR="'.$dark.'"><td width=70%><i><b>Posted by</b></i></td><td>'.$who.'</td></tr>';
@ -95,11 +95,11 @@ $showed = $post = $reply = false;
if(isset($_POST['finish']))
{
if(empty($_POST['text']))
$error[] = "<font color=black><b>Description cannot be empty.</b></font>";
$error[] = '<span style="color: black"><b>Description cannot be empty.</b></span>';
if($iswho['who'] == 1)
$error[] = "<font color=black><b>You must wait for User answer.</b></font>";
$error[] = '<span style="color: black"><b>You must wait for User answer.</b></span>';
if(empty($_POST['status']))
$error[] = "<font color=black><b>Status cannot be empty.</b></font>";
$error[] = '<span style="color: black"><b>Status cannot be empty.</b></span>';
if(!empty($error))
{
@ -118,7 +118,7 @@ $showed = $post = $reply = false;
}
else
{
echo "<br><font color=black><b>You can't add answer to closed bug thread.</b></font>";
echo '<br><span style="color: black"><b>You can\'t add answer to closed bug thread.</b></span>';
}
}
@ -131,11 +131,11 @@ $showed = $post = $reply = false;
foreach($bug[1] as $report)
{
if($report['status'] == 2)
$value = "<font color=green>[OPEN]</font>";
$value = '<span style="color: green">[OPEN]</span>';
elseif($report['status'] == 3)
$value = "<font color=red>[CLOSED]</font>";
$value = '<span style="color: red">[CLOSED]</span>';
elseif($report['status'] == 1)
$value = "<font color=blue>[NEW ANSWER]</font>";
$value = '<span style="color: blue">[NEW ANSWER]</span>';
echo '<TR BGCOLOR="' . getStyle($i) . '"><td width=75%><a href="?subtopic=bugtracker&control=true&id='.$report['id'].'&acc='.$report['account'].'">'.$tags[$report['tag']].' '.$report['subject'].'</a></td><td>'.$value.'</td></tr>';
@ -174,11 +174,11 @@ $showed = $post = $reply = false;
if(!$reply)
{
if($bug[2]['status'] == 1)
$value = "<font color=green>[OPEN]</font>";
$value = '<span style="color: green">[OPEN]</span>';
elseif($bug[2]['status'] == 2)
$value = "<font color=blue>[NEW ANSWER]</font>";
$value = '<span style="color: blue">[NEW ANSWER]</span>';
elseif($bug[2]['status'] == 3)
$value = "<font color=red>[CLOSED]</font>";
$value = '<span style="color: red">[CLOSED]</span>';
echo '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Bug Tracker</B></TD></TR>';
echo '<TR BGCOLOR="'.$dark.'"><td width=40%><i><b>Subject</b></i></td><td>'.$tags[$bug[2]['tag']].' '.$bug[2]['subject'].' '.$value.'</td></tr>';
@ -190,9 +190,9 @@ $showed = $post = $reply = false;
foreach($answers as $answer)
{
if($answer['who'] == 1)
$who = "<font color=red>[ADMIN]</font>";
$who = '<span style="color: red">[ADMIN]</span>';
else
$who = "<font color=green>[YOU]</font>";
$who = '<span style="color: green">[YOU]</span>';
echo '<br><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Answer #'.$answer['reply'].'</B></TD></TR>';
echo '<TR BGCOLOR="'.$dark.'"><td width=70%><i><b>Posted by</b></i></td><td>'.$who.'</td></tr>';
@ -214,11 +214,11 @@ $showed = $post = $reply = false;
if(isset($_POST['finish']))
{
if(empty($_POST['text']))
$error[] = "<font color=black><b>Description cannot be empty.</b></font>";
$error[] = '<span style="color: black"><b>Description cannot be empty.</b></span>';
if($iswho['who'] == 0)
$error[] = "<font color=black><b>You must wait for Administrator answer.</b></font>";
$error[] = '<span style="color: black"><b>You must wait for Administrator answer.</b></span>';
if(!$allow)
$error[] = "<font color=black><b>You haven't any characters on account.</b></font>";
$error[] = '<span style="color: black"><b>You haven\'t any characters on account.</b></span>';
if(!empty($error))
{
@ -237,7 +237,7 @@ $showed = $post = $reply = false;
}
else
{
echo "<br><font color=black><b>You can't add answer to closed bug thread.</b></font>";
echo '<br><span style="color: black"><b>You can\'t add answer to closed bug thread.</b></span>';
}
}
@ -259,11 +259,11 @@ $showed = $post = $reply = false;
foreach($bug[1] as $report)
{
if($report['status'] == 1)
$value = "<font color=green>[OPEN]</font>";
$value = '<span style="color: green">[OPEN]</span>';
elseif($report['status'] == 2)
$value = "<font color=blue>[NEW ANSWER]</font>";
$value = '<span style="color: blue">[NEW ANSWER]</span>';
elseif($report['status'] == 3)
$value = "<font color=red>[CLOSED]</font>";
$value = '<span style="color: red">[CLOSED]</span>';
if(is_int($report['id'] / 2))
{
@ -299,15 +299,15 @@ $showed = $post = $reply = false;
if(isset($_POST['submit']))
{
if($thread['status'] != 3)
$error[] = "<font color=black><b>Can be only 1 open bug thread.</b></font>";
$error[] = '<span style="color: black"><b>Can be only 1 open bug thread.</b></span>';
if(empty($_POST['subject']))
$error[] = "<font color=black><b>Subject cannot be empty.</b></font>";
$error[] = '<span style="color: black"><b>Subject cannot be empty.</b></span>';
if(empty($_POST['text']))
$error[] = "<font color=black><b>Description cannot be empty.</b></font>";
$error[] = '<span style="color: black"><b>Description cannot be empty.</b></span>';
if(!$allow)
$error[] = "<font color=black><b>You haven't any characters on account.</b></font>";
$error[] = '<span style="color: black"><b>You haven\'t any characters on account.</b></span>';
if(empty($_POST['tags']))
$error[] = "<font color=black><b>Tag cannot be empty.</b></font>";
$error[] = '<span style="color: black"><b>Tag cannot be empty.</b></span>';
if(!empty($error))
{

View File

@ -302,7 +302,7 @@ WHERE killers.death_id = '".$death['id']."' ORDER BY killers.final_hit DESC, kil
$lasthit = ($death['is_player']) ? getPlayerLink($death['killed_by']) : $death['killed_by'];
$description = 'Killed at level ' . $death['level'] . ' by ' . $lasthit;
if($death['unjustified']) {
$description .= " <font color='red' style='font-style: italic;'>(unjustified)</font>";
$description .= ' <span style="color: red; font-style: italic;">(unjustified)</span>';
}
$mostdmg = ($death['mostdamage_by'] !== $death['killed_by']) ? true : false;
@ -312,7 +312,7 @@ WHERE killers.death_id = '".$death['id']."' ORDER BY killers.final_hit DESC, kil
$description .= ' and by ' . $mostdmg;
if ($death['mostdamage_unjustified']) {
$description .= " <font color='red' style='font-style: italic;'>(unjustified)</font>";
$description .= ' <span style="color: red; font-style: italic;">(unjustified)</span>';
}
}
else {

View File

@ -78,34 +78,34 @@ if(empty($_REQUEST['creature']))
$monsters = $db->query('SELECT * FROM `' . TABLE_PREFIX . 'monsters` WHERE `hidden` != 1'.$whereandorder);
echo '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['vdarkborder'].'>';
if($order == 'name' && !isset($_REQUEST['desc'])) {
echo '<TD class="white" width="200"><B><a href="?subtopic=creatures&order=name&desc=1"><font class="white">Name DESC</a></B></TD>';
echo '<TD class="white" width="200"><B><a href="?subtopic=creatures&order=name&desc=1"><span class="white">Name DESC</span></a></B></TD>';
} else {
echo '<TD class="white" width="200"><B><a href="?subtopic=creatures&order=name"><font class="white">Name</a></B></TD>';
echo '<TD class="white" width="200"><B><a href="?subtopic=creatures&order=name"><span class="white">Name</span></a></B></TD>';
}
if($order == 'health' && !isset($_REQUEST['desc'])) {
echo '<TD class="white"><B><a href="?subtopic=creatures&order=health&desc=1"><font class="white">Health<br/>DESC</a></B></TD>';
echo '<TD class="white"><B><a href="?subtopic=creatures&order=health&desc=1"><span class="white">Health<br/>DESC</span></a></B></TD>';
} else {
echo '<TD class="white"><B><a href="?subtopic=creatures&order=health"><font class="white">Health</a></B></TD>';
echo '<TD class="white"><B><a href="?subtopic=creatures&order=health"><span class="white">Health</span></a></B></TD>';
}
if($order == 'exp' && !isset($_REQUEST['desc'])) {
echo '<TD class="white"><B><a href="?subtopic=creatures&order=exp&desc=1"><font class="white">Experience<br/>DESC</a></B></TD>';
echo '<TD class="white"><B><a href="?subtopic=creatures&order=exp&desc=1"><span class="white">Experience<br/>DESC</span></a></B></TD>';
} else {
echo '<TD class="white"><B><a href="?subtopic=creatures&order=exp"><font class="white">Experience</a></B></TD>';
echo '<TD class="white"><B><a href="?subtopic=creatures&order=exp"><span class="white">Experience</span></a></B></TD>';
}
if($order == 'summonable' && !isset($_REQUEST['desc'])) {
echo '<TD class="white"><B><a href="?subtopic=creatures&order=summonable&desc=1"><font class="white">Summonable<br/>Mana DESC</a></B></TD>';
echo '<TD class="white"><B><a href="?subtopic=creatures&order=summonable&desc=1"><span class="white">Summonable<br/>Mana DESC</span></a></B></TD>';
} else {
echo '<TD class="white"><B><a href="?subtopic=creatures&order=summonable"><font class="white">Summonable<br/>Mana</a></B></TD>';
echo '<TD class="white"><B><a href="?subtopic=creatures&order=summonable"><span class="white">Summonable<br/>Mana</span></a></B></TD>';
}
if($order == 'convinceable' && !isset($_REQUEST['desc'])) {
echo '<TD class="white"><B><a href="?subtopic=creatures&order=convinceable&desc=1"><font class="white">Convinceable<br/>Mana DESC</a></B></TD>';
echo '<TD class="white"><B><a href="?subtopic=creatures&order=convinceable&desc=1"><span class="white">Convinceable<br/>Mana DESC</span></a></B></TD>';
} else {
echo '<TD class="white"><B><a href="?subtopic=creatures&order=convinceable"><font class="white">Convinceable<br/>Mana</a></B></TD>';
echo '<TD class="white"><B><a href="?subtopic=creatures&order=convinceable"><span class="white">Convinceable<br/>Mana</span></a></B></TD>';
}
if($order == 'race' && !isset($_REQUEST['desc'])) {
echo '<TD class="white"><B><a href="?subtopic=creatures&order=race&desc=1"><font class="white">Race<br/>DESC</a></B></TD></TR>';
echo '<TD class="white"><B><a href="?subtopic=creatures&order=race&desc=1"><span class="white">Race<br/>DESC</span></a></B></TD></TR>';
} else {
echo '<TD class="white"><B><a href="?subtopic=creatures&order=race"><font class="white">Race</a></B></TD></TR>';
echo '<TD class="white"><B><a href="?subtopic=creatures&order=race"><span class="white">Race</span></a></B></TD></TR>';
}
$number_of_rows = 0;
foreach($monsters as $monster) {

View File

@ -43,7 +43,7 @@ echo '<br /><br />Page: '.$links_to_pages.'<br />';
$last_threads = $db->query("SELECT `players`.`id` as `player_id`, `players`.`name`, `" . TABLE_PREFIX . "forum`.`post_text`, `" . TABLE_PREFIX . "forum`.`post_topic`, `" . TABLE_PREFIX . "forum`.`id`, `" . TABLE_PREFIX . "forum`.`last_post`, `" . TABLE_PREFIX . "forum`.`replies`, `" . TABLE_PREFIX . "forum`.`views`, `" . TABLE_PREFIX . "forum`.`post_date` FROM `players`, `" . TABLE_PREFIX . "forum` WHERE `players`.`id` = `" . TABLE_PREFIX . "forum`.`author_guid` AND `" . TABLE_PREFIX . "forum`.`section` = ".(int) $section_id." AND `" . TABLE_PREFIX . "forum`.`first_post` = `" . TABLE_PREFIX . "forum`.`id` ORDER BY `" . TABLE_PREFIX . "forum`.`last_post` DESC LIMIT ".$config['forum_threads_per_page']." OFFSET ".($_page * $config['forum_threads_per_page']))->fetchAll();
if(isset($last_threads[0]))
{
echo '<table width="100%"><tr bgcolor="'.$config['vdarkborder'].'" align="center"><td><font color="white" size="1"><b>Thread</b></font></td><td><font color="white" size="1"><b>Thread Starter</b></font></td><td><font color="white" size="1"><b>Replies</b></font></td><td><font color="white" size="1"><b>Views</b></font></td><td><font color="white" size="1"><b>Last Post</b></font></td></tr>';
echo '<table width="100%"><tr bgcolor="'.$config['vdarkborder'].'" align="center"><td><span style="color: white; font-size: 10px"><b>Thread</b></span></td><td><span style="color: white; font-size: 10px"><b>Thread Starter</b></span></td><td><span style="color: white; font-size: 10px"><b>Replies</b></span></td><td><span style="color: white; font-size: 10px"><b>Views</b></span></td><td><span style="color: white; font-size: 10px"><b>Last Post</b></span></td></tr>';
$player = new OTS_Player();
foreach($last_threads as $thread)
@ -52,7 +52,7 @@ if(isset($last_threads[0]))
if(Forum::isModerator())
{
echo '<a href="?subtopic=forum&action=move_thread&id='.$thread['id'].'"\')"><span style="color:darkgreen">[MOVE]</span></a>';
echo '<a href="?subtopic=forum&action=remove_post&id='.$thread['id'].'" onclick="return confirm(\'Are you sure you want remove thread > '.$thread['post_topic'].' <?\')"><font color="red">[REMOVE]</font></a> ';
echo '<a href="?subtopic=forum&action=remove_post&id='.$thread['id'].'" onclick="return confirm(\'Are you sure you want remove thread > '.$thread['post_topic'].' <?\')"><span style="color: red">[REMOVE]</span></a> ';
}
$player->load($thread['player_id']);

View File

@ -154,9 +154,9 @@ else
if($level_in_guild > $rank->getLevel() || $guild_leader)
if($guild_leader_char->getName() != $player->getName())
echo '&nbsp;<font size=1>{<a href="?subtopic=guilds&action=kick_player&guild='.urlencode($guild->getName()).'&name='.urlencode($player->getName()).'">KICK</a>}</font>';
echo '&nbsp;<span style="font-size: 10px">{<a href="?subtopic=guilds&action=kick_player&guild='.urlencode($guild->getName()).'&name='.urlencode($player->getName()).'">KICK</a>}</span>';
echo '</FORM></TD><TD align="right" width="10%">'.$player->getLevel().'</TD><TD align="right" width="20%"><font color="'.($player->isOnline() ? 'green"><b>Online' : 'red"><b>Offline').'</b></font></TD></TR>';
echo '</FORM></TD><TD align="right" width="10%">'.$player->getLevel().'</TD><TD align="right" width="20%"><span style="color: '.($player->isOnline() ? 'green"><b>Online' : 'red"><b>Offline').'</b></span></TD></TR>';
}
echo '</TABLE></TD></TR>';
}

View File

@ -230,7 +230,7 @@ echo '
echo '
<td>
<a href="' . getPlayerLink($player['name'], false) . '">
<font color="' . ($player['online'] > 0 ? 'green' : 'red') . '">' . $player['name'] . '</font>
<span style="color: ' . ($player['online'] > 0 ? 'green' : 'red') . '">' . $player['name'] . '</span>
</a>';
if($config['highscores_vocation']) {
if(isset($player['promotion'])) {

View File

@ -441,7 +441,7 @@ elseif($action == 'checkcode')
$error = 'Account of this character or this character doesn\'t exist.';
}
if(!empty($error))
echo '<font color="red"><b>'.$error.'</b></font><br />Please enter code from e-mail and name of one character from account. Then press Submit.<BR>
echo '<span style="color: red"><b>'.$error.'</b></span><br />Please enter code from e-mail and name of one character from account. Then press Submit.<BR>
<FORM ACTION="?subtopic=lostaccount&action=checkcode" METHOD=post>
<TABLE CELLSPACING=1 CELLPADDING=4 BORDER=0 WIDTH=100%>
<TR><TD BGCOLOR="'.$config['vdarkborder'].'" class="white"><B>Code & character name</B></TD></TR>
@ -462,7 +462,7 @@ elseif($action == 'setnewpassword')
$character = stripslashes($_REQUEST['character']);
echo '';
if(empty($code) || empty($character) || empty($newpassword))
echo '<font color="red"><b>Error. Try again.</b></font><br />Please enter code from e-mail and name of one character from account. Then press Submit.<BR>
echo '<span style="color: red"><b>Error. Try again.</b></span><br />Please enter code from e-mail and name of one character from account. Then press Submit.<BR>
<BR><FORM ACTION="?subtopic=lostaccount&action=checkcode" METHOD=post>
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%><TR><TD><div style="text-align:center">
<INPUT TYPE=image NAME="Back" ALT="Back" SRC="'.$template_path.'/images/global/buttons/sbutton_back.gif" BORDER=0 WIDTH=120 HEIGHT=18></div>
@ -533,7 +533,7 @@ elseif($action == 'setnewpassword')
$error = 'Account of this character or this character doesn\'t exist.';
}
if(!empty($error))
echo '<font color="red"><b>'.$error.'</b></font><br />Please enter code from e-mail and name of one character from account. Then press Submit.<BR>
echo '<span style="color: red"><b>'.$error.'</b></span><br />Please enter code from e-mail and name of one character from account. Then press Submit.<BR>
<FORM ACTION="?subtopic=lostaccount&action=checkcode" METHOD=post>
<TABLE CELLSPACING=1 CELLPADDING=4 BORDER=0 WIDTH=100%>
<TR><TD BGCOLOR="'.$config['vdarkborder'].'" class="white"><B>Code & character name</B></TD></TR>

View File

@ -231,7 +231,7 @@ function getColorByPercent($percent)
<td width=20%>
' . slaw_getPercentBar($percent[$i]) . '
</td>
<td>' . $answer['votes'] . '(<font color=' . getColorByPercent($percent[$i]) . '><b>' . $percent[$i] . '%</b></font>)</td>
<td>' . $answer['votes'] . '(<span style="color: ' . getColorByPercent($percent[$i]) . '"><b>' . $percent[$i] . '%</b></span>)</td>
</tr>';
$i++;
}
@ -270,7 +270,7 @@ function getColorByPercent($percent)
<td width=20%>
' . slaw_getPercentBar($percent[$i]) . '
</td>
<td>' . $answer['votes'] . '(<font color=' . getColorByPercent($percent[$i]) . '><b>' . $percent[$i] . '%</b></font>)</td>
<td>' . $answer['votes'] . '(<span style="color:' . getColorByPercent($percent[$i]) . '"><b>' . $percent[$i] . '%</b></span>)</td>
</tr>';
$i++;
}
@ -282,7 +282,7 @@ function getColorByPercent($percent)
}
$showed=true;
echo '<div class=\'hr1\'></div><a href="?subtopic='.$link.'"><font size="2"><b>Go to list of polls</b></font></a>';
echo '<div class=\'hr1\'></div><a href="?subtopic='.$link.'"><span style="font-size: 13px"><b>Go to list of polls</b></span></a>';
}
}
}
@ -300,7 +300,7 @@ function getColorByPercent($percent)
if(isset($_POST['submit']))
{
setSession('answers', $_POST['answers']);
echo '<form method="post" action=""><b><font size=3>Adding Poll</font></b><br><br>
echo '<form method="post" action=""><b><span style="font-size: 16px">Adding Poll</span></b><br><br>
<input type=text name=question value="" /> Question<br>
<input type=text name=description value="" /> Description<br>
<input type=text name=end value="" /> Time to end, in days<br>';
@ -351,22 +351,22 @@ function getColorByPercent($percent)
{
if(!$check)
{
echo '<form method="post" action=""><b><font size=3>Adding Poll</font></b><br><br>
echo '<form method="post" action=""><b><span style="font-size: 16px">Adding Poll</span></b><br><br>
<input type=text name=answers value="" /> Number of Answers<br>
<input type="submit" name="submit" value="Submit" class="input2"/></form><br><br>';
}
else
{
echo '<b><font size=3><br>Cannot be two and more active polls.<br><br></font></b>';
echo '<b><span style="font-size: 16px"><br>Cannot be two and more active polls.<br><br></span></b>';
}
}
$showed=true;
echo '<br><div class=\'hr1\'></div><a href="?subtopic='.$link.'"><font size="2"><b>Go to list of polls</b></font></a>';
echo '<br><div class=\'hr1\'></div><a href="?subtopic='.$link.'"><span style="font-size: 13px"><b>Go to list of polls</b></span></a>';
}
if(!$showed)
{
echo 'This poll doesn\'t exist.<br>';
echo '<div class=\'hr1\'></div><a href="?subtopic='.$link.'"><font size="2"><b>Go to list of polls</b></font></a>';
echo '<div class=\'hr1\'></div><a href="?subtopic='.$link.'"><span style="font-size: 13px"><b>Go to list of polls</b></span></a>';
}
?>

View File

@ -58,10 +58,10 @@ foreach($groupList as $id => $group)
$tmp .= '<td>' . $flag . ' ' . getPlayerLink($member->getName()) . '</td>';
if($config['team_display_status'])
$tmp .= '<td>' . ($member->isOnline() > 0 ? '<font color="green"><b>Online</b></font>' : '<font color="red"><b>Offline</b></font>') . '</td>';
$tmp .= '<td>' . ($member->isOnline() > 0 ? '<span style="color: green"><b>Online</b></span>' : '<span style="color: red"><b>Offline</b></span>') . '</td>';
if($config['multiworld'] || $config['team_display_world'])
$tmp .= '<td><font class="white"><b>' . getWorldName($member->getWorldId()) . '</b></font></td>';
$tmp .= '<td><span class="white"><b>' . getWorldName($member->getWorldId()) . '</b></span></td>';
$lastLogin = '';
if($config['team_display_lastlogin'])
@ -107,18 +107,18 @@ function getGroupHeader($groupField = true)
$ret = '<tr bgcolor="' . $config['vdarkborder'] . '">';
if($groupField)
$ret .= '<td width="20%"><font class="white"><b>Group</b></font></td>';
$ret .= '<td width="20%"><span class="white"><b>Group</b></span></td>';
$ret .= '<td width="40%"><font class="white"><b>Name</b></font></td>';
$ret .= '<td width="40%"><span class="white"><b>Name</b></span></td>';
if($config['team_display_status'])
$ret .= '<td width="20%"><font class="white"><b>Status</b></font></td>';
$ret .= '<td width="20%"><span class="white"><b>Status</b></span></td>';
if($config['multiworld'] || $config['team_display_world'])
$ret .= '<td><font class="white"><b>World</b></font></td>';
$ret .= '<td><span class="white"><b>World</b></span></td>';
if($config['team_display_lastlogin'])
$ret .= '<td width="20%"><font class="white"><b>Last login</b></font></td>';
$ret .= '<td width="20%"><span class="white"><b>Last login</b></span></td>';
$ret .= '</tr>';
return $ret;

View File

@ -1,5 +1,5 @@
To change a name of character select player and choose a new name.<br/>
<font color="red">Change name cost {{ config.account_change_character_name_points }} premium points. You have {{ points }} premium points.</font><br/><br/>
<span style="color: red">Change name cost {{ config.account_change_character_name_points }} premium points. You have {{ points }} premium points.</span><br/><br/>
<form action="{{ getLink('account/character/name') }}" method="post">
<input type="hidden" name="changenamesave" value="1">
<div class="TableContainer">
@ -37,9 +37,9 @@ To change a name of character select player and choose a new name.<br/>
<input type="text" name="name" id="character_name" size="25" maxlength="25" >
<img id="character_indicator" src="images/global/general/{% if not save or errors|length > 0 %}n{% endif %}ok.gif" />
<br/>
<font size="1" face="verdana,arial,helvetica">
<span style="font-size: 10px">
<div id="character_error">Please enter your character name.</div>
</font>
</span>
</td>
</tr>
</table>

View File

@ -1,5 +1,5 @@
To change a sex of character select player and choose a new sex.<br/>
<font color="red">Change sex cost {{ config.account_change_character_sex_points }} premium points. You have {{ points }} premium points.</font><br/><br/>
<span style="color: red">Change sex cost {{ config.account_change_character_sex_points }} premium points. You have {{ points }} premium points.</span><br/><br/>
<form action="{{ getLink('account/character/sex') }}" method="post">
<input type="hidden" name="changesexsave" value="1"/>
<div class="TableContainer">

View File

@ -3,7 +3,7 @@ Please choose a name{% if config.character_samples|length > 1 %}, vocation{% end
and sex for your character. <br/>
In any case the name must not violate the naming conventions stated in the <a href="?subtopic=rules" target="_blank" >{{ config.lua.serverName }} Rules</a>, or your character might get deleted or name locked.
{% if account_logged.getPlayersList()|length >= config.characters_per_account %}
<b><font color="red"> You have maximum number of characters per account on your account. Delete one before you make new.</font></b>
<b><span style="color: red"> You have maximum number of characters per account on your account. Delete one before you make new.</span></b>
{% endif %}
<br/><br/>
<form action="{{ getLink('account/character/create') }}" method="post">
@ -48,9 +48,9 @@ In any case the name must not violate the naming conventions stated in the <a hr
<input name="name" id="character_name" value="{{ name }}" size="25" maxlength="25" >
<img id="character_indicator" src="images/global/general/{% if not save or errors.name is defined %}n{% endif %}ok.gif" />
<br/>
<font size="1" face="verdana,arial,helvetica">
<span style="font-size: 10px">
<div id="character_error">{% if not save or errors.name is defined %}Please enter your character name.{% endif %}</div>
</font>
</span>
</td>
<td>
{% set i = 0 %}

View File

@ -1,5 +1,5 @@
To generate new recovery key for your account please enter your password.<br/>
<font color="red"><b>New recovery key cost {{ config.generate_new_reckey_price }} Premium Points.</font> You have {{ points }} premium points. You will receive e-mail with this recovery key.</b><br/>
<span style="color: red"><b>New recovery key cost {{ config.generate_new_reckey_price }} Premium Points.</span> You have {{ points }} premium points. You will receive e-mail with this recovery key.</b><br/>
<form action="{{ getLink('account/register/new') }}" method="post">
<input type="hidden" name="registeraccountsave" value="1">
<div class="TableContainer" >

View File

@ -168,7 +168,7 @@
{% for player in players %}
{% set i = i + 1 %}
<tr bgcolor="{{ getStyle(i) }}">
<td><a href="{{ getLink('characters/' ~ player.getName()|urlencode) }}">{{ player.getName() }}</a></td><td>{{ player.getLevel() }}</td><td>{{ player.getVocationName() }}</td><td>{{ config.towns[player.getTownId()] }}</td><td>{% if player.getLastLogin() > 0 %}{{ player.getLastLogin|date('d F Y (H:i)') }}{% else %}Never.{% endif %}</td><td>{% if player.isOnline() %}<font color="green">ONLINE</font>{% else %}<font color="red">Offline</font>{% endif %}</td><td>{% if player.isHidden() %}Hidden{% else %}Visible{% endif %}</td><td>[<a href="{{ getLink('account/character/comment/' ~ player.getName|urlencode) }}" >Edit</a>]</td>
<td><a href="{{ getLink('characters/' ~ player.getName()|urlencode) }}">{{ player.getName() }}</a></td><td>{{ player.getLevel() }}</td><td>{{ player.getVocationName() }}</td><td>{{ config.towns[player.getTownId()] }}</td><td>{% if player.getLastLogin() > 0 %}{{ player.getLastLogin|date('d F Y (H:i)') }}{% else %}Never.{% endif %}</td><td>{% if player.isOnline() %}<span style="color: green">ONLINE</span>{% else %}<span style="color: red">Offline</span>{% endif %}</td><td>{% if player.isHidden() %}Hidden{% else %}Visible{% endif %}</td><td>[<a href="{{ getLink('account/character/comment/' ~ player.getName|urlencode) }}" >Edit</a>]</td>
</tr>
{% endfor %}
</table>

View File

@ -1,10 +1,10 @@
<br/>
<table border="0" cellspacing="1" cellpadding="4" width="100%">
<tr bgcolor="{{ config.vdarkborder }}">
<td width="22"><font class="white"><b>Type</b></font></td>
<td width="22"><font class="white"><b>Where</b></font></td>
<td width="50"><font class="white"><b>Date</b></font></td>
<td><font class="white"><b>Description</b></font></td>
<td width="22"><span class="white"><b>Type</b></span></td>
<td width="22"><span class="white"><b>Where</b></span></td>
<td width="50"><span class="white"><b>Date</b></span></td>
<td><span class="white"><b>Description</b></span></td>
</tr>
{% if changelogs|length > 0%}
{% set i = 0 %}

View File

@ -27,7 +27,7 @@
{% set rows = rows + 1 %}
<tr bgcolor="{{ getStyle(rows) }}">
<td width="20%">Name:</td>
<td>{{ flag|raw }} <font color="{% if player.isOnline() %}green{% else %}red{% endif %}"><b>{{ player.getName() }}</b></font>{{ oldName }}</td>
<td>{{ flag|raw }} <span style="color: {% if player.isOnline() %}green{% else %}red{% endif %}"><b>{{ player.getName() }}</b></span>{{ oldName }}</td>
</tr>
{% set rows = rows + 1 %}
@ -263,7 +263,7 @@
{% for frag in frags %}
<tr bgcolor="{{ getStyle(i) }}">
<td width="20%" align="center">{{ frag.time|date("j M Y, H:i") }}</td>
<td>{{ frag.description|raw }}({% if frag.unjustified %}<font size="1" color="red">Unjustified</font>{% else %}<font size="1" color="green">Justified</font>{% endif %})</td>
<td>{{ frag.description|raw }}({% if frag.unjustified %}<span style="color: red; font-size: 10px">Unjustified</span>{% else %}<span style="color: green; font-size: 10px">Justified</span>{% endif %})</td>
</tr>
{% set i = i + 1 %}
{% endfor %}
@ -357,7 +357,7 @@
<td width="20%">Created:</td>
<td>{{ account.getCreated()|date("j F Y, g:i a") }}
{% if bannedUntil matches '/^\\d+$/' or bannedUntil == '-1' %}
<font color="red">[Banished {% if bannedUntil == '-1' %}forever{% else %}until {{ bannedUntil|date('d F Y, h:s') }}{% endif %}]</font>
<span style="color: red">[Banished {% if bannedUntil == '-1' %}forever{% else %}until {{ bannedUntil|date('d F Y, h:s') }}{% endif %}]</span>
{% else %}
{{ bannedUntil|raw }}
{% endif %}
@ -384,11 +384,11 @@
{% set i = i + 1 %}
<tr bgcolor="{{ getStyle(i) }}">
<td>
<nobr>{{ i }}.&#160;{{ player.getName() }}{% if player.isDeleted() %}<font color="red"> [DELETED]</font>{% endif %}</nobr>
<nobr>{{ i }}.&#160;{{ player.getName() }}{% if player.isDeleted() %}<span style="color: red"> [DELETED]</span>{% endif %}</nobr>
</td>
<td>{{ player.getLevel() }} {{ player.getVocationName() }}</td>
<td>{% if player.isOnline() %}<b><font color="green">Online</font></b>{% endif %}</td>
<td>{% if player.isOnline() %}<b><span style="color: green">Online</span></b>{% endif %}</td>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<form action="{{ characters_link }}" method=post>

View File

@ -2,20 +2,20 @@
<table width="100%">
<tr bgcolor="{{ config.vdarkborder }}">
<td>
<font color="white" size="1"><b>Board</b></font>
<span style="color: white; font-size: 10px"><b>Board</b></span>
</td>
<td>
<font color="white" size="1"><b>Posts</b></font>
<span style="color: white; font-size: 10px"><b>Posts</b></span>
</td>
<td>
<font color="white" size="1"><b>Threads</b></font>
<span style="color: white; font-size: 10px"><b>Threads</b></span>
</td>
<td align="center">
<font color="white" size="1"><b>Last Post</b></font>
<span style="color: white; font-size: 10px"><b>Last Post</b></span>
</td>
{% if canEdit %}
<td>
<font color="white" size="1"><b>Options</b></font>
<span style="color: white; font-size: 10px"><b>Options</b></span>
</td>
{% endif %}
</tr>

View File

@ -6,7 +6,7 @@
<table width="100%">
<tr bgcolor="{{ config.vdarkborder }}">
<td colspan="2">
<font color="white"><b>Edit Post</b></font>
<span style="color: white"><b>Edit Post</b></span>
</td>
</tr>
<tr bgcolor="{{ config.darkborder }}">
@ -25,7 +25,7 @@
<td><input type="text" value="{{ post_topic|raw }}" name="topic" size="40" maxlength="60" /> (Optional)</td>
</tr>
<tr bgcolor="{{ config.darkborder }}">
<td valign="top"><b>Message:</b><font size="1"><br/>You can use:<br/>[player]Nick[/player]<br />[url]http://address.com/[/url]<br />[img]http://images.com/images3.gif[/img]<br />[code]Code[/code]<br />[b]<b>Text</b>[/b]<br />[i]<i>Text</i>[/i]<br/>[u]<u>Text</u>[/u]<br />and smileys:<br />;) , :) , :D , :( , :rolleyes:<br />:cool: , :eek: , :o , :p</font>
<td valign="top"><b>Message:</b><span style="font-size: 10px"><br/>You can use:<br/>[player]Nick[/player]<br />[url]http://address.com/[/url]<br />[img]http://images.com/images3.gif[/img]<br />[code]Code[/code]<br />[b]<b>Text</b>[/b]<br />[i]<i>Text</i>[/i]<br/>[u]<u>Text</u>[/u]<br />and smileys:<br />;) , :) , :D , :( , :rolleyes:<br />:cool: , :eek: , :o , :p</span>
</td>
<td>
<textarea rows="10" cols="60" name="text">{{ post_text|raw }}</textarea><br />(Max. 15,000 letters)

View File

@ -5,7 +5,7 @@
<input type="hidden" name="save" value="save" />
<table width="100%">
<tr bgcolor="{{ config.vdarkborder }}">
<td colspan="2"><font color="white"><b>Post New Reply</b></font></td>
<td colspan="2"><span style="color: white"><b>Post New Reply</b></span></td>
</tr>
<tr bgcolor="{{ config.darkborder }}">
<td width="180"><b>Character:</b></td>
@ -23,7 +23,7 @@
<td><input type="text" name="topic" value="{{ post_topic|escape }}" size="40" maxlength="60" /> (Optional)</td>
</tr>
<tr bgcolor="{{ config.darkborder }}">
<td valign="top"><b>Message:</b><font size="1"><br />You can use:<br />[player]Nick[/player]<br />[url]http://address.com/[/url]<br />[img]http://images.com/images3.gif[/img]<br />[code]Code[/code]<br />[b]<b>Text</b>[/b]<br />[i]<i>Text</i>[/i]<br />[u]<u>Text</u>[/u]<br />and smileys:<br />;) , :) , :D , :( , :rolleyes:<br />:cool: , :eek: , :o , :p</font></td>
<td valign="top"><b>Message:</b><span style="font-size: 10px"><br />You can use:<br />[player]Nick[/player]<br />[url]http://address.com/[/url]<br />[img]http://images.com/images3.gif[/img]<br />[code]Code[/code]<br />[b]<b>Text</b>[/b]<br />[i]<i>Text</i>[/i]<br />[u]<u>Text</u>[/u]<br />and smileys:<br />;) , :) , :D , :( , :rolleyes:<br />:cool: , :eek: , :o , :p</span></td>
<td><textarea rows="10" cols="60" name="text">{{ post_text|escape }}</textarea><br />(Max. 15,000 letters)</td>
</tr>
<tr bgcolor="{{ config.lightborder }}">
@ -49,7 +49,7 @@
<table width="100%">
<tr bgcolor="{{ config.vdarkborder }}">
<td colspan="2">
<font color="white"><b>Last 5 posts from thread: {{ topic|raw }}</b></font>
<span style="color: white"><b>Last 5 posts from thread: {{ topic|raw }}</b></span>
</td>
</tr>
{% set i = 0 %}

View File

@ -6,7 +6,7 @@
<table width="100%">
<tr bgcolor="{{ config.vdarkborder }}">
<td colspan="2">
<font color="white"><b>Post New Reply</b></font>
<span style="color: white"><b>Post New Reply</b></span>
</td>
</tr>
<tr bgcolor="{{ config.darkborder }}">
@ -24,7 +24,7 @@
<td><input type="text" name="topic" value="{{ post_thread|escape }}" size="40" maxlength="60" /> (Optional)</td>
</tr>
<tr bgcolor="{{ config.darkborder }}">
<td valign="top"><b>Message:</b><font size="1"><br />You can use:<br />[player]Nick[/player]<br />[url]http://address.com/[/url]<br />[img]http://images.com/images3.gif[/img]<br />[code]Code[/code]<br />[b]<b>Text</b>[/b]<br />[i]<i>Text</i>[/i]<br />[u]<u>Text</u>[/u]<br />and smileys:<br />;) , :) , :D , :( , :rolleyes:<br />:cool: , :eek: , :o , :p</font></td>
<td valign="top"><b>Message:</b><span style="font-size: 10px"><br />You can use:<br />[player]Nick[/player]<br />[url]http://address.com/[/url]<br />[img]http://images.com/images3.gif[/img]<br />[code]Code[/code]<br />[b]<b>Text</b>[/b]<br />[i]<i>Text</i>[/i]<br />[u]<u>Text</u>[/u]<br />and smileys:<br />;) , :) , :D , :( , :rolleyes:<br />:cool: , :eek: , :o , :p</span></td>
<td><textarea rows="10" cols="60" name="text">{{ post_text|escape }}</textarea><br />(Max. 15,000 letters)</td>
</tr>
<tr bgcolor="{{ config.lightborder }}">

View File

@ -6,14 +6,14 @@ Page: {{ links_to_pages|raw }}<br/>
<table width="100%">
<tr bgcolor="{{ config.lightborder }}" width="100%">
<td colspan="2">
<font size="4"><b>{{ thread_starter.post_topic }}</b></font>
<font size="1"><br/>
by {{ author_link|raw }}</font>
<span style="font-size: 18px"><b>{{ thread_starter.post_topic }}</b></span>
<span style="font-size: 10px"><br/>
by {{ author_link|raw }}</span>
</td>
</tr>
<tr bgcolor="{{ config.vdarkborder }}">
<td width="200">
<font color="white" size="1"><b>Author</b></font>
<span style="color: white; font-size: 10px"><b>Author</b></span>
</td>
<td>&nbsp;</td>
</tr>
@ -27,7 +27,7 @@ Page: {{ links_to_pages|raw }}<br/>
<img style="margin-left:{% if post.player.getLookType() in [75, 266, 302] %}-0px;margin-top:-0px;width:64px;height:64px;{% else %}-60px;margin-top:-60px;width:128px;height:128px;{% endif %}" src="{{ post.outfit }}" alt="player outfit"/>
<br />
{% endif %}
<font size="1">
<span style="font-size: 10px">
{% if post.group is defined %}
Position: {{ post.group }}<br />
{% endif %}
@ -38,17 +38,17 @@ Page: {{ links_to_pages|raw }}<br/>
{{ guildRank }}<br />
{% endif %}
<br />Posts: {{ post.author_posts_count }}<br />
</font>
</span>
</td>
<td valign="top">{{ post.content|raw }} </td></tr>
<tr bgcolor="{{ getStyle(i) }}">
<td>
<font size="1">{{ post.date|date('d.m.y H:i:s') }}
<span style="font-size: 10px">{{ post.date|date('d.m.y H:i:s') }}
{% if post.edited_by is defined %}
<br />Edited by {{ post.edited_by }}
<br />on {{ post.edit_date|date('d.m.y H:i:s') }}
{% endif %}
</font>
</span>
</td>
<td>
{% if is_moderator %}

View File

@ -19,14 +19,14 @@
<option>{{ player }}</option>
{% endfor %}
</select><br/>
<font size="1" face="verdana,arial,helvetica">(Name of leader of new guild.)</font>
<span style="font-size: 10px">(Name of leader of new guild.)</span>
</td>
</tr>
<tr>
<td width="150" valign="top"><b>Guild name: </b></td>
<td>
<input name="guild" value="" size="30" maxlength="50"/><br/>
<font size="1" face="verdana,arial,helvetica">(Here write name of your new guild.)</font></td>
<span style="font-size: 10px">(Here write name of your new guild.)</span></td>
</tr>
</table>
</td>

View File

@ -4,10 +4,10 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
<table style="clear:both" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="{{ config.darkborder }}">
<td width="170">
<font color="red"><b>Option</b></font>
<span style="color: red"><b>Option</b></span>
</td>
<td>
<font color="red"><b>Description</b></font>
<span style="color: red"><b>Description</b></span>
</td>
</tr>
<tr bgcolor="{{ config.lightborder }}">
@ -92,24 +92,24 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
<table style="clear:both" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="{{ config.vdarkborder }}">
<td rowspan="2" width="120" align="center">
<font color="white"><b>ID/Delete Rank</b></font>
<span style="color: white"><b>ID/Delete Rank</b></span>
</td>
<td rowspan="2" width="300">
<font color="white"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name</b></font>
<span style="color: white"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name</b></span>
</td>
<td colspan="3" align="center">
<font color="white"><b>Level of RANK in guild</b></font>
<span style="color: white"><b>Level of RANK in guild</b></span>
</td>
</tr>
<tr bgcolor="{{ config.vdarkborder }}">
<td align="center" bgcolor="red">
<font color="white"><b>Leader (3)</b></font>
<span style="color: white"><b>Leader (3)</b></span>
</td>
<td align="center" bgcolor="yellow">
<font color="black"><b>Vice (2)</b></font>
<span style="color: black"><b>Vice (2)</b></span>
</td>
<td align="center" bgcolor="green">
<font color="white"><b>Member (1)</b></font>
<span style="color: white"><b>Member (1)</b></span>
</td>
</tr>
{% set i = 0 %}

View File

@ -35,25 +35,25 @@
<table border="0" cellspacing="1" cellpadding="4" width="100%">
<tr bgcolor="{{ config.vdarkborder }}">
<td class="white">
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/spell' }}"><font class="white">Name</font></a></b>
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/spell' }}"><span class="white">Name</span></a></b>
</td>
<td class="white">
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/words' }}"><font class="white">Words</font></a></b>
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/words' }}"><span class="white">Words</span></a></b>
</td>
<td class="white">
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/type' }}"><font class="white">Type<br/>(count)</font></a></b>
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/type' }}"><span class="white">Type<br/>(count)</span></a></b>
</td>
<td class="white">
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/mana' }}"><font class="white">Mana</font></a></b>
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/mana' }}"><span class="white">Mana</span></a></b>
</td>
<td class="white">
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/level' }}"><font class="white">Level</font></a></b>
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/level' }}"><span class="white">Level</span></a></b>
</td>
<td class="white">
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/maglevel' }}"><font class="white">Magic<br/>Level</font></a></b>
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/maglevel' }}"><span class="white">Magic<br/>Level</span></a></b>
</td>
<td class="white">
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/soul' }}"><font class="white">Soul</font></a></b>
<b><a href="{{ getLink('spells') ~ '/' ~ post_vocation|urlencode ~ '/soul' }}"><span class="white">Soul</span></a></b>
</td>
<td class="white">
<b>Premium</b>
@ -84,9 +84,9 @@
<td>{% if spell.premium == 1 %}yes{% else %}no{% endif %}</td>
<td>
{% if spell.vocations|length > 0 %}
<font size="1">
<span style="font-size: 10px">
{{ spell.vocations|raw }}
</font>
</span>
{% else %}
{{ config.vocations[post_vocation_id] }}
{% endif %}

View File

@ -116,11 +116,11 @@ defined('MYAAC') or die('Direct access not allowed!');
<?php
if($status['online'])
echo '
<font color="green"><b>Server Online</b></font> &raquo;
<span style="color: green"><b>Server Online</b></span> &raquo;
Players Online: ' . $status['players'] . ' / ' . $status['playersMax'] . ' &raquo;
Monsters: ' . $status['monsters'] . ' &raquo; Uptime: ' . (isset($status['uptimeReadable']) ? $status['uptimeReadable'] : 'Unknown') . '';
else
echo '<font color="red"><b>Server Offline</b></font>';
echo '<span style="color: red"><b>Server Offline</b></span>';
?>
</td>
</tr>
@ -136,7 +136,7 @@ defined('MYAAC') or die('Direct access not allowed!');
<p><?php echo template_footer(); ?></p>
<?php
if($config['template_allow_change'])
echo '<font color="white">Template:</font><br/>' . template_form();
echo '<span style="color: white">Template:</span><br/>' . template_form();
?>
</div>
<!-- End -->

View File

@ -430,15 +430,15 @@
{% set i = i + 1 %}
<tr style="background-color: {{ getStyle(i) }};">
<td>
<nobr>{{ i }}. {{ player.getName() }}{% if player.isDeleted() %}<font color="red"><b> [ DELETED ] </b></font>{% endif %}</nobr>
<nobr>{{ i }}. {{ player.getName() }}{% if player.isDeleted() %}<span style="color: red"><b> [ DELETED ] </b></span>{% endif %}</nobr>
</td>
<td>
<nobr>{{ player.getLevel() }} {{ config.vocations[player.getVocation()] }}</nobr>
</td>
{% if player.isOnline() %}
<td><font color="green"><b>Online</b></font></td>
<td><span style="color: green"><b>Online</b></span></td>
{% else %}
<td><font color="red"><b>Offline</b></font></td>
<td><span style="color: red"><b>Offline</b></span></td>
{% endif %}
<td>[<a href="{{ getLink('account/character/comment/' ~ player.getName|urlencode) }}" >Edit</a>]</td>
</tr>

View File

@ -53,9 +53,9 @@
foreach(getTopPlayers(5) as $player) {
echo '<div style="text-align:left"><a href="'.getPlayerLink($player['name'], false).'" class="topfont ' . ($player['online'] == 1 ? 'online' : 'offline') . '">
<font color="#CCC">&nbsp;&nbsp;&nbsp;&nbsp;'.$player['rank'].' - </font>'.$player['name'].'
<span style="color: #CCC">&nbsp;&nbsp;&nbsp;&nbsp;'.$player['rank'].' - </span>'.$player['name'].'
<br>
<small><font color="white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Level: ('.$player['level'].')</font></small>
<small><span style="color: white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Level: ('.$player['level'].')</span></small>
<br>
</a>
</div>';

View File

@ -415,7 +415,7 @@ foreach($config['menu_categories'] as $id => $cat) {
if($status['online'])
echo '<div id="players" style="display: inline;">' . $status['players'] . '</div><br>Players Online';
else
echo '<font color="red"><b>Server<br />OFFLINE</b></font>';
echo '<span style="color: red"><b>Server<br />OFFLINE</b></span>';
?></div>
</div>
@ -430,7 +430,7 @@ foreach($config['menu_categories'] as $id => $cat) {
}
if($config['template_allow_change'])
echo '<font color="white">Template:</font><br/>' . template_form();
echo '<span style="color: white">Template:</span><br/>' . template_form();
?>
</div>
</div>

View File

@ -17,7 +17,7 @@ function checkName()
if(document.getElementById("character_name").value=="")
{
$('#character_error').html('<font color="red">Please enter new character name.</font>');
$('#character_error').html('<span color="red">Please enter new character name.</span>');
return;
}
@ -38,11 +38,11 @@ function checkName()
$.getJSON("tools/validate.php", { name: name, uid: Math.random() },
function(data){
if(data.hasOwnProperty('success')) {
$('#character_error').html ('<font color="green">' + data.success + '</font>');
$('#character_error').html ('<span style="color: green">' + data.success + '</span>');
$('#character_indicator').attr('src', 'images/global/general/ok.gif');
}
else if(data.hasOwnProperty('error')) {
$('#character_error').html('<font color="red">' + data.error + '</font>');
$('#character_error').html('<span style="color: red">' + data.error + '</span>');
$('#character_indicator').attr('src', 'images/global/general/nok.gif');
}