<?phpecho'<div class="content"> <select name="dropdownlist" onchange="location.href = this.value;"> <option value="">Select a game...</option>'; $gamelist = $db->query('SELECT * FROM fas_games WHERE active=\'1\' order by `name` ASC'); while($row = $db->Fetch_row($gamelist)){ $gamename = preg_replace('#\W#', '-', $row['name']); if ($seo_on == 1){ echo "<option value='".$domain."/play/".$row["ID"]."-".$gamename.".html'>".titlelimit($row["name"])."</option>"; }else{ echo "<option value='".$domain."/index.php?action=play&ID=".$row["ID"]."'>".titlelimit($row["name"])."</option>"; } };echo'</select> </div>';?>
include("templates/$template/blocks/allgameslist.php");
<?phpecho'<div id="side_holder"> <div align="center"> <select name="dropdownlist" onchange="location.href = this.value;"> <option value="">Select a game...</option>'; $gamelist = $db->query('SELECT * FROM fas_games WHERE active=\'1\' order by `name` ASC'); while($row = $db->Fetch_row($gamelist)){ $gamename = preg_replace('#\W#', '-', $row['name']); if ($seo_on == 1){ echo "<option value='".$domain."/play/".$row["ID"]."-".$gamename.".html'>".titlelimit($row["name"])."</option>"; }else{ echo "<option value='".$domain."/index.php?action=play&ID=".$row["ID"]."'>".titlelimit($row["name"])."</option>"; } };echo'</select> </div> </div>';?>