전체선택 체크박스 앞으로 이동

This commit is contained in:
whitedot
2012-11-16 10:04:34 +09:00
parent e856b3ef74
commit 1149d86cf7
5 changed files with 27 additions and 34 deletions

View File

@ -97,10 +97,10 @@ var list_delete_php = 'popular_list.php';
<table>
<thead>
<tr>
<th scope="col"><input type="checkbox" id="chkall" name="chkall" value="1" onclick="check_all(this.form)"></th>
<th scope="col"><?=subject_sort_link('pp_word')?>검색어</a></th>
<th scope="col">등록일</th>
<th scope="col">등록IP</th>
<th scope="col"><input type="checkbox" id="chkall" name="chkall" value="1" onclick="check_all(this.form)"></th>
</tr>
</thead>
<tbody>
@ -111,13 +111,13 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
?>
<tr>
<td>&nbsp; <a href="<?=$_SERVER['PHP_SELF']?>?sfl=pp_word&amp;stx=<?=$word?>"><?=$word?></a></td>
<td><?=$row['pp_date']?></td>
<td><?=$row['pp_ip']?></td>
<td>
<input type="hidden" id="pp_id" name="pp_id[<?=$i?>]" value="<?=$row[pp_id]?>">
<input type="checkbox" id="chk" name="chk[]" value="<?=$i?>">
</td>
<td>&nbsp; <a href="<?=$_SERVER['PHP_SELF']?>?sfl=pp_word&amp;stx=<?=$word?>"><?=$word?></a></td>
<td><?=$row['pp_date']?></td>
<td><?=$row['pp_ip']?></td>
</tr>
<?