index.php: use before.php & after.php
traffics.php: use before.php & after.php