function execute($requests) { $u = $GLOBALS['KTAI_C_MEMBER_ID']; // --- リクエスト変数 $prof_my_news = $requests['prof_my_news']; // ---------- db_member_update_c_profile_my_news($u, $prof_my_news, date('Y-m-d H:i:s')); //--- 権限チェック //なし openpne_redirect('ktai', 'page_h_home'); }
function execute($requests) { $u = $GLOBALS['AUTH']->uid(); // --- リクエスト変数 $prof_my_news = $requests['prof_my_news']; // ---------- db_member_update_c_profile_my_news($u, $prof_my_news, date('Y-m-d H:i:s')); //--- 権限チェック //なし openpne_redirect('pc', 'page_h_home', array()); }