digital write problem after reading temp value

hey masters of arduino, anyone can help me to solve my problem on my project. my project is controlling air conditioner using arduino uno r3 and dht11 and icomsat v1.1 sim900 for reading temp and humidity. but after reading the temp from dht11 i couldn’t find any output from assign pin for digital output(command output).
this my code :

#include "SIM900.h"
#include <SoftwareSerial.h>
#include "inetGSM.h"
#include "DHT.h"
#include <Wire.h>  // Comes with Arduino IDE
#include <LiquidCrystal_I2C.h>
//#include "sms.h"

#define DHTPIN 4     // what pin we're connected to

// Uncomment whatever type you're using!
#define DHTTYPE DHT11   // DHT 11 
// #define DHTTYPE DHT22   // DHT 22  (AM2302)
//#define DHTTYPE DHT21   // DHT 21 (AM2301)
DHT dht(DHTPIN, DHTTYPE);
//SMSGSM sms;
// set the LCD address to 0x20 for a 20 chars 4 line display
// Set the pins on the I2C chip used for LCD connections:
//                    addr, en,rw,rs,d4,d5,d6,d7,bl,blpol
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);  // Set the LCD I2C address

InetGSM inet;

char msg[50];        // kirim ke web
int numdata;         // kirim ke web
char strURL[50];     // kirim ke web
int i=0;             // kirim ke web
boolean started=false;


int h=0;
int t=0;

void setup()
{

Serial.begin(9600);
lcd.begin(16,2);
dht.begin();
pinMode(10,OUTPUT);
pinMode(11,OUTPUT);
pinMode(12,OUTPUT);
SIM900power();
}

void SIM900power()
// software equivalent of pressing the GSM shield "power" button
{
 digitalWrite(9, HIGH);
 delay(1000);
 digitalWrite(9, LOW);
 delay(5000);
}

void sensor()
{   
  readDHT();
  // set the cursor to (0,0):
 lcd.setCursor(0, 0);
 // print from 0 to 9:
 
 lcd.print("Temp: ");
 lcd.print(t);
 lcd.print("C");
 // set the cursor to (16,1):
 lcd.setCursor(0,1);
  lcd.print("Humidity: ");
 lcd.print(h);
 lcd.print("%");
 
 if (t>=27){
 digitalWrite(11,HIGH);
 delay(2000);
 digitalWrite(11,LOW);
 delay(5000);}
 else if (t=25){
 digitalWrite(10,HIGH);
 delay(2000);
 digitalWrite(10,LOW);
 delay(5000);}
 else if (t=23){
 digitalWrite(12,HIGH);
 delay(2000);
 digitalWrite(12,LOW);
 delay(35000);}
 else if (t=22){
 digitalWrite(11,HIGH);
 delay(2000);
 digitalWrite(11,LOW);
 delay(5000);}
 else{
 }
}

static void readDHT(){
  h = dht.readHumidity();
  t = dht.readTemperature();
}


void gprs(){
   readDHT();
   Serial.println("GPRS Connecting");
  if (gsm.begin(2400)){
    Serial.println("\nstatus=READY");
  started=true;  
  }
  else Serial.println("\nstatus=IDLE");
  if(started){
    if (inet.attachGPRS("3gprs", "3gprs", "3gprs"))
      Serial.println("status=ATTACHED");
    else Serial.println("status=ERROR");
    delay(1000);
    gsm.SimpleWriteln("AT+CIFSR");
    delay(5000);
    sprintf(strURL,"/add.php?temp=%d&&hum=%d",t,h);
    gsm.WhileSimpleRead();  
    numdata = inet.httpGET("www.monitoringavr.esy.es", 80,strURL, msg, 50);
    Serial.println("\nData transfer:");
    Serial.println(numdata);
    Serial.println("byte");
    Serial.println(msg);
 }
};

void loop()
{
 gprs(); 
 sensor();

};

Moderator edit:
</mark> <mark>[code]</mark> <mark>

</mark> <mark>[/code]</mark> <mark>
tags added.

else if (t=25){

= is assignment. For comparison you need ==