<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE panel SYSTEM "http://www.sigames.com/dtds/sios/panel.dtd">
<panel title="Player Profile Panel">

	<!-- attribute colouring -->
	<integer id="exca" value="16" /> <!-- excellent threshold -->
	<integer id="excn" value="11" /> <!-- normal threshold -->
	<integer id="excl" value="6" /> <!-- low threshold -->
	
	<!-- PANEL PROPERTIES -->
	<layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
	<layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true"/>

	<container class="titled_box" title="Compare players">

        <layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="10"/>
        <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0"/>
        
		<!-- embedded buttons -->
		<container id="btns" embed_in_frame="true">

			<layout class="arrange_horizontal_attachment" alignment="right" embed_in_frame="true"/>
			<layout class="stick_to_sides_attachment" alignment="top" inset="0" layout_children="true" embed_in_frame="true"/>
			<layout class="stick_to_sides_attachment" alignment="top,right" embed_in_frame="true" inset="3"/>
			<layout class="fit_children_attachment" alignment="vertical" embed_in_frame="true"/>
			<layout class="fit_children_attachment" alignment="horizontal,fill" embed_in_frame="true"/>
			
			<!-- staff view menu -->
			<widget class="embedded_popup_button" id="pccw" text="Compare With" sele="pccw" auto_size="all" fixed="true" auto_tick_exclusive="true" embed_in_frame="true">
				<list id="items" />
			</widget>
		</container>

		<!-- personal information comparison table -->
		<container class="group_box">
		
	        <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="0"/>
            <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />
	        <layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="0"/>

			<container class="group_box" id="pld1">
			
				<layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="0"/>
				<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />
				<layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="0"/>

				<widget class="table" id="dtl1" mode="fill_rows" layout="-1,-2,-3,4,4,-3,-2,-1" stretch_to_fit_rows="true" row_spacing="0">
					<list id="headings">
						<record id="ply1" text="Player 1" alignment="right, centre_y" column_span="4"/>
						<record id="ply2" text="Player 2" alignment="left, centre_y" column_span="4"/>
					</list>
													        
					<list id="column_display_properties">
						<record indx="0" sort_disabled="true"/>
						<record indx="1" sort_disabled="true"/>
						<record indx="2" sort_disabled="true"/>
						<record indx="3" sort_disabled="true"/>
						<record indx="4" sort_disabled="true"/>
						<record indx="5" sort_disabled="true"/>
					</list>

					<!-- comparison items will be created dynamically and added here -->
				</widget>
				
				<widget class="table" id="dtl2" mode="fill_rows" layout="100,-2,-2,-3,4,4,-3,-2,-2,100" stretch_to_fit_rows="true" row_spacing="0">
					<list id="headings">
						<record id="ply1" text="Player 1" alignment="right, centre_y" column_span="5"/>
						<record id="ply2" text="Player 2" alignment="left, centre_y" column_span="5"/>
					</list>
										
					<list id="column_display_properties">
						<record indx="0" sort_disabled="true"/>
						<record indx="1" sort_disabled="true"/>
						<record indx="2" sort_disabled="true"/>
						<record indx="3" sort_disabled="true"/>
						<record indx="4" sort_disabled="true"/>
						<record indx="5" sort_disabled="true"/>
					</list>
					
					<!-- comparison items will be created dynamically and added here -->
				</widget>

			</container>

			<widget class="table" id="addt" mode="fill_rows" layout="-1,-2,-3,4,4,-3,-2,-1" auto_size_rows="true" stretch_to_fit_rows="true" row_spacing="0">

				<!-- comparison items will be created dynamically and added here -->
			</widget>
				
		</container>

		
		<widget class="table" id="stat" mode="fill_rows" layout="-5,20,-1,4,4,-1,20,-5" auto_size_rows="true" stretch_to_fit_rows="true" row_spacing="0">
			<list id="headings">
				<record text="Stats" alignment="centre" column_span="8"/>
			</list>
		    
			<list id="column_display_properties">
				<record indx="0" sort_disabled="true"/>
				<record indx="1" sort_disabled="true" top="7"/>
				<record indx="2" sort_disabled="true"/>
				<record indx="3" sort_disabled="true"/>
				<record indx="4" sort_disabled="true"/>
				<record indx="5" sort_disabled="true"/>
				<record indx="6" sort_disabled="true" top="7"/>
				<record indx="7" sort_disabled="true"/>
			</list>
			<!-- comparison items will be created dynamically and added here -->
		</widget>
		    
		
		<container class="group_box" id="temp">
		
			<layout class="arrange_horizontal_attachment" alignment="left,fill" offset="0" gap="8"/>
			<layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />
			<layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="0"/>

			<!-- technical comparison table -->
			<widget class="table" id="tech" mode="fill_rows" layout="-3,25,-2,25" stretch_to_fit_rows="true" row_spacing="0" row_height="20">
				<list id="headings">
					<record text="Technical" alignment="centre" column_span="5"/>
				</list>
				
				<list id="column_properties">
					<record index="0" alignment="left,centre_y"/>
					<record index="1" alignment="centre,centre_y"/>
					<record index="2" alignment="centre,centre_y"/>
					<record index="3" alignment="centre,centre_y"/>
				</list>

				<list id="column_display_properties">
					<record indx="0" sort_disabled="true"/>
					<record indx="1" sort_disabled="true"/>
					<record indx="2" sort_disabled="true"/>
					<record indx="3" sort_disabled="true"/>
				</list>
				<!-- comparison items will be created dynamically and added here -->
			</widget>

			<!-- goalkeeping comparison table -->
			<widget class="table" id="goal" mode="fill_rows" layout="-3,25,-2,25" row_height="20" stretch_to_fit_rows="true" row_spacing="0">
				<list id="headings">
					<record text="Goalkeeping" alignment="centre" column_span="5"/>
				</list>
				
				<list id="column_properties">
					<record index="0" alignment="left,centre_y"/>
					<record index="1" alignment="centre,centre_y"/>
					<record index="2" alignment="centre,centre_y"/>
					<record index="3" alignment="centre,centre_y"/>
				</list>

				<list id="column_display_properties">
					<record indx="0" sort_disabled="true"/>
					<record indx="1" sort_disabled="true"/>
					<record indx="2" sort_disabled="true"/>
					<record indx="3" sort_disabled="true"/>
				</list>
				<!-- comparison items will be created dynamically and added here -->
			</widget>

			<!-- Mental comparison table -->
			<widget class="table" id="ment" mode="fill_rows" layout="-3,25,-2,25" row_height="20" stretch_to_fit_rows="true" row_spacing="0">
				<list id="headings">
					<record text="Mental" alignment="centre" column_span="5"/>
				</list>
				
				<list id="column_properties">
					<record index="0" alignment="left,centre_y"/>
					<record index="1" alignment="centre,centre_y"/>
					<record index="2" alignment="centre,centre_y"/>
					<record index="3" alignment="centre,centre_y"/>
				</list>

				<list id="column_display_properties">
					<record indx="0" sort_disabled="true"/>
					<record indx="1" sort_disabled="true"/>
					<record indx="2" sort_disabled="true"/>
					<record indx="3" sort_disabled="true"/>
				</list>
				<!-- comparison items will be created dynamically and added here -->
			</widget>


			<container class="group_box" id="temp">
			
				<layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="20"/>
				<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />

				<!-- Physical comparison table -->
				<widget class="table" id="cmph" mode="fill_rows" layout="-3,25,-2,25" row_height="20" stretch_to_fit_rows="true" row_spacing="0">
					<list id="headings">
						<record text="Physical" alignment="centre" column_span="5"/>
					</list>
					
					<list id="column_properties">
						<record index="0" alignment="left,centre_y"/>
						<record index="1" alignment="centre,centre_y"/>
						<record index="2" alignment="centre,centre_y"/>
						<record index="3" alignment="centre,centre_y"/>
					</list>

					<list id="column_display_properties">
						<record indx="0" sort_disabled="true"/>
						<record indx="1" sort_disabled="true"/>
						<record indx="2" sort_disabled="true"/>
						<record indx="3" sort_disabled="true"/>
					</list>
					<!-- comparison items will be created dynamically and added here -->
				</widget>

				<!-- Other comparison table -->
				<widget class="table" id="cmot" mode="fill_rows" layout="-3,48,-1,48" row_height="20" stretch_to_fit_rows="true" row_spacing="0">
					<list id="headings">
						<record text="Other" alignment="centre" column_span="5"/>
					</list>
					
					<list id="column_properties">
						<record index="0" alignment="left,centre_y"/>
						<record index="1" alignment="centre,centre_y"/>
						<record index="2" alignment="centre,centre_y"/>
						<record index="3" alignment="centre,centre_y"/>
					</list>

					<list id="column_display_properties">
						<record indx="0" sort_disabled="true"/>
						<record indx="1" sort_disabled="true"/>
						<record indx="2" sort_disabled="true"/>
						<record indx="3" sort_disabled="true"/>
					</list>
					<!-- comparison items will be created dynamically and added here -->
				</widget>

			</container>
			
		</container>
		
	</container>

</panel>
