本文整理汇总了PHP中qa_html_theme_base::html方法的典型用法代码示例。如果您正苦于以下问题:PHP qa_html_theme_base::html方法的具体用法?PHP qa_html_theme_base::html怎么用?PHP qa_html_theme_base::html使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类qa_html_theme_base
的用法示例。
在下文中一共展示了qa_html_theme_base::html方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: html
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();
}
}
示例2: 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();
}
}
示例3: 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();
}
示例4: 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();
}
}
示例5: 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();
}
示例6: html
function html()
{
qa_html_theme_base::html();
}