<?phpecho'<div class="content"> <select name="dropdownlist" onchange="location.href = this.value;"> <option value="">Select Category...</option>'; $catlist = $db->query('SELECT * FROM fas_categories WHERE active=\'1\''); while($row = $db->Fetch_row($catlist)){ $categoryname = preg_replace('#\W#', '-', $row['name']); if($seo_on == 1){ echo "<option value='".$domain."/browse/".$row["ID"]."-".$categoryname.".html'>".($row["name"])." Games</option>"; }else{ echo "<option value='".$domain."/index.php?action=browse&ID=".$row["ID"]."'>".($row["name"])." Games</option>"; } };echo'</select> </div>';?>
include("templates/$template/blocks/categorylist.php");
<?phpecho'<div id="side_holder"> <div align="center"> <select name="dropdownlist" onchange="location.href = this.value;"> <option value="">Select Category...</option>'; $catlist = $db->query('SELECT * FROM fas_categories WHERE active=\'1\''); while($row = $db->Fetch_row($catlist)){ $categoryname = preg_replace('#\W#', '-', $row['name']); if($seo_on == 1){ echo "<option value='".$domain."/browse/".$row["ID"]."-".$categoryname.".html'>".($row["name"])." Games</option>"; }else{ echo "<option value='".$domain."/index.php?action=browse&ID=".$row["ID"]."'>".($row["name"])." Games</option>"; } };echo'</select> </div> </div>';?>