gin_password' => TYPE_STR, 'vb_login_md5password' => TYPE_STR, 'vb_login_md5password_utf' => TYPE_STR, 'postvars' => TYPE_STR, 'cookieuser' => TYPE_BOOL, 'logintype' => TYPE_STR, 'cssprefs' => TYPE_STR, )); // can the user login? $strikes = verify_strike_status($vbulletin->GPC['vb_login_username']); if ($vbulletin->GPC['vb_login_username'] == '') { eval(standard_error(fetch_error('badlogin', $vbulletin->options['bburl'], $vbulletin->session->vars['sessionurl'], $strikes))); } if (!verify_authentication($vbulletin->GPC['vb_login_username'], $vbulletin->GPC['vb_login_password'], $vbulletin->GPC['vb_login_md5password'], $vbulletin->GPC['vb_login_md5password_utf'], $vbulletin->GPC['cookieuser'], true)) { ($hook = vBulletinHook::fetch_hook('login_failure')) ? eval($hook) : false; // check password exec_strike_user($vbulletin->userinfo['username']); if ($vbulletin->GPC['logintype'] === 'cplogin' OR $vbulletin->GPC['logintype'] === 'modcplogin') { // log this error if attempting to access the control panel require_once(DIR . '/includes/functions_log_error.php'); log_vbulletin_error($vbulletin->GPC['vb_login_username'], 'security'); } $vbulletin->userinfo = array( 'userid' => 0, 'usergroupid' => 1 ); if ($vbulletin->options['usestrikesystem']) { eval(standard_error(fetch_error('badlogin_strikes', $vbulletin->options['bburl'], $vbulletin->session->vars['sessionurl'], $strikes))); } else { eval(standard_error(fetch_error('badlogin', $vbulletin->options['bburl'], $vbulletin->session->vars['sessionurl']))); } } exec_unstrike_user($vbulletin->GPC['vb_login_username']); // create new session process_new_login($vbulletin->GPC['logintype'], $vbulletin->GPC['cookieuser'], $vbulletin->GPC['cssprefs']); // do redirect do_login_redirect(); } else if ($_GET['do'] == 'login') { // add consistency with previous behavior exec_header_redirect($vbulletin->options['forumhome'] . '.php'); } // ############################### start lost password ############################### if ($_REQUEST['do'] == 'lostpw') { $vbulletin->input->clean_gpc('r', 'email', TYPE_NOHTML); $email = $vbulletin->GPC['email']; if ($permissions['forumpermissions'] & $vbulletin->bf_ugp_forumpermissions['canview']) { $navbits = construct_navbits(array('' => $vbphrase['lost_password_recovery_form'])); eval('$navbar = "' . fetch_template('navbar') . '";'); } else { $navbar = ''; } $url =& $vbulletin->url; eval('print_output("' . fetch_template('lostpw') . '");'); } // ############################### start email password ############################### if ($_POST['do'] == 'emailpassword') { $vbulletin->input->clean_gpc('p', 'email', TYPE_STR); if ($vbulletin->GPC['email'] == '') { eval(standard_error(fetch_error('invalidemail', $vbulletin->options['contactuslink']))); } require_once(DIR . '/includes/functions_user.php'); $users = $db->query_read_slave(" SELECT userid, username, email, languageid FROM " . TABLE_PREFIX . "user WHERE email = '" . $db->escape_string($vbulletin->GPC['email']) . "' "); if ($db->num_rows($users)) { while ($user = $db->fetch_array($users)) { $user['username'] = unhtmlspecialchars($user['username']); $user['activationid'] = build_user_activation_id($user['userid'], 2, 1); eval(fetch_email_phrases('lostpw', $user['languageid'])); vbmail($user['email'], $subject, $message, true); } $vbulletin->url = str_replace('"', '', $vbulletin->url); eval(print_standard_redirect('redirect_lostpw', true, true)); } else { eval(standard_error(fetch_error('invalidemail', $vbulletin->options['contactuslink']))); } } // ############################### start reset password ############################### if ($vbulletin->GPC['a'] == 'pwd' OR $_REQUEST['do'] == 'resetpassword') { $vbulletin->input->clean_array_gpc('r', array( 'userid' => TYPE_UINT, 'u' => TYPE_UINT, 'activationid' => TYPE_UINT, 'i' => TYPE_UINT )); if (!$vbulletin->GPC['userid']) { $vbulletin->GPC['userid'] = $vbulletin->GPC['u']; } if (!$vbulletin->GPC['activationid']) { $vbulletin->GPC['activationid'] = $vbulletin->GPC['i']; } $userinfo = verify_id('user', $vbulletin->GPC['userid'], 1, 1); $user = $db->query_first(" SELECT activationid, dateline FROM " . TABLE_PREFIX . "useractivation WHERE type = 1 AND userid = $userinfo[userid] "); if ($user['dateline'] < (TIMENOW - 24 * 60 * 60)) { // is it older than 24 hours? eval(standard_error(fetch_error('resetexpired', $vbulletin->session->vars['sessionurl']))); } if ($user['activationid'] != $vbulletin->GPC['activationid']) { //wrong act id eval(standard_error(fetch_error('resetbadid', $vbulletin->session->vars['sessionurl']))); } // delete old activation id $db->query_write("DELETE FROM " . TABLE_PREFIX . "useractivation WHERE userid = $userinfo[userid] AND type = 1"); // make random number $newpassword = vbrand(0, 100000000); // init user data manager $userdata =& datamanager_init('User', $vbulletin, ERRTYPE_STANDARD); $userdata->set_existing($userinfo); $userdata->set('password', $newpassword); $userdata->save(); ($hook = vBulletinHook::fetch_hook('reset_password')) ? eval($hook) : false; eval(fetch_email_phrases('resetpw', $userinfo['languageid'])); vbmail($userinfo['email'], $subject, $message, true); eval(standard_error(fetch_error('resetpw', $vbulletin->session->vars['sessionurl']))); } /*======================================================================*\ || #################################################################### || # CVS: $RCSfile$ - $Revision: 15601 $ || #################################################################### \*======================================================================*/ ?>rint_archive_forum_list(); $output .= "\n"; } if ($Coventry = fetch_coventry('string')) { $globalignore = "AND " . iif($do == 'forum', 'thread.post', 'post.') . "userid NOT IN ($Coventry) "; } else { $globalignore = ''; } // ******************************************************************************************** // display forum if ($do == 'forum') { // list threads $output .= print_archive_navigation($foruminfo); $output .= "

$vbphrase[view_full_version] : options['bburl'] . "/forumdisplay.php?f=$foruminfo[forumid]\">$foruminfo[title_clean]

\n
\n"; if ($foruminfo['cancontainthreads']) { if (!$p) { $p = 1; } $output .= print_archive_page_navigation($foruminfo['threadcount'], $vbulletin->options['archive_threadsperpage'], "f-$foruminfo[forumid]"); $threads = $db->query_read_slave(" SELECT threadid , title, lastpost, replycount FROM " . TABLE_PREFIX . "thread AS thread WHERE forumid = $foruminfo[forumid] AND visible = 1 AND open <> 10 $globalignore ORDER BY dateline " . iif($pda, 'DESC', 'ASC') . " LIMIT " . ($p - 1) * $vbulletin->options['archive_threadsperpage'] . ',' . $vbulletin->options['archive_threadsperpage'] ); $start = ($p - 1) * $vbulletin->options['archive_threadsperpage'] + 1; if ($pda AND false) { $output .= "New Thread"; } $output .= "
\n
    \n"; while ($thread = $db->fetch_array($threads)) { if ($vbulletin->options['wordwrap'] != 0) { $thread['title'] = fetch_word_wrapped_string($thread['title']); } $thread['title'] = fetch_censored_text($thread['title']); ($hook = vBulletinHook::fetch_hook('archive_forum_thread')) ? eval($hook) : false; if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads'])) { $output .= "\t
  1. $thread[title]" . iif($pda, " (" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")") . "
  2. \n"; } else if ($vbulletin->options['archive_threadtype'] OR $pda) { $output .= "\t
  3. $thread[title]" . iif($pda, " (" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")") . "
  4. \n"; } else { $output .= "\t
  5. options['bburl'] . "/showthread.php?t=$thread[threadid]\">$thread[title]
  6. \n"; } } $output .= "
\n
\n"; } else { $output .= "
\n"; $output .= print_archive_forum_list($f); $output .= "
\n"; } } // ******************************************************************************************** // display thread if ($do == 'thread') { if ($vbulletin->options['wordwrap'] != 0) { $threadinfo['title'] = fetch_word_wrapped_string($threadinfo['title']); } $threadinfo['title'] = fetch_censored_text($threadinfo['title']); $output .= print_archive_navigation($foruminfo, $threadinfo); $output .= "

$vbphrase[view_full_version] : options['bburl'] . "/showthread.php?t=$threadinfo[threadid]\">$threadinfo[title]

\n
\n"; if ($p == 0) { $p = 1; } $output .= print_archive_page_navigation($threadinfo['replycount'] + 1, $vbulletin->options['archive_postsperpage'], "t-$threadinfo[threadid]"); $posts = $db->query_read_slave(" SELECT post.postid, post.pagetext, IFNULL( user.username , post.username ) AS username, dateline FROM " . TABLE_PREFIX . "post AS post LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid = post.userid) WHERE threadid = $threadinfo[threadid] AND visible = 1 $globalignore ORDER BY dateline ASC LIMIT " . (($p - 1) * $vbulletin->options['archive_postsperpage']) . ',' . $vbulletin->options[archive_postsperpage] ); if ($pda AND false) { $output .= "New Reply"; } $i = 0; while ($post = $db->fetch_array($posts)) { $i++; $post['pagetext_simp'] = strip_bbcode($post['pagetext']); $post['postdate'] = vbdate($vbulletin->options['dateformat'], $post['dateline']); $post['posttime'] = vbdate($vbulletin->options['timeformat'], $post['dateline']); if ($vbulletin->options['wordwrap'] != 0) { $post['pagetext_simp'] = fetch_word_wrapped_string($post['pagetext_simp']); } $post['pagetext_simp'] = fetch_censored_text($post['pagetext_simp']); ($hook = vBulletinHook::fetch_hook('archive_thread_post')) ? eval($hook) : false; $output .= "\n
$post[username]
$post[postdate], $post[posttime]
"; $output .= "
" . nl2br(htmlspecialchars_uni($post['pagetext_simp'])) . "

\n\n"; } } // ******************************************************************************************** // display login if ($do == 'login') { $output .= print_archive_navigation(array()); $output .= "

$vbphrase[view_full_version]: options['bburl'] . '/' . $vbulletin->options['forumhome'] . '.php">' . $vbulletin->options['bbtitle'] . "

\n"; if (SLASH_METHOD) { $loginlink = "index.php/$querystring?login=1"; } else { $loginlink = "index.php?login=1" . (!empty($querystring) ? "&$querystring" : ''); } $output .= "
\n"; $output .= "$vbphrase[log_in]\n"; $output .= "
options['bburl'] . "/archive/$loginlink\" method=\"post\">\n"; $output .= "$vbphrase[username]: \n"; $output .= "$vbphrase[password]: \n"; $output .= "\n"; $output .= "
\n"; $output .= "
\n"; } // ******************************************************************************************** // display error if ($do == 'error') { $output .= print_archive_navigation(array()); $output .= "

$vbphrase[view_full_version]: options['bburl'] . '/' . $vbulletin->options['forumhome'] . '.php">' . $vbulletin->options['bbtitle'] . "

\n"; $output .= "
\n"; $output .= $error_message; $output .= "
\n"; } ($hook = vBulletinHook::fetch_hook('archive_complete')) ? eval($hook) : false; $output .= "
$vbphrase[vbulletin_copyright]
"; if (defined('NOSHUTDOWNFUNC')) { exec_shut_down(); } echo $output; /*======================================================================*\ || #################################################################### || # CVS: $RCSfile$ - $Revision: 15882 $ || #################################################################### \*======================================================================*/ ?>in.wk-brand.com/2006/05/crossforcf124.html">この記事のURL

「ancheri」ネックレス

リング フォースライン 

クロスフォーピアス「シンプルドロップ」

レアルマドリードオフィシャルジュエリー リング

クロスフォーネックレススリーストーン「クリスタルドロップ」