Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( isset( $_POST[ 'boton' ] ) )
- {
- if( empty( $_POST[ 'name' ] ) || ( empty( $_POST[ 'password' ] ) || ( empty( $_POST[ 'server' ] ))
- echo utf8_decode( "<font color='red'>Ningún casillero puede quedar vacío!</font><br />" );
- else
- {
- if( empty( $_POST[ 'vencimiento' ] ) )
- $vencimiento = 0;
- else
- $vencimiento = time( ) + ( intval( $_POST[ 'vencimiento' ] ) * 86400 );
- mysql_query( "INSERT INTO admins ( Name, Password, Flag, Vencimiento, Server, staff, UltimoEdit ) VALUES ( '" . $_POST[ 'tag' ] . "', '" . $_POST[ 'pass' ] . "', '" . $_POST[ 'flag' ] . "', '" . $vencimiento . "','" . $_POST[ 'Server' ] . "','" . $_POST[ 'Staff' ] . "')" );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement