It will be about 14 lines below that, here is the specific line of code you are looking for:
<h1>Details: <?php echo($row_WADAContents['ContentRefID']); ?> - <?php echo($row_WADAContents['ContentGroup']); ?></h1>
Add in the code to see the id value, then check the db to see if you can find the matching record with the content. Let us know what you discover.