"; echo "" . $name . " "; if ($lang == 1) echo "by"; else echo "por"; echo " " . $row['author'] . ""; if ($row['needs_update'] == 1) { echo " - "; if ($lang == 1) echo "Needs update!"; else echo "Necesita actualización!"; echo ""; } if ($row['updated'] == 1) { echo " - "; if ($lang == 1) echo "Updated!"; else echo "Actualizado!"; echo ""; } if ($row['new'] == 1) { echo " - "; if ($lang == 1) echo "New!"; else echo "Nuevo!"; echo ""; } echo ""; echo "" . $row['size'] . ""; echo ""; } } ?>
"; $soft = mysql_query("select * from downloads where cat='beta' order by id"); while ($row = mysql_fetch_array($soft, MYSQL_ASSOC)) { if ($lang == 1) { $name = $row['name_en']; $desc = $row['desc_en']; } else { $name = $row['name_es']; $desc = $row['desc_es']; } $name = $name . ' ' . $row['version']; echo ""; echo ""; echo ""; echo ""; if ($desc != "") echo ""; echo ""; } // Our software echo ""; $soft = mysql_query("select * from downloads where cat='soft' order by id"); while ($row = mysql_fetch_array($soft, MYSQL_ASSOC)) { if ($lang == 1) { $name = $row['name_en']; $desc = $row['desc_en']; } else { $name = $row['name_es']; $desc = $row['desc_es']; } $name = $name . ' ' . $row['version']; echo ""; echo ""; echo ""; echo ""; if ($desc != "") echo ""; echo ""; } // Our software source code echo ""; $soft = mysql_query("select * from downloads where cat='src' order by id"); while ($row = mysql_fetch_array($soft, MYSQL_ASSOC)) { if ($lang == 1) { $name = $row['name_en']; $desc = $row['desc_en']; } else { $name = $row['name_es']; $desc = $row['desc_es']; } $name = $name . ' ' . $row['version']; echo ""; echo ""; echo ""; echo ""; if ($desc != "") echo ""; echo ""; } // Additional software echo ""; $soft = mysql_query("select * from downloads where cat='soft_add' order by id"); while ($row = mysql_fetch_array($soft, MYSQL_ASSOC)) { if ($lang == 1) { $name = $row['name_en']; $desc = $row['desc_en']; } else { $name = $row['name_es']; $desc = $row['desc_es']; } $name = $name . ' ' . $row['version']; echo ""; echo ""; echo ""; echo ""; if ($desc != "") echo ""; echo ""; } echo ""; echo ""; echo ""; echo ""; echo ""; } else { switch ($_GET['cat']) { case "langsvp": // Language files for ViPlay echo ""; output_langs_or_manuals($langs); break; case "langssw": // Language files for Subtitle Workshop echo ""; output_langs_or_manuals($langs); break; case "manualsw": // Translations of Subtitle Workshop manual echo ""; output_langs_or_manuals($manuals); break; case "skinsvp": // Skins for ViPlay // This is temporary, we will later create a cooler skins section echo ""; $skins = mysql_query("select * from skins where downid = 'baseskin'"); $row = mysql_fetch_array($skins, MYSQL_ASSOC); echo ""; echo ""; echo ""; echo ""; echo ""; $skins = mysql_query("select * from skins where downid <> 'baseskin' order by name_en"); while ($row = mysql_fetch_array($skins, MYSQL_ASSOC)) { $name = $row['name_en']; if ($row['email'] != "") $email = ProcessMail($row['email']); else $email = ""; echo ""; echo ""; echo ""; echo ""; echo ""; } break; } } ?>
"; if ($lang == 1) echo "Our 'BETA' software"; else echo "Nuestro software 'BETA'"; echo "

" . $name . "" . $row['size'] . "
" . $desc . "

"; if ($lang == 1) echo "Our software"; else echo "Nuestro software"; echo "


" . $name . "" . $row['size'] . "
" . $desc . "

"; if ($lang == 1) echo "Source code"; else echo "Código fuente"; echo "


" . $name . "" . $row['size'] . "
" . $desc . "

"; if ($lang == 1) echo "Additional software"; else echo "Software adicional"; echo "


" . $name . "" . $row['size'] . "
" . $desc . "

"; if ($lang == 1) echo "Additional content"; else echo "Contenido adicional"; echo "


"; if ($lang == 1) echo "Language files for ViPlay"; else echo "Archivos de lenguaje para ViPlay"; echo "
"; if ($lang == 1) echo "Language files for Subtitle Workshop"; else echo "Archivos de lenguaje para Subtitle Workshop"; echo "
"; if ($lang == 1) echo "Translations of the Subtitle Workshop Manual"; else echo "Traducciones del Manual de Subtitle Workshop"; echo "
"; if ($lang == 1) echo "Skins for ViPlay"; else echo "Skins para ViPlay"; echo "
"; if ($lang == 1) { echo "Languages for ViPlay"; $langs = mysql_query("select * from downloads where cat='lang_vp' order by name_en"); } else { echo "Lenguajes para ViPlay"; $langs = mysql_query("select * from downloads where cat='lang_vp' order by name_es"); } echo "

"; if ($lang == 1) { echo "Languages for Subtitle Workshop"; $langs = mysql_query("select * from downloads where cat='lang_sw' order by name_en"); } else { echo "Lenguajes para Subtitle Workshop"; $langs = mysql_query("select * from downloads where cat='lang_sw' order by name_es"); } echo "

"; if ($lang == 1) { echo "Translations of Subtitle Workshop manual"; $manuals = mysql_query("select * from downloads where cat='manual_sw' order by name_en"); } else { echo "Traducciones del manual de Subtitle Workshop"; $manuals = mysql_query("select * from downloads where cat='manual_sw' order by name_es"); } echo "

"; if ($lang == 1) echo "Skins"; else echo "Pieles"; echo "

Base Skin"; echo "" . $row['size'] . "
" . $name . " "; if ($lang == 1) echo "by"; else echo "por"; echo " " . $row['author'] . ""; if ($row['needs_update'] == 1) { echo " - "; if ($lang == 1) echo "Needs update!"; else echo "Necesita actualización!"; echo ""; } if ($row['updated'] == 1) { echo " - "; if ($lang == 1) echo "Updated!"; else echo "Actualizado!"; echo ""; } if ($row['new'] == 1) { echo " - "; if ($lang == 1) echo "New!"; else echo "Nuevo!"; echo ""; } echo "" . $row['size'] . "