<div class="black_box_bg_middle"><div class="black_box_bg_top"><div class="black_box">
	<div class="content" style="margin-left:50px;">
		<div class="red_h_sep"></div>
		<div class="title">
			<?php $enter_payment_title = lang('Enter Payment Details')?>
			<span class="toupper"><?php echo $enter_payment_title?></span>
		</div>	
		<?php echo form_open('settings/set-payment-details/' . $this->uri->segment(3), 'class="set_payment_details"')?>
			<?php echo form_hidden('payment_method',$this->uri->segment(3))?>		
			<div class="gray italic payment_details" id="studio_settings">
			<?php 
			$fields = unserialize($payment_details->fields);			
			foreach ($fields as $field): ?>
				<div>
					<label><span class="gray italic bold" id="performerTexAlign"><?php echo $field?>:</span></label>
					<?php echo form_input(url_title($field), set_value(url_title($field)))?>
					<span class="error message" htmlfor="<?php echo url_title($field) ?>" generated="true"><?php echo form_error(url_title($field))?></span>
				</div>
			<?php endforeach ?>
				<div>
					<label><span class="gray italic bold"><?php echo lang('Release Amount')?>:</span></label>
					<?php echo form_input('rls_amount', set_value('rls_amount'))?> 
					<span class="error message" htmlfor="rls_amount" generated="true"><?php echo (form_error('rls_amount'))?form_error('rls_amount'):sprintf(lang('Minim %s'),print_amount_by_currency($payment_details->minim_amount,TRUE,TRUE))?></span>					
				</div>	
			<br/>
			<label></label><?php echo form_submit('submit',lang('Submit'), 'class="red payment_submit" style="width:206px;"')?>
			</div>
		<?php echo form_close()?>
		<br/>
		<div class="clear"></div>
		<div class="red_h_sep"></div>
		<div class="white_h_sep"></div>
		
	</div>
</div>
</div></div><div class="black_box_bg_bottom"></div>