'" . $row1['updateTime'] . "'"; $sequence = get_count($query); $start = $sequence - $sequence%20 + 1; if($start <=0) { $start = 1; } $title = "CFA Discussion Topic: " . $row1['title']; $tweeter_text = $title; $canonical_link = "cfa-topic-" . $row1['link'] . ".html"; $breadcrumb = array(array("forum_lobby.php", "Forums"), array("forum_room.php?mtid=" . $row1['tid'] . "&start=" . $start, $roomname), array("", "Topic: " . $row1['title'])); print_page_header($title, $canonical_link); print_breadcrumb($breadcrumb); print_container_start(); if(is_logged_on()) { $custom_js = get_view_topic_jquery_js($id); } print_main_section_start_with_card_header(); $thead = "AuthorTopic: " . $row1['title'] . ""; print_study_table_start($thead); ?>
@ 0) { $query = "select mcid, poster, body, createTime from message_child where mpid = " . $id . " and status = 1 order by createTime"; $result = do_mysqli_query($query); $count2 = mysqli_num_rows($result); for($i=0; $i<$count2; $i++) { $row2 = mysqli_fetch_array($result); ?>
@

Post a Reply

$(document).ready(function(){ $(\"#topicreplyform\").submit(function(e) { $.post('jquery_action.php', {id:'$id', action:'16', reply: $(\"#reply\").val()}); $('#replyform').hide(); $('#replymsg').show(); e.preventDefault(); }); }); "; } //added social buttons to print_simple_side_column function print_forum_topic_side_column() { global $title; $desc = get_forum_left(); print_side_section_start(); print_rotating_image(); print_social_button(); ?>