user = u4user_open(); $user_data = u4user_select_one($this->user, "car_no=\"" . $p['uid'] . "\""); u4user_close($this->user); $template =& loadTemplate( $p ); // メール配信登録無し if(($user_data['mail_flg'] == "") or ($user_data['mail_flg'] == '0')) { $template->touchBlock("__mail_notfound__"); $template->touchBlock("__mail_notfound_link__"); $template->hideBlock("__mail_found__"); $template->hideBlock("__mail_found_link__"); $template->setVariable('mail_input_info_url', MAIL_SEND_URL); } else { $template->touchBlock("__mail_found__"); $template->touchBlock("__mail_found_link__"); $template->hideBlock("__mail_notfound__"); $template->hideBlock("__mail_notfound_link__"); $template->setVariable('mail_input_info_url', MAIL_INPUT_INFO_URL); } // $template->setVariable('mail_input_info_url', MAIL_INPUT_INFO_URL); $template->setVariable('mail_send_url', MAIL_SEND_URL); $template->setVariable('mail_add_domain_url', MAIL_ADD_DOMAIN_URL); $template->setVariable('mail_cancel_url', MAIL_CANCEL_URL); $template->setVariable('site_top_url', SITE_TOP_URL); $template->show(); } mail_top($p); ?>