Esempio n. 1
0
    }
} else {
    $intStart = $intPage * $intStep - $intStep;
    $intStop = $intStart + $intStep;
    $to_next = false;
    $to_back = true;
    if ($intMaxPages > $intPage) {
        if ($intStop < $intChannelItems) {
            $to_next = true;
        }
    }
}
$but_to_back = $to_back ? "<a href='/rss_admin/channel.php?cid={$intChannelID}&p=" . ($intPage - 1) . "'>< Back</a>&nbsp;&nbsp;" : null;
$but_to_next = $to_next ? "<a href='/rss_admin/channel.php?cid={$intChannelID}&p=" . ($intPage + 1) . "'>Next ></a>" : null;
//exit;
$chi = $cDataViewer->get_channel_items($intChannelID, $intStart, $intStep);
$chin = count($chi['items']);
$return = null;
$channel_id = $chi['channel']['channel_id'];
$url = $chi['channel']['url'];
$link = $chi['channel']['chiLink'];
//$link		= $chi[$c]['info']['chiLink'];
$title = $chi['channel']['chiTitle'] != "" ? $chi['channel']['chiTitle'] : "unknown";
//print_r($chi);
$strReturnChannelInfo = <<<NN
<div>
\t<b>{$title}</b>
</div>
<div>
\t{$link}
</div>