more fixes

This commit is contained in:
unknown
2012-06-21 23:27:58 +03:00
parent 6b384a8fb1
commit 11034d3331
9 changed files with 223 additions and 230 deletions
+2 -2
View File
@@ -21,13 +21,13 @@ if($session->access!=BANNED){
</tr></thead>
<tbody><tr>
<th>Tag</th>
<td><input class="tag text" name="ally1" value="<?php echo $allianceinfo['tag']; ?>" maxlength="8">
<td><input class="tag text" name="ally1" value="<?php echo $allianceinfo['tag']; ?>" maxlength="15">
<span class="error2"></span></td>
</tr>
<tr>
<th>Name</th>
<td><input class="name text" name="ally2" value="<?php echo $allianceinfo['name']; ?>" maxlength="25">
<td><input class="name text" name="ally2" value="<?php echo $allianceinfo['name']; ?>" maxlength="50">
<span class="error2"></span></td>
</tr></tbody></table>
+1 -1
View File
@@ -40,7 +40,7 @@
<tr>
<th>Alliance</th>
<td><input class="ally text" type="text" name="a_name" maxlength="8"></td>
<td><input class="ally text" type="text" name="a_name" maxlength="15"></td>
</tr>
<tr>
+2
View File
@@ -7,9 +7,11 @@ $send = $database->getMovement("1",$village->wid,1);
$total_for2 = count($send);
for($y=0;$y < $total_for;$y++){
for($i=0;$i < $total_for2;$i++){
if($units[$y]['ref'] == $send[$i]['ref2']){
$res1 = mysql_query("SELECT * FROM " . TB_PREFIX . "send where id = ".$send[$i]['ref']."");
$res = mysql_fetch_array($res1);
}
}
$timer = $y+1;
if ($units[$y]['sort_type']==3){
if ($units[$y]['attack_type']==3){
+2 -2
View File
@@ -9,7 +9,7 @@
<tbody><tr>
<th>Tag</th>
<td class="tag">
<input class="text" name="ally1" value="<?php echo $form->getValue("ally1"); ?>" maxlength="8">
<input class="text" name="ally1" value="<?php echo $form->getValue("ally1"); ?>" maxlength="15">
<span class="error"><?php echo $form->getError("ally1"); ?></span>
</td>
@@ -17,7 +17,7 @@
<tr>
<th>Name</th>
<td class="nam">
<input class="text" name="ally2" value="<?php echo $form->getValue("ally2"); ?>" maxlength="25">
<input class="text" name="ally2" value="<?php echo $form->getValue("ally2"); ?>" maxlength="50">
<span class="error"><?php echo $form->getError("ally2"); ?></span>
</td>