<form  id="reg_form_sec" method="post" action="options.php">
	<?php @settings_fields('themoneytizer_settings_group_two'); ?>
	<input type="hidden" name="themoney_is_registered" id="themoney_is_registered" value="1">
	<table>
		<tr>
			<td><label for="url_money"><?php _e('URL*:','themoneytizer');?></label></td>
			<td><input type="text" name="url_money" id="url_money" value="<?php echo get_site_url(); ?>" readOnly class="width_money"></td>
		</tr>

		<tr>
			<td><label for="theme_money"><?php _e('Catégorie de votre site*:','themoneytizer');?></label></td>
			<td>
				<select id="theme_money" name="theme_money" class="width_money">
					<option value=""></option>
					<option value="1" <?php echo (get_option('theme_money') == '1' ? ' selected="selected"' : ''); ?>>Arts &amp; Entertainement</option>
					<option value="2" <?php echo (get_option('theme_money') == '2' ? ' selected="selected"' : ''); ?>>Automobile</option>
					<option value="3" <?php echo (get_option('theme_money') == '3' ? ' selected="selected"' : ''); ?>>Business</option>
					<option value="4" <?php echo (get_option('theme_money') == '4' ? ' selected="selected"' : ''); ?>>Emploi</option>
					<option value="5" <?php echo (get_option('theme_money') == '5' ? ' selected="selected"' : ''); ?>>Education</option>
					<option value="6" <?php echo (get_option('theme_money') == '6' ? ' selected="selected"' : ''); ?>>Famille</option>
					<option value="7" <?php echo (get_option('theme_money') == '7' ? ' selected="selected"' : ''); ?>>Cuisine &amp; Boissons</option>
					<option value="8" <?php echo (get_option('theme_money') == '8' ? ' selected="selected"' : ''); ?>>Santé &amp; Forme</option>
					<option value="9" <?php echo (get_option('theme_money') == '9' ? ' selected="selected"' : ''); ?>>Loisirs &amp; Passions</option>
					<option value="10" <?php echo (get_option('theme_money') == '10' ? ' selected="selected"' : ''); ?>>Maison &amp; Jardin</option>
					<option value="11" <?php echo (get_option('theme_money') == '11' ? ' selected="selected"' : ''); ?>>Droit &amp; Politique</option>
					<option value="12" <?php echo (get_option('theme_money') == '12' ? ' selected="selected"' : ''); ?>>Actu/Media</option>
					<option value="13" <?php echo (get_option('theme_money') == '13' ? ' selected="selected"' : ''); ?>>Finance</option>
					<option value="14" <?php echo (get_option('theme_money') == '14' ? ' selected="selected"' : ''); ?>>Animaux</option>
					<option value="15" <?php echo (get_option('theme_money') == '15' ? ' selected="selected"' : ''); ?>>Immobilier</option>
					<option value="16" <?php echo (get_option('theme_money') == '16' ? ' selected="selected"' : ''); ?>>Science</option>
					<option value="17" <?php echo (get_option('theme_money') == '17' ? ' selected="selected"' : ''); ?>>E-commerce</option>
					<option value="18" <?php echo (get_option('theme_money') == '18' ? ' selected="selected"' : ''); ?>>Sport</option>
					<option value="19" <?php echo (get_option('theme_money') == '19' ? ' selected="selected"' : ''); ?>>Style &amp; Mode</option>
					<option value="20" <?php echo (get_option('theme_money') == '20' ? ' selected="selected"' : ''); ?>>High Tech</option>
					<option value="21" <?php echo (get_option('theme_money') == '21' ? ' selected="selected"' : ''); ?>>Voyage</option>
			</td>
		</tr>

		<tr>
			<td><label for="lang_money"><?php _e('Pays de votre site*:','themoneytizer');?></label></td>
			<td>
				<select id="lang_money" name="lang_money" class="width_money">
					<option value=""></option>
					<?php include 'themoneytizer-country-list.php'; ?>
				</select>
			</td>
		</tr>

		<tr>
			<td><label for="vu_money"><?php _e('Nbre de visiteurs uniques/mois:','themoneytizer');?></label></td>
			<td><br>
        <div id="bloc_type_structure" style="width: 400px;">
          <div class="type_structure">
            <input name="vu_money" id="new_vu_2" type="radio" value="2" /><br>
            <label for="new_vu_2">30k - 100k</label>
          </div>

          <div class="type_structure">
            <input name="vu_money" id="new_vu_3" type="radio" value="3" /><br>
            <label for="new_vu_3">100k - 500k</label>
          </div>

          <div class="type_structure">
            <input name="vu_money" id="new_vu_4" type="radio" value="4" /><br>
            <label for="new_vu_4">500k - 1M</label>
          </div>

          <div class="type_structure">
            <input name="vu_money" id="new_vu_5" type="radio" value="5" /><br>
            <label for="new_vu_5">1M +</label>
          </div>
        </div>
      </td>
		</tr>

		<tr>
			<td><label for="newsletter_money"><?php _e("S'abonner à la Newsletter:",'themoneytizer');?></label></td>
			<?php
			if (get_option('newsletter_money') != 1) {
				echo '<td><input type="checkbox" name="newsletter_money" id="newsletter_money" value="1" class="width_money"></td>';
			} else {
				echo '<td><input type="checkbox" name="newsletter_money" id="newsletter_money" value="1" class="width_money" checked></td>';
			}
			?>
		</tr>

    <tr class="not-show">
      <td><label for="themoneytizer_mail_connexion_site"><?php _e('Email :','themoneytizer');?></label></td>
      <td><input type="email" class="width_money" name="themoneytizer_mail_connexion_site" id="themoneytizer_mail_connexion_site" value=""></td>
    </tr>

    <tr class="not-show">
      <td><label for="themoneytizer_password_connexion_site"><?php _e('Mot de passe :','themoneytizer');?></label></td>
      <td><input type="password" class="width_money" name="themoneytizer_password_connexion_site" id="themoneytizer_password_connexion_site" value=""></td>
    </tr>
	</table>
	<input type="submit" style="float:right; margin-right:67%;"  id="submit_reg_sec" name="submit_reg_sec" class="bouton_money" value="<?php _e('Suivant','themoneytizer');?>">
</form>

<form id="submit_back" method="post" action="options.php">
	<?php @settings_fields('themoneytizer_settings_group_three'); ?>
	<input type="hidden" name="themoney_is_registered" id="themoney_is_registered" value="">
	<input type="submit"  id="" name="" class="bouton_money" value="<?php _e('Précédent','themoneytizer');?>">
</form>

<hr>

<div id="connexion-token" class="not-show">
  <h2><?php _e('Votre site est déjà inscrit sur notre plateforme ?','themoneytizer');?></h2>
  <p> <?php _e('Rentrez son id WordPress','themoneytizer');?></p>

  <form id="token_form" method="post" action="options.php">
      <?php @settings_fields('themoneytizer_settings_group_four'); ?>

    <input type="hidden" name="themoney_is_registered"  value="4">
    <input type="hidden" name="wplang" id="wplang" value="<?php echo get_option('WPLANG'); ?>">

    <table>
      <tr>
        <td><label for="themoneytizer_setting_siteid"><?php _e('Moneytizer ID*:','themoneytizer');?></label></td>
        <td><input type="text" class="width_money" name="themoneytizer_setting_siteid" id="themoneytizer_setting_siteid"  value="<?php echo get_option('themoneytizer_setting_siteid'); ?>"></td>

        <td><input type="submit"  id="submit" name="submit" class="bouton_money" value="<?php _e('Enregistrer','themoneytizer');?>"></td>
      </tr>
    </table>
  </form>

  <div>
    <h5 style="font-size: 1em;"><?php _e('Où trouver mon identifiant ?','themoneytizer');?></h5>

    <p><?php _e('Votre identifiant est affiché sur la page dédiée à votre site de votre espace éditeur personnel. Pour y accéder, rendez-vous sur votre <a href="http://www.themoneytizer.com/manager/main" target="_blank">Moneybox</a>','themoneytizer');?></p>

    <p><?php _e('<i>Information</i> : votre identifiant est une suite de lettres et chiffres par exemple "<i>3b2b79d0667e6e43ee962fc3ff6349f6</i>".','themoneytizer');?></p>
  </div>
</div>
