当前位置: 首页>>代码示例>>PHP>>正文


PHP articleposter函数代码示例

本文整理汇总了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, " &middot;") . articleopts($info, "&middot;") . itemoptions("A", $info['article_id']) . "\n</div>\n";
    closetable();
}
开发者ID:dioda,项目名称:phpfusion,代码行数:7,代码来源:theme.php

示例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, "&middot;") . articleopts($info, "&middot;") . itemoptions("A", $info['article_id']);
    echo "</div>\n";
}
开发者ID:roniwahyu,项目名称:AKEUDA,代码行数:8,代码来源:theme.php

示例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, " &middot;") . articleopts($info, "&middot;") . itemoptions("A", $info['article_id']);
    echo "</td>\n</tr>\n</table>\n";
}
开发者ID:simplyianm,项目名称:clububer,代码行数:11,代码来源:theme.php

示例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, "&middot;") . articleopts($info, "&middot;") . itemoptions("A", $info['article_id']);
    echo "</div>\n";
    echo "</div>";
}
开发者ID:MichaelFichtner,项目名称:RadioLaFamilia,代码行数:12,代码来源:theme.php

示例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%'>&nbsp;</td>\n";
    echo "<td class='main-body middle-border'>" . ($info['article_breaks'] == "y" ? nl2br($article) : $article) . "</td>\n";
    echo "<td class='pfboxblr' height='100%'>&nbsp;</td>\n";
    echo "</tr>\n<tr>\n";
    echo "<td class='pfboxbll' height='100%'>&nbsp;</td>\n";
    echo "<td align='center' class='news-footer'>\n";
    echo articleposter($info, " &middot;") . articleopts($info, "&middot;") . itemoptions("A", $info['article_id']);
    echo "</td>\n";
    echo "<td class='pfboxblr' height='100%'>&nbsp;</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";
}
开发者ID:edwintcloud,项目名称:mycms,代码行数:24,代码来源:theme.php

示例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";
}
开发者ID:necrophcodr,项目名称:Muks,代码行数:16,代码来源:theme.php


注:本文中的articleposter函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。