function html() { if (isset($_POST['ajax_comment_content']) && $this->can_comment) { $this->ajaxPostComment(qa_post_text('ajax_comment_content'), isset($_POST['ajax_comment_id']) ? qa_post_text('ajax_comment_id') : null); } else { qa_html_theme_base::html(); } }
function html() { if (isset($_POST['ajax_bookmark_qid'])) { $this->ajaxBookmark(qa_post_text('ajax_bookmark_qid'), qa_post_text('ajax_bookmark_uid'), qa_post_text('ajax_bookmarked')); } else { qa_html_theme_base::html(); } }
function html() { if (qa_post_text('ajax_merge_get_from')) { $posts = qa_db_read_all_assoc(qa_db_query_sub("SELECT postid,title FROM ^posts WHERE postid IN (#,#)", qa_post_text('ajax_merge_get_from'), qa_post_text('ajax_merge_get_to'))); if ($posts[0]['postid'] == (int) qa_post_text('ajax_merge_get_from')) { echo '{"from":"' . $posts[0]['title'] . '","to":"' . $posts[1]['title'] . '","from_url":"' . qa_path_html(qa_q_request((int) qa_post_text('ajax_merge_get_from'), $posts[0]['title']), null, qa_opt('site_url')) . '","to_url":"' . qa_path_html(qa_q_request((int) qa_post_text('ajax_merge_get_to'), $posts[1]['title']), null, qa_opt('site_url')) . '"}'; } else { echo '{"from":"' . $posts[1]['title'] . '","to":"' . $posts[0]['title'] . '","from_url":"' . qa_path_html(qa_q_request((int) qa_post_text('ajax_merge_get_from'), $posts[1]['title']), null, qa_opt('site_url')) . '","to_url":"' . qa_path_html(qa_q_request((int) qa_post_text('ajax_merge_get_to'), $posts[0]['title']), null, qa_opt('site_url')) . '"}'; } return; } qa_html_theme_base::html(); }
function html() { $this->logged_in_userid = qa_get_logged_in_userid(); if (qa_opt('voting_on_cs')) { if (isset($_POST['ajax_comment_vote'])) { $this->ajaxCommentVote($_POST['ajax_comment_vote'], $_POST['ajax_comment_vote_id']); } else { qa_html_theme_base::html(); } } else { qa_html_theme_base::html(); } }
function html() { if (qa_post_text('ajax_poll_id')) { $this->output_raw($this->getPollDiv((int) qa_post_text('ajax_poll_id'), (int) qa_post_text('ajax_poll_voter'), qa_post_text('ajax_poll_vote'), qa_post_text('ajax_poll_cancel'))); return; } qa_html_theme_base::html(); }
function html() { qa_html_theme_base::html(); }