Пример #1
0
 $tr .= '<th headers=c0 id=b' . $id . ' class=topic scope=row>';
 $tr .= '<p class=topic>' . $item['topic'] . '</p>';
 $tr .= '<p>' . $item['detail'] . '</p>';
 $tr .= '</th>';
 $tr .= '<td headers="b' . $id . ' c1" class=check-column><a id=check_' . $id . ' class=icon-uncheck></a></td>';
 $tr .= '<td headers="b' . $id . ' c2" class=menu><img src="' . ($l == '' ? "../skin/img/blank.gif" : '../datas/language/' . $l . '.gif') . '" alt="' . $l . '"></td>';
 $icon = is_file(DATA_PATH . 'board/' . $item['icon']) ? DATA_URL . 'board/' . $item['icon'] : WEB_URL . '/' . $index['default_icon'];
 $tr .= '<td headers="b' . $id . ' c3" class="center tablet"><img src="' . $icon . '" alt=icon></td>';
 if ($i == 0) {
     $tr .= '<td headers="b' . $id . ' c4" rowspan=' . $c . ' class=center><label><input type=text class=number size=5 id=categoryid_' . $index['id'] . '_' . $id . ' value=' . $item['category_id'] . ' title="{LNG_EDIT}"></label></td>';
     $tr .= '<td headers="b' . $id . ' c5" rowspan=' . $c . ' class=tablet>';
     $tr .= '<table class=can_list><tbody>';
     $tr .= '<tr><td class=label>{LNG_BOARD_CAN_POST} :</td><td><span class=cuttext>' . gcms::id2status($item['can_post']) . '</span></td></tr>';
     $tr .= '<tr class=bg3><td class=label>{LNG_CAN_VIEW} :</td><td><span class=cuttext>' . gcms::id2status($item['can_view']) . '</span></td></tr>';
     $tr .= '<tr><td class=label>{LNG_CAN_REPLY} :</td><td><span class=cuttext>' . gcms::id2status($item['can_reply']) . '</span></td></tr>';
     $tr .= '<tr class=bg3><td class=label>{LNG_MODERATOR} :</td><td><span class=cuttext>' . gcms::id2status($item['moderator']) . '</span></td></tr>';
     if ($item['img_upload_type'] == '') {
         $tr .= '<tr><td class=label>{LNG_UPLOAD_FILE_TYPIES} :</td><td>{LNG_NOT_UPLOAD_PHOTO}</td></tr>';
     } else {
         $tr .= '<tr><td class=label>{LNG_UPLOAD_FILE_TYPIES} :</td><td>' . $item['img_upload_type'] . '</td></tr>';
         $tr .= '<tr class=bg3><td class=label>{LNG_UPLOAD_FILE_SIZE} :</td><td>' . $item['img_upload_size'] . ' kb.</td></tr>';
         $tr .= '<tr><td class=label>{LNG_BOARD_IMG_LAW} :</td><td>' . $lng['BOARD_IMG_LAWS'][$item['img_law']] . '</td></tr>';
     }
     $tr .= '</tbody></table>';
     $tr .= '</td>';
     $tr .= '<td headers="b' . $id . ' c6" class="post mobile" rowspan=' . $c . '>' . $item['c1'] . '</td>';
     $tr .= '<td headers="b' . $id . ' c7" class="reply mobile" rowspan=' . $c . '>' . $item['c2'] . '</td>';
 }
 $tr .= '<td headers="b' . $id . ' c8" class=menu><a href="index.php?module=board-categorywrite&amp;id=' . $index['id'] . '&amp;cat=' . $id . '&amp;src=board-category" title="{LNG_EDIT}" class=icon-edit>&nbsp;</a></td>';
 $tr .= '</tr>';
 $content[] = $tr;