get data from t_pages