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


PHP newsopts函数代码示例

本文整理汇总了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%'>&nbsp;</td>\n";
    echo "<td class='main-body'>" . $news . "</td>\n";
    echo "<td class='pfboxblr' height='100%'>&nbsp;</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%'>&nbsp;</td>\n";
    echo "<td align='center' class='news-footer'>\n";
    echo newsposter($info, " &middot;") . newsopts($info, "&middot;") . itemoptions("N", $info['news_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,代码行数:25,代码来源:theme.php

示例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, " &middot;") . newsopts($info, "&middot;") . itemoptions("N", $info['news_id']) . "</div>\n";
    closetable();
}
开发者ID:dioda,项目名称:phpfusion,代码行数:7,代码来源:theme.php

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

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

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

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


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