Ejemplo n.º 1
0
 * Copyright (C) 2004-2007 Stephen Minutillo
 * steve@minutillo.com - http://minutillo.com/steve/
 *
 * Distributed under the GPL - see LICENSE
 *
 */
$fof_no_login = true;
include_once "fof-main.php";
include_once "fof-render.php";
if (!isset($_GET['user'])) {
    die;
}
$user = $_GET['user'];
$format = isset($_GET['format']) ? $_GET['format'] : NULL;
$prefs = new FoF_Prefs($user);
$sharing = $prefs->get("sharing");
if ($sharing == "no") {
    die;
}
$name = $prefs->get("sharedname");
$url = $prefs->get("sharedurl");
$offset = $prefs->get('tzoffset');
$which = $sharing == "all" ? "all" : "shared";
if (isset($_GET['which'])) {
    $which = $sharing == "all" || $sharing == "all_tagged" ? $_GET['which'] : "shared " . $_GET['which'];
    $extratitle = " items tagged " . $_GET['which'];
} else {
    $extratitle = '';
}
$feed = NULL;
if (isset($_GET['feed'])) {
Ejemplo n.º 2
0
 * Copyright (C) 2004-2007 Stephen Minutillo
 * steve@minutillo.com - http://minutillo.com/steve/
 *
 * Distributed under the GPL - see LICENSE
 *
 */
$fof_no_login = true;
include_once "fof-main.php";
include_once "fof-render.php";
$user = $_GET['user'];
if (!isset($user)) {
    die;
}
$format = $_GET['format'];
$prefs = new FoF_Prefs($user);
$sharing = $prefs->get("sharing");
if ($sharing == "no") {
    die;
}
$name = $prefs->get("sharedname");
$url = $prefs->get("sharedurl");
$which = $sharing == "all" ? "all" : "shared";
if (isset($_GET['which'])) {
    $which = $sharing == "all" ? $_GET['which'] : "shared " . $_GET['which'];
    $extratitle = " items tagged " . $_GET['which'];
}
$feed = NULL;
if (isset($_GET['feed'])) {
    $feed = $_GET['feed'];
    $r = fof_db_get_feed_by_id($feed);
    $extratitle .= " from <a href='" . $r['feed_link'] . "'>" . $r['feed_title'] . "</a>";