Exemplo n.º 1
0
			<input type="hidden" name="id" value="<?php 
echo $ADK_APPLICANT->id;
?>
" />
			<button type="submit" id="button_submit_delete"></button>
		</form>
	</div>
	
	<div style="display:none;">
		<template id="template_state_us">
			<?php 
$default = $ADK_APPLICANT->country === 'United States' ? $ADK_APPLICANT->state : 'NY';
echo select_state($default);
?>
		</template>
		<template id="template_state_ca">
			<?php 
$default = $ADK_APPLICANT->country === 'Canada' ? $ADK_APPLICANT->state : 'ON';
echo select_state_ca($default);
?>
		</template>
		<template id="template_stateregion">
			<?php 
$default = $ADK_APPLICANT->country !== 'United States' && $ADK_APPLICANT->country !== 'Canada' ? $ADK_APPLICANT->state : '';
echo textbox_stateregion($default);
?>
		</template>
	</div>
	
</body>
</html>
Exemplo n.º 2
0
				<input type="hidden" id="peakids" name="peakids" />
				
			</form>
			
		</div>
		<?php 
include 'templates/footer.php';
?>
	</div>
	
	<div style="display:none;">
		<template id="template_state_us">
			<?php 
echo select_state('NY');
?>
		</template>
		<template id="template_state_ca">
			<?php 
echo select_state_ca('ON');
?>
		</template>
		<template id="template_stateregion">
			<?php 
echo textbox_stateregion('');
?>
		</template>
	</div>
	
</body>
</html>