Location: PHPKode > projects > phlyMail Lite > phlymail/handlers/bookmarks/preview.php
<?php
/**
 * @package phlyMail Nahariya 4.0+ Default branch
 * @subpackage Handler Bookmarks
 * @copyright 2002-2009 phlyLabs, Berlin (http://phlylabs.de)
 * @version 0.0.1 2009-08-27
 */
// Only valid within phlyMail
if (!defined('_IN_PHM_')) die();
if (!isset($_REQUEST['id'])) die();

require_once(dirname(__FILE__).'/driver.mysql.php');
$bDB = new bookmarks_driver($_SESSION['phM_uid']);
$item = $bDB->get_item($_REQUEST['id'], BOOKMARKS_PUBLIC_BOOKMARKS);

if (!$item || empty($item)) die();

header('Location: frontend/derefer.php?go='.urlencode($item['url']));
exit;
?>
Return current item: phlyMail Lite