In both codes, the get_option function should be outside of the string, like this:
<?php
$theme_value = get_option(mytheme_value);
query_posts ('meta_key=post_views_count&orderby=meta_value_num&order=DESC&meta_value='.$theme_value);?>
and
$theme_status = get_option(mytheme_status);
// ADD THE FORM INPUT TO $new_post ARRAY
$new_post = array(
'post_title' => $title,
'post_content' => $description,
'post_category' => array($_POST['cat']), // Usable for custom taxonomies too
'tags_input' => array($tags),
'post_status' => $theme_status,
And why do you end this last code with a comma? You just put a part of the code? If not, you have to remove the comma and close the array.
Also, what are these variables mytheme_value and mytheme_status? Do they exist?
If you still have errors, you should write here the rest of the code.