mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-12 15:46:06 +00:00
Big Cleanup
1) Removed unnecessary files 2) Trailling spaces (no all though) 3) Some space to tab conversion
This commit is contained in:
+62
-62
@@ -71,12 +71,12 @@ if (isset($_GET['send']) && isset($_GET['from']))
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title><?php echo SERVER_NAME ?></title>
|
||||
<link REL="shortcut icon" HREF="favicon.ico"/>
|
||||
<link REL="shortcut icon" HREF="favicon.ico"/>
|
||||
<meta http-equiv="cache-control" content="max-age=0" />
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
@@ -99,12 +99,12 @@ if (isset($_GET['send']) && isset($_GET['from']))
|
||||
<link href='".$session->gpack."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
function smilie(text) {
|
||||
document.myform.message.value += text;
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<script language="javascript">
|
||||
function toggleDisplay(e){
|
||||
@@ -113,29 +113,29 @@ if (isset($_GET['send']) && isset($_GET['from']))
|
||||
element.display='none';
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
window.addEvent('domready', start);
|
||||
</script>
|
||||
</head>
|
||||
<?php
|
||||
if($session->gpack == null || GP_ENABLE == false) {
|
||||
echo "
|
||||
<link href='".GP_LOCATE."travian.css?e21d2' rel='stylesheet' type='text/css' />
|
||||
<link href='".GP_LOCATE."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
|
||||
} else {
|
||||
echo "
|
||||
<link href='".$session->gpack."travian.css?e21d2' rel='stylesheet' type='text/css' />
|
||||
<link href='".$session->gpack."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
|
||||
}
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
window.addEvent('domready', start);
|
||||
</script>
|
||||
</head>
|
||||
<?php
|
||||
if($session->gpack == null || GP_ENABLE == false) {
|
||||
echo "
|
||||
<link href='".GP_LOCATE."travian.css?e21d2' rel='stylesheet' type='text/css' />
|
||||
<link href='".GP_LOCATE."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
|
||||
} else {
|
||||
echo "
|
||||
<link href='".$session->gpack."travian.css?e21d2' rel='stylesheet' type='text/css' />
|
||||
<link href='".$session->gpack."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
|
||||
}
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
window.addEvent('domready', start);
|
||||
</script>
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
<body class="v35 ie ie8">
|
||||
<div class="wrapper">
|
||||
<img style="filter:chroma();" src="img/x.gif" id="msfilter" alt="" />
|
||||
@@ -148,42 +148,42 @@ if (isset($_GET['send']) && isset($_GET['from']))
|
||||
<div id="content" class="login">
|
||||
<?php if (@!$NextStep && @!$NextStep2 && @!$done){?>
|
||||
<form method="POST" action="massmessage.php" name="myform" id="myform">
|
||||
<table cellspacing="1" cellpadding="2" class="tbg" style="background-color:#C0C0C0; border: 0px solid #C0C0C0; font-size: 10pt;">
|
||||
<table cellspacing="1" cellpadding="2" class="tbg" style="background-color:#C0C0C0; border: 0px solid #C0C0C0; font-size: 10pt;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="rbg" style="font-size: 10pt; text-align:center;" colspan="2"><?php echo MASS; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10pt; text-align: left; width: 200px;"><?php echo MASS_SUBJECT; ?></td>
|
||||
<td style="font-size: 10pt; text-align: left;">
|
||||
<input type="text" style="width: 240px;" class="fm" name="subject" value="" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10pt; text-align: left;"><?php echo MASS_COLOR; ?></td>
|
||||
<td style="font-size: 10pt; text-align: left;">
|
||||
|
||||
<tr>
|
||||
<td class="rbg" style="font-size: 10pt; text-align:center;" colspan="2"><?php echo MASS; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10pt; text-align: left; width: 200px;"><?php echo MASS_SUBJECT; ?></td>
|
||||
<td style="font-size: 10pt; text-align: left;">
|
||||
<input type="text" style="width: 240px;" class="fm" name="subject" value="" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10pt; text-align: left;"><?php echo MASS_COLOR; ?></td>
|
||||
<td style="font-size: 10pt; text-align: left;">
|
||||
|
||||
<input type="text" style="width: 240px;" class="fm" name="color" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="font-size: 10pt; text-align:center;"><?php echo MASS; ?> <br>
|
||||
<textarea class="fm" name="message" cols="60" rows="23"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="text-align:center;"><?php echo MASS_REQUIRED; ?><td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="text-align:center;">
|
||||
<input type="submit" value="Send" name="submit" /> </td>
|
||||
</tr>
|
||||
|
||||
<input type="text" style="width: 240px;" class="fm" name="color" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="font-size: 10pt; text-align:center;"><?php echo MASS; ?> <br>
|
||||
<textarea class="fm" name="message" cols="60" rows="23"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="text-align:center;"><?php echo MASS_REQUIRED; ?><td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="text-align:center;">
|
||||
<input type="submit" value="Send" name="submit" /> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
</form>
|
||||
<?php if (@!$NextStep && @!$NextStep2 && @!$done){?>
|
||||
<?php echo MASS_UNITS; ?>
|
||||
<a href="javascript:toggleDisplay('message_smilies')"><?php echo MASS_SHOWHIDE; ?></a>
|
||||
|
||||
<div name="smilll" id="message_smilies" style="background:none repeat scroll 0 0 #EFEFEF;border:1px solid #71D000;left:20px;margin-top:5px;max-width:660px;padding:5px;position:relative;display: none;">
|
||||
<div name="smilll" id="message_smilies" style="background:none repeat scroll 0 0 #EFEFEF;border:1px solid #71D000;left:20px;margin-top:5px;max-width:660px;padding:5px;position:relative;display: none;">
|
||||
<?php echo MASS_READ; ?>
|
||||
<a href="#" onclick="smilie('*u1*')"><img src="img/x.gif" class="uu1" /></a>
|
||||
<a href="#" onclick="smilie('*u2*')"><img src="img/x.gif" class="uu2" /></a>
|
||||
@@ -216,19 +216,19 @@ if (isset($_GET['send']) && isset($_GET['from']))
|
||||
|
||||
<?php }elseif (@$NextStep){?>
|
||||
<form method="POST" action="massmessage.php">
|
||||
<table cellspacing="1" cellpadding="2" class="tbg">
|
||||
<table cellspacing="1" cellpadding="2" class="tbg">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="rbg" colspan="2"><?php echo MASS_CONFIRM; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left; width: 200px;"><?php echo MASS_REALLY; ?></td>
|
||||
<td style="text-align: left;">
|
||||
<input type="submit" style="width: 240px;" class="fm" name="confirm" value="Yes">
|
||||
<input type="submit" style="width: 240px;" class="fm" name="confirm" value="No"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="rbg" colspan="2"><?php echo MASS_CONFIRM; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left; width: 200px;"><?php echo MASS_REALLY; ?></td>
|
||||
<td style="text-align: left;">
|
||||
<input type="submit" style="width: 240px;" class="fm" name="confirm" value="Yes">
|
||||
<input type="submit" style="width: 240px;" class="fm" name="confirm" value="No"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
</form>
|
||||
<?php }elseif (@$NextStep2){?>
|
||||
<script>document.location.href='massmessage.php?send=true&from=0'</script>
|
||||
@@ -247,8 +247,8 @@ if (isset($_GET['send']) && isset($_GET['from']))
|
||||
</div>
|
||||
|
||||
<div class="footer-stopper outgame"></div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php include("Templates/footer.tpl"); ?>
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user