?>
" method="post" onsubmit="return validateForm(this);">

              <?php 
            wpdc_the_input_email('user_login', '', 'Email', '*****@*****.**');
            ?>

              <?php 
            wpdc_the_input_email('user_email', '', 'Repetir email', '*****@*****.**');
            ?>
 

      				<p style="display:none"><label for="confirm_email">;)</label><input type="text" name="confirm_email" id="confirm_email" value=""></p>

              <?php 
            wpdc_the_input_checkbox_simple('terms', '', 'Acepto los términos y condiciones', 'Términos y condiciones');
            ?>

              <?php 
            wpdc_the_submit('wp-submit', 'Enviar invitación', 'a', 'a', 'Enviar invitación');
            ?>
  					</form>

          </section><!--profilebox -->
  		<?php 
        } else {
            echo '<section class="wrap wrap--content wrap--transparent">';
            echo '<h3>Has gastado todas tus invitaciones :(</h3>';
            echo '</section>';
        }
    } else {
$checked = false;
if ($tweet_new_user == true) {
    $checked = true;
}
wpdc_the_input_checkbox_simple('tweet_new_user', 'true', 'Activado', 'Anunciar confirmación de nuevos usuarios', $empty_twitter_keys, $checked);
?>
	    	
	    	<?php 
$checked = false;
if ($tweet_new_publication == true) {
    $checked = true;
}
wpdc_the_input_checkbox_simple('tweet_new_publication', 'true', 'Activado', 'Anunciar publicación de contenido', $empty_twitter_keys, $checked);
?>
	    	
	    	<?php 
$checked = false;
if ($tweet_new_publication == true) {
    $checked = true;
}
wpdc_the_input_checkbox_simple('follow_new_user', 'true', 'Activado', 'Seguir a nuevos socios', $empty_twitter_keys, $checked);
?>
		</div>	
		
		<!-- submit change status -->
		<?php 
wpdc_the_submit('updatesection', 'twitteroptions', '', '', 'Guardar cambios');
?>

	</form>
</section>
    wpdc_the_input_text('asoc_instagram', get_option("asoc_instagram"), 'Url cuenta de instagram', 'http://...');
    ?>
        	<?php 
    wpdc_the_submit('updatesection', 'org-options', '', '', 'Guardar cambios');
    ?>
        </form>
	</section>

	<section id="homeconfig" class="wrap wrap--content wrap--collapse js-section wrap--shadow wrap--form">
		<h3 onclick="ToggleSection(this)" data-section="homeconfig" class="js-section-launch">Portada (Home)</h3>
        <form method="POST" action="">
        	<?php 
    wpdc_the_input_checkbox_simple('show_slider', 1, 'Mostrar slider', 'Mostrar carrusel con últimas actividades', false, get_option('show_slider'));
    ?>
        	<?php 
    wpdc_the_input_checkbox_simple('show_text_about_us', 1, 'Mostrar "About us"', 'Mostrar texto explicativo en la portada', false, get_option('show_text_about_us'));
    ?>
        	<?php 
    wpdc_the_input_textarea('text_about_us', get_option("text_about_us"), 'Texto Sobre nosotros');
    ?>
        	<?php 
    wpdc_the_submit('updatesection', 'home-options', '', '', 'Guardar cambios');
    ?>
        </form>
	</section>

	<?php 
    if (get_option('users_can_register')) {
        ?>
		<section id="registryconfiguration" class="wrap wrap--content wrap--collapse js-section wrap--shadow wrap--form">
			<h3 onclick="ToggleSection(this)" data-section="registryconfiguration" class="js-section-launch">Textos de la página</h3>