Пример #1
0
				<?php 
    if ($data['gameInfos']['curr'] != null) {
        ?>
					<td class="value">
						<input class="text width2" type="text" name="CurrGameMode" id="CurrGameMode" readonly="readonly" value="<?php 
        echo AdminServ::getGameModeName($data['gameInfos']['curr']['GameMode']);
        ?>
" />
					</td>
				<?php 
    }
    ?>
				<td class="value">
					<select class="width2" name="NextGameMode" id="NextGameMode">
						<?php 
    echo AdminServUI::getGameModeList($data['gameInfos']['next']['GameMode']);
    ?>
					</select>
				</td>
				<td class="preview"></td>
			</tr>
		<?php 
}
?>
		<?php 
if (AdminServAdminLevel::hasPermission('gameinfos_general_options')) {
    ?>
			<tr>
				<td class="key"><label for="NextChatTime"><?php 
    echo Utils::t('Map end time');
    ?>
    echo ' checked="checked"';
}
?>
 value="" />
						</td>
						<td class="preview"></td>
					</tr>
					<tr>
						<td class="key"><label for="filterDefaultGameMode"><?php 
echo Utils::t('Default game mode');
?>
</label></td>
						<td class="value">
							<select class="width2" name="filterDefaultGameMode" id="filterDefaultGameMode">
								<?php 
echo AdminServUI::getGameModeList($data['matchSettings']['filter']['ForceDefaultGameMode']);
?>
							</select>
						</td>
						<td class="preview"></td>
					</tr>
				</table>
			</fieldset>
		</div>
		
		<div class="fright save">
			<input class="button light" type="submit" name="savematchsetting" id="savematchsetting" data-nomap="<?php 
echo Utils::t('No map selected for the MatchSettings.');
?>
" value="<?php 
echo Utils::t('Save');