Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Gold Sistem

Parašė NoNy· 2008 Kov. 21 19:03:15
#3

$caption = $fdata['forum_cat_name']." | <a href='viewforum.php?forum_id=".$fdata['forum_id']."'>".$fdata['forum_name']."</a>";
$result = dbquery("UPDATE ".$db_prefix."threads SET thread_views=thread_views+1 WHERE thread_id='$thread_id'");
if (iMEMBER && $can_post && !$tdata['thread_locked'] && isset($_POST['postquickreply'])) {
   $flood = false;
   $message = stripinput(censorwords($_POST['message']));
   if ($message != "") {
   paygold($userdata['user_name'],$data['user_id'],$user_gold_reply);
      $result = dbquery("SELECT MAX(post_datestamp) AS last_post FROM ".$db_prefix."posts WHERE post_author='".$data['user_id']."'");
      if (dbrows($result) > 0) {
         $data = dbarray($result);
         if ((time() - $data['last_post']) < $settings['flood_interval']) {




Čia va tas kodas, pakeičiau į data bet tą patį rodo...

Redagavo bad_user· 2008 Kov. 21 21:03:09