¾ÆÀ̵ð¿Í ¾ÏÈ£°¡ ÇÊ¿äÇÕ´Ï´Ù! window.alert('°Ô½Ã¹° ¹øÈ£°¡ ÇÊ¿äÇÕ´Ï´Ù.'); history.go(-1); "); exit; } //-----------------°Ô ½Ã ¹° ³» ¿ë ------------- $que1="select num,title,name,DATE_FORMAT(w_date,'%Y/%m/%d %k:%i'),thread,pos,depth,content,email,url,hits from $Board_Code where num=$num" ; $result=mysql_query($que1,$connect); echo mysql_error(); $row=mysql_fetch_array($result); $thnum_date = $row[3] ; $this_num=$row[num]; $this_thread=$row[thread]; $this_pos=$row[pos]; $this_depth=$row[depth]; //---------------- ÀÌ Àü ID --------------------------- $que3="select num,pos,title from $Board_Code where pos < $this_pos order by pos DESC limit 1" ; $result3=mysql_query($que3,$connect ); echo mysql_error(); $row3=mysql_fetch_array($result3); $p_num=$row3[num]; $p_pos=$row3[pos]; $p_title=$row3[title]; //------------------------ ´ÙÀ½ ID ---------------------- $que2="select num,pos,title from $Board_Code where pos > $this_pos order by pos limit 1 "; $result2=mysql_query($que2,$connect ); $row2=mysql_fetch_array($result2); $n_num=$row2[num]; $n_pos=$row2[pos]; $n_title =$row2[title]; $todate = date("Y³â m¿ù dÀÏ"); $row[title] = stripslashes($row[title]); //----------------------------------------------- echo("
$Board_Title Admin Mode ¿À´Ã³¯Â¥: $todate
"); $que1="select num, title,name,DATE_FORMAT(w_date,'%y/%m/%d'), thread, pos, depth, email, hits from $Board_Code where thread=$row[thread] order by pos " ; $result=mysql_query($que1,$connect ); $no_thread = mysql_affected_rows(); $row=mysql_fetch_array($result); $w_date = $row[3] ; //À­±Û,¾Æ·§±Û È­¸é¿¡ »Ñ¸®±â echo(" "); if($no_thread>1){ echo(" "); } //================ ¸Þ ´º ´Â ¿© ±â ¿¡!=========== echo("
Á¦ ¸ñ : $row[title]
±Û¾´ÀÌ : $row[name]  "); if($row[email]) {echo("(E-mail) ");} if($row[url]) {echo("(Homepage)");} echo("
"); $row[content]=stripslashes($row[content]) ; echo(" $row[content]
"); $prev_title = stripslashes($p_title); $next_title = stripslashes($n_title); if($p_num){ echo("¡â À§ÀÇ±Û : $prev_title
"); } if($n_num){ echo("¡ä ¾Æ·¡±Û : $next_title"); } echo("
"); if($no_thread>1){ $no_t = $no_thread-1 ; echo("°ü·Ã±Û : $no_t °Ç"); } else{ echo("°ü·Ã±Û : ¾øÀ½");} echo(" ±Û¾´½Ã°£ : $thnum_date ±Û¹øÈ£:$row[num]¹ø Á¶È¸:$row[hits]¹ø
"); while($row){ if($this_num==$row[num]){ echo("\n "); } else { echo("\n "); } echo("");} else{echo("$row[name]");} echo(""); $n--; $row=mysql_fetch_array($result); } echo("
  Á¦   ¸ñ ±Û¾´ÀÌ Á¶È¸ ÀÛ¼ºÀÏ
¢º
 "); // --------- ÀÀ´äÀÇ Àε§Æ® ----------------- if($row[depth]>1){ for($j=2;$j<$row[depth];$j++){ echo("   "); } echo("¢¹ "); } $status_txt = htmlspecialchars($row[title]); echo("$row[title]"); echo(""); if($row[mail]){echo("$row[name] $row[hits] $w_date
"); if($p_num){ echo("\n ÀÌÀü±Û -");} echo(" ±Û¸ñ·Ï - ±Û¾²±â - ÀÀ´ä±Û - ±Û¼öÁ¤ - Áö¿ì±â"); if($n_num){ echo("\n - ´ÙÀ½±Û");} echo("
"); //============ Á¶È¸¼ö 1 Áõ°¡ ============= $que1="update $Board_Code set hits=hits+1 where num=$num" ; $result=mysql_query($que1,$connect ); if(!$result){ echo(" "); exit; } include "../theme/$Theme/tail.inc"; ?>