' . i18n('Static_pages') . '';?>
';
echo '
| ' . i18n('Title') . ' | ';
if (config("views.counter") == "true")
echo ''.i18n('Views').' | ';
echo '' . i18n('Operations') . ' |
';
$i = 0;
$len = count($posts);
foreach ($posts as $p) {
if ($i == 0) {
$class = 'item first';
} elseif ($i == $len - 1) {
$class = 'item last';
} else {
$class = 'item';
}
$i++;
echo '';
echo '| ' . $p->title . ' | ';
if (config("views.counter") == "true")
echo '' . $p->views . ' | ';
echo '' . i18n('Add_sub') . ' ' . i18n('Edit') . ' ' . i18n('Delete') . ' | ';
echo '
';
$subPages = get_static_sub_post($p->md);
foreach ($subPages as $sp) {
echo '';
echo '| » ' . $sp->title . ' | ';
if (config("views.counter") == "true")
echo '' . $sp->views . ' | ';
echo '' . i18n('Edit') . ' ' . i18n('Delete') . ' | ';
echo '
';
}
}
echo '';
}
}
?>