<?php
	require("../__common__/__define_common.php");
	require("__define.php");
	require("../__common__/include-common-all.php");
//	require("../account/__logincheck.php");
	if (RSS_SIMPLEXML_LOAD_USE == 'YES') {
		require("__include-common-rss-simplexml.php");
	} else {
		require("__include-common-rss.php");
		require("magpierss/rss_fetch.inc");
	}
	mb_language("Japanese");
	mb_internal_encoding('UTF-8');

//	my_session_start();			// session_start()をコールするとブラウザが待ちになる。

	$con = my_mysqli_connect(_DB_SCHEMA);
	$sql = "select * from m_rss where c_delete = 0 and id_account = '" . $_COOKIE['current_id'] . "'";
	$sql .= " and id_rss = " . intval($_GET['id']);
	if ($_COOKIE['current_id'] != $_COOKIE['login_id']) {
		$sql .= " and c_privacy = 0";
	}
	$rs = my_mysqli_query($sql);
	if ($rec = mysqli_fetch_array($rs)) {
		rss_view_pop($rec, $_GET['width'], $_GET['cnt'], $_GET['pop']);
	}
?>
