$result=pager_query("SELECT nid FROM {node} WHERE type = 'blog' AND uid = '$account->uid' AND status = 1 ORDER BY nid DESC",variable_get("default_nodes_main",10));
while($node=db_fetch_object($result)){
...
...
@@ -142,9 +142,9 @@ function blog_page_last() {
global$user;
// Breadcrumb navigation:
$trail[]=l(t("Home"),NULL);
$trail[]=t("Blogs");
theme("breadcrumb",$trail);
$breadcrumb[]=l(t("Home"),NULL);
$breadcrumb[]=t("Blogs");
theme("breadcrumb",$breadcrumb);
$result=pager_query("SELECT nid FROM {node} WHERE type = 'blog' AND status = 1 ORDER BY nid DESC",variable_get("default_nodes_main",10));
$result=pager_query("SELECT nid FROM {node} WHERE type = 'blog' AND uid = '$account->uid' AND status = 1 ORDER BY nid DESC",variable_get("default_nodes_main",10));
while($node=db_fetch_object($result)){
...
...
@@ -142,9 +142,9 @@ function blog_page_last() {
global$user;
// Breadcrumb navigation:
$trail[]=l(t("Home"),NULL);
$trail[]=t("Blogs");
theme("breadcrumb",$trail);
$breadcrumb[]=l(t("Home"),NULL);
$breadcrumb[]=t("Blogs");
theme("breadcrumb",$breadcrumb);
$result=pager_query("SELECT nid FROM {node} WHERE type = 'blog' AND status = 1 ORDER BY nid DESC",variable_get("default_nodes_main",10));