GetBookmarkOperations(); $marklist = $bookops->LoadBookmarks($userid); $page = 1; if (isset($_GET['page'])) $page = $_GET['page']; $limit = 20; if (count($marklist) > $limit) { echo "

".pagination($page, count($marklist), $limit)."

"; } echo $themeObject->ShowHeader('bookmarks').'
'; if (count($marklist) > 0) { echo'

' . lang('show_shortcuts_message') . '

'; echo "\n"; echo ''; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo ''; echo ''; $currow = "row1"; // construct true/false button images $image_true = $themeObject->DisplayImage('icons/system/true.gif', lang('true'),'','','systemicon'); $image_false = $themeObject->DisplayImage('icons/system/false.gif', lang('false'),'','','systemicon'); $counter=0; foreach ($marklist as $onemark){ if ($counter < $page*$limit && $counter >= ($page*$limit)-$limit) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; ($currow == "row1"?$currow="row2":$currow="row1"); } $counter++; } echo ''; echo "
".lang('name')."".lang('url')."  
bookmark_id."\">".$onemark->title."".$onemark->url."bookmark_id."\">"; echo $themeObject->DisplayImage('icons/system/edit.gif', lang('edit'),'','','systemicon'); echo "bookmark_id."\" onclick=\"return confirm('".cms_html_entity_decode(lang('deleteconfirm', $onemark->title) )."');\">"; echo $themeObject->DisplayImage('icons/system/delete.gif', lang('delete'),'','','systemicon'); echo "
\n"; } else { echo'

' . lang('no_shortcuts') . '

'; } ?>

DisplayImage('icons/system/newobject.gif', lang('addbookmark'),'','','systemicon').''; echo ' '.lang("addbookmark"); ?>