當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。