Beispiel #1
0
                </td>
                <td class="date">
                <p>' . $cats[$art_list['category_id']]['name'] . '</p>
                </td>

                <td class="date">
                <p>' . date(DATE_FORMAT, gm2local($art_list['stamp'], TZ)) . '</p>
                </td>
                <td class="date">
                        <p style="margin:0in;font-family:Calibri;font-size:11.0pt">';
            if ($art_list['approve'] == 0) {
                echo ' <a href="?action=approve&id=' . $art_list['id'] . '&old_cat=' . $art_list['category_id'] . $plus_list . '">одобрить</a></p>';
            } else {
                echo ' <a href="?action=unapprove&id=' . $art_list['id'] . '&old_cat=' . $art_list['category_id'] . $plus_list . '">скрыть</a></p>';
            }
            echo '
                </td>		
                <td class="date">
                        <p style="margin:0in;font-family:Calibri;font-size:11.0pt">
                        <a href="?action=list&act=del&id=' . $art_list['id'] . '&old_cat=' . $art_list['category_id'] . $plus_list . '">удалить</a></p>
                </td>
                </tr>';
        }
        echo '</table></form>';
    }
    //навигация
    echo '<div id="navi"><br><small>';
    echo a_get_navi($artcl_count, ARTCLS_PER_PAGE_ADMIN);
    //постр. навигация
    echo "</small></div>";
}
Beispiel #2
0
                $name = $name . ' [' . $art_list['email'] . ']';
            }
            echo '
            <tr>
                <td class="comment">
                    <INPUT TYPE="hidden" NAME="' . $art_list['id'] . '" VALUE="0">
                    <INPUT TYPE="checkbox" NAME="' . $art_list['id'] . '" VALUE="selected">
                </td>
                <td class="comment", width="600px">
                    <p class="comment">
                    ' . $name . '
                        (' . date(DATE_FORMAT, gm2local($art_list['date'], TZ)) . ') <small>>></small> 
                        <a class="mes" target="_blank" title="к записи" href="' . SITE_URL . '/?id=' . $art_list['article_id'] . '#down">' . $article['title'] . '</a>
                        <br>
                        ' . $art_list['content'] . '
                    </p>
                </td>
                <td class="comment">
                    <p>
                    <a href="?action=comments&act=del&cid=' . $art_list['id'] . $plus_list . '">удалить</a></p>
                </td>
            </tr>';
        }
        echo '</table></form>';
        //навигация
        echo '<div style="margin-left: 40px;"><br><small>';
        echo a_get_navi($artcl_count, CMTS_PER_PAGE);
        //постр. навигация
        echo "</small></div>";
    }
}