<td><input type="password" name="pass2" class="mid2" id="pass2" value=""  /></td>
	</tr>
	<tr>
	  <td align="right" colspan="2" class="white"><span style="color: #F00">*</span> <span style="padding-right:40px;">mandatory fields</span></td>
	</tr>
	<tr>
		<td class="white" colspan="2">
			<?php 
    wepromotethis_show_clickbank_fields($userdata);
    ?>
		</td>
	</tr>
	<tr>
		<td class="white" colspan="2">
			<?php 
    wepromotethis_show_youtube_fields($userdata);
    ?>
    	</td>
    </tr>

     <tr>
	  <td align="center" colspan="2"><br><input type="submit" value="Update" /></td>
	</tr>
  </table>
  <input type="hidden" name="action" value="update" />
</form>

<?php 
}
?>
 
function wepromotethis_extra_profile_fields($user)
{
    echo '<h3>Extra Profile Information</h3>';
    wepromotethis_show_clickbank_fields($user, true);
    wepromotethis_show_youtube_fields($user, true);
}