Nop!, debe de ser con alguna variable submit yo que sé. *****, no recuerdo cual era el código.
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes MenúCita de: W4rR3d en 17 Marzo 2011, 05:09 AMespero que lo corrigan este virus informaticoY ni estáis seguro de lo que hacéis
$sLimit = 1;
$sSQL = "SELECT * FROM noticia ORDER by id DESC LIMIT ".$sLimit.",1;";
$sQuery = mysql_query( $sSQL );
$sLimit = 1;
$sSQL = "SELECT * FROM noticia ORDER by id DESC LIMIT $sLimit,1;";
$sQuery = mysql_query( $sSQL );
# MySQL database will be created in 1 minute. Use these details for your PHP scripts:
$mysql_host = "mysql15.000webhost.com";
$mysql_database = "a1234567";
$mysql_user = "a1234567";
$mysql_password = "******";
#include <windows.h>
#include <mmsystem.h>
#include <cstdlib>
#include<stdio.h>
#include<conio2.h>
#include<conio.h>
#include<string.h>
using namespace std;
int e,n,n2,n3;
int main(){
textcolor(13);
printf("\n\n \2\2\2\2 Repertorio musical \2\2\2\2 \n\n ");
Sleep(1000);
printf("\n\n Bienvenidos a la fase beta del repertorio musical");
printf("\n\n Seleccione el genero de su gusto");
Sleep(1000);
printf("\n\n\n 1._Metal/Rock \n\n\n\n 2._Trance \n\n\n\n 3._Clasica/blues \n\n\n\n \n\n");
scanf("%d",&e);
if(e==1){ //abrir ife1 metal
system("cls");
printf("\n Metal/Rock");
Sleep(1000);
printf("\n\n\n 1._Smoke on the wather - Deep Purple \n\n\n 2._ Whiskey in the jar-Metallica \n\n\n 3._The end of heartache-Killswichtengage \n\n ");
scanf("%d",&n);
if(n==1){//abrir if2 smoke
system("cls");
gotoxy(110,1);
cprintf(" \6 Smoke on the Water-Deep Purple \6 ");
printf("\n\n Es una cancion del grupo de hard rock britanico Deep Purple, \n\n lanzada en el influyente album Machine Head, \n\n tiene una duracion de estudio de 5:40.\n\\n\Es también muy conocida su version en directo del album Made in Japan, de 1972.");
char soundfile[] = "C:/Users/Jorge/Desktop/Music/Smokeonthewather.wav";
PlaySound((LPCSTR)soundfile, NULL, SND_FILENAME | SND_ASYNC );
getch();
}else{
if(n==2){//wiskey
system("cls");
printf(" \6 Wiskey in the jar-Metallica \6 n\n ");
printf(" Duracion: 5:30 min");
printf("Artista: Metallica-2002");
char soundfile[] = "C:/Users/Jorge/Desktop/Music/whiskey.wav";
PlaySound((LPCSTR)soundfile, NULL, SND_FILENAME | SND_ASYNC );
getch();
}else{
if(n==3){//the end of heardttach
system("cls");
gotoxy(110,1);
cprintf(" \6 The end of heardtache-Killsich engage \6 ");
printf(" \n\n(Al final de la angustia) es un album musical del grupo\n\nde metalcore estadounidense Killswitch Engage.\n\n Salio a la venta en Estados Unidos el 11 de mayo de 2004.\n\n La cancion que le hace honor al album, es decir, de nombre homonimo a éste, \n\n fue usada en el soundtracks de la pelicula Resident Evil: Apocalipsis. \n\n \n\n .");
char soundfile[] = "C:/Users/Jorge/Desktop/Music/kill.wav";
PlaySound((LPCSTR)soundfile, NULL, SND_FILENAME | SND_ASYNC );
getch();
}
}
}else{//abrir else de ife1 trance
system("cls");
printf("\n\n Trace");
printf("\n\n 1._Hydro acuatic \n\n 2._Take over control");
scanf("%d",&n2);
if(n2==1){
system("cls");
gotoxy(110,1);
cprintf(" Hydro acuatic " );
printf("\n\n Set de trance producido por el DJ Dash Berlin en el año 2010 durante \n\n la gira en que tambien estubo en Mexico");
char soundfile[] = "C:/Users/Jorge/Desktop/Music/acuatic.wav";
PlaySound((LPCSTR)soundfile, NULL, SND_FILENAME | SND_ASYNC );
getch();
}else{
if(n2==2){
system("cls");
gotoxy(110,1);
cprintf(" Take Over Control");
printf(" Set producido por +Nescafe en el año 2010 y se expuso \n\n en el IBIZA de 2010 ganando varios premios tras integrar trance-house");
char soundfile[] = "C:/Users/Jorge/Desktop/Music/over.wav";
PlaySound((LPCSTR)soundfile, NULL, SND_FILENAME | SND_ASYNC );
getch();
}//cerrar else de if n2
}
}//cerrar else de ife1 trance
if(e==3){
system("cls");
printf("\n\n Clasica/Blues");
printf("\n\n 1._imagine \n\n2._cold\n\n");
scanf("%d",&n3);
if(n3==1){
system("cls");
gotoxy(110,1);
cprintf(" Imagine-Arpa Celta");
printf(" Esta cancion es producida en el año 2010 por la orquesta de Arpa Celtika real. Mas informacion En su pagina oficial ");
char soundfile[] = "C:/Users/Jorge/Desktop/Music/imagine.wav";
PlaySound((LPCSTR)soundfile, NULL, SND_FILENAME | SND_ASYNC );
getch();
}else{
if(n3==2){
system("cls");
gotoxy(110,1);
cprintf(" Cold-ATB Secion Instrumental ");
printf(" Este es un Set que esta disponible en exclusive por $100 pesos por cancion, \n\n integramos este set de TRACE/CLASIC unica y exclusiva por el DJ ATB");
char soundfile[] = "C:/Users/Jorge/Desktop/Music/cold.wav";
PlaySound((LPCSTR)soundfile, NULL, SND_FILENAME | SND_ASYNC );
getch();
}
}
}else{
printf("nada");
}
/* CREO QUE LE FALTAN ALGUNOS CIERRES DE CORCHETES */
}