<?php	
if (!isset($r_position_outside)) $r_position_outside = NULL;
if (!isset($r_position_inside)) $r_position_inside = NULL;

print "
<div class='form-row'>
	<label for='r_position_outside' class='form-label'>".LABEL_POSITION."</label>
	<div class='form-cols'>
		<div class='form-col position'>
			<div class='form-controls'>
				<input type='radio' id='r_position_outside' name='r_position_outside' value='lt'"; if ($r_position_outside == 'lt') print " checked='checked'"; print ">
				<input type='radio' id='r_position_outside' name='r_position_outside' value='ct'"; if ($r_position_outside == 'ct') print " checked='checked'"; print ">
				<input type='radio' id='r_position_outside' name='r_position_outside' value='rt'"; if ($r_position_outside == 'rt') print " checked='checked'"; print ">
				<label for='r_position_outside' class='form-label-after'></label>
				<input type='radio' id='r_position_inside' name='r_position_inside' value='lt'"; if ($r_position_inside == 'lt') print " checked='checked'"; print ">
				<input type='radio' id='r_position_inside' name='r_position_inside' value='ct'"; if ($r_position_inside == 'ct') print " checked='checked'"; print ">
				<input type='radio' id='r_position_inside' name='r_position_inside' value='rt'"; if ($r_position_inside == 'rt') print " checked='checked'"; print ">
			</div><!-- /.form-controls -->
			
			<div class='form-controls'>
				<input type='radio' id='r_position_outside' name='r_position_outside' value='lm'"; if ($r_position_outside == 'lm') print " checked='checked'"; print ">
				<input type='radio' id='r_position_outside' name='r_position_outside' value='cm'"; if ($r_position_outside == 'cm') print " checked='checked'"; print ">
				<input type='radio' id='r_position_outside' name='r_position_outside' value='rm'"; if ($r_position_outside == 'rm') print " checked='checked'"; print ">
				<label for='r_position_outside' class='form-label-after'></label>
				<input type='radio' id='r_position_inside' name='r_position_inside' value='lm'"; if ($r_position_inside == 'lm') print " checked='checked'"; print ">
				<input type='radio' id='r_position_inside' name='r_position_inside' value='cm'"; if ($r_position_inside == 'cm') print " checked='checked'"; print ">
				<input type='radio' id='r_position_inside' name='r_position_inside' value='rm'"; if ($r_position_inside == 'rm') print " checked='checked'"; print ">
			</div><!-- /.form-controls -->
			
			<div class='form-controls'>
				<input type='radio' id='r_position_outside' name='r_position_outside' value='lb'"; if ($r_position_outside == 'lb') print " checked='checked'"; print ">
				<input type='radio' id='r_position_outside' name='r_position_outside' value='cb'"; if ($r_position_outside == 'cb') print " checked='checked'"; print ">
				<input type='radio' id='r_position_outside' name='r_position_outside' value='rb'"; if ($r_position_outside == 'rb') print " checked='checked'"; print ">
				<label for='r_position_outside' class='form-label-after'>".LABEL_OUTSIDE."</label>
				<input type='radio' id='r_position_inside' name='r_position_inside' value='lb'"; if ($r_position_inside == 'lb') print " checked='checked'"; print ">
				<input type='radio' id='r_position_inside' name='r_position_inside' value='cb'"; if ($r_position_inside == 'cb') print " checked='checked'"; print ">
				<input type='radio' id='r_position_inside' name='r_position_inside' value='rb'"; if ($r_position_inside == 'rb') print " checked='checked'"; print ">
				<label for='r_position_inside' class='form-label-after'>".LABEL_INSIDE."</label>
			</div><!-- /.form-controls -->
		</div><!-- /.form-col form-1of2 -->
	</div><!-- /.form-cols -->
</div><!-- /.form-row -->

<hr />";