simple fsr code with major difficulties

I am trying to code an LED to turn on when an FSR reads a number over 50 and the time is after 30 seconds of turning on the code. However, I keep running into errors.

this is the code
void setup() {
pinMode(16,OUTPUT);
pinMode(17,OUTPUT);
digitalWrite (16,LOW);//16 is ground
digitalWrite (17,HIGH);//17 is 5v
long startTime=millis();
int fsrAnalogPin = 0; // FSR is connected to analog 0
int LEDpin = 11; // connect Red LED to pin 11 (PWM pin)
int fsrReading; // the analog reading from the FSR resistor divider
int LEDbrightness;
Serial.begin(9600); // We’ll send debugging information via the Serial monitor
pinMode(LEDpin, OUTPUT);

}
loop(){
long time= millis()-startTime;
fsrReading = analogRead(fsrAnalogPin);
// Serial.print("Analog reading = ");
// Serial.println(fsrReading);
// we’ll need to change the range from the analog reading (0-1023) down to the range
// used by analogWrite (0-255) with map!
LEDbrightness = map(fsrReading, 0, 1023, 0, 255);
// LED gets brighter the harder you press
analogWrite(LEDpin, LEDbrightness);
delay(100);
if (time > 30,000&& fsr read>50)
digitalWrite(LEDpin,HIGH);
else(LEDpin,LOW);
}

these are the errors:
Arduino: 1.6.4 (Windows 7), Board: “Arduino Uno”

mastercode:18: error: ISO C++ forbids declaration of ‘loop’ with no type [-fpermissive]
mastercode.ino: In function ‘int loop()’:
mastercode:18: error: new declaration ‘int loop()’
In file included from mastercode.ino:3:0:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:145:6: error: ambiguates old declaration ‘void loop()’
void loop(void);
^
mastercode:19: error: ‘startTime’ was not declared in this scope
mastercode:20: error: ‘fsrReading’ was not declared in this scope
mastercode:20: error: ‘fsrAnalogPin’ was not declared in this scope
mastercode:25: error: ‘LEDbrightness’ was not declared in this scope
mastercode:27: error: ‘LEDpin’ was not declared in this scope
mastercode:29: error: ‘fsr’ was not declared in this scope
mastercode:29: error: expected ‘)’ before ‘read’
ISO C++ forbids declaration of ‘loop’ with no type [-fpermissive]

This report would have more information with
“Show verbose output during compilation”
enabled in File > Preferences.

void loop(){
if (time > 30,000&& fsr read>50)

What's that comma doing in there?

thank you!
do you see any other problems?

Lack of code tags.
Incorrect scope of variables declared in setup.

What does the compiler say now?

I'm still a novice to coding and Arduino. could you please explain what you mean and what I should do?

long startTime=millis();
int fsrAnalogPin = 0; // FSR is connected to analog 0
int LEDpin = 11; // connect Red LED to pin 11 (PWM pin)
int fsrReading; // the analog reading from the FSR resistor divider
int LEDbrightness;

Will go out of scope

Make them global.

Whenever you are useing millis() and calculations with it, related variables should be type "unsigned long"

thank you, how do i do that?

Scope:

I'm still a novice to coding and Arduino. could you please explain what you mean and what I should do?

Instead of wasting your time and ours writing random nonsense, reading a good textbook on basic C/C++ syntax or an online tutorial, would be a good place to start.