// // ------------------------------------------------------------------------ // // This program is free software; you can redistribute it and/or modify // // it under the terms of the GNU General Public License as published by // // the Free Software Foundation; either version 2 of the License, or // // (at your option) any later version. // // // // You may not change or alter any portion of this comment or credits // // of supporting developers from this source code or any supporting // // source code which is considered copyrighted (c) material of the // // original comment or credit authors. // // // // This program is distributed in the hope that it will be useful, // // but WITHOUT ANY WARRANTY; without even the implied warranty of // // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // // GNU General Public License for more details. // // // // You should have received a copy of the GNU General Public License // // along with this program; if not, write to the Free Software // // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // // Author: Kazumi Ono (AKA onokazu) // // URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ // // Project: The XOOPS Project // // ------------------------------------------------------------------------- // if (!defined('XOOPS_ROOT_PATH')) { exit(); } include_once XOOPS_ROOT_PATH."/class/xoopslists.php"; include_once XOOPS_ROOT_PATH."/include/xoopscodes.php"; echo "
"; if ( $forumdata['forum_type'] == 1 ) { echo ""; } elseif ( $forumdata['forum_access'] == 1 ) { echo ""; } elseif ( $forumdata['forum_access'] == 2 ) { echo ""; } elseif ( $forumdata['forum_access'] == 3 ) { echo ""; } echo ""; echo "\n"; echo "
". _MD_ABOUTPOST .":". _MD_PRIVATE ."". _MD_REGCANPOST ."". _MD_ANONCANPOST ."". _MD_MODSCANPOST ."
". _MD_SUBJECTC ." "; echo "
". _MD_MESSAGEICON ." "; $lists = new XoopsLists; $filelist = $lists->getSubjectsList(); $count = 1; while ( list($key, $file) = each($filelist) ) { $checked = ""; if ( isset($icon) && $file==$icon ) { $checked = " checked='checked'"; } echo " "; echo " "; if ( $count == 8 ) { echo "
"; $count = 0; } $count++; } echo "
". _MD_MESSAGEC ." "; xoopsCodeTarea("message"); if ( !empty($isreply) && isset($hidden) && $hidden != "" ) { echo ""; echo "
"; } xoopsSmilies("message"); echo "
"._MD_OPTIONS.""; if ( $xoopsUser && $forumdata['forum_access'] == 2 && !empty($post_id) ) { echo " "._MD_POSTANONLY."
\n"; } echo " "._MD_DISABLESMILEY."
\n"; if ( $forumdata['allow_html'] ) { echo " "._MD_DISABLEHTML."
\n"; } else { echo ""; } if ( $forumdata['allow_sig'] && $xoopsUser ) { echo " "; } else { echo " /> "; } } else { if ($xoopsUser->getVar('attachsig') || !empty($attachsig)) { echo " checked='checked' /> "; } else { echo "/> "; } } echo _MD_ATTACHSIG."
\n"; } if (!empty($xoopsUser) && !empty($xoopsModuleConfig['notification_enabled'])) { echo ""; echo "isSubscribed('thread', $topic_id, 'new_post', $xoopsModule->getVar('mid'), $xoopsUser->getVar('uid'))) { echo ' checked="checked"'; } } echo " /> "._MD_NEWPOSTNOTIFY."
\n"; } $post_id = isset($post_id) ? intval($post_id) : ''; $topic_id = isset($topic_id) ? intval($topic_id) : ''; $order = isset($order) ? intval($order) : ''; $pid = isset($pid) ? intval($pid) : 0; echo "
  "; echo "
\n"; ?>