mysite_load_page($uid, $page = 0)
mysite.module, line 1303
Return data for a single page from a user collection.
$uid The user id of the MySite collection owner.
$page The current page of the MySite collection.
An object containing information for the current page, identical to mysite_get().
function mysite_load_page($uid, $page = 0) {
$data = db_fetch_object(db_query("SELECT page, uid, created, updated, status, title, layout, style, format, theme FROM {mysite_page} WHERE uid = %d AND page = %d", $uid, $page));
return $data;
}