Ok I checked everything and it's ok.. I also aplied the codes to subsilver I can choose the emoticons but the first error still occurs
Error: Expected ';'
Here's the part of Posting.php
else if ( $mode != 'newtopic' && $post_info['topic_status'] == TOPIC_LOCKED && !$is_auth['auth_mod'])
Line 241 message_die(GENERAL_MESSAGE, $lang['Topic_locked']);
if ( $mode == 'editpost' || $mode == 'delete' || $mode == 'poll_delete' )