mirror of
				https://github.com/slawkens/myaac.git
				synced 2025-10-26 22:14:18 +01:00 
			
		
		
		
	 84d502bf10
			
		
	
	84d502bf10
	
	
	
		
			
			Replace $account_logged->getPlayers() with getPlayersList() $_REQUEST['todo'] -> $_REQUEST['post'] $guild_errors -> $errors
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Twig
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Twig
		
	
	
	
	
	
| <form action="{{ getLink('guilds') }}?action=change_rank&guild={{ guild_name }}" method="post">
 | |
| 	{{ csrf() }}
 | |
| 	<input type="hidden" name="todo" value="save" />
 | |
| 	<table border="0" cellspacing="1" cellpadding="4" width="100%">
 | |
| 		<tr bgcolor="{{ config.vdarkborder }}"><td class="white"><b>Change Rank</b></td></tr>
 | |
| 		<tr bgcolor="{{ config.darkborder }}">
 | |
| 			<td>
 | |
| 				<table border="0" cellpadding="1">
 | |
| 					<tr>
 | |
| 						<td>Name: <select name="name">
 | |
| 								{% for player in players %}
 | |
| 									<option value="{{ player[0] }}">{{ player[1] }}</option>
 | |
| 								{% endfor %}
 | |
| 							</select> Rank: <select name="rankid">
 | |
| 								{% for rank in ranks %}
 | |
| 									<option value="{{ rank[0] }}">{{ rank[1] }}</option>
 | |
| 								{% endfor %}
 | |
| 							</select>
 | |
| 						</td>
 | |
| 						<td>
 | |
| 							{{ include('buttons.submit.html.twig') }}
 | |
| 						</td>
 | |
| 					</tr>
 | |
| 				</table>
 | |
| 			</td>
 | |
| 		</tr>
 | |
| 	</table>
 | |
| </form>
 | |
| <table border="0" cellspacing="0" cellpadding="0" width="100%">
 | |
| 	<tr>
 | |
| 		<td>
 | |
| 			<div style="text-align:center">
 | |
| 				<form action="{{ getLink('guilds') }}?action=show&guild={{ guild_name }}" method="post">
 | |
| 					{{ csrf() }}
 | |
| 					{{ include('buttons.back.html.twig') }}
 | |
| 				</form>
 | |
| 			</div>
 | |
| 		</td>
 | |
| 	</tr>
 | |
| </table>
 |