• Hey all, due to some issues with false DMCA takedown requests, we've had to remove and censor a few things until the situation is resolved. Sorry for any inconvenience.
  • Be sure to join the discussion on our discord at: Discord.gg/serebii
  • If you're still waiting for the e-mail, be sure to check your junk/spam e-mail folders

Press CTRL+V

  • Thread starter Thread starter VS
  • Start date Start date
Akanjão .
 
Shadow?! IS THAT YOU?!
 
Ghost
Grass Ground Ice Normal Poison Psychic Rock Steel Water

The Pokémon below are the Pokémon of the Fire-type.
 
1382039456485.gif
 
PHP:
<?php
define("IN_FORUM", 1);
require_once "../global.php";
$action = $bb->input['action'];
$tid = intval($bb->input['tid']);
switch($action)
{
	case "lockthread":
		$query = "SET locked=1";
		$logtext = "Locked Thread";
		break;
	case "unlockthread":
		$query = "SET locked=0";
		$logtext = "Unlocked Thread";
		break;
	case "approvethread":
		$query = "SET approved=1";
		$logtext = "Approved Thread";
		break;
	case "unapprovethread":
		$query = "SET approved=0";
		$logtext = "Unapproved Thread";
		break;
	case "stickthread":
		$query = "SET sticky=1";
		$logtext = "Stuck Thread";
		break;
	case "unstickthread":
		$query = "SET sticky=0";
		$logtext = "Unstuck Thread";
		break;
	case "edittitle":
		$query = "SET title='" . $db->escape($bb->input['title']) . "'";
		$logtext = "Changed Thread Title";
		break;
}
$db->query("UPDATE threads " . $query . " WHERE tid=" . $tid);
if($action=="edittitle")
{
	//First update the subject of the first post
	$query = $db->query("SELECT p.pid, p.tid, t.fid FROM posts p LEFT JOIN threads t ON (p.tid=t.tid) WHERE p.tid=$tid ORDER BY p.time ASC LIMIT 1");
	$firstpost = $db->fetch_row($query);
	$fid = $firstpost['fid'];
	$query = $db->query("UPDATE posts SET `subject`='" . $db->escape($bb->input['title']) . "' WHERE pid=" . $firstpost['pid']);
	// Now fetch the lastest thread info to make sure the forum is up to date with the name
	$query = $db->query("SELECT t.*, u.username FROM threads t LEFT JOIN users u ON (t.lastposteruid=u.uid) WHERE t.fid=$fid ORDER BY t.lastposttime DESC LIMIT 1");
	$lastthread = $db->fetch_row($query);
	$forumupdate = array(
				"lastposter" => $lastthread['username'],
				"lastposteruid" => $lastthread['lastposteruid'],
				"lastposttime" => $lastthread['lastposttime'],
				"lastpostpid" => $lastthread['lastpostpid'],
				"lastposttid" => $lastthread['tid'],
				"lastposttopic" => $lastthread['title']
				);
		$db->update("forums", $forumupdate, "fid=" . $lastthread['fid']);
}
$moddata = array(
	"tid" => $tid,
	"action" => $logtext,
	"type" => "thread",
	"gid" => 0
	);
log_mod_action($moddata);
echo $logtext;
?>

Doing my programming.
 
because he did great for India by giving them the freedom that the country deserved after a rule of the British for more than 200 years.
 
My dustox in Crystal was a fierce fighter she kill dem widdit Kweeva Dans and she Buzzin up with dem Boog Boozz killin her lessor ******* she kiss ha lovah like she mennit touch daw pockage wenn she wannit she a queen fierce bitsh cuz all these *****s is rich and she aint no taking no shi bout dem. cuz she living dat lyfe she proud and she cool mutha do what u want Lady Gaga
My serperior on emerald kill dem lessor bitshes cuz he slice deh ledi's with a Leef Blaide. He italian so this shi is pasta and big package, killin' evr1 hu tries to twerk. U tried girl but u suck try again when u can suvive a wet kyogre's full health water squirt on yo face cuz u like that
 
Back
Top