本文整理汇总了PHP中newsopts函数的典型用法代码示例。如果您正苦于以下问题:PHP newsopts函数的具体用法?PHP newsopts怎么用?PHP newsopts使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了newsopts函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: render_news
function render_news($subject, $news, $info)
{
echo "<table cellpadding='0' cellspacing='0' width='100%' align='center'>\n<tr>\n";
echo "<td><img src='" . THEME . "/images/pfboxcapleft.jpg' alt='image' /></td>\n";
echo "<td class='capmain' width='100%' align='center'>" . $subject . "</td>\n";
echo "<td><img src='" . THEME . "/images/pfboxcapright.jpg' alt='image' /></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' align='center'>\n<tr>\n";
echo "<td class='pfboxbll' height='100%'> </td>\n";
echo "<td class='main-body'>" . $news . "</td>\n";
echo "<td class='pfboxblr' height='100%'> </td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' align='center'>\n<tr>\n";
echo "<td class='pfboxbll' height='100%'> </td>\n";
echo "<td align='center' class='news-footer'>\n";
echo newsposter($info, " ·") . newsopts($info, "·") . itemoptions("N", $info['news_id']);
echo "</td>\n";
echo "<td class='pfboxblr' height='100%'> </td>\n";
echo "</tr>\n</table>\n";
echo "<table cellspacing='0' cellpadding='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td align='left'><img src='" . THEME . "/images/pfboxsidebleft.jpg' alt='image' /></td>";
echo "<td align='center' class='pfboxsideb' width='100%'></td>";
echo "<td align='right'><img src='" . THEME . "/images/pfboxsidebright.jpg' alt='image' /></td>";
echo "</tr>\n</table>\n";
}
示例2: render_news
function render_news($subject, $news, $info)
{
global $locale;
opentable($subject);
echo "<div class='floatfix'>" . $info['cat_image'] . $news . "</div>\n<div class='news-footer'>\n\t" . newsposter($info, " ·") . newsopts($info, "·") . itemoptions("N", $info['news_id']) . "</div>\n";
closetable();
}
示例3: render_news
function render_news($subject, $news, $info)
{
echo "<div class='capmain'>{$subject}</div>\n";
echo "<div class='main-body floatfix'>" . $news . "</div>\n";
echo "<div class='news-footer'>\n";
echo newsposter($info, "·") . newsopts($info, "·") . itemoptions("N", $info['news_id']);
echo "</div>\n";
}
示例4: render_news
function render_news($subject, $news, $info)
{
//echo "<div class='capmain'>$subject</div>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' align='center'>\n\t<tr>\n\t<td class='tabletoplinks'></td>\n\t<td class='tabletop'>" . $subject . "</td>\n\t<td class='tabletoprechts'></td>\n\t</tr></table>";
// ende meins
echo "<div class='main-body floatfix'>" . $news . "</div>\n";
echo "<div class='news-footer'>\n";
echo newsposter($info, "·") . newsopts($info, "·") . itemoptions("N", $info['news_id']);
echo "</div>\n";
}
示例5: render_news
function render_news($subject, $news, $info)
{
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>" . $subject . "</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>" . $news . "</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo newsposter($info, " ·") . newsopts($info, "·") . itemoptions("N", $info['news_id']);
echo "</td>\n</tr>\n</table>\n";
}
示例6: render_news
function render_news($subject, $news, $info)
{
global $_GET;
$image = "";
$image = $info['cat_image'];
echo "<a name='news_" . $info['news_id'] . "' id='news_" . $info['news_id'] . "'></a>\n";
echo "<div class='news-item floatfix'>\n";
echo "<div class='content'>\n";
echo "<div class='image'>" . $image . "</div>\n";
echo "<div class='info'>\n";
echo "<span class='title'><a href='" . BASEDIR . "news.php?readmore=" . $info['news_id'] . "'>" . $info['news_subject'] . "</a></span>\n";
echo "<span class='poster'>" . newsposter($info, "") . "</span>\n";
echo "</div>\n";
echo "<div class='subject'>" . $news . "</div>\n";
echo "<div class='footer'>\n";
echo "<span class='category'>" . newscat($info, " - ") . "</span>";
echo "<span class='read-more'>" . newsopts($info, " - ") . "</span>";
echo "</div>\n";
echo "</div>\n";
echo "<div class='clear'></div>\n";
echo "</div>\n";
}