本文整理汇总了PHP中articleposter函数的典型用法代码示例。如果您正苦于以下问题:PHP articleposter函数的具体用法?PHP articleposter怎么用?PHP articleposter使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了articleposter函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: render_article
function render_article($subject, $article, $info)
{
global $locale;
opentable($subject);
echo "<div class='floatfix'>" . ($info['article_breaks'] == "y" ? nl2br($article) : $article) . "</div>\n<div class='news-footer'>\n\t" . articleposter($info, " ·") . articleopts($info, "·") . itemoptions("A", $info['article_id']) . "\n</div>\n";
closetable();
}
示例2: render_article
function render_article($subject, $article, $info)
{
echo "<div class='capmain'>{$subject}</div>\n";
echo "<div class='main-body floatfix'>" . ($info['article_breaks'] == "y" ? nl2br($article) : $article) . "</div>\n";
echo "<div class='news-footer'>\n";
echo articleposter($info, "·") . articleopts($info, "·") . itemoptions("A", $info['article_id']);
echo "</div>\n";
}
示例3: render_article
function render_article($subject, $article, $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'>" . ($info['article_breaks'] == "y" ? nl2br($article) : $article) . "</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info, " ·") . articleopts($info, "·") . itemoptions("A", $info['article_id']);
echo "</td>\n</tr>\n</table>\n";
}
示例4: render_article
function render_article($subject, $article, $info)
{
echo "<div class='border tablebreak'>";
// 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'>" . ($info['article_breaks'] == "y" ? nl2br($article) : $article) . "</div>\n";
echo "<div class='news-footer'>\n";
echo articleposter($info, "·") . articleopts($info, "·") . itemoptions("A", $info['article_id']);
echo "</div>\n";
echo "</div>";
}
示例5: render_article
function render_article($subject, $article, $info)
{
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td><img src='" . THEME . "/images/pfboxcapleft.jpg' alt='image' /></td>\n";
echo "<td class='capmain' width='100%'>" . $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'>\n<tr>\n";
echo "<td class='pfboxbll' height='100%'> </td>\n";
echo "<td class='main-body middle-border'>" . ($info['article_breaks'] == "y" ? nl2br($article) : $article) . "</td>\n";
echo "<td class='pfboxblr' height='100%'> </td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='pfboxbll' height='100%'> </td>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info, " ·") . articleopts($info, "·") . itemoptions("A", $info['article_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";
}
示例6: render_article
function render_article($subject, $article, $info)
{
echo "<div class='news-item'>\n";
echo "<div class='content'>\n";
echo "<div class='info'>\n";
echo "<span class='title'>" . $subject . "</span>\n";
echo "<span class='poster'>" . articleposter($info, "") . "</span>\n";
echo "</div>\n";
echo "<div class='subject'>" . $article . "</div>\n";
echo "<div class='footer'>\n";
echo "<span class='category'>" . articlecat($info, " - ") . "</span>";
echo "<span class='read-more'>" . articleopts($info, " - ") . "</span>";
echo "</div>\n";
echo "</div>\n";
echo "</div>\n";
}