<div class="flexboxer flexboxer--configuration flexboxer--full">
  
	<section id="generalconfiguration" class="wrap wrap--content wrap--collapse js-section wrap--shadow wrap--form">
		<h3 onclick="ToggleSection(this)" data-section="generalconfiguration" class="js-section-launch">Configuración general</h3>
        <form method="POST" action="">
        	<?php 
    wpdc_the_input_checkbox_simple('users_can_register', 1, 'Permitir registro de usuarios', '', false, get_option('users_can_register'));
    ?>
        	<?php 
    wpdc_the_input_checkbox_simple('users_can_asociate', 1, 'Permitir que usuarios se asocien', '', false, get_option('users_can_asociate'));
    ?>
        	<h3 class="sep">Registro de asociados</h3>
	        <?php 
    $options = ["dbem_dnie" => change_field_name("dbem_dnie"), "bornday" => change_field_name("bornday"), "dbem_phone" => change_field_name("dbem_phone"), "dbem_address" => change_field_name("dbem_address"), "titulacion" => change_field_name("titulacion"), "centro_de_estudios" => change_field_name("centro_de_estudios"), "first_name" => change_field_name("first_name"), "last_name" => change_field_name("last_name"), "email" => change_field_name("email")];
    wpdc_the_input_select_option('fields_asociate_min', get_option("fields_asociate_min"), 'Campos obligatorios', $options, true);
    ?>
        	<?php 
    wpdc_the_submit('updatesection', 'general-options', '', '', 'Guardar cambios');
    ?>
        </form>
	</section>

	<section id="orgconfig" class="wrap wrap--content wrap--collapse js-section wrap--shadow wrap--form">
		<h3 onclick="ToggleSection(this)" data-section="orgconfig" class="js-section-launch">Datos de la organización</h3>
        <form method="POST" action="">
			<?php 
    wpdc_the_input_text('asoc_name', get_option("asoc_name"), 'Nombre completo de la organización', 'Entidad para la ...');
    ?>
			<?php 
    wpdc_the_input_text('asoc_adress', get_option("asoc_adress"), 'Dirección', 'Calle, Ciudad, CP...');
<section class="wrap wrap--content wrap--form wrap--shadow">
  <h3 class="title title--section">Datos del asociado</h3>

  <?php 
wpdc_the_input_date('asociate_up_date', '', 'Fecha de alta');
?>

  <?php 
wpdc_the_input_date('asociate_down_date', '', 'Fecha de baja');
?>

  <?php 
wpdc_the_input_select_role('roles', 'Tipo de usuario');
?>

  <?php 
$charge_array = ['', 'vicepresidente', 'tesorero', 'secretario', 'vocal'];
wpdc_the_input_select_position('asociation_position', 'Cargo organizativo', $charge_array);
?>

  <?php 
$charge_array = ['', 'rp_events', 'rp_concursos', 'rp_jobs', 'rp_posts'];
wpdc_the_input_select_position('responsability', 'Responsable de área', $charge_array);
?>

  <?php 
$opt_array = ['false' => 'No', 'true' => 'Si'];
wpdc_the_input_select_option('fundator', '', 'Socio fundador', $opt_array);
?>

</section>
示例#3
0
    </div>
  </div>
  <div class="wrap wrap--frame">
    <?php 
echo html_entity_decode(get_option("text_asociate_payfee"));
?>
    </div>

    <?php 
if ($members_pending[get_current_user_id()] == '' && $members_payed[get_current_user_id()] == '') {
    ?>
      <h3 class="sep">Abonar cuota</h3>

      <?php 
    $pay_options = ["" => "Selecciona método de pago", "transferency" => "Pago mediante transferencia", "paypal" => "Pago por paypal"];
    wpdc_the_input_select_option('paymethod', '', 'Método de pago', $pay_options, false, false, 'paymethod');
    ?>

      <?php 
    if (get_option('bank_account') != '') {
        ?>
 
        <div id="js-select-transferency" class="wrap wrap--frame wrap--hidden js-select js-select-paymethod">
          <form method="POST" action="">
            <p>Cuenta donde realizar el ingreso bancario: <strong><?php 
        echo get_option('bank_account');
        ?>
</strong></p>
            <?php 
        echo html_entity_decode(get_option("text_asociate_payfee_banks"));
        ?>