Update pages.detail.php

Integrity checks