Add prevnext.php snippet