add_brfnotexist(get_oldb_slcted(), get_brand_names(brands_men_list(), $selected_brand));
    // echo "<br><br><br>";
    del_brfunchecked(brands_men_list(), $selected_brand);
    // if ( strlen($selected_brand) > 0 ) {
    // 	$brandname=get_brand_names(brands_men_list(),$selected_brand);
    // 	for ($i=0; $i < count($brandname) ; $i++) {
    // 		$c+=1;
    // 		echo " $c .)".$brandname[$i]."<br>";
    // 	}
    // }
} else {
    $c = 0;
    // echo "female selected brands are : <br>";
    add_brfnotexist(get_oldb_slcted(), get_brand_names(brands_women_list(), $selected_brand));
    // echo "<hr>";
    del_brfunchecked(brands_women_list(), $selected_brand);
    // if ( strlen($selected_brand) > 0 ) {
    // 	$brandname=get_brand_names(brands_women_list(),$selected_brand);
    // 	for ($i=0; $i < count($brandname) ; $i++) {
    // 		 $c+=1;
    // 		 echo " $c .)".$brandname[$i]."<br>";
    // 	}
    // }
}
?>

<?php 
// echo "hello there!";
$mybrand_indb = select('fs_member_brand_selected', 4, array('mno', $_SESSION['mno']));
// print_r($mybrand_indb);
// echo "found = ".count($mybrand_indb);
Example #2
0
						</table>
						 -->
						<div id="res"> 
							<?php 
if (num_gender($your_data[0][4]) == 1) {
    $_SESSION['gender'] = 1;
    echo "<table border=0 class='blist'>";
    // brands_men($brands_men,$bname=null,$id=null,$class=null)
    brands_men(brands_men_list(), 'brands_men', 'id_men_', 'cl_men_');
    echo "</table>";
    // echo "<input type='button' onclick='getCheckedBoxes();gotoSlide(2)' value='SAVE' > ";
    echo "\n\t\t\t\t\t\t\t\t\t\t<br><br><br>\n\t\t\t\t\t\t\t\t \t\t<center>\n\t\t\t\t\t\t\t\t\t\t\t<input type=button onclick='getCheckedBoxes_men();gotoSlide(2)' value='SAVE' class='m' style='width:200px;height:50px;font-size:20pt;box-shadow:2px 2px 2px #aaa;border:0; ' /> \n\t\t\t\t\t\t\t\t \t\t</center>\n\t\t\t\t\t\t\t\t\t";
} else {
    $_SESSION['gender'] = 2;
    echo "<table border=0 class='blist'  >";
    brands_women(brands_women_list(), 'brands_women', 'id_women_', 'cl_women_');
    echo "</table>";
    // echo "<input type='button' onclick='getCheckedBoxes();gotoSlide(2)' value='SAVE'style='width:200px;height:50px;font-size:20pt;box-shadow:2px 2px 2px #aaa;border:0;' > ";
    echo "\n\t\t\t\t\t\t\t\t\t\t<br><br><br>\n\t\t\t\t\t\t\t\t \t\t<center>\n\t\t\t\t\t\t\t\t\t\t\t<input type=button onclick='getCheckedBoxes_women();gotoSlide(2)' value='NEXT' class='m' style='width:200px;height:50px;font-size:20pt;box-shadow:2px 2px 2px #aaa;border:0; ' /> \n\t\t\t\t\t\t\t\t \t\t</center>\n\t\t\t\t\t\t\t\t\t";
}
?>
						</div>
						<!-- <input type="button"  value="checked" id="checkeds" onclick=""/> -->
						<br><br>
					</td>
					<!-- follow -->
					<td class="slide" valign=top >
						<img src="images/fixer.png" /><br>
						<span style="font:bold 25px helveticaBold;color:#fd225a">FOLLOW PEOPLE</span><BR>
						<span style="font:bold 18px helvetica">WE RECOMMEND FOLLOWING THESE PEOPLE.</span>
						<div id="womens_brand_selected" >