better indentation
require and require_once are statements, not functions: no parentheses are required
Fix "Message not found" in viewpart.php

added dbconn() (which creates a db link) before using mysql_real_escape_string, otherwise a null string could be returned instead of an escaped message id
Merge pull request #12 from endelwar/fix-viewpart-missing-message-bug

Fix viewpart missing message bug