This commit is contained in:
shim
2023-04-17 11:06:08 +09:00
parent d0b393aa97
commit 76264e09ad
4686 changed files with 552713 additions and 0 deletions

View File

@@ -0,0 +1,172 @@
<?php
include_once $g['dir_module_skin'].'_menu.php';
$sort = $sort ? $sort : 'uid';
$orderby= $orderby ? $orderby : 'desc';
$recnum = $recnum && $recnum < 200 ? $recnum : 15;
$bbsque = 'mbruid='.$M['memberuid'];
if ($account) $bbsque .= ' and site='.$account;
if ($where && $keyword)
{
if (strstr('[name][nic][id][ip]',$where)) $bbsque .= " and ".$where."='".$keyword."'";
else if ($where == 'term') $bbsque .= " and d_regis like '".$keyword."%'";
else $bbsque .= getSearchSql($where,$keyword,$ikeyword,'or');
}
$RCD = getDbArray($table['s_oneline'],$bbsque,'*',$sort,$orderby,$recnum,$p);
$NUM = getDbRows($table['s_oneline'],$bbsque);
$TPG = getTotalPage($NUM,$recnum);
?>
<div id="bbslist">
<div class="info">
<div class="article">
<?php echo number_format($NUM)?>개(<?php echo $p?>/<?php echo $TPG?>페이지)
</div>
<div class="category">
<select name="account" class="account" onchange="goHref('<?php echo str_replace('&amp;','&',$g['url_reset'])?>&page=<?php echo $page?>&account='+this.value);">
<option value="">&nbsp;+ 전체사이트</option>
<option value="">----------------</option>
<?php $SITES = getDbArray($table['s_site'],'','*','gid','asc',0,1)?>
<?php while($S = db_fetch_array($SITES)):?>
<option value="<?php echo $S['uid']?>"<?php if($account==$S['uid']):?> selected="selected"<?php endif?>>ㆍ<?php echo $S['name']?></option>
<?php endwhile?>
<?php if(!db_num_rows($SITES)):?>
<option value="">등록된 사이트가 없습니다.</option>
<?php endif?>
</select>
</div>
<div class="clear"></div>
</div>
<form name="procForm" action="<?php echo $g['s']?>/" method="post" target="_action_frame_<?php echo $m?>">
<input type="hidden" name="r" value="<?php echo $r?>" />
<input type="hidden" name="m" value="comment" />
<input type="hidden" name="a" value="" />
<table summary="한줄의견리스트 입니다.">
<caption>한줄의견리스트</caption>
<colgroup>
<col width="30">
<col width="50">
<col>
<col width="90">
</colgroup>
<thead>
<tr>
<th scope="col" class="side1"><img src="<?php echo $g['img_core']?>/_public/ico_check_01.gif" class="hand" alt="" onclick="chkFlag('oneline_members[]');" /></th>
<th scope="col">번호</th>
<th scope="col">한줄의견</th>
<th scope="col" class="side2">날짜</th>
</tr>
</thead>
<tbody>
<?php while($R=db_fetch_array($RCD)):?>
<?php $_R=getUidData($table['s_comment'],$R['parent'])?>
<?php $R['mobile']=isMobileConnect($R['agent'])?>
<tr>
<td><input type="checkbox" name="oneline_members[]" value="<?php echo $R['uid']?>" /></td>
<td><?php echo $NUM-((($p-1)*$recnum)+$_rec++)?></td>
<td class="sbj">
<?php if($R['mobile']):?><img src="<?php echo $g['img_core']?>/_public/ico_mobile.gif" class="imgpos" alt="모바일" title="모바일(<?php echo $R['mobile']?>)로 등록된 글입니다" /><?php endif?>
<a href="<?php echo getCyncUrl($_R['cync'].',CMT:'.$_R['uid'].',s:'.$R['site'])?>#CMT" target="_blank"><?php echo getStrCut($R['content'],40,'..')?></a>
<?php if(getNew($R['d_regis'],24)):?><span class="new">new</span><?php endif?>
</td>
<td><?php echo getDateFormat($R['d_regis'],'Y.m.d H:i')?></td>
</tr>
<?php endwhile?>
<?php if(!$NUM):?>