require "../connect.php"; require "../function.php"; require "../source.php"; $res = select('fs_members', 20, array('mno', $_SESSION['mno'])); // print_r($res); $selected_brands_women = array(); $selected_brand = $_GET['selected_brands']; // echo $selected_brand; // echo "<br>"; // echo "hello here they go!"; if (male()) { $c = 0; // echo "male selected brands are : <br>"; 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);
<?php //brands_men(brands_men_list()); ?> <?php brands_women(brands_women_list(), 'brands_women', 'id_women_', 'cl_women_'); ?> </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>