Update include/admin/history.php

Removed possible SQL-Injection
Repaired Page switching