<form action="" method="post">





	<div class="ulp-stuffbox">


		<h3 class="ulp-h3"><?php _e('Add new Currency', 'ulp');?></h3>





  			<div class="inside">


  			  <h2><?php _e('Custom Currency', 'ulp');?></h2>


  		    <p style="margin-top:0px;"><?php _e('Add new currencies beside the predefined list based on custom Symbols', 'ulp');?></p>





  				<div class="ulp-form-line">


  					<label class="ulp-labels-special"><?php _e('Code:', 'ulp');?></label>


  					<input type="test" value="" name="new_currency_code" />


  					<p><?php _e('Insert a valid Currency Code, ex: ', 'ulp');?><span style="font-weight:bold;"><?php _e('USD, EUR, CAD.', 'ulp');?></span></p>


  				</div>





  				<div class="ulp-form-line">


  					<label class="ulp-labels-special"><?php _e('Name:', 'ulp');?></label>


  					<input type="text" value="" name="new_currency_name" />


  				</div>





  				<div class="ulp-submit-form">


  					<input type="submit" value="<?php _e('Save Changes', 'ulp');?>" name="ulp_save" class="btn btn-primary pointer" />


  				</div>





  			</div>


	</div>


</form>


<?php if ($data ['currencies']!==FALSE && count($data ['currencies'])>0):?>


    <div class="ulp-stuffbox">


      <table class="wp-list-table widefat fixed tags">


        <thead style="background: #f1f4f8 !important;    border-bottom: 1px solid #ccc;box-shadow: inset 0px -5px 10px 2px rgba(0,0,0,0.03); line-height: 1.4;">


          <tr>


            <th class="manage-column">Code</th>


            <th class="manage-column">Name</th>


            <th class="manage-column" style="width:80px; text-align: center;">Delete</th>


          </tr>


        </thead>


        <tbody>


          <?php	foreach ($data ['currencies'] as $code=>$name):?>


              <tr id="<?php echo 'ulp_div_' . $code;?>">


                <td><?php echo $code;?></td>


                <td><?php echo $name;?></td>


                <td style="text-align: center;"><i class="fa-ulp fa-remove-ulp" onClick="ulpRemoveCurrency('<?php echo $code;?>');" style="cursor: pointer;"></i></td>


              </tr>


          <?php endforeach;	?>


        </tbody>


      </table>


    </div>


<?php endif;?>


