//error_reporting(E_ALL);error_reporting(0);$select_id = $_GET['id'];include("../config/conf.php");include("../include/get_main_vars.php");if($language == "template_lang"){ include("../template/$index_dir/language/lang_main_set.php");}else{ include("../language/$language/lang_main_set.php");}$topic_name_result = mysql_query("select TITLE from $DATA_TABLE where TIME='$select_id'");$topic_name_row = mysql_fetch_array($topic_name_result,MYSQL_ASSOC);$topic_name = $topic_name_row['TITLE'];?>
comments | $cv_query = "select * from $RES_TABLE where RESTO='$select_id' order by TIME";$cv_result = mysql_query($cv_query);if(!mysql_num_rows($cv_result)){?> このトピックに対するコメントはまだありません。 | }else{ while($row = mysql_fetch_array($cv_result,MYSQL_ASSOC)) { $resid = $row['ID']; $name = $row['NAME']; $mail = $row['MAIL']; if($mail) { $name = "".$name.""; } $poster_str = $name." / "; $hp = $row['HP']; if($hp && $hp != "http://") { $poster_str .= "".$lang_posterurl_str." / "; } $cv_date = date($d_struct_comment,$row['TIME']); $poster_str .= $cv_date." / [ ".$lang_comment_modify." ]"; $body = nl2br(htmlspecialchars($row['BODY']));?>
| | | }}?>
| | |