With the information you provided this query should do it:
SELECT
userid,
max(if(checktype = 'I', checktime, NULL)) loginTime,
max(if(checktype = 'O', checktime, NULL)) logoutTime
FROM t
GROUP BY userid
Output:
| USERID | LOGINTIME | LOGOUTTIME |
|--------|--------------------|---------------------|
| 1 | 26/04/2013 8:05:17 | (null) |
| 2 | 26/04/2013 8:05:17 | 26/04/2013 17:28:47 |
| 3 | (null) | 26/04/2013 17:32:24 |
Fiddle here.