Update content_bottom.php

Prevent double call and fix notices about undefined index, also fix order according priority.