<h2><span><?php 
_e("Passions", "javo_fr");
?>
</span></h2>
							</div>
							<div class="javo-add-item-term-area" style='padding:10px;'>
								<?php 
$edit_id = isset($edit) ? $edit->ID : 0;
//echo apply_filters('javo_add_item_get_terms_checkbox', 'item_category', $edit_id, "sel_category[]");
?>
								<?php 
global $wpdb;
$passions = $wpdb->get_results("SELECT b.term_id,b.name FROM wp_term_taxonomy as a INNER JOIN wp_terms as b ON a.term_taxonomy_id=b.term_id  WHERE a.taxonomy='item_category'");
$passionCounter = 0;
foreach ($passions as $passion) {
    if (in_array($passion->term_id, getUserPassions())) {
        echo "<input type='checkbox' value='{$passion->term_id}' name='sel_category[]'> " . $passion->name . "<br>";
    }
    $passionCounter++;
}
if (!$passionCounter) {
    echo "<font color='red' style='margin:10px;display:inline-block'>Sorry, No Passion opened for you, please buy passions from the membership info page.</font>";
}
?>
							</div>
						</div>
						<div class="col-md-6 col-sm-6 col-xs-6">
							<div class="line-title-bigdots">
								<h2><span><?php 
_e("Locations", "javo_fr");
?>
function additionalPassion()
{
    global $wpdb;
    $passions = $wpdb->get_results("Select a.name,a.term_id FROM wp_terms as a INNER JOIN wp_term_taxonomy as b ON a.term_id=b.term_taxonomy_id WHERE  b.taxonomy='item_category'");
    $html = "<div class='select_transcharity_passions' style='padding:10px'><b><u>Select Passion</u></b><br>";
    foreach ($passions as $passion) {
        if (!in_array($passion->term_id, getUserPassions())) {
            $html .= "<input type='radio' required='required'  name='select_transcharity_passion[]' value='{$passion->term_id}'> {$passion->name} <br>";
        }
    }
    $html .= "</div>";
    return $html;
}