Updated chara_page.php to merge with class.chara.php and cleaned the code.