error: ".mysql_error()."".$br;
}
}
$sql = "CREATE INDEX ind_brows ON ".$tbl_prefix.$id.$tbl_logs." (browser,version,system)";
mysql_qry($sql);
$sql = "CREATE INDEX ind_res ON ".$tbl_prefix.$id.$tbl_logs." (res)";
mysql_qry($sql);
$sql = "UPDATE ".$tbl_prefix.$id.$tbl_logs." SET time = time, hostname = NULL WHERE ip=hostname";
mysql_qry($sql);
}
// add the timeout_onl to your user table
$sql = "ALTER TABLE ".$tbl_users." "
. "ADD timeout_onl int(5) DEFAULT '300' NOT NULL AFTER timeout";
mysql_qry($sql);
echo $br.$br."Your upgrade to v.2.1.3 was successful!";
echo $br."Now, you should run screenres_refresh.".CFG_PHPEXT." to update your screen resolution data to the new format.";
echo $br."Then, please run the next upgrade script: upd_2.1.3-2.1.4.".CFG_PHPEXT."";
?>