Замена short_tags.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if(!defined('GAME')) {
|
||||
die();
|
||||
}
|
||||
@@ -87,7 +87,7 @@ function mod1() {
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?
|
||||
<?php
|
||||
if( $u->error != '' ) {
|
||||
echo '<div style="padding-top:10px;"><font color="red">'.$u->error.'</font></div>';
|
||||
if(isset($fastend)) {
|
||||
@@ -106,21 +106,21 @@ if( $u->error != '' ) {
|
||||
<td width="33%" valign="top">
|
||||
<fieldset style="border: 1px solid white; padding: 10px;margin-top:15px; padding-bottom:10px;">
|
||||
<legend style='font-weight:bold; color:#8F0000;'>Кнопки</legend>
|
||||
<?
|
||||
<?php
|
||||
if( $pr[1] > 0 ) {
|
||||
?>
|
||||
<input onClick="mod1();" class="btn" type="button" value="Принять в ОМ">
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if( $pr[2] > 0 ) {
|
||||
?>
|
||||
<input class="btn" type="button" value="Выгнать из ОМ">
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if( $pr[3] > 0 ) {
|
||||
?>
|
||||
<input class="btn" type="button" value="Изменить звание">
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if( $pr[5] == 0 || $u->info['admin'] > 0 ) {
|
||||
?>
|
||||
@@ -130,7 +130,7 @@ if( $u->error != '' ) {
|
||||
}
|
||||
</script>
|
||||
<input onclick="btn5()" class="btn" type="button" value="Покинуть Орден">
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user