|
|
";
for($i=0; $i<$after_num1; $i++)
{
$after_row1=mysql_fetch_array($after_res1);
$kk = $after_num1 - $i;
if(!$after_row1[reply_depth])
{
$aa="select name from koso_member where id='$after_row1[id]'";
$bb=mysql_query($aa,$connect);
$cc=mysql_fetch_array($bb);
if($after_row1[name])
{
$cc[name]=$after_row1[name];
}
$a_title=my_cut_string($after_row1[a_title],24);
$regidate=substr($after_row1[regidate],0,10);
if($after_row1[star_point] > 0)
{
$star_cnt=floor($after_row1[star_point] / 2);
$star="";
if($star_cnt > 10)
{
$star_cnt=10;
}
for($j=0; $j < $star_cnt; $j++)
{
$star.=" ";
}
if($after_row1[star_point]%2==1)
{
$star.=" ";
}
}
else
{
$star="";
}
$after=nl2br($after_row1[after]);
$after_id = "after_content_".$kk;
$after_id2 = "after_tr_".$kk;
if($_COOKIE[cook_id]==$after_row1[id])
{
$modify_btn=" ";
$delete_btn=" ";
}
else
{
$modify_btn="";
$delete_btn="";
}
echo"
$after_row1[a_title]$modify_btn$delete_btn |
$star |
$cc[name] |
|
 |
$after |
|
|
|
";
}
/*
$reply_que="select * from afternote where reply_a_num=$after_row1[a_num] and reply_depth=1";
$reply_res=mysql_query($reply_que,$connect);
$reply_total=mysql_num_rows($reply_res);
if($reply_total > 0)
{
for($r=0;$r< $reply_total; ++$r)
{
$reply_row=mysql_fetch_array($reply_res);
$dd="select name from koso_member where id='$reply_row[id]'";
$ee=mysql_query($dd,$connect);
$ff=mysql_fetch_array($ee);
if($reply_row[name])
{
$ff[name]=$reply_row[name];
}
$reply_date=substr($reply_row[regdate_ymd],0,10);
if($reply_row[star_point] > 0)
{
$star_cnt=floor($reply_row[star_point] / 2);
$star="";
if($star_cnt > 5)
{
$star_cnt=5;
}
for($j=0; $j < $star_cnt; $j++)
{
$star.=" ";
}
if($reply_row[star_point]%2==1)
{
$star.=" ";
}
}
else
{
$star="";
}
echo"
$reply_row[a_title] |
$star |
$ff[name] |
|
";
$jj=$jj-1;
}
}
*/
}
if($i==0)
{
echo"
ÇöÀç µî·ÏµÈ »óǰ ÈıⰡ ¾ø½À´Ï´Ù. |
";
}
echo"
";
if(member_confirm())
{
echo"
";
}
else
{
echo"
";
}
echo"
|
|
|