function execute()
 {
     $context = $this->getContext();
     $controller = $context->getController();
     $request = $context->getRequest();
     $user = $context->getUser();
     $this->setScreenId("0001");
     $this->setTemplate('EditSchedule.tpl.php');
     $current_module = 'Community';
     $current_action = 'EditSchedule';
     // コミュニティ情報
     $target_community_row =& $request->getAttribute('target_community_row');
     $this->setAttribute('target_community_row', $target_community_row);
     // スケジュールインスタンスの設定
     $schedule =& $request->getAttribute('schedule');
     $this->setAttribute('schedule', $schedule);
     // 入力値の設定
     $this->setAttribute('edit_append_adjustment_dates', $request->getAttribute('edit_append_adjustment_dates'));
     $this->setAttribute('delete_ajustment_dates_checked', $request->getAttribute('delete_ajustment_dates_checked'));
     $this->setAttribute('send_annouce_mail_checked', $request->getAttribute('send_annouce_mail_checked'));
     // POST-URL
     $this->setAttribute('posturl', $this->getControllerPath($current_module, $current_action));
     // 共通URLパラメータ
     $url_params = "community_id=" . $target_community_row['community_id'];
     // コミュニティのURL
     $this->setAttribute('url_community_top', $this->getControllerPath($current_module, 'Index') . "&" . $url_params);
     // スケジュール調整表一覧のURL
     $this->setAttribute('url_schedule_list', $this->getControllerPath($current_module, 'Schedule') . "&" . $url_params);
     // 候補日時自動作成optionsリストの生成
     $this->setAttribute('html_options_generate_year', ACSTemplateLib::get_year_select_options());
     $this->setAttribute('html_options_generate_month', ACSTemplateLib::get_month_select_options());
     $this->setAttribute('html_options_generate_day', ACSTemplateLib::get_day_select_options());
     // 締切日時optionsリストの生成
     $closing_array = $request->getAttribute('closing_datetime_array');
     $this->setAttribute('html_options_closing_year', ACSTemplateLib::get_year_select_options($closing_array['year']));
     $this->setAttribute('html_options_closing_month', ACSTemplateLib::get_month_select_options($closing_array['month']));
     $this->setAttribute('html_options_closing_day', ACSTemplateLib::get_day_select_options($closing_array['day']));
     $this->setAttribute('html_options_closing_hour', ACSTemplateLib::get_hour_select_options($closing_array['hours']));
     $this->setAttribute('html_options_closing_min', ACSTemplateLib::get_min_select_options($closing_array['minutes']));
     // 対象のラジオボタンチェック設定
     if ($schedule->is_target_all()) {
         $this->setAttribute('html_checked_target_all', ' CHECKED');
         $this->setAttribute('html_checked_target_free', '');
     } else {
         $this->setAttribute('html_checked_target_all', '');
         $this->setAttribute('html_checked_target_free', ' CHECKED');
     }
     // エラー時のメッセージ表示
     $this->setAttribute('error_message', $this->getErrorMessage($controller, $request, $user));
     return parent::execute();
 }
Example #2
0
	</tr>
	<tr>
		<td align="center" bgcolor="#ffffff">
			<a href="<?php 
    echo $new_open_diary_row['top_page_url'];
    ?>
"><img src="<?php 
    echo $new_open_diary_row['image_url'];
    ?>
" border="0"></a>
			<br>
			<a href="<?php 
    echo $new_open_diary_row['top_page_url'];
    ?>
"><?php 
    echo htmlspecialchars($new_open_diary_row['community_name']);
    ?>
</a>
		</td>
		<td valign="top" bgcolor="#ffffff">
			<?php 
    echo nl2br(ACSLib::sp2nbsp(htmlspecialchars(ACSTemplateLib::trim_long_str($new_open_diary_row['body'], 500))));
    ?>
		</td>
	</tr>
<?php 
}
?>
</table>

Example #3
0
        echo "</tr>\n";
    }
    // 自己紹介は、閲覧者別に登録されている
    echo "<tr>";
    echo "<td id=\"myttl\" bgcolor=\"#DEEEBD\">" . ACSMsg::get_msg("User", "Index.tpl.php", 'M025') . "</td>";
    if ($this->_tpl_vars['peruse_mode'] == 1) {
        //ログインユーザ
        echo "<td bgcolor=\"#FFFFFF\">" . nl2br(ACSTemplateLib::auto_link(htmlspecialchars($this->_tpl_vars['profile']['community_profile_login']))) . "</td>";
    }
    if ($this->_tpl_vars['peruse_mode'] == 2) {
        //すべての友人
        echo "<td bgcolor=\"#FFFFFF\">" . nl2br(ACSTemplateLib::auto_link(htmlspecialchars($this->_tpl_vars['profile']['community_profile_friend']))) . "</td>";
    }
    if ($this->_tpl_vars['peruse_mode'] == 9) {
        //一般
        echo "<td bgcolor=\"#FFFFFF\">" . nl2br(ACSTemplateLib::auto_link(htmlspecialchars($this->_tpl_vars['profile']['community_profile']))) . "</td>";
    }
    echo "</tr>\n";
    echo "</table>\n";
    echo "<br>";
}
?>

</td>
</tr>
</table>
<!---------------------------------------------------------------->

<br><br>

<!---------------------------------------------------------------->
<?php

// $Id: EditFileDetail.tpl.php,v 1.7 2007/03/28 08:39:33 w-ota Exp $
?>

<?php 
// ファイルコンテンツ切り替えJS出力
ACSTemplateLib::print_change_file_contents_js('edit_file_detail_form', $this->_tpl_vars['file_contents_type_master_array'], $this->_tpl_vars['file_contents_type_master_row_array_array']);
?>

<?php 
if ($this->_tpl_vars['is_self_page']) {
    $title = ACSMsg::get_msg("User", "EditFileDetail.tpl.php", 'M001');
} else {
    $title = '<a href="' . $this->_tpl_vars['target_user_info_row']['top_page_url'] . '">';
    //$title .= htmlspecialchars($this->_tpl_vars['target_user_info_row']['community_name']) . "さん";
    $title .= ACSMsg::get_tag_replace(ACSMsg::get_msg("User", "EditFileDetail.tpl.php", 'NAME'), array("{USER_NAME}" => htmlspecialchars($this->_tpl_vars['target_user_info_row']['community_name'])));
    $title .= '</a>';
    $title .= ' :: <a href="' . $this->_tpl_vars['back_url'] . '">' . ACSMsg::get_msg("User", "EditFileDetail.tpl.php", 'M002') . '</a>';
}
?>
<div class="sub_title"><?php 
echo $title;
?>
 :: <?php 
echo ACSMsg::get_msg("User", "EditFileDetail.tpl.php", 'M003');
?>
 :: <?php 
echo ACSMsg::get_msg("User", "EditFileDetail.tpl.php", 'M004');
?>
</div>
<?php 
ACSTemplateLib::print_error_message($this->_tpl_vars['error_message']);
?>

<?php 
// 定型文言語の選択
?>
<p>
<?php 
echo ACSMsg::get_msg("Community", "DecideSchedule_input.tpl.php", 'M007');
?>
:<br>
 <select name="lang_id" onChange="sel_lang()">
  <?php 
echo ACSTemplateLib::get_simple_select_options($this->_tpl_vars['html_options_lang_list'], $this->_tpl_vars['current_lang']);
?>
 </select>
</p>
<?php 
// メール件名
?>
<p>
<?php 
echo ACSMsg::get_msg("Community", "DecideSchedule_input.tpl.php", 'M004');
?>
:<br>
<input type="text" name="mail_subject" onChange="onchange_msg()" value="<?php 
echo $this->_tpl_vars['mail_subject'];
?>
" size="90">
Example #6
0
<?php

// $Id: UploadFile.tpl.php,v 1.4 2007/03/01 09:01:43 w-ota Exp $
?>

<?php 
// ファイルコンテンツ切り替えJS出力
ACSTemplateLib::print_change_file_contents_js('upload_file', $this->_tpl_vars['file_contents_type_master_array'], $this->_tpl_vars['file_contents_type_master_row_array_array']);
?>

<div class="ttl"><?php 
echo ACSMsg::get_msg("User", "UploadFile.tpl.php", 'M001');
?>
</div>
<br>

<form name="upload_file" action="<?php 
echo $this->_tpl_vars['action_url'];
?>
" method="POST" enctype="multipart/form-data">

<table class="common_table" border="0" cellpadding="6" cellspacing="1" bgcolor="#99CC33">
<tr>
<td id="myttl" bgcolor="#DEEEBD"><?php 
echo ACSMsg::get_msg("User", "UploadFile.tpl.php", 'M002');
?>
</td>
<td bgcolor="#ffffff"><input type="file" name="new_file" size="50"> <input type="submit" value="アップロード"></td>
</tr>
<tr>
<td id="myttl" bgcolor="#DEEEBD"><?php 
 function get_min_select_options($selected_min = '', $step_min = 5)
 {
     if ($selected_min === '') {
         $dt = getdate();
         $selected_min = $dt['minutes'];
     }
     $vals = array();
     for ($min = 0; $min <= 59; $min += $step_min) {
         $vals[$min] = sprintf("%02d", $min);
     }
     return ACSTemplateLib::get_simple_select_options($vals, floor($selected_min / $step_min) * $step_min);
 }
<?php

// $Id: CreateCommunity.tpl.php,v 1.6 2007/03/01 09:01:35 w-ota Exp $
?>

<div class="ttl"><?php 
echo ACSMsg::get_msg("Community", "CreateCommunity.tpl.php", 'M001');
?>
</div><br>
<br>
<?php 
ACSTemplateLib::print_error_message($this->_tpl_vars['error_message']);
?>

<form action="<?php 
echo $this->_tpl_vars['action_url'];
?>
" method="post" name="create_community_form">

<table border="0" cellpadding="6" cellspacing="1" bgcolor="#99CC33">
<tr>
<td id="myttl" bgcolor="#DEEEBD"><?php 
echo ACSMsg::get_msg("Community", "CreateCommunity.tpl.php", 'M002');
?>
</td>
<td bgcolor="#ffffff"><input type="text" name="community_name" value="<?php 
echo htmlspecialchars($this->_tpl_vars['community_row']['community_name']);
?>
"></td>
</tr>
<tr>
Example #9
0
    }
    echo "</td>";
    echo "</tr>\n";
}
?>

<?php 
// 新着記事
if ($this->_tpl_vars['bbs_row_array']) {
    echo "<tr>\n";
    echo "<td id=\"myttl\" bgcolor=\"#DEEEBD\">" . ACSMsg::get_msg('Community', 'Index.tpl.php', 'M033') . "</td>\n";
    echo "<td bgcolor=\"#ffffff\">";
    foreach ($this->_tpl_vars['bbs_row_array'] as $bbs_row) {
        echo $bbs_row['bbs_last_post_date'] . " ";
        echo "<a href=\"" . $bbs_row['bbs_res_url'] . "\">";
        echo htmlspecialchars(ACSTemplateLib::trim_long_str($bbs_row['subject']));
        echo "</a> (" . $bbs_row['bbs_res_num'] . ")<br>\n";
    }
    echo "</td>";
    echo "</tr>\n";
}
?>

</table>

<?php 
if ($this->_tpl_vars['edit_community_profile_url']) {
    echo "<br><div align=\"right\">\n";
    echo "<a href=\"" . $this->_tpl_vars['edit_community_profile_url'] . "\">" . ACSMsg::get_msg('Community', 'Index.tpl.php', 'M034') . "</a>\n";
    echo "</div>\n";
}
Example #10
0
        echo "</td>";
        // 削除ボタン 削除データで無い場合
        if ($diary_comment_row['diary_comment_delete_flag'] == 'f') {
            echo "<td align=\"right\" valign=\"top\" BGCOLOR='#FFFFFF'>";
            echo "<form>";
            //削除ボタンの表示 +自分
            if (($this->_tpl_vars['is_self_page'] || $diary_comment_row['self_id'] == true) && $diary_comment_row['diary_comment_delete_flag'] == 'f') {
                echo "<input type=\"button\" value=\"" . ACSMsg::get_msg("User", "DiaryComment.tpl.php", 'M007') . "\" onclick=\"location.href='" . $diary_comment_row['diary_delete_url'] . "'\">";
            }
            echo "</form></td>";
        }
        echo "</tr>";
        echo "<tr><td>";
        //本文を表示 削除データで無い場合
        if ($diary_comment_row['diary_comment_delete_flag'] == 'f') {
            echo nl2br(ACSTemplateLib::auto_link(ACSLib::sp2nbsp(htmlspecialchars($diary_comment_row['body']))));
        } else {
            echo ACSMsg::get_msg("User", "DiaryComment.tpl.php", 'M008');
        }
        echo "</td>";
        echo "</tr>";
        echo "</table>";
        echo "</td></tr>";
        $swf++;
    }
    echo "</table>\n";
    echo "<br><br>\n";
}
?>

<?php 
<div class="ttl"><?php 
echo ACSMsg::get_msg("Public", "NewPressRelease.tpl.php", 'M001');
?>
</div>
<br>

<table class="common_table" border="0" cellpadding="6" cellspacing="1" bgcolor="#99CC33">
<?php 
foreach ($this->_tpl_vars['new_bbs_for_press_release_row_array'] as $new_bbs_row) {
    echo "<tr><td id=\"myttl\" bgcolor=\"#DEEEBD\">";
    echo "<b>" . htmlspecialchars($new_bbs_row['subject']) . "</b>";
    echo "&nbsp;";
    echo "(<a href=\"{$new_bbs_row['top_page_url']}\">" . htmlspecialchars($new_bbs_row['community_name']) . "</a>)";
    echo "&nbsp;&nbsp;&nbsp;";
    echo $new_bbs_row['post_date'];
    echo "</td></tr>";
    echo "<tr><td bgcolor=\"#ffffff\">";
    echo "<table class=\"layout_table\"><tr>";
    if ($new_bbs_row['file_url']) {
        echo "<td valign=\"top\">";
        echo "<a href=\"javascript:w=window.open('" . $new_bbs_row["file_url_alink"] . "','popUp','scrollbars=yes,resizable=yes');w.focus();\">";
        echo "<img src=\"" . $new_bbs_row['file_url'] . "\" border=\"0\"></a>";
        echo "</td>";
    }
    echo "<td valign=\"top\">" . nl2br(ACSTemplateLib::auto_link(ACSLib::sp2nbsp(htmlspecialchars($new_bbs_row['body'])))) . "</td>";
    echo "</tr></table>";
    echo "</td></tr>";
}
?>
</table>
Example #12
0
    // 選択リストの出力
    foreach ($this->_tpl_vars['adjustment_dates_list'] as $date_id => $adjustment_date) {
        $disp_answer_no =& $schedule_participant->get_answer($date_id);
        $answer_no = $disp_answer_no == '' ? $schedule->get_answer_selection_default() : $disp_answer_no;
        ?>
  <td bgcolor="#ffffff" width="60" align="center">
   <?php 
        // 参加状態の場合は選択リストを出力
        if ($is_closed == FALSE && ($schedule_participant->is_participate() || $schedule->is_target_all())) {
            ?>
    <select name="answers[<?php 
            echo $date_id;
            ?>
]">
     <?php 
            echo ACSTemplateLib::get_simple_select_options($this->_tpl_vars['html_options_answer_selection'], $answer_no);
            ?>
    </select>
   <?php 
            // 参加状態でない場合は表示のみ
        } else {
            ?>
     <?php 
            echo $answer_selection[$disp_answer_no]['answer_char'];
            ?>
     <input type="hidden" name="answers[<?php 
            echo $date_id;
            ?>
]" 
       value="<?php 
            echo $answer_no;
Example #13
0
    echo "<td class=\"nowrap\">";
    echo "<form>";
    if ($bbs_res_row['edit_bbs_res_url']) {
        echo "<input type=\"button\" value=\"" . ACSMsg::get_msg("Community", "BBSRes.tpl.php", 'M011') . "\" onclick=\"location.href='" . $bbs_res_row['edit_bbs_res_url'] . "'\">";
    }
    //削除ボタンの表示 削除フラグがないこと +自分が投稿したもの 又は コミュニティ管理者
    if ($bbs_res_row['bbs_res_delete_flag'] == 'f' && $bbs_res_row['bbs_set_delete_flag'] == 1) {
        echo " <input type=\"button\" value=\"" . ACSMsg::get_msg("Community", "BBSRes.tpl.php", 'M012') . "\" onclick=\"location.href='" . $bbs_res_row['delete_bbs_res_url'] . "'\">";
    }
    echo "</form>";
    echo "</td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td valign=\"top\">";
    if ($bbs_res_row['bbs_res_delete_flag'] == 'f') {
        echo nl2br(ACSTemplateLib::auto_link(ACSLib::sp2nbsp(htmlspecialchars($bbs_res_row['body']))));
    } else {
        echo ACSMsg::get_msg("Community", "BBSRes.tpl.php", 'M013');
    }
    echo "</td>";
    echo "</tr>";
    echo "</table>";
    echo "</td>";
    echo "</tr>\n";
}
echo "</table>\n";
echo "<br>\n";
echo "<br>\n";
?>

    <td width="16px"><img src="<?php 
    echo ACS_IMAGE_DIR . 'file.gif';
    ?>
"></td>
    <td> &nbsp;
<?php 
    if ($new_file_row['is_unread']) {
        echo "<b>";
    }
    ?>
        <a href="<?php 
    echo $new_file_row['file_detail_url'];
    ?>
">
        <?php 
    echo htmlspecialchars(ACSTemplateLib::trim_long_str($new_file_row['display_file_name']));
    ?>
</a>
<?php 
    if ($new_file_row['is_unread']) {
        echo "</b>";
    }
    ?>
    &nbsp; (<?php 
    echo htmlspecialchars($new_file_row['community_name']);
    ?>
)
    </td>
</tr>
<?php 
}
Example #15
0
<?php

// $Id: UserRanking.tpl.php,v 1.5 2007/03/14 04:28:19 w-ota Exp $
?>

<div class="ttl"><?php 
echo ACSMsg::get_msg("Public", "UserRanking.tpl.php", 'M001');
?>
</div>
<br>

<table class="common_table" border="0" cellpadding="6" cellspacing="1" bgcolor="#99CC33">
<?php 
foreach ($this->_tpl_vars['ranking_user_info_row_array'] as $ranking_user_info_row) {
    echo "<tr>";
    echo "<td align=\"center\" bgcolor=\"#ffffff\">" . $ranking_user_info_row['rank'] . "</td>";
    echo "<td align=\"center\" bgcolor=\"#ffffff\">";
    echo "<a href=\"" . $ranking_user_info_row['top_page_url'] . "\"><img src=\"" . $ranking_user_info_row['image_url'] . "\" border=\"0\"></a><br>";
    echo "<a href=\"" . $ranking_user_info_row['top_page_url'] . "\">" . htmlspecialchars($ranking_user_info_row['community_name']) . "</a>";
    echo " (" . $ranking_user_info_row['ranking_score'] . "pt)";
    echo "</td>";
    echo "<td valign=\"top\" bgcolor=\"#ffffff\">";
    echo nl2br(htmlspecialchars(ACSTemplateLib::trim_long_str($ranking_user_info_row['contents_row_array']['profile']['contents_value'], 200)));
    echo "</td>";
    echo "</tr>";
}
?>
</table>
Example #16
0
<?php

// $Id: NewCommunity.tpl.php,v 1.5 2007/03/14 04:28:19 w-ota Exp $
?>

<div class="ttl"><?php 
echo ACSMsg::get_msg("Public", "NewCommunity.tpl.php", 'M001');
?>
</div>
<br>

<table class="common_table" width="675px" border="0" cellpadding="6" cellspacing="1" bgcolor="#99CC33">
<?php 
foreach ($this->_tpl_vars['new_community_row_array'] as $new_community_row) {
    echo "<tr>";
    // ¼Ì¿¿
    echo "<td align=\"center\" bgcolor=\"#ffffff\">";
    echo "<a href=\"" . $new_community_row['top_page_url'] . "\"><img src=\"" . $new_community_row["image_url"] . "\" border=\"0\"></a><br>";
    echo "<a href=\"" . $new_community_row['top_page_url'] . "\">" . htmlspecialchars($new_community_row['community_name']) . "</a>";
    echo "(" . $new_community_row['community_member_num'] . ")";
    echo "</td>";
    // ³µÍ×
    echo "<td valign=\"top\" bgcolor=\"#ffffff\">" . ACSMsg::get_msg("Public", "NewCommunity.tpl.php", 'M002') . "<br>";
    echo nl2br(htmlspecialchars(ACSTemplateLib::trim_long_str($new_community_row['contents_row_array']['community_profile']['contents_value'], 200)));
    echo "</td>";
    echo "</tr>\n";
}
?>
</table>
Example #17
0
echo "<div class=\"ttl\">";
if ($this->_tpl_vars['is_self_page']) {
    echo ACSMsg::get_msg("User", "CommunityList.tpl.php", 'M001');
} else {
    echo "<a href=\"" . $this->_tpl_vars['link_page_url']['else_user_top_page_url'] . "\">";
    echo ACSMsg::get_tag_replace(ACSMsg::get_msg("User", "CommunityList.tpl.php", 'NAME'), array("{USER_NAME}" => htmlspecialchars($this->_tpl_vars['target_user_info_row']['community_name'])));
    echo "</a> :: ";
    echo ACSMsg::get_msg("User", "CommunityList.tpl.php", 'M002');
}
echo " (" . $this->_tpl_vars['community_row_array_num'] . ")";
echo "</div><br>\n";
?>

<?php 
// ページング表示
ACSTemplateLib::print_paging_link($this->_tpl_vars['paging_info']);
?>

<table width="650" border="0" cellpadding="8" cellspacing="1" bgcolor="#99CC33">
<tr>
<td bgcolor="#ffffff">
<table width="100%" border="0" cellspacing="10" cellpadding="5">
<?php 
if (count($this->_tpl_vars['community_row_array'])) {
    $count = 0;
    foreach ($this->_tpl_vars['community_row_array'] as $community_row) {
        if ($count % 4 == 0) {
            echo "<tr>";
        }
        echo "<td align=\"center\">";
        echo "<a href=\"{$community_row['top_page_url']}\"><img src=\"{$community_row['image_url']}\" border=\"0\"></a><br>";
    <td width="16px"><img src="<?php 
    echo ACS_IMAGE_DIR;
    ?>
yaj2.gif"></td>
    <td>&nbsp;
<?php 
    // コメントURL、日記タイトル
    if ($commented_diary_row['is_unread']) {
        echo "<b>";
    }
    ?>
    <a href="<?php 
    echo $commented_diary_row['diary_comment_url'];
    ?>
"><?php 
    echo htmlspecialchars(ACSTemplateLib::trim_long_str($commented_diary_row['subject']));
    ?>
</a>
<?php 
    // コメント数
    if ($commented_diary_row['is_unread']) {
        echo "</b>";
    }
    ?>
    &nbsp; (<?php 
    echo $commented_diary_row['diary_comment_num'];
    ?>
) (<?php 
    echo htmlspecialchars($commented_diary_row['community_name']);
    ?>
)
Example #19
0
// ページング表示
ACSTemplateLib::print_paging_link($this->_tpl_vars['paging_info']);
?>

<table class="layout_table">
<?php 
foreach ($this->_tpl_vars['new_diary_row_array'] as $new_diary_row) {
    echo "<tr>";
    echo "<td width=\"16px\">";
    echo "<img src=\"" . ACS_IMAGE_DIR . 'yaj2.gif' . "\">";
    echo "</td>";
    echo "<td> &nbsp;";
    if ($new_diary_row['is_unread']) {
        echo "<b>";
    }
    echo "<a href=\"{$new_diary_row['diary_comment_url']}\">" . htmlspecialchars(ACSTemplateLib::trim_long_str($new_diary_row['subject'])) . "</a>";
    if ($new_diary_row['is_unread']) {
        echo "</b>";
    }
    echo "&nbsp; ({$new_diary_row['diary_comment_num']}) (" . htmlspecialchars($new_diary_row['community_name']) . ")";
    echo "</td>";
    echo "</tr>\n";
}
if (count($this->_tpl_vars['new_diary_row_array']) == 0) {
    echo "<tr><td>" . ACSMsg::get_msg("User", "NewDiary.tpl.php", 'M002') . "</td></tr>\n";
}
?>
</table>

<?php 
if ($this->_tpl_vars['new_diary_url']) {
Example #20
0
<table class="layout_table">
<?php 
// ループ開始
foreach ($this->_tpl_vars['new_bbs_row_array'] as $new_bbs_row) {
    ?>
<tr>
    <td width="16px"><img src="<?php 
    echo ACS_IMAGE_DIR;
    ?>
yaj2.gif"></td>
    <td> &nbsp;
<?php 
    if ($new_bbs_row['is_unread']) {
        echo "<b>";
    }
    echo "        <a href=\"" . $new_bbs_row[bbs_res_url] . "\">" . htmlspecialchars(ACSTemplateLib::trim_long_str($new_bbs_row['subject'])) . "</a>";
    if ($new_bbs_row['is_unread']) {
        echo "</b>";
    }
    echo "&nbsp; ({$new_bbs_row['bbs_res_num']}) (" . htmlspecialchars($new_bbs_row['community_name']) . ")";
    ?>
    </td>
</tr>
<?php 
}
// ↑ループ終了
// データが0件の場合
if (count($this->_tpl_vars['new_bbs_row_array']) == 0) {
    echo "<tr><td>" . ACSMsg::get_msg("User", "NewBBS.tpl.php", 'M002') . "</td></tr>\n";
}
?>