<style type="text/css">
table .line_nick a	{ color:#5C80CA; margin:0 0 0 10px;}
#board_page_box span	{ margin:0 3px 0 3px; }
</style>

<table width="99%" cellspacing="0" cellpadding="0">
<? if($myinfo[lineword]) : //-- 한줄메모 공개?>
<? for($i = 0; $i < count($list_lineword); $i++) :
	$writer		= sql_fetch("select db_id, db_write_id from $zmb[table_lineword] where db_recno='{$list_lineword[$i][recno]}'");	//-- 글쓴이 정보
	$tmp_mem	= get_member("$writer[db_id]");	//-- 프로필 주인
	if($is_admin || ($tmp_mem[mb_id] == $member[mb_id]) || ($writer[db_write_id] == $member[mb_id])) $sw = 1;
	else $sw = 0;
?>
<tr height="22">
	<td><?=$list_lineword[$i][memo]?></a> 
	<span class="line_nick"><?=$list_lineword[$i][nick]?></span>
	<span style="color:#DFDFDF; font-size:11px;"><?=$list_lineword[$i][date]?></span> <? if($sw) : ?><a href="#" onClick="if(confirm('삭제 할까요?')) zm_gourl('./zm.userinfo_update.php?mode=lineword_del&recno=<?=$list_lineword[$i][recno]?>&in_id=<?=$mb_id?>');">x</a><? endif; ?></td>
</tr>
<tr height="1"><td bgcolor="#EBEBEB"></td></tr>
<? endfor; ?>
</table>
<?=$lineword_paging?>
<table width="99%">
<tr>
	<td>
	<form name="f_lineword" method="post" action="./zm.userinfo_update.php">
	<input type="hidden" name="mode" value="lineword_write">
	<input type="hidden" name="in_id" value="<?=$mb_id?>">
	<input name="in_memo" maxlength="128" required itemname="메모" autocomplete=off style="width:75%;">
	<input type="submit" value="쓰기">
	</form></td>
</tr>
<? else : //-- 한줄 메모 비공개?>
<tr>
	<td>비공개</td>
</tr>
<? endif; ?>
</table>