本文整理汇总了PHP中NewsStory::nosmiley方法的典型用法代码示例。如果您正苦于以下问题:PHP NewsStory::nosmiley方法的具体用法?PHP NewsStory::nosmiley怎么用?PHP NewsStory::nosmiley使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NewsStory
的用法示例。
在下文中一共展示了NewsStory::nosmiley方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: NewsStory
}
//if($storyid==0 && isset($_POST['storyid'])) {
// $storyid=intval($_POST['storyid']);
//}
$story = new NewsStory($storyid);
if (!$gperm_handler->checkRight('news_view', $story->topicid(), $groups, $module_id)) {
redirect_header(XOOPS_URL . '/modules/news/index.php', 0, _NOPERM);
exit;
}
echo "<table width='100%' border='0' cellspacing='1' class='outer'><tr><td class=\"odd\">";
echo '<h4>' . _AM_EDITARTICLE . '</h4>';
$title = $story->title('Edit');
$hometext = $story->hometext('Edit');
$bodytext = $story->bodytext('Edit');
$nohtml = $story->nohtml();
$nosmiley = $story->nosmiley();
$description = $story->description();
$keywords = $story->keywords();
$ihome = $story->ihome();
$newsauthor = $story->uid();
$topicid = $story->topicid();
$notifypub = $story->notifypub();
$picture = $story->picture();
$approve = 0;
$published = $story->published();
if (isset($published) && $published > 0) {
$approve = 1;
}
if ($story->published() != 0) {
$published = $story->published();
}