Current File : //proc/thread-self/root/proc/self/root/proc/self/root/proc/self/root/var/softaculous/mybb/mybb.sql
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `mybb1838`
--

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]adminlog`
--

CREATE TABLE `[[dbprefix]]adminlog` (
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `ipaddress` varbinary(16) NOT NULL DEFAULT '',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `module` varchar(50) NOT NULL DEFAULT '',
  `action` varchar(50) NOT NULL DEFAULT '',
  `data` text NOT NULL,
  KEY `module` (`module`,`action`),
  KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]adminoptions`
--

CREATE TABLE `[[dbprefix]]adminoptions` (
  `uid` int(11) NOT NULL DEFAULT '0',
  `cpstyle` varchar(50) NOT NULL DEFAULT '',
  `cplanguage` varchar(50) NOT NULL DEFAULT '',
  `codepress` tinyint(1) NOT NULL DEFAULT '1',
  `notes` text NOT NULL,
  `permissions` text NOT NULL,
  `defaultviews` text NOT NULL,
  `loginattempts` smallint(5) unsigned NOT NULL DEFAULT '0',
  `loginlockoutexpiry` int(10) unsigned NOT NULL DEFAULT '0',
  `authsecret` varchar(16) NOT NULL DEFAULT '',
  `recovery_codes` varchar(177) NOT NULL DEFAULT '',
  PRIMARY KEY (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `[[dbprefix]]adminoptions`
--

INSERT INTO `[[dbprefix]]adminoptions` VALUES
(0, '', '', 1, '', 'a:5:{s:6:"config";a:19:{s:3:"tab";s:1:"0";s:8:"settings";s:1:"0";s:7:"banning";s:1:"0";s:14:"profile_fields";s:1:"0";s:7:"smilies";s:1:"0";s:8:"badwords";s:1:"0";s:6:"mycode";s:1:"0";s:9:"languages";s:1:"0";s:10:"post_icons";s:1:"0";s:14:"help_documents";s:1:"0";s:7:"plugins";s:1:"0";s:16:"attachment_types";s:1:"0";s:9:"mod_tools";s:1:"0";s:7:"spiders";s:1:"0";s:9:"calendars";s:1:"0";s:7:"warning";s:1:"0";s:15:"thread_prefixes";s:1:"0";s:9:"questions";s:1:"0";s:14:"report_reasons";s:1:"0";}s:5:"forum";a:5:{s:3:"tab";s:1:"0";s:10:"management";s:1:"0";s:13:"announcements";s:1:"0";s:16:"moderation_queue";s:1:"0";s:11:"attachments";s:1:"0";}s:5:"style";a:3:{s:3:"tab";s:1:"0";s:6:"themes";s:1:"0";s:9:"templates";s:1:"0";}s:5:"tools";a:16:{s:3:"tab";s:1:"0";s:13:"system_health";s:1:"0";s:5:"cache";s:1:"0";s:5:"tasks";s:1:"0";s:8:"backupdb";s:1:"0";s:10:"optimizedb";s:1:"0";s:8:"adminlog";s:1:"0";s:6:"modlog";s:1:"0";s:15:"recount_rebuild";s:1:"0";s:8:"php_info";s:1:"1";s:7:"spamlog";s:1:"0";s:8:"maillogs";s:1:"0";s:10:"mailerrors";s:1:"0";s:10:"warninglog";s:1:"0";s:10:"statistics";s:1:"0";s:17:"file_verification";s:1:"0";}s:4:"user";a:9:{s:3:"tab";s:1:"0";s:5:"users";s:1:"0";s:19:"awaiting_activation";s:1:"0";s:6:"groups";s:1:"0";s:6:"titles";s:1:"0";s:7:"banning";s:1:"0";s:17:"admin_permissions";s:1:"0";s:9:"mass_mail";s:1:"0";s:16:"group_promotions";s:1:"0";}}', 'a:1:{s:4:"user";s:1:"1";}', 0, 0, '', ''),
(-4, '', '', 1, '', 'a:5:{s:6:"config";a:19:{s:3:"tab";s:1:"1";s:8:"settings";s:1:"1";s:7:"banning";s:1:"1";s:14:"profile_fields";s:1:"1";s:7:"smilies";s:1:"1";s:8:"badwords";s:1:"1";s:6:"mycode";s:1:"1";s:9:"languages";s:1:"1";s:10:"post_icons";s:1:"1";s:14:"help_documents";s:1:"1";s:7:"plugins";s:1:"1";s:16:"attachment_types";s:1:"1";s:9:"mod_tools";s:1:"1";s:7:"spiders";s:1:"1";s:9:"calendars";s:1:"1";s:7:"warning";s:1:"1";s:15:"thread_prefixes";s:1:"1";s:9:"questions";s:1:"1";s:14:"report_reasons";s:1:"1";}s:5:"forum";a:5:{s:3:"tab";s:1:"1";s:10:"management";s:1:"1";s:13:"announcements";s:1:"1";s:16:"moderation_queue";s:1:"1";s:11:"attachments";s:1:"1";}s:5:"style";a:3:{s:3:"tab";s:1:"1";s:6:"themes";s:1:"1";s:9:"templates";s:1:"1";}s:5:"tools";a:16:{s:3:"tab";s:1:"1";s:13:"system_health";s:1:"1";s:5:"cache";s:1:"1";s:5:"tasks";s:1:"1";s:8:"backupdb";s:1:"1";s:10:"optimizedb";s:1:"1";s:8:"adminlog";s:1:"1";s:6:"modlog";s:1:"1";s:15:"recount_rebuild";s:1:"1";s:8:"php_info";s:1:"1";s:7:"spamlog";s:1:"1";s:8:"maillogs";s:1:"1";s:10:"mailerrors";s:1:"1";s:10:"warninglog";s:1:"1";s:10:"statistics";s:1:"1";s:17:"file_verification";s:1:"1";}s:4:"user";a:9:{s:3:"tab";s:1:"1";s:5:"users";s:1:"1";s:19:"awaiting_activation";s:1:"1";s:6:"groups";s:1:"1";s:6:"titles";s:1:"1";s:7:"banning";s:1:"1";s:17:"admin_permissions";s:1:"1";s:9:"mass_mail";s:1:"1";s:16:"group_promotions";s:1:"1";}}', 'a:1:{s:4:"user";s:1:"1";}', 0, 0, '', ''),
(1, '', '', 1, '', 'a:5:{s:6:"config";a:19:{s:3:"tab";s:1:"1";s:8:"settings";s:1:"1";s:7:"banning";s:1:"1";s:14:"profile_fields";s:1:"1";s:7:"smilies";s:1:"1";s:8:"badwords";s:1:"1";s:6:"mycode";s:1:"1";s:9:"languages";s:1:"1";s:10:"post_icons";s:1:"1";s:14:"help_documents";s:1:"1";s:7:"plugins";s:1:"1";s:16:"attachment_types";s:1:"1";s:9:"mod_tools";s:1:"1";s:7:"spiders";s:1:"1";s:9:"calendars";s:1:"1";s:7:"warning";s:1:"1";s:15:"thread_prefixes";s:1:"1";s:9:"questions";s:1:"1";s:14:"report_reasons";s:1:"1";}s:5:"forum";a:5:{s:3:"tab";s:1:"1";s:10:"management";s:1:"1";s:13:"announcements";s:1:"1";s:16:"moderation_queue";s:1:"1";s:11:"attachments";s:1:"1";}s:5:"style";a:3:{s:3:"tab";s:1:"1";s:6:"themes";s:1:"1";s:9:"templates";s:1:"1";}s:5:"tools";a:16:{s:3:"tab";s:1:"1";s:13:"system_health";s:1:"1";s:5:"cache";s:1:"1";s:5:"tasks";s:1:"1";s:8:"backupdb";s:1:"1";s:10:"optimizedb";s:1:"1";s:15:"recount_rebuild";s:1:"1";s:8:"php_info";s:1:"1";s:8:"adminlog";s:1:"1";s:6:"modlog";s:1:"1";s:7:"spamlog";s:1:"1";s:8:"maillogs";s:1:"1";s:10:"mailerrors";s:1:"1";s:10:"warninglog";s:1:"1";s:10:"statistics";s:1:"1";s:17:"file_verification";s:1:"1";}s:4:"user";a:9:{s:3:"tab";s:1:"1";s:5:"users";s:1:"1";s:19:"awaiting_activation";s:1:"1";s:6:"groups";s:1:"1";s:6:"titles";s:1:"1";s:7:"banning";s:1:"1";s:17:"admin_permissions";s:1:"1";s:9:"mass_mail";s:1:"1";s:16:"group_promotions";s:1:"1";}}', 'a:1:{s:4:"user";s:1:"1";}', 0, 0, '', '');

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]adminsessions`
--

CREATE TABLE `[[dbprefix]]adminsessions` (
  `sid` varchar(32) NOT NULL DEFAULT '',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `loginkey` varchar(50) NOT NULL DEFAULT '',
  `ip` varbinary(16) NOT NULL DEFAULT '',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `lastactive` int(10) unsigned NOT NULL DEFAULT '0',
  `data` text NOT NULL,
  `useragent` varchar(200) NOT NULL DEFAULT '',
  `authenticated` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]adminviews`
--

CREATE TABLE `[[dbprefix]]adminviews` (
  `vid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `title` varchar(100) NOT NULL DEFAULT '',
  `type` varchar(6) NOT NULL DEFAULT '',
  `visibility` tinyint(1) NOT NULL DEFAULT '0',
  `fields` text NOT NULL,
  `conditions` text NOT NULL,
  `custom_profile_fields` text NOT NULL,
  `sortby` varchar(20) NOT NULL DEFAULT '',
  `sortorder` varchar(4) NOT NULL DEFAULT '',
  `perpage` smallint(4) unsigned NOT NULL DEFAULT '0',
  `view_type` varchar(6) NOT NULL DEFAULT '',
  PRIMARY KEY (`vid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `[[dbprefix]]adminviews`
--

INSERT INTO `[[dbprefix]]adminviews` VALUES
(1, 0, 'All Users', 'user', 2, 'a:7:{i:0;s:6:"avatar";i:1;s:8:"username";i:2;s:5:"email";i:3;s:7:"regdate";i:4;s:10:"lastactive";i:5;s:7:"postnum";i:6;s:8:"controls";}', 'a:0:{}', 'a:0:{}', 'username', 'asc', 20, 'card');

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]announcements`
--

CREATE TABLE `[[dbprefix]]announcements` (
  `aid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `fid` int(11) NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(120) NOT NULL DEFAULT '',
  `message` text NOT NULL,
  `startdate` int(10) unsigned NOT NULL DEFAULT '0',
  `enddate` int(10) unsigned NOT NULL DEFAULT '0',
  `allowhtml` tinyint(1) NOT NULL DEFAULT '0',
  `allowmycode` tinyint(1) NOT NULL DEFAULT '0',
  `allowsmilies` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`aid`),
  KEY `fid` (`fid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]attachments`
--

CREATE TABLE `[[dbprefix]]attachments` (
  `aid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pid` int(10) unsigned NOT NULL DEFAULT '0',
  `posthash` varchar(50) NOT NULL DEFAULT '',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `filename` varchar(255) NOT NULL DEFAULT '',
  `filetype` varchar(120) NOT NULL DEFAULT '',
  `filesize` int(10) unsigned NOT NULL DEFAULT '0',
  `attachname` varchar(255) NOT NULL DEFAULT '',
  `downloads` int(10) unsigned NOT NULL DEFAULT '0',
  `dateuploaded` int(10) unsigned NOT NULL DEFAULT '0',
  `visible` tinyint(1) NOT NULL DEFAULT '0',
  `thumbnail` varchar(120) NOT NULL DEFAULT '',
  PRIMARY KEY (`aid`),
  KEY `pid` (`pid`,`visible`),
  KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]attachtypes`
--

CREATE TABLE `[[dbprefix]]attachtypes` (
  `atid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(120) NOT NULL DEFAULT '',
  `mimetype` varchar(120) NOT NULL DEFAULT '',
  `extension` varchar(10) NOT NULL DEFAULT '',
  `maxsize` int(15) unsigned NOT NULL DEFAULT '0',
  `icon` varchar(100) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL DEFAULT '1',
  `forcedownload` tinyint(1) NOT NULL DEFAULT '0',
  `groups` text NOT NULL,
  `forums` text NOT NULL,
  `avatarfile` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`atid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=22 ;

--
-- Dumping data for table `[[dbprefix]]attachtypes`
--

INSERT INTO `[[dbprefix]]attachtypes` VALUES
(1, 'ZIP File', 'application/zip', 'zip', 1024, 'images/attachtypes/zip.png', 1, 0, '-1', '-1', 0),
(2, 'JPG Image', 'image/jpeg', 'jpg', 500, 'images/attachtypes/image.png', 1, 0, '-1', '-1', 1),
(3, 'Text Document', 'text/plain', 'txt', 200, 'images/attachtypes/txt.png', 1, 0, '-1', '-1', 0),
(4, 'GIF Image', 'image/gif', 'gif', 500, 'images/attachtypes/image.png', 1, 0, '-1', '-1', 1),
(5, 'Adobe Photoshop File', 'application/x-photoshop', 'psd', 1024, 'images/attachtypes/psd.png', 1, 0, '-1', '-1', 0),
(6, 'PHP File', 'application/x-httpd-php', 'php', 500, 'images/attachtypes/php.png', 1, 0, '-1', '-1', 0),
(7, 'PNG Image', 'image/png', 'png', 500, 'images/attachtypes/image.png', 1, 0, '-1', '-1', 1),
(8, 'Microsoft Word Document', 'application/msword', 'doc', 1024, 'images/attachtypes/doc.png', 1, 0, '-1', '-1', 0),
(9, 'HTM File', 'text/html', 'htm', 100, 'images/attachtypes/html.png', 1, 0, '-1', '-1', 0),
(10, 'HTML File', 'text/html', 'html', 100, 'images/attachtypes/html.png', 1, 0, '-1', '-1', 0),
(11, 'JPEG Image', 'image/jpeg', 'jpeg', 500, 'images/attachtypes/image.png', 1, 0, '-1', '-1', 1),
(12, 'GZIP Compressed File', 'application/x-gzip', 'gz', 1024, 'images/attachtypes/tar.png', 1, 0, '-1', '-1', 0),
(13, 'TAR Compressed File', 'application/x-tar', 'tar', 1024, 'images/attachtypes/tar.png', 1, 0, '-1', '-1', 0),
(14, 'CSS Stylesheet', 'text/css', 'css', 100, 'images/attachtypes/css.png', 1, 0, '-1', '-1', 0),
(15, 'Adobe Acrobat PDF', 'application/pdf', 'pdf', 2048, 'images/attachtypes/pdf.png', 1, 0, '-1', '-1', 0),
(16, 'Bitmap Image', 'image/bmp', 'bmp', 500, 'images/attachtypes/image.png', 1, 0, '-1', '-1', 0),
(17, 'Microsoft Word 2007 Document', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'docx', 1024, 'images/attachtypes/doc.png', 1, 0, '-1', '-1', 0),
(18, 'Microsoft Excel Document', 'application/vnd.ms-excel', 'xls', 1024, 'images/attachtypes/xls.png', 1, 0, '-1', '-1', 0),
(19, 'Microsoft Excel 2007 Document', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlsx', 1024, 'images/attachtypes/xls.png', 1, 0, '-1', '-1', 0),
(20, 'Microsoft PowerPoint Document', 'application/vnd.ms-powerpoint', 'ppt', 1024, 'images/attachtypes/ppt.png', 1, 0, '-1', '-1', 0),
(21, 'Microsoft PowerPoint 2007 Document', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'pptx', 1024, 'images/attachtypes/ppt.png', 1, 0, '-1', '-1', 0);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]awaitingactivation`
--

CREATE TABLE `[[dbprefix]]awaitingactivation` (
  `aid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `code` varchar(100) NOT NULL DEFAULT '',
  `type` char(1) NOT NULL DEFAULT '',
  `validated` tinyint(1) NOT NULL DEFAULT '0',
  `misc` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`aid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]badwords`
--

CREATE TABLE `[[dbprefix]]badwords` (
  `bid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `badword` varchar(100) NOT NULL DEFAULT '',
  `regex` tinyint(1) NOT NULL DEFAULT '0',
  `replacement` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`bid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]banfilters`
--

CREATE TABLE `[[dbprefix]]banfilters` (
  `fid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `filter` varchar(200) NOT NULL DEFAULT '',
  `type` tinyint(1) NOT NULL DEFAULT '0',
  `lastuse` int(10) unsigned NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`fid`),
  KEY `type` (`type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]banned`
--

CREATE TABLE `[[dbprefix]]banned` (
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `gid` int(10) unsigned NOT NULL DEFAULT '0',
  `oldgroup` int(10) unsigned NOT NULL DEFAULT '0',
  `oldadditionalgroups` text NOT NULL,
  `olddisplaygroup` int(10) unsigned NOT NULL DEFAULT '0',
  `admin` int(10) unsigned NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `bantime` varchar(50) NOT NULL DEFAULT '',
  `lifted` int(10) unsigned NOT NULL DEFAULT '0',
  `reason` varchar(255) NOT NULL DEFAULT '',
  KEY `uid` (`uid`),
  KEY `dateline` (`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]buddyrequests`
--

CREATE TABLE `[[dbprefix]]buddyrequests` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `touid` int(10) unsigned NOT NULL DEFAULT '0',
  `date` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `uid` (`uid`),
  KEY `touid` (`touid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]calendarpermissions`
--

CREATE TABLE `[[dbprefix]]calendarpermissions` (
  `cid` int(10) unsigned NOT NULL DEFAULT '0',
  `gid` int(10) unsigned NOT NULL DEFAULT '0',
  `canviewcalendar` tinyint(1) NOT NULL DEFAULT '0',
  `canaddevents` tinyint(1) NOT NULL DEFAULT '0',
  `canbypasseventmod` tinyint(1) NOT NULL DEFAULT '0',
  `canmoderateevents` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]calendars`
--

CREATE TABLE `[[dbprefix]]calendars` (
  `cid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL DEFAULT '',
  `disporder` smallint(5) unsigned NOT NULL DEFAULT '0',
  `startofweek` tinyint(1) NOT NULL DEFAULT '0',
  `showbirthdays` tinyint(1) NOT NULL DEFAULT '0',
  `eventlimit` smallint(3) unsigned NOT NULL DEFAULT '0',
  `moderation` tinyint(1) NOT NULL DEFAULT '0',
  `allowhtml` tinyint(1) NOT NULL DEFAULT '0',
  `allowmycode` tinyint(1) NOT NULL DEFAULT '0',
  `allowimgcode` tinyint(1) NOT NULL DEFAULT '0',
  `allowvideocode` tinyint(1) NOT NULL DEFAULT '0',
  `allowsmilies` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`cid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `[[dbprefix]]calendars`
--

INSERT INTO `[[dbprefix]]calendars` VALUES
(1, 'Default Calendar', 1, 0, 1, 4, 0, 0, 1, 1, 1, 1);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]captcha`
--

CREATE TABLE `[[dbprefix]]captcha` (
  `imagehash` varchar(32) NOT NULL DEFAULT '',
  `imagestring` varchar(8) NOT NULL DEFAULT '',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `used` tinyint(1) NOT NULL DEFAULT '0',
  KEY `imagehash` (`imagehash`),
  KEY `dateline` (`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]datacache`
--

CREATE TABLE `[[dbprefix]]datacache` (
  `title` varchar(50) NOT NULL DEFAULT '',
  `cache` mediumtext NOT NULL,
  PRIMARY KEY (`title`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `[[dbprefix]]datacache`
--

INSERT INTO `[[dbprefix]]datacache` VALUES
('default_theme', 'a:4:{s:4:"name";s:7:"Default";s:3:"tid";s:1:"2";s:10:"properties";s:1039:"a:9:{s:11:"templateset";i:1;s:9:"inherited";a:6:{s:6:"imgdir";i:1;s:4:"logo";i:1;s:10:"tablespace";i:1;s:11:"borderwidth";i:1;s:11:"editortheme";i:1;s:9:"disporder";i:1;}s:6:"imgdir";s:6:"images";s:4:"logo";s:15:"images/logo.png";s:10:"tablespace";s:1:"5";s:11:"borderwidth";s:1:"0";s:11:"editortheme";s:8:"mybb.css";s:9:"disporder";a:17:{s:10:"global.css";i:1;s:10:"usercp.css";i:2;s:9:"modcp.css";i:3;s:16:"star_ratings.css";i:4;s:14:"showthread.css";i:5;s:17:"thread_status.css";i:6;s:8:"css3.css";i:7;s:15:"color_black.css";i:8;s:14:"color_calm.css";i:9;s:14:"color_dawn.css";i:10;s:15:"color_earth.css";i:11;s:15:"color_flame.css";i:12;s:14:"color_leaf.css";i:13;s:15:"color_night.css";i:14;s:13:"color_sun.css";i:15;s:18:"color_twilight.css";i:16;s:15:"color_water.css";i:17;}s:6:"colors";a:10:{s:5:"black";s:5:"Black";s:4:"calm";s:4:"Calm";s:4:"dawn";s:4:"Dawn";s:5:"earth";s:5:"Earth";s:5:"flame";s:5:"Flame";s:4:"leaf";s:4:"Leaf";s:5:"night";s:5:"Night";s:3:"sun";s:3:"Sun";s:8:"twilight";s:8:"Twilight";s:5:"water";s:5:"Water";}}";s:11:"stylesheets";s:2385:"a:18:{s:6:"global";a:1:{s:6:"global";a:2:{i:0;s:30:"cache/themes/theme1/global.css";i:1;s:28:"cache/themes/theme1/css3.css";}}s:9:"inherited";a:7:{s:13:"global_global";a:2:{s:30:"cache/themes/theme1/global.css";i:1;s:28:"cache/themes/theme1/css3.css";i:1;}s:17:"usercp.php_global";a:2:{s:30:"cache/themes/theme1/usercp.css";i:1;s:37:"cache/themes/theme1/thread_status.css";i:1;}s:18:"private.php_global";a:1:{s:30:"cache/themes/theme1/usercp.css";i:1;}s:16:"modcp.php_global";a:1:{s:29:"cache/themes/theme1/modcp.css";i:1;}s:23:"forumdisplay.php_global";a:2:{s:36:"cache/themes/theme1/star_ratings.css";i:1;s:37:"cache/themes/theme1/thread_status.css";i:1;}s:21:"showthread.php_global";a:2:{s:36:"cache/themes/theme1/star_ratings.css";i:1;s:34:"cache/themes/theme1/showthread.css";i:1;}s:17:"search.php_global";a:1:{s:37:"cache/themes/theme1/thread_status.css";i:1;}}s:10:"usercp.php";a:1:{s:6:"global";a:2:{i:0;s:30:"cache/themes/theme1/usercp.css";i:1;s:37:"cache/themes/theme1/thread_status.css";}}s:11:"private.php";a:1:{s:6:"global";a:1:{i:0;s:30:"cache/themes/theme1/usercp.css";}}s:9:"modcp.php";a:1:{s:6:"global";a:1:{i:0;s:29:"cache/themes/theme1/modcp.css";}}s:16:"forumdisplay.php";a:1:{s:6:"global";a:2:{i:0;s:36:"cache/themes/theme1/star_ratings.css";i:1;s:37:"cache/themes/theme1/thread_status.css";}}s:14:"showthread.php";a:1:{s:6:"global";a:2:{i:0;s:36:"cache/themes/theme1/star_ratings.css";i:1;s:34:"cache/themes/theme1/showthread.css";}}s:10:"search.php";a:1:{s:6:"global";a:1:{i:0;s:37:"cache/themes/theme1/thread_status.css";}}s:5:"black";a:1:{s:6:"global";a:1:{i:0;s:35:"cache/themes/theme2/color_black.css";}}s:4:"calm";a:1:{s:6:"global";a:1:{i:0;s:34:"cache/themes/theme2/color_calm.css";}}s:4:"dawn";a:1:{s:6:"global";a:1:{i:0;s:34:"cache/themes/theme2/color_dawn.css";}}s:5:"earth";a:1:{s:6:"global";a:1:{i:0;s:35:"cache/themes/theme2/color_earth.css";}}s:5:"flame";a:1:{s:6:"global";a:1:{i:0;s:35:"cache/themes/theme2/color_flame.css";}}s:4:"leaf";a:1:{s:6:"global";a:1:{i:0;s:34:"cache/themes/theme2/color_leaf.css";}}s:5:"night";a:1:{s:6:"global";a:1:{i:0;s:35:"cache/themes/theme2/color_night.css";}}s:3:"sun";a:1:{s:6:"global";a:1:{i:0;s:33:"cache/themes/theme2/color_sun.css";}}s:8:"twilight";a:1:{s:6:"global";a:1:{i:0;s:38:"cache/themes/theme2/color_twilight.css";}}s:5:"water";a:1:{s:6:"global";a:1:{i:0;s:35:"cache/themes/theme2/color_water.css";}}}";}'),
('version', 'a:2:{s:7:"version";s:6:"1.8.38";s:12:"version_code";i:1838;}'),
('attachtypes', 'a:21:{s:3:"zip";a:11:{s:4:"atid";s:1:"1";s:4:"name";s:8:"ZIP File";s:8:"mimetype";s:15:"application/zip";s:9:"extension";s:3:"zip";s:7:"maxsize";s:4:"1024";s:4:"icon";s:26:"images/attachtypes/zip.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:3:"jpg";a:11:{s:4:"atid";s:1:"2";s:4:"name";s:9:"JPG Image";s:8:"mimetype";s:10:"image/jpeg";s:9:"extension";s:3:"jpg";s:7:"maxsize";s:3:"500";s:4:"icon";s:28:"images/attachtypes/image.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"1";}s:3:"txt";a:11:{s:4:"atid";s:1:"3";s:4:"name";s:13:"Text Document";s:8:"mimetype";s:10:"text/plain";s:9:"extension";s:3:"txt";s:7:"maxsize";s:3:"200";s:4:"icon";s:26:"images/attachtypes/txt.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:3:"gif";a:11:{s:4:"atid";s:1:"4";s:4:"name";s:9:"GIF Image";s:8:"mimetype";s:9:"image/gif";s:9:"extension";s:3:"gif";s:7:"maxsize";s:3:"500";s:4:"icon";s:28:"images/attachtypes/image.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"1";}s:3:"psd";a:11:{s:4:"atid";s:1:"5";s:4:"name";s:20:"Adobe Photoshop File";s:8:"mimetype";s:23:"application/x-photoshop";s:9:"extension";s:3:"psd";s:7:"maxsize";s:4:"1024";s:4:"icon";s:26:"images/attachtypes/psd.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:3:"php";a:11:{s:4:"atid";s:1:"6";s:4:"name";s:8:"PHP File";s:8:"mimetype";s:23:"application/x-httpd-php";s:9:"extension";s:3:"php";s:7:"maxsize";s:3:"500";s:4:"icon";s:26:"images/attachtypes/php.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:3:"png";a:11:{s:4:"atid";s:1:"7";s:4:"name";s:9:"PNG Image";s:8:"mimetype";s:9:"image/png";s:9:"extension";s:3:"png";s:7:"maxsize";s:3:"500";s:4:"icon";s:28:"images/attachtypes/image.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"1";}s:3:"doc";a:11:{s:4:"atid";s:1:"8";s:4:"name";s:23:"Microsoft Word Document";s:8:"mimetype";s:18:"application/msword";s:9:"extension";s:3:"doc";s:7:"maxsize";s:4:"1024";s:4:"icon";s:26:"images/attachtypes/doc.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:3:"htm";a:11:{s:4:"atid";s:1:"9";s:4:"name";s:8:"HTM File";s:8:"mimetype";s:9:"text/html";s:9:"extension";s:3:"htm";s:7:"maxsize";s:3:"100";s:4:"icon";s:27:"images/attachtypes/html.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:4:"html";a:11:{s:4:"atid";s:2:"10";s:4:"name";s:9:"HTML File";s:8:"mimetype";s:9:"text/html";s:9:"extension";s:4:"html";s:7:"maxsize";s:3:"100";s:4:"icon";s:27:"images/attachtypes/html.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:4:"jpeg";a:11:{s:4:"atid";s:2:"11";s:4:"name";s:10:"JPEG Image";s:8:"mimetype";s:10:"image/jpeg";s:9:"extension";s:4:"jpeg";s:7:"maxsize";s:3:"500";s:4:"icon";s:28:"images/attachtypes/image.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"1";}s:2:"gz";a:11:{s:4:"atid";s:2:"12";s:4:"name";s:20:"GZIP Compressed File";s:8:"mimetype";s:18:"application/x-gzip";s:9:"extension";s:2:"gz";s:7:"maxsize";s:4:"1024";s:4:"icon";s:26:"images/attachtypes/tar.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:3:"tar";a:11:{s:4:"atid";s:2:"13";s:4:"name";s:19:"TAR Compressed File";s:8:"mimetype";s:17:"application/x-tar";s:9:"extension";s:3:"tar";s:7:"maxsize";s:4:"1024";s:4:"icon";s:26:"images/attachtypes/tar.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:3:"css";a:11:{s:4:"atid";s:2:"14";s:4:"name";s:14:"CSS Stylesheet";s:8:"mimetype";s:8:"text/css";s:9:"extension";s:3:"css";s:7:"maxsize";s:3:"100";s:4:"icon";s:26:"images/attachtypes/css.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:3:"pdf";a:11:{s:4:"atid";s:2:"15";s:4:"name";s:17:"Adobe Acrobat PDF";s:8:"mimetype";s:15:"application/pdf";s:9:"extension";s:3:"pdf";s:7:"maxsize";s:4:"2048";s:4:"icon";s:26:"images/attachtypes/pdf.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:3:"bmp";a:11:{s:4:"atid";s:2:"16";s:4:"name";s:12:"Bitmap Image";s:8:"mimetype";s:9:"image/bmp";s:9:"extension";s:3:"bmp";s:7:"maxsize";s:3:"500";s:4:"icon";s:28:"images/attachtypes/image.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:4:"docx";a:11:{s:4:"atid";s:2:"17";s:4:"name";s:28:"Microsoft Word 2007 Document";s:8:"mimetype";s:71:"application/vnd.openxmlformats-officedocument.wordprocessingml.document";s:9:"extension";s:4:"docx";s:7:"maxsize";s:4:"1024";s:4:"icon";s:26:"images/attachtypes/doc.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:3:"xls";a:11:{s:4:"atid";s:2:"18";s:4:"name";s:24:"Microsoft Excel Document";s:8:"mimetype";s:24:"application/vnd.ms-excel";s:9:"extension";s:3:"xls";s:7:"maxsize";s:4:"1024";s:4:"icon";s:26:"images/attachtypes/xls.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:4:"xlsx";a:11:{s:4:"atid";s:2:"19";s:4:"name";s:29:"Microsoft Excel 2007 Document";s:8:"mimetype";s:65:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";s:9:"extension";s:4:"xlsx";s:7:"maxsize";s:4:"1024";s:4:"icon";s:26:"images/attachtypes/xls.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:3:"ppt";a:11:{s:4:"atid";s:2:"20";s:4:"name";s:29:"Microsoft PowerPoint Document";s:8:"mimetype";s:29:"application/vnd.ms-powerpoint";s:9:"extension";s:3:"ppt";s:7:"maxsize";s:4:"1024";s:4:"icon";s:26:"images/attachtypes/ppt.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}s:4:"pptx";a:11:{s:4:"atid";s:2:"21";s:4:"name";s:34:"Microsoft PowerPoint 2007 Document";s:8:"mimetype";s:73:"application/vnd.openxmlformats-officedocument.presentationml.presentation";s:9:"extension";s:4:"pptx";s:7:"maxsize";s:4:"1024";s:4:"icon";s:26:"images/attachtypes/ppt.png";s:7:"enabled";s:1:"1";s:13:"forcedownload";s:1:"0";s:6:"groups";s:2:"-1";s:6:"forums";s:2:"-1";s:10:"avatarfile";s:1:"0";}}'),
('smilies', 'a:24:{i:1;a:6:{s:3:"sid";s:1:"1";s:4:"name";s:5:"Smile";s:4:"find";s:2:":)";s:5:"image";s:24:"images/smilies/smile.png";s:9:"disporder";s:1:"1";s:13:"showclickable";s:1:"1";}i:2;a:6:{s:3:"sid";s:1:"2";s:4:"name";s:4:"Wink";s:4:"find";s:2:";)";s:5:"image";s:23:"images/smilies/wink.png";s:9:"disporder";s:1:"2";s:13:"showclickable";s:1:"1";}i:3;a:6:{s:3:"sid";s:1:"3";s:4:"name";s:4:"Cool";s:4:"find";s:6:":cool:";s:5:"image";s:23:"images/smilies/cool.png";s:9:"disporder";s:1:"3";s:13:"showclickable";s:1:"1";}i:4;a:6:{s:3:"sid";s:1:"4";s:4:"name";s:8:"Big Grin";s:4:"find";s:2:":D";s:5:"image";s:26:"images/smilies/biggrin.png";s:9:"disporder";s:1:"4";s:13:"showclickable";s:1:"1";}i:5;a:6:{s:3:"sid";s:1:"5";s:4:"name";s:6:"Tongue";s:4:"find";s:2:":P";s:5:"image";s:25:"images/smilies/tongue.png";s:9:"disporder";s:1:"5";s:13:"showclickable";s:1:"1";}i:6;a:6:{s:3:"sid";s:1:"6";s:4:"name";s:8:"Rolleyes";s:4:"find";s:10:":rolleyes:";s:5:"image";s:27:"images/smilies/rolleyes.png";s:9:"disporder";s:1:"6";s:13:"showclickable";s:1:"1";}i:7;a:6:{s:3:"sid";s:1:"7";s:4:"name";s:3:"Shy";s:4:"find";s:5:":shy:";s:5:"image";s:22:"images/smilies/shy.png";s:9:"disporder";s:1:"7";s:13:"showclickable";s:1:"1";}i:8;a:6:{s:3:"sid";s:1:"8";s:4:"name";s:3:"Sad";s:4:"find";s:2:":(";s:5:"image";s:22:"images/smilies/sad.png";s:9:"disporder";s:1:"8";s:13:"showclickable";s:1:"1";}i:9;a:6:{s:3:"sid";s:1:"9";s:4:"name";s:2:"At";s:4:"find";s:4:":at:";s:5:"image";s:21:"images/smilies/at.png";s:9:"disporder";s:1:"9";s:13:"showclickable";s:1:"1";}i:10;a:6:{s:3:"sid";s:2:"10";s:4:"name";s:5:"Angel";s:4:"find";s:7:":angel:";s:5:"image";s:24:"images/smilies/angel.png";s:9:"disporder";s:2:"10";s:13:"showclickable";s:1:"1";}i:11;a:6:{s:3:"sid";s:2:"11";s:4:"name";s:5:"Angry";s:4:"find";s:2:":@";s:5:"image";s:24:"images/smilies/angry.png";s:9:"disporder";s:2:"11";s:13:"showclickable";s:1:"1";}i:12;a:6:{s:3:"sid";s:2:"12";s:4:"name";s:5:"Blush";s:4:"find";s:7:":blush:";s:5:"image";s:24:"images/smilies/blush.png";s:9:"disporder";s:2:"12";s:13:"showclickable";s:1:"1";}i:13;a:6:{s:3:"sid";s:2:"13";s:4:"name";s:8:"Confused";s:4:"find";s:2:":s";s:5:"image";s:27:"images/smilies/confused.png";s:9:"disporder";s:2:"13";s:13:"showclickable";s:1:"1";}i:14;a:6:{s:3:"sid";s:2:"14";s:4:"name";s:5:"Dodgy";s:4:"find";s:7:":dodgy:";s:5:"image";s:24:"images/smilies/dodgy.png";s:9:"disporder";s:2:"14";s:13:"showclickable";s:1:"1";}i:15;a:6:{s:3:"sid";s:2:"15";s:4:"name";s:11:"Exclamation";s:4:"find";s:13:":exclamation:";s:5:"image";s:30:"images/smilies/exclamation.png";s:9:"disporder";s:2:"15";s:13:"showclickable";s:1:"1";}i:16;a:6:{s:3:"sid";s:2:"16";s:4:"name";s:5:"Heart";s:4:"find";s:7:":heart:";s:5:"image";s:24:"images/smilies/heart.png";s:9:"disporder";s:2:"16";s:13:"showclickable";s:1:"1";}i:17;a:6:{s:3:"sid";s:2:"17";s:4:"name";s:3:"Huh";s:4:"find";s:5:":huh:";s:5:"image";s:22:"images/smilies/huh.png";s:9:"disporder";s:2:"17";s:13:"showclickable";s:1:"1";}i:18;a:6:{s:3:"sid";s:2:"18";s:4:"name";s:4:"Idea";s:4:"find";s:6:":idea:";s:5:"image";s:28:"images/smilies/lightbulb.png";s:9:"disporder";s:2:"18";s:13:"showclickable";s:1:"1";}i:19;a:6:{s:3:"sid";s:2:"19";s:4:"name";s:6:"Sleepy";s:4:"find";s:8:":sleepy:";s:5:"image";s:25:"images/smilies/sleepy.png";s:9:"disporder";s:2:"19";s:13:"showclickable";s:1:"1";}i:20;a:6:{s:3:"sid";s:2:"20";s:4:"name";s:9:"Undecided";s:4:"find";s:3:":-/";s:5:"image";s:28:"images/smilies/undecided.png";s:9:"disporder";s:2:"20";s:13:"showclickable";s:1:"1";}i:21;a:6:{s:3:"sid";s:2:"21";s:4:"name";s:3:"Cry";s:4:"find";s:5:":cry:";s:5:"image";s:22:"images/smilies/cry.png";s:9:"disporder";s:2:"21";s:13:"showclickable";s:1:"1";}i:22;a:6:{s:3:"sid";s:2:"22";s:4:"name";s:4:"Sick";s:4:"find";s:6:":sick:";s:5:"image";s:23:"images/smilies/sick.png";s:9:"disporder";s:2:"22";s:13:"showclickable";s:1:"1";}i:23;a:6:{s:3:"sid";s:2:"23";s:4:"name";s:5:"Arrow";s:4:"find";s:7:":arrow:";s:5:"image";s:24:"images/smilies/arrow.png";s:9:"disporder";s:2:"23";s:13:"showclickable";s:1:"1";}i:24;a:6:{s:3:"sid";s:2:"24";s:4:"name";s:2:"My";s:4:"find";s:4:":my:";s:5:"image";s:21:"images/smilies/my.png";s:9:"disporder";s:2:"24";s:13:"showclickable";s:1:"1";}}'),
('badwords', 'a:0:{}'),
('usergroups', 'a:7:{i:1;a:91:{s:3:"gid";s:1:"1";s:4:"type";s:1:"1";s:5:"title";s:6:"Guests";s:11:"description";s:77:"The default group that all visitors are assigned to unless they''re logged in.";s:9:"namestyle";s:10:"{username}";s:9:"usertitle";s:12:"Unregistered";s:5:"stars";s:1:"0";s:9:"starimage";s:0:"";s:5:"image";s:0:"";s:9:"disporder";s:1:"0";s:13:"isbannedgroup";s:1:"0";s:7:"canview";s:1:"1";s:14:"canviewthreads";s:1:"1";s:15:"canviewprofiles";s:1:"1";s:16:"candlattachments";s:1:"0";s:18:"canviewboardclosed";s:1:"0";s:14:"canpostthreads";s:1:"0";s:13:"canpostreplys";s:1:"0";s:18:"canpostattachments";s:1:"0";s:14:"canratethreads";s:1:"0";s:8:"modposts";s:1:"0";s:10:"modthreads";s:1:"0";s:14:"mod_edit_posts";s:1:"0";s:14:"modattachments";s:1:"0";s:12:"caneditposts";s:1:"0";s:14:"candeleteposts";s:1:"0";s:16:"candeletethreads";s:1:"0";s:18:"caneditattachments";s:1:"0";s:21:"canviewdeletionnotice";s:1:"0";s:12:"canpostpolls";s:1:"0";s:12:"canvotepolls";s:1:"0";s:12:"canundovotes";s:1:"0";s:9:"canusepms";s:1:"0";s:10:"cansendpms";s:1:"0";s:11:"cantrackpms";s:1:"0";s:17:"candenypmreceipts";s:1:"0";s:7:"pmquota";s:1:"0";s:15:"maxpmrecipients";s:1:"5";s:12:"cansendemail";s:1:"0";s:20:"cansendemailoverride";s:1:"0";s:9:"maxemails";s:1:"5";s:14:"emailfloodtime";s:1:"5";s:17:"canviewmemberlist";s:1:"1";s:15:"canviewcalendar";s:1:"1";s:12:"canaddevents";s:1:"0";s:17:"canbypasseventmod";s:1:"0";s:17:"canmoderateevents";s:1:"0";s:13:"canviewonline";s:1:"1";s:15:"canviewwolinvis";s:1:"0";s:16:"canviewonlineips";s:1:"0";s:5:"cancp";s:1:"0";s:10:"issupermod";s:1:"0";s:9:"cansearch";s:1:"1";s:9:"canusercp";s:1:"0";s:16:"canuploadavatars";s:1:"0";s:14:"canratemembers";s:1:"0";s:13:"canchangename";s:1:"0";s:13:"canbereported";s:1:"0";s:14:"canbeinvisible";s:1:"1";s:16:"canchangewebsite";s:1:"0";s:13:"showforumteam";s:1:"0";s:19:"usereputationsystem";s:1:"0";s:18:"cangivereputations";s:1:"0";s:20:"candeletereputations";s:1:"0";s:15:"reputationpower";s:1:"0";s:17:"maxreputationsday";s:1:"0";s:21:"maxreputationsperuser";s:1:"0";s:23:"maxreputationsperthread";s:1:"0";s:15:"candisplaygroup";s:1:"1";s:11:"attachquota";s:1:"0";s:14:"cancustomtitle";s:1:"0";s:12:"canwarnusers";s:1:"0";s:18:"canreceivewarnings";s:1:"0";s:14:"maxwarningsday";s:1:"0";s:8:"canmodcp";s:1:"0";s:18:"showinbirthdaylist";s:1:"0";s:13:"canoverridepm";s:1:"0";s:9:"canusesig";s:1:"0";s:15:"canusesigxposts";s:1:"0";s:11:"signofollow";s:1:"0";s:13:"edittimelimit";s:1:"0";s:8:"maxposts";s:1:"0";s:14:"showmemberlist";s:1:"0";s:17:"canmanageannounce";s:1:"0";s:17:"canmanagemodqueue";s:1:"0";s:24:"canmanagereportedcontent";s:1:"0";s:14:"canviewmodlogs";s:1:"0";s:15:"caneditprofiles";s:1:"0";s:11:"canbanusers";s:1:"0";s:15:"canviewwarnlogs";s:1:"0";s:14:"canuseipsearch";s:1:"0";}i:2;a:91:{s:3:"gid";s:1:"2";s:4:"type";s:1:"1";s:5:"title";s:10:"Registered";s:11:"description";s:66:"After registration, all users are placed in this group by default.";s:9:"namestyle";s:10:"{username}";s:9:"usertitle";s:0:"";s:5:"stars";s:1:"0";s:9:"starimage";s:15:"images/star.png";s:5:"image";s:0:"";s:9:"disporder";s:1:"0";s:13:"isbannedgroup";s:1:"0";s:7:"canview";s:1:"1";s:14:"canviewthreads";s:1:"1";s:15:"canviewprofiles";s:1:"1";s:16:"candlattachments";s:1:"1";s:18:"canviewboardclosed";s:1:"0";s:14:"canpostthreads";s:1:"1";s:13:"canpostreplys";s:1:"1";s:18:"canpostattachments";s:1:"1";s:14:"canratethreads";s:1:"1";s:8:"modposts";s:1:"0";s:10:"modthreads";s:1:"0";s:14:"mod_edit_posts";s:1:"0";s:14:"modattachments";s:1:"0";s:12:"caneditposts";s:1:"1";s:14:"candeleteposts";s:1:"1";s:16:"candeletethreads";s:1:"1";s:18:"caneditattachments";s:1:"1";s:21:"canviewdeletionnotice";s:1:"1";s:12:"canpostpolls";s:1:"1";s:12:"canvotepolls";s:1:"1";s:12:"canundovotes";s:1:"0";s:9:"canusepms";s:1:"1";s:10:"cansendpms";s:1:"1";s:11:"cantrackpms";s:1:"1";s:17:"candenypmreceipts";s:1:"1";s:7:"pmquota";s:3:"200";s:15:"maxpmrecipients";s:1:"5";s:12:"cansendemail";s:1:"1";s:20:"cansendemailoverride";s:1:"0";s:9:"maxemails";s:1:"5";s:14:"emailfloodtime";s:1:"5";s:17:"canviewmemberlist";s:1:"1";s:15:"canviewcalendar";s:1:"1";s:12:"canaddevents";s:1:"1";s:17:"canbypasseventmod";s:1:"0";s:17:"canmoderateevents";s:1:"0";s:13:"canviewonline";s:1:"1";s:15:"canviewwolinvis";s:1:"0";s:16:"canviewonlineips";s:1:"0";s:5:"cancp";s:1:"0";s:10:"issupermod";s:1:"0";s:9:"cansearch";s:1:"1";s:9:"canusercp";s:1:"1";s:16:"canuploadavatars";s:1:"1";s:14:"canratemembers";s:1:"1";s:13:"canchangename";s:1:"0";s:13:"canbereported";s:1:"1";s:14:"canbeinvisible";s:1:"1";s:16:"canchangewebsite";s:1:"1";s:13:"showforumteam";s:1:"0";s:19:"usereputationsystem";s:1:"1";s:18:"cangivereputations";s:1:"1";s:20:"candeletereputations";s:1:"1";s:15:"reputationpower";s:1:"1";s:17:"maxreputationsday";s:1:"5";s:21:"maxreputationsperuser";s:1:"0";s:23:"maxreputationsperthread";s:1:"0";s:15:"candisplaygroup";s:1:"1";s:11:"attachquota";s:1:"0";s:14:"cancustomtitle";s:1:"1";s:12:"canwarnusers";s:1:"0";s:18:"canreceivewarnings";s:1:"1";s:14:"maxwarningsday";s:1:"0";s:8:"canmodcp";s:1:"0";s:18:"showinbirthdaylist";s:1:"1";s:13:"canoverridepm";s:1:"0";s:9:"canusesig";s:1:"1";s:15:"canusesigxposts";s:1:"0";s:11:"signofollow";s:1:"0";s:13:"edittimelimit";s:1:"0";s:8:"maxposts";s:1:"0";s:14:"showmemberlist";s:1:"1";s:17:"canmanageannounce";s:1:"0";s:17:"canmanagemodqueue";s:1:"0";s:24:"canmanagereportedcontent";s:1:"0";s:14:"canviewmodlogs";s:1:"0";s:15:"caneditprofiles";s:1:"0";s:11:"canbanusers";s:1:"0";s:15:"canviewwarnlogs";s:1:"0";s:14:"canuseipsearch";s:1:"0";}i:3;a:91:{s:3:"gid";s:1:"3";s:4:"type";s:1:"1";s:5:"title";s:16:"Super Moderators";s:11:"description";s:35:"These users can moderate any forum.";s:9:"namestyle";s:64:"<span style="color: #CC00CC;"><strong>{username}</strong></span>";s:9:"usertitle";s:15:"Super Moderator";s:5:"stars";s:1:"6";s:9:"starimage";s:15:"images/star.png";s:5:"image";s:0:"";s:9:"disporder";s:1:"0";s:13:"isbannedgroup";s:1:"0";s:7:"canview";s:1:"1";s:14:"canviewthreads";s:1:"1";s:15:"canviewprofiles";s:1:"1";s:16:"candlattachments";s:1:"1";s:18:"canviewboardclosed";s:1:"0";s:14:"canpostthreads";s:1:"1";s:13:"canpostreplys";s:1:"1";s:18:"canpostattachments";s:1:"1";s:14:"canratethreads";s:1:"1";s:8:"modposts";s:1:"0";s:10:"modthreads";s:1:"0";s:14:"mod_edit_posts";s:1:"0";s:14:"modattachments";s:1:"0";s:12:"caneditposts";s:1:"1";s:14:"candeleteposts";s:1:"1";s:16:"candeletethreads";s:1:"1";s:18:"caneditattachments";s:1:"1";s:21:"canviewdeletionnotice";s:1:"1";s:12:"canpostpolls";s:1:"1";s:12:"canvotepolls";s:1:"1";s:12:"canundovotes";s:1:"1";s:9:"canusepms";s:1:"1";s:10:"cansendpms";s:1:"1";s:11:"cantrackpms";s:1:"1";s:17:"candenypmreceipts";s:1:"1";s:7:"pmquota";s:3:"250";s:15:"maxpmrecipients";s:1:"5";s:12:"cansendemail";s:1:"1";s:20:"cansendemailoverride";s:1:"0";s:9:"maxemails";s:2:"10";s:14:"emailfloodtime";s:1:"5";s:17:"canviewmemberlist";s:1:"1";s:15:"canviewcalendar";s:1:"1";s:12:"canaddevents";s:1:"1";s:17:"canbypasseventmod";s:1:"1";s:17:"canmoderateevents";s:1:"1";s:13:"canviewonline";s:1:"1";s:15:"canviewwolinvis";s:1:"1";s:16:"canviewonlineips";s:1:"1";s:5:"cancp";s:1:"0";s:10:"issupermod";s:1:"1";s:9:"cansearch";s:1:"1";s:9:"canusercp";s:1:"1";s:16:"canuploadavatars";s:1:"1";s:14:"canratemembers";s:1:"1";s:13:"canchangename";s:1:"1";s:13:"canbereported";s:1:"0";s:14:"canbeinvisible";s:1:"1";s:16:"canchangewebsite";s:1:"1";s:13:"showforumteam";s:1:"1";s:19:"usereputationsystem";s:1:"1";s:18:"cangivereputations";s:1:"1";s:20:"candeletereputations";s:1:"1";s:15:"reputationpower";s:1:"1";s:17:"maxreputationsday";s:2:"10";s:21:"maxreputationsperuser";s:1:"0";s:23:"maxreputationsperthread";s:1:"0";s:15:"candisplaygroup";s:1:"1";s:11:"attachquota";s:1:"0";s:14:"cancustomtitle";s:1:"1";s:12:"canwarnusers";s:1:"1";s:18:"canreceivewarnings";s:1:"1";s:14:"maxwarningsday";s:1:"3";s:8:"canmodcp";s:1:"1";s:18:"showinbirthdaylist";s:1:"1";s:13:"canoverridepm";s:1:"0";s:9:"canusesig";s:1:"1";s:15:"canusesigxposts";s:1:"0";s:11:"signofollow";s:1:"0";s:13:"edittimelimit";s:1:"0";s:8:"maxposts";s:1:"0";s:14:"showmemberlist";s:1:"1";s:17:"canmanageannounce";s:1:"1";s:17:"canmanagemodqueue";s:1:"1";s:24:"canmanagereportedcontent";s:1:"1";s:14:"canviewmodlogs";s:1:"1";s:15:"caneditprofiles";s:1:"1";s:11:"canbanusers";s:1:"1";s:15:"canviewwarnlogs";s:1:"1";s:14:"canuseipsearch";s:1:"1";}i:4;a:91:{s:3:"gid";s:1:"4";s:4:"type";s:1:"1";s:5:"title";s:14:"Administrators";s:11:"description";s:39:"The group all administrators belong to.";s:9:"namestyle";s:71:"<span style="color: green;"><strong><em>{username}</em></strong></span>";s:9:"usertitle";s:13:"Administrator";s:5:"stars";s:1:"7";s:9:"starimage";s:15:"images/star.png";s:5:"image";s:0:"";s:9:"disporder";s:1:"0";s:13:"isbannedgroup";s:1:"0";s:7:"canview";s:1:"1";s:14:"canviewthreads";s:1:"1";s:15:"canviewprofiles";s:1:"1";s:16:"candlattachments";s:1:"1";s:18:"canviewboardclosed";s:1:"1";s:14:"canpostthreads";s:1:"1";s:13:"canpostreplys";s:1:"1";s:18:"canpostattachments";s:1:"1";s:14:"canratethreads";s:1:"1";s:8:"modposts";s:1:"0";s:10:"modthreads";s:1:"0";s:14:"mod_edit_posts";s:1:"0";s:14:"modattachments";s:1:"0";s:12:"caneditposts";s:1:"1";s:14:"candeleteposts";s:1:"1";s:16:"candeletethreads";s:1:"1";s:18:"caneditattachments";s:1:"1";s:21:"canviewdeletionnotice";s:1:"1";s:12:"canpostpolls";s:1:"1";s:12:"canvotepolls";s:1:"1";s:12:"canundovotes";s:1:"1";s:9:"canusepms";s:1:"1";s:10:"cansendpms";s:1:"1";s:11:"cantrackpms";s:1:"1";s:17:"candenypmreceipts";s:1:"1";s:7:"pmquota";s:1:"0";s:15:"maxpmrecipients";s:1:"0";s:12:"cansendemail";s:1:"1";s:20:"cansendemailoverride";s:1:"0";s:9:"maxemails";s:1:"0";s:14:"emailfloodtime";s:1:"0";s:17:"canviewmemberlist";s:1:"1";s:15:"canviewcalendar";s:1:"1";s:12:"canaddevents";s:1:"1";s:17:"canbypasseventmod";s:1:"1";s:17:"canmoderateevents";s:1:"1";s:13:"canviewonline";s:1:"1";s:15:"canviewwolinvis";s:1:"1";s:16:"canviewonlineips";s:1:"1";s:5:"cancp";s:1:"1";s:10:"issupermod";s:1:"1";s:9:"cansearch";s:1:"1";s:9:"canusercp";s:1:"1";s:16:"canuploadavatars";s:1:"1";s:14:"canratemembers";s:1:"1";s:13:"canchangename";s:1:"1";s:13:"canbereported";s:1:"0";s:14:"canbeinvisible";s:1:"1";s:16:"canchangewebsite";s:1:"1";s:13:"showforumteam";s:1:"1";s:19:"usereputationsystem";s:1:"1";s:18:"cangivereputations";s:1:"1";s:20:"candeletereputations";s:1:"1";s:15:"reputationpower";s:1:"2";s:17:"maxreputationsday";s:1:"0";s:21:"maxreputationsperuser";s:1:"0";s:23:"maxreputationsperthread";s:1:"0";s:15:"candisplaygroup";s:1:"1";s:11:"attachquota";s:1:"0";s:14:"cancustomtitle";s:1:"1";s:12:"canwarnusers";s:1:"1";s:18:"canreceivewarnings";s:1:"1";s:14:"maxwarningsday";s:1:"0";s:8:"canmodcp";s:1:"1";s:18:"showinbirthdaylist";s:1:"1";s:13:"canoverridepm";s:1:"0";s:9:"canusesig";s:1:"1";s:15:"canusesigxposts";s:1:"0";s:11:"signofollow";s:1:"0";s:13:"edittimelimit";s:1:"0";s:8:"maxposts";s:1:"0";s:14:"showmemberlist";s:1:"1";s:17:"canmanageannounce";s:1:"1";s:17:"canmanagemodqueue";s:1:"1";s:24:"canmanagereportedcontent";s:1:"1";s:14:"canviewmodlogs";s:1:"1";s:15:"caneditprofiles";s:1:"1";s:11:"canbanusers";s:1:"1";s:15:"canviewwarnlogs";s:1:"1";s:14:"canuseipsearch";s:1:"1";}i:5;a:91:{s:3:"gid";s:1:"5";s:4:"type";s:1:"1";s:5:"title";s:19:"Awaiting Activation";s:11:"description";s:84:"Users that have not activated their account by email or manually been activated yet.";s:9:"namestyle";s:10:"{username}";s:9:"usertitle";s:21:"Account not Activated";s:5:"stars";s:1:"0";s:9:"starimage";s:15:"images/star.png";s:5:"image";s:0:"";s:9:"disporder";s:1:"0";s:13:"isbannedgroup";s:1:"0";s:7:"canview";s:1:"1";s:14:"canviewthreads";s:1:"1";s:15:"canviewprofiles";s:1:"1";s:16:"candlattachments";s:1:"0";s:18:"canviewboardclosed";s:1:"0";s:14:"canpostthreads";s:1:"0";s:13:"canpostreplys";s:1:"0";s:18:"canpostattachments";s:1:"0";s:14:"canratethreads";s:1:"0";s:8:"modposts";s:1:"0";s:10:"modthreads";s:1:"0";s:14:"mod_edit_posts";s:1:"0";s:14:"modattachments";s:1:"0";s:12:"caneditposts";s:1:"0";s:14:"candeleteposts";s:1:"0";s:16:"candeletethreads";s:1:"0";s:18:"caneditattachments";s:1:"0";s:21:"canviewdeletionnotice";s:1:"0";s:12:"canpostpolls";s:1:"0";s:12:"canvotepolls";s:1:"0";s:12:"canundovotes";s:1:"0";s:9:"canusepms";s:1:"0";s:10:"cansendpms";s:1:"0";s:11:"cantrackpms";s:1:"0";s:17:"candenypmreceipts";s:1:"0";s:7:"pmquota";s:2:"20";s:15:"maxpmrecipients";s:1:"5";s:12:"cansendemail";s:1:"0";s:20:"cansendemailoverride";s:1:"0";s:9:"maxemails";s:1:"5";s:14:"emailfloodtime";s:1:"5";s:17:"canviewmemberlist";s:1:"1";s:15:"canviewcalendar";s:1:"1";s:12:"canaddevents";s:1:"0";s:17:"canbypasseventmod";s:1:"0";s:17:"canmoderateevents";s:1:"0";s:13:"canviewonline";s:1:"1";s:15:"canviewwolinvis";s:1:"0";s:16:"canviewonlineips";s:1:"0";s:5:"cancp";s:1:"0";s:10:"issupermod";s:1:"0";s:9:"cansearch";s:1:"1";s:9:"canusercp";s:1:"1";s:16:"canuploadavatars";s:1:"0";s:14:"canratemembers";s:1:"0";s:13:"canchangename";s:1:"0";s:13:"canbereported";s:1:"1";s:14:"canbeinvisible";s:1:"1";s:16:"canchangewebsite";s:1:"0";s:13:"showforumteam";s:1:"0";s:19:"usereputationsystem";s:1:"0";s:18:"cangivereputations";s:1:"0";s:20:"candeletereputations";s:1:"0";s:15:"reputationpower";s:1:"0";s:17:"maxreputationsday";s:1:"0";s:21:"maxreputationsperuser";s:1:"0";s:23:"maxreputationsperthread";s:1:"0";s:15:"candisplaygroup";s:1:"1";s:11:"attachquota";s:1:"0";s:14:"cancustomtitle";s:1:"0";s:12:"canwarnusers";s:1:"0";s:18:"canreceivewarnings";s:1:"0";s:14:"maxwarningsday";s:1:"0";s:8:"canmodcp";s:1:"0";s:18:"showinbirthdaylist";s:1:"1";s:13:"canoverridepm";s:1:"0";s:9:"canusesig";s:1:"0";s:15:"canusesigxposts";s:1:"0";s:11:"signofollow";s:1:"0";s:13:"edittimelimit";s:1:"0";s:8:"maxposts";s:1:"0";s:14:"showmemberlist";s:1:"1";s:17:"canmanageannounce";s:1:"0";s:17:"canmanagemodqueue";s:1:"0";s:24:"canmanagereportedcontent";s:1:"0";s:14:"canviewmodlogs";s:1:"0";s:15:"caneditprofiles";s:1:"0";s:11:"canbanusers";s:1:"0";s:15:"canviewwarnlogs";s:1:"0";s:14:"canuseipsearch";s:1:"0";}i:6;a:91:{s:3:"gid";s:1:"6";s:4:"type";s:1:"1";s:5:"title";s:10:"Moderators";s:11:"description";s:37:"These users moderate specific forums.";s:9:"namestyle";s:64:"<span style="color: #CC00CC;"><strong>{username}</strong></span>";s:9:"usertitle";s:9:"Moderator";s:5:"stars";s:1:"5";s:9:"starimage";s:15:"images/star.png";s:5:"image";s:0:"";s:9:"disporder";s:1:"0";s:13:"isbannedgroup";s:1:"0";s:7:"canview";s:1:"1";s:14:"canviewthreads";s:1:"1";s:15:"canviewprofiles";s:1:"1";s:16:"candlattachments";s:1:"1";s:18:"canviewboardclosed";s:1:"0";s:14:"canpostthreads";s:1:"1";s:13:"canpostreplys";s:1:"1";s:18:"canpostattachments";s:1:"1";s:14:"canratethreads";s:1:"1";s:8:"modposts";s:1:"0";s:10:"modthreads";s:1:"0";s:14:"mod_edit_posts";s:1:"0";s:14:"modattachments";s:1:"0";s:12:"caneditposts";s:1:"1";s:14:"candeleteposts";s:1:"1";s:16:"candeletethreads";s:1:"1";s:18:"caneditattachments";s:1:"1";s:21:"canviewdeletionnotice";s:1:"1";s:12:"canpostpolls";s:1:"1";s:12:"canvotepolls";s:1:"1";s:12:"canundovotes";s:1:"0";s:9:"canusepms";s:1:"1";s:10:"cansendpms";s:1:"1";s:11:"cantrackpms";s:1:"1";s:17:"candenypmreceipts";s:1:"1";s:7:"pmquota";s:3:"250";s:15:"maxpmrecipients";s:1:"5";s:12:"cansendemail";s:1:"1";s:20:"cansendemailoverride";s:1:"0";s:9:"maxemails";s:1:"5";s:14:"emailfloodtime";s:1:"5";s:17:"canviewmemberlist";s:1:"1";s:15:"canviewcalendar";s:1:"1";s:12:"canaddevents";s:1:"0";s:17:"canbypasseventmod";s:1:"0";s:17:"canmoderateevents";s:1:"0";s:13:"canviewonline";s:1:"1";s:15:"canviewwolinvis";s:1:"0";s:16:"canviewonlineips";s:1:"0";s:5:"cancp";s:1:"0";s:10:"issupermod";s:1:"0";s:9:"cansearch";s:1:"1";s:9:"canusercp";s:1:"1";s:16:"canuploadavatars";s:1:"1";s:14:"canratemembers";s:1:"1";s:13:"canchangename";s:1:"1";s:13:"canbereported";s:1:"0";s:14:"canbeinvisible";s:1:"1";s:16:"canchangewebsite";s:1:"1";s:13:"showforumteam";s:1:"1";s:19:"usereputationsystem";s:1:"1";s:18:"cangivereputations";s:1:"1";s:20:"candeletereputations";s:1:"1";s:15:"reputationpower";s:1:"1";s:17:"maxreputationsday";s:2:"10";s:21:"maxreputationsperuser";s:1:"0";s:23:"maxreputationsperthread";s:1:"0";s:15:"candisplaygroup";s:1:"1";s:11:"attachquota";s:1:"0";s:14:"cancustomtitle";s:1:"1";s:12:"canwarnusers";s:1:"1";s:18:"canreceivewarnings";s:1:"1";s:14:"maxwarningsday";s:1:"3";s:8:"canmodcp";s:1:"1";s:18:"showinbirthdaylist";s:1:"1";s:13:"canoverridepm";s:1:"0";s:9:"canusesig";s:1:"1";s:15:"canusesigxposts";s:1:"0";s:11:"signofollow";s:1:"0";s:13:"edittimelimit";s:1:"0";s:8:"maxposts";s:1:"0";s:14:"showmemberlist";s:1:"1";s:17:"canmanageannounce";s:1:"1";s:17:"canmanagemodqueue";s:1:"1";s:24:"canmanagereportedcontent";s:1:"1";s:14:"canviewmodlogs";s:1:"1";s:15:"caneditprofiles";s:1:"1";s:11:"canbanusers";s:1:"1";s:15:"canviewwarnlogs";s:1:"1";s:14:"canuseipsearch";s:1:"1";}i:7;a:91:{s:3:"gid";s:1:"7";s:4:"type";s:1:"1";s:5:"title";s:6:"Banned";s:11:"description";s:69:"The default user group to which members that are banned are moved to.";s:9:"namestyle";s:17:"<s>{username}</s>";s:9:"usertitle";s:6:"Banned";s:5:"stars";s:1:"0";s:9:"starimage";s:15:"images/star.png";s:5:"image";s:0:"";s:9:"disporder";s:1:"0";s:13:"isbannedgroup";s:1:"1";s:7:"canview";s:1:"0";s:14:"canviewthreads";s:1:"0";s:15:"canviewprofiles";s:1:"0";s:16:"candlattachments";s:1:"0";s:18:"canviewboardclosed";s:1:"0";s:14:"canpostthreads";s:1:"0";s:13:"canpostreplys";s:1:"0";s:18:"canpostattachments";s:1:"0";s:14:"canratethreads";s:1:"0";s:8:"modposts";s:1:"0";s:10:"modthreads";s:1:"0";s:14:"mod_edit_posts";s:1:"0";s:14:"modattachments";s:1:"0";s:12:"caneditposts";s:1:"0";s:14:"candeleteposts";s:1:"0";s:16:"candeletethreads";s:1:"0";s:18:"caneditattachments";s:1:"0";s:21:"canviewdeletionnotice";s:1:"0";s:12:"canpostpolls";s:1:"0";s:12:"canvotepolls";s:1:"0";s:12:"canundovotes";s:1:"0";s:9:"canusepms";s:1:"1";s:10:"cansendpms";s:1:"0";s:11:"cantrackpms";s:1:"0";s:17:"candenypmreceipts";s:1:"0";s:7:"pmquota";s:1:"0";s:15:"maxpmrecipients";s:1:"0";s:12:"cansendemail";s:1:"0";s:20:"cansendemailoverride";s:1:"0";s:9:"maxemails";s:1:"5";s:14:"emailfloodtime";s:1:"5";s:17:"canviewmemberlist";s:1:"0";s:15:"canviewcalendar";s:1:"0";s:12:"canaddevents";s:1:"0";s:17:"canbypasseventmod";s:1:"0";s:17:"canmoderateevents";s:1:"0";s:13:"canviewonline";s:1:"0";s:15:"canviewwolinvis";s:1:"0";s:16:"canviewonlineips";s:1:"0";s:5:"cancp";s:1:"0";s:10:"issupermod";s:1:"0";s:9:"cansearch";s:1:"0";s:9:"canusercp";s:1:"0";s:16:"canuploadavatars";s:1:"0";s:14:"canratemembers";s:1:"0";s:13:"canchangename";s:1:"0";s:13:"canbereported";s:1:"0";s:14:"canbeinvisible";s:1:"1";s:16:"canchangewebsite";s:1:"0";s:13:"showforumteam";s:1:"0";s:19:"usereputationsystem";s:1:"0";s:18:"cangivereputations";s:1:"0";s:20:"candeletereputations";s:1:"0";s:15:"reputationpower";s:1:"0";s:17:"maxreputationsday";s:1:"0";s:21:"maxreputationsperuser";s:1:"0";s:23:"maxreputationsperthread";s:1:"0";s:15:"candisplaygroup";s:1:"1";s:11:"attachquota";s:1:"0";s:14:"cancustomtitle";s:1:"0";s:12:"canwarnusers";s:1:"0";s:18:"canreceivewarnings";s:1:"0";s:14:"maxwarningsday";s:1:"0";s:8:"canmodcp";s:1:"0";s:18:"showinbirthdaylist";s:1:"0";s:13:"canoverridepm";s:1:"0";s:9:"canusesig";s:1:"0";s:15:"canusesigxposts";s:1:"0";s:11:"signofollow";s:1:"0";s:13:"edittimelimit";s:1:"0";s:8:"maxposts";s:1:"0";s:14:"showmemberlist";s:1:"1";s:17:"canmanageannounce";s:1:"0";s:17:"canmanagemodqueue";s:1:"0";s:24:"canmanagereportedcontent";s:1:"0";s:14:"canviewmodlogs";s:1:"0";s:15:"caneditprofiles";s:1:"0";s:11:"canbanusers";s:1:"0";s:15:"canviewwarnlogs";s:1:"0";s:14:"canuseipsearch";s:1:"0";}}'),
('stats', 'a:9:{s:10:"numthreads";s:1:"0";s:20:"numunapprovedthreads";s:1:"0";s:8:"numposts";s:1:"0";s:18:"numunapprovedposts";s:1:"0";s:8:"numusers";s:1:"1";s:15:"numdeletedposts";s:1:"0";s:17:"numdeletedthreads";s:1:"0";s:7:"lastuid";s:1:"1";s:12:"lastusername";[[scr_admin_username]]}'),
('statistics', 'a:4:{s:4:"time";i:[[timestamp]];s:12:"top_referrer";a:0:{}s:10:"top_poster";a:0:{}s:7:"posters";s:1:"0";}'),
('forums', 'a:2:{i:1;a:30:{s:3:"fid";s:1:"1";s:4:"name";s:11:"My Category";s:11:"description";s:0:"";s:6:"linkto";s:0:"";s:4:"type";s:1:"c";s:3:"pid";s:1:"0";s:10:"parentlist";s:1:"1";s:9:"disporder";s:1:"1";s:6:"active";s:1:"1";s:4:"open";s:1:"1";s:9:"allowhtml";s:1:"0";s:11:"allowmycode";s:1:"1";s:12:"allowsmilies";s:1:"1";s:12:"allowimgcode";s:1:"1";s:14:"allowvideocode";s:1:"1";s:11:"allowpicons";s:1:"1";s:13:"allowtratings";s:1:"1";s:13:"usepostcounts";s:1:"1";s:15:"usethreadcounts";s:1:"1";s:13:"requireprefix";s:1:"0";s:8:"password";s:0:"";s:10:"showinjump";s:1:"1";s:5:"style";s:1:"0";s:13:"overridestyle";s:1:"0";s:9:"rulestype";s:1:"0";s:10:"rulestitle";s:0:"";s:5:"rules";s:0:"";s:14:"defaultdatecut";s:1:"0";s:13:"defaultsortby";s:0:"";s:16:"defaultsortorder";s:0:"";}i:2;a:30:{s:3:"fid";s:1:"2";s:4:"name";s:8:"My Forum";s:11:"description";s:0:"";s:6:"linkto";s:0:"";s:4:"type";s:1:"f";s:3:"pid";s:1:"1";s:10:"parentlist";s:3:"1,2";s:9:"disporder";s:1:"1";s:6:"active";s:1:"1";s:4:"open";s:1:"1";s:9:"allowhtml";s:1:"0";s:11:"allowmycode";s:1:"1";s:12:"allowsmilies";s:1:"1";s:12:"allowimgcode";s:1:"1";s:14:"allowvideocode";s:1:"1";s:11:"allowpicons";s:1:"1";s:13:"allowtratings";s:1:"1";s:13:"usepostcounts";s:1:"1";s:15:"usethreadcounts";s:1:"1";s:13:"requireprefix";s:1:"0";s:8:"password";s:0:"";s:10:"showinjump";s:1:"1";s:5:"style";s:1:"0";s:13:"overridestyle";s:1:"0";s:9:"rulestype";s:1:"0";s:10:"rulestitle";s:0:"";s:5:"rules";s:0:"";s:14:"defaultdatecut";s:1:"0";s:13:"defaultsortby";s:0:"";s:16:"defaultsortorder";s:0:"";}}'),
('moderators', 'a:3:{i:0;i:0;i:1;a:0:{}i:2;a:0:{}}'),
('usertitles', 'a:5:{i:0;a:5:{s:4:"utid";s:1:"5";s:5:"posts";s:3:"750";s:5:"title";s:13:"Posting Freak";s:5:"stars";s:1:"5";s:9:"starimage";s:0:"";}i:1;a:5:{s:4:"utid";s:1:"4";s:5:"posts";s:3:"250";s:5:"title";s:13:"Senior Member";s:5:"stars";s:1:"4";s:9:"starimage";s:0:"";}i:2;a:5:{s:4:"utid";s:1:"3";s:5:"posts";s:2:"50";s:5:"title";s:6:"Member";s:5:"stars";s:1:"3";s:9:"starimage";s:0:"";}i:3;a:5:{s:4:"utid";s:1:"2";s:5:"posts";s:1:"1";s:5:"title";s:13:"Junior Member";s:5:"stars";s:1:"2";s:9:"starimage";s:0:"";}i:4;a:5:{s:4:"utid";s:1:"1";s:5:"posts";s:1:"0";s:5:"title";s:6:"Newbie";s:5:"stars";s:1:"1";s:9:"starimage";s:0:"";}}'),
('reportedcontent', 'a:3:{s:6:"unread";s:1:"0";s:5:"total";s:1:"0";s:12:"lastdateline";N;}'),
('awaitingactivation', 'a:2:{s:5:"users";i:0;s:4:"time";i:[[timestamp]];}'),
('mycode', 'a:0:{}'),
('profilefields', 'a:3:{i:0;a:20:{s:3:"fid";s:1:"1";s:4:"name";s:8:"Location";s:11:"description";s:31:"Where in the world do you live?";s:9:"disporder";s:1:"1";s:4:"type";s:4:"text";s:5:"regex";s:0:"";s:6:"length";s:1:"0";s:9:"maxlength";s:3:"255";s:8:"required";s:1:"0";s:12:"registration";s:1:"0";s:7:"profile";s:1:"1";s:7:"postbit";s:1:"0";s:10:"viewableby";s:2:"-1";s:10:"editableby";s:2:"-1";s:7:"postnum";s:1:"0";s:9:"allowhtml";s:1:"0";s:11:"allowmycode";s:1:"0";s:12:"allowsmilies";s:1:"0";s:12:"allowimgcode";s:1:"0";s:14:"allowvideocode";s:1:"0";}i:1;a:20:{s:3:"fid";s:1:"2";s:4:"name";s:3:"Bio";s:11:"description";s:62:"Enter a few short details about yourself, your life story etc.";s:9:"disporder";s:1:"2";s:4:"type";s:8:"textarea";s:5:"regex";s:0:"";s:6:"length";s:1:"0";s:9:"maxlength";s:1:"0";s:8:"required";s:1:"0";s:12:"registration";s:1:"0";s:7:"profile";s:1:"1";s:7:"postbit";s:1:"0";s:10:"viewableby";s:2:"-1";s:10:"editableby";s:2:"-1";s:7:"postnum";s:1:"0";s:9:"allowhtml";s:1:"0";s:11:"allowmycode";s:1:"0";s:12:"allowsmilies";s:1:"0";s:12:"allowimgcode";s:1:"0";s:14:"allowvideocode";s:1:"0";}i:2;a:20:{s:3:"fid";s:1:"3";s:4:"name";s:6:"Gender";s:11:"description";s:46:"Please select your gender from the list below.";s:9:"disporder";s:1:"3";s:4:"type";s:36:"select\nUndisclosed\nMale\nFemale\nOther";s:5:"regex";s:0:"";s:6:"length";s:1:"0";s:9:"maxlength";s:1:"0";s:8:"required";s:1:"0";s:12:"registration";s:1:"0";s:7:"profile";s:1:"1";s:7:"postbit";s:1:"0";s:10:"viewableby";s:2:"-1";s:10:"editableby";s:2:"-1";s:7:"postnum";s:1:"0";s:9:"allowhtml";s:1:"0";s:11:"allowmycode";s:1:"0";s:12:"allowsmilies";s:1:"0";s:12:"allowimgcode";s:1:"0";s:14:"allowvideocode";s:1:"0";}}'),
('posticons', 'a:20:{i:1;a:3:{s:3:"iid";s:1:"1";s:4:"name";s:3:"Bug";s:4:"path";s:20:"images/icons/bug.png";}i:2;a:3:{s:3:"iid";s:1:"2";s:4:"name";s:11:"Exclamation";s:4:"path";s:28:"images/icons/exclamation.png";}i:3;a:3:{s:3:"iid";s:1:"3";s:4:"name";s:8:"Question";s:4:"path";s:25:"images/icons/question.png";}i:4;a:3:{s:3:"iid";s:1:"4";s:4:"name";s:5:"Smile";s:4:"path";s:22:"images/icons/smile.png";}i:5;a:3:{s:3:"iid";s:1:"5";s:4:"name";s:3:"Sad";s:4:"path";s:20:"images/icons/sad.png";}i:6;a:3:{s:3:"iid";s:1:"6";s:4:"name";s:4:"Wink";s:4:"path";s:21:"images/icons/wink.png";}i:7;a:3:{s:3:"iid";s:1:"7";s:4:"name";s:8:"Big Grin";s:4:"path";s:24:"images/icons/biggrin.png";}i:8;a:3:{s:3:"iid";s:1:"8";s:4:"name";s:6:"Tongue";s:4:"path";s:23:"images/icons/tongue.png";}i:9;a:3:{s:3:"iid";s:1:"9";s:4:"name";s:5:"Brick";s:4:"path";s:22:"images/icons/brick.png";}i:10;a:3:{s:3:"iid";s:2:"10";s:4:"name";s:5:"Heart";s:4:"path";s:22:"images/icons/heart.png";}i:11;a:3:{s:3:"iid";s:2:"11";s:4:"name";s:11:"Information";s:4:"path";s:28:"images/icons/information.png";}i:12;a:3:{s:3:"iid";s:2:"12";s:4:"name";s:9:"Lightbulb";s:4:"path";s:26:"images/icons/lightbulb.png";}i:13;a:3:{s:3:"iid";s:2:"13";s:4:"name";s:5:"Music";s:4:"path";s:22:"images/icons/music.png";}i:14;a:3:{s:3:"iid";s:2:"14";s:4:"name";s:5:"Photo";s:4:"path";s:22:"images/icons/photo.png";}i:15;a:3:{s:3:"iid";s:2:"15";s:4:"name";s:7:"Rainbow";s:4:"path";s:24:"images/icons/rainbow.png";}i:16;a:3:{s:3:"iid";s:2:"16";s:4:"name";s:7:"Shocked";s:4:"path";s:24:"images/icons/shocked.png";}i:17;a:3:{s:3:"iid";s:2:"17";s:4:"name";s:4:"Star";s:4:"path";s:21:"images/icons/star.png";}i:18;a:3:{s:3:"iid";s:2:"18";s:4:"name";s:11:"Thumbs Down";s:4:"path";s:27:"images/icons/thumbsdown.png";}i:19;a:3:{s:3:"iid";s:2:"19";s:4:"name";s:9:"Thumbs Up";s:4:"path";s:25:"images/icons/thumbsup.png";}i:20;a:3:{s:3:"iid";s:2:"20";s:4:"name";s:5:"Video";s:4:"path";s:22:"images/icons/video.png";}}'),
('spiders', 'a:15:{i:7;a:4:{s:3:"sid";s:1:"7";s:4:"name";s:8:"Facebook";s:9:"useragent";s:19:"facebookexternalhit";s:9:"usergroup";s:1:"0";}i:13;a:4:{s:3:"sid";s:2:"13";s:4:"name";s:7:"Pingdom";s:9:"useragent";s:15:"Pingdom.com_bot";s:9:"usergroup";s:1:"0";}i:9;a:4:{s:3:"sid";s:1:"9";s:4:"name";s:16:"Internet Archive";s:9:"useragent";s:15:"archive.org_bot";s:9:"usergroup";s:1:"0";}i:15;a:4:{s:3:"sid";s:2:"15";s:4:"name";s:11:"UptimeRobot";s:9:"useragent";s:11:"UptimeRobot";s:9:"usergroup";s:1:"0";}i:14;a:4:{s:3:"sid";s:2:"14";s:4:"name";s:10:"DuckDuckGo";s:9:"useragent";s:11:"DuckDuckBot";s:9:"usergroup";s:1:"0";}i:3;a:4:{s:3:"sid";s:1:"3";s:4:"name";s:14:"Alexa Internet";s:9:"useragent";s:11:"ia_archiver";s:9:"usergroup";s:1:"0";}i:5;a:4:{s:3:"sid";s:1:"5";s:4:"name";s:5:"Baidu";s:9:"useragent";s:11:"Baiduspider";s:9:"usergroup";s:1:"0";}i:10;a:4:{s:3:"sid";s:2:"10";s:4:"name";s:7:"Discord";s:9:"useragent";s:10:"Discordbot";s:9:"usergroup";s:1:"0";}i:8;a:4:{s:3:"sid";s:1:"8";s:4:"name";s:7:"Twitter";s:9:"useragent";s:10:"Twitterbot";s:9:"usergroup";s:1:"0";}i:6;a:4:{s:3:"sid";s:1:"6";s:4:"name";s:6:"Yandex";s:9:"useragent";s:9:"YandexBot";s:9:"usergroup";s:1:"0";}i:12;a:4:{s:3:"sid";s:2:"12";s:4:"name";s:9:"CheckHost";s:9:"useragent";s:9:"CheckHost";s:9:"usergroup";s:1:"0";}i:1;a:4:{s:3:"sid";s:1:"1";s:4:"name";s:6:"Google";s:9:"useragent";s:9:"Googlebot";s:9:"usergroup";s:1:"0";}i:11;a:4:{s:3:"sid";s:2:"11";s:4:"name";s:8:"Applebot";s:9:"useragent";s:8:"Applebot";s:9:"usergroup";s:1:"0";}i:2;a:4:{s:3:"sid";s:1:"2";s:4:"name";s:4:"Bing";s:9:"useragent";s:7:"bingbot";s:9:"usergroup";s:1:"0";}i:4;a:4:{s:3:"sid";s:1:"4";s:4:"name";s:7:"Ask.com";s:9:"useragent";s:5:"Teoma";s:9:"usergroup";s:1:"0";}}'),
('bannedips', 'a:0:{}'),
('bannedemails', 'a:0:{}'),
('birthdays', 'a:0:{}'),
('groupleaders', 'a:0:{}'),
('threadprefixes', 'a:0:{}'),
('forumsdisplay', 'a:0:{}'),
('plugins', 'a:0:{}'),
('mostonline', 'a:2:{s:8:"numusers";i:0;s:4:"time";i:0;}'),
('internal_settings', 'a:1:{s:14:"encryption_key";s:32:"[[enc_key]]";}'),
('reportreasons', 'a:3:{s:4:"post";a:5:{i:0;a:3:{s:3:"rid";s:1:"2";s:5:"title";s:26:"<lang:report_reason_rules>";s:5:"extra";s:1:"0";}i:1;a:3:{s:3:"rid";s:1:"3";s:5:"title";s:24:"<lang:report_reason_bad>";s:5:"extra";s:1:"0";}i:2;a:3:{s:3:"rid";s:1:"4";s:5:"title";s:25:"<lang:report_reason_spam>";s:5:"extra";s:1:"0";}i:3;a:3:{s:3:"rid";s:1:"5";s:5:"title";s:26:"<lang:report_reason_wrong>";s:5:"extra";s:1:"0";}i:4;a:3:{s:3:"rid";s:1:"1";s:5:"title";s:26:"<lang:report_reason_other>";s:5:"extra";s:1:"1";}}s:7:"profile";a:4:{i:0;a:3:{s:3:"rid";s:1:"2";s:5:"title";s:26:"<lang:report_reason_rules>";s:5:"extra";s:1:"0";}i:1;a:3:{s:3:"rid";s:1:"3";s:5:"title";s:24:"<lang:report_reason_bad>";s:5:"extra";s:1:"0";}i:2;a:3:{s:3:"rid";s:1:"4";s:5:"title";s:25:"<lang:report_reason_spam>";s:5:"extra";s:1:"0";}i:3;a:3:{s:3:"rid";s:1:"1";s:5:"title";s:26:"<lang:report_reason_other>";s:5:"extra";s:1:"1";}}s:10:"reputation";a:4:{i:0;a:3:{s:3:"rid";s:1:"2";s:5:"title";s:26:"<lang:report_reason_rules>";s:5:"extra";s:1:"0";}i:1;a:3:{s:3:"rid";s:1:"3";s:5:"title";s:24:"<lang:report_reason_bad>";s:5:"extra";s:1:"0";}i:2;a:3:{s:3:"rid";s:1:"4";s:5:"title";s:25:"<lang:report_reason_spam>";s:5:"extra";s:1:"0";}i:3;a:3:{s:3:"rid";s:1:"1";s:5:"title";s:26:"<lang:report_reason_other>";s:5:"extra";s:1:"1";}}}'),
('version_history', 'a:59:{i:0;s:1:"1";i:1;s:1:"2";i:2;s:1:"3";i:3;s:1:"4";i:4;s:1:"5";i:5;s:1:"6";i:6;s:1:"7";i:7;s:1:"8";i:8;s:1:"9";i:9;s:2:"10";i:10;s:2:"11";i:11;s:2:"12";i:12;s:2:"13";i:13;s:2:"14";i:14;s:2:"15";i:15;s:2:"16";i:16;s:2:"17";i:17;s:2:"18";i:18;s:2:"19";i:19;s:2:"20";i:20;s:2:"21";i:21;s:2:"22";i:22;s:2:"23";i:23;s:2:"24";i:24;s:2:"25";i:25;s:2:"26";i:26;s:2:"27";i:27;s:2:"28";i:28;s:2:"29";i:29;s:2:"30";i:30;s:2:"31";i:31;s:2:"32";i:32;s:2:"33";i:33;s:2:"34";i:34;s:2:"35";i:35;s:2:"36";i:36;s:2:"37";i:37;s:2:"38";i:38;s:2:"39";i:39;s:2:"40";i:40;s:2:"41";i:41;s:2:"42";i:42;s:2:"43";i:43;s:2:"44";i:44;s:2:"45";i:45;s:2:"46";i:46;s:2:"47";i:47;s:2:"48";i:48;s:2:"49";i:49;s:2:"50";i:50;s:2:"51";i:51;s:2:"52";i:52;s:2:"53";i:53;s:2:"54";i:54;s:2:"55";i:55;s:2:"56";i:56;s:2:"57";i:57;s:2:"58";i:58;s:2:"59";}'),
('update_check', 'a:1:{s:8:"dateline";i:[[timestamp]];}'),
('tasks', 'a:1:{s:7:"nextrun";s:10:"[[timestamp]]";}');

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]delayedmoderation`
--

CREATE TABLE `[[dbprefix]]delayedmoderation` (
  `did` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(30) NOT NULL DEFAULT '',
  `delaydateline` int(10) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `fid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `tids` text NOT NULL,
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `inputs` text NOT NULL,
  PRIMARY KEY (`did`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]events`
--

CREATE TABLE `[[dbprefix]]events` (
  `eid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cid` int(10) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `name` varchar(120) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `visible` tinyint(1) NOT NULL DEFAULT '0',
  `private` tinyint(1) NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `starttime` int(10) unsigned NOT NULL DEFAULT '0',
  `endtime` int(10) unsigned NOT NULL DEFAULT '0',
  `timezone` varchar(5) NOT NULL DEFAULT '',
  `ignoretimezone` tinyint(1) NOT NULL DEFAULT '0',
  `usingtime` tinyint(1) NOT NULL DEFAULT '0',
  `repeats` text NOT NULL,
  PRIMARY KEY (`eid`),
  KEY `cid` (`cid`),
  KEY `daterange` (`starttime`,`endtime`),
  KEY `private` (`private`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]forumpermissions`
--

CREATE TABLE `[[dbprefix]]forumpermissions` (
  `pid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `fid` int(10) unsigned NOT NULL DEFAULT '0',
  `gid` int(10) unsigned NOT NULL DEFAULT '0',
  `canview` tinyint(1) NOT NULL DEFAULT '0',
  `canviewthreads` tinyint(1) NOT NULL DEFAULT '0',
  `canonlyviewownthreads` tinyint(1) NOT NULL DEFAULT '0',
  `candlattachments` tinyint(1) NOT NULL DEFAULT '0',
  `canpostthreads` tinyint(1) NOT NULL DEFAULT '0',
  `canpostreplys` tinyint(1) NOT NULL DEFAULT '0',
  `canonlyreplyownthreads` tinyint(1) NOT NULL DEFAULT '0',
  `canpostattachments` tinyint(1) NOT NULL DEFAULT '0',
  `canratethreads` tinyint(1) NOT NULL DEFAULT '0',
  `caneditposts` tinyint(1) NOT NULL DEFAULT '0',
  `candeleteposts` tinyint(1) NOT NULL DEFAULT '0',
  `candeletethreads` tinyint(1) NOT NULL DEFAULT '0',
  `caneditattachments` tinyint(1) NOT NULL DEFAULT '0',
  `canviewdeletionnotice` tinyint(1) NOT NULL DEFAULT '0',
  `modposts` tinyint(1) NOT NULL DEFAULT '0',
  `modthreads` tinyint(1) NOT NULL DEFAULT '0',
  `mod_edit_posts` tinyint(1) NOT NULL DEFAULT '0',
  `modattachments` tinyint(1) NOT NULL DEFAULT '0',
  `canpostpolls` tinyint(1) NOT NULL DEFAULT '0',
  `canvotepolls` tinyint(1) NOT NULL DEFAULT '0',
  `cansearch` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`pid`),
  KEY `fid` (`fid`,`gid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]forums`
--

CREATE TABLE `[[dbprefix]]forums` (
  `fid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(120) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `linkto` varchar(180) NOT NULL DEFAULT '',
  `type` char(1) NOT NULL DEFAULT '',
  `pid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `parentlist` text NOT NULL,
  `disporder` smallint(5) unsigned NOT NULL DEFAULT '0',
  `active` tinyint(1) NOT NULL DEFAULT '0',
  `open` tinyint(1) NOT NULL DEFAULT '0',
  `threads` int(10) unsigned NOT NULL DEFAULT '0',
  `posts` int(10) unsigned NOT NULL DEFAULT '0',
  `lastpost` int(10) unsigned NOT NULL DEFAULT '0',
  `lastposter` varchar(120) NOT NULL DEFAULT '',
  `lastposteruid` int(10) unsigned NOT NULL DEFAULT '0',
  `lastposttid` int(10) unsigned NOT NULL DEFAULT '0',
  `lastpostsubject` varchar(120) NOT NULL DEFAULT '',
  `allowhtml` tinyint(1) NOT NULL DEFAULT '0',
  `allowmycode` tinyint(1) NOT NULL DEFAULT '0',
  `allowsmilies` tinyint(1) NOT NULL DEFAULT '0',
  `allowimgcode` tinyint(1) NOT NULL DEFAULT '0',
  `allowvideocode` tinyint(1) NOT NULL DEFAULT '0',
  `allowpicons` tinyint(1) NOT NULL DEFAULT '0',
  `allowtratings` tinyint(1) NOT NULL DEFAULT '0',
  `usepostcounts` tinyint(1) NOT NULL DEFAULT '0',
  `usethreadcounts` tinyint(1) NOT NULL DEFAULT '0',
  `requireprefix` tinyint(1) NOT NULL DEFAULT '0',
  `password` varchar(50) NOT NULL DEFAULT '',
  `showinjump` tinyint(1) NOT NULL DEFAULT '0',
  `style` smallint(5) unsigned NOT NULL DEFAULT '0',
  `overridestyle` tinyint(1) NOT NULL DEFAULT '0',
  `rulestype` tinyint(1) NOT NULL DEFAULT '0',
  `rulestitle` varchar(200) NOT NULL DEFAULT '',
  `rules` text NOT NULL,
  `unapprovedthreads` int(10) unsigned NOT NULL DEFAULT '0',
  `unapprovedposts` int(10) unsigned NOT NULL DEFAULT '0',
  `deletedthreads` int(10) unsigned NOT NULL DEFAULT '0',
  `deletedposts` int(10) unsigned NOT NULL DEFAULT '0',
  `defaultdatecut` smallint(4) unsigned NOT NULL DEFAULT '0',
  `defaultsortby` varchar(10) NOT NULL DEFAULT '',
  `defaultsortorder` varchar(4) NOT NULL DEFAULT '',
  PRIMARY KEY (`fid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `[[dbprefix]]forums`
--

INSERT INTO `[[dbprefix]]forums` VALUES
(1, 'My Category', '', '', 'c', 0, '1', 1, 1, 1, 0, 0, 0, '0', 0, 0, '', 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, '', 1, 0, 0, 0, '', '', 0, 0, 0, 0, 0, '', ''),
(2, 'My Forum', '', '', 'f', 1, '1,2', 1, 1, 1, 0, 0, 0, '0', 0, 0, '', 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, '', 1, 0, 0, 0, '', '', 0, 0, 0, 0, 0, '', '');

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]forumsread`
--

CREATE TABLE `[[dbprefix]]forumsread` (
  `fid` int(10) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  UNIQUE KEY `fid` (`fid`,`uid`),
  KEY `dateline` (`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]forumsubscriptions`
--

CREATE TABLE `[[dbprefix]]forumsubscriptions` (
  `fsid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `fid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`fsid`),
  KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]groupleaders`
--

CREATE TABLE `[[dbprefix]]groupleaders` (
  `lid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `gid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `canmanagemembers` tinyint(1) NOT NULL DEFAULT '0',
  `canmanagerequests` tinyint(1) NOT NULL DEFAULT '0',
  `caninvitemembers` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`lid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]helpdocs`
--

CREATE TABLE `[[dbprefix]]helpdocs` (
  `hid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `sid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `name` varchar(120) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `document` text NOT NULL,
  `usetranslation` tinyint(1) NOT NULL DEFAULT '0',
  `enabled` tinyint(1) NOT NULL DEFAULT '0',
  `disporder` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`hid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;

--
-- Dumping data for table `[[dbprefix]]helpdocs`
--

INSERT INTO `[[dbprefix]]helpdocs` VALUES
(1, 1, 'User Registration', 'Perks and privileges to user registration.', 'Some parts of this forum may require you to be logged in and registered. Registration is free and takes a few minutes to complete.<br />\r\n<br />\r\nYou are encouraged to register; once you register you will be able to post messages, set your own preferences, and maintain a profile.<br />\r\n<br />\r\nSome of the features that generally require registration are subscriptions, changing of styles, accessing of your Personal Pad (simple notepad) and emailing forum members.', 1, 1, 1),
(2, 1, 'Updating Profile', 'Changing your data currently on record.', 'At some point during your stay, you may decide you need to update some information such as your instant messenger information, your password, or perhaps you need to change your email address. You may change any of this information from your user control panel. To access this control panel, simply click on the link in the upper right hand corner of most any page entitled "user cp". From there, simply choose "Edit Profile" and change or update any desired items, then proceed to click the submit button located at the bottom of the page for changes to take effect.', 1, 1, 2),
(3, 1, 'Use of Cookies on myBB', 'myBB uses cookies to store certain information about your registration.', 'myBulletinBoard makes use of cookies to store your login information if you are registered, and your last visit if you are not.<br />\r\n<br />\r\nCookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk.<br />\r\n<br />\r\nCookies on this forum also track the specific topics you have read and when you last read them.<br />\r\n<br />\r\nTo clear all cookies set by this forum, you can click <a href="misc.php?action=clearcookies&amp;my_post_key={1}">here</a>.', 1, 1, 3),
(4, 1, 'Logging In and Out', 'How to login and log out.', 'When you login, you set a cookie on your machine so that you can browse the forums without having to enter in your username and password each time. Logging out clears that cookie to ensure nobody else can browse the forum as you.<br />\r\n<br />\r\nTo login, simply click the login link at the top right hand corner of the forum. To log out, click the log out link in the same place. In the event you cannot log out, clearing cookies on your machine will take the same effect.', 1, 1, 4),
(5, 2, 'Posting a New Topic', 'Starting a new thread in a forum.', 'When you go to a forum you are interested in and you wish to create a new topic (or thread), simply choose the button at the top and bottom of the forums entitled "New topic". Please take note that you may not have permission to post a new topic in every forum as your administrator may have restricted posting in that forum to staff or archived the forum entirely.', 1, 1, 1),
(6, 2, 'Posting a Reply', 'Replying to a topic within a forum.', 'During the course of your visit, you may encounter a thread to which you would like to make a reply. To do so, simply click the "Post reply" button at the bottom or top of the thread. Please take note that your administrator may have restricted posting to certain individuals in that particular forum.<br />\r\n<br />\r\nAdditionally, a moderator of a forum may have closed a thread meaning that users cannot reply to it. There is no way for a user to open such a thread without the help of a moderator or administrator.', 1, 1, 2),
(7, 2, 'MyCode', 'Learn how to use MyCode to enhance your posts.', 'You can use MyCode, a simplified version of HTML, in your posts to create certain effects.\r\n<p><br />\r\n[b]This text is bold[/b]<br />\r\n&nbsp;&nbsp;&nbsp;<b>This text is bold</b>\r\n<p>\r\n[i]This text is italicized[/i]<br />\r\n&nbsp;&nbsp;&nbsp;<i>This text is italicized</i>\r\n<p>\r\n[u]This text is underlined[/u]<br />\r\n&nbsp;&nbsp;&nbsp;<u>This text is underlined</u>\r\n<p><br />\r\n[url]http://www.example.com/[/url]<br />\r\n&nbsp;&nbsp;&nbsp;<a href="http://www.example.com/">http://www.example.com/</a>\r\n<p>\r\n[url=http://www.example.com/]Example.com[/url]<br />\r\n&nbsp;&nbsp;&nbsp;<a href="http://www.example.com/">Example.com</a>\r\n<p>\r\n[email]example@example.com[/email]<br />\r\n&nbsp;&nbsp;&nbsp;<a href="mailto:example@example.com">example@example.com</a>\r\n<p>\r\n[email=example@example.com]E-mail Me![/email]<br />\r\n&nbsp;&nbsp;&nbsp;<a href="mailto:example@example.com">E-mail Me!</a>\r\n<p>\r\n[email=example@example.com?subject=spam]E-mail with subject[/email]<br />\r\n&nbsp;&nbsp;&nbsp;<a href="mailto:example@example.com?subject=spam">E-mail with subject</a>\r\n<p><br />\r\n[quote]Quoted text will be here[/quote]<br />\r\n&nbsp;&nbsp;&nbsp;<quote>Quoted text will be here</quote>\r\n<p>\r\n[code]Text with preserved formatting[/code]<br />\r\n&nbsp;&nbsp;&nbsp;<code>Text with preserved formatting</code>\r\n<p><br />\r\n[img]https://secure.php.net/images/php.gif[/img]<br />\r\n&nbsp;&nbsp;&nbsp;<img src="https://secure.php.net/images/php.gif">\r\n<p>\r\n[img=50x50]https://secure.php.net/images/php.gif[/img]<br />\r\n&nbsp;&nbsp;&nbsp;<img src="https://secure.php.net/images/php.gif" width="50" height="50">\r\n<p><br />\r\n[color=red]This text is red[/color]<br />\r\n&nbsp;&nbsp;&nbsp;<font color="red">This text is red</font>\r\n<p>\r\n[size=3]This text is size 3[/size]<br />\r\n&nbsp;&nbsp;&nbsp;<font size="3">This text is size 3</font>\r\n<p>\r\n[font=Tahoma]This font is Tahoma[/font]<br />\r\n&nbsp;&nbsp;&nbsp;<font face="Tahoma">This font is Tahoma</font>\r\n<p><br />\r\n[align=center]This is centered[/align]<div align="center">This is centered</div>\r\n<p>\r\n[align=right]This is right-aligned[/align]<div align="right">This is right-aligned</div>\r\n<p><br />\r\n[list]<br />\r\n[*]List Item #1<br />\r\n[*]List Item #2<br />\r\n[*]List Item #3<br />\r\n[/list]<br />\r\n<ul>\r\n<li>List item #1</li>\r\n<li>List item #2</li>\r\n<li>List Item #3</li>\r\n</ul><p><font size=1>You can make an ordered list by using [list=1] for a numbered, and [list=a] for an alphabetical list.</font>', 1, 1, 3);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]helpsections`
--

CREATE TABLE `[[dbprefix]]helpsections` (
  `sid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(120) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `usetranslation` tinyint(1) NOT NULL DEFAULT '0',
  `enabled` tinyint(1) NOT NULL DEFAULT '0',
  `disporder` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`sid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `[[dbprefix]]helpsections`
--

INSERT INTO `[[dbprefix]]helpsections` VALUES
(1, 'User Maintenance', 'Basic instructions for maintaining a forum account.', 1, 1, 1),
(2, 'Posting', 'Posting, replying, and basic usage of forum.', 1, 1, 2);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]icons`
--

CREATE TABLE `[[dbprefix]]icons` (
  `iid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(120) NOT NULL DEFAULT '',
  `path` varchar(220) NOT NULL DEFAULT '',
  PRIMARY KEY (`iid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=21 ;

--
-- Dumping data for table `[[dbprefix]]icons`
--

INSERT INTO `[[dbprefix]]icons` VALUES
(1, 'Bug', 'images/icons/bug.png'),
(2, 'Exclamation', 'images/icons/exclamation.png'),
(3, 'Question', 'images/icons/question.png'),
(4, 'Smile', 'images/icons/smile.png'),
(5, 'Sad', 'images/icons/sad.png'),
(6, 'Wink', 'images/icons/wink.png'),
(7, 'Big Grin', 'images/icons/biggrin.png'),
(8, 'Tongue', 'images/icons/tongue.png'),
(9, 'Brick', 'images/icons/brick.png'),
(10, 'Heart', 'images/icons/heart.png'),
(11, 'Information', 'images/icons/information.png'),
(12, 'Lightbulb', 'images/icons/lightbulb.png'),
(13, 'Music', 'images/icons/music.png'),
(14, 'Photo', 'images/icons/photo.png'),
(15, 'Rainbow', 'images/icons/rainbow.png'),
(16, 'Shocked', 'images/icons/shocked.png'),
(17, 'Star', 'images/icons/star.png'),
(18, 'Thumbs Down', 'images/icons/thumbsdown.png'),
(19, 'Thumbs Up', 'images/icons/thumbsup.png'),
(20, 'Video', 'images/icons/video.png');

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]joinrequests`
--

CREATE TABLE `[[dbprefix]]joinrequests` (
  `rid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `gid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `reason` varchar(250) NOT NULL DEFAULT '',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `invite` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`rid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]mailerrors`
--

CREATE TABLE `[[dbprefix]]mailerrors` (
  `eid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `subject` varchar(200) NOT NULL DEFAULT '',
  `message` text NOT NULL,
  `toaddress` varchar(150) NOT NULL DEFAULT '',
  `fromaddress` varchar(150) NOT NULL DEFAULT '',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `error` text NOT NULL,
  `smtperror` varchar(200) NOT NULL DEFAULT '',
  `smtpcode` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`eid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]maillogs`
--

CREATE TABLE `[[dbprefix]]maillogs` (
  `mid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `subject` varchar(200) NOT NULL DEFAULT '',
  `message` text NOT NULL,
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `fromuid` int(10) unsigned NOT NULL DEFAULT '0',
  `fromemail` varchar(200) NOT NULL DEFAULT '',
  `touid` int(10) unsigned NOT NULL DEFAULT '0',
  `toemail` varchar(200) NOT NULL DEFAULT '',
  `tid` int(10) unsigned NOT NULL DEFAULT '0',
  `ipaddress` varbinary(16) NOT NULL DEFAULT '',
  `type` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`mid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]mailqueue`
--

CREATE TABLE `[[dbprefix]]mailqueue` (
  `mid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `mailto` varchar(200) NOT NULL,
  `mailfrom` varchar(200) NOT NULL,
  `subject` varchar(200) NOT NULL,
  `message` text NOT NULL,
  `headers` text NOT NULL,
  PRIMARY KEY (`mid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]massemails`
--

CREATE TABLE `[[dbprefix]]massemails` (
  `mid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(200) NOT NULL DEFAULT '',
  `message` text NOT NULL,
  `htmlmessage` text NOT NULL,
  `type` tinyint(1) NOT NULL DEFAULT '0',
  `format` tinyint(1) NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `senddate` int(10) unsigned NOT NULL DEFAULT '0',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `sentcount` int(10) unsigned NOT NULL DEFAULT '0',
  `totalcount` int(10) unsigned NOT NULL DEFAULT '0',
  `conditions` text NOT NULL,
  `perpage` smallint(4) unsigned NOT NULL DEFAULT '50',
  PRIMARY KEY (`mid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]moderatorlog`
--

CREATE TABLE `[[dbprefix]]moderatorlog` (
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `fid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `tid` int(10) unsigned NOT NULL DEFAULT '0',
  `pid` int(10) unsigned NOT NULL DEFAULT '0',
  `action` text NOT NULL,
  `data` text NOT NULL,
  `ipaddress` varbinary(16) NOT NULL DEFAULT '',
  KEY `uid` (`uid`),
  KEY `fid` (`fid`),
  KEY `tid` (`tid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]moderators`
--

CREATE TABLE `[[dbprefix]]moderators` (
  `mid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `fid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `id` int(10) unsigned NOT NULL DEFAULT '0',
  `isgroup` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `caneditposts` tinyint(1) NOT NULL DEFAULT '0',
  `cansoftdeleteposts` tinyint(1) NOT NULL DEFAULT '0',
  `canrestoreposts` tinyint(1) NOT NULL DEFAULT '0',
  `candeleteposts` tinyint(1) NOT NULL DEFAULT '0',
  `cansoftdeletethreads` tinyint(1) NOT NULL DEFAULT '0',
  `canrestorethreads` tinyint(1) NOT NULL DEFAULT '0',
  `candeletethreads` tinyint(1) NOT NULL DEFAULT '0',
  `canviewips` tinyint(1) NOT NULL DEFAULT '0',
  `canviewunapprove` tinyint(1) NOT NULL DEFAULT '0',
  `canviewdeleted` tinyint(1) NOT NULL DEFAULT '0',
  `canopenclosethreads` tinyint(1) NOT NULL DEFAULT '0',
  `canstickunstickthreads` tinyint(1) NOT NULL DEFAULT '0',
  `canapproveunapprovethreads` tinyint(1) NOT NULL DEFAULT '0',
  `canapproveunapproveposts` tinyint(1) NOT NULL DEFAULT '0',
  `canapproveunapproveattachs` tinyint(1) NOT NULL DEFAULT '0',
  `canmanagethreads` tinyint(1) NOT NULL DEFAULT '0',
  `canmanagepolls` tinyint(1) NOT NULL DEFAULT '0',
  `canpostclosedthreads` tinyint(1) NOT NULL DEFAULT '0',
  `canmovetononmodforum` tinyint(1) NOT NULL DEFAULT '0',
  `canusecustomtools` tinyint(1) NOT NULL DEFAULT '0',
  `canmanageannouncements` tinyint(1) NOT NULL DEFAULT '0',
  `canmanagereportedposts` tinyint(1) NOT NULL DEFAULT '0',
  `canviewmodlog` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`mid`),
  KEY `uid` (`id`,`fid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]modtools`
--

CREATE TABLE `[[dbprefix]]modtools` (
  `tid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(200) NOT NULL,
  `description` text NOT NULL,
  `forums` text NOT NULL,
  `groups` text NOT NULL,
  `type` char(1) NOT NULL DEFAULT '',
  `postoptions` text NOT NULL,
  `threadoptions` text NOT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]mycode`
--

CREATE TABLE `[[dbprefix]]mycode` (
  `cid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(100) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `regex` text NOT NULL,
  `replacement` text NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT '0',
  `parseorder` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`cid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]polls`
--

CREATE TABLE `[[dbprefix]]polls` (
  `pid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tid` int(10) unsigned NOT NULL DEFAULT '0',
  `question` varchar(200) NOT NULL DEFAULT '',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `options` text NOT NULL,
  `votes` text NOT NULL,
  `numoptions` smallint(5) unsigned NOT NULL DEFAULT '0',
  `numvotes` int(10) unsigned NOT NULL DEFAULT '0',
  `timeout` int(10) unsigned NOT NULL DEFAULT '0',
  `closed` tinyint(1) NOT NULL DEFAULT '0',
  `multiple` tinyint(1) NOT NULL DEFAULT '0',
  `public` tinyint(1) NOT NULL DEFAULT '0',
  `maxoptions` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`pid`),
  KEY `tid` (`tid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]pollvotes`
--

CREATE TABLE `[[dbprefix]]pollvotes` (
  `vid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pid` int(10) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `voteoption` smallint(5) unsigned NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `ipaddress` varbinary(16) NOT NULL DEFAULT '',
  PRIMARY KEY (`vid`),
  KEY `pid` (`pid`,`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]posts`
--

CREATE TABLE `[[dbprefix]]posts` (
  `pid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tid` int(10) unsigned NOT NULL DEFAULT '0',
  `replyto` int(10) unsigned NOT NULL DEFAULT '0',
  `fid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(120) NOT NULL DEFAULT '',
  `icon` smallint(5) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `username` varchar(80) NOT NULL DEFAULT '',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `message` text NOT NULL,
  `ipaddress` varbinary(16) NOT NULL DEFAULT '',
  `includesig` tinyint(1) NOT NULL DEFAULT '0',
  `smilieoff` tinyint(1) NOT NULL DEFAULT '0',
  `edituid` int(10) unsigned NOT NULL DEFAULT '0',
  `edittime` int(10) unsigned NOT NULL DEFAULT '0',
  `editreason` varchar(150) NOT NULL DEFAULT '',
  `visible` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`pid`),
  KEY `tid` (`tid`,`uid`),
  KEY `uid` (`uid`),
  KEY `visible` (`visible`),
  KEY `dateline` (`dateline`),
  KEY `ipaddress` (`ipaddress`),
  KEY `tiddate` (`tid`,`dateline`),
  FULLTEXT KEY `message` (`message`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]privatemessages`
--

CREATE TABLE `[[dbprefix]]privatemessages` (
  `pmid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `toid` int(10) unsigned NOT NULL DEFAULT '0',
  `fromid` int(10) unsigned NOT NULL DEFAULT '0',
  `recipients` text NOT NULL,
  `folder` smallint(5) unsigned NOT NULL DEFAULT '1',
  `subject` varchar(120) NOT NULL DEFAULT '',
  `icon` smallint(5) unsigned NOT NULL DEFAULT '0',
  `message` text NOT NULL,
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `deletetime` int(10) unsigned NOT NULL DEFAULT '0',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `statustime` int(10) unsigned NOT NULL DEFAULT '0',
  `includesig` tinyint(1) NOT NULL DEFAULT '0',
  `smilieoff` tinyint(1) NOT NULL DEFAULT '0',
  `receipt` tinyint(1) NOT NULL DEFAULT '0',
  `readtime` int(10) unsigned NOT NULL DEFAULT '0',
  `ipaddress` varbinary(16) NOT NULL DEFAULT '',
  PRIMARY KEY (`pmid`),
  KEY `uid` (`uid`,`folder`),
  KEY `toid` (`toid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]profilefields`
--

CREATE TABLE `[[dbprefix]]profilefields` (
  `fid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `disporder` smallint(5) unsigned NOT NULL DEFAULT '0',
  `type` text NOT NULL,
  `regex` text NOT NULL,
  `length` smallint(5) unsigned NOT NULL DEFAULT '0',
  `maxlength` smallint(5) unsigned NOT NULL DEFAULT '0',
  `required` tinyint(1) NOT NULL DEFAULT '0',
  `registration` tinyint(1) NOT NULL DEFAULT '0',
  `profile` tinyint(1) NOT NULL DEFAULT '0',
  `postbit` tinyint(1) NOT NULL DEFAULT '0',
  `viewableby` text NOT NULL,
  `editableby` text NOT NULL,
  `postnum` smallint(5) unsigned NOT NULL DEFAULT '0',
  `allowhtml` tinyint(1) NOT NULL DEFAULT '0',
  `allowmycode` tinyint(1) NOT NULL DEFAULT '0',
  `allowsmilies` tinyint(1) NOT NULL DEFAULT '0',
  `allowimgcode` tinyint(1) NOT NULL DEFAULT '0',
  `allowvideocode` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`fid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `[[dbprefix]]profilefields`
--

INSERT INTO `[[dbprefix]]profilefields` VALUES
(1, 'Location', 'Where in the world do you live?', 1, 'text', '', 0, 255, 0, 0, 1, 0, '-1', '-1', 0, 0, 0, 0, 0, 0),
(2, 'Bio', 'Enter a few short details about yourself, your life story etc.', 2, 'textarea', '', 0, 0, 0, 0, 1, 0, '-1', '-1', 0, 0, 0, 0, 0, 0),
(3, 'Gender', 'Please select your gender from the list below.', 3, 'select\nUndisclosed\nMale\nFemale\nOther', '', 0, 0, 0, 0, 1, 0, '-1', '-1', 0, 0, 0, 0, 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]promotionlogs`
--

CREATE TABLE `[[dbprefix]]promotionlogs` (
  `plid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pid` int(10) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `oldusergroup` varchar(200) NOT NULL DEFAULT '0',
  `newusergroup` smallint(6) NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `type` varchar(9) NOT NULL DEFAULT 'primary',
  PRIMARY KEY (`plid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]promotions`
--

CREATE TABLE `[[dbprefix]]promotions` (
  `pid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(120) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT '1',
  `logging` tinyint(1) NOT NULL DEFAULT '0',
  `posts` int(10) unsigned NOT NULL DEFAULT '0',
  `posttype` char(2) NOT NULL DEFAULT '',
  `threads` int(10) unsigned NOT NULL DEFAULT '0',
  `threadtype` char(2) NOT NULL DEFAULT '',
  `registered` int(10) unsigned NOT NULL DEFAULT '0',
  `registeredtype` varchar(20) NOT NULL DEFAULT '',
  `online` int(10) unsigned NOT NULL DEFAULT '0',
  `onlinetype` varchar(20) NOT NULL DEFAULT '',
  `reputations` int(11) NOT NULL DEFAULT '0',
  `reputationtype` char(2) NOT NULL DEFAULT '',
  `referrals` int(10) unsigned NOT NULL DEFAULT '0',
  `referralstype` char(2) NOT NULL DEFAULT '',
  `warnings` int(10) unsigned NOT NULL DEFAULT '0',
  `warningstype` char(2) NOT NULL DEFAULT '',
  `requirements` varchar(200) NOT NULL DEFAULT '',
  `originalusergroup` varchar(120) NOT NULL DEFAULT '0',
  `newusergroup` smallint(5) unsigned NOT NULL DEFAULT '0',
  `usergrouptype` varchar(120) NOT NULL DEFAULT '0',
  PRIMARY KEY (`pid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]questions`
--

CREATE TABLE `[[dbprefix]]questions` (
  `qid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `question` varchar(200) NOT NULL DEFAULT '',
  `answer` varchar(150) NOT NULL DEFAULT '',
  `shown` int(10) unsigned NOT NULL DEFAULT '0',
  `correct` int(10) unsigned NOT NULL DEFAULT '0',
  `incorrect` int(10) unsigned NOT NULL DEFAULT '0',
  `active` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`qid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `[[dbprefix]]questions`
--

INSERT INTO `[[dbprefix]]questions` VALUES
(1, 'What does 2 + 2 equal?', '4\nFour', 0, 0, 0, 1);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]questionsessions`
--

CREATE TABLE `[[dbprefix]]questionsessions` (
  `sid` varchar(32) NOT NULL DEFAULT '',
  `qid` int(10) unsigned NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`sid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]reportedcontent`
--

CREATE TABLE `[[dbprefix]]reportedcontent` (
  `rid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `id` int(10) unsigned NOT NULL DEFAULT '0',
  `id2` int(10) unsigned NOT NULL DEFAULT '0',
  `id3` int(10) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `reportstatus` tinyint(1) NOT NULL DEFAULT '0',
  `reasonid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `reason` varchar(250) NOT NULL DEFAULT '',
  `type` varchar(50) NOT NULL DEFAULT '',
  `reports` int(10) unsigned NOT NULL DEFAULT '0',
  `reporters` text NOT NULL,
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `lastreport` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`rid`),
  KEY `reportstatus` (`reportstatus`),
  KEY `lastreport` (`lastreport`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]reportreasons`
--

CREATE TABLE `[[dbprefix]]reportreasons` (
  `rid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(250) NOT NULL DEFAULT '',
  `appliesto` varchar(250) NOT NULL DEFAULT '',
  `extra` tinyint(1) NOT NULL DEFAULT '0',
  `disporder` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`rid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;

--
-- Dumping data for table `[[dbprefix]]reportreasons`
--

INSERT INTO `[[dbprefix]]reportreasons` VALUES
(1, '<lang:report_reason_other>', 'all', 1, 99),
(2, '<lang:report_reason_rules>', 'all', 0, 1),
(3, '<lang:report_reason_bad>', 'all', 0, 2),
(4, '<lang:report_reason_spam>', 'all', 0, 3),
(5, '<lang:report_reason_wrong>', 'post', 0, 4);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]reputation`
--

CREATE TABLE `[[dbprefix]]reputation` (
  `rid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `adduid` int(10) unsigned NOT NULL DEFAULT '0',
  `pid` int(10) unsigned NOT NULL DEFAULT '0',
  `reputation` smallint(6) NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `comments` text NOT NULL,
  PRIMARY KEY (`rid`),
  KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]searchlog`
--

CREATE TABLE `[[dbprefix]]searchlog` (
  `sid` varchar(32) NOT NULL DEFAULT '',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `ipaddress` varbinary(16) NOT NULL DEFAULT '',
  `threads` longtext NOT NULL,
  `posts` longtext NOT NULL,
  `resulttype` varchar(10) NOT NULL DEFAULT '',
  `querycache` text NOT NULL,
  `keywords` text NOT NULL,
  PRIMARY KEY (`sid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]sessions`
--

CREATE TABLE `[[dbprefix]]sessions` (
  `sid` varchar(32) NOT NULL DEFAULT '',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `ip` varbinary(16) NOT NULL DEFAULT '',
  `time` int(10) unsigned NOT NULL DEFAULT '0',
  `location` varchar(150) NOT NULL DEFAULT '',
  `useragent` varchar(200) NOT NULL DEFAULT '',
  `anonymous` tinyint(1) NOT NULL DEFAULT '0',
  `nopermission` tinyint(1) NOT NULL DEFAULT '0',
  `location1` int(10) unsigned NOT NULL DEFAULT '0',
  `location2` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`sid`),
  KEY `location` (`location1`,`location2`),
  KEY `time` (`time`),
  KEY `uid` (`uid`),
  KEY `ip` (`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]settinggroups`
--

CREATE TABLE `[[dbprefix]]settinggroups` (
  `gid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL DEFAULT '',
  `title` varchar(220) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `disporder` smallint(5) unsigned NOT NULL DEFAULT '0',
  `isdefault` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`gid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=31 ;

--
-- Dumping data for table `[[dbprefix]]settinggroups`
--

INSERT INTO `[[dbprefix]]settinggroups` VALUES
(1, 'onlineoffline', 'Board Online / Offline', 'These settings allow you to globally turn your forums online or offline, and allow you to specify a reason for turning them off.', 1, 1),
(2, 'details', 'Site Details', 'This section contains various settings such as your board name and url, as well as your website name and url.', 2, 1),
(3, 'general', 'General Configuration', 'This section allows you to manage the general aspects of your board.', 3, 1),
(4, 'server', 'Server and Optimization Options', 'These options allow you to set various server and optimization preferences allowing you to reduce the load on your server, and gain better performance on your board.', 4, 1),
(5, 'datetime', 'Date and Time Formats', 'Here you can specify the different date and time formats used to display dates and times on the forums.', 5, 1),
(6, 'forumhome', 'Forum Home Options', 'This section allows you to manage the various settings used on the forum home (index.php) of your boards such as enabling and disabling different features.', 6, 1),
(7, 'forumdisplay', 'Forum Display Options', 'This section allows you to manage the various settings used on the forum display (forumdisplay.php) of your boards such as enabling and disabling different features.', 7, 1),
(8, 'showthread', 'Show Thread Options', 'This section allows you to manage the various settings used on the thread display page (showthread.php) of your boards such as enabling and disabling different features.', 8, 1),
(9, 'member', 'Login and Registration Options', 'Here you can control various settings with relation to user account registration and login management.', 9, 1),
(10, 'profile', 'Profile Options', 'The options here control the various settings of user profiles around the forums.', 10, 1),
(11, 'posting', 'Posting', 'These options control the various elements in relation to posting messages on the forums.', 11, 1),
(12, 'attachments', 'Attachments', 'Various options related to the attachment system can be managed and set here.', 12, 1),
(13, 'memberlist', 'Member List', 'This section allows you to control various aspects of the board member listing (memberlist.php), such as how many members to show per page, and which features to enable or disable.', 13, 1),
(14, 'reputation', 'Reputation', 'The reputation system allows your users to rate others and leave a comment on the user. This section has settings to disable and change other aspects of the reputation page (reputation.php).', 14, 1),
(15, 'warning', 'Warning System Settings', 'The warning system allows forum staff to warn users for rule violations. Here you can manage the settings that control the warning system (warnings.php).', 15, 1),
(16, 'privatemessaging', 'Private Messaging', 'Various options with relation to the MyBB Private Messaging system (private.php) can be managed and set here.', 16, 1),
(17, 'calendar', 'Calendar', 'The board calendar allows the public and private listing of events and members'' birthdays. This section allows you to control and manage the settings for the Calendar (calendar.php).', 17, 1),
(18, 'whosonline', 'Who''s Online', 'Various settings regarding the Who is Online functionality (online.php).', 18, 1),
(19, 'userpruning', 'User Pruning', 'User Pruning allows you to remove users from your forum meeting certain criteria. Here you can configure that criteria.', 19, 1),
(20, 'portal', 'Portal Settings', 'The portal page compiles several different pieces of information about your forum, including latest posts, who''s online, forum stats, announcements, and more. This section has settings to control the aspects of the portal page (portal.php).', 20, 1),
(21, 'search', 'Search System', 'The various settings in this group allow you to make changes to the built in search mechanism for threads, posts and help documents in MyBB.', 21, 1),
(22, 'clickablecode', 'Clickable Smilies and BB Code', 'This section allows you to change how the clickable smilies inserter appears and control the default MyCodes.', 22, 1),
(23, 'cpprefs', 'Control Panel Preferences (Global)', 'This section allows you to set the global preferences for the Admin Control Panel.', 23, 1),
(24, 'mailsettings', 'Mail Settings', 'This section allows you to control various aspects of the MyBB mail system, such as sending with PHP mail or with a off server SMTP server.', 24, 1),
(25, 'contactsettings', 'Contact Settings', 'The various options to change the behaviour of the contact page (contact.php).', 25, 1),
(26, 'purgespammer', 'Purge Spammer', 'This section allows you to change the settings of the Purge Spammer feature.', 26, 1),
(27, 'stopforumspam', 'Stop Forum Spam', 'This section allows you to change the settings used for the integration with StopForumSpam.com', 27, 1),
(28, 'contactdetails', 'Contact Details', 'This section allows you to change the settings of the contact fields feature.', 28, 1),
(29, 'statspage', 'Statistics Page', 'This section allows you to change the settings of the statistics page.', 28, 1),
(30, 'forumteam', 'Forum Team', 'This section allows you to control various aspects of the forum team listing (showteam.php), such as aspects to consider while listing team members, and which features to enable or disable.', 29, 1);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]settings`
--

CREATE TABLE `[[dbprefix]]settings` (
  `sid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(120) NOT NULL DEFAULT '',
  `title` varchar(120) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `optionscode` text NOT NULL,
  `value` text NOT NULL,
  `disporder` smallint(5) unsigned NOT NULL DEFAULT '0',
  `gid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `isdefault` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`sid`),
  KEY `gid` (`gid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=299 ;

--
-- Dumping data for table `[[dbprefix]]settings`
--

INSERT INTO `[[dbprefix]]settings` VALUES
(1, 'boardclosed', 'Board Closed', 'If you need to close your forums to make some changes or perform an upgrade, this is the global switch. Viewers will not be able to view your forums, however, they will see a message with the reason you specify below. Administrators will still be able to view the forums.', 'yesno', '0', 1, 1, 1),
(2, 'boardclosed_reason', 'Board Closed Reason', 'If your forum is closed, you can set a message here that your visitors will be able to see when they visit your forums. You can leave this empty to use the language files.', 'textarea', 'These forums are currently closed for maintenance. Please check back later.', 2, 1, 1),
(3, 'bbname', 'Board Name', 'The name of your community. We recommend that it is not over 75 characters.', 'text', '[[bbname]]', 1, 2, 1),
(4, 'bburl', 'Board URL', 'The url to your forums.<br />Include the http://. Do NOT include a trailing slash.', 'text', '[[softurl]]', 2, 2, 1),
(5, 'homename', 'Homepage Name', 'The name of your homepage. This will appear in the footer with a link to it.', 'text', '[[site_name]]', 3, 2, 1),
(6, 'homeurl', 'Homepage URL', 'The full URL of your homepage. This will be linked to in the footer along with its name.', 'text', '[[protocol]]://[[domhost]]/', 4, 2, 1),
(7, 'adminemail', 'Admin Email', 'The administrator''s email address. This will be used for outgoing emails sent via the forums.', 'text', '[[board_email]]', 5, 2, 1),
(8, 'returnemail', 'Return Email', 'The email address for incoming replies to outgoing emails sent via the forums and is useful for no-reply accounts. Leave blank to use the admin email address instead.', 'text', '', 6, 2, 1),
(9, 'contactemail', 'Contact Email', 'The email address that messages sent via the contact form (contact.php) will be sent to. Leave blank to use the admin email address instead.', 'text', '', 7, 2, 1),
(10, 'contactlink', 'Contact Us Link', 'This will be used for the Contact Us link on the bottom of all the forum pages. Can either be an email address (using mailto:email@website.com) or a hyperlink.', 'text', 'contact.php', 8, 2, 1),
(11, 'cookiedomain', 'Cookie Domain', 'The domain which cookies should be set to. This can remain blank. It should also start with a . so it covers all subdomains.', 'text', '.[[domhost]]', 9, 2, 1),
(12, 'cookiepath', 'Cookie Path', 'The path which cookies are set to. We recommend setting this to the full directory path to your forums with a trailing slash.', 'text', '[[relativeurl]]/', 10, 2, 1),
(13, 'cookieprefix', 'Cookie Prefix', 'A prefix to append to all cookies set by MyBB. This is useful if you wish to install multiple copies of MyBB on the one domain or have other software installed which conflicts with the names of the cookies in MyBB. If not specified, no prefix will be used.', 'text', '', 11, 2, 1),
(14, 'cookiesamesiteflag', 'SameSite Cookie Flag', 'Authentication cookies will carry the SameSite flag to prevent CSRF attacks. Keep this disabled if you expect cross-origin POST requests.', 'yesno', '1', 12, 2, 1),
(15, 'cookiesecureflag', 'Secure Cookie Flag', 'Cookies can be set with the Secure flag to prevent them from being sent over unencrypted connections. You should enable this setting only if your forum works correctly under HTTPS.', 'yesno', '0', 13, 2, 1),
(16, 'showvernum', 'Show Version Numbers', 'Allows you to turn off the public display of version numbers in MyBB.', 'onoff', '0', 14, 2, 1),
(17, 'mailingaddress', 'Mailing Address', 'If you have a mailing address, enter it here. This is shown on the COPPA compliance form.', 'textarea', '', 15, 2, 1),
(18, 'faxno', 'Contact Fax No', 'If you have a fax number, enter it here. This is shown on the COPPA compliance form.', 'text', '', 16, 2, 1),
(19, 'bblanguage', 'Default Language', 'The default language that MyBB should use for guests and for users without a selected language in their user control panel.', 'language', '[[language]]', 1, 3, 1),
(20, 'captchaimage', 'CAPTCHA Images for Registration & Posting', 'To help prevent automated registrations and postings, you can choose a type of image verification for the user to complete. Please see the MyBB Docs for more information on CAPTCHAs.', 'select\n0=No CAPTCHA\n1=MyBB Default CAPTCHA\n4=NoCAPTCHA reCAPTCHA\n5=reCAPTCHA invisible\n6=hCaptcha\n7=hCaptcha invisible\n8=reCAPTCHA v3', '1', 2, 3, 1),
(21, 'recaptchapublickey', 'reCAPTCHA Public Key', 'Your reCAPTCHA public key.', 'text', '', 3, 3, 1),
(22, 'recaptchaprivatekey', 'reCAPTCHA Private Key', 'Your reCAPTCHA private key.', 'text', '', 4, 3, 1),
(23, 'recaptchascore', 'reCAPTCHA v3 Score', 'Set the user rejection score for reCAPTCHA v3. 1.0 is very likely a genuine user, 0.0 is very likely a bot', 'numeric\nmin=0\nmax=1\nstep=0.01', '0.5', 5, 3, 1),
(24, 'hcaptchapublickey', 'hCaptcha Public Key', 'Your hCaptcha public key.', 'text', '', 6, 3, 1),
(25, 'hcaptchaprivatekey', 'hCaptcha Private Key', 'Your hCaptcha private key.', 'text', '', 7, 3, 1),
(26, 'hcaptchatheme', 'hCaptcha Theme', 'Set the color of the hCaptcha Widget.', 'select\nlight=Light\ndark=Dark', 'light', 8, 3, 1),
(27, 'hcaptchasize', 'hCaptcha Size', 'Set the size of the hCaptcha Widget.', 'select\nnormal=Normal\ncompact=Compact', 'normal', 9, 3, 1),
(28, 'reportmethod', 'Reported Content Notification Method', 'Please select from the list how you would like moderators to be notified when content is reported. Note: Moderators are only notified for posts in forums they moderate or all content if they are a super moderator.', 'radio\ndb=Shown in the Mod CP only\npms=Sent as Private Messages and shown in the Mod CP\nemail=Sent via Email and shown in the Mod CP', 'db', 10, 3, 1),
(29, 'decpoint', 'Decimal Point', 'The decimal point you use in your region.', 'text', '.', 11, 3, 1),
(30, 'thousandssep', 'Thousands Numeric Separator', 'The punctuation you want to use. For example, a setting of '','' with the number 1200 will give you 1,200.', 'text', ',', 12, 3, 1),
(31, 'showlanguageselect', 'Show Language Selector in Footer', 'Set to No if you do not want to show the language selection area in the footer of all pages in the board. If you only have one language installed this setting will be ignored.', 'yesno', '1', 13, 3, 1),
(32, 'showthemeselect', 'Show Theme Selector in Footer', 'Set to No if you do not want to show the theme selection area in the footer of all pages in the board.', 'yesno', '1', 14, 3, 1),
(33, 'maxmultipagelinks', 'Maximum Page Links in Pagination', 'Here you can set the number of next and previous page links to show in the pagination for threads or forums with more than one page of results. Set to 0 to disable the limitation.', 'numeric\nmin=0', '5', 15, 3, 1),
(34, 'jumptopagemultipage', 'Show Jump To Page form in Pagination', 'Do you want to show a "jump to page" form in pagination if number of pages exceeds "Maximum Page Links in Pagination"?', 'yesno', '1', 16, 3, 1),
(35, 'no_plugins', 'Disable All Plugins', 'Setting this to Yes will disable all plugins without deactivating or uninstalling them. This is equivalent of manually defining NO_PLUGINS at the top of ./inc/init.php.', 'yesno', '0', 17, 3, 1),
(36, 'deleteinvites', 'Expire Old Group Invites', 'The number of days until any pending invites to user groups expire. Set to 0 to disable.', 'numeric\nmin=0', '180', 18, 3, 1),
(37, 'redirects', 'Friendly Redirection Pages', 'This will enable friendly redirection pages instead of bumping the user directly to the page.', 'onoff', '1', 19, 3, 1),
(38, 'enableforumjump', 'Enable Forum Jump Menu?', 'The forum jump menu is shown on the forum and thread view pages. It can add significant load to your forums if you have a large amount of forums. Set to ''No'' to disable it.', 'yesno', '1', 20, 3, 1),
(39, 'seourls', 'Enable search engine friendly URLs?', 'Search engine friendly URLs change the MyBB links to shorter URLs which search engines prefer and are easier to type. showthread.php?tid=1 becomes thread-1.html. <strong>Once this setting is enabled you need to make sure you have the MyBB .htaccess in your MyBB root directory (or the equivalent for your web server). Automatic detection may not work on all servers.</strong> Please see the <a href="https://docs.mybb.com/1.8/administration/configuring-search-engine-friendly-URLs">MyBB Docs</a> for assistance.', 'select\nauto=Automatic Detection\nyes=Enabled\nno=Disabled', 'auto', 1, 4, 1),
(40, 'seourls_archive', 'Enable search engine friendly URLs in Archive?', 'Search engine friendly URLs can be used in the archive. <strong>Once this setting is enabled ensure the archive still works as expected.</strong>', 'yesno', '0', 2, 4, 1),
(41, 'gzipoutput', 'Use GZip Page Compression?', 'Do you want to compress pages in GZip format when they are sent to the browser? This means quicker downloads for your visitors, and less traffic usage for you.', 'yesno', '0', 3, 4, 1),
(42, 'gziplevel', 'GZip Page Compression Level', 'Set the level for GZip Page Compression from 0-9.  (0=no compression, 9=maximum compression). A level of 4 is recommended for most installations.', 'numeric\nmin=0\nmax=9', '4', 4, 4, 1),
(43, 'nocacheheaders', 'Send No Cache Headers', 'With this option you can enforce dynamic pages to be re-validated by browsers and not cached by proxies.', 'yesno', '1', 5, 4, 1),
(44, 'load', '*NIX Load Limiting', 'Limit the maximum server load before MyBB rejects people. 0 for none. Recommended limit is 5.0.', 'text', '0', 6, 4, 1),
(45, 'tplhtmlcomments', 'Output template start/end comments?', 'This will enable or disable the output of template start/end comments in the HTML.', 'yesno', '1', 7, 4, 1),
(46, 'use_xmlhttprequest', 'Enable XMLHttp request features?', 'This will enable or disable the XMLHttp request features.', 'yesno', '1', 8, 4, 1),
(47, 'extraadmininfo', 'Advanced Stats / Debug information', 'Shows Server load, generation time, memory usage, etc on the bottom of all pages in the root folder. Please note that only administrators see this information.', 'yesno', '1', 9, 4, 1),
(48, 'uploadspath', 'Uploads Path', 'The path used for all board uploads. It <b>must be chmod 777</b> (on *nix servers). If it is a relative path then it is taken to be relative to the MyBB root directory. Default value: "./uploads" (relative path).', 'text', './uploads', 10, 4, 1),
(49, 'useerrorhandling', 'Use Error Handling', 'If you do not wish to use the integrated error handling for MyBB, you may turn this option off. However, it is recommended that it stay on.', 'onoff', '1', 11, 4, 1),
(50, 'errorlogmedium', 'Error Logging Medium', 'The type of the error handling to use.', 'select\nnone=Neither\nlog=Log errors\nemail=Email errors\nboth=Log and email errors\n', 'none', 12, 4, 1),
(51, 'errortypemedium', 'Error Type Medium', 'The type of errors to show with detailed information. It is recommended you hide errors and warnings on a production forum and log them instead.', 'select\nwarning=Warnings\nerror=Errors\nboth=Warnings and Errors\nnone=Hide Errors and Warnings\n', 'none', 13, 4, 1),
(52, 'errorloglocation', 'Error Logging Location', 'The location of the log to send errors to, if specified.', 'text', './error.log', 14, 4, 1),
(53, 'ip_forwarded_check', 'Scrutinize User''s IP address?', 'Do you want to check a user''s IP address for HTTP_X_FORWARDED_FOR or HTTP_X_REAL_IP headers? If you''re unsure, set this to No.', 'yesno', '0', 15, 4, 1),
(54, 'minifycss', 'Minify Stylesheets?', 'Do you want to minify stylesheets? Choosing Yes can save bandwidth and overall provide faster page loads.', 'yesno', '0', 16, 4, 1),
(55, 'usecdn', 'Use a CDN?', 'You can utilise a CDN (Content Delivery Network) to offload the loading of static files such as Stylesheets, JavaScript and Images. Do you wish to enable this functionality?', 'yesno', '0', 17, 4, 1),
(56, 'cdnurl', 'URL to use for static files', 'If you have enabled the CDN option above, please enter the base URL to serve static content from. This should be a valid URL without a trailing slash.', 'text', '', 18, 4, 1),
(57, 'cdnpath', 'Path to store static files', 'If you have enabled the CDN option above, please optionally enter a full path to store static files. This is only useful for "Push" type CDNs or local sub-domain setups. This path should not have a trailing slash.', 'text', '', 19, 4, 1),
(58, 'dateformat', 'Date Format', 'The format of the dates used on the forum. This format uses the PHP date() function. We recommend not changing this unless you know what you''re doing.', 'text', 'm-d-Y', 1, 5, 1),
(59, 'timeformat', 'Time Format', 'The format of the times used on the forum. This format uses PHP''s date() function. We recommend not changing this unless you know what you''re doing.', 'text', 'h:i A', 2, 5, 1),
(60, 'datetimesep', 'Date/Time Separator', 'Where MyBB joins date and time formats this setting is used to separate them (typically a space or comma).', 'text', ', ', 3, 5, 1),
(61, 'regdateformat', 'Registered Date Format', 'The format used on showthread where it shows when the user registered.', 'text', 'M Y', 4, 5, 1),
(62, 'timezoneoffset', 'Default Timezone Offset', 'Here you can set the default timezone offset for guests and members using the default offset.', 'php\n<select name=\\"upsetting[{$setting[''name'']}]\\">\n<option value=\\"-12\\" ".($setting[''value''] == -12?"selected=\\"selected\\"":"").">GMT -12:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -12).")</option>\n<option value=\\"-11\\" ".($setting[''value''] == -11?"selected=\\"selected\\"":"").">GMT -11:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -11).")</option>\n<option value=\\"-10\\" ".($setting[''value''] == -10?"selected=\\"selected\\"":"").">GMT -10:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -10).")</option>\n<option value=\\"-9.5\\" ".($setting[''value''] == -9.5?"selected=\\"selected\\"":"").">GMT -9:30 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -9.5).")</option>\n<option value=\\"-9\\" ".($setting[''value''] == -9?"selected=\\"selected\\"":"").">GMT -9:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -9).")</option>\n<option value=\\"-8\\" ".($setting[''value''] == -8?"selected=\\"selected\\"":"").">GMT -8:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -8).")</option>\n<option value=\\"-7\\" ".($setting[''value''] == -7?"selected=\\"selected\\"":"").">GMT -7:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -7).")</option>\n<option value=\\"-6\\" ".($setting[''value''] == -6?"selected=\\"selected\\"":"").">GMT -6:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -6).")</option>\n<option value=\\"-5\\" ".($setting[''value''] == -5?"selected=\\"selected\\"":"").">GMT -5:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -5).")</option>\n<option value=\\"-4.5\\" ".($setting[''value''] == -4.5?"selected=\\"selected\\"":"").">GMT -4:30 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -4.5).")</option>\n<option value=\\"-4\\" ".($setting[''value''] == -4?"selected=\\"selected\\"":"").">GMT -4:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -4).")</option>\n<option value=\\"-3.5\\" ".($setting[''value''] == -3.5?"selected=\\"selected\\"":"").">GMT -3:30 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -3.5).")</option>\n<option value=\\"-3\\" ".($setting[''value''] == -3?"selected=\\"selected\\"":"").">GMT -3:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -3).")</option>\n<option value=\\"-2\\" ".($setting[''value''] == -2?"selected=\\"selected\\"":"").">GMT -2:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -2).")</option>\n<option value=\\"-1\\" ".($setting[''value''] == -1?"selected=\\"selected\\"":"").">GMT -1:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, -1).")</option>\n<option value=\\"0\\" ".($setting[''value''] == 0?"selected=\\"selected\\"":"").">GMT (".my_date($mybb->settings[''timeformat''], TIME_NOW, 0).")</option>\n<option value=\\"+1\\" ".($setting[''value''] == 1?"selected=\\"selected\\"":"").">GMT +1:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 1).")</option>\n<option value=\\"+2\\" ".($setting[''value''] == 2?"selected=\\"selected\\"":"").">GMT +2:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 2).")</option>\n<option value=\\"+3\\" ".($setting[''value''] == 3?"selected=\\"selected\\"":"").">GMT +3:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 3).")</option>\n<option value=\\"+3.5\\" ".($setting[''value''] == 3.5?"selected=\\"selected\\"":"").">GMT +3:30 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 3.5).")</option>\n<option value=\\"+4\\" ".($setting[''value''] == 4?"selected=\\"selected\\"":"").">GMT +4:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 4).")</option>\n<option value=\\"+4.5\\" ".($setting[''value''] == 4.5?"selected=\\"selected\\"":"").">GMT +4:30 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 4.5).")</option>\n<option value=\\"+5\\" ".($setting[''value''] == 5?"selected=\\"selected\\"":"").">GMT +5:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 5).")</option>\n<option value=\\"+5.5\\" ".($setting[''value''] == 5.5?"selected=\\"selected\\"":"").">GMT +5:30 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 5.5).")</option>\n<option value=\\"+5.75\\" ".($setting[''value''] == 5.75?"selected=\\"selected\\"":"").">GMT +5:45 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 5.75).")</option>\n<option value=\\"+6\\" ".($setting[''value''] == 6?"selected=\\"selected\\"":"").">GMT +6:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 6).")</option>\n<option value=\\"+6.5\\" ".($setting[''value''] == 6.5?"selected=\\"selected\\"":"").">GMT +6:30 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 6.5).")</option>\n<option value=\\"+7\\" ".($setting[''value''] == 7?"selected=\\"selected\\"":"").">GMT +7:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 7).")</option>\n<option value=\\"+8\\" ".($setting[''value''] == 8?"selected=\\"selected\\"":"").">GMT +8:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 8).")</option>\n<option value=\\"+8.5\\" ".($setting[''value''] == 8.5?"selected=\\"selected\\"":"").">GMT +8:30 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 8.5).")</option>\n<option value=\\"+8.75\\" ".($setting[''value''] == 8.75?"selected=\\"selected\\"":"").">GMT +8:45 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 8.75).")</option>\n<option value=\\"+9\\" ".($setting[''value''] == 9?"selected=\\"selected\\"":"").">GMT +9:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 9).")</option>\n<option value=\\"+9.5\\" ".($setting[''value''] == 9.5?"selected=\\"selected\\"":"").">GMT +9:30 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 9.5).")</option>\n<option value=\\"+10\\" ".($setting[''value''] == 10?"selected=\\"selected\\"":"").">GMT +10:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 10).")</option>\n<option value=\\"+10.5\\" ".($setting[''value''] == 10.5?"selected=\\"selected\\"":"").">GMT +10:30 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 10.5).")</option>\n<option value=\\"+11\\" ".($setting[''value''] == 11?"selected=\\"selected\\"":"").">GMT +11:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 11).")</option>\n<option value=\\"+11.5\\" ".($setting[''value''] == 11.5?"selected=\\"selected\\"":"").">GMT +11:30 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 11.5).")</option>\n<option value=\\"+12\\" ".($setting[''value''] == 12?"selected=\\"selected\\"":"").">GMT +12:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 12).")</option>\n<option value=\\"+12.75\\" ".($setting[''value''] == 12.75?"selected=\\"selected\\"":"").">GMT +12:45 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 12.75).")</option>\n<option value=\\"+13\\" ".($setting[''value''] == 13?"selected=\\"selected\\"":"").">GMT +13:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 13).")</option>\n<option value=\\"+14\\" ".($setting[''value''] == 14?"selected=\\"selected\\"":"").">GMT +14:00 Hours (".my_date($mybb->settings[''timeformat''], TIME_NOW, 14).")</option>\n</select>', '0', 5, 5, 1),
(63, 'dstcorrection', 'Day Light Savings Time', 'If times are an hour out above and your timezone is selected correctly, enable day light savings time correction.', 'yesno', '0', 6, 5, 1),
(64, 'showdescriptions', 'Show Forum Descriptions?', 'This option will allow you to turn off showing the descriptions for forums.', 'yesno', '1', 1, 6, 1),
(65, 'subforumsindex', 'Subforums to show on Index listing', 'The number of subforums that you wish to show inside forums on the index and forumdisplay pages. Set to 0 to not show the subforum list', 'numeric\nmin=0', '2', 2, 6, 1),
(66, 'subforumsstatusicons', 'Show Subforum Status Icons?', 'Show icons indicating whether or not a subforum contains new posts or not?  This won''t have any effect unless you enabled subforums display on the index.', 'yesno', '1', 3, 6, 1),
(67, 'hideprivateforums', 'Hide Private Forums?', 'You can hide private forums by turning this option on. This option also hides forums on the forum jump and all subforums.', 'yesno', '1', 4, 6, 1),
(68, 'modlist', 'Forums'' Moderator Listing', 'Here you can turn on or off the listing of moderators for each forum on index.php and forumdisplay.php', 'onoff', '1', 5, 6, 1),
(69, 'showbirthdays', 'Show Today''s Birthdays?', 'Do you want to show today''s birthdays on the forum homepage?', 'yesno', '1', 6, 6, 1),
(70, 'showbirthdayspostlimit', 'Only Show Birthdays with x Posts', 'You can choose to only display users with at least the following amount of posts. A setting of 0 will show all users who have a birthday today.', 'numeric\nmin=0', '0', 7, 6, 1),
(71, 'showwol', 'Show Who''s Online?', 'Display the currently active users on the forum home page.', 'yesno', '1', 8, 6, 1),
(72, 'showindexstats', 'Show Small Stats Section', 'Do you want to show the total number of threads, posts, members, and the last member on the forum home?', 'yesno', '1', 9, 6, 1),
(73, 'showforumviewing', 'Show x viewing forum', 'Displays the currently active users viewing each forum.', 'yesno', '0', 10, 6, 1),
(74, 'threadsperpage', 'Threads Per Page', 'The number of threads to display per page on the forum display.', 'numeric\nmin=1', '20', 1, 7, 1),
(75, 'hottopic', 'Replies For Hot Topic', 'The number of replies that is needed for a topic to be considered ''hot''.', 'numeric\nmin=0', '20', 2, 7, 1),
(76, 'hottopicviews', 'Views For Hot Topic', 'The number of views a thread can have before it is considered ''hot''.', 'numeric\nmin=0', '150', 3, 7, 1),
(77, 'usertppoptions', 'User Selectable Threads Per Page', 'If you would like to allow users to select how many threads per page are shown in a forum, enter the options they should be able to select separated with commas. If this is left blank they will not be able to choose how many threads are shown per page.', 'text', '10,15,20,25,30,40,50', 4, 7, 1),
(78, 'dotfolders', 'Use ''dot'' Icons', 'Do you want to show dots on the thread indicators of threads users have participated in.', 'yesno', '1', 5, 7, 1),
(79, 'allowthreadratings', 'Use Thread Ratings?', 'Allow users to rate threads?', 'yesno', '1', 6, 7, 1),
(80, 'browsingthisforum', 'Users Browsing this Forum', 'Here you can turn off the ''users browsing this forum'' feature.', 'onoff', '1', 7, 7, 1),
(81, 'announcementlimit', 'Announcements Limit', 'The number of forum announcements to  show in the thread listing on the forum display pages. Set to 0 to disable announcements altogether.', 'numeric\nmin=0', '2', 8, 7, 1),
(82, 'readparentforums', 'Attempt to Mark Parent Forums as Read', 'When set to Yes, this setting will attempt to mark the parent forums of a sub-forum as read if there are no more unread posts. Please note that this setting can lead to a decrease in performance and multiple database queries and therefore must be treated as experimental. See the <a href="https://docs.mybb.com/versions/1.6.5/">MyBB Docs</a> for more information regarding this change.', 'yesno', '0', 9, 7, 1),
(83, 'postlayout', 'Post Layout', 'Allows you to switch between the classic and new horizontal layout modes. Classic mode shows the author information to the left of the post, horizontal shows the author information above the post.', 'radio\nhorizontal=Display posts using the horizontal post layout\nclassic=Display posts using the classic layout', 'horizontal', 1, 8, 1),
(84, 'postsperpage', 'Posts Per Page:', 'The number of posts to display per page. We recommend its not higher than 20 for people with slower connections.', 'numeric\nmin=0', '10', 2, 8, 1),
(85, 'userpppoptions', 'User Selectable Posts Per Page', 'If you would like to allow users to select how many posts are shown per page in a thread, enter the options they should be able to select separated with commas. If this is left blank they will not be able to choose how many posts are shown per page.', 'text', '5,10,15,20,25,30,40,50', 3, 8, 1),
(86, 'postmaxavatarsize', 'Maximum Avatar Dimensions in Posts', 'The maximum dimensions for avatars when being displayed in a post (width and height separated by ''x'' or ''|'') . If an avatar is too large, it will automatically be scaled down.', 'text', '55x55', 4, 8, 1),
(87, 'threadreadcut', 'Read Threads in Database (Days)', 'The number of days that you wish to keep thread read information in the database. For large boards, we do not recommend a high number as the board will become slower. Set to 0 to disable.', 'numeric\nmin=0', '7', 5, 8, 1),
(88, 'threadusenetstyle', 'Usenet Style Thread View', 'Selecting Yes will cause posts to look similar to how posts look in USENET. No will cause posts to look the modern way.', 'yesno', '0', 6, 8, 1),
(89, 'quickreply', 'Show Quick Reply Form', 'Allows you to set whether or not the quick reply form will be shown at the bottom of threads.', 'onoff', '1', 7, 8, 1),
(90, 'multiquote', 'Show Multi-quote Buttons', 'The multi-quote button allows users to select a series of posts then click Reply and have those posts quoted in their message.', 'onoff', '1', 8, 8, 1),
(91, 'showsimilarthreads', 'Show ''Similar Threads'' Table', 'The Similar Threads table shows threads that are relevant to the thread being read. You can set the relevancy below.', 'yesno', '0', 9, 8, 1),
(92, 'similarityrating', 'Similar Threads Relevancy Rating', 'This allows you to limit similar threads to ones more relevant (0 being not relevant). This number should not be over 10 and should not be set low (<5) for large forums. Does not apply to PgSQL databases.', 'numeric\nmin=0', '1', 10, 8, 1),
(93, 'similarlimit', 'Similar Threads Limit', 'Here you can change the total amount of similar threads to be shown in the similar threads table. It is recommended that it is not over 15 for 56k users.', 'numeric\nmin=0', '10', 11, 8, 1),
(94, 'showforumpagesbreadcrumb', 'Show Forum Multipage Dropdown', 'If the forum has more than 1 page of threads, do you want to display a dropdown pagination menu in the breadcrumbs?', 'yesno', '1', 12, 8, 1),
(95, 'browsingthisthread', 'Users Browsing this Thread', 'Here you can turn off the ''users browsing this thread'' feature.', 'yesno', '1', 13, 8, 1),
(96, 'delayedthreadviews', 'Delayed Thread View Updates', 'If this setting is enabled, the number of thread views for threads will be updated in the background by the task schedule system. If not enabled, thread view counters are incremented instantly.', 'onoff', '0', 14, 8, 1),
(97, 'threadviews_countspiders', 'Increment Thread View Count on Spider Visits?', 'Here you can include views by spiders in the thread view counter.', 'yesno', '0', 15, 8, 1),
(98, 'threadviews_countguests', 'Increment Thread View Count on Guest Visits?', 'Here you can include views by guests in the thread view counter.', 'yesno', '1', 16, 8, 1),
(99, 'threadviews_countthreadauthor', 'Increment Thread View Count on Thread Author Visits?', 'Here you can include views by the thread author in the thread view counter.', 'yesno', '1', 17, 8, 1),
(100, 'disableregs', 'Disable Registrations', 'Allows you to turn off the capability for users to register with one click.', 'yesno', '0', 1, 9, 1),
(101, 'regtype', 'Registration Method', 'Please select the method of registration to use when users register.', 'select\ninstant=Instant Activation\nverify=Send Email Verification\nrandompass=Send Random Password\nadmin=Administrator Activation\nboth=Email Verification & Administrator Activation', 'verify', 2, 9, 1),
(102, 'awactialert', 'Awaiting Activation Notification', 'Do you want to show a notification to administrators about accounts awaiting activation?', 'yesno', '1', 3, 9, 1),
(103, 'forcelogin', 'Force Users to Login', 'Setting this to Yes will force guests to login or register in order to access the board.', 'yesno', '0', 4, 9, 1),
(104, 'minnamelength', 'Minimum Username Length', 'The minimum number of characters a username can be when a user registers.', 'numeric\nmin=1', '3', 5, 9, 1),
(105, 'maxnamelength', 'Maximum Username Length', 'The maximum number of characters a username can be when a user registers.', 'numeric\nmin=1', '30', 6, 9, 1),
(106, 'minpasswordlength', 'Minimum Password Length', 'The minimum number of characters a password should contain.', 'numeric\nmin=1', '6', 7, 9, 1),
(107, 'maxpasswordlength', 'Maximum Password Length', 'The maximum number of characters a password should contain.', 'numeric\nmin=1', '30', 8, 9, 1),
(108, 'requirecomplexpasswords', 'Require a complex password?', 'Do you want users to use complex passwords? Complex passwords require an upper case letter, lower case letter and a number.', 'yesno', '0', 9, 9, 1),
(109, 'betweenregstime', 'Time Between Registrations', 'The amount of time (in hours) to disallow registrations for users who have already registered an account under the same IP address. Set to 0 to disable.', 'numeric\nmin=0', '24', 10, 9, 1),
(110, 'maxregsbetweentime', 'Maximum Registrations Per IP Address', 'This option allows you to set the maximum amount of times a certain user can register within the timeframe specified above.', 'numeric\nmin=0', '2', 11, 9, 1),
(111, 'allowmultipleemails', 'Allow emails to be registered multiple times?', 'Select Yes if you wish to allow users to sign up with the same email more than once otherwise select No.', 'yesno', '0', 12, 9, 1),
(112, 'emailkeep', 'Users Keep Email', 'If a current user has an email already registered in your banned list, should they be allowed to keep it?', 'yesno', '0', 13, 9, 1),
(113, 'hiddencaptchaimage', 'Display a hidden CAPTCHA', 'Do you want to display a hidden CAPTCHA field when a user registers? This may prevent spambots from registering on your forum.', 'yesno', '0', 14, 9, 1),
(114, 'hiddencaptchaimagefield', 'Hidden CAPTCHA field', 'You can choose a name for your hidden CAPTCHA field below.', 'text', 'email3', 15, 9, 1),
(115, 'usereferrals', 'Use Referrals System', 'Do you want to use the user referrals system on these forums?', 'yesno', '1', 16, 9, 1),
(116, 'referralsperpage', 'Referrals Per Page', 'The number of members to show per page on the referral list.', 'numeric', '20', 17, 9, 1),
(117, 'coppa', 'COPPA Compliance', 'If you wish to enable <a href="https://www.ftc.gov/enforcement/rules/rulemaking-regulatory-reform-proceedings/childrens-online-privacy-protection-rule">COPPA</a> support on your forums, please select the registration allowance below.', 'select\nenabled=Enabled\ndeny=Deny users under the age of 13\ndisabled=Disable this feature', 'disabled', 18, 9, 1),
(118, 'username_method', 'Allowed Login Methods', 'The login methods you wish to allow for the username field. Username only, Email only, or allow both.\n<br />To allow email as a valid login method, no users are allowed to share email addresses.', 'select\n0=Username Only\n1=Email Only\n2=Both Username and Email', '0', 19, 9, 1),
(119, 'failedcaptchalogincount', 'Number of failed logins before verification required', 'The number of times to allow someone to attempt to login before required to enter a CAPTCHA verification. Set to 0 to disable', 'numeric\nmin=0', '3', 20, 9, 1),
(120, 'failedlogincount', 'Number of times to allow failed logins', 'The number of times to allow someone to attempt to login. Set to 0 to disable.', 'numeric\nmin=0', '10', 21, 9, 1),
(121, 'failedlogintime', 'Time between failed logins', 'The amount of time (in minutes) before someone can try to login again, after they have failed to login the first time. Used if value above is not 0.', 'numeric\nmin=0', '15', 22, 9, 1),
(122, 'failedlogintext', 'Display number of failed logins', 'Do you wish to display a line of text telling the user how many more login attempts they have?', 'yesno', '1', 23, 9, 1),
(123, 'regtime', 'Minimum Registration Time', 'The minimum time in seconds a user must take to fill out the registration form. Used to prevent automated bot signups. Setting this to 0 to disables the function.', 'numeric\nmin=0', '15', 24, 9, 1),
(124, 'securityquestion', 'Show Security Question', 'Do you wish to show a question that users must answer when registering?', 'yesno', '1', 25, 9, 1),
(125, 'sigmycode', 'Allow MyCode in Signatures', 'Do you want to allow MyCode to be used in users'' signatures?', 'yesno', '1', 1, 10, 1),
(126, 'sigcountmycode', 'MyCode affects signature length', 'Do you want MyCode to be counted as part of the limit when users use MyCode in their signature?', 'yesno', '1', 2, 10, 1),
(127, 'sigsmilies', 'Allow Smilies in Signatures', 'Do you want to allow smilies to be used in users'' signatures?', 'yesno', '1', 3, 10, 1),
(128, 'sightml', 'Allow HTML in Signatures', 'Do you want to allow HTML to be used in users'' signatures?', 'yesno', '0', 4, 10, 1),
(129, 'sigimgcode', 'Allow [img] Code in Signatures', 'Do you want to allow [img] code to be used in users'' signatures?', 'yesno', '1', 5, 10, 1),
(130, 'maxsigimages', 'Maximum Number of Images per Signature', 'Enter the maximum number of images (including smilies) a user can put in their signature. Set to 0 to disable images in signatures altogether.', 'numeric\nmin=0', '2', 6, 10, 1),
(131, 'siglength', 'Length limit in Signatures', 'The maximum number of characters a user can place in a signature. Set to 0 to disable the limitation.', 'numeric\nmin=0', '255', 7, 10, 1),
(132, 'hidesignatures', 'Hide Signatures To Groups', 'Select the usergroups you wish to hide signatures from.', 'groupselect', '', 8, 10, 1),
(133, 'hidewebsite', 'Hide Websites To Groups', 'Select the usergroups you wish to hide websites from.', 'groupselect', '', 9, 10, 1),
(134, 'useravatar', 'Default User Avatar', 'If the user does not set a custom avatar this image will be used instead. If you want to use a different image for different themes, please use <strong>{theme}</strong> to represent the image directory of each theme.', 'text', 'images/default_avatar.png', 10, 10, 1),
(135, 'useravatardims', 'Default Avatar Dimensions', 'The dimensions of the default avatar; width and height separated by ''x'' or ''|'' (e.g. 40|40 or 40x40).', 'text', '100|100', 11, 10, 1),
(136, 'useravatarrating', 'Gravatar Rating', 'Allows you to set the maximum rating for Gravatars if a user chooses to use one. If a user avatar is higher than this rating a default avatar will be used. The ratings are:\n\n<ul>\n<li><strong>G</strong>: suitable for display on all websites with any audience type</li>\n<li><strong>PG</strong>: may contain rude gestures, provocatively dressed individuals, the lesser swear words or mild violence</li>\n<li><strong>R</strong>: may contain such things as harsh profanity, intense violence, nudity or hard drug use</li>\n<li><strong>X</strong>: may contain hardcore sexual imagery or extremely disturbing violence</li>\n</ul>', 'select\ng=G\npg=PG\nr=R\nx=X', 'g', 12, 10, 1),
(137, 'maxavatardims', 'Maximum Avatar Dimensions', 'The maximum dimensions that an avatar can be, width and height separated by ''x'' or ''|''. If this is left blank then there will be no dimension restriction.', 'text', '100x100', 13, 10, 1),
(138, 'avatarsize', 'Max Uploaded Avatar Size', 'Maximum file size (in kilobytes) of uploaded avatars. Set to 0 to disable the limitation.', 'numeric\nmin=0', '25', 14, 10, 1),
(139, 'avatarresizing', 'Avatar Resizing Mode', 'If you wish to automatically resize all large avatars, provide users the option of resizing their avatar, or not resize avatars at all you can change this setting.', 'select\nauto=Automatically resize large avatars\nuser=Give users the choice of resizing large avatars\ndisabled=Disable this feature', 'auto', 15, 10, 1),
(140, 'avataruploadpath', 'Avatar Upload Path', 'This is the path where custom avatars will be uploaded to. This directory <b>must be chmod 777</b> (writable) for uploads to work.', 'text', './uploads/avatars', 16, 10, 1),
(141, 'allowremoteavatars', 'Allow Remote Avatars', 'Whether to allow the usage of avatars from remote servers. Having this enabled can expose your server''s IP address.', 'yesno', '1', 17, 10, 1),
(142, 'customtitlemaxlength', 'Custom User Title Maximum Length', 'Maximum length a user can enter for the custom user title. Cannot be over 250 characters.', 'numeric\nmin=1\nmax=250', '40', 18, 10, 1),
(143, 'allowaway', 'Allow Away Statuses?', 'Should users be allowed to set their status to ''Away'' with a custom reason & return date?', 'yesno', '1', 19, 10, 1),
(144, 'allowbuddyonly', 'Allow Buddy-Only Messaging?', 'Allow users to send private messages only to people on their buddy list?', 'yesno', '0', 20, 10, 1),
(145, 'minmessagelength', 'Minimum Message Length', 'The minimum number of characters to post.', 'numeric\nmin=1', '5', 1, 11, 1),
(146, 'maxmessagelength', 'Maximum Message Length', 'The maximum number of characters (bytes) to allow in a message. Set 0 to allow maximum length permitted as per your database.\n<br />Tip: MySQL users (max: 65535) can change message field type manually from TEXT to MEDIUMTEXT (16777215) or LONGTEXT (4294967295) to obtain enhanced limit.', 'numeric\nmin=0', '65535', 2, 11, 1),
(147, 'mycodemessagelength', 'MyCode Affects Minimum Message Length?', 'Do you want MyCode to be counted as part of the minimum limit when users use MyCode in messages?', 'yesno', '1', 3, 11, 1),
(148, 'postfloodcheck', 'Post Flood Checking', 'Set to on if you want to enable flood checking for posts. Specify the time between posts below.', 'onoff', '1', 4, 11, 1),
(149, 'postfloodsecs', 'Post Flood Time', 'Set the time (in seconds) users have to wait between posting, to be in effect; the option above must be on.', 'numeric\nmin=1', '60', 5, 11, 1),
(150, 'postmergemins', 'Post Merge Time', 'With this enabled, posts posted within x minutes by the same author right after each other, will be merged. Set the time limit (in minutes) to merge posts. Set to 0 to disable this feature. Default: 60', 'numeric\nmin=0', '60', 6, 11, 1),
(151, 'postmergefignore', 'Merge Forums to Ignore', 'Forums to exclude from the auto merge feature. Leave blank to disable.', 'forumselect', '', 7, 11, 1),
(152, 'postmergeuignore', 'Merge User Groups to Ignore', 'Select the usergroups which should be excluded from the merge feature.', 'groupselect', '4', 8, 11, 1),
(153, 'postmergesep', 'Merge Separator', 'The Separator to be used when merging two message Default: ''[hr]''', 'text', '[hr]', 9, 11, 1),
(154, 'logip', 'Show Posting IP Addresses', 'Do you wish to show ip addresses of users who post, and who you want to show ip addresses to?', 'radio\nno=Do not show IP\nhide=Show to Admins & Mods\nshow=Show to all Users', 'hide', 10, 11, 1),
(155, 'showeditedby', 'Show ''edited by'' Messages', 'Once a post is edited by a regular user, do you want to show the edited by message?', 'yesno', '1', 11, 11, 1),
(156, 'showeditedbyadmin', 'Show ''edited by'' Message for Administrators and Moderators', 'Do you want to show edited by messages for posts created by administrators and moderators?', 'yesno', '1', 12, 11, 1),
(157, 'maxpostimages', 'Maximum Images per Post', 'Enter the maximum number of images (including smilies) a user can put in their post. Set to 0 to disable this.', 'numeric\nmin=0', '10', 13, 11, 1),
(158, 'maxpostvideos', 'Maximum Videos per Post', 'Enter the maximum number of videos a user can put in their post. Set to 0 to disable this.', 'numeric\nmin=0', '1', 14, 11, 1),
(159, 'subscribeexcerpt', 'Amount of Characters for Subscription Previews', 'How many characters of the post do you want to send with the email notification of a new reply?', 'numeric\nmin=0', '100', 15, 11, 1),
(160, 'maxquotedepth', 'Maximum Nested Quote Tags', 'The maximum depth level for quote tags. When quote-replying to a post, all nested quotes which exceed this threshold are automatically removed. Note that this value is only enforced when quote-replying - it is still possible to manually enter quotes to exceed this limit, and this setting will not affect posts already submitted. Set to 0 to disable the limit.', 'numeric\nmin=0', '5', 16, 11, 1),
(161, 'polloptionlimit', 'Maximum Poll Option Length', 'The maximum length that each poll option can be. Set to 0 to disable.', 'numeric\nmin=0', '250', 17, 11, 1),
(162, 'maxpolloptions', 'Maximum Number of Poll Options', 'The maximum number of options for polls that users can post. Set to 0 to disable the limitation.', 'numeric\nmin=0', '10', 18, 11, 1),
(163, 'polltimelimit', 'Poll Time Limit', 'The number of hours until regular users cannot add a poll to their own threads (if they have the permission). Enter 0 for no limit.', 'numeric\nmin=0', '12', 19, 11, 1),
(164, 'threadreview', 'Show Thread Review', 'Show recent posts when creating a new reply?', 'yesno', '1', 20, 11, 1),
(165, 'alloweditreason', 'Allow Edit Reason', 'Do you want to allow users the ability to add an optional reason why they''ve edited their post?', 'yesno', '1', 21, 11, 1),
(166, 'soft_delete', 'Enable Soft Delete for Users', 'If enabled, posts and threads deleted by users will be hidden and can be restored by moderators. Otherwise, these posts and threads will be deleted permanently.', 'yesno', '1', 22, 11, 1),
(167, 'announcementshtml', 'Allow HTML in Announcements', 'Allow moderators to enable HTML parsing in announcements?', 'yesno', '0', 23, 11, 1),
(168, 'showownunapproved', 'Access Own Unapproved Threads / Posts', 'Allow general users to access their own unapproved threads and posts.', 'yesno', '0', 24, 11, 1),
(169, 'enableattachments', 'Enable Attachment Functionality', 'If you wish to disable attachments on your board, set this option to No.', 'yesno', '1', 1, 12, 1),
(170, 'maxattachments', 'Maximum Attachments Per Post', 'The maximum number of attachments a user is allowed to upload per post. Set to 0 to disable.', 'numeric\nmin=0', '5', 2, 12, 1),
(171, 'attachthumbnails', 'Show Attached Thumbnails in Posts', 'How do you want images to be shown in posts?', 'radio\nyes=Thumbnail\nno=Full Size Image\ndownload=As Download Link', 'yes', 3, 12, 1),
(172, 'attachthumbh', 'Attached Thumbnail Maximum Height', 'Enter the height that attached thumbnails should be generated at.', 'numeric\nmin=1', '96', 4, 12, 1),
(173, 'attachthumbw', 'Attached Thumbnail Maximum Width', 'Enter the width that attached thumbnails should be generated at.', 'numeric\nmin=1', '96', 5, 12, 1),
(174, 'enablememberlist', 'Enable Member List Functionality', 'If you wish to disable the member list on your board, set this option to No.', 'yesno', '1', 1, 13, 1),
(175, 'membersperpage', 'Members Per Page', 'The number of members to show per page on the member list.', 'numeric\nmin=1', '20', 2, 13, 1),
(176, 'default_memberlist_sortby', 'Default Sort Field', 'Select the field that you want members to be sorted by default.', 'select\nregdate=Registration Date\npostnum=Post Count\nusername=Username\nlastvisit=Last Visit', 'regdate', 3, 13, 1),
(177, 'default_memberlist_order', 'Default Sort Order', 'Select the order that you want members to be sorted by default.<br />Ascending: A-Z / beginning-end<br />Descending: Z-A / end-beginning', 'select\nascending=Ascending\ndescending=Descending', 'ascending', 4, 13, 1),
(178, 'memberlistmaxavatarsize', 'Maximum Display Avatar Dimensions', 'The maximum dimensions for avatars when being displayed in the member list, width & height separated by ''x'' or ''|''. If an avatar is too large, it will automatically be scaled down.', 'text', '70x70', 5, 13, 1),
(179, 'enablereputation', 'Enable Reputation Functionality', 'If you wish to disable the reputation system on your board, set this option to No.', 'yesno', '1', 1, 14, 1),
(180, 'posrep', 'Allow Positive Reputation', 'Allow users to give others positive reputation?', 'yesno', '1', 2, 14, 1),
(181, 'negrep', 'Allow Negative Reputation', 'Allow users to give others negative reputation?', 'yesno', '1', 3, 14, 1),
(182, 'neurep', 'Allow Neutral Reputation', 'Allow users to give others neutral reputation?', 'yesno', '1', 4, 14, 1),
(183, 'multirep', 'Allow Multiple Reputation', 'Can users give multiple reputations to the same user?<br />Note: Does not effect "Post" reputation', 'yesno', '1', 5, 14, 1),
(184, 'postrep', 'Allow Post Reputations', 'Enable reputation to be linked to posts?', 'yesno', '1', 6, 14, 1),
(185, 'repsperpage', 'Reputation Comments Per Page', 'Here you can enter the number of reputation comments to show per page on the reputation system.', 'numeric\nmin=1', '15', 7, 14, 1),
(186, 'maxreplength', 'Maximum Reputation Length', 'The maximum number of characters a reputation can be.', 'numeric\nmin=1', '300', 8, 14, 1),
(187, 'minreplength', 'Minimum Reputation Length', 'The minimum number of characters a reputation can be.', 'numeric\nmin=1', '10', 9, 14, 1),
(188, 'enablewarningsystem', 'Enable Warning System?', 'Set to No to completely disable the warning system.', 'yesno', '1', 1, 15, 1),
(189, 'allowcustomwarnings', 'Allow Custom Warning Types?', 'Allow a custom reason and amount of points to be specified by those with permissions to warn users.', 'yesno', '1', 2, 15, 1),
(190, 'canviewownwarning', 'Can Users View Own Warnings?', 'Set to Yes to allow users to view recent warnings in their User CP and show their warning level to them in their profile.', 'yesno', '1', 3, 15, 1),
(191, 'allowanonwarningpms', 'Allow Anonymous Warning PMs', 'Allow moderators to send anonymous warning PMs.', 'yesno', '1', 4, 15, 1),
(192, 'maxwarningpoints', 'Maximum Warning Points', 'The maximum warning points that can be given to a user before it is considered a warning level of 100%.', 'numeric\nmin=1', '10', 5, 15, 1),
(193, 'enablepms', 'Enable Private Messaging Functionality', 'If you wish to disable the private messaging system on your board, set this option to No.', 'yesno', '1', 1, 16, 1),
(194, 'pmquickreply', 'Show Quick Reply Form', 'Allows you to set whether or not the quick reply form will be shown at the bottom of PMs.', 'yesno', '1', 2, 16, 1),
(195, 'pmsallowhtml', 'Allow HTML', 'Selecting Yes will allow HTML to be used in private messages.', 'yesno', '0', 3, 16, 1),
(196, 'pmsallowmycode', 'Allow MyCode', 'Selecting Yes will allow MyCode to be used in private messages.', 'yesno', '1', 4, 16, 1),
(197, 'pmsallowsmilies', 'Allow Smilies', 'Selecting Yes will allow Smilies to be used in private messages.', 'yesno', '1', 5, 16, 1),
(198, 'pmsallowimgcode', 'Allow [img] Code', 'Selecting Yes will allow [img] Code to be used in private messages.', 'yesno', '1', 6, 16, 1),
(199, 'pmsallowvideocode', 'Allow [video] Code', 'Selecting Yes will allow [video] Code to be used in private messages.', 'yesno', '1', 7, 16, 1),
(200, 'pmfloodsecs', 'Private Message Flood Time', 'Set the time (in seconds) users have to wait between sending messages, to be in effect. Set to 0 to disable.', 'numeric\nmin=0', '60', 8, 16, 1),
(201, 'showpmip', 'Show Private Message IP Addresses', 'Do you wish to show IP addresses of users who send private messages, and who you want to show IP addresses to?', 'radio\nno=Do not show IP\nhide=Show to Admins & Mods\nshow=Show to all Users', 'hide', 9, 16, 1),
(202, 'maxpmquotedepth', 'Maximum PM Nested Quote Tags', 'The maximum depth level for quote tags. When quote-replying to a PM, all nested quotes which exceed this threshold are automatically removed. Note that this value is only enforced when quote-replying - it is still possible to manually enter quotes to exceed this limit, and this setting will not affect PMs already sent. Set to 0 to disable the limit.', 'numeric\nmin=0', '5', 10, 16, 1),
(203, 'enablecalendar', 'Enable Calendar Functionality', 'If you wish to disable the calendar on your board, set this option to No.', 'yesno', '1', 1, 17, 1),
(204, 'wolcutoffmins', 'Cut-off Time (mins)', 'The number of minutes before a user is marked offline. Recommended: 15.', 'numeric\nmin=1', '15', 1, 18, 1),
(205, 'refreshwol', 'Refresh Who''s online page Time (mins)', 'The number of minutes before the "Who''s online" page refreshes. 0 is disabled.', 'numeric\nmin=0', '1', 2, 18, 1),
(206, 'wolorder', 'Who''s Online Order', 'List the online users by username or last activity. Note: This setting only takes effect on the portal and index pages.', 'select\nusername=Order By Username (ASC)\nactivity=Order By Last Activity (DESC)', 'username', 3, 18, 1),
(207, 'wolusersperpage', 'Users Per Page', 'The number of users displayed per page. Set to 0 to use the default.', 'numeric\nmin=0', '20', 4, 18, 1),
(208, 'woldisplayspiders', 'Who''s Online Displays Spiders?', 'Display spiders in the online list. Note: This setting only takes effect on the portal and index pages.', 'yesno', '1', 5, 18, 1),
(209, 'enablepruning', 'Enable user pruning?', 'Set to on to prune users by the specified criteria below.', 'onoff', '0', 1, 19, 1),
(210, 'enableprunebyposts', 'Prune user by post count?', 'Set to on to prune users by their number of posts.', 'onoff', '0', 2, 19, 1),
(211, 'prunepostcount', 'Post count to prune by', 'Set to prune users less then a specified number of posts.', 'numeric\nmin=0', '0', 3, 19, 1);
INSERT INTO `[[dbprefix]]settings` VALUES
(212, 'prunepostcountall', 'Count all posts?', 'If set to Yes, posts from forums which don''t increase users'' post count will also be considered while pruning.', 'yesno', '0', 4, 19, 1),
(213, 'dayspruneregistered', 'Days registered before pruning by post count', 'Set to prune users whom have been registered for at least the given amount of days.', 'numeric\nmin=0', '90', 5, 19, 1),
(214, 'pruneunactived', 'Prune unactivated users?', 'Set to on to prune users whom are unactived.', 'onoff', '0', 6, 19, 1),
(215, 'dayspruneunactivated', 'Days registered before pruning unactivated users', 'Set to prune users whom have been unactived for at least the given amount of days.', 'numeric\nmin=0', '90', 7, 19, 1),
(216, 'prunethreads', 'Prune User Posts/Threads', 'For the users that are going to be removed, do you want to remove all of their posts/threads?', 'yesno', '0', 8, 19, 1),
(217, 'portal', 'Enable Portal', 'If you wish to disable the portal on your board, set this option to No.', 'yesno', '1', 1, 20, 1),
(218, 'portal_announcementsfid', 'Forums to pull announcements from', 'Please select the forums you wish to pull the announcements from.', 'forumselect', '-1', 2, 20, 1),
(219, 'portal_numannouncements', 'Number of announcements to show', 'Please enter the number of announcements to show per page on the main page.', 'numeric\nmin=1', '10', 3, 20, 1),
(220, 'portal_showwelcome', 'Show the Welcome box', 'Do you want to show the welcome box to visitors / users.', 'yesno', '1', 4, 20, 1),
(221, 'portal_showpms', 'Show the number of PMs to users', 'Do you want to show the number of private messages the current user has in their pm system.', 'yesno', '1', 5, 20, 1),
(222, 'portal_showstats', 'Show forum statistics', 'Do you want to show the total number of posts, threads, members and the last registered member on the portal page?', 'yesno', '1', 6, 20, 1),
(223, 'portal_showwol', 'Show Who''s Online', 'Do you want to show the ''Who''s online'' information to users when they visit the portal page?', 'yesno', '1', 7, 20, 1),
(224, 'portal_showsearch', 'Show Search Box', 'Do you want to show the search box, allowing users to quickly search the forums on the portal?', 'yesno', '1', 8, 20, 1),
(225, 'portal_showdiscussions', 'Show Latest Discussions', 'Do you wish to show the current forum discussions on the portal page?', 'yesno', '1', 9, 20, 1),
(226, 'portal_showdiscussionsnum', 'Number of latest discussions to show', 'Please enter the number of current forum discussions to show on the portal page.', 'numeric\nmin=1', '10', 10, 20, 1),
(227, 'portal_excludediscussion', 'Forums to exclude latest discussions from', 'Please select the forums you wish to exclude from the current forum discussions box.', 'forumselect', '', 11, 20, 1),
(228, 'searchtype', 'Search Type', 'Please select the type of search system you wish to use. You can either chose between "Standard", or "Full Text" (depending on your database). Fulltext searching is more powerful than the standard MyBB searching and quicker too.', 'php\n<select name=\\"upsetting[{$setting[''name'']}]\\"><option value=\\"standard\\">".(isset($lang->setting_searchtype_standard)?$lang->setting_searchtype_standard:"Standard")."</option>".($db->supports_fulltext("threads") && $db->supports_fulltext_boolean("posts")?"<option value=\\"fulltext\\"".($setting[''value'']=="fulltext"?" selected=\\"selected\\"":"").">".(isset($lang->setting_searchtype_fulltext)?$lang->setting_searchtype_fulltext:"Full Text")."</option>":"")."</select>', 'standard', 1, 21, 1),
(229, 'searchfloodtime', 'Search Flood Time (seconds)', 'Enter the time in seconds for the minimum allowed interval for searching. This prevents users from overloading your server by constantly performing searches. Set to 0 to disable.', 'numeric\nmin=0', '30', 2, 21, 1),
(230, 'minsearchword', 'Minimum Search Word Length', 'Enter the minimum number of characters an individual word in a search query can be. Set to 0 to disable (and accept the hard limit default of 3 for standard searching and 4 for MySQL fulltext searching). If you use MySQL fulltext searching and set this lower than the MySQL setting - MySQL will override it.', 'numeric\nmin=0', '0', 3, 21, 1),
(231, 'searchhardlimit', 'Hard Limit for Maximum Search Results', 'Enter the maximum amount of results to be processed. Set to 0 to disable. On larger boards (more than 1 million posts) this should be set to No more than 1000.', 'numeric\nmin=0', '0', 4, 21, 1),
(232, 'helpsearch', 'Enable Help Documents Search', 'If enabled it will allow users to search through the help documents.', 'yesno', '1', 5, 21, 1),
(233, 'bbcodeinserter', 'Clickable MyCode Editor', 'Set this option to On to show the clickable code buttons editor on posting pages. Switching this off will also disable the Smilies Inserter.', 'onoff', '1', 1, 22, 1),
(234, 'partialmode', 'Clickable MyCode Editor in Partial Mode', 'Editor will be in partial mode if this option is set to Yes. Several MyCodes, such as [quote] and [img], will be inserted into it as plain text tags.', 'yesno', '0', 2, 22, 1),
(235, 'smilieinserter', 'Clickable Smilies Inserter', 'Clickable smilies will appear on the posting pages if this option is set to ''on''.', 'onoff', '1', 3, 22, 1),
(236, 'smilieinsertertot', 'No. of Smilies to show', 'Enter the total number of smilies to show on the clickable smilie inserter.', 'numeric\nmin=1', '20', 4, 22, 1),
(237, 'smilieinsertercols', 'No. of Smilie Cols to Show', 'Enter the number of columns you wish to show on the clickable smilie inserter.', 'numeric\nmin=1', '4', 5, 22, 1),
(238, 'allowbasicmycode', 'Allow Basic MyCodes', 'Setting this to Yes allows users to use the basic MyCodes, such as Bold, Italic, Underline, Strike-through and HR.', 'yesno', '1', 6, 22, 1),
(239, 'allowcolormycode', 'Allow Color MyCode', 'Setting this to Yes allows users to use the Color MyCode.', 'yesno', '1', 7, 22, 1),
(240, 'allowsizemycode', 'Allow Size MyCode', 'Setting this to Yes allows users to use the Size MyCode', 'yesno', '1', 8, 22, 1),
(241, 'allowfontmycode', 'Allow Font MyCode', 'Setting this to Yes allows users to use the Font MyCode.', 'yesno', '1', 9, 22, 1),
(242, 'allowlinkmycode', 'Allow Link MyCode', 'Setting this to Yes allows users to use the URL MyCode.', 'yesno', '1', 10, 22, 1),
(243, 'allowautourl', 'Automatically Parse URLs Into Links', 'Setting this to Yes will parse URLs as links.', 'yesno', '1', 11, 22, 1),
(244, 'allowemailmycode', 'Allow Email MyCode', 'Setting this to Yes allows users to use the Email MyCode.', 'yesno', '1', 12, 22, 1),
(245, 'allowalignmycode', 'Allow Alignment MyCode', 'Setting this to Yes allows users to use the Align MyCode.', 'yesno', '1', 13, 22, 1),
(246, 'allowlistmycode', 'Allow List MyCode', 'Setting this to Yes allows users to use the List MyCode.', 'yesno', '1', 14, 22, 1),
(247, 'allowcodemycode', 'Allow Code MyCodes', 'Setting this to Yes allows users to use the Code and PHP MyCodes.', 'yesno', '1', 15, 22, 1),
(248, 'allowsymbolmycode', 'Allow Symbol MyCodes', 'Setting this to Yes allows users to use the (tm), (c) and (r) MyCodes.', 'yesno', '1', 16, 22, 1),
(249, 'allowmemycode', 'Allow Me MyCodes', 'Setting this to Yes allows users to use the /me and /slap MyCodes.', 'yesno', '1', 17, 22, 1),
(250, 'guestimages', 'Parse [img] MyCode To Guests', 'Setting this to Yes will parse posted images to guests. If No, a link will be shown instead.', 'yesno', '1', 18, 22, 1),
(251, 'guestvideos', 'Parse [video] MyCode To Guests', 'Setting this to Yes will parse posted videos to guests. If No, a link will be shown instead.', 'yesno', '1', 19, 22, 1),
(252, 'cplanguage', 'Control Panel Language', 'The language of the control panel.', 'adminlanguage', 'english', 1, 23, 1),
(253, 'cpstyle', 'Control Panel Style', 'The Default style that the control panel will use. Styles are inside the styles folder. A folder name inside that folder becomes the style title and style.css inside the style title folder is the css style file.', 'cpstyle', '', 2, 23, 1),
(254, 'maxloginattempts', 'Max Number of Login Attempts', 'The max number of attempts to login before being locked out. Set to 0 to disable.', 'numeric\nmin=0', '5', 3, 23, 1),
(255, 'loginattemptstimeout', 'Login Attempts Timeout', 'If the person trying to login reaches the max number of attempts, how long should they have to wait before being able to login again (in minutes)? Set to 0 to disable.', 'numeric\nmin=0', '15', 4, 23, 1),
(256, 'mail_handler', 'Mail handler', 'The medium through which MyBB will send outgoing emails.', 'select\nmail=PHP mail\nsmtp=SMTP mail', 'mail', 1, 24, 1),
(257, 'smtp_host', 'SMTP hostname', 'The hostname of the SMTP server through which mail should be sent.<br />Only required if SMTP Mail is selected as the Mail Handler.', 'text', '', 2, 24, 1),
(258, 'smtp_port', 'SMTP port', 'The port number of the SMTP server through which mail should be sent.<br />Only required if SMTP Mail is selected as the Mail Handler.', 'text', '', 3, 24, 1),
(259, 'smtp_user', 'SMTP username', 'The username used to authenticate with the SMTP server.<br />Only required if SMTP Mail is selected as the Mail Handler, and the SMTP server requires authentication.', 'text', '', 4, 24, 1),
(260, 'smtp_pass', 'SMTP password', 'The corresponding password used to authenticate with the SMTP server.<br />Only required if SMTP Mail is selected as the Mail Handler, and the SMTP server requires authentication.', 'passwordbox', '', 5, 24, 1),
(261, 'secure_smtp', 'SMTP Encryption Mode', 'Select the encryption required to communicate with the SMTP server.<br />Only required if SMTP Mail is selected as the Mail Handler.', 'select\n0=No encryption\n1=SSL encryption\n2=TLS encryption', '0', 6, 24, 1),
(262, 'mail_parameters', 'Additional Parameters for PHP''s mail()', '<strong>Not supported.</strong> Additional parameters can be set in the <a href="https://docs.mybb.com/1.8/faq/mail/#additional-parameters-for-phps-mail">Configuration File</a> instead.', 'text', '', 7, 24, 1),
(263, 'mail_logging', 'Mail Logging', 'This setting allows you to set how to log outgoing emails sent via the ''Send Thread to a Friend'' feature. In some countries it is illegal to log all content.', 'select\n0=Disable email logging\n1=Log emails without content\n2=Log everything', '2', 8, 24, 1),
(264, 'mail_message_id', 'Add message ID in mail headers', 'Disabling this option on some shared hosts resolves issues with forum emails being marked as spam.', 'yesno', '1', 9, 24, 1),
(265, 'mail_queue_limit', 'Messages to send from the mail queue', 'The number of messages to send from the mail queue every time the Send Mail Queue task is ran.', 'numeric\nmin=1', '10', 10, 24, 1),
(266, 'contact', 'Enable Contact Page', 'Setting this to Yes will allow access to the contact page.', 'yesno', '1', 1, 25, 1),
(267, 'contact_guests', 'Disable Contact Page to Guests', 'Setting this to Yes will disallow access to the contact page for guests.', 'yesno', '0', 2, 25, 1),
(268, 'contact_badwords', 'Enable Word Filter on Contact Page', 'Setting this to Yes will will send the subject and message fields through the word filter before sending.', 'yesno', '1', 3, 25, 1),
(269, 'contact_maxsubjectlength', 'Maximum Subject Length on Contact Page', 'The maximum number of characters (bytes) to allow in the subject. A setting of 0 allows an unlimited length.', 'numeric\nmin=0', '85', 4, 25, 1),
(270, 'contact_minmessagelength', 'Minimum Message Length on Contact Page', 'The minimum number of characters in order to send the message. A value of 0 disables this setting.', 'numeric\nmin=0', '5', 5, 25, 1),
(271, 'contact_maxmessagelength', 'Maximum Message Length on Contact Page', 'The maximum number of characters (bytes) to allow in the message. A setting of 0 allows an unlimited length.', 'numeric\nmin=0', '65535', 6, 25, 1),
(272, 'purgespammergroups', 'Allowed Usergroups', 'Select the usergroups which should be allowed to use Purge Spammer.', 'groupselect', '3,4,6', 1, 26, 1),
(273, 'purgespammerpostlimit', 'Post Limit', 'This setting stops this tool being used on users who have more than a certain amount of posts, to prevent it being used on active members. Setting the value to 0 will disable the post check, however this is not recommended.', 'numeric\nmin=0', '10', 2, 26, 1),
(274, 'purgespammerbandelete', 'Ban or Delete Spammers', 'Do you want to ban or delete spammers with this tool?', 'radio\nban=Ban (Permanent)\ndelete=Delete', 'ban', 3, 26, 1),
(275, 'purgespammerbangroup', 'Ban Usergroup', 'Choose the usergroup to put users into when they get purged. Defaults to the fundamental Banned usergroup.', 'groupselectsingle', '7', 4, 26, 1),
(276, 'purgespammerbanreason', 'Ban Reason', 'The reason which is used to ban the spammer.', 'text', 'Spam', 5, 26, 1),
(277, 'purgespammerapikey', 'Stop Forum Spam API Key', 'In order to be able to submit information on a spammer to the Stop Forum Spam database, you need an API key. You can get one of these <a href="https://www.stopforumspam.com/forum/register.php" target="_blank" rel="noopener">here</a>. When you have your key, paste it into the box below.', 'text', '', 6, 26, 1),
(278, 'purgespammerbanip', 'Add banned IP filter', 'Do you want to ban the spammer''s IP using this tool? If other users are issued the same banned IP, they will not be able to use the forums.', 'yesno', '1', 7, 26, 1),
(279, 'enablestopforumspam_on_register', 'Check Registrations Against StopForumSpam.com?', '\n				Do you wish to check all new registrations against the StopForumSpam.com database?', 'yesno', '0', 1, 27, 1),
(280, 'stopforumspam_on_contact', 'Check Guest Contact Submissions Against StopForumSpam?', '\n				Should guest email and IP addresses be checked against StopForumSpam when using the contact page?', 'yesno', '0', 2, 27, 1),
(281, 'stopforumspam_on_newreply', 'Check Guest Replies Against StopForumSpam?', '\n				Should guest usernames and IP addresses be checked against StopForumSpam when creating new replies?', 'yesno', '0', 3, 27, 1),
(282, 'stopforumspam_on_newthread', 'Check Guest Threads Against StopForumSpam?', '\n				Should guest usernames and IP addresses be checked against StopForumSpam when creating new threads?', 'yesno', '0', 4, 27, 1),
(283, 'stopforumspam_min_weighting_before_spam', 'Minimum stop forum spam weighting?', '\n				The minimum weighting received from StopForumSpam before deciding a user is a spammer. Should be a number between 0 and 100.', 'text', '50.00', 5, 27, 1),
(284, 'stopforumspam_check_usernames', 'Check usernames?', '\n				Should the user usernames be checked against the StopForumSpam database?', 'yesno', '0', 6, 27, 1),
(285, 'stopforumspam_check_emails', 'Check email addresses?', '\n				Should the user email addresses be checked against the StopForumSpam database?', 'yesno', '1', 7, 27, 1),
(286, 'stopforumspam_check_ips', 'Check IP addresses?', '\n				Should the user IP addresses be checked against the StopForumSpam database?', 'yesno', '1', 8, 27, 1),
(287, 'stopforumspam_block_on_error', 'Block on StopForumSpam error?', '\n				If there is an error retrieving information from the StopForumSpam API, should the user be blocked?', 'yesno', '0', 9, 27, 1),
(288, 'stopforumspam_log_blocks', 'Log StopForumSpam blocks?', '\n				Should every StopForumSpam block be logged?', 'yesno', '0', 10, 27, 1),
(289, 'allowicqfield', 'Allow ICQ Number Field To Usergroups', 'Select the usergroups which should be allowed to use the ICQ Number contact field.', 'groupselect', '-1', 1, 28, 1),
(290, 'allowskypefield', 'Allow Skype ID Field To Usergroups', 'Select the usergroups which should be allowed to use the Skype ID contact field.', 'groupselect', '-1', 2, 28, 1),
(291, 'allowgooglefield', 'Allow Google Hangouts ID Field To Usergroups', 'Select the usergroups which should be allowed to use the Google Hangouts ID contact field.', 'groupselect', '-1', 3, 28, 1),
(292, 'statsenabled', 'Enable Statistics Pages', 'If you wish to disable the statistics page on your board, set this option to No.', 'yesno', '1', 1, 29, 1),
(293, 'statscachetime', 'Statistics Cache Time', 'Insert the interval of time to refresh the statistics page cache (in hours). Set to 0 to disable caching.', 'numeric\nmin=0', '0', 2, 29, 1),
(294, 'statslimit', 'Stats Limit', 'The number of threads to show on the stats page for most replies and most views. Set to 0 to disable.', 'numeric\nmin=0', '15', 3, 29, 1),
(295, 'statstopreferrer', 'Show Top Referrer on Statistics Page', 'Do you want to show the top referrer on the stats.php page? This adds an additional query.', 'yesno', '1', 4, 29, 1),
(296, 'enableshowteam', 'Enable Forum Team Listing Functionality', 'If you wish to disable the forum team listing on your board, set this option to No.', 'yesno', '1', 1, 30, 1),
(297, 'showaddlgroups', 'Show Additional Groups', 'Whether the team list will populate considering additional groups as well.', 'yesno', '1', 2, 30, 1),
(298, 'showgroupleaders', 'Show Group Leaders', 'Include group leaders to show up in the team list.', 'yesno', '1', 3, 30, 1);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]smilies`
--

CREATE TABLE `[[dbprefix]]smilies` (
  `sid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(120) NOT NULL DEFAULT '',
  `find` text NOT NULL,
  `image` varchar(220) NOT NULL DEFAULT '',
  `disporder` smallint(5) unsigned NOT NULL DEFAULT '0',
  `showclickable` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`sid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=25 ;

--
-- Dumping data for table `[[dbprefix]]smilies`
--

INSERT INTO `[[dbprefix]]smilies` VALUES
(1, 'Smile', ':)', 'images/smilies/smile.png', 1, 1),
(2, 'Wink', ';)', 'images/smilies/wink.png', 2, 1),
(3, 'Cool', ':cool:', 'images/smilies/cool.png', 3, 1),
(4, 'Big Grin', ':D', 'images/smilies/biggrin.png', 4, 1),
(5, 'Tongue', ':P', 'images/smilies/tongue.png', 5, 1),
(6, 'Rolleyes', ':rolleyes:', 'images/smilies/rolleyes.png', 6, 1),
(7, 'Shy', ':shy:', 'images/smilies/shy.png', 7, 1),
(8, 'Sad', ':(', 'images/smilies/sad.png', 8, 1),
(9, 'At', ':at:', 'images/smilies/at.png', 9, 1),
(10, 'Angel', ':angel:', 'images/smilies/angel.png', 10, 1),
(11, 'Angry', ':@', 'images/smilies/angry.png', 11, 1),
(12, 'Blush', ':blush:', 'images/smilies/blush.png', 12, 1),
(13, 'Confused', ':s', 'images/smilies/confused.png', 13, 1),
(14, 'Dodgy', ':dodgy:', 'images/smilies/dodgy.png', 14, 1),
(15, 'Exclamation', ':exclamation:', 'images/smilies/exclamation.png', 15, 1),
(16, 'Heart', ':heart:', 'images/smilies/heart.png', 16, 1),
(17, 'Huh', ':huh:', 'images/smilies/huh.png', 17, 1),
(18, 'Idea', ':idea:', 'images/smilies/lightbulb.png', 18, 1),
(19, 'Sleepy', ':sleepy:', 'images/smilies/sleepy.png', 19, 1),
(20, 'Undecided', ':-/', 'images/smilies/undecided.png', 20, 1),
(21, 'Cry', ':cry:', 'images/smilies/cry.png', 21, 1),
(22, 'Sick', ':sick:', 'images/smilies/sick.png', 22, 1),
(23, 'Arrow', ':arrow:', 'images/smilies/arrow.png', 23, 1),
(24, 'My', ':my:', 'images/smilies/my.png', 24, 1);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]spamlog`
--

CREATE TABLE `[[dbprefix]]spamlog` (
  `sid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `username` varchar(120) NOT NULL DEFAULT '',
  `email` varchar(220) NOT NULL DEFAULT '',
  `ipaddress` varbinary(16) NOT NULL DEFAULT '',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `data` text NOT NULL,
  PRIMARY KEY (`sid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]spiders`
--

CREATE TABLE `[[dbprefix]]spiders` (
  `sid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL DEFAULT '',
  `theme` smallint(5) unsigned NOT NULL DEFAULT '0',
  `language` varchar(20) NOT NULL DEFAULT '',
  `usergroup` smallint(5) unsigned NOT NULL DEFAULT '0',
  `useragent` varchar(200) NOT NULL DEFAULT '',
  `lastvisit` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`sid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=16 ;

--
-- Dumping data for table `[[dbprefix]]spiders`
--

INSERT INTO `[[dbprefix]]spiders` VALUES
(1, 'Google', 0, '', 0, 'Googlebot', 0),
(2, 'Bing', 0, '', 0, 'bingbot', 0),
(3, 'Alexa Internet', 0, '', 0, 'ia_archiver', 0),
(4, 'Ask.com', 0, '', 0, 'Teoma', 0),
(5, 'Baidu', 0, '', 0, 'Baiduspider', 0),
(6, 'Yandex', 0, '', 0, 'YandexBot', 0),
(7, 'Facebook', 0, '', 0, 'facebookexternalhit', 0),
(8, 'Twitter', 0, '', 0, 'Twitterbot', 0),
(9, 'Internet Archive', 0, '', 0, 'archive.org_bot', 0),
(10, 'Discord', 0, '', 0, 'Discordbot', 0),
(11, 'Applebot', 0, '', 0, 'Applebot', 0),
(12, 'CheckHost', 0, '', 0, 'CheckHost', 0),
(13, 'Pingdom', 0, '', 0, 'Pingdom.com_bot', 0),
(14, 'DuckDuckGo', 0, '', 0, 'DuckDuckBot', 0),
(15, 'UptimeRobot', 0, '', 0, 'UptimeRobot', 0);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]stats`
--

CREATE TABLE `[[dbprefix]]stats` (
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `numusers` int(10) unsigned NOT NULL DEFAULT '0',
  `numthreads` int(10) unsigned NOT NULL DEFAULT '0',
  `numposts` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `[[dbprefix]]stats`
--

INSERT INTO `[[dbprefix]]stats` VALUES
([[timestamp]], 1, 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]tasklog`
--

CREATE TABLE `[[dbprefix]]tasklog` (
  `lid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tid` int(10) unsigned NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `data` text NOT NULL,
  PRIMARY KEY (`lid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]tasks`
--

CREATE TABLE `[[dbprefix]]tasks` (
  `tid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(120) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `file` varchar(30) NOT NULL DEFAULT '',
  `minute` varchar(200) NOT NULL DEFAULT '',
  `hour` varchar(200) NOT NULL DEFAULT '',
  `day` varchar(100) NOT NULL DEFAULT '',
  `month` varchar(30) NOT NULL DEFAULT '',
  `weekday` varchar(15) NOT NULL DEFAULT '',
  `nextrun` int(10) unsigned NOT NULL DEFAULT '0',
  `lastrun` int(10) unsigned NOT NULL DEFAULT '0',
  `enabled` tinyint(1) NOT NULL DEFAULT '1',
  `logging` tinyint(1) NOT NULL DEFAULT '0',
  `locked` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`tid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;

--
-- Dumping data for table `[[dbprefix]]tasks`
--

INSERT INTO `[[dbprefix]]tasks` VALUES
(1, 'Hourly Cleanup', 'Cleans out old searches, captcha images, registration questions and expires redirects.', 'hourlycleanup', '0', '*', '*', '*', '*', [[timestamp]], 0, 1, 1, 0),
(2, 'Daily Cleanup', 'Cleans out old sessions and read threads.', 'dailycleanup', '0', '0', '*', '*', '*', [[timestamp_nextday]], 0, 1, 1, 0),
(3, 'Half-hourly User Cleanup', 'Automatically expires bans, warnings and posting suspension and moderation times for users.', 'usercleanup', '30,59', '*', '*', '*', '*', [[timestamp]], 0, 1, 1, 0),
(4, 'Weekly Backup', 'Automatically backups your MyBB tables to your backups directory.', 'backupdb', '0', '0', '*', '*', '0', [[timestamp_nextday]], 0, 0, 1, 0),
(5, 'Promotion System', 'Automatically runs the promotion system every 20 minutes.', 'promotions', '5,25,45', '*', '*', '*', '*', [[timestamp]], 0, 1, 1, 0),
(6, 'Thread Views', 'Automatically updates thread views every 15 minutes. This task will automatically be enabled or disabled when changing the ''Delayed Thread Views'' setting.', 'threadviews', '10,25,40,55', '*', '*', '*', '*', [[timestamp]], 0, 0, 1, 0),
(7, 'Tables Check', 'Automatically runs a table check and attempts to repair any crashed tables.', 'checktables', '0', '*', '*', '*', '*', [[timestamp]], 0, 0, 1, 0),
(8, 'Log Pruning', 'Automatically cleans up old MyBB log files (administrator, moderator, task, promotion, and mail logs.)', 'logcleanup', '21', '5', '*', '*', '*', [[timestamp_nextday]], 0, 1, 1, 0),
(9, 'Mass Mail', 'Automatically sends any queued mass mailings every 15 minutes.', 'massmail', '10,25,40,55', '*', '*', '*', '*', [[timestamp]], 0, 1, 1, 0),
(10, 'User Pruning', 'Automatically prunes users based on criteria set in the settings every day.', 'userpruning', '0', '2', '*', '*', '*', [[timestamp_nextday]], 0, 1, 1, 0),
(11, 'Delayed Moderation', 'Automatically performs delayed moderation actions every 24 hours.', 'delayedmoderation', '0', '0', '*', '*', '*', [[timestamp_nextday]], 0, 1, 1, 0),
(12, 'Version Check', 'Automatically checks for news and new versions of MyBB every day.', 'versioncheck', '0', '21', '*', '*', '3', [[timestamp]], 0, 1, 1, 0),
(13, 'Stylesheet Re-Cache', 'Re-caches all stylesheets to the filesystem, including minifying the styles.', 'recachestylesheets', '0', '0', '1', '0', '0', 1736035200, 0, 0, 1, 0),
(14, 'Send Mail Queue', 'Sends the mail queue every minute.', 'sendmailqueue', '*', '*', '*', '*', '*', [[timestamp]], 0, 1, 1, 0);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]templategroups`
--

CREATE TABLE `[[dbprefix]]templategroups` (
  `gid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `prefix` varchar(50) NOT NULL DEFAULT '',
  `title` varchar(100) NOT NULL DEFAULT '',
  `isdefault` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`gid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=43 ;

--
-- Dumping data for table `[[dbprefix]]templategroups`
--

INSERT INTO `[[dbprefix]]templategroups` VALUES
(1, 'calendar', '<lang:group_calendar>', 1),
(2, 'editpost', '<lang:group_editpost>', 1),
(3, 'forumbit', '<lang:group_forumbit>', 1),
(4, 'forumjump', '<lang:group_forumjump>', 1),
(5, 'forumdisplay', '<lang:group_forumdisplay>', 1),
(6, 'index', '<lang:group_index>', 1),
(7, 'error', '<lang:group_error>', 1),
(8, 'memberlist', '<lang:group_memberlist>', 1),
(9, 'multipage', '<lang:group_multipage>', 1),
(10, 'private', '<lang:group_private>', 1),
(11, 'portal', '<lang:group_portal>', 1),
(12, 'postbit', '<lang:group_postbit>', 1),
(13, 'posticons', '<lang:group_posticons>', 1),
(14, 'showthread', '<lang:group_showthread>', 1),
(15, 'usercp', '<lang:group_usercp>', 1),
(16, 'online', '<lang:group_online>', 1),
(17, 'moderation', '<lang:group_moderation>', 1),
(18, 'nav', '<lang:group_nav>', 1),
(19, 'search', '<lang:group_search>', 1),
(20, 'showteam', '<lang:group_showteam>', 1),
(21, 'reputation', '<lang:group_reputation>', 1),
(22, 'newthread', '<lang:group_newthread>', 1),
(23, 'newreply', '<lang:group_newreply>', 1),
(24, 'member', '<lang:group_member>', 1),
(25, 'warnings', '<lang:group_warning>', 1),
(26, 'global', '<lang:group_global>', 1),
(27, 'header', '<lang:group_header>', 1),
(28, 'managegroup', '<lang:group_managegroup>', 1),
(29, 'misc', '<lang:group_misc>', 1),
(30, 'modcp', '<lang:group_modcp>', 1),
(31, 'announcement', '<lang:group_announcement>', 1),
(32, 'polls', '<lang:group_polls>', 1),
(33, 'post', '<lang:group_post>', 1),
(34, 'printthread', '<lang:group_printthread>', 1),
(35, 'report', '<lang:group_report>', 1),
(36, 'smilieinsert', '<lang:group_smilieinsert>', 1),
(37, 'stats', '<lang:group_stats>', 1),
(38, 'xmlhttp', '<lang:group_xmlhttp>', 1),
(39, 'footer', '<lang:group_footer>', 1),
(40, 'video', '<lang:group_video>', 1),
(41, 'sendthread', '<lang:group_sendthread>', 1),
(42, 'mycode', '<lang:group_mycode>', 1);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]templates`
--

CREATE TABLE `[[dbprefix]]templates` (
  `tid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(120) NOT NULL DEFAULT '',
  `template` text NOT NULL,
  `sid` smallint(6) NOT NULL DEFAULT '0',
  `version` varchar(20) NOT NULL DEFAULT '0',
  `status` varchar(10) NOT NULL DEFAULT '',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`tid`),
  KEY `sid` (`sid`,`title`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=975 ;

--
-- Dumping data for table `[[dbprefix]]templates`
--

INSERT INTO `[[dbprefix]]templates` VALUES
(1, 'announcement', '<html>\n<head>\n<title>{$lang->forum_announcement}</title>\n{$headerinclude}\n<script type="text/javascript">\nvar announcement_quickdelete_confirm = "{$lang->announcement_quickdelete_confirm}";\n</script>\n</head>\n<body>\n{$header}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed clear no_bottom_border">\n<tr>\n<td class="thead"><strong>{$lang->forum_announcement}</strong></td>\n</tr>\n<tr><td id="posts_container">\n	<div id="posts">\n	{$announcement}\n	</div>\n</td></tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1820', '', [[timestamp]]),
(2, 'announcement_edit', '<a href="modcp.php?action=edit_announcement&amp;aid={$post[''aid'']}" title="{$lang->announcement_edit}" class="postbit_edit"><span>{$lang->postbit_button_edit}</span></a>', -2, '1800', '', [[timestamp]]),
(3, 'announcement_quickdelete', '<a href="modcp.php?action=delete_announcement&amp;aid={$post[''aid'']}&amp;my_post_key={$mybb->post_code}" onclick="MyBB.deleteAnnouncement(this); return false;" class="postbit_qdelete"><span>{$lang->postbit_button_qdelete}</span></a>', -2, '1800', '', [[timestamp]]),
(4, 'calendar', '<html>\n<head>\n	<title>{$mybb->settings[''bbname'']} - {$lang->calendar}</title>\n	{$headerinclude}\n</head>\n<body>\n	{$header}\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<thead>\n			<tr>\n				<td class="thead" colspan="8">\n					<div class="float_right">\n						{$prev_month_link}{$sep}{$next_month_link}\n					</div>\n					<div><strong>{$monthnames[$month]} {$year}</strong></div>\n				</td>\n			</tr>\n			<tr>\n				<td class="tcat">&nbsp;</td>\n			{$weekday_headers}\n			</tr>\n		</thead>\n		<tbody>\n		{$calendar_rows}\n		</tbody>\n	</table>\n<br />\n<form action="calendar.php" method="post">\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="trow1">\n				<table width="100%" cellspacing="0" cellpadding="0" border="0">\n					<tr>\n						<td valign="top">{$addevent}</td>\n						<td align="right">\n						<span class="smalltext"><strong>{$lang->jump_month}</strong></span>\n						<select name="month">\n							<option value="{$month}">{$monthnames[$month]}</option>\n							<option value="{$month}">----------</option>\n							<option value="1">{$lang->alt_month_1}</option>\n							<option value="2">{$lang->alt_month_2}</option>\n							<option value="3">{$lang->alt_month_3}</option>\n							<option value="4">{$lang->alt_month_4}</option>\n							<option value="5">{$lang->alt_month_5}</option>\n							<option value="6">{$lang->alt_month_6}</option>\n							<option value="7">{$lang->alt_month_7}</option>\n							<option value="8">{$lang->alt_month_8}</option>\n							<option value="9">{$lang->alt_month_9}</option>\n							<option value="10">{$lang->alt_month_10}</option>\n							<option value="11">{$lang->alt_month_11}</option>\n							<option value="12">{$lang->alt_month_12}</option>\n						</select>\n						<select name="year">\n							<option value="{$year}">{$year}</option>\n							<option value="{$year}">----------</option>\n							{$yearsel}\n						</select>\n						{$gobutton}\n						<br />\n						{$calendar_jump}\n						</td>\n					</tr>\n				</table>\n			</td>\n		</tr>\n		</table>\n	</form>\n{$footer}\n</body>\n</html>', -2, '1813', '', [[timestamp]]),
(5, 'calendar_addevent', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->calendar} - {$lang->add_event}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$event_errors}\n<form action="calendar.php" method="post" name="input">\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder clear">\n		<tr>\n			<td colspan="2" width="100%" class="thead"><strong>{$lang->add_event}</strong></td>\n		</tr>\n		<tr>\n			<td width="20%" class="trow1"><strong>{$lang->event_name}</strong></td>\n			<td class="trow1"><input type="text" class="textbox" size="50" name="name" maxlength="120" value="{$name}"/></td>\n		</tr>\n		{$calendar_select}\n		<tr>\n			<td class="trow2" style="vertical-align: top;"><strong>{$lang->event_date}</strong></td>\n			<td class="trow1">\n				<script type="text/javascript">\n				<!--\n					function toggleType()\n					{\n						if($("#type_single").prop("checked"))\n						{\n							$("#ranged_selects").hide();\n							$("#single_selects").show();\n						}\n						else\n						{\n							$("#single_selects").hide();\n							$("#ranged_selects").show();\n							toggleRepeats();\n						}\n					}\n\n					function toggleRepeats()\n					{\n						var repeats = $("#repeats").get(0).selectedIndex;\n						$(".repeats_type").each(function()\n						{\n							$(this).hide();\n						});\n						if($("#repeats_type_"+repeats).length > 0)\n						{\n							$("#repeats_type_"+repeats).show();\n						}\n					}\n				// -->\n				</script>\n				<dl style="margin-top: 0; margin-bottom: 0; width: 100%;">\n					<dt><input type="radio" name="type" value="single" {$type_single} id="type_single" onclick="toggleType();" /> <label for="type_single"><strong>{$lang->type_single}</strong></label></dt>\n					<dd style="margin-top: 4px;" id="single_selects">\n						<select name="single_day">\n							{$single_days}\n						</select>\n						&nbsp;\n						<select name="single_month">\n							<option value="1"{$single_month[''1'']}>{$lang->month_1}</option>\n							<option value="2"{$single_month[''2'']}>{$lang->month_2}</option>\n							<option value="3"{$single_month[''3'']}>{$lang->month_3}</option>\n							<option value="4"{$single_month[''4'']}>{$lang->month_4}</option>\n							<option value="5"{$single_month[''5'']}>{$lang->month_5}</option>\n							<option value="6"{$single_month[''6'']}>{$lang->month_6}</option>\n							<option value="7"{$single_month[''7'']}>{$lang->month_7}</option>\n							<option value="8"{$single_month[''8'']}>{$lang->month_8}</option>\n							<option value="9"{$single_month[''9'']}>{$lang->month_9}</option>\n							<option value="10"{$single_month[''10'']}>{$lang->month_10}</option>\n							<option value="11"{$single_month[''11'']}>{$lang->month_11}</option>\n							<option value="12"{$single_month[''12'']}>{$lang->month_12}</option>\n						</select>\n						&nbsp;\n						<select name="single_year">\n							{$single_years}\n						</select>\n					</dd>\n					<dt><input type="radio" name="type" value="ranged" {$type_ranged} id="type_ranged" onclick="toggleType();" /> <label for="type_ranged"><strong>{$lang->type_ranged}</strong></label></dt>\n					<dd style="margin-top: 4px; width: 100%;" id="ranged_selects">\n						<table width="100%">\n							<tr>\n								<td class="smalltext" style="padding: 4px; text-align: right;">{$lang->start_time}</td>\n								<td style="padding: 4px;">\n									<select name="start_day">\n										{$start_days}\n									</select>\n									<select name="start_month">\n										<option value="1"{$start_month[''1'']}>{$lang->month_1}</option>\n										<option value="2"{$start_month[''2'']}>{$lang->month_2}</option>\n										<option value="3"{$start_month[''3'']}>{$lang->month_3}</option>\n										<option value="4"{$start_month[''4'']}>{$lang->month_4}</option>\n										<option value="5"{$start_month[''5'']}>{$lang->month_5}</option>\n										<option value="6"{$start_month[''6'']}>{$lang->month_6}</option>\n										<option value="7"{$start_month[''7'']}>{$lang->month_7}</option>\n										<option value="8"{$start_month[''8'']}>{$lang->month_8}</option>\n										<option value="9"{$start_month[''9'']}>{$lang->month_9}</option>\n										<option value="10"{$start_month[''10'']}>{$lang->month_10}</option>\n										<option value="11"{$start_month[''11'']}>{$lang->month_11}</option>\n										<option value="12"{$start_month[''12'']}>{$lang->month_12}</option>\n									</select>\n									<select name="start_year">\n										{$start_years}\n									</select>\n									<span class="smalltext">&nbsp;&nbsp;&nbsp;{$lang->enter_time}</span>\n									<input type="text" class="textbox" name="start_time" value="{$start_time}" size="7" />\n								</td>\n							</tr>\n							<tr>\n								<td class="smalltext" style="padding: 4px; text-align: right;">{$lang->end_time}</td>\n								<td style="padding: 4px;">\n									<select name="end_day">\n										{$end_days}\n									</select>\n									<select name="end_month">\n										<option value="1"{$end_month[''1'']}>{$lang->month_1}</option>\n										<option value="2"{$end_month[''2'']}>{$lang->month_2}</option>\n										<option value="3"{$end_month[''3'']}>{$lang->month_3}</option>\n										<option value="4"{$end_month[''4'']}>{$lang->month_4}</option>\n										<option value="5"{$end_month[''5'']}>{$lang->month_5}</option>\n										<option value="6"{$end_month[''6'']}>{$lang->month_6}</option>\n										<option value="7"{$end_month[''7'']}>{$lang->month_7}</option>\n										<option value="8"{$end_month[''8'']}>{$lang->month_8}</option>\n										<option value="9"{$end_month[''9'']}>{$lang->month_9}</option>\n										<option value="10"{$end_month[''10'']}>{$lang->month_10}</option>\n										<option value="11"{$end_month[''11'']}>{$lang->month_11}</option>\n										<option value="12"{$end_month[''12'']}>{$lang->month_12}</option>\n									</select>\n									<select name="end_year">\n										{$end_years}\n									</select>\n									<span class="smalltext">&nbsp;&nbsp;&nbsp;{$lang->enter_time}</span>\n									<input type="text" class="textbox" name="end_time" value="{$end_time}" size="7" />\n								</td>\n							</tr>\n							<tr>\n								<td class="smalltext" style="padding: 4px; text-align: right; vertical-align: top;">{$lang->timezone}</td>\n								<td style="padding: 4px;">\n									{$timezones}<br />\n									<label class="smalltext" style="display: block; padding-top: 4px;"><input type="checkbox" name="ignoretimezone" value="1" {$ignore_timezone} style="vertical-align: middle;" /> {$lang->ignore_timezone} </label>\n								</td>\n							</tr>\n							<tr>\n								<td class="smalltext" style="padding: 4px; text-align: right; vertical-align:top;">{$lang->repeats}</td>\n								<td class="smalltext" style="padding: 4px;">\n									<select name="repeats" id="repeats" onchange="toggleRepeats();">\n										<option value="0">{$lang->does_not_repeat}</option>\n										<option value="1"{$repeats_sel[1]}>{$lang->repeats_daily}</option>\n										<option value="2"{$repeats_sel[2]}>{$lang->repeats_weekdays}</option>\n										<option value="3"{$repeats_sel[3]}>{$lang->repeats_weekly}</option>\n										<option value="4"{$repeats_sel[4]}>{$lang->repeats_monthly}</option>\n										<option value="5"{$repeats_sel[5]}>{$lang->repeats_yearly}</option>\n									</select>\n									<div class="repeats_type" id="repeats_type_1" style="padding: 4px;">\n										{$lang->repeats_every}\n										<input type="text" class="textbox" name="repeats_1_days" value="{$repeats_1_days}" size="2" /> {$lang->day_or_days}\n									</div>\n									<div class="repeats_type" id="repeats_type_3" style="padding: 4px;">\n										{$lang->repeats_every}\n										<input type="text" class="textbox" name="repeats_3_weeks" value="{$repeats_3_weeks}" size="2" /> {$lang->week_or_weeks_on}\n										<br />\n										<table style="padding: 4px;">\n											<tr>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[0]" value="1" {$repeats_3_days[0]} style="vertical-align: middle;" /> {$lang->sunday}</label></td>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[1]" value="1" {$repeats_3_days[1]} style="vertical-align: middle;" /> {$lang->monday}</label></td>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[2]" value="1" {$repeats_3_days[2]} style="vertical-align: middle;" /> {$lang->tuesday}</label></td>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[3]" value="1" {$repeats_3_days[3]} style="vertical-align: middle;" /> {$lang->wednesday}</label></td>\n											</tr>\n											<tr>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[4]" value="1" {$repeats_3_days[4]} style="vertical-align: middle;" /> {$lang->thursday}</label></td>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[5]" value="1" {$repeats_3_days[5]} style="vertical-align: middle;" /> {$lang->friday}</label></td>\n												<td style="padding: 2px;" class="smalltext" colspan="2"><label><input type="checkbox" name="repeats_3_days[6]" value="1" {$repeats_3_days[6]} style="vertical-align: middle;" /> {$lang->saturday}</label></td>\n											</tr>\n										</table>\n									</div>\n									<div class="repeats_type" id="repeats_type_4" style="padding: 4px;">\n										<div class="smalltext"><label>\n											<input type="radio" name="repeats_4_type" id="repeats_4_type_1" value="1" style="vertical-align: middle;" {$repeats_4_type[1]} />\n											{$lang->repeats_on_day}</label>\n											<input type="text" class="textbox" name="repeats_4_day" value="{$repeats_4_day}" onfocus="$(''#repeats_4_type_1'').prop(''checked'', true);" size="2" /> {$lang->of_every} <input type="text" class="textbox" name="repeats_4_months" value="{$repeats_4_months}" size="2" onfocus="$(''#repeats_4_type_1'').prop(''checked'', true);" /> {$lang->month_or_months}\n										</div>\n										<div class="smalltext" style="margin-top: 5px;"><label>\n											<input type="radio" name="repeats_4_type" id="repeats_4_type_2" value="2" style="vertical-align: middle;" {$repeats_4_type[2]} />\n											{$lang->repeats_on_the}</label>\n											<select name="repeats_4_occurance" onfocus="$(''#repeats_4_type_2'').prop(''checked'', true);">\n												<option value="1"{$repeats_4_occurance[1]}>{$lang->first}</option>\n												<option value="2"{$repeats_4_occurance[2]}>{$lang->second}</option>\n												<option value="3"{$repeats_4_occurance[3]}>{$lang->third}</option>\n												<option value="4"{$repeats_4_occurance[4]}>{$lang->fourth}</option>\n												<option value="last"{$repeats_4_occurance[''last'']}>{$lang->last}</option>\n											</select>\n											<select name="repeats_4_weekday" onfocus="$(''#repeats_4_type_2'').prop(''checked'', true);">\n												<option value="0"{$repeats_4_weekday[0]}>{$lang->sunday}</option>\n												<option value="1"{$repeats_4_weekday[1]}>{$lang->monday}</option>\n												<option value="2"{$repeats_4_weekday[2]}>{$lang->tuesday}</option>\n												<option value="3"{$repeats_4_weekday[3]}>{$lang->wednesday}</option>\n												<option value="4"{$repeats_4_weekday[4]}>{$lang->thursday}</option>\n												<option value="5"{$repeats_4_weekday[5]}>{$lang->friday}</option>\n												<option value="6"{$repeats_4_weekday[6]}>{$lang->saturday}</option>\n											</select>\n											{$lang->of_every}\n											<input type="text" class="textbox" name="repeats_4_months2" value="{$repeats_4_months2}" size="2" onfocus="$(''#repeats_4_type_2'').prop(''checked'', true);" /> {$lang->month_or_months}\n										</div>\n									</div>\n									<div class="repeats_type" id="repeats_type_5" style="padding: 4px;">\n										<div class="smalltext"><label>\n											<input type="radio" name="repeats_5_type" value="1" id="repeats_5_type_1" style="vertical-align: middle;" {$repeats_5_type[1]} />\n											{$lang->repeats_on}</label>\n											<input type="text" class="textbox" name="repeats_5_day" onfocus="$(''#repeats_5_type_1'').prop(''checked'', true);" value="{$repeats_5_day}" size="2" />\n											<select name="repeats_5_month" onfocus="$(''#repeats_5_type_1'').prop(''checked'', true);" >\n												<option value="1"{$repeats_5_month[''1'']}>{$lang->month_1}</option>\n												<option value="2"{$repeats_5_month[''2'']}>{$lang->month_2}</option>\n												<option value="3"{$repeats_5_month[''3'']}>{$lang->month_3}</option>\n												<option value="4"{$repeats_5_month[''4'']}>{$lang->month_4}</option>\n												<option value="5"{$repeats_5_month[''5'']}>{$lang->month_5}</option>\n												<option value="6"{$repeats_5_month[''6'']}>{$lang->month_6}</option>\n												<option value="7"{$repeats_5_month[''7'']}>{$lang->month_7}</option>\n												<option value="8"{$repeats_5_month[''8'']}>{$lang->month_8}</option>\n												<option value="9"{$repeats_5_month[''9'']}>{$lang->month_9}</option>\n												<option value="10"{$repeats_5_month[''10'']}>{$lang->month_10}</option>\n												<option value="11"{$repeats_5_month[''11'']}>{$lang->month_11}</option>\n												<option value="12"{$repeats_5_month[''12'']}>{$lang->month_12}</option>\n											</select>\n											{$lang->every}\n											<input type="text" class="textbox" name="repeats_5_years" value="{$repeats_5_years}" onfocus="$(''#repeats_5_type_1'').prop(''checked'', true);" size="2" /> {$lang->year_or_years}\n										</div>\n										<div class="smalltext" style="margin-top: 5px;"><label>\n											<input type="radio" name="repeats_5_type" value="2" id="repeats_5_type_2" style="vertical-align: middle;" {$repeats_5_type[2]} />\n											{$lang->repeats_on_the}</label>\n											<select name="repeats_5_occurance" onfocus="$(''#repeats_5_type_2'').prop(''checked'', true);" >\n												<option value="1"{$repeats_5_occurance[1]}>{$lang->first}</option>\n												<option value="2"{$repeats_5_occurance[2]}>{$lang->second}</option>\n												<option value="3"{$repeats_5_occurance[3]}>{$lang->third}</option>\n												<option value="4"{$repeats_5_occurance[4]}>{$lang->fourth}</option>\n												<option value="last"{$repeats_4_occurance[''last'']}>{$lang->last}</option>\n											</select>\n											<select name="repeats_5_weekday" onfocus="$(''#repeats_5_type_2'').prop(''checked'', true);" >\n												<option value="0"{$repeats_5_weekday[0]}>{$lang->sunday}</option>\n												<option value="1"{$repeats_5_weekday[1]}>{$lang->monday}</option>\n												<option value="2"{$repeats_5_weekday[2]}>{$lang->tuesday}</option>\n												<option value="3"{$repeats_5_weekday[3]}>{$lang->wednesday}</option>\n												<option value="4"{$repeats_5_weekday[4]}>{$lang->thursday}</option>\n												<option value="5"{$repeats_5_weekday[5]}>{$lang->friday}</option>\n												<option value="6"{$repeats_5_weekday[6]}>{$lang->saturday}</option>\n											</select>\n											{$lang->of}\n											<select name="repeats_5_month2" onfocus="$(''#repeats_5_type_2'').prop(''checked'', true);" >\n												<option value="1"{$repeats_5_month2[''1'']}>{$lang->month_1}</option>\n												<option value="2"{$repeats_5_month2[''2'']}>{$lang->month_2}</option>\n												<option value="3"{$repeats_5_month2[''3'']}>{$lang->month_3}</option>\n												<option value="4"{$repeats_5_month2[''4'']}>{$lang->month_4}</option>\n												<option value="5"{$repeats_5_month2[''5'']}>{$lang->month_5}</option>\n												<option value="6"{$repeats_5_month2[''6'']}>{$lang->month_6}</option>\n												<option value="7"{$repeats_5_month2[''7'']}>{$lang->month_7}</option>\n												<option value="8"{$repeats_5_month2[''8'']}>{$lang->month_8}</option>\n												<option value="9"{$repeats_5_month2[''9'']}>{$lang->month_9}</option>\n												<option value="10"{$repeats_5_month2[''10'']}>{$lang->month_10}</option>\n												<option value="11"{$repeats_5_month2[''11'']}>{$lang->month_11}</option>\n												<option value="12"{$repeats_5_month2[''12'']}>{$lang->month_12}</option>\n											</select>\n											{$lang->every}\n											<input type="text" class="textbox" name="repeats_5_years2" value="{$repeats_5_years}" size="2" onfocus="$(''#repeats_5_type_2'').prop(''checked'', true);" /> {$lang->year_or_years}\n										</div>\n									</div>\n								</td>\n							</tr>\n						</table>\n					</dd>\n				</dl>\n				<script type="text/javascript">\n				<!--\n					toggleType();\n					toggleRepeats();\n				// -->\n				</script>\n			</td>\n		</tr>\n		<tr>\n			<td valign="top" width="20%" class="trow1"><strong>{$lang->event_details}</strong>{$smilieinserter}</td>\n			<td class="trow1"><textarea name="description" id="message" rows="20" cols="70">{$description}</textarea>\n			{$codebuttons}</td>\n		</tr>\n		<tr>\n			<td width="20%" class="trow2"><strong>{$lang->event_options}</strong></td>\n			<td class="trow2">\n				<input type="checkbox" class="checkbox" name="private" value="1"{$privatecheck} /><span class="smalltext">{$lang->private_option}</span><br />\n			</td>\n		</tr>\n	</table>\n	<br />\n	<input type="hidden" name="action" value="do_addevent" />\n	<div align="center"><input type="submit" class="button" value="{$lang->post_event}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(6, 'calendar_addevent_calendarselect', '		<tr>\n			<td width="20%" class="trow1"><strong>{$lang->select_calendar}</strong></td>\n			<td class="trow1">\n				<select name="calendar">\n					{$select_calendar}\n				</select>\n			</td>\n		</tr>', -2, '1800', '', [[timestamp]]),
(7, 'calendar_addevent_calendarselect_hidden', '<input type="hidden" name="calendar" value="{$calendar[''cid'']}" />', -2, '1800', '', [[timestamp]]),
(8, 'calendar_addeventlink', '<a href="calendar.php?action=addevent&amp;calendar={$calendar[''cid'']}">{$lang->add_public_event}</a> | <a href="calendar.php?action=addevent&amp;calendar={$calendar[''cid'']}&amp;private=1">{$lang->add_private_event}</a>', -2, '1400', '', [[timestamp]]),
(9, 'calendar_addprivateevent', '<a href="calendar.php?action=addevent&amp;calendar={$calendar[''cid'']}&amp;private=1">{$lang->add_private_event}</a>', -2, '1400', '', [[timestamp]]),
(10, 'calendar_addpublicevent', '<a href="calendar.php?action=addevent&amp;calendar={$calendar[''cid'']}">{$lang->add_public_event}</a>', -2, '1400', '', [[timestamp]]),
(11, 'calendar_day', '<option value="{$day}" {$selected}>{$day}</option>', -2, '1800', '', [[timestamp]]),
(12, 'calendar_dayview', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->calendar}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$birthdays}\n{$events}\n<br />\n<form action="calendar.php" method="post">\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="trow1">\n				<table width="100%" cellspacing="0" cellpadding="0" border="0">\n					<tr>\n					<td valign="top">{$addevent}</td>\n						<td align="right">\n						<span class="smalltext"><strong>{$lang->jump_month}</strong></span>\n						<select name="month">\n							<option value="{$month}">{$monthnames[$month]}</option>\n							<option value="{$month}">----------</option>\n							<option value="1">{$lang->alt_month_1}</option>\n							<option value="2">{$lang->alt_month_2}</option>\n							<option value="3">{$lang->alt_month_3}</option>\n							<option value="4">{$lang->alt_month_4}</option>\n							<option value="5">{$lang->alt_month_5}</option>\n							<option value="6">{$lang->alt_month_6}</option>\n							<option value="7">{$lang->alt_month_7}</option>\n							<option value="8">{$lang->alt_month_8}</option>\n							<option value="9">{$lang->alt_month_9}</option>\n							<option value="10">{$lang->alt_month_10}</option>\n							<option value="11">{$lang->alt_month_11}</option>\n							<option value="12">{$lang->alt_month_12}</option>\n						</select>\n						<select name="year">\n							<option value="{$year}">{$year}</option>\n							<option value="{$year}">----------</option>\n							{$yearsel}\n						</select>\n						{$gobutton}\n						<br />\n						{$calendar_jump}\n						</td>\n					</tr>\n				</table>\n			</td>\n		</tr>\n	</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(13, 'calendar_dayview_birthdays', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$lang->birthdays_on_day}</strong></td>\n</tr>\n<tr>\n<td class="trow1"><span class="smalltext">{$birthday_list}</span></td>\n</tr>\n</table>\n<br />', -2, '1400', '', [[timestamp]]),
(14, 'calendar_dayview_birthdays_bday', '{$comma}{$birthday[''profilelink'']}{$age}', -2, '1400', '', [[timestamp]]),
(15, 'calendar_dayview_event', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n	<tr>\n		<td class="thead"><strong>{$event[''name'']}</strong></td>\n	</tr>\n	<tr>\n		<td class="tcat"><strong>{$time_period}</strong></td>\n	</tr>\n	<tr>\n		<td class="trow1{$event_class}">\n			<div class="float_left">\n				<strong><span class="largetext">{$event[''profilelink'']}</span></strong><br />\n				<span class="smalltext">\n					{$event[''usertitle'']}<br />\n					{$event[''userstars'']}\n				</span>\n			</div>\n			<div class="float_right" style="text-align: right;">\n				{$moderator_options}\n				{$repeats}\n			</div>\n			<br class="clear" />\n		</td>\n	</tr>\n	<tr>\n		<td class="trow2 scaleimages{$event_class}">\n			<p>{$event[''description'']}</p>\n			{$edit_event}\n		</td>\n	</tr>\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(16, 'calendar_dayview_noevents', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="trow1">{$lang->no_events}</td>\n</tr>\n</table>', -2, '1400', '', [[timestamp]]),
(17, 'calendar_editevent', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->calendar} - {$lang->edit_event}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$event_errors}\n<form action="calendar.php" method="post">\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="thead" colspan="3"><strong>{$lang->delete_event}</strong></td>\n		</tr>\n		<tr>\n			<td class="trow1" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="delete" value="1" tabindex="9" /> <strong>{$lang->delete_q}</strong></td>\n			<td class="trow1" width="100%">{$lang->delete_1}<br /><span class="smalltext">{$lang->delete_2}</span></td>\n			<td class="trow1"><input type="submit" class="button" name="submit" value="{$lang->delete_now}" tabindex="10" /></td>\n		</tr>\n	</table>\n	<input type="hidden" name="action" value="do_deleteevent" />\n	<input type="hidden" name="eid" value="{$event[''eid'']}" />\n</form>\n<br />\n<form action="calendar.php" method="post" name="input">\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder clear">\n		<tr>\n			<td colspan="2" width="100%" class="thead"><strong>{$lang->edit_event}</strong></td>\n		</tr>\n		<tr>\n			<td width="20%" class="trow1"><strong>{$lang->event_name}</strong></td>\n			<td class="trow1"><input type="text" class="textbox" size="50" name="name" maxlength="120" value="{$name}"/></td>\n		</tr>\n		<tr>\n			<td class="trow2" style="vertical-align: top;"><strong>{$lang->event_date}</strong></td>\n			<td class="trow1">\n				<script type="text/javascript">\n				<!--\n					function toggleType()\n					{\n						if($("#type_single").prop("checked"))\n						{\n							$("#ranged_selects").hide();\n							$("#single_selects").show();\n						}\n						else\n						{\n							$("#single_selects").hide();\n							$("#ranged_selects").show();\n							toggleRepeats();\n						}\n					}\n\n					function toggleRepeats()\n					{\n						var repeats = $("#repeats").get(0).selectedIndex;\n						$(".repeats_type").each(function()\n						{\n							$(this).hide();\n						});\n						if($("#repeats_type_"+repeats).length > 0)\n						{\n							$("#repeats_type_"+repeats).show();\n						}\n					}\n				// -->\n				</script>\n				<dl style="margin-top: 0; margin-bottom: 0; width: 100%;">\n					<dt><input type="radio" name="type" value="single" {$type_single} id="type_single" onclick="toggleType();" /> <label for="type_single"><strong>{$lang->type_single}</strong></label></dt>\n					<dd style="margin-top: 4px;" id="single_selects">\n						<select name="single_day">\n							{$single_days}\n						</select>\n						&nbsp;\n						<select name="single_month">\n							<option value="1"{$single_month[''1'']}>{$lang->month_1}</option>\n							<option value="2"{$single_month[''2'']}>{$lang->month_2}</option>\n							<option value="3"{$single_month[''3'']}>{$lang->month_3}</option>\n							<option value="4"{$single_month[''4'']}>{$lang->month_4}</option>\n							<option value="5"{$single_month[''5'']}>{$lang->month_5}</option>\n							<option value="6"{$single_month[''6'']}>{$lang->month_6}</option>\n							<option value="7"{$single_month[''7'']}>{$lang->month_7}</option>\n							<option value="8"{$single_month[''8'']}>{$lang->month_8}</option>\n							<option value="9"{$single_month[''9'']}>{$lang->month_9}</option>\n							<option value="10"{$single_month[''10'']}>{$lang->month_10}</option>\n							<option value="11"{$single_month[''11'']}>{$lang->month_11}</option>\n							<option value="12"{$single_month[''12'']}>{$lang->month_12}</option>\n						</select>\n						&nbsp;\n						<select name="single_year">\n							{$single_years}\n						</select>\n					</dd>\n					<dt><input type="radio" name="type" value="ranged" {$type_ranged} id="type_ranged" onclick="toggleType();" /> <label for="type_ranged"><strong>{$lang->type_ranged}</strong></label></dt>\n					<dd style="margin-top: 4px; width: 100%;" id="ranged_selects">\n						<table width="100%">\n							<tr>\n								<td class="smalltext" style="padding: 4px; text-align: right;">{$lang->start_time}</td>\n								<td style="padding: 4px;">\n									<select name="start_day">\n										{$start_days}\n									</select>\n									<select name="start_month">\n										<option value="1"{$start_month[''1'']}>{$lang->month_1}</option>\n										<option value="2"{$start_month[''2'']}>{$lang->month_2}</option>\n										<option value="3"{$start_month[''3'']}>{$lang->month_3}</option>\n										<option value="4"{$start_month[''4'']}>{$lang->month_4}</option>\n										<option value="5"{$start_month[''5'']}>{$lang->month_5}</option>\n										<option value="6"{$start_month[''6'']}>{$lang->month_6}</option>\n										<option value="7"{$start_month[''7'']}>{$lang->month_7}</option>\n										<option value="8"{$start_month[''8'']}>{$lang->month_8}</option>\n										<option value="9"{$start_month[''9'']}>{$lang->month_9}</option>\n										<option value="10"{$start_month[''10'']}>{$lang->month_10}</option>\n										<option value="11"{$start_month[''11'']}>{$lang->month_11}</option>\n										<option value="12"{$start_month[''12'']}>{$lang->month_12}</option>\n									</select>\n									<select name="start_year">\n										{$start_years}\n									</select>\n									<span class="smalltext">&nbsp;&nbsp;&nbsp;{$lang->enter_time}</span>\n									<input type="text" class="textbox" name="start_time" value="{$start_time}" size="7" />\n								</td>\n							</tr>\n							<tr>\n								<td class="smalltext" style="padding: 4px; text-align: right;">{$lang->end_time}</td>\n								<td style="padding: 4px;">\n									<select name="end_day">\n										{$end_days}\n									</select>\n									<select name="end_month">\n										<option value="1"{$end_month[''1'']}>{$lang->month_1}</option>\n										<option value="2"{$end_month[''2'']}>{$lang->month_2}</option>\n										<option value="3"{$end_month[''3'']}>{$lang->month_3}</option>\n										<option value="4"{$end_month[''4'']}>{$lang->month_4}</option>\n										<option value="5"{$end_month[''5'']}>{$lang->month_5}</option>\n										<option value="6"{$end_month[''6'']}>{$lang->month_6}</option>\n										<option value="7"{$end_month[''7'']}>{$lang->month_7}</option>\n										<option value="8"{$end_month[''8'']}>{$lang->month_8}</option>\n										<option value="9"{$end_month[''9'']}>{$lang->month_9}</option>\n										<option value="10"{$end_month[''10'']}>{$lang->month_10}</option>\n										<option value="11"{$end_month[''11'']}>{$lang->month_11}</option>\n										<option value="12"{$end_month[''12'']}>{$lang->month_12}</option>\n									</select>\n									<select name="end_year">\n										{$end_years}\n									</select>\n									<span class="smalltext">&nbsp;&nbsp;&nbsp;{$lang->enter_time}</span>\n									<input type="text" class="textbox" name="end_time" value="{$end_time}" size="7" />\n								</td>\n							</tr>\n							<tr>\n								<td class="smalltext" style="padding: 4px; text-align: right; vertical-align: top;">{$lang->timezone}</td>\n								<td style="padding: 4px;">\n									{$timezones}<br />\n									<label class="smalltext" style="display: block; padding-top: 4px;"><input type="checkbox" name="ignoretimezone" value="1" {$ignore_timezone} style="vertical-align: middle;" /> {$lang->ignore_timezone}</label>\n								</td>\n							</tr>\n							<tr>\n								<td class="smalltext" style="padding: 4px; text-align: right; vertical-align:top;">{$lang->repeats}</td>\n								<td class="smalltext" style="padding: 4px;">\n									<select name="repeats" id="repeats" onchange="toggleRepeats();">\n										<option value="0">{$lang->does_not_repeat}</option>\n										<option value="1"{$repeats_sel[1]}>{$lang->repeats_daily}</option>\n										<option value="2"{$repeats_sel[2]}>{$lang->repeats_weekdays}</option>\n										<option value="3"{$repeats_sel[3]}>{$lang->repeats_weekly}</option>\n										<option value="4"{$repeats_sel[4]}>{$lang->repeats_monthly}</option>\n										<option value="5"{$repeats_sel[5]}>{$lang->repeats_yearly}</option>\n									</select>\n									<div class="repeats_type" id="repeats_type_1" style="padding: 4px;">\n										{$lang->repeats_every}\n										<input type="text" class="textbox" name="repeats_1_days" value="{$repeats_1_days}" size="2" /> {$lang->day_or_days}\n									</div>\n									<div class="repeats_type" id="repeats_type_3" style="padding: 4px;">\n										{$lang->repeats_every}\n										<input type="text" class="textbox" name="repeats_3_weeks" value="{$repeats_3_weeks}" size="2" /> {$lang->week_or_weeks_on}\n										<br />\n										<table style="padding: 4px;">\n											<tr>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[0]" value="1" {$repeats_3_days[0]} style="vertical-align: middle;" /> {$lang->sunday}</label></td>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[1]" value="1" {$repeats_3_days[1]} style="vertical-align: middle;" /> {$lang->monday}</label></td>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[2]" value="1" {$repeats_3_days[2]} style="vertical-align: middle;" /> {$lang->tuesday}</label></td>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[3]" value="1" {$repeats_3_days[3]} style="vertical-align: middle;" /> {$lang->wednesday}</label></td>\n											</tr>\n											<tr>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[4]" value="1" {$repeats_3_days[4]} style="vertical-align: middle;" /> {$lang->thursday}</label></td>\n												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[5]" value="1" {$repeats_3_days[5]} style="vertical-align: middle;" /> {$lang->friday}</label></td>\n												<td style="padding: 2px;" class="smalltext" colspan="2"><label><input type="checkbox" name="repeats_3_days[6]" value="1" {$repeats_3_days[6]} style="vertical-align: middle;" /> {$lang->saturday}</label></td>\n											</tr>\n										</table>\n									</div>\n									<div class="repeats_type" id="repeats_type_4" style="padding: 4px;">\n										<div class="smalltext"><label>\n											<input type="radio" name="repeats_4_type" id="repeats_4_type_1" value="1" style="vertical-align: middle;" {$repeats_4_type[1]} />\n											{$lang->repeats_on_day}</label>\n											<input type="text" class="textbox" name="repeats_4_day" value="{$repeats_4_day}" onfocus="$(''repeats_4_type_1'').checked=true;" size="2" /> {$lang->of_every} <input type="text" class="textbox" name="repeats_4_months" value="{$repeats_4_months}" size="2" onfocus="$(''repeats_4_type_1'').checked=true;" /> {$lang->month_or_months}\n										</div>\n										<div class="smalltext" style="margin-top: 5px;"><label>\n											<input type="radio" name="repeats_4_type" id="repeats_4_type_2" value="2" style="vertical-align: middle;" {$repeats_4_type[2]} />\n											{$lang->repeats_on_the}</label>\n											<select name="repeats_4_occurance" onfocus="$(''repeats_4_type_2'').checked=true;">\n												<option value="1"{$repeats_4_occurance[1]}>{$lang->first}</option>\n												<option value="2"{$repeats_4_occurance[2]}>{$lang->second}</option>\n												<option value="3"{$repeats_4_occurance[3]}>{$lang->third}</option>\n												<option value="4"{$repeats_4_occurance[4]}>{$lang->fourth}</option>\n												<option value="last"{$repeats_4_occurance[''last'']}>{$lang->last}</option>\n											</select>\n											<select name="repeats_4_weekday" onfocus="$(''repeats_4_type_2'').checked=true;">\n												<option value="0"{$repeats_4_weekday[0]}>{$lang->sunday}</option>\n												<option value="1"{$repeats_4_weekday[1]}>{$lang->monday}</option>\n												<option value="2"{$repeats_4_weekday[2]}>{$lang->tuesday}</option>\n												<option value="3"{$repeats_4_weekday[3]}>{$lang->wednesday}</option>\n												<option value="4"{$repeats_4_weekday[4]}>{$lang->thursday}</option>\n												<option value="5"{$repeats_4_weekday[5]}>{$lang->friday}</option>\n												<option value="6"{$repeats_4_weekday[6]}>{$lang->saturday}</option>\n											</select>\n											{$lang->of_every}\n											<input type="text" class="textbox" name="repeats_4_months2" value="{$repeats_4_months2}" size="2" onfocus="$(''repeats_4_type_2'').checked=true;" /> {$lang->month_or_months}\n										</div>\n									</div>\n									<div class="repeats_type" id="repeats_type_5" style="padding: 4px;">\n										<div class="smalltext"><label>\n											<input type="radio" name="repeats_5_type" value="1" id="repeats_5_type_1" style="vertical-align: middle;" {$repeats_5_type[1]} />\n											{$lang->repeats_on}</label>\n											<input type="text" class="textbox" name="repeats_5_day" onfocus="$(''repeats_5_type_1'').checked=true;" value="{$repeats_5_day}" size="2" />\n											<select name="repeats_5_month" onfocus="$(''repeats_5_type_1'').checked=true;" >\n												<option value="1"{$repeats_5_month[''1'']}>{$lang->month_1}</option>\n												<option value="2"{$repeats_5_month[''2'']}>{$lang->month_2}</option>\n												<option value="3"{$repeats_5_month[''3'']}>{$lang->month_3}</option>\n												<option value="4"{$repeats_5_month[''4'']}>{$lang->month_4}</option>\n												<option value="5"{$repeats_5_month[''5'']}>{$lang->month_5}</option>\n												<option value="6"{$repeats_5_month[''6'']}>{$lang->month_6}</option>\n												<option value="7"{$repeats_5_month[''7'']}>{$lang->month_7}</option>\n												<option value="8"{$repeats_5_month[''8'']}>{$lang->month_8}</option>\n												<option value="9"{$repeats_5_month[''9'']}>{$lang->month_9}</option>\n												<option value="10"{$repeats_5_month[''10'']}>{$lang->month_10}</option>\n												<option value="11"{$repeats_5_month[''11'']}>{$lang->month_11}</option>\n												<option value="12"{$repeats_5_month[''12'']}>{$lang->month_12}</option>\n											</select>\n											{$lang->every}\n											<input type="text" class="textbox" name="repeats_5_years" value="{$repeats_5_years}" onfocus="$(''repeats_5_type_1'').checked=true;" size="2" /> {$lang->year_or_years}\n										</div>\n										<div class="smalltext" style="margin-top: 5px;"><label>\n											<input type="radio" name="repeats_5_type" value="2" id="repeats_5_type_2" style="vertical-align: middle;" {$repeats_5_type[2]} />\n											{$lang->repeats_on_the}</label>\n											<select name="repeats_5_occurance" onfocus="$(''repeats_5_type_2'').checked=true;" >\n												<option value="1"{$repeats_5_occurance[1]}>{$lang->first}</option>\n												<option value="2"{$repeats_5_occurance[2]}>{$lang->second}</option>\n												<option value="3"{$repeats_5_occurance[3]}>{$lang->third}</option>\n												<option value="4"{$repeats_5_occurance[4]}>{$lang->fourth}</option>\n												<option value="last"{$repeats_4_occurance[''last'']}>{$lang->last}</option>\n											</select>\n											<select name="repeats_5_weekday" onfocus="$(''repeats_5_type_2'').checked=true;" >\n												<option value="0"{$repeats_5_weekday[0]}>{$lang->sunday}</option>\n												<option value="1"{$repeats_5_weekday[1]}>{$lang->monday}</option>\n												<option value="2"{$repeats_5_weekday[2]}>{$lang->tuesday}</option>\n												<option value="3"{$repeats_5_weekday[3]}>{$lang->wednesday}</option>\n												<option value="4"{$repeats_5_weekday[4]}>{$lang->thursday}</option>\n												<option value="5"{$repeats_5_weekday[5]}>{$lang->friday}</option>\n												<option value="6"{$repeats_5_weekday[6]}>{$lang->saturday}</option>\n											</select>\n											{$lang->of}\n											<select name="repeats_5_month2" onfocus="$(''repeats_5_type_2'').checked=true;" >\n												<option value="1"{$repeats_5_month2[''1'']}>{$lang->month_1}</option>\n												<option value="2"{$repeats_5_month2[''2'']}>{$lang->month_2}</option>\n												<option value="3"{$repeats_5_month2[''3'']}>{$lang->month_3}</option>\n												<option value="4"{$repeats_5_month2[''4'']}>{$lang->month_4}</option>\n												<option value="5"{$repeats_5_month2[''5'']}>{$lang->month_5}</option>\n												<option value="6"{$repeats_5_month2[''6'']}>{$lang->month_6}</option>\n												<option value="7"{$repeats_5_month2[''7'']}>{$lang->month_7}</option>\n												<option value="8"{$repeats_5_month2[''8'']}>{$lang->month_8}</option>\n												<option value="9"{$repeats_5_month2[''9'']}>{$lang->month_9}</option>\n												<option value="10"{$repeats_5_month2[''10'']}>{$lang->month_10}</option>\n												<option value="11"{$repeats_5_month2[''11'']}>{$lang->month_11}</option>\n												<option value="12"{$repeats_5_month2[''12'']}>{$lang->month_12}</option>\n											</select>\n											{$lang->every}\n											<input type="text" class="textbox" name="repeats_5_years2" value="{$repeats_5_years}" size="2" onfocus="$(''repeats_5_type_2'').checked=true;" /> {$lang->year_or_years}\n										</div>\n									</div>\n								</td>\n							</tr>\n						</table>\n					</dd>\n				</dl>\n				<script type="text/javascript">\n				<!--\n					toggleType();\n					toggleRepeats();\n				// -->\n				</script>\n			</td>\n		</tr>\n		<tr>\n			<td valign="top" width="20%" class="trow1"><strong>{$lang->event_details}</strong>{$smilieinserter}</td>\n			<td class="trow1"><textarea name="description" id="message" rows="20" cols="70">{$description}</textarea>\n			{$codebuttons}</td>\n		</tr>\n		<tr>\n			<td width="20%" class="trow2"><strong>{$lang->event_options}</strong></td>\n			<td class="trow2">\n				<input type="checkbox" class="checkbox" name="private" value="1"{$privatecheck} /><span class="smalltext">{$lang->private_option}</span><br />\n			</td>\n		</tr>\n	</table>\n	<br />\n	<input type="hidden" name="action" value="do_editevent" />\n	<input type="hidden" name="eid" value="{$event[''eid'']}" />\n	<div align="center"><input type="submit" class="button" value="{$lang->edit_event}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1806', '', [[timestamp]]),
(18, 'calendar_event', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->calendar} - {$event[''name'']}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n	<tr>\n		<td class="thead"><strong>{$event[''name'']}</strong></td>\n	</tr>\n	<tr>\n		<td class="tcat"><strong>{$time_period}</strong></td>\n	</tr>\n	<tr>\n		<td class="trow1{$event_class}">\n			<div class="float_left">\n				<strong><span class="largetext">{$event[''profilelink'']}</span></strong><br />\n				<span class="smalltext">\n					{$event[''usertitle'']}<br />\n					{$event[''userstars'']}\n				</span>\n			</div>\n			<div class="float_right" style="text-align: right;">\n				{$moderator_options}\n				{$repeats}\n			</div>\n			<br class="clear" />\n		</td>\n	</tr>\n	<tr>\n		<td class="trow2 scaleimages{$event_class}">\n			<p>{$event[''description'']}</p>\n			{$edit_event}\n		</td>\n	</tr>\n</table>\n<br />\n<form action="calendar.php" method="post">\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="trow1">\n				<table width="100%" cellspacing="0" cellpadding="0" border="0">\n					<tr>\n					<td valign="top">{$addevent}</td>\n						<td align="right">\n						<span class="smalltext"><strong>{$lang->jump_month}</strong></span>\n						<select name="month">\n							<option value="{$month}">{$monthnames[$month]}</option>\n							<option value="{$month}">----------</option>\n							<option value="1">{$lang->alt_month_1}</option>\n							<option value="2">{$lang->alt_month_2}</option>\n							<option value="3">{$lang->alt_month_3}</option>\n							<option value="4">{$lang->alt_month_4}</option>\n							<option value="5">{$lang->alt_month_5}</option>\n							<option value="6">{$lang->alt_month_6}</option>\n							<option value="7">{$lang->alt_month_7}</option>\n							<option value="8">{$lang->alt_month_8}</option>\n							<option value="9">{$lang->alt_month_9}</option>\n							<option value="10">{$lang->alt_month_10}</option>\n							<option value="11">{$lang->alt_month_11}</option>\n							<option value="12">{$lang->alt_month_12}</option>\n						</select>\n						<select name="year">\n							{$yearsel}\n						</select>\n						{$gobutton}\n						<br />\n						{$calendar_jump}\n						</td>\n					</tr>\n				</table>\n			</td>\n		</tr>\n	</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(19, 'calendar_event_editbutton', '<div style="text-align: right; vertical-align: bottom;" class="postbit_buttons">\n	<a href="calendar.php?action=editevent&amp;eid={$event[''eid'']}" class="postbit_edit"><span>{$lang->postbit_button_edit}</span></a>\n	<a href="javascript:void(0)" onclick="MyBB.deleteEvent({$event[''eid'']}); return false;" class="postbit_qdelete"><span>{$lang->postbit_button_qdelete}</span></a>\n</div>', -2, '1809', '', [[timestamp]]),
(20, 'calendar_event_modoptions', '				<form method="post" action="calendar.php">\n					<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n					<input type="hidden" name="eid" value="{$event[''eid'']}">\n					<select name="action" onchange="if(this.options[this.selectedIndex].value != '''') { window.location=(''calendar.php?action=''+this.options[this.selectedIndex].value+''&amp;eid={$event[''eid'']}&amp;my_post_key={$mybb->post_code}'') }">\n						<option value="" style="font-weight: bold;">{$lang->moderator_options}</option>\n						<option value="{$approve_value}">{$approve}</option>\n						<option value="move">{$lang->move_event}</option>\n					</select>\n					{$gobutton}\n				</form>\n				<br />', -2, '1604', '', [[timestamp]]),
(21, 'calendar_event_userstar', '<img src="{$event[''starimage'']}" border="0" alt="*" />', -2, '1800', '', [[timestamp]]),
(22, 'calendar_eventbit', '<div style="margin-bottom: 4px;" class="smalltext {$event_class}"><a href="{$event[''eventlink'']}" title="{$event[''fullname'']}">{$event[''name'']}</a></div>', -2, '1402', '', [[timestamp]]),
(23, 'calendar_jump', '<br />\n<span class="smalltext"><strong>{$lang->jump_to_calendar}</strong></span>\n<select name="calendar">\n{$jump_options}\n</select>\n{$gobutton}', -2, '1800', '', [[timestamp]]),
(24, 'calendar_jump_option', '<option value="{$calendar[''cid'']}" {$sel}>{$calendar[''name'']}</option>', -2, '1800', '', [[timestamp]]),
(25, 'calendar_mini', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder" style="width: 180px;">\n	<thead>\n		<tr>\n			<td class="thead" colspan="8">\n				<strong><a href="{$month_link}">{$monthnames[$month]} {$year}</a></strong>\n			</td>\n		</tr>\n		<tr>\n			<td class="tcat">&nbsp;</td>\n		{$weekday_headers}\n		</tr>\n	</thead>\n	<tbody>\n	{$calendar_rows}\n	</tbody>\n</table>', -2, '1400', '', [[timestamp]]),
(26, 'calendar_mini_weekdayheader', '				<td class="tcat" align="center" width="14%"><strong>{$weekday_name}</strong></td>', -2, '1400', '', [[timestamp]]),
(27, 'calendar_mini_weekrow', '			<tr>\n				<td class="tcat" align="center" width="1"><a href="{$week_link}">&raquo;</a></td>\n				{$day_bits}\n			</tr>', -2, '1400', '', [[timestamp]]),
(28, 'calendar_mini_weekrow_day', '				<td class="{$day_class}" valign="middle" align="center">\n					{$day_link}\n				</td>', -2, '1400', '', [[timestamp]]),
(29, 'calendar_mini_weekrow_day_link', '<a href="{$calendar[''link'']}">{$day}</a>', -2, '1808', '', [[timestamp]]);
INSERT INTO `[[dbprefix]]templates` VALUES
(30, 'calendar_move', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->calendar} - {$lang->move_event}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="calendar.php" method="post" name="input">\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder clear">\n		<tr>\n			<td colspan="2" width="100%" class="thead"><strong>{$lang->move_event}: {$event[''name'']}</strong></td>\n		</tr>\n		<tr>\n			<td width="20%" class="trow1"><strong>{$lang->move_to_calendar}</strong></td>\n			<td class="trow1">\n				<select name="new_calendar">\n					{$calendar_select}\n				</select>\n			</td>\n		</tr>\n	</table>\n	<br />\n	<input type="hidden" name="action" value="do_move" />\n	<input type="hidden" name="eid" value="{$event[''eid'']}" />\n	<div align="center"><input type="submit" class="button" value="{$lang->move_event}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(31, 'calendar_nextlink', '<a href="{$next_link}">{$next_month[''name'']} {$next_month[''year'']} &raquo;</a>', -2, '1813', '', [[timestamp]]),
(32, 'calendar_prevlink', '<a href="{$prev_link}">&laquo; {$prev_month[''name'']} {$prev_month[''year'']}</a>', -2, '1813', '', [[timestamp]]),
(33, 'calendar_repeats', '<span class="smalltext"><strong>{$lang->repeats}</strong><br />{$repeats}</span>', -2, '1800', '', [[timestamp]]),
(34, 'calendar_select', '<option value="{$calendar_option[''cid'']}"{$selected}>{$calendar_option[''name'']}</option>', -2, '1800', '', [[timestamp]]),
(35, 'calendar_weekdayheader', '				<td class="tcat" align="center" width="14%"><strong>{$weekday_name}</strong></td>', -2, '1400', '', [[timestamp]]),
(36, 'calendar_weekrow', '			<tr>\n				<td class="tcat" align="center" width="1"><a href="{$week_link}">&raquo;</a></td>\n				{$day_bits}\n			</tr>', -2, '1400', '', [[timestamp]]),
(37, 'calendar_weekrow_day', '				<td class="trow1" style="vertical-align: top; height: 100px;">\n					<div class="float_right smalltext"><a href="{$day_link}">{$day}</a></div>\n					<div class="clear">\n					{$day_birthdays}\n					{$day_events}\n					</div>\n				</td>', -2, '1823', '', [[timestamp]]),
(38, 'calendar_weekrow_currentday', '				<td class="trow_sep" style="vertical-align: top; height: 100px;">\n					<div class="float_right smalltext"><a href="{$day_link}">{$day}</a></div>\n					<div class="clear">\n					{$day_birthdays}\n					{$day_events}\n					</div>\n				</td>', -2, '1823', '', [[timestamp]]),
(39, 'calendar_weekrow_thismonth', '				<td class="trow2" style="vertical-align: top; height: 100px;">\n					<div class="float_right smalltext"><a href="{$day_link}">{$day}</a></div>\n					<div class="clear">\n					{$day_birthdays}\n					{$day_events}\n					</div>\n				</td>', -2, '1823', '', [[timestamp]]),
(40, 'calendar_weekrow_day_birthdays', '<div style="margin-bottom: 4px;"><a href="{$calendar[''link'']}" class="smalltext">{$bday_count} {$birthday_lang}</a></div>', -2, '1800', '', [[timestamp]]),
(41, 'calendar_weekrow_day_events', '<div style="margin-bottom: 4px;"><a href="{$calendar[''link'']}" class="smalltext">{$total_events} {$event_lang}</a></div>', -2, '1808', '', [[timestamp]]),
(42, 'calendar_weekrow_day_external', '				<td class="calendar_daybit_external">\n					<div class="float_right smalltext"><a href="{$day_link}">{$day}</a></div>\n					<div>\n					{$day_events}\n					{$day_birthdays}\n					</div>\n				</td>', -2, '1400', '', [[timestamp]]),
(43, 'calendar_weekrow_day_today', '				<td class="calendar_daybit_today">\n					<div class="float_right smalltext"><a href="{$day_link}">{$day}</a></div>\n					<div>\n					{$day_events}\n					{$day_birthdays}\n					</div>\n				</td>', -2, '1400', '', [[timestamp]]),
(44, 'calendar_weekview', '<html>\n<head>\n	<title>{$mybb->settings[''bbname'']} - {$lang->calendar}</title>\n	{$headerinclude}\n</head>\n<body>\n	{$header}\n<table border="0" cellspacing="0" cellpadding="0">\n<tr>\n<td width="100%">\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<thead>\n			<tr>\n				<td class="thead" colspan="2">\n					<div class="float_right">\n						{$prev_week_link}{$sep}{$next_week_link}\n					</div>\n					<div><strong>{$lang->weekly_overview} ({$friendly_week_from} - {$friendly_week_to})</strong></div>\n				</td>\n			</tr>\n		</thead>\n		<tbody>\n			{$weekday_bits}\n		</tbody>\n	</table>\n</td>\n<td style="padding-left: 10px; vertical-align: top;">{$mini_calendars}</td>\n</tr>\n</table>\n	<br />\n	<form action="calendar.php" method="post">\n		<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n			<tr>\n				<td class="trow1">\n					<table width="100%" cellspacing="0" cellpadding="0" border="0">\n						<tr>\n						<td valign="top">{$addevent}</td>\n							<td align="right">\n							<span class="smalltext"><strong>{$lang->jump_month}</strong></span>\n							<select name="month">\n								<option value="{$week_from[1]}">{$monthnames[$week_from_one]}</option>\n								<option value="{$week_from[1]}">----------</option>\n								<option value="1">{$lang->alt_month_1}</option>\n								<option value="2">{$lang->alt_month_2}</option>\n								<option value="3">{$lang->alt_month_3}</option>\n								<option value="4">{$lang->alt_month_4}</option>\n								<option value="5">{$lang->alt_month_5}</option>\n								<option value="6">{$lang->alt_month_6}</option>\n								<option value="7">{$lang->alt_month_7}</option>\n								<option value="8">{$lang->alt_month_8}</option>\n								<option value="9">{$lang->alt_month_9}</option>\n								<option value="10">{$lang->alt_month_10}</option>\n								<option value="11">{$lang->alt_month_11}</option>\n								<option value="12">{$lang->alt_month_12}</option>\n							</select>\n							<select name="year">\n								<option value="{$week_from[2]}">{$week_from[2]}</option>\n								<option value="{$week_from[2]}">----------</option>\n								{$yearsel}\n							</select>\n							{$gobutton}\n							<br />\n							{$calendar_jump}\n							</td>\n						</tr>\n					</table>\n				</td>\n			</tr>\n		</table>\n	</form>\n{$footer}\n</body>\n</html>', -2, '1813', '', [[timestamp]]),
(45, 'calendar_weekview_day', '			<tr>\n				<td class="trow_sep" colspan="2">{$weekday_name}</td>\n			</tr>\n			<tr>\n				<td class="trow2{$day_shaded}" style="text-align: center; padding: 8px;"><span class="largetext">{$weekday_day}</span></td>\n				<td class="trow1" width="100%">{$day_birthdays}{$day_events}</td>\n			</tr>', -2, '1400', '', [[timestamp]]),
(46, 'calendar_weekview_day_birthdays', '<a href="{$calendar_link}">{$bday_count} {$birthday_lang}</a><br />', -2, '1800', '', [[timestamp]]),
(47, 'calendar_weekview_day_event', '<a href="{$event[''eventlink'']}" class="{$event_class}" title="{$event[''fullname'']}">{$event[''fullname'']}</a>{$event_time}<br />', -2, '1400', '', [[timestamp]]),
(48, 'calendar_weekview_day_event_time', '<span class="smalltext"> ({$time_period})</span>', -2, '1800', '', [[timestamp]]),
(49, 'calendar_weekview_month', '			<tr>\n				<td class="tcat" colspan="2"><strong>{$weekday_month} {$weekday_year}</strong></td>\n			</tr>\n			{$days}', -2, '1400', '', [[timestamp]]),
(50, 'calendar_weekview_nextlink', '<a href="{$next_link}">{$lang->next_week} &raquo;</a>', -2, '1813', '', [[timestamp]]),
(51, 'calendar_weekview_prevlink', '<a href="{$prev_link}">&laquo; {$lang->previous_week}</a>', -2, '1813', '', [[timestamp]]),
(52, 'calendar_year', '<option value="{$year}" {$selected}>{$year}</option>', -2, '1800', '', [[timestamp]]),
(53, 'calendar_year_sel', '<option value="{$year_sel}">{$year_sel}</option>', -2, '1800', '', [[timestamp]]),
(54, 'editpost', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->edit_post}</title>\n{$headerinclude}\n{$post_javascript}\n</head>\n<body>\n{$header}\n{$preview}\n{$post_errors}\n{$attacherror}\n{$moderation_notice}\n{$deletebox}\n<form id="editpost" action="editpost.php?pid={$pid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->edit_post}</strong></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow2"><strong>{$lang->subject}</strong></td>\n<td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>\n</tr>\n{$posticons}\n<tr>\n<td class="trow2" valign="top"><strong>{$lang->your_message}</strong><br /><div style="text-align: center;">{$smilieinserter}</div></td>\n<td class="trow2">\n<textarea name="message" id="message" rows="20" cols="70" tabindex="3">{$message}</textarea>\n{$codebuttons}\n</td>\n</tr>\n{$editreason}\n{$postoptions}\n{$subscriptionmethod}\n{$pollbox}\n</table>\n{$attachbox}\n<br />\n<div align="center"><input type="submit" class="button" name="submitbutton" value="{$lang->update_post}" tabindex="3" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" /></div>\n<input type="hidden" name="action" value="do_editpost" />\n<input type="hidden" name="attachmentaid" value="" />\n<input type="hidden" name="attachmentact" value="" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(55, 'editpost_delete', '<form action="editpost.php" method="post" name="editpost">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="3"><strong>{$lang->delete_post}</strong></td>\n</tr>\n<tr>\n<td class="trow1" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="delete" value="1" tabindex="9" /> <strong>{$lang->delete_q}</strong></td>\n<td class="trow1" width="100%">{$lang->delete_1}<br /><span class="smalltext">{$lang->delete_2}</span></td>\n<td class="trow1"><input type="submit" class="button" name="submit" value="{$lang->delete_now}" tabindex="10" /></td>\n</tr>\n</table>\n<input type="hidden" name="action" value="deletepost" />\n<input type="hidden" name="pid" value="{$pid}" />\n</form>\n<br />', -2, '1800', '', [[timestamp]]),
(56, 'editpost_disablesmilies', '<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" tabindex="8"{$postoptionschecked[''disablesmilies'']} /> {$lang->options_disablesmilies}</label>', -2, '1809', '', [[timestamp]]),
(57, 'editpost_postoptions', '<tr>\n<td class="trow2" valign="top"><strong>{$lang->post_options}</strong></td>\n<td class="trow2"><span class="smalltext">\n{$signature}\n{$disablesmilies}</span>\n</td>\n</tr>', -2, '1809', '', [[timestamp]]),
(58, 'editpost_reason', '<tr>\n<td class="trow1"><strong>{$lang->editreason}</strong></td>\n<td class="trow1"><input type="text" class="textbox" name="editreason" size="40" maxlength="150" value="{$reason}" tabindex="5" /></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(59, 'editpost_signature', '<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked[''signature'']} /> {$lang->options_sig}</label><br />', -2, '1809', '', [[timestamp]]),
(60, 'error', '<html>\n<head>\n<title>{$title}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><span class="smalltext"><strong>{$title}</strong></span></td>\n</tr>\n<tr>\n<td class="trow1">{$error}</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '120', '', [[timestamp]]),
(61, 'error_inline', '<div class="error">\n	<p><em>{$title}</em></p>\n	<ul>\n		{$errorlist}\n	</ul>\n</div>\n<br />', -2, '120', '', [[timestamp]]),
(62, 'error_inline_item', '<li>{$error}</li>', -2, '1818', '', [[timestamp]]),
(63, 'error_nopermission', '{$lang->error_nopermission_guest_1}\n<ol>\n<li>{$lang->error_nopermission_guest_2} <a href="member.php?action=login">{$lang->login}</a> | <a href="member.php?action=register">{$lang->need_reg}</a></li>\n<li>{$lang->error_nopermission_guest_3}</li>\n<li>{$lang->error_nopermission_guest_4}</li>\n<li>{$lang->error_nopermission_guest_5}</li>\n</ol>', -2, '1823', '', [[timestamp]]),
(64, 'error_nopermission_loggedin', '{$lang->error_nopermission_user_1}\n<ol>\n	<li>{$lang->error_nopermission_user_2}</li>\n	<li>{$lang->error_nopermission_user_3}</li>\n	<li>{$lang->error_nopermission_user_4} (<a href="member.php?action=resendactivation">{$lang->error_nopermission_user_resendactivation}</a>)</li>\n	<li>{$lang->error_nopermission_user_5}</li>\n</ol>\n<br />\n{$lang->error_nopermission_user_username}', -2, '1600', '', [[timestamp]]),
(65, 'footer', '<debugstuff>\n	</div>\n</div>\n<div id="footer">\n	<div class="upper">\n		<div class="wrapper">\n			{$lang_select}\n			{$theme_select}\n			<ul class="menu bottom_links">\n				{$showteamlink}\n				{$contact_us}\n				<li><a href="{$mybb->settings[''homeurl'']}">{$mybb->settings[''homename'']}</a></li>\n				<li><a href="#top">{$lang->bottomlinks_returntop}</a></li>\n				<li><a href="<archive_url>">{$lang->bottomlinks_litemode}</a></li>\n				<li><a href="{$mybb->settings[''bburl'']}/misc.php?action=markread{$post_code_string}">{$lang->bottomlinks_markread}</a></li>\n				<li><a href="{$mybb->settings[''bburl'']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></li>\n			</ul>\n		</div>\n	</div>\n	<div class="lower">\n		<div class="wrapper">\n			<span id="current_time">{$lang->welcome_current_time}</span>\n			<span id="copyright">\n				<!-- MyBB is free software developed and maintained by a volunteer community.\n					It would be much appreciated by the MyBB Group if you left the full copyright and "powered by" notice intact,\n					to show your support for MyBB.  If you choose to remove or modify the copyright below,\n					you may be refused support on the MyBB Community Forums.\n\n					This is free software, support us and we''ll support you. -->\n				{$lang->powered_by} <a href="https://mybb.com" target="_blank" rel="noopener">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="https://mybb.com" target="_blank" rel="noopener">MyBB Group</a>.\n				<!-- End powered by -->\n			</span>\n		</div>\n	</div>\n</div>\n<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->\n{$auto_dst_detection}\n</div>', -2, '1820', '', [[timestamp]]),
(66, 'footer_showteamlink', '<li><a href="showteam.php">{$lang->bottomlinks_forumteam}</a></li>', -2, '1820', '', [[timestamp]]),
(67, 'footer_contactus', '<li><a href="{$mybb->settings[''contactlink'']}">{$lang->bottomlinks_contactus}</a></li>', -2, '1800', '', [[timestamp]]),
(68, 'footer_languageselect', '<div class="language">\n<form method="POST" action="{$lang_redirect_url[''location'']}" id="lang_select">\n	{$lang_redirect_url[''form_html'']}\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<select name="language" onchange="MyBB.changeLanguage();">\n		<optgroup label="{$lang->select_language}">\n			{$lang_options}\n		</optgroup>\n	</select>\n	{$gobutton}\n</form>\n</div>', -2, '1811', '', [[timestamp]]),
(69, 'footer_languageselect_option', '<option value="{$key}"{$selected}>&nbsp;&nbsp;&nbsp;{$language}</option>', -2, '1800', '', [[timestamp]]),
(70, 'footer_themeselect', '<div class="theme">\n<form method="POST" action="{$theme_redirect_url[''location'']}" id="theme_select">\n	{$theme_redirect_url[''form_html'']}\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	{$theme_options}\n	{$gobutton}\n</form>\n</div>', -2, '1811', '', [[timestamp]]),
(71, 'footer_themeselector', '<select name="{$name}" onchange="MyBB.changeTheme();">\n<optgroup label="{$lang->select_theme}">\n{$themeselect_option}\n</optgroup>\n</select>', -2, '1800', '', [[timestamp]]),
(72, 'forumbit_depth1_cat', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<thead>\n<tr>\n<td class="thead{$expthead}" colspan="5">\n<div class="expcolimage"><img src="{$theme[''imgdir'']}/{$expcolimage}" id="cat_{$forum[''fid'']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>\n<div><strong><a href="{$forum_url}">{$forum[''name'']}</a></strong><br /><div class="smalltext">{$forum[''description'']}</div></div>\n</td>\n</tr>\n</thead>\n<tbody style="{$expdisplay}" id="cat_{$forum[''fid'']}_e">\n<tr>\n<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>\n<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>\n<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>\n<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>\n</tr>\n{$sub_forums}\n</tbody>\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(73, 'forumbit_depth1_cat_subforum', '<tr>\n<td class="tcat" colspan="6"><strong>&raquo;&nbsp;&nbsp;<a href="{$forum_url}">{$forum[''name'']}</a></strong><br /><span class="smalltext">{$forum[''description'']}</span></td></tr>{$sub_forums}', -2, '1400', '', [[timestamp]]),
(74, 'forumbit_depth1_forum_lastpost', '<span class="smalltext">\n<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>\n<br />{$lastpost_date}<br />{$lang->by} {$lastpost_profilelink}</span>', -2, '1800', '', [[timestamp]]),
(75, 'forumbit_depth2_cat', '<tr>\n<td class="{$bgcolor}" align="center" width="1"><span class="forum_status forum_{$lightbulb[''folder'']} ajax_mark_read" title="{$lightbulb[''altonoff'']}" id="mark_read_{$forum[''fid'']}"></span></td>\n<td class="{$bgcolor}">\n<strong><a href="{$forum_url}">{$forum[''name'']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum[''description'']}{$subforums}</div>\n</td>\n<td class="{$bgcolor}" align="center" style="white-space: nowrap">{$threads}{$unapproved[''unapproved_threads'']}</td>\n<td class="{$bgcolor}" align="center" style="white-space: nowrap">{$posts}{$unapproved[''unapproved_posts'']}</td>\n<td class="{$bgcolor}" align="right" style="white-space: nowrap">{$lastpost}</td>\n</tr>', -2, '1804', '', [[timestamp]]),
(76, 'forumbit_depth2_forum', '<tr>\n<td class="{$bgcolor}" align="center" width="1"><span class="forum_status forum_{$lightbulb[''folder'']} ajax_mark_read" title="{$lightbulb[''altonoff'']}" id="mark_read_{$forum[''fid'']}"></span></td>\n<td class="{$bgcolor}">\n<strong><a href="{$forum_url}">{$forum[''name'']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum[''description'']}{$modlist}{$subforums}</div>\n</td>\n<td class="{$bgcolor}" align="center" style="white-space: nowrap">{$threads}{$unapproved[''unapproved_threads'']}</td>\n<td class="{$bgcolor}" align="center" style="white-space: nowrap">{$posts}{$unapproved[''unapproved_posts'']}</td>\n<td class="{$bgcolor}" align="right" style="white-space: nowrap">{$lastpost}</td>\n</tr>', -2, '1804', '', [[timestamp]]),
(77, 'forumbit_depth2_forum_lastpost', '<span class="smalltext">\n<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>\n<br />{$lastpost_date}<br />{$lang->by} {$lastpost_profilelink}</span>', -2, '1800', '', [[timestamp]]),
(78, 'forumbit_depth2_forum_lastpost_hidden', '<div style="text-align: center;">-</div>', -2, '1800', '', [[timestamp]]),
(79, 'forumbit_depth2_forum_lastpost_never', '<div style="text-align: center;">{$lang->lastpost_never}</div>', -2, '1800', '', [[timestamp]]),
(80, 'forumbit_depth2_forum_unapproved_posts', ' <span title="{$unapproved_posts_count}">({$forum[''unapprovedposts'']})</span>', -2, '1800', '', [[timestamp]]),
(81, 'forumbit_depth2_forum_unapproved_threads', ' <span title="{$unapproved_threads_count}">({$forum[''unapprovedthreads'']})</span>', -2, '1800', '', [[timestamp]]),
(82, 'forumbit_depth2_forum_viewers', '<span class="smalltext">{$forum_viewers_text}</span>', -2, '1800', '', [[timestamp]]),
(83, 'forumbit_depth3', '{$comma}{$statusicon}<a href="{$forum_url}" title="{$forum_viewers_text_plain}">{$forum[''name'']}</a>', -2, '1404', '', [[timestamp]]),
(84, 'forumbit_depth3_statusicon', '<div title="{$lightbulb[''altonoff'']}" class="subforumicon subforum_{$lightbulb[''folder'']} ajax_mark_read" id="mark_read_{$forum[''fid'']}"></div>', -2, '1800', '', [[timestamp]]),
(85, 'forumbit_moderators', '<br />{$lang->forumbit_moderated_by} {$moderators}', -2, '120', '', [[timestamp]]),
(86, 'forumbit_moderators_group', '{$comma}{$moderator[''title'']}', -2, '1800', '', [[timestamp]]),
(87, 'forumbit_moderators_user', '{$comma}<a href="{$moderator[''profilelink'']}">{$moderator[''username'']}</a>', -2, '1800', '', [[timestamp]]),
(88, 'forumbit_subforums', '<br /><strong>{$lang->subforums}</strong> {$sub_forums}', -2, '1808', '', [[timestamp]]),
(89, 'forumdisplay', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$foruminfo[''name'']} </title>\n{$headerinclude}\n{$rssdiscovery}\n<script type="text/javascript">\n<!--\n	lang.no_new_posts = "{$lang->no_new_posts}";\n	lang.click_mark_read = "{$lang->click_mark_read}";\n	lang.inline_edit_description = "{$lang->inline_edit_description}";\n	lang.post_fetch_error = "{$lang->post_fetch_error}";\n// -->\n</script>\n<!-- jeditable (jquery) -->\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_edit.js?ver=1821"></script>\n</head>\n<body>\n{$header}\n{$moderatedby}\n{$usersbrowsing}\n{$rules}\n{$subforums}\n{$threadslist}\n{$footer}\n</body>\n</html>', -2, '1821', '', [[timestamp]]),
(90, 'forumdisplay_announcement_rating', '	<td class="{$bgcolor} forumdisplay_announcement" align="center">-</td>', -2, '1801', '', [[timestamp]]),
(91, 'forumdisplay_announcements', '<tr>\n<td class="trow_sep" colspan="{$colspan}">{$lang->forum_announcements}</td>\n</tr>\n{$announcements}', -2, '120', '', [[timestamp]]),
(92, 'forumdisplay_announcements_announcement', '<tr>\n<td align="center" class="{$bgcolor} forumdisplay_announcement" width="2%"><span class="thread_status {$folder}">&nbsp;</span></td>\n<td align="center" class="{$bgcolor} forumdisplay_announcement" width="2%">&nbsp;</td>\n<td class="{$bgcolor} forumdisplay_announcement">\n	<a href="{$announcement[''announcementlink'']}"{$new_class}>{$announcement[''subject'']}</a>\n	<div class="author smalltext">{$announcement[''profilelink'']}</div>\n</td>\n<td align="center" class="{$bgcolor} forumdisplay_announcement">-</td>\n<td align="center" class="{$bgcolor} forumdisplay_announcement">-</td>\n{$rating}\n<td class="{$bgcolor} forumdisplay_announcement" style="white-space: nowrap; text-align: right"><span class="smalltext">{$postdate}</span></td>\n{$modann}\n</tr>', -2, '1800', '', [[timestamp]]),
(93, 'forumdisplay_forumsort', '<tr>\n		<td class="tfoot" align="right" colspan="{$colspan}">\n			<form action="forumdisplay.php" method="get">\n				<input type="hidden" name="fid" value="{$fid}" />\n				<select name="sortby">\n					<option value="subject"{$sortsel[''subject'']}>{$lang->sort_by_subject}</option>\n					<option value="lastpost"{$sortsel[''lastpost'']}>{$lang->sort_by_lastpost}</option>\n					<option value="starter"{$sortsel[''starter'']}>{$lang->sort_by_starter}</option>\n					<option value="started"{$sortsel[''started'']}>{$lang->sort_by_started}</option>\n					{$ratingsort}\n					<option value="replies"{$sortsel[''replies'']}>{$lang->sort_by_replies}</option>\n					<option value="views"{$sortsel[''views'']}>{$lang->sort_by_views}</option>\n				</select>\n				<select name="order">\n					<option value="asc"{$ordersel[''asc'']}>{$lang->sort_order_asc}</option>\n					<option value="desc"{$ordersel[''desc'']}>{$lang->sort_order_desc}</option>\n				</select>\n				<select name="datecut">\n					<option value="1"{$datecutsel[''1'']}>{$lang->datelimit_1day}</option>\n					<option value="5"{$datecutsel[''5'']}>{$lang->datelimit_5days}</option>\n					<option value="10"{$datecutsel[''10'']}>{$lang->datelimit_10days}</option>\n					<option value="20"{$datecutsel[''20'']}>{$lang->datelimit_20days}</option>\n					<option value="50"{$datecutsel[''50'']}>{$lang->datelimit_50days}</option>\n					<option value="75"{$datecutsel[''75'']}>{$lang->datelimit_75days}</option>\n					<option value="100"{$datecutsel[''100'']}>{$lang->datelimit_100days}</option>\n					<option value="365"{$datecutsel[''365'']}>{$lang->datelimit_lastyear}</option>\n					<option value="9999"{$datecutsel[''9999'']}>{$lang->datelimit_beginning}</option>\n				</select>\n				{$prefixselect}\n				{$gobutton}\n			</form>\n		</td>\n	</tr>', -2, '1827', '', [[timestamp]]),
(94, 'forumdisplay_announcements_announcement_modbit', '<td align="center" class="{$bgcolor} forumdisplay_announcement">-</td>', -2, '1800', '', [[timestamp]]),
(95, 'forumdisplay_inlinemoderation', '<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_moderation.js?ver=1838"></script>\n		<form id="inlinemoderation_options" action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="fid" value="{$fid}" />\n<input type="hidden" name="modtype" value="inlinethread" />\n<span class="smalltext"><strong>{$lang->inline_thread_moderation}</strong></span>\n<select name="action" id="inlinemoderation_options_selector">\n	<option value="" style="display: none;" selected="selected">{$lang->select_a_tool}</option>\n	<option value="delayedmoderation">{$lang->delayed_moderation}</option>\n	{$standardthreadtools}\n	{$customthreadtools}\n</select>\n<input type="submit" class="button" name="go" value="{$lang->inline_go} ({$inlinecount})" id="inline_go" />&nbsp;\n<input type="button" onclick="inlineModeration.clearChecked();" value="{$lang->clear}" class="button" />\n</form>\n<script type="text/javascript">\n<!--\n	var go_text = "{$lang->inline_go}";\n	var all_text = "{$threadcount}";\n	var inlineType = "forum";\n	var inlineId = {$fid};\n	lang.select_tool = "{$lang->inline_no_tool_selected}";\n	lang.selected_nil = "{$lang->inline_no_post_selected}";\n// -->\n</script>\n<br />', -2, '1838', '', [[timestamp]]),
(96, 'forumdisplay_inlinemoderation_approveunapprove', '<option value="multiapprovethreads">{$lang->approve_threads}</option>\n<option value="multiunapprovethreads">{$lang->unapprove_threads}</option>', -2, '1800', '', [[timestamp]]),
(97, 'forumdisplay_inlinemoderation_col', '<td class="tcat" align="center" width="1"><input type="checkbox" name="allbox" onclick="inlineModeration.checkAll(this)" /></td>', -2, '1400', '', [[timestamp]]),
(98, 'forumdisplay_inlinemoderation_custom', '<optgroup label="{$lang->custom_mod_tools}">{$customthreadtools}</optgroup>', -2, '120', '', [[timestamp]]),
(99, 'forumdisplay_inlinemoderation_custom_tool', '<option value="{$tool[''tid'']}">{$tool[''name'']}</option>', -2, '120', '', [[timestamp]]),
(100, 'forumdisplay_inlinemoderation_delete', '<option value="multideletethreads">{$lang->delete_threads}</option>', -2, '1800', '', [[timestamp]]),
(101, 'forumdisplay_inlinemoderation_manage', '<option value="multimovethreads">{$lang->move_threads}</option>', -2, '1800', '', [[timestamp]]),
(102, 'forumdisplay_inlinemoderation_openclose', '<option value="multiclosethreads">{$lang->close_threads}</option>\n<option value="multiopenthreads">{$lang->open_threads}</option>', -2, '1800', '', [[timestamp]]),
(103, 'forumdisplay_inlinemoderation_restore', '<option value="multirestorethreads">{$lang->restore_threads}</option>', -2, '1800', '', [[timestamp]]),
(104, 'forumdisplay_inlinemoderation_selectall', '<tr id="selectAllrow" class="hiddenrow">\n	<td colspan="8" class="selectall">{$lang->page_selected} <a href="javascript:void(0)" onclick=''inlineModeration.selectAll(); return false;''>{$lang->select_all}</a></td>\n</tr>\n<tr id="allSelectedrow" class="hiddenrow">\n	<td colspan="8" class="selectall">{$lang->all_selected} <a href="javascript:void(0)" onclick=''inlineModeration.clearChecked(); return false;''>{$lang->clear_selection}</a></td>\n</tr>', -2, '1809', '', [[timestamp]]),
(105, 'forumdisplay_inlinemoderation_softdelete', '<option value="multisoftdeletethreads">{$lang->soft_delete_threads}</option>', -2, '1800', '', [[timestamp]]),
(106, 'forumdisplay_inlinemoderation_standard', '<optgroup label="{$lang->standard_mod_tools}">\n{$inlinemodopenclose}\n{$inlinemodstickunstick}\n{$inlinemodsoftdelete}\n{$inlinemodrestore}\n{$inlinemoddelete}\n{$inlinemodmanage}\n{$inlinemodapproveunapprove}\n</optgroup>', -2, '1800', '', [[timestamp]]),
(107, 'forumdisplay_inlinemoderation_stickunstick', '<option value="multistickthreads">{$lang->stick_threads}</option>\n<option value="multiunstickthreads">{$lang->unstick_threads}</option>', -2, '1800', '', [[timestamp]]),
(108, 'forumdisplay_moderatedby', '<span class="smalltext">{$lang->moderated_by} <strong>{$moderators}</strong></span><br />', -2, '1600', '', [[timestamp]]),
(109, 'forumdisplay_newthread', '<a href="newthread.php?fid={$fid}" class="button new_thread_button"><span>{$lang->post_thread}</span></a>', -2, '1800', '', [[timestamp]]),
(110, 'forumdisplay_nopermission', '<tr>\n<td colspan="{$colspan}" class="trow1">{$lang->nopermission}</td>\n</tr>', -2, '1807', '', [[timestamp]]),
(111, 'forumdisplay_nothreads', '<tr>\n<td colspan="{$colspan}" class="trow1">{$lang->nothreads}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(112, 'forumdisplay_orderarrow', '<span class="smalltext">[<a href="{$sorturl}&amp;sortby={$sortby}&amp;order={$oppsortnext}">{$oppsort}</a>]</span>', -2, '120', '', [[timestamp]]),
(113, 'forumdisplay_password', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->password_required} </title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="{$_SERVER[''REQUEST_URI'']}" method="post">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" align="center" colspan="2"><strong>{$lang->password_required}</strong></td>\n</tr>\n<tr>\n<td class="trow2" colspan="2">{$lang->forum_password_note}</td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><strong>{$lang->enter_password_below}</strong></td>\n</tr>\n{$pwnote}\n<tr>\n<td class="trow1" align="center" colspan="2"><input type="password" class="textbox" name="pwverify" size="50" value="" /></td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->verify_forum_password}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '120', '', [[timestamp]]),
(114, 'forumdisplay_password_wrongpass', '<tr>\n<td class="trow1" align="center" colspan="2"><strong>{$lang->wrong_forum_password}</strong></td>\n</tr>', -2, '120', '', [[timestamp]]),
(115, 'forumdisplay_rssdiscovery', '<link rel="alternate" type="application/rss+xml" title="{$lang->rss_discovery_forum} (RSS 2.0)" href="{$mybb->settings[''bburl'']}/syndication.php?fid={$fid}" />\n<link rel="alternate" type="application/atom+xml" title="{$lang->rss_discovery_forum} (Atom 1.0)" href="{$mybb->settings[''bburl'']}/syndication.php?type=atom1.0&amp;fid={$fid}" />', -2, '120', '', [[timestamp]]),
(116, 'forumdisplay_rules', '<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<tr>\n<td class="thead"><strong>{$foruminfo[''rulestitle'']}</strong></td>\n</tr>\n<tr>\n<td class="trow1 scaleimages"><span class="smalltext">{$foruminfo[''rules'']}</span></td>\n</tr>\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(117, 'forumdisplay_rules_link', '<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="trow1"><strong><a href="misc.php?action=rules&amp;fid={$fid}">{$foruminfo[''rulestitle'']}</a></strong></td>\n</tr>\n</table>\n<br />', -2, '1607', '', [[timestamp]]),
(118, 'forumdisplay_searchforum', '<form action="search.php">\n	<span class="smalltext"><strong>{$lang->search_forum}</strong></span>\n	<input type="text" class="textbox" name="keywords" /> {$gobutton}\n	<input type="hidden" name="action" value="do_search" />\n	<input type="hidden" name="forums[]" value="{$fid}" />\n	<input type="hidden" name="postthread" value="1" />\n	</form><br />', -2, '1828', '', [[timestamp]]),
(119, 'forumdisplay_sticky_sep', '<tr>\n<td class="trow_sep" colspan="{$colspan}">{$lang->sticky_threads}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(120, 'forumdisplay_subforums', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="5" align="center"><strong>{$lang->sub_forums_in}</strong></td>\n</tr>\n<tr>\n<td class="tcat" width="2%">&nbsp;</td>\n<td class="tcat" width="59%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>\n<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>\n<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>\n<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>\n</tr>\n{$forums}\n</table>\n<br />', -2, '120', '', [[timestamp]]),
(121, 'forumdisplay_thread', '<tr class="inline_row">\n	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>\n	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>\n	<td class="{$bgcolor}{$thread_type_class}">\n		{$attachment_count}\n		<div>\n          <span>{$prefix} {$gotounread}{$thread[''threadprefix'']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread[''threadlink'']}">{$thread[''subject'']}</a></span>{$thread[''multipage'']}</span>\n			<div><span class="author smalltext">{$thread[''profilelink'']}{$lang->comma}</span><span class="thread_start_datetime smalltext">{$thread[''start_datetime'']}</span></div>\n		</div>\n	</td>\n	<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="{$mybb->settings[''bburl'']}/misc.php?action=whoposted&tid={$thread[''tid'']}" onclick="MyBB.whoPosted({$thread[''tid'']}); return false;">{$thread[''replies'']}</a>{$unapproved_posts}</td>\n	<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread[''views'']}</td>\n	{$rating}\n	<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">\n		<span class="lastpost smalltext">{$lastpostdate}<br />\n		<a href="{$thread[''lastpostlink'']}">{$lang->lastpost}</a>: {$lastposterlink}</span>\n	</td>\n{$modbit}\n</tr>', -2, '1823', '', [[timestamp]]),
(122, 'forumdisplay_thread_attachment_count', '<div class="float_right"><img src="{$theme[''imgdir'']}/paperclip.png" alt="" title="{$attachment_count}" /></div>', -2, '1800', '', [[timestamp]]),
(123, 'forumdisplay_thread_deleted', '<tr class="inline_row">\n	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>\n	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">&nbsp;</td>\n	<td class="{$bgcolor}{$thread_type_class}"><em>{$lang->deleted_thread}</em></td>\n	<td align="center" class="{$bgcolor}{$thread_type_class}">-</td>\n	<td align="center" class="{$bgcolor}{$thread_type_class}">-</td>\n	{$rating}\n	<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">-</td>\n	{$modbit}\n</tr>', -2, '1809', '', [[timestamp]]),
(124, 'forumdisplay_thread_gotounread', '<a href="{$thread[''newpostlink'']}"><img src="{$theme[''imgdir'']}/jump.png" alt="{$lang->goto_first_unread}" title="{$lang->goto_first_unread}" /></a> ', -2, '1800', '', [[timestamp]]),
(125, 'forumdisplay_thread_icon', '<img src="{$icon[''path'']}" alt="{$icon[''name'']}" title="{$icon[''name'']}" />', -2, '1800', '', [[timestamp]]),
(126, 'forumdisplay_thread_modbit', '<td class="{$bgcolor}{$thread_type_class}" align="center" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="inlinemod_{$multitid}" id="inlinemod_{$multitid}" value="1" {$inlinecheck}  /></td>', -2, '1800', '', [[timestamp]]),
(127, 'forumdisplay_thread_multipage', ' <span class="smalltext">({$lang->pages} {$threadpages}{$morelink})</span>', -2, '120', '', [[timestamp]]),
(128, 'forumdisplay_thread_multipage_more', '... <a href="{$page_link}">{$thread[''pages'']}</a>', -2, '1600', '', [[timestamp]]),
(129, 'forumdisplay_thread_multipage_page', '<a href="{$page_link}">{$i}</a> ', -2, '1400', '', [[timestamp]]),
(130, 'forumdisplay_thread_rating', '<td align="center" class="{$bgcolor}{$thread_type_class}" id="rating_table_{$thread[''tid'']}">\n		<ul class="star_rating{$not_rated}" id="rating_thread_{$thread[''tid'']}">\n			<li style="width: {$thread[''width'']}%" class="current_rating" id="current_rating_{$thread[''tid'']}">{$ratingvotesav}</li>\n		</ul>\n		<script type="text/javascript">\n		<!--\n			Rating.build_forumdisplay({$thread[''tid'']}, { width: ''{$thread[''width'']}'', extra_class: ''{$not_rated}'', current_average: ''{$ratingvotesav}'' });\n		// -->\n		</script>\n	</td>', -2, '1600', '', [[timestamp]]),
(131, 'forumdisplay_thread_rating_moved', '<td class="{$bgcolor}" style="text-align: center;">-</td>', -2, '1800', '', [[timestamp]]),
(132, 'forumdisplay_thread_unapproved_posts', ' <span title="{$unapproved_posts_count}">({$thread[''unapprovedposts'']})</span>', -2, '1800', '', [[timestamp]]),
(133, 'forumdisplay_threadlist', '<div class="float_left">\n	{$multipage}\n</div>\n<div class="float_right">\n	{$newthread}\n</div>\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder clear">\n	<tr>\n		<td class="thead" colspan="{$colspan}">\n			<div class="float_right">\n				<span class="smalltext"><strong><a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}">{$lang->markforum_read}</a>{$addremovesubscription}{$clearstoredpass}</strong></span>\n			</div>\n			<div>\n				<strong>{$foruminfo[''name'']}</strong>\n			</div>\n		</td>\n	</tr>\n	<tr>\n		<td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow[''subject'']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow[''starter'']}</strong></span></td>\n		<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow[''replies'']}</strong></span></td>\n		<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow[''views'']}</strong></span></td>\n		{$ratingcol}\n		<td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow[''lastpost'']}</strong></span></td>\n		{$inlinemodcol}\n	</tr>\n	{$selectall}\n	{$announcementlist}\n	{$threads}\n	{$forumsort}\n</table>\n<div class="float_left">\n	{$multipage}\n</div>\n<div class="float_right" style="margin-top: 4px;">\n	{$newthread}\n</div>\n<br class="clear" />\n<br />\n<div class="float_left">\n	<div class="float_left">\n		<dl class="thread_legend smalltext">\n			<dd><span class="thread_status newfolder" title="{$lang->new_thread}">&nbsp;</span> {$lang->new_thread}</dd>\n			<dd><span class="thread_status newhotfolder" title="{$lang->new_hot_thread}">&nbsp;</span> {$lang->new_hot_thread}</dd>\n			<dd><span class="thread_status hotfolder" title="{$lang->hot_thread}">&nbsp;</span> {$lang->hot_thread}</dd>\n		</dl>\n	</div>\n	<div class="float_left">\n		<dl class="thread_legend smalltext">\n			<dd><span class="thread_status folder" title="{$lang->no_new_thread}">&nbsp;</span> {$lang->no_new_thread}</dd>\n			<dd><span class="thread_status dot_folder" title="{$lang->posts_by_you}">&nbsp;</span> {$lang->posts_by_you}</dd>\n			<dd><span class="thread_status closefolder" title="{$lang->closed_thread}">&nbsp;</span> {$lang->closed_thread}</dd>\n		</dl>\n	</div>\n	<br class="clear" />\n</div>\n<div class="float_right" style="text-align: right;">\n	{$inlinemod}\n	{$searchforum}\n	{$forumjump}\n</div>\n<br class="clear" />', -2, '1838', '', [[timestamp]]),
(134, 'forumdisplay_threadlist_clearpass', ' | <a href="misc.php?action=clearpass&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}">{$lang->clear_stored_password}</a>', -2, '1606', '', [[timestamp]]),
(135, 'forumdisplay_threadlist_prefixes', '<select name="prefix">\n<option value="-2"{$default_selected[''any'']}>{$lang->prefix_any}</option>\n<option value="-1"{$default_selected[''none'']}>{$lang->prefix_none}</option>\n<option value="0"{$default_selected[''all'']}>{$lang->prefix_all}</option>\n{$prefixselect_prefix}\n</select>', -2, '1801', '', [[timestamp]]),
(136, 'forumdisplay_threadlist_prefixes_prefix', '<option value="{$prefix[''pid'']}"{$selected}>{$lang->prefix} {$prefix[''prefix'']}</option>', -2, '1800', '', [[timestamp]]),
(137, 'forumdisplay_threadlist_rating', '	<td class="tcat" align="center" width="80">\n		<span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=rating&amp;order=desc">{$lang->rating}</a> {$orderarrow[''rating'']}</strong></span>\n		<script type="text/javascript" src="{$mybb->asset_url}/jscripts/rating.js?ver=1821"></script>\n		<script type="text/javascript">\n		<!--\n			lang.stars = new Array();\n			lang.stars[1] = "{$lang->one_star}";\n			lang.stars[2] = "{$lang->two_stars}";\n			lang.stars[3] = "{$lang->three_stars}";\n			lang.stars[4] = "{$lang->four_stars}";\n			lang.stars[5] = "{$lang->five_stars}";\n			lang.ratings_update_error = "{$lang->ratings_update_error}";\n		// -->\n		</script>\n	</td>', -2, '1821', '', [[timestamp]]),
(138, 'forumdisplay_threadlist_sortrating', '<option value="rating" {$sortsel[''rating'']}>{$lang->sort_by_rating}</option>', -2, '120', '', [[timestamp]]),
(139, 'forumdisplay_threadlist_subscription', ' | <a href="usercp.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a>', -2, '1820', '', [[timestamp]]),
(140, 'forumdisplay_threads_sep', '<tr>\n<td class="trow_sep" colspan="{$colspan}">{$lang->normal_threads}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(141, 'forumdisplay_usersbrowsing', '<span class="smalltext">{$lang->users_browsing_forum} {$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</span><br />', -2, '1400', '', [[timestamp]]),
(142, 'forumdisplay_usersbrowsing_user', '{$comma}{$user[''profilelink'']}{$invisiblemark}', -2, '1400', '', [[timestamp]]),
(143, 'forumjump_advanced', '<form action="forumdisplay.php" method="get">\n<span class="smalltext"><strong>{$lang->forumjump}</strong></span>\n<select name="{$name}" class="forumjump">\n<option value="-4">{$lang->forumjump_pms}</option>\n<option value="-3">{$lang->forumjump_usercp}</option>\n<option value="-5">{$lang->forumjump_wol}</option>\n<option value="-2">{$lang->forumjump_search}</option>\n<option value="-1">{$lang->forumjump_home}</option>\n{$forumjumpbits}\n</select>\n{$gobutton}\n</form>\n<script type="text/javascript">\n$(".forumjump").on(''change'', function() {\n	var option = $(this).val();\n\n	if(option < 0)\n	{\n		window.location = ''forumdisplay.php?fid=''+option;\n	}\n	else\n	{\n		window.location = {$forum_link};\n	}\n});\n</script>', -2, '1821', '', [[timestamp]]),
(144, 'forumjump_bit', '<option value="{$forum[''fid'']}" {$optionselected}>{$depth} {$forum[''name'']}</option>', -2, '120', '', [[timestamp]]),
(145, 'forumjump_special', '<select name="{$name}">\n{$forumjumpbits}\n</select>', -2, '1804', '', [[timestamp]]),
(146, 'global_bannedwarning', '<div class="red_alert">\n<strong>{$lang->banned_warning}</strong>\n{$lang->banned_warning2}: {$reason}<br />\n{$lang->banned_warning3}: {$banlift}<br />\n</div>\n<br />', -2, '1400', '', [[timestamp]]),
(147, 'global_boardclosed_reason', '<blockquote>{$mybb->settings[''boardclosed_reason'']}</blockquote>', -2, '1808', '', [[timestamp]]),
(148, 'global_boardclosed_warning', '<div class="red_alert"><strong>{$lang->bbclosed_warning}</strong></div>', -2, '1600', '', [[timestamp]]),
(149, 'global_board_offline_modal', '<div class="modal">\n	<div style="overflow-y: auto; max-height: 400px;">\n		<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="thead">\n				<strong>{$mybb->settings[''bbname'']}</strong>\n			</td>\n		</tr>\n		<tr>\n			<td class="trow1">{$lang->error_boardclosed}</td>\n		</tr>\n		</table>\n	</div>\n</div>', -2, '1804', '', [[timestamp]]),
(150, 'global_dst_detection', '<script type="text/javascript">if(MyBB) { $([document, window]).on("load", function() { MyBB.detectDSTChange(''{$timezone}''); }); }</script>', -2, '1821', '', [[timestamp]]),
(151, 'global_no_permission_modal', '<div class="modal">\n	<div style="overflow-y: auto; max-height: 400px;">\n		<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="thead">\n				<strong>{$mybb->settings[''bbname'']}</strong>\n			</td>\n		</tr>\n		<tr>\n			<td class="trow1">{$lang->error_nopermission_user_ajax}</td>\n		</tr>\n		</table>\n	</div>\n</div>', -2, '1808', '', [[timestamp]]),
(152, 'global_pending_joinrequests', '<div class="red_alert">{$lang->groupleader_notice} <a href="{$mybb->settings[''bburl'']}/usercp.php?action=usergroups">{$lang->pending_joinrequests}</a></div>', -2, '1827', '', [[timestamp]]),
(153, 'global_pm_alert', '<div class="pm_alert" id="pm_notice">\n	<div class="float_right"><a href="{$mybb->settings[''bburl'']}/private.php?action=dismiss_notice&amp;my_post_key={$mybb->post_code}" title="{$lang->dismiss_notice}" onclick="return MyBB.dismissPMNotice(''{$mybb->settings[''bburl'']}/'')"><img src="{$theme[''imgdir'']}/dismiss_notice.png" alt="{$lang->dismiss_notice}" title="{$lang->dismiss_notice}" /></a></div>\n	<div>{$privatemessage_text}</div>\n</div>', -2, '1800', '', [[timestamp]]),
(154, 'global_remote_avatar_notice', '<div class="red_alert"><a href="{$mybb->settings[''bburl'']}/usercp.php?action=avatar">{$lang->remote_avatar_disabled_default_avatar}</a></div>', -2, '1809', '', [[timestamp]]),
(155, 'global_unreadreports', '<a href="{$mybb->settings[''bburl'']}/modcp.php?action=reports">{$lang->unread_reports}</a>', -2, '1820', '', [[timestamp]]),
(156, 'global_moderation_notice', '<div class="red_alert">{$moderation_text}</div>', -2, '1827', '', [[timestamp]]),
(157, 'global_modqueue', '<a href="{$mybb->settings[''bburl'']}/modcp.php?action=modqueue&type={$modqueue_type}">{$modqueue_message}</a>', -2, '1820', '', [[timestamp]]),
(158, 'global_modqueue_notice', '<div class="red_alert">{$moderation_queue}</div>', -2, '1820', '', [[timestamp]]),
(159, 'global_awaiting_activation', '<div class="red_alert">{$awaiting_message}</div>', -2, '1800', '', [[timestamp]]),
(160, 'header', '<div id="container">\n		<a name="top" id="top"></a>\n		<div id="header">\n			<div id="logo">\n				<div class="wrapper">\n					<a href="{$mybb->settings[''bburl'']}/index.php"><img src="{$theme[''logo'']}" alt="{$mybb->settings[''bbname'']}" title="{$mybb->settings[''bbname'']}" /></a>\n					<ul class="menu top_links">\n						{$menu_portal}\n						{$menu_search}\n						{$menu_memberlist}\n						{$menu_calendar}\n						<li><a href="{$mybb->settings[''bburl'']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>\n					</ul>\n				</div>\n			</div>\n			<div id="panel">\n				<div class="upper">\n					<div class="wrapper">\n						{$quicksearch}\n						{$welcomeblock}\n					<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->\n				<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->\n			</div>\n		</div>\n		<div id="content">\n			<div class="wrapper">\n				{$pm_notice}\n				{$remote_avatar_notice}\n				{$bannedwarning}\n				{$bbclosedwarning}\n				{$modnotice}\n				{$pending_joinrequests}\n				{$awaitingusers}\n				<navigation>\n				<br />', -2, '1820', '', [[timestamp]]),
(161, 'header_menu_calendar', '<li><a href="{$mybb->settings[''bburl'']}/calendar.php" class="calendar">{$lang->toplinks_calendar}</a></li>', -2, '1800', '', [[timestamp]]),
(162, 'header_menu_memberlist', '<li><a href="{$mybb->settings[''bburl'']}/memberlist.php" class="memberlist">{$lang->toplinks_memberlist}</a></li>', -2, '1800', '', [[timestamp]]),
(163, 'header_menu_portal', '<li><a href="{$mybb->settings[''bburl'']}/portal.php" class="portal">{$lang->toplinks_portal}</a></li>', -2, '1800', '', [[timestamp]]),
(164, 'header_menu_search', '<li><a href="{$mybb->settings[''bburl'']}/search.php" class="search">{$lang->toplinks_search}</a></li>', -2, '1800', '', [[timestamp]]),
(165, 'header_quicksearch', '						<form action="{$mybb->settings[''bburl'']}/search.php">\n						<fieldset id="search">\n							<input name="keywords" type="text" class="textbox" />\n							<input value="{$lang->search_button}" type="submit" class="button" />\n							<input type="hidden" name="action" value="do_search" />\n							<input type="hidden" name="postthread" value="1" />\n						</fieldset>\n						</form>', -2, '1822', '', [[timestamp]]);
INSERT INTO `[[dbprefix]]templates` VALUES
(166, 'header_welcomeblock_guest', '						<!-- Continuation of div(class="upper") as opened in the header template -->\n						<span class="welcome">{$lang->welcome_guest} <a href="{$mybb->settings[''bburl'']}/member.php?action=login" onclick="$(''#quick_login'').modal({ fadeDuration: 250, keepelement: true, zIndex: (typeof modal_zindex !== ''undefined'' ? modal_zindex : 9999) }); return false;" class="login">{$lang->welcome_login}</a> <a href="{$mybb->settings[''bburl'']}/member.php?action=register" class="register">{$lang->welcome_register}</a></span>\n					</div>\n				</div>\n				<div class="modal" id="quick_login" style="display: none;">\n					<form method="post" action="{$mybb->settings[''bburl'']}/member.php">\n						<input name="action" type="hidden" value="do_login" />\n						<input name="url" type="hidden" value="" />\n						<input name="quick_login" type="hidden" value="1" />\n						<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />\n						<table width="100%" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" border="0" class="tborder">\n							<tr>\n								<td class="thead" colspan="2"><strong>{$lang->login}</strong></td>\n							</tr>\n							{$loginform}\n						</table>\n					</form>\n				</div>\n				<script type="text/javascript">\n					$("#quick_login input[name=''url'']").val($(location).attr(''href''));\n				</script>', -2, '1816', '', [[timestamp]]),
(167, 'header_welcomeblock_guest_login_modal', '<tr>\n	<td class="trow1" width="25%"><strong>{$login_username}</strong></td>\n	<td class="trow1"><input name="quick_username" id="quick_login_username" type="text" value="" class="textbox initial_focus" /></td>\n</tr>\n<tr>\n	<td class="trow2"><strong>{$lang->password}</strong></td>\n	<td class="trow2">\n		<input name="quick_password" id="quick_login_password" type="password" value="" class="textbox" /><br />\n		<a href="{$mybb->settings[''bburl'']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a>\n	</td>\n</tr>\n<tr>\n	<td class="trow1">&nbsp;</td>\n	<td class="trow1 remember_me">\n		<input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked" />\n		<label for="quick_login_remember">{$lang->remember_me}</label>\n	</td>\n</tr>\n<tr>\n	<td class="trow2" colspan="2">\n		<div align="center"><input name="submit" type="submit" class="button" value="{$lang->login}" /></div>\n	</td>\n</tr>', -2, '1823', '', [[timestamp]]),
(168, 'header_welcomeblock_guest_login_modal_lockout', '<tr>\n	<td class="trow1" colspan="2">{$lang->failed_login_wait}</td>\n</tr>', -2, '1816', '', [[timestamp]]),
(169, 'header_welcomeblock_member', '<!-- Continuation of div(class="upper") as opened in the header template -->\n	<span class="welcome">{$lang->welcome_back} <a href="{$mybb->settings[''bburl'']}/member.php?action=logout&amp;logoutkey={$mybb->user[''logoutkey'']}" class="logout">{$lang->welcome_logout}</a></span>\n	</div>\n</div>\n<div class="lower">\n	<div class="wrapper">\n		<ul class="menu panel_links">\n			{$usercplink}\n			{$modcplink}\n			{$admincplink}\n		</ul>\n		<ul class="menu user_links">\n			{$buddylink}\n			{$searchlink}\n			{$pmslink}\n		</ul>\n	</div>\n	<br class="clear" />\n</div>', -2, '1821', '', [[timestamp]]),
(170, 'header_welcomeblock_member_admin', '<li><a href="{$mybb->settings[''bburl'']}/{$admin_dir}/index.php" class="admincp">{$lang->welcome_admin}</a></li>', -2, '1800', '', [[timestamp]]),
(171, 'header_welcomeblock_member_moderator', '<li><a href="{$mybb->settings[''bburl'']}/modcp.php" class="modcp">{$lang->welcome_modcp}</a></li>', -2, '1800', '', [[timestamp]]),
(172, 'header_welcomeblock_member_buddy', '<li><a id="buddylink" href="javascript:void(0)" onclick="MyBB.popupWindow(''{$mybb->settings[''bburl'']}/misc.php?action=buddypopup&modal=1'', null, true); return false;">{$lang->welcome_open_buddy_list}</a></li>', -2, '1821', '', [[timestamp]]),
(173, 'header_welcomeblock_member_pms', '<li><a href="{$mybb->settings[''bburl'']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}</li>', -2, '1809', '', [[timestamp]]),
(174, 'header_welcomeblock_member_search', '<li><a href="{$mybb->settings[''bburl'']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>\n<li><a href="{$mybb->settings[''bburl'']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></li>', -2, '1809', '', [[timestamp]]),
(175, 'header_welcomeblock_member_user', '<li><a href="{$mybb->settings[''bburl'']}/usercp.php" class="usercp">{$lang->welcome_usercp}</a></li>', -2, '1809', '', [[timestamp]]),
(176, 'index', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']}</title>\n{$headerinclude}\n<script type="text/javascript">\n<!--\n	lang.no_new_posts = "{$lang->no_new_posts}";\n	lang.click_mark_read = "{$lang->click_mark_read}";\n// -->\n</script>\n</head>\n<body>\n{$header}\n{$forums}\n{$boardstats}\n\n<dl class="forum_legend smalltext">\n	<dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>\n	<dd>{$lang->new_posts}</dd>\n\n	<dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>\n	<dd>{$lang->no_new_posts}</dd>\n\n	<dt><span class="forum_status forum_offclose" title="{$lang->forum_closed}"></span></dt>\n	<dd>{$lang->forum_closed}</dd>\n\n	<dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>\n	<dd>{$lang->forum_redirect}</dd>\n</dl>\n<br class="clear" />\n{$footer}\n</body>\n</html>', -2, '1817', '', [[timestamp]]),
(177, 'index_birthdays', '<tr><td class="tcat"><span class="smalltext"><strong>{$lang->todays_birthdays}</strong></span></td></tr>\n<tr>\n<td class="trow1"><span class="smalltext">{$bdays}</span></td>\n</tr>', -2, '120', '', [[timestamp]]),
(178, 'index_birthdays_birthday', '{$comma}{$bdayuser[''profilelink'']}{$age}', -2, '1400', '', [[timestamp]]),
(179, 'index_boardstats', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<thead>\n<tr>\n<td class="thead{$collapsedthead[''boardstats'']}">\n<div class="expcolimage"><img src="{$theme[''imgdir'']}/collapse{$collapsedimg[''boardstats'']}.png" id="boardstats_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>\n<div><strong>{$lang->boardstats}</strong></div>\n</td>\n</tr>\n</thead>\n<tbody style="{$collapsed[''boardstats_e'']}" id="boardstats_e">\n{$whosonline}\n{$birthdays}\n{$forumstats}\n<tr>\n	<td class="tfoot" style="text-align: right">\n		<span class="smalltext">\n			{$logoutlink}\n			{$statspage}\n		</span>\n	</td>\n</tr>\n</tbody>\n</table>\n<br />', -2, '1820', '', [[timestamp]]),
(180, 'index_statspage', '{$stats_page_separator}<a href="stats.php">{$lang->forumstats}</a>', -2, '1817', '', [[timestamp]]),
(181, 'index_logoutlink', '<a href="member.php?action=logout&amp;logoutkey={$mybb->user[''logoutkey'']}">{$lang->index_logout}</a>', -2, '1816', '', [[timestamp]]),
(182, 'index_stats', '<tr><td class="tcat"><span class="smalltext"><strong>{$lang->boardstats}</strong></span></td></tr>\n<tr>\n<td class="trow1"><span class="smalltext">\n{$lang->stats_posts_threads}<br />\n{$lang->stats_numusers}<br />\n{$lang->stats_newestuser}<br />\n{$lang->stats_mostonline}\n</span>\n</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(183, 'index_whosonline', '<tr>\n<td class="tcat"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>\n</tr>\n<tr>\n<td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>\n</tr>', -2, '1400', '', [[timestamp]]),
(184, 'index_whosonline_memberbit', '{$user[''profilelink'']}{$invisiblemark}', -2, '1818', '', [[timestamp]]),
(185, 'managegroup', '<html>\n<head>\n	<title>{$mybb->settings[''bbname'']} - {$lang->members_of}</title>\n	{$headerinclude}\n</head>\n<body>\n	{$header}\n	{$joinrequests}\n	<p>{$usergrouptype}</p>\n	{$group_leaders}\n	{$multipage}\n	<form method="post" action="managegroup.php">\n		<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n		<input type="hidden" name="action" value="do_manageusers" />\n		<input type="hidden" name="gid" value="{$gid}" />\n		<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n			<tr>\n				<td class="thead" colspan="6"><strong>{$lang->members_of}</strong></td>\n			</tr>\n			<tr>\n				<td class="tcat" width="40%"><span class="smalltext"><strong>{$lang->user_name}</strong></span></td>\n				<td class="tcat" colspan="2" align="center"><span class="smalltext"><strong>{$lang->contact}</strong></span></td>\n				<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->reg_date}</strong></span></td>\n				<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->post_count}</strong></span></td>\n				<td class="tcat" width="1">&nbsp;</td>\n			</tr>\n			{$users}\n		</table>\n		<br />\n		<div align="center">\n			{$remove_users}\n		</div>\n	</form>\n	{$add_user}\n	{$invite_user}\n	{$footer}\n</body>\n</html>', -2, '1813', '', [[timestamp]]),
(186, 'managegroup_adduser', '<br />\n<form method="post" action="managegroup.php">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_add" />\n<input type="hidden" name="gid" value="{$gid}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="6"><strong>{$lang->add_member}</strong></td>\n</tr>\n<tr>\n<td class="trow1">{$lang->username}</td>\n  <td class="trow1"><input type="text" id="username" class="textbox" name="username" size="40" maxlength="{$mybb->settings[''maxnamelength'']}" style="width: 210px" /></td>\n</tr>\n</table>\n<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n<script type="text/javascript">\n<!--\nif(use_xmlhttprequest == "1")\n{\n	MyBB.select2();\n	$("#username").select2({\n		placeholder: "{$lang->search_user}",\n		minimumInputLength: 2,\n		multiple: false,\n		allowClear: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var value = $(element).val();\n			if (value !== "") {\n				callback({\n					id: value,\n					text: value\n				});\n			}\n		},\n	});\n}\n// -->\n</script>\n<br />\n<div align="center"><input type="submit" class="button" value="{$lang->add_member_submit}" /></div>\n</form>', -2, '1823', '', [[timestamp]]),
(187, 'managegroup_inviteuser', '<br />\n<form method="post" action="managegroup.php">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_invite" />\n<input type="hidden" name="gid" value="{$gid}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="6"><strong>{$lang->invite_member}</strong></td>\n</tr>\n<tr>\n<td class="trow1">{$lang->username}</td>\n  <td class="trow1"><input type="text" id="inviteusername" class="textbox" name="inviteusername" size="40" maxlength="{$mybb->settings[''maxnamelength'']}" style="width: 210px" /></td>\n</tr>\n</table>\n<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n<script type="text/javascript">\n<!--\nif(use_xmlhttprequest == "1")\n{\n	MyBB.select2();\n	$("#inviteusername").select2({\n		placeholder: "{$lang->search_user}",\n		minimumInputLength: 2,\n		multiple: false,\n		allowClear: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var value = $(element).val();\n			if (value !== "") {\n				callback({\n					id: value,\n					text: value\n				});\n			}\n		},\n	});\n}\n// -->\n</script>\n<br />\n<div align="center"><input type="submit" class="button" value="{$lang->invite_member_submit}" /></div>\n</form>', -2, '1823', '', [[timestamp]]),
(188, 'managegroup_joinrequests', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->join_requests}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$joinrequests}\n<form method="post" action="managegroup.php">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_joinrequests" />\n<input type="hidden" name="gid" value="{$gid}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="6"><strong>{$lang->join_requests}</strong></td>\n</tr>\n<tr>\n<td class="tcat" width="30%"><strong>{$lang->user_name}</strong></td>\n<td class="tcat" align="center" width="40%"><strong>{$lang->reason}</strong></td>\n<td class="tcat" align="center" width="10%"><strong>{$lang->accept}</strong></td>\n<td class="tcat" align="center" width="10%"><strong>{$lang->ignore}</strong></td>\n<td class="tcat" align="center" width="10%"><strong>{$lang->decline}</strong></td>\n</tr>\n{$users}\n</table>\n<br />\n<div align="center"><input type="submit" class="button" value="{$lang->action_requests}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(189, 'managegroup_joinrequests_request', '<tr>\n<td class="{$altbg}">{$user[''profilelink'']}</td>\n<td class="{$altbg}" align="center">{$user[''reason'']}</td>\n<td class="{$altbg}" align="center"><input type="radio" class="radio" name="request[{$user[''uid'']}]" value="accept" /></td>\n<td class="{$altbg}" align="center"><input type="radio" class="radio" name="request[{$user[''uid'']}]" value="ignore" checked="checked" /></td>\n<td class="{$altbg}" align="center"><input type="radio" class="radio" name="request[{$user[''uid'']}]" value="decline" /></td>\n</tr>', -2, '1400', '', [[timestamp]]),
(190, 'managegroup_leaders', '<p>{$lang->group_leaders}: {$leaders}</p>', -2, '1600', '', [[timestamp]]),
(191, 'managegroup_leaders_bit', '{$leader_profile_link}{$comma}', -2, '1600', '', [[timestamp]]),
(192, 'managegroup_no_users', '<tr>\n<td class="trow1" colspan="6">{$lang->no_users}</td>\n</tr>', -2, '1607', '', [[timestamp]]),
(193, 'managegroup_removeusers', '<input type="submit" class="button" value="{$lang->remove_selected}" />', -2, '120', '', [[timestamp]]),
(194, 'managegroup_requestnote', '<p>\n<strong><a href="managegroup.php?action=joinrequests&amp;gid={$gid}">{$lang->pending_requests}</a></strong><br />\n{$lang->num_requests_pending}\n</p>', -2, '120', '', [[timestamp]]),
(195, 'managegroup_user', '<tr>\n<td class="{$altbg}">{$user[''profilelink'']} {$leader}</td>\n<td class="{$altbg}" align="center" width="100"><div class="postbit_buttons">{$email}</div></td>\n<td class="{$altbg}" align="center" width="100"><div class="postbit_buttons">{$sendpm}</div></td>\n<td class="{$altbg}" align="center">{$regdate}</td>\n<td class="{$altbg}" align="center">{$user[''postnum'']}</td>\n<td class="{$altbg}" align="center">{$checkbox}</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(196, 'managegroup_user_checkbox', '<input type="checkbox" class="checkbox" name="removeuser[{$user[''uid'']}]" value="{$user[''uid'']}" {$disabled} />', -2, '1823', '', [[timestamp]]),
(197, 'member_activate', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->account_activation}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<br />\n<form action="member.php" method="post">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->activate_account}</strong></td>\n</tr>\n<tr>\n<td class="trow1" width="30%"><strong>{$lang->username}</strong></td>\n<td class="trow1"><input type="text" class="textbox" name="username" value="{$user[''username'']}" /></td>\n</tr>\n<tr>\n<td class="trow1" width="30%"><strong>{$lang->activation_code}</strong></td>\n<td class="trow1"><input type="text" class="textbox" name="code" value="{$code}" /></td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="hidden" name="action" value="activate" /><input type="submit" class="button" name="regsubmit" value="{$lang->activate_account}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '120', '', [[timestamp]]),
(198, 'member_coppa_form', '<html>\n<head>\n	<title>{$mybb->settings[''bbname'']} - {$lang->coppa_compliance}</title>\n	<style type="text/css">\n		body { font-family: Verdana, Arial, sans-serif; font-size: 13px; }\n		.largetext, h1 { font-family: Verdana, Arial, sans-serif; font-size: medium; font-weight: bold; margin: 0; }\n		.grey { color: #ccc; }\n		dl { margin-left: 40px; }\n		dt { width: 150px; float: left; clear: left; font-weight: bold; }\n		dd { margin-bottom: 20px; margin-left: 150px; }\n		dd.single { margin-left: 0; }\n		input.textbox { border: 0; border-bottom: 1px solid #000; font-size: 16px; width: 350px; }\n		input.date { width: 80px; }\n	</style>\n</head>\n<body>\n	<div class="largetext float_right" style="text-align: center; padding-bottom: 10px;">\n		{$mybb->settings[''bbname'']}<br /><span class="grey">{$lang->coppa_registration}</span>\n	</div>\n	<div style="padding-bottom: 10px;"><a href="index.php"><img src="{$theme[''logo'']}" alt="{$mybb->settings[''bbname'']}" border="0" /></a></div>\n	<br class="clear" />\n\n	<p>{$lang->coppa_form_instructions}</p>\n\n	<dl>\n		<dt>{$lang->fax_number}</dt>\n		<dd>{$mybb->settings[''faxno'']}</dd>\n\n		<dt>{$lang->mailing_address}</dt>\n		<dd>{$mybb->settings[''mailingaddress'']}</dd>\n	</dl>\n\n	<h1 class="clear" />{$lang->account_information}</h1>\n	<dl>\n		<dt><label for="username">{$lang->username}</label></dt>\n		<dd><input type="text" class="textbox" id="username" /></dd>\n\n		<dt><label for="email">{$lang->email}</label></dt>\n		<dd><input type="text" class="textbox" id="email" /></dd>\n	</dl>\n	<h1 class="clear" />{$lang->parent_details}</h1>\n	<dl>\n		<dt><label for="name">{$lang->full_name}</label></dt>\n		<dd><input type="text" class="textbox" id="name" /></dd>\n\n			<dt><label for="relation">{$lang->relation}</label></dt>\n		<dd><input type="text" class="textbox" id="relation" /></dd>\n\n		<dt><label for="phone">{$lang->phone_no}</label></dt>\n		<dd><input type="text" class="textbox" id="phone" /></dd>\n\n		<dt><label for="parent_email">{$lang->email}</label></dt>\n		<dd><input type="text" class="textbox" id="parent_email" /></dd>\n\n		<dd class="single">{$lang->coppa_parent_agreement}</dd>\n\n		<dt><label for="signature">{$lang->signature}</label></dt>\n		<dd><input type="text" class="textbox" id="signature" /> {$lang->date}: <input type="text" class="textbox date" id="date" /></dd>\n	</dl>\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(199, 'member_emailuser', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->email_user}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$errors}\n<form action="member.php" method="post" name="input">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td colspan="2" width="100%" class="thead"><strong>{$lang->email_user}</strong></td>\n</tr>\n{$from_email}\n<tr>\n<td width="40%" class="trow2"><strong>{$lang->email_subject}</strong></td>\n<td width="60%" class="trow2"><input type="text" class="textbox" size="50" name="subject" value="{$subject}" /></td>\n</tr>\n<tr>\n<td valign="top" width="40%" class="trow1"><strong>{$lang->email_message}</strong></td>\n<td width="60%" class="trow1"><textarea cols="50" rows="10" name="message">{$message}</textarea></td>\n</tr>\n{$captcha}\n</table>\n<br />\n<input type="hidden" name="action" value="do_emailuser" />\n<input type="hidden" name="uid" value="{$to_user[''uid'']}" />\n<div align="center"><input type="submit" class="button" value="{$lang->send_email}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(200, 'member_emailuser_guest', '<tr>\n<td width="40%" class="trow2"><strong>{$lang->your_name}</strong><br /><span class="smalltext">{$lang->name_note}</span></td>\n<td width="60%" class="trow2"><input type="text" class="textbox" size="50" name="fromname" value="{$fromname}" /></td>\n</tr>\n<tr>\n<td width="40%" class="trow1"><strong>{$lang->your_email}</strong><br /><span class="smalltext">{$lang->email_note}</span></td>\n<td width="60%" class="trow1"><input type="text" class="textbox" size="50" name="fromemail"  value="{$fromemail}" /></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(201, 'member_loggedin_notice', '<fieldset class="align_right smalltext">{$lang->already_logged_in}</fieldset>\n<br />', -2, '1800', '', [[timestamp]]),
(202, 'member_login', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->login}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<br />\n{$inline_errors}\n{$member_loggedin_notice}\n<form action="member.php" method="post">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->login}</strong></td>\n</tr>\n<tr>\n<td class="trow1"><strong>{$lang->username}</strong></td>\n<td class="trow1"><input type="text" class="textbox" name="username" size="25" style="width: 200px;" value="{$username}" /></td>\n</tr>\n<tr>\n<td class="trow2"><strong>{$lang->password}</strong><br /><span class="smalltext">{$lang->pw_note}</span></td>\n<td class="trow2"><input type="password" class="textbox" name="password" size="25" style="width: 200px;" value="{$password}" /> (<a href="member.php?action=lostpw">{$lang->lostpw_note}</a>)</td>\n</tr>\n<tr>\n<td class="trow1" colspan="2" align="center"><label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" checked="checked" value="yes" /> {$lang->remember_me}</label></td>\n</tr>\n{$captcha}\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->login}" /></div>\n<input type="hidden" name="action" value="do_login" />\n<input type="hidden" name="url" value="{$redirect_url}" />\n<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1816', '', [[timestamp]]),
(203, 'member_lostpw', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->lost_pw}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$errors}\n<form action="member.php" method="post">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->lost_pw_form}</strong></td>\n</tr>\n<tr>\n<td class="trow1" width="40%"><strong>{$lang->email_address}</strong></td>\n<td class="trow1" width="60%"><input type="text" class="textbox" name="email" value="{$email}" /></td>\n</tr>\n{$captcha}\n</table>\n<br />\n<div align="center"><input name="submit" type="submit" class="button" value="{$lang->request_user_pass}" /></div>\n<input type="hidden" name="action" value="do_lostpw" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1821', '', [[timestamp]]),
(204, 'member_no_referrals', '<tr>\n	<td class="trow1" colspan="2">{$lang->member_no_referrals}</td>\n</tr>', -2, '1820', '', [[timestamp]]),
(205, 'member_profile', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->profile}</title>\n{$headerinclude}\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1820"></script>\n</head>\n<body>\n{$header}\n<fieldset>\n	<table width="100%" cellspacing="0" cellpadding="0" border="0">\n		<tr>\n			<td width="75%">\n				<span class="largetext"><strong>{$formattedname}</strong></span><br />\n				<span class="smalltext">\n					({$usertitle})<br />\n					{$groupimage}\n					{$userstars}<br />\n					<br />\n					<strong>{$lang->registration_date}</strong> {$memregdate}<br />\n					<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />\n					<strong>{$lang->local_time}</strong> {$localtime}<br />\n					<strong>{$lang->postbit_status}</strong> {$online_status}\n				</span>\n			</td>\n			<td width="25%" align="right" valign="middle">{$avatar}</td>\n		</tr>\n	</table>\n</fieldset>\n<br />\n{$awaybit}{$bannedbit}\n<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">\n	<tr>\n		<td width="50%" valign="top">\n			<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n				<tr>\n					<td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td>\n				</tr>\n				<tr>\n					<td class="trow1" style="width: 30%;"><strong>{$lang->joined}</strong></td>\n					<td class="trow1">{$memregdate}</td>\n				</tr>\n				<tr>\n					<td class="trow2"><strong>{$lang->lastvisit}</strong></td>\n					<td class="trow2">{$memlastvisitdate}</td>\n				</tr>\n				<tr>\n					<td class="trow1"><strong>{$lang->total_posts}</strong></td>\n					<td class="trow1">{$memprofile[''postnum'']} ({$lang->ppd_percent_total}){$findposts}</td>\n				</tr>\n				<tr>\n					<td class="trow2"><strong>{$lang->total_threads}</strong></td>\n					<td class="trow2">{$memprofile[''threadnum'']} ({$lang->tpd_percent_total}){$findthreads}</td>\n				</tr>\n				<tr>\n					<td class="trow1"><strong>{$lang->timeonline}</strong></td>\n					<td class="trow1">{$timeonline}</td>\n				</tr>\n				{$referrals}\n				{$reputation}\n				{$warning_level}\n			</table>\n			{$contact_details}\n		</td>\n		<td>&nbsp;&nbsp;</td>\n		<td width="50%" valign="top">\n			{$profilefields}\n			{$signature}\n			{$modoptions}\n			{$adminoptions}\n			<div style="text-align: center">{$buddy_options}{$ignore_options}{$report_options}</div>\n		</td>\n	</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1820', '', [[timestamp]]),
(206, 'member_profile_addremove', '<a href="{$add_remove_options[''url'']}" class="button small_button {$add_remove_options[''class'']}"><span>{$add_remove_options[''lang'']}</span></a>', -2, '1800', '', [[timestamp]]),
(207, 'member_profile_adminoptions', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" width="100%" class="tborder">\n<tr>\n<td colspan="2" class="thead"><strong>{$lang->admin_options}</strong></td>\n</tr>\n<tr>\n<td class="trow1">\n<ul>\n<li><a href="{$mybb->settings[''bburl'']}/{$admin_dir}/index.php?module=user-users&amp;action=edit&amp;uid={$uid}">{$lang->admin_edit_in_acp}</a></li>\n<li><a href="{$mybb->settings[''bburl'']}/{$admin_dir}/index.php?module=user-banning&amp;uid={$uid}">{$lang->admin_ban_in_acp}</a></li>\n</ul>\n</td>\n</tr>\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(208, 'member_profile_adminoptions_manageban', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" width="100%" class="tborder">\n<tr>\n<td colspan="2" class="thead"><strong>{$lang->admin_options}</strong></td>\n</tr>\n<tr>\n<td class="trow1">\n<ul>\n<li><a href="{$mybb->settings[''bburl'']}/{$admin_dir}/index.php?module=user-users&amp;action=edit&amp;uid={$uid}">{$lang->admin_edit_in_acp}</a></li>\n<li><a href="{$mybb->settings[''bburl'']}/{$admin_dir}/index.php?module=user-banning&amp;action=edit&amp;uid={$uid}">{$lang->admin_edit_ban_in_acp}</a></li>\n<li><a href="{$mybb->settings[''bburl'']}/{$admin_dir}/index.php?module=user-banning&amp;action=lift&amp;uid={$uid}">{$lang->admin_lift_ban_in_acp}</a></li>\n</ul>\n</td>\n</tr>\n</table>\n<br />', -2, '1823', '', [[timestamp]]),
(209, 'member_profile_avatar', '<img src="{$useravatar[''image'']}" alt="" {$useravatar[''width_height'']} />', -2, '1800', '', [[timestamp]]),
(210, 'member_profile_away', '<fieldset>\n<legend><strong>{$lang->away_note}</strong></legend>\n<em>{$lang->away_reason} {$awayreason}</em><br />\n<span class="smalltext">{$lang->away_since} {$awaydate} &mdash; {$lang->away_returns} {$returndate}</span>\n</fieldset>\n<br />', -2, '1801', '', [[timestamp]]),
(211, 'member_profile_banned', '<fieldset>\n<legend><strong>{$lang->ban_note}</strong></legend>\n<em>{$lang->banned_warning2}: {$memban[''reason'']}</em><br />\n<span class="smalltext"><strong>{$lang->ban_by}:</strong> {$memban[''adminuser'']} &mdash; <strong>{$lang->ban_length}:</strong> {$banlength} <span class="smalltext">{$timeremaining}</span></span>\n</fieldset>\n<br />', -2, '1801', '', [[timestamp]]),
(212, 'member_profile_banned_remaining', '<span class="{$banned_class}">({$timeremaining} {$lang->ban_remaining})</span>', -2, '1808', '', [[timestamp]]),
(213, 'member_profile_contact_details', '<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n	<colgroup>\n	<col style="width: 30%;" />\n	</colgroup>\n	<tr>\n		<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>\n	</tr>\n	{$website}\n	{$sendemail}\n	{$sendpm}\n	{$contact_fields[''icq'']}\n	{$contact_fields[''skype'']}\n	{$contact_fields[''google'']}\n</table>', -2, '1822', '', [[timestamp]]),
(214, 'member_profile_contact_fields_google', '<tr>\n	<td class="{$bgcolors[''google'']}"><strong>{$lang->google_id}</strong></td>\n	<td class="{$bgcolors[''google'']}">{$memprofile[''google'']}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(215, 'member_profile_contact_fields_icq', '<tr>\n	<td class="{$bgcolors[''icq'']}"><strong>{$lang->icq_number}</strong></td>\n	<td class="{$bgcolors[''icq'']}">{$memprofile[''icq'']}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(216, 'member_profile_contact_fields_skype', '<tr>\n	<td class="{$bgcolors[''skype'']}"><strong>{$lang->skype_id}</strong></td>\n	<td class="{$bgcolors[''skype'']}">{$memprofile[''skype'']}</td>\n</tr>', -2, '1823', '', [[timestamp]]),
(217, 'member_profile_customfields', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<colgroup>\n<col style="width: 30%;" />\n</colgroup>\n<tr>\n<td colspan="2" class="thead"><strong>{$lang->users_additional_info}</strong></td>\n</tr>\n{$customfields}\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(218, 'member_profile_customfields_field', '<tr>\n<td class="{$bgcolor}"><strong>{$customfield[''name'']}:</strong></td>\n<td class="{$bgcolor} scaleimages">{$customfieldval}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(219, 'member_profile_customfields_field_multi', '<ul style="margin: 0; padding-left: 15px;">\n{$customfield_val}\n</ul>', -2, '1800', '', [[timestamp]]),
(220, 'member_profile_customfields_field_multi_item', '<li style="margin-left: 0;">{$val}</li>', -2, '1800', '', [[timestamp]]),
(221, 'member_profile_email', '<tr>\n<td class="{$bgcolor}"><strong>{$lang->email}</strong></td>\n<td class="{$bgcolor}"><a href="member.php?action=emailuser&amp;uid={$memprofile[''uid'']}">{$lang->send_user_email}</a></td>\n</tr>', -2, '120', '', [[timestamp]]),
(222, 'member_profile_findposts', '<br /><span class="smalltext">(<a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span>', -2, '1807', '', [[timestamp]]),
(223, 'member_profile_findthreads', '<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a>)</span>', -2, '1807', '', [[timestamp]]),
(224, 'member_profile_groupimage', '<img src="{$memperms[''image'']}" alt="{$usertitle}" title="{$usertitle}" /><br />', -2, '1817', '', [[timestamp]]),
(225, 'member_profile_modoptions', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" width="100%" class="tborder">\n<tr>\n<td colspan="2" class="thead"><strong>{$lang->mod_options}</strong></td>\n</tr>\n{$ipaddress}\n{$manageuser}\n<tr>\n<td class="trow2">\n{$memprofile[''usernotes'']}<br />\n{$editnotes}\n</td>\n</tr>\n</table>\n<br />', -2, '1812', '', [[timestamp]]),
(226, 'member_profile_modoptions_banuser', '<li><a href="{$mybb->settings[''bburl'']}/modcp.php?action=banuser&amp;uid={$uid}">{$lang->ban_in_mcp}</a></li>', -2, '1800', '', [[timestamp]]),
(227, 'member_profile_modoptions_manageban', '<li><a href="{$mybb->settings[''bburl'']}/modcp.php?action=banuser&amp;uid={$uid}">{$lang->edit_ban_in_mcp}</a></li>\n<li><a href="{$mybb->settings[''bburl'']}/modcp.php?action=liftban&amp;uid={$uid}&amp;my_post_key={$mybb->post_code}">{$lang->lift_ban_in_mcp}</a></li>', -2, '1820', '', [[timestamp]]),
(228, 'member_profile_modoptions_editnotes', '<a href="{$mybb->settings[''bburl'']}/modcp.php?action=editprofile&amp;uid={$uid}#usernotes">{$lang->edit_usernotes}</a>', -2, '1800', '', [[timestamp]]),
(229, 'member_profile_modoptions_editprofile', '<li><a href="{$mybb->settings[''bburl'']}/modcp.php?action=editprofile&amp;uid={$uid}">{$lang->edit_in_mcp}</a></li>', -2, '1800', '', [[timestamp]]),
(230, 'member_profile_modoptions_ipaddress', '<tr>\n<td class="trow1">\n<strong>{$lang->registration_ip}</strong> {$memprofile[''regip'']}<br />\n<strong>{$lang->last_known_ip}</strong> {$memprofile[''lastip'']}\n</td>\n</tr>', -2, '1812', '', [[timestamp]]),
(231, 'member_profile_modoptions_purgespammer', '<li><a href="{$mybb->settings[''bburl'']}/moderation.php?action=purgespammer&amp;uid={$uid}">{$lang->purgespammer}</a></li>', -2, '1800', '', [[timestamp]]),
(232, 'member_profile_modoptions_manageuser', '<tr>\n<td class="trow1">\n<ul>\n{$editprofile}\n{$banuser}\n{$manageban}\n{$purgespammer}\n</ul>\n</td>\n</tr>', -2, '1820', '', [[timestamp]]),
(233, 'member_profile_modoptions_viewnotes', '[<a href="javascript:void(0)" onclick="MyBB.viewNotes({$memprofile[''uid'']}); return false;">{$lang->view_all_notes}</a>]', -2, '1809', '', [[timestamp]]),
(234, 'member_profile_offline', '<span class="offline" style="font-weight: bold;">{$lang->postbit_status_offline}</span>', -2, '1400', '', [[timestamp]]),
(235, 'member_profile_online', '<a href="online.php"><span class="online" style="font-weight: bold;">{$lang->postbit_status_online}</span></a> ({$location} @ {$location_time})', -2, '1400', '', [[timestamp]]),
(236, 'member_profile_pm', '<tr>\n	<td class="{$bgcolor}"><strong>{$lang->pm}</strong></td>\n	<td class="{$bgcolor}"><a href="private.php?action=send&amp;uid={$memprofile[''uid'']}">{$lang->send_pm}</a></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(237, 'member_profile_referrals', '<tr>\n	<td class="{$bg_color}"><strong>{$lang->members_referred}</strong></td>\n	<td class="{$bg_color}">{$memprofile[''referrals'']}</td>\n</tr>', -2, '1820', '', [[timestamp]]),
(238, 'member_profile_reputation', '<tr>\n	<td class="{$bg_color}"><strong>{$lang->reputation}</strong></td>\n	<td class="{$bg_color}">{$reputation} [<a href="reputation.php?uid={$memprofile[''uid'']}">{$lang->reputation_details}</a>] {$vote_link}</td>\n</tr>', -2, '1600', '', [[timestamp]]),
(239, 'member_profile_reputation_vote', '[<a href="javascript:void(0)" onclick="MyBB.reputation({$memprofile[''uid'']}); return false;">{$lang->reputation_vote}</a>]', -2, '1809', '', [[timestamp]]),
(240, 'member_profile_signature', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<tr>\n<td class="thead"><strong>{$lang->users_signature}</strong></td>\n</tr>\n<tr>\n<td class="trow1 scaleimages">{$memprofile[''signature'']}</td>\n</tr>\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(241, 'member_profile_userstar', '<img src="{$starimage}" border="0" alt="*" />', -2, '1800', '', [[timestamp]]),
(242, 'member_profile_warn', '[<a href="warnings.php?action=warn&amp;uid={$memprofile[''uid'']}">{$lang->warn}</a>]', -2, '1400', '', [[timestamp]]),
(243, 'member_profile_warninglevel', '<tr>\n	<td class="{$bg_color}"><strong>{$lang->warning_level}</strong></td>\n	<td class="{$bg_color}">{$warning_level}</td>\n</tr>', -2, '1827', '', [[timestamp]]),
(244, 'member_profile_warninglevel_link', '<tr>\n	<td class="{$bg_color}"><strong>{$lang->warning_level}</strong></td>\n	<td class="{$bg_color}"><a href="warnings.php?uid={$memprofile[''uid'']}">{$warning_level}</a> {$warn_user}</td>\n</tr>', -2, '1827', '', [[timestamp]]),
(245, 'member_profile_website', '<tr>\n	<td class="{$bgcolor}"><strong>{$lang->homepage}</strong></td>\n	<td class="{$bgcolor}"><a href="{$memprofile[''website'']}" target="_blank" rel="noopener">{$memprofile[''website'']}</a></td>\n</tr>', -2, '1813', '', [[timestamp]]),
(246, 'member_referral_row', '	<tr>\n		<td class="{$bg_color}">{$username}</td>\n		<td class="{$bg_color}" style="text-align: right;">{$regdate}</td>\n	</tr>', -2, '1822', '', [[timestamp]]),
(247, 'member_referrals', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->nav_referrals}</title>\n{$headerinclude}\n</head>\n<body>\n	{$header}\n	{$multipage}\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n	<tr>\n	<td class="thead" colspan="5"><strong>{$lang->referrals}</strong></td>\n	</tr>\n	<tr>\n	<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>\n	<td style="text-align: right;" class="tcat"><span class="smalltext"><strong>{$lang->referral_date}</strong></span></td>\n	</tr>\n	{$referral_rows}\n	</table>\n	{$multipage}\n	{$footer}\n</body>\n</html>', -2, '1822', '', [[timestamp]]),
(248, 'member_referrals_link', '<a href="{$mybb->settings[''bburl'']}/member.php?action=referrals&amp;uid={$uid}" id="referrer_{$uid}" class="referralLink">{$referral_count}</a>', -2, '1820', '', [[timestamp]]),
(249, 'member_referrals_popup', '<div class="modal">\n	<div style="overflow-y: auto; max-height: 400px;" class="referral_modal_{$uid}">\n		<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n			<tr>\n				<td class="thead" colspan="2"><strong>{$lang->referrals}</strong></td>\n			</tr>\n			<tr>\n				<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->username}</strong></span></td>\n				<td class="tcat" width="50%" style="text-align: right;"><span class="smalltext"><strong>{$lang->referral_date}</strong></span></td>\n			</tr>\n			{$referral_rows}\n		</table>\n	</div>\n</div>', -2, '1822', '', [[timestamp]]),
(250, 'member_register', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->registration}</title>\n{$headerinclude}\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/validate/jquery.validate.min.js?ver=1821"></script>\n</head>\n<body>\n{$header}\n<form action="member.php" method="post" id="registration_form"><input type="text" style="visibility: hidden;" value="" name="regcheck1" /><input type="text" style="visibility: hidden;" value="true" name="regcheck2" />\n{$regerrors}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->registration}</strong></td>\n</tr>\n<tr>\n<td width="50%" class="trow1" valign="top">\n<fieldset class="trow2">\n<legend><strong>{$lang->account_details}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}" width="100%">\n<tr>\n<td colspan="2"><span class="smalltext"><label for="username">{$lang->username}</label></span></td>\n</tr>\n<tr>\n<td colspan="2"><input type="text" class="textbox" name="username" id="username" style="width: 100%" value="{$username}" /></td>\n</tr>\n{$passboxes}\n<tr>\n<td width="50%" valign="top"><span class="smalltext"><label for="email">{$lang->email}</label></span></td>\n<td width="50%" valign="top"><span class="smalltext"><label for="email2">{$lang->confirm_email}</label></span></td>\n</tr>\n<tr>\n<td width="50%" valign="top"><input type="text" class="textbox" name="email" id="email" style="width: 100%" maxlength="50" value="{$email}" /></td>\n<td width="50%" valign="top"><input type="text" class="textbox" name="email2" id="email2" style="width: 100%" maxlength="50" value="{$email2}" /></td>\n</tr>\n<tr>\n	<td colspan="2" style="display: none;" id="email_status">&nbsp;</td>\n</tr>\n{$hiddencaptcha}\n</table>\n</fieldset>\n{$requiredfields}\n{$customfields}\n{$referrer}\n{$regimage}\n{$questionbox}\n</td>\n<td width="50%" class="trow1" valign="top">\n<fieldset class="trow2">\n<legend><strong>{$lang->account_prefs}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}" width="100%">\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="allownotices" id="allownotices" value="1" {$allownoticescheck} /></td>\n<td valign="top"><span class="smalltext"><label for="allownotices">{$lang->allow_notices}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" {$hideemailcheck} /></td>\n<td valign="top"><span class="smalltext"><label for="hideemail">{$lang->hide_email}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="receivepms" id="receivepms" value="1" {$receivepmscheck} /></td>\n<td valign="top"><span class="smalltext"><label for="receivepms">{$lang->receive_pms}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotice" id="pmnotice" value="1"{$pmnoticecheck} /></td>\n<td valign="top"><span class="smalltext"><label for="pmnotice">{$lang->pm_notice}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotify" id="pmnotify" value="1" {$pmnotifycheck} /></td>\n<td valign="top"><span class="smalltext"><label for="pmnotify">{$lang->email_notify_newpm}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="invisible" id="invisible" value="1" {$invisiblecheck} /></td>\n<td valign="top"><span class="smalltext"><label for="invisible">{$lang->invisible_mode}</label></span></td>\n</tr>\n<tr>\n<td colspan="2"><span class="smalltext"><label for="subscriptionmethod">{$lang->subscription_method}</label></span></td>\n</tr>\n<tr>\n<td colspan="2">\n	<select name="subscriptionmethod" id="subscriptionmethod">\n		<option value="0" {$no_auto_subscribe_selected}>{$lang->no_auto_subscribe}</option>\n		<option value="1" {$no_subscribe_selected}>{$lang->no_subscribe}</option>\n		<option value="2" {$instant_email_subscribe_selected}>{$lang->instant_email_subscribe}</option>\n		<option value="3" {$instant_pm_subscribe_selected}>{$lang->instant_pm_subscribe}</option>\n	</select>\n</td>\n</tr>\n</table>\n</fieldset>\n<br />\n<fieldset class="trow2">\n<legend><strong><label for="timezone">{$lang->time_offset}</label></strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}" width="100%">\n<tr>\n<td><span class="smalltext">{$lang->time_offset_desc}</span></td>\n</tr>\n<tr>\n<td>{$tzselect}</td>\n</tr>\n<tr>\n<td><span class="smalltext">{$lang->dst_correction}</span></td>\n</tr>\n<tr>\n<td>\n	<select name="dstcorrection">\n		<option value="2" {$dst_auto_selected}>{$lang->dst_correction_auto}</option>\n		<option value="1" {$dst_enabled_selected}>{$lang->dst_correction_enabled}</option>\n		<option value="0" {$dst_disabled_selected}>{$lang->dst_correction_disabled}</option>\n	</select>\n</td>\n</tr>\n</table>\n</fieldset>\n{$boardlanguage}\n</td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="regtime" value="{$time}" />\n<input type="hidden" name="step" value="registration" />\n<input type="hidden" name="action" value="do_register" />\n<input type="submit" class="button" name="regsubmit" value="{$lang->submit_registration}" />\n</div>\n</form>\n{$validator_javascript}\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/regvalidator.js?ver=1823"></script>\n{$footer}\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(251, 'member_register_additionalfields', '<br />\n<fieldset class="trow2">\n<legend><strong>{$lang->additional_info}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n{$customfields}\n</table>\n</fieldset>', -2, '1800', '', [[timestamp]]),
(252, 'member_register_agreement', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->agreement}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<br />\n<form action="member.php" method="post">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$mybb->settings[''bbname'']} - {$lang->agreement}</strong></td>\n</tr>\n{$coppa_agreement}\n<tr>\n<td class="trow1">\n<p>{$lang->agreement_1}</p>\n<p>{$lang->agreement_2}</p>\n<p>{$lang->agreement_3}</p>\n<p>{$lang->agreement_4}</p>\n<p><strong>{$lang->agreement_5}</strong></p>\n</td>\n</tr>\n</table>\n\n<br />\n<div align="center">\n<input type="hidden" name="step" value="agreement" />\n<input type="hidden" name="action" value="register" />\n<input type="submit" class="button" name="agree" value="{$lang->i_agree}" />\n</div>\n</form>\n{$footer}\n</body>\n</html>', -2, '123', '', [[timestamp]]),
(253, 'member_register_agreement_coppa', '<tr>\n	<td class="tcat"><strong>{$lang->coppa_compliance}</strong></td>\n</tr>\n<tr>\n	<td class="trow1">\n		<p>{$lang->coppa_agreement_1}</p>\n		<p>{$lang->coppa_agreement_2}</p>\n		<p>{$lang->coppa_agreement_3}</p>\n	</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(254, 'member_register_coppa', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->coppa_compliance}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<br />\n<form action="member.php" method="post">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$mybb->settings[''bbname'']} - {$lang->coppa_compliance}</strong></td>\n</tr>\n<tr>\n<td class="trow1">\n{$coppa_desc}\n<div style="width: 400px; margin: auto; margin-bottom: 15px;">\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td colspan="1" class="thead"><strong>{$lang->date_of_birth}</strong></td>\n		</tr>\n		<tr>\n			<td class="trow1">\n				<table cellpadding="4" border="0" align="center">\n					<tr>\n						<td class="smalltext"><label for="day">{$lang->day}:</label></td>\n						<td class="smalltext"><label for="month">{$lang->month}:</label></td>\n						<td class="smalltext"><label for="year">{$lang->year}:</label></td>\n					</tr>\n					<tr>\n						<td>\n							<select name="bday1" id="day">\n								<option value="">&nbsp;</option>\n								{$bdaysel}\n							</select>\n						</td>\n						<td>\n							<select name="bday2" id="month">\n								<option value="">&nbsp;</option>\n								<option value="1" {$bdaymonthsel[''1'']}>{$lang->month_1}</option>\n								<option value="2" {$bdaymonthsel[''2'']}>{$lang->month_2}</option>\n								<option value="3" {$bdaymonthsel[''3'']}>{$lang->month_3}</option>\n								<option value="4" {$bdaymonthsel[''4'']}>{$lang->month_4}</option>\n								<option value="5" {$bdaymonthsel[''5'']}>{$lang->month_5}</option>\n								<option value="6" {$bdaymonthsel[''6'']}>{$lang->month_6}</option>\n								<option value="7" {$bdaymonthsel[''7'']}>{$lang->month_7}</option>\n								<option value="8" {$bdaymonthsel[''8'']}>{$lang->month_8}</option>\n								<option value="9" {$bdaymonthsel[''9'']}>{$lang->month_9}</option>\n								<option value="10" {$bdaymonthsel[''10'']}>{$lang->month_10}</option>\n								<option value="11" {$bdaymonthsel[''11'']}>{$lang->month_11}</option>\n								<option value="12" {$bdaymonthsel[''12'']}>{$lang->month_12}</option>\n							</select>\n						</td>\n						<td>\n							<input type="text" class="textbox" size="4" maxlength="4" name="bday3" id="year" value="{$birthday_year}" />\n						</td>\n					</tr>\n				</table>\n				<div class="smalltext" style="text-align: center;">{$lang->hide_dob}</div>\n			</td>\n		</tr>\n	</table>\n</div>\n</td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="register" />\n<input type="submit" class="button" name="agree" value="{$lang->continue_registration}" />\n</div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1816', '', [[timestamp]]),
(255, 'member_register_customfield', '<tr>\n<td>\n{$profilefield[''name'']}\n<br />\n<span class="smalltext">{$profilefield[''description'']}</span>\n</td>\n</tr>\n<tr>\n<td>{$code}</td>\n</tr>', -2, '1605', '', [[timestamp]]),
(256, 'member_register_day', '<option value="{$day}"{$selected}>{$day}</option>', -2, '1800', '', [[timestamp]]),
(257, 'member_register_hiddencaptcha', '<tr style="display: none;">\n	<td colspan="2" id="{$captcha_field}_status">{$lang->leave_this_field_empty} <input type="text" class="textbox" name="{$captcha_field}" id="{$captcha_field}" style="width: 100%" maxlength="50" value="" /></td>\n</tr>', -2, '1605', '', [[timestamp]]);
INSERT INTO `[[dbprefix]]templates` VALUES
(258, 'member_register_language', '<br />\n<fieldset class="trow2">\n<legend><strong><label for="language">{$lang->lang_select}</label></strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}" width="100%">\n<tr>\n<td colspan="2"><span class="smalltext">{$lang->lang_select_desc}</span></td>\n</tr>\n<tr>\n<td><select name="language" id="language">\n<option value="">{$lang->lang_select_default}</option>\n<option value="">-----------</option>\n{$langoptions}\n</select></td>\n</tr>\n</table>\n</fieldset>', -2, '1800', '', [[timestamp]]),
(259, 'member_register_password', '<tr>\n<td width="50%" valign="top"><span class="smalltext">{$lang->password}</span></td>\n<td width="50%" valign="top"><span class="smalltext">{$lang->confirm_password}</span></td>\n</tr>\n<tr>\n<td width="50%" valign="top"><input type="password" class="textbox" name="password" id="password" style="width: 100%" /></td>\n<td width="50%" valign="top"><input type="password" class="textbox" name="password2" id="password2" style="width: 100%" /></td>\n</tr>\n<tr>\n	<td colspan="2" style="display: none;" id="password_status">&nbsp;</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(260, 'member_register_question', '<br />\n<fieldset class="trow2">\n<script type="text/javascript">\n<!--\n	lang.question_fetch_failure = "{$lang->question_fetch_failure}";\n// -->\n</script>\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/question.js?ver=1821"></script>\n<legend><strong>{$lang->security_question}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n<tr>\n<td colspan="2"><span class="smalltext">{$lang->question_note}</span></td>\n</tr>\n<tr>\n<td colspan="2"><br /><span class="smalltext" id="question" style="font-weight:bold;">{$question[''question'']}</span></td>\n</tr>\n<tr>\n<td width="60%">\n	<input type="text" class="textbox" name="answer" value="" id="answer" style="width: 70%;" />\n	<input type="hidden" name="question_id" value="{$sid}" id="question_id" />\n</td>\n<td width="40%">\n	{$refresh}\n</td>\n</tr>\n<tr>\n	<td id="answer_status"  style="display: none;" colspan="2">&nbsp;</td>\n</tr>\n</table>\n</fieldset>', -2, '1821', '', [[timestamp]]),
(261, 'member_register_question_refresh', '\n		<script type="text/javascript">\n		<!--\n			if(use_xmlhttprequest == "1")\n			{\n				document.write(''<input type="button" class="button" tabindex="10000" name="refresh" value="{$lang->refresh}" onclick="return question.refresh();" \\/>'');\n			}\n		// -->\n		</script>\n		', -2, '1800', '', [[timestamp]]),
(262, 'member_register_referrer', '<br />\n<fieldset class="trow2">\n<legend><strong>{$lang->referrer}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n<tr>\n<td><span class="smalltext"><label for="referrer">{$lang->referrer_desc}</label></span></td>\n</tr>\n<tr>\n<td>\n<input type="text" class="textbox" name="referrername" id="referrer" value="{$referrername}" style="width: 100%;" />\n</td>\n</tr></table>\n</fieldset>\n<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n<script type="text/javascript">\n<!--\nif(use_xmlhttprequest == "1")\n{\n	MyBB.select2();\n	$("#referrer").select2({\n		placeholder: "{$lang->search_user}",\n		minimumInputLength: 2,\n		multiple: false,\n		allowClear: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var value = $(element).val();\n			if (value !== "") {\n				callback({\n					id: value,\n					text: value\n				});\n			}\n		},\n	});\n}\n// -->\n</script>', -2, '1823', '', [[timestamp]]),
(263, 'member_register_regimage', '<br />\n<fieldset class="trow2">\n<script type="text/javascript">\n<!--\n	lang.captcha_fetch_failure = "{$lang->captcha_fetch_failure}";\n// -->\n</script>\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/captcha.js?ver=1821"></script>\n<legend><strong>{$lang->image_verification}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n<tr>\n<td><span class="smalltext">{$lang->verification_note}</span></td>\n<td rowspan="2" align="center"><img src="captcha.php?action=regimage&amp;imagehash={$imagehash}" alt="{$lang->image_verification}" title="{$lang->image_verification}" id="captcha_img" /><br /><span style="color: red;" class="smalltext">{$lang->verification_subnote}</span>\n<script type="text/javascript">\n<!--\n	if(use_xmlhttprequest == "1")\n	{\n		document.write(''<br \\/><br \\/><input type="button" class="button" tabindex="10000" name="refresh" value="{$lang->refresh}" onclick="return captcha.refresh();" \\/>'');\n	}\n// -->\n</script>\n</td>\n</tr>\n<tr>\n<td><input type="text" class="textbox" name="imagestring" value="" id="imagestring" style="width: 100%;" /><input type="hidden" name="imagehash" value="{$imagehash}" id="imagehash" /></td>\n</tr>\n<tr>\n	<td id="imagestring_status"  style="display: none;" colspan="2">&nbsp;</td>\n</tr>\n</table>\n</fieldset>', -2, '1821', '', [[timestamp]]),
(264, 'member_register_regimage_recaptcha_invisible', '<br />\n<script src="{$server}?onload=captchaOnloadCallback&render=explicit" async defer></script>\n<script type="text/javascript">\n\n	var captchaOnSubmit = function(token) {\n		$("#registration_form").trigger(''submit'');\n	};\n\n	var captchaOnloadCallback = function() {\n\n		var target = $(''input[name="regsubmit"]'');\n		target.attr(''data-size'', ''invisible'');\n\n		grecaptcha.render(target.get(0), {\n				''sitekey'': ''{$public_key}'',\n				''callback'': captchaOnSubmit\n			}, true);\n\n	}\n\n</script>', -2, '1813', '', [[timestamp]]),
(265, 'member_register_regimage_nocaptcha', '<br />\n<fieldset class="trow2">\n	<legend><strong>{$lang->human_verification}</strong></legend>\n	<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n	<tr>\n		<td><span class="smalltext">{$lang->verification_note_nocaptcha}</span></td>\n	</tr>\n	<tr>\n		<td><script type="text/javascript" src="{$server}"></script><div class="g-recaptcha" data-sitekey="{$public_key}"></div></td>\n	</tr>\n</table>\n</fieldset>', -2, '1804', '', [[timestamp]]),
(266, 'member_register_regimage_hcaptcha_invisible', '<br />\n<script src="{$server}?onload=captchaOnloadCallback&render=explicit" async defer></script>\n<script type="text/javascript">\n\n	var captchaOnSubmit = function(token) {\n		$("#registration_form").trigger(''submit'');\n	};\n\n	var captchaOnloadCallback = function() {\n\n		var target = $(''input[name="regsubmit"]'');\n		target.attr(''data-size'', ''invisible'');\n\n		hcaptcha.render(target.get(0), {\n				''sitekey'': ''{$public_key}'',\n				''callback'': captchaOnSubmit\n			}, true);\n\n	}\n\n</script>', -2, '1823', '', [[timestamp]]),
(267, 'member_register_regimage_hcaptcha', '<br />\n<fieldset class="trow2">\n	<legend><strong>{$lang->human_verification}</strong></legend>\n	<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n	<tr>\n		<td><span class="smalltext">{$lang->verification_note_hcaptcha}</span></td>\n	</tr>\n	<tr>\n		<td><script type="text/javascript" src="{$server}"></script><div class="h-captcha" data-sitekey="{$public_key}" data-theme="{$captcha_theme}" data-size="{$captcha_size}"></div></td>\n	</tr>\n</table>\n</fieldset>', -2, '1823', '', [[timestamp]]),
(268, 'member_register_requiredfields', '<br />\n<fieldset class="trow2">\n<legend><strong>{$lang->required_info}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n{$requiredfields}\n</table>\n</fieldset>', -2, '1800', '', [[timestamp]]),
(269, 'member_register_stylebit', '<option value="{$style[''sid'']}">{$style[''name'']}</option>', -2, '120', '', [[timestamp]]),
(270, 'member_resendactivation', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->resend_activation}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$errors}\n<form action="member.php" method="post">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->resend_activation}</strong></td>\n</tr>\n<tr>\n<td class="trow1" width="40%"><strong>{$lang->email_address}</strong></td>\n<td class="trow1" width="60%"><input type="text" class="textbox" name="email" value="{$email}" /></td>\n</tr>\n{$captcha}\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->request_activation}" /></div>\n<input type="hidden" name="action" value="do_resendactivation" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(271, 'member_resetpassword', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->reset_password}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<br />\n<form action="member.php" method="post">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->reset_password}</strong></td>\n</tr>\n<tr>\n<td class="trow1" width="30%"><strong>{$lang_username}</strong></td>\n<td class="trow1"><input type="text" class="textbox" name="username" value="{$input_username}" /></td>\n</tr>\n<tr>\n<td class="trow2" width="30%"><strong>{$lang->activation_code}</strong></td>\n<td class="trow2"><input type="text" class="textbox" name="code" value="{$code}" /></td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="hidden" name="action" value="resetpassword" /><input type="submit" class="button" name="regsubmit" value="{$lang->send_password}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1820', '', [[timestamp]]),
(272, 'member_viewnotes', '<div class="modal">\n<div style="overflow-y: auto; max-height: 400px;">\n<table width="100%" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" border="0" align="center" class="tborder">\n<tr>\n<td colspan="2" class="thead"><strong>{$lang->view_notes_for}</strong></td>\n</tr>\n<tr>\n<td class="trow1">{$user[''usernotes'']}</td>\n</tr>\n</table>\n</div>\n</div>', -2, '1800', '', [[timestamp]]),
(273, 'memberlist', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->member_list}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$multipage}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="{$colspan}">\n	<div class="float_right">\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->a}" style="padding: 5px;">{$lang->a}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->b}" style="padding: 5px;">{$lang->b}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->c}" style="padding: 5px;">{$lang->c}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->d}" style="padding: 5px;">{$lang->d}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->e}" style="padding: 5px;">{$lang->e}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->f}" style="padding: 5px;">{$lang->f}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->g}" style="padding: 5px;">{$lang->g}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->h}" style="padding: 5px;">{$lang->h}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->i}" style="padding: 5px;">{$lang->i}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->j}" style="padding: 5px;">{$lang->j}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->k}" style="padding: 5px;">{$lang->k}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->l}" style="padding: 5px;">{$lang->l}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->m}" style="padding: 5px;">{$lang->m}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->n}" style="padding: 5px;">{$lang->n}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->o}" style="padding: 5px;">{$lang->o}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->p}" style="padding: 5px;">{$lang->p}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->q}" style="padding: 5px;">{$lang->q}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->r}" style="padding: 5px;">{$lang->r}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->s}" style="padding: 5px;">{$lang->s}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->t}" style="padding: 5px;">{$lang->t}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->u}" style="padding: 5px;">{$lang->u}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->v}" style="padding: 5px;">{$lang->v}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->w}" style="padding: 5px;">{$lang->w}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->x}" style="padding: 5px;">{$lang->x}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->y}" style="padding: 5px;">{$lang->y}</a>\n		<a href="memberlist.php?username_match=begins&amp;username={$lang->z}" style="padding: 5px;">{$lang->z}</a>\n	</div>\n	<div><strong>{$lang->member_list}</strong></div></td>\n</tr>\n<tr>\n<td class="tcat" width="1%"><span class="smalltext"><strong>{$lang->avatar}</strong></span></td>\n<td class="tcat"><span class="smalltext"><a href="{$sorturl}&amp;sort=username&amp;order=ascending"><strong>{$lang->username}</strong></a> {$orderarrow[''username'']}</span></td>\n<td class="tcat" width="15%" align="center"><span class="smalltext"><a href="{$sorturl}&amp;sort=regdate&amp;order=ascending"><strong>{$lang->joined}</strong></a> {$orderarrow[''regdate'']}</span></td>\n<td class="tcat" width="15%" align="center"><span class="smalltext"><a href="{$sorturl}&amp;sort=lastvisit&amp;order=descending"><strong>{$lang->lastvisit}</strong></a> {$orderarrow[''lastvisit'']}</span></td>\n<td class="tcat" width="10%" align="center"><span class="smalltext"><a href="{$sorturl}&amp;sort=postnum&amp;order=descending"><strong>{$lang->posts}</strong></a> {$orderarrow[''postnum'']}</span></td>\n<td class="tcat" width="10%" align="center"><span class="smalltext"><a href="{$sorturl}&amp;sort=threadnum&amp;order=descending"><strong>{$lang->threads}</strong></a> {$orderarrow[''threadnum'']}</span></td>\n{$referral_header}\n</tr>\n{$users}\n</table>\n{$multipage}\n<br class="clear" />\n<br />\n<form method="post" action="memberlist.php">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="3">\n	<div class="float_right">\n		<strong><a href="memberlist.php?action=search">{$lang->advanced_search}</a></strong>\n	</div>\n	<div><strong>{$lang->search_members}</strong></div>\n</td>\n</tr>\n<tr>\n	<td class="tcat"><strong><label for="username">{$lang->username}</label></strong></td>\n	<td class="tcat"><strong><label for="website">{$lang->website}</label></strong></td>\n	<td class="tcat"><strong><label for="sort">{$lang->sort_by}</label></strong></td>\n</tr>\n<tr>\n	<td class="trow1" width="33%" style="vertical-align: top;">\n		{$lang->exactly}<br />\n		<input type="text" class="textbox" name="username" id="username" style="width: 99%; margin-top: 4px;" value="{$search_username}" />\n	</td>\n	<td class="trow1" width="33%" style="vertical-align: top;">\n		{$lang->contains}<br />\n		<input type="text" class="textbox" name="website" id="website" style="width: 99%; margin-top: 4px;" value="{$search_website}" />\n	</td>\n	<td class="trow1" width="33%">\n		<div class="smalltext" style="margin-bottom: 3px;">\n			<input type="radio" class="radio" name="order" id="order_asc" value="ascending"{$order_check[''ascending'']} /> <label for="order_asc">{$lang->order_asc}</label>&nbsp;\n			<input type="radio" class="radio" name="order" id="order_desc" value="descending"{$order_check[''descending'']} /> <label for="order_desc">{$lang->order_desc}</label>\n		</div>\n		<select name="sort" id="sort" style="width: 99%;">\n			<option value="username"{$sort_selected[''username'']}>{$lang->sort_by_username}</option>\n			<option value="regdate"{$sort_selected[''regdate'']}>{$lang->sort_by_regdate}</option>\n			<option value="lastvisit"{$sort_selected[''lastvisit'']}>{$lang->sort_by_lastvisit}</option>\n			<option value="postnum"{$sort_selected[''postnum'']}>{$lang->sort_by_posts}</option>\n			<option value="threadnum"{$sort_selected[''threadnum'']}>{$lang->sort_by_threads}</option>\n			{$referrals_option}\n		</select>\n	</td>\n</tr>\n</table>\n<div align="center"><br /><input type="submit" class="button" name="submit" value="{$lang->search}" /></div>\n</form>\n{$footer}\n<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n<script type="text/javascript">\n<!--\nif(use_xmlhttprequest == "1")\n{\n	MyBB.select2();\n	$("#username").select2({\n		placeholder: "{$lang->search_user}",\n		minimumInputLength: 2,\n		multiple: false,\n		allowClear: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var value = $(element).val();\n			if (value !== "") {\n				callback({\n					id: value,\n					text: value\n				});\n			}\n		},\n       // Allow the user entered text to be selected as well\n       createSearchChoice:function(term, data) {\n			if ( $(data).filter( function() {\n				return this.text.localeCompare(term)===0;\n			}).length===0) {\n				return {id:term, text:term};\n			}\n		},\n	});\n\n  	$(''[for=username]'').on(''click'', function(){\n		$("#username").select2(''open'');\n		return false;\n	});\n}\n// -->\n</script>\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(274, 'memberlist_referrals', '<td class="tcat" width="10%" align="center"><span class="smalltext"><a href="{$sorturl}&amp;sort=referrals&amp;order=descending"><strong>{$lang->referrals}</strong></a> {$orderarrow[''referrals'']}</span></td>', -2, '1800', '', [[timestamp]]),
(275, 'memberlist_referrals_bit', '<td class="{$alt_bg}" align="center">{$user[''referrals'']}</td>', -2, '1600', '', [[timestamp]]),
(276, 'memberlist_referrals_option', '<option value="referrals"{$sort_selected[''referrals'']}>{$lang->sort_by_referrals}</option>', -2, '1816', '', [[timestamp]]),
(277, 'memberlist_search', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->search_member_list}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form method="post" action="memberlist.php">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->search_member_list}</strong></td>\n</tr>\n<tr>\n	<td class="tcat" colspan="2"><strong>{$lang->search_criteria}</strong></td>\n</tr>\n<tr>\n	<td class="trow1" style="vertical-align: top;" width="20%"><strong><label for="username">{$lang->username}</label></strong></td>\n	<td class="trow1">\n		<select name="username_match">\n			<option value="begins">{$lang->begins_with}</option>\n			<option value="contains">{$lang->username_contains}</option>\n			<option value="exact">{$lang->username_exact}</option>\n		</select>\n		&nbsp;\n		<input type="text" class="textbox" name="username" id="username" />\n	</td>\n</tr>\n<tr>\n	<td class="trow2" width="20%"><strong><label for="website">{$lang->search_website}</label></strong></td>\n	<td class="trow2">\n		<input type="text" class="textbox" name="website" id="website" />\n	</td>\n</tr>\n{$contact_fields[''skype'']}\n{$contact_fields[''google'']}\n{$contact_fields[''icq'']}\n<tr>\n	<td class="tcat" colspan="2"><strong>{$lang->search_options}</strong></td>\n</tr>\n<tr>\n	<td class="trow1" width="20%"><strong><label for="sort">{$lang->sort_by}</label></strong></td>\n	<td class="trow1">\n		<select name="sort" id="sort">\n			<option value="username">{$lang->sort_by_username}</option>\n			<option value="regdate">{$lang->sort_by_regdate}</option>\n			<option value="lastvisit">{$lang->sort_by_lastvisit}</option>\n			<option value="postnum">{$lang->sort_by_posts}</option>\n			<option value="threadnum">{$lang->sort_by_threads}</option>\n			{$referrals_option}\n		</select><br />\n		<span class="smalltext">\n		<input type="radio" class="radio" name="order" id="order_asc" value="asc" /> <label for="order_asc">{$lang->order_asc}</label><br />\n		<input type="radio" class="radio" name="order" id="order_desc" value="desc" checked="checked" /> <label for="order_desc">{$lang->order_desc}</label>\n		</span>\n	</td>\n</tr>\n<tr>\n	<td class="trow1" width="20%"><strong><label for="perpage">{$lang->per_page}</label></strong></td>\n	<td class="trow1">\n		<input type="text" class="textbox" size="4" name="perpage" id="perpage" value="15" />\n	</td>\n</tr>\n</table>\n<div align="center"><br /><input type="submit" class="button" name="submit" value="{$lang->search}" /></div>\n</form>\n{$footer}\n<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n<script type="text/javascript">\n<!--\nif(use_xmlhttprequest == "1")\n{\n	MyBB.select2();\n	$("#username").select2({\n		placeholder: "{$lang->search_user}",\n		minimumInputLength: 2,\n		multiple: false,\n		allowClear: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var value = $(element).val();\n			if (value !== "") {\n				callback({\n					id: value,\n					text: value\n				});\n			}\n		},\n       // Allow the user entered text to be selected as well\n       createSearchChoice:function(term, data) {\n			if ( $(data).filter( function() {\n				return this.text.localeCompare(term)===0;\n			}).length===0) {\n				return {id:term, text:term};\n			}\n		},\n	});\n\n  	$(''[for=username]'').on(''click'', function(){\n		$("#username").select2(''open'');\n		return false;\n	});\n}\n// -->\n</script>\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(278, 'memberlist_search_contact_field', '<tr>\n	<td class="{$bgcolors[$field]}" width="20%"><strong><label for="{$field}">{$lang_string}</label></strong></td>\n	<td class="{$bgcolors[$field]}"><input type="text" class="textbox" name="{$field}" id="{$field}" /></td>\n</tr>', -2, '1810', '', [[timestamp]]),
(279, 'memberlist_user', '<tr>\n	<td class="{$alt_bg}" align="center">{$user[''avatar'']}</td>\n	<td class="{$alt_bg}">{$user[''profilelink'']}<br />\n<span class="smalltext">\n	{$user[''usertitle'']}<br />\n	{$usergroup[''groupimage'']}\n	{$user[''userstars'']}\n</span></td>\n	<td class="{$alt_bg}" align="center">{$user[''regdate'']}</td>\n	<td class="{$alt_bg}" align="center">{$user[''lastvisit'']}</td>\n	<td class="{$alt_bg}" align="center">{$user[''postnum'']}</td>\n	<td class="{$alt_bg}" align="center">{$user[''threadnum'']}</td>\n	{$referral_bit}\n</tr>', -2, '1800', '', [[timestamp]]),
(280, 'memberlist_user_userstar', '<img src="{$starimage}" border="0" alt="*" />', -2, '1800', '', [[timestamp]]),
(281, 'memberlist_error', '<tr>\n<td colspan="{$colspan}" align="center" class="trow1">{$lang->error_no_members}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(282, 'memberlist_user_avatar', '<img src="{$useravatar[''image'']}" alt="" {$useravatar[''width_height'']} />', -2, '1800', '', [[timestamp]]),
(283, 'memberlist_user_groupimage', '<img src="{$usergroup[''image'']}" alt="{$usergroup[''title'']}" title="{$usergroup[''title'']}" />', -2, '1400', '', [[timestamp]]),
(284, 'memberlist_orderarrow', '<span class="smalltext">[<a href="{$sorturl}&amp;sort={$sort}&amp;order={$oppsortnext}">{$oppsort}</a>]</span>', -2, '1800', '', [[timestamp]]),
(285, 'misc_buddypopup', '<div class="modal">\n	<div style="overflow-y: auto; max-height: 400px;">\n		<table cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="thead"{$colspan}>\n				<div><strong>{$lang->buddy_list}</strong></div>\n			</td>\n		</tr>\n		{$buddies}\n		</table>\n	</div>\n</div>', -2, '1800', '', [[timestamp]]),
(286, 'misc_buddypopup_user', '	<tr>\n		<td class="tcat"{$colspan}><strong>{$lang->online}</strong></td>\n		{$buddys[''online'']}\n	</tr>\n	<tr>\n		<td class="tcat"{$colspan}><strong>{$lang->offline}</strong></td>\n		{$buddys[''offline'']}\n	</tr>', -2, '1800', '', [[timestamp]]),
(287, 'misc_buddypopup_user_none', '					<tr>\n						<td class="trow1"{$colspan}>{$error}</td>\n					</tr>', -2, '1800', '', [[timestamp]]),
(288, 'misc_buddypopup_user_offline', '					<tr>\n						<td class="{$boffline_alt}" width="1%">\n							<div class="buddy_avatar float_left"><img src="{$buddy[''avatar''][''image'']}" alt="" {$buddy[''avatar''][''width_height'']} style="margin-top: 3px;" /></div>\n						</td>\n						<td class="{$boffline_alt}">\n							{$profile_link}\n							<div class="buddy_action">\n								<span class="smalltext">{$last_active}<br />{$send_pm}</span>\n							</div>\n						</td>\n					</tr>', -2, '1800', '', [[timestamp]]),
(289, 'misc_buddypopup_user_online', '					<tr>\n						<td class="{$bonline_alt}" width="1%">\n							<div class="buddy_avatar float_left"><img src="{$buddy[''avatar''][''image'']}" alt="" {$buddy[''avatar''][''width_height'']} style="margin-top: 3px;" /></div>\n						</td>\n						<td class="{$bonline_alt}">\n							{$profile_link}\n							<div class="buddy_action">\n								<span class="smalltext">{$last_active}<br />{$send_pm}</span>\n							</div>\n						</td>\n					</tr>', -2, '1800', '', [[timestamp]]),
(290, 'misc_buddypopup_user_sendpm', '<a href="private.php?action=send&amp;uid={$buddy[''uid'']}" target="_blank" onclick="window.opener.location.href=this.href; return false;">{$lang->pm_buddy}</a>', -2, '1400', '', [[timestamp]]),
(291, 'misc_help', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->help_docs}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$sections}\n{$search}\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(292, 'misc_help_helpdoc', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->help_docs}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<tr>\n<td class="thead"><strong>{$helpdoc[''name'']}</strong></td>\n</tr>\n<tr>\n<td class="trow1 scaleimages">{$helpdoc[''document'']}</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(293, 'misc_help_search', '<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="3"><strong>{$lang->search}</strong></td>\n</tr>\n<tr>\n<td class="trow1">\n<form action="misc.php" method="post">\n<div class="float_left" style="padding-top: 5px;">\n<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == ''{$lang->enter_keywords}'') { this.value = ''''; }" onblur="if(this.value=='''') { this.value=''{$lang->enter_keywords}''; }" class="textbox" size="25" />\n</div>\n<div class="float_left" style="padding-left: 20px;">\n<span class="smalltext">\n<label><input name="name" checked="checked" value="1" type="checkbox"> {$lang->search_by_name}</label><br />\n<label><input name="document" checked="checked" value="1" type="checkbox"> {$lang->search_by_document}</label>\n</span>\n</div>\n<div class="float_left" style="padding-left: 20px; padding-top: 5px;">\n<input type="hidden" name="action" value="do_helpsearch" />\n<input type="submit" class="button" name="submit" value="{$lang->search_help_documents}" />\n</div>\n</form>\n</td>\n</tr>\n</table>', -2, '1800', '', [[timestamp]]),
(294, 'misc_help_section', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder clear">\n<thead>\n<tr>\n<td class="thead{$expthead}"><div class="expcolimage"><img src="{$theme[''imgdir'']}/{$expcolimage}" id="sid_{$section[''sid'']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div><div><strong>{$section[''name'']}</strong></div></td>\n</tr>\n</thead>\n<tbody style="{$expdisplay}" id="sid_{$section[''sid'']}_e">\n<tr>\n<td class="tcat"><span class="smalltext"><strong>{$section[''description'']}</strong></span></td>\n</tr>\n{$helpbits}\n</tbody>\n</table>\n<br />', -2, '1816', '', [[timestamp]]),
(295, 'misc_help_section_bit', '<tr>\n<td width="100%" class="{$altbg}"><strong><a href="misc.php?action=help&amp;hid={$helpdoc[''hid'']}">{$helpdoc[''name'']}</a></strong><br /><span class="smalltext">{$helpdoc[''description'']}</span></td>\n</tr>', -2, '1400', '', [[timestamp]]),
(296, 'misc_helpresults', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->help_doc_results}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$lang->help_doc_results}</strong></td>\n</tr>\n<tr>\n<td class="tcat" align="left"><span class="smalltext"><strong>{$lang->document}</strong></span></td>\n</tr>\n{$helpdoclist}\n</table>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(297, 'misc_helpresults_bit', '<tr>\n	<td class="{$bgcolor}">\n		<span class="smalltext">\n          <a href="misc.php?action=help&hid={$helpdoc[''hid'']}{$highlight}">{$helpdoc[''name'']}</a><br />\n		</span>\n		<table width="100%"><tr><td><span class="smalltext"><em>{$prev}</em></span></td></tr></table>\n	</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(298, 'misc_helpresults_noresults', '<tr>\n	<td class="trow1">{$lang->no_help_results}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(299, 'misc_rules_forum', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$forum[''rulestitle'']}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<tr>\n<td class="thead"><strong>{$forum[''rulestitle'']}</strong></td>\n</tr>\n<tr>\n<td class="trow1 scaleimages">{$forum[''rules'']}</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(300, 'misc_smilies', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->smilies_listing}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="3"><strong>{$lang->smilies_listing}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2" align="center"><span class="smalltext"><strong>{$lang->name}</strong></span></td>\n<td class="tcat"><span class="smalltext"><strong>{$lang->abbreviation}</strong></span></td>\n</tr>\n{$smilies}\n</table>\n{$footer}\n</body>\n</html>', -2, '120', '', [[timestamp]]),
(301, 'misc_smilies_no_smilies', '<tr>\n<td class="{$class}">{$lang->no_smilies}</td>\n</tr>', -2, '1808', '', [[timestamp]]),
(302, 'misc_smilies_popup', '<div class="modal">\n  <div style="overflow-y: auto; max-height: 400px;" class="modal">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="4"><strong>{$lang->smilies_listing}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="4"><span class="smalltext">{$lang->click_to_add}</span></td>\n</tr>\n{$smilies}\n</table>\n</div>\n</div>', -2, '1834', '', [[timestamp]]),
(303, 'misc_smilies_popup_empty', '<tr>{$smile_icons}<td colspan="2" class="{$class}">&nbsp;</td></tr>', -2, '1808', '', [[timestamp]]),
(304, 'misc_smilies_popup_no_smilies', '<tr>\n<td colspan="2" class="{$class}">{$lang->no_smilies}</td>\n</tr>', -2, '1808', '', [[timestamp]]),
(305, 'misc_smilies_popup_row', '<tr>{$smile_icons}</tr>', -2, '1808', '', [[timestamp]]),
(306, 'misc_smilies_popup_smilie', '<td class="{$class}" align="center">{$smilie_image}</a></td>\n<td class="{$class}">{$smilie[''find'']}</td>', -2, '1800', '', [[timestamp]]),
(307, 'misc_smilies_smilie', '<tr>\n<td class="{$class}" style="width: 1px; text-align: center;">{$smilie_image}</td>\n<td class="{$class}">{$smilie[''name'']}</td>\n<td class="{$class}">{$smilie[''find'']}</td>\n</tr>', -2, '1804', '', [[timestamp]]),
(308, 'misc_syndication', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->syndication}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$feedurl}\n<table border="0" cellspacing="0" cellpadding="{$theme[''tablespace'']}" width="100%">\n<tr><td>{$lang->syndication_note}</td></tr>\n</table>\n<br />\n<form method="post" action="misc.php?action=syndication">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->syndication}</strong></td>\n</tr>\n<tr>\n<td class="trow1" width="40%" valign="top"><strong>{$lang->syndication_forum}</strong><br /><span class="smalltext">{$lang->syndication_forum_desc}</span></td>\n<td class="trow1" width="60%">{$forumselect}</td>\n</tr>\n<tr>\n<td class="trow2" width="40%" valign="top"><strong>{$lang->syndication_version}</strong><br /><span class="smalltext">{$lang->syndication_version_desc}</span></td>\n<td class="trow2" width="60%"><input type="radio" class="radio" name="version" value="rss2.0" {$rss2check} />&nbsp;{$lang->syndication_version_rss2}<br /><input type="radio" class="radio" name="version" value="atom1.0" {$atom1check} />&nbsp;{$lang->syndication_version_atom1}<br /><input type="radio" class="radio" name="version" value="json" {$json1check} />&nbsp;{$lang->syndication_version_json1}</td>\n</tr>\n<tr>\n<td class="trow1" width="40%" valign="top"><strong>{$lang->syndication_limit}</strong><br /><span class="smalltext">{$lang->syndication_limit_desc}</span></td>\n<td class="trow1" width="60%"><input type="text" class="textbox" name="limit" value="{$limit}" size="3" /> {$lang->syndication_threads_time}</td>\n</tr></table>\n<br />\n<div align="center"><input type="submit" class="button" name="make" value="{$lang->syndication_generate}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1821', '', [[timestamp]]),
(309, 'misc_syndication_feedurl', '<table border="0" cellspacing="0" cellpadding="{$theme[''tablespace'']}" width="100%">\n<tr><td>\n<strong>{$lang->syndication_generated_url}</strong><blockquote>\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder"><tr><td class="trow1">\n{$url}\n</td></tr></table>\n</blockquote>\n</td></tr>\n</table>\n<br />', -2, '120', '', [[timestamp]]),
(310, 'misc_syndication_forumlist', '<select name="forums[]" size="10" multiple="multiple">\n<option value="all" {$addsel}>{$lang->syndicate_all_forums}</option>\n<option value="all">----------------------</option>\n{$forumlistbits}\n</select>', -2, '1800', '', [[timestamp]]),
(311, 'misc_syndication_forumlist_forum', '<option value="{$forum[''fid'']}" {$optionselected}>{$depth} {$forum[''name'']}</option>', -2, '1808', '', [[timestamp]]),
(312, 'misc_whoposted', '<div class="modal">\n	<div style="overflow-y: auto; max-height: 400px;">\n<table width="100%" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" border="0" align="center" class="tborder">\n<tr>\n<td colspan="2" class="thead"><strong>{$lang->total_posts} {$numposts}</strong></td>\n</tr>\n<tr>\n<td class="tcat"><span class="smalltext"><strong><a href="javascript:void(0)"  onclick="MyBB.whoPosted({$thread[''tid'']}, ''username''); return false;">{$lang->user}</a></strong></span></td>\n<td class="tcat"><span class="smalltext"><strong><a href="javascript:void(0)"  onclick="MyBB.whoPosted({$thread[''tid'']}); return false;">{$lang->num_posts}</a></strong></span></td>\n</tr>\n{$whoposted}\n</table>\n</div>\n</div>', -2, '1810', '', [[timestamp]]),
(313, 'misc_whoposted_page', '<html>\n<head>\n<title>{$thread[''subject'']} - {$lang->who_posted}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td colspan="2" class="thead"><strong>{$lang->total_posts} {$numposts}</strong></td>\n</tr>\n<tr>\n<td class="tcat"><span class="smalltext"><strong><a href="{$mybb->settings[''bburl'']}/misc.php?action=whoposted&tid={$thread[''tid'']}&sort=username">{$lang->user}</a></strong></span></td>\n<td class="tcat"><span class="smalltext"><strong><a href="{$mybb->settings[''bburl'']}/misc.php?action=whoposted&tid={$thread[''tid'']}">{$lang->num_posts}</a></strong></span></td>\n</tr>\n{$whoposted}\n</table>\n{$footer}\n</body>\n</html>', -2, '1813', '', [[timestamp]]),
(314, 'misc_whoposted_poster', '<tr>\n<td class="{$altbg}">{$profile_link}</td>\n<td class="{$altbg}">{$poster[''posts'']}</td>\n</tr>', -2, '1807', '', [[timestamp]]),
(315, 'modcp', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->modcp}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" border="0" align="center">\n<tr>\n{$modcp_nav}\n<td valign="top">\n{$awaitingmoderation}\n{$latestfivemodactions}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" align="center" colspan="4"><strong>{$lang->bans_ending_soon}</strong></td>\n</tr>\n<tr>\n<td class="tcat" width="25%"><span class="smalltext"><strong>{$lang->username}</strong></span></td>\n<td class="tcat" align="center" width="30%"><span class="smalltext"><strong>{$lang->reason}</strong></span></td>\n<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->ban_length}</strong></span></td>\n<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->ban_bannedby}</strong></span></td>\n</tr>\n{$bannedusers}\n</table>\n<br />\n<form action="modcp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_modnotes" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" align="center" colspan="1"><strong>{$lang->moderator_notes}</strong></td>\n</tr>\n<tr>\n<td class="tcat"><span class="smalltext"><strong>{$lang->notes_public_all}</strong></span></td>\n</tr>\n<tr>\n<td class="trow1"><textarea name="modnotes" style="width: 99%; height: 200px;" rows="5" cols="45">{$modnotes}</textarea></td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="notessubmit" value="{$lang->save_notes}" /></div>\n</form>\n</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1805', '', [[timestamp]]),
(316, 'modcp_announcements', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->manage_announcement}</title>\n{$headerinclude}\n</head>\n<body>\n	{$header}\n	<table width="100%" border="0" align="center">\n		<tr>\n			{$modcp_nav}\n			<td valign="top">\n				{$announcements_global}\n				<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n					<tr>\n						<td class="thead" colspan="3"><strong>{$lang->forum_announcements}</strong></td>\n					</tr>\n					<tr>\n						<td class="tcat"><span class="smalltext"><strong>{$lang->announcement}</strong></span></td>\n						<td class="tcat" width="200" colspan="2" align="center"><span class="smalltext"><strong>{$lang->controls}</strong></span></td>\n					</tr>\n					{$announcements_forum}\n				</table>\n			</td>\n		</tr>\n	</table>\n	{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(317, 'modcp_announcements_announcement', '					<tr>\n						<td class="{$trow}"><div style="padding-left: {$padding}px;">{$icon}<a href="announcements.php?aid={$aid}">{$subject}</a></div></td>\n						<td class="{$trow}" align="center"><a href="modcp.php?action=edit_announcement&amp;aid={$aid}">{$lang->edit}</a></td>\n						<td class="{$trow}" align="center"><a href="modcp.php?action=delete_announcement&amp;aid={$aid}">{$lang->delete}</a></td>\n					</tr>', -2, '1811', '', [[timestamp]]),
(318, 'modcp_announcements_announcement_active', '<div class="subforumicon subforum_minion" title="{$lang->active_announcement}"></div>', -2, '1800', '', [[timestamp]]),
(319, 'modcp_announcements_announcement_expired', '<div class="subforumicon subforum_minioff" title="{$lang->expired_announcement}"></div>', -2, '1800', '', [[timestamp]]),
(320, 'modcp_announcements_announcement_global', '					<tr>\n						<td class="{$trow}">{$icon}<a href="announcements.php?aid={$aid}">{$subject}</a></td>\n						<td class="{$trow}" align="center"><a href="modcp.php?action=edit_announcement&amp;aid={$aid}">{$lang->edit}</a></td>\n						<td class="{$trow}" align="center"><a href="modcp.php?action=delete_announcement&amp;aid={$aid}">{$lang->delete}</a></td>\n					</tr>', -2, '1811', '', [[timestamp]]),
(321, 'modcp_announcements_day', '<option value="{$day}"{$selected}>{$day}</option>', -2, '1809', '', [[timestamp]]),
(322, 'modcp_announcements_delete', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->delete_announcement}</title>\n{$headerinclude}\n</head>\n<body>\n	{$header}\n	<form action="modcp.php" method="post" enctype="multipart/form-data">\n	<input type="hidden" name="action" value="do_delete_announcement" />\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n		<table width="100%" border="0" align="center">\n			<tr>\n				{$modcp_nav}\n				<td valign="top">\n					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n					<tr>\n					<td class="thead" colspan="2"><strong>{$announcement[''subject'']} - {$lang->delete_announcement}</strong></td>\n					</tr>\n					<tr>\n					<td class="trow1" colspan="2" align="center">{$lang->confirm_delete_announcement}</td>\n					</tr>\n					</table>\n					<br />\n					<div align="center"><input type="submit" class="button" name="submit" value="{$lang->delete_announcement}" /></div>\n					<input type="hidden" name="aid" value="{$aid}" />\n				</td>\n			</tr>\n		</table>\n	</form>\n	{$footer}\n</body>\n</html>', -2, '1809', '', [[timestamp]]),
(323, 'modcp_announcements_edit', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->edit_announcement}</title>\n{$headerinclude}\n</head>\n<body>\n	{$header}\n	<form action="modcp.php" method="post" enctype="multipart/form-data">\n	<input type="hidden" name="action" value="do_edit_announcement" />\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<input type="hidden" name="fid" value="{$announcement[''fid'']}" />\n	<input type="hidden" name="aid" value="{$aid}" />\n		<table width="100%" border="0" align="center">\n			<tr>\n				{$modcp_nav}\n				<td valign="top">\n					{$errors}\n					{$preview}\n					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n						<tr>\n							<td class="thead" colspan="6"><strong>{$lang->edit_announcement}</strong></td>\n						</tr>\n						<tr>\n							<td class="trow1" valign="top" width="25%"><strong>{$lang->title}</strong></td>\n							<td class="trow1" valign="top" width="75%"><input type="text" class="textbox" name="title" size="40" value="{$title}" /></td>\n						</tr>\n						<tr>\n							<td class="trow1" colspan="1" valign="top" width="25%"><strong>{$lang->start_date}</strong></td>\n							<td class="trow1" valign="top"  width="75%">\n								<select name="starttime_day">\n								{$startdateday}\n								</select>\n								&nbsp;\n								<select name="starttime_month">\n								{$startdatemonth}\n								</select>\n								&nbsp;\n								<input type="text" name="starttime_year" value="{$startdateyear}" size="4" maxlength="4" class="textbox" />\n								 - {$lang->time} <input type="text" name="starttime_time" value="{$starttime_time}" size="10" class="textbox" />\n							</td>\n						</tr>\n						<tr>\n							<td class="trow1" colspan="1" valign="top" width="25%"><strong>{$lang->end_date}</strong></td>\n							<td class="trow1" valign="top"  width="75%">\n								<input type="radio" name="endtime_type" value="1"{$end_type_sel[''finite'']} />\n								<select name="endtime_day">\n								{$enddateday}\n								</select>\n								&nbsp;\n								<select name="endtime_month">\n								{$enddatemonth}\n								</select>\n								&nbsp;\n								<input type="text" name="endtime_year" value="{$enddateyear}" size="4" maxlength="4" class="textbox" />\n								 - {$lang->time} <input type="text" name="endtime_time" value="{$endtime_time}" size="10" class="textbox" />\n								<br /><input type="radio" name="endtime_type" value="2"{$end_type_sel[''infinite'']} /> {$lang->never}\n							</td>\n						</tr>\n						<tr>\n							<td class="trow1" valign="top" width="25%"><strong>{$lang->announcement}</strong><br />{$smilieinserter}</td>\n							<td class="trow1" valign="top" width="75%"><textarea id="message" name="message" rows="20" cols="70">{$message}</textarea>{$codebuttons}</td>\n						</tr>\n						{$allow_html}\n						<tr>\n							<td class="trow1" valign="top" width="25%"><strong>{$lang->allow_mycode}</strong></td>\n							<td class="trow1" valign="top" width="75%"><label><input type="radio" name="allowmycode" value="1"{$mycode_sel[''yes'']} />&nbsp;{$lang->yes}</label> &nbsp;&nbsp;<label><input type="radio" name="allowmycode" value="0"{$mycode_sel[''no'']} />&nbsp;{$lang->no}</label></td>\n						</tr>\n						<tr>\n							<td class="trow1" valign="top" width="25%"><strong>{$lang->allow_smilies}</strong></td>\n							<td class="trow1" valign="top" width="75%"><label><input type="radio" name="allowsmilies" value="1"{$smilies_sel[''yes'']} />&nbsp;{$lang->yes}</label> &nbsp;&nbsp;<label><input type="radio" name="allowsmilies" value="0"{$smilies_sel[''no'']} />&nbsp;{$lang->no}</label></td>\n						</tr>\n					</table>\n					<br />\n					<div align="center">\n						<input type="submit" class="button" value="{$lang->edit_announcement}" />&nbsp;&nbsp;\n						<input type="submit" class="button" name="preview" value="{$lang->preview}" />\n					</div>\n				</td>\n			</tr>\n		</table>\n	</form>\n	{$footer}\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(324, 'modcp_announcements_forum', '					<tr>\n						<td class="{$trow}"><div style="padding-left: {$padding}px;"><strong>{$forum[''name'']}</strong></div></td>\n						<td class="{$trow}" colspan="2" align="center"><a href="modcp.php?action=new_announcement&amp;fid={$forum[''fid'']}">{$lang->add_announcement}</a></td>\n					</tr>', -2, '1400', '', [[timestamp]]),
(325, 'modcp_announcements_forum_nomod', '					<tr>\n						<td class="{$trow}"><div style="padding-left: {$padding}px;"><strong>{$forum[''name'']}</strong></div></td>\n						<td class="{$trow}" colspan="2" align="center">&nbsp;</td>\n					</tr>', -2, '1400', '', [[timestamp]]),
(326, 'modcp_announcements_global', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n					<tr>\n						<td class="thead" colspan="3"><div class="float_right"><a href="modcp.php?action=new_announcement&amp;fid=-1">{$lang->add_global_announcement}</a></div><strong>{$lang->global_announcements}</strong></td>\n					</tr>\n					<tr>\n						<td class="tcat"><span class="smalltext"><strong>{$lang->announcement}</strong></span></td>\n						<td class="tcat" width="200" colspan="2" align="center"><span class="smalltext"><strong>{$lang->controls}</strong></span></td>\n					</tr>\n					{$announcements_global}\n				</table>\n				<br />', -2, '1400', '', [[timestamp]]);
INSERT INTO `[[dbprefix]]templates` VALUES
(327, 'modcp_announcements_month_end', '<option value="01" {$endmonthsel[''01'']}>{$lang->january}</option>\n<option value="02" {$endmonthsel[''02'']}>{$lang->february}</option>\n<option value="03" {$endmonthsel[''03'']}>{$lang->march}</option>\n<option value="04" {$endmonthsel[''04'']}>{$lang->april}</option>\n<option value="05" {$endmonthsel[''05'']}>{$lang->may}</option>\n<option value="06" {$endmonthsel[''06'']}>{$lang->june}</option>\n<option value="07" {$endmonthsel[''07'']}>{$lang->july}</option>\n<option value="08" {$endmonthsel[''08'']}>{$lang->august}</option>\n<option value="09" {$endmonthsel[''09'']}>{$lang->september}</option>\n<option value="10" {$endmonthsel[''10'']}>{$lang->october}</option>\n<option value="11" {$endmonthsel[''11'']}>{$lang->november}</option>\n<option value="12" {$endmonthsel[''12'']}>{$lang->december}</option>', -2, '1800', '', [[timestamp]]),
(328, 'modcp_announcements_month_start', '<option value="01" {$startmonthsel[''01'']}>{$lang->january}</option>\n<option value="02" {$startmonthsel[''02'']}>{$lang->february}</option>\n<option value="03" {$startmonthsel[''03'']}>{$lang->march}</option>\n<option value="04" {$startmonthsel[''04'']}>{$lang->april}</option>\n<option value="05" {$startmonthsel[''05'']}>{$lang->may}</option>\n<option value="06" {$startmonthsel[''06'']}>{$lang->june}</option>\n<option value="07" {$startmonthsel[''07'']}>{$lang->july}</option>\n<option value="08" {$startmonthsel[''08'']}>{$lang->august}</option>\n<option value="09" {$startmonthsel[''09'']}>{$lang->september}</option>\n<option value="10" {$startmonthsel[''10'']}>{$lang->october}</option>\n<option value="11" {$startmonthsel[''11'']}>{$lang->november}</option>\n<option value="12" {$startmonthsel[''12'']}>{$lang->december}</option>', -2, '1800', '', [[timestamp]]),
(329, 'modcp_announcements_allowhtml', '						<tr>\n							<td class="trow1" valign="top" width="25%"><strong>{$lang->allow_html}</strong></td>\n							<td class="trow1" valign="top" width="75%"><label><input type="radio" name="allowhtml" value="1"{$html_sel[''yes'']} />&nbsp;{$lang->yes}</label> &nbsp;&nbsp;<label><input type="radio" name="allowhtml" value="0"{$html_sel[''no'']} />&nbsp;{$lang->no}</label></td>\n						</tr>', -2, '1813', '', [[timestamp]]),
(330, 'modcp_announcements_new', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->add_announcement}</title>\n{$headerinclude}\n</head>\n<body>\n	{$header}\n	<form action="modcp.php" method="post" enctype="multipart/form-data">\n	<input type="hidden" name="action" value="do_new_announcement" />\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<input type="hidden" name="fid" value="{$announcement_fid}" />\n		<table width="100%" border="0" align="center">\n			<tr>\n				{$modcp_nav}\n				<td valign="top">\n					{$errors}\n					{$preview}\n					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n						<tr>\n							<td class="thead" colspan="6"><strong>{$lang->add_announcement}</strong></td>\n						</tr>\n						<tr>\n							<td class="trow1" valign="top" width="25%"><strong>{$lang->title}</strong></td>\n							<td class="trow1" valign="top" width="75%"><input type="text" class="textbox" name="title" size="40" value="{$title}" /></td>\n						</tr>\n						<tr>\n							<td class="trow1" colspan="1" valign="top" width="25%"><strong>{$lang->start_date}</strong></td>\n							<td class="trow1" valign="top"  width="75%">\n								<select name="starttime_day">\n								{$startdateday}\n								</select>\n								&nbsp;\n								<select name="starttime_month">\n								{$startdatemonth}\n								</select>\n								&nbsp;\n								<input type="text" name="starttime_year" value="{$startdateyear}" size="4" maxlength="4" class="textbox" />\n								 - {$lang->time} <input type="text" name="starttime_time" value="{$starttime_time}" size="10" class="textbox" />\n							</td>\n						</tr>\n						<tr>\n							<td class="trow1" colspan="1" valign="top" width="25%"><strong>{$lang->end_date}</strong></td>\n							<td class="trow1" valign="top"  width="75%">\n								<input type="radio" name="endtime_type" value="1"{$end_type_sel[''finite'']} />\n								<select name="endtime_day">\n								{$enddateday}\n								</select>\n								&nbsp;\n								<select name="endtime_month">\n								{$enddatemonth}\n								</select>\n								&nbsp;\n								<input type="text" name="endtime_year" value="{$enddateyear}" size="4" maxlength="4" class="textbox" />\n								 - {$lang->time} <input type="text" name="endtime_time" value="{$endtime_time}" size="10" class="textbox" />\n								<br /><input type="radio" name="endtime_type" value="2"{$end_type_sel[''infinite'']} /> {$lang->never}\n							</td>\n						</tr>\n						<tr>\n							<td class="trow1" valign="top" width="25%"><strong>{$lang->announcement}</strong><br />{$smilieinserter}</td>\n							<td class="trow1" valign="top" width="75%"><textarea id="message" name="message" rows="20" cols="70">{$message}</textarea>{$codebuttons}</td>\n						</tr>\n						{$allow_html}\n						<tr>\n							<td class="trow1" valign="top" width="25%"><strong>{$lang->allow_mycode}</strong></td>\n							<td class="trow1" valign="top" width="75%"><label><input type="radio" name="allowmycode" value="1"{$mycode_sel[''yes'']} />&nbsp;{$lang->yes}</label> &nbsp;&nbsp;<label><input type="radio" name="allowmycode" value="0"{$mycode_sel[''no'']} />&nbsp;{$lang->no}</label></td>\n						</tr>\n						<tr>\n							<td class="trow1" valign="top" width="25%"><strong>{$lang->allow_smilies}</strong></td>\n							<td class="trow1" valign="top" width="75%"><label><input type="radio" name="allowsmilies" value="1"{$smilies_sel[''yes'']} />&nbsp;{$lang->yes}</label> &nbsp;&nbsp;<label><input type="radio" name="allowsmilies" value="0"{$smilies_sel[''no'']} />&nbsp;{$lang->no}</label></td>\n						</tr>\n					</table>\n					<br />\n					<div align="center">\n						<input type="submit" class="button" value="{$lang->add_announcement}" />&nbsp;&nbsp;\n						<input type="submit" class="button" name="preview" value="{$lang->preview}" />\n					</div>\n				</td>\n			</tr>\n		</table>\n	</form>\n	{$footer}\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(331, 'modcp_awaitingattachments', '<tr>\n<td class="{$bgcolor}"><span class="smalltext"><strong>{$lang->attachments}</strong></span></td>\n<td class="{$bgcolor}" align="center"><span class="smalltext">{$unapproved_attachments}</span></td>\n<td class="{$bgcolor}" align="center"><span class="smalltext">{$latest_attachment}</span></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(332, 'modcp_awaitingposts', '<tr>\n<td class="trow2"><span class="smalltext"><strong>{$lang->posts}</strong></span></td>\n<td class="trow2" align="center"><span class="smalltext">{$unapproved_posts}</span></td>\n<td class="trow2" align="center"><span class="smalltext">{$latest_post}</span></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(333, 'modcp_awaitingmoderation', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" align="center" colspan="3"><strong>{$lang->awaiting_moderation}</strong></td>\n</tr>\n<tr>\n<td class="tcat" width="23%"><span class="smalltext"><strong>{$lang->type}</strong></span></td>\n<td class="tcat" align="center" width="33%"><span class="smalltext"><strong>{$lang->number_awaiting}</strong></span></td>\n<td class="tcat" align="center" width="44%"><span class="smalltext"><strong>{$lang->latest}</strong></span></td>\n</tr>\n{$awaitingthreads}\n{$awaitingposts}\n{$awaitingattachments}\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(334, 'modcp_awaitingmoderation_none', '<span style="text-align: center;">{$lang->lastpost_never}</span>', -2, '1800', '', [[timestamp]]),
(335, 'modcp_awaitingthreads', '<tr>\n<td class="trow1"><span class="smalltext"><strong>{$lang->threads}</strong></span></td>\n<td class="trow1" align="center"><span class="smalltext">{$unapproved_threads}</span></td>\n<td class="trow1" align="center"><span class="smalltext">{$latest_thread}</span></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(336, 'modcp_banning', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->ban_banned}</title>\n{$headerinclude}\n</head>\n<body>\n	{$header}\n	<table width="100%" border="0" align="center">\n		<tr>\n			{$modcp_nav}\n			<td valign="top">\n				<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n					<tr>\n						<td class="thead" colspan="4">\n							<div class="float_right"><a href="modcp.php?action=banuser">{$lang->ban_user}</a></div>\n						<strong>{$lang->ban_banned}</strong></td>\n					</tr>\n					<tr>\n						<td class="tcat" width="25%"><span class="smalltext"><strong>{$lang->username}</strong></span></td>\n						<td class="tcat" align="center" width="30%"><span class="smalltext"><strong>{$lang->reason}</strong></span></td>\n						<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->ban_length}</strong></span></td>\n						<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->ban_bannedby}</strong></span></td>\n					</tr>\n					{$bannedusers}\n				</table>\n				{$multipage}\n			</td>\n		</tr>\n	</table>\n	{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(337, 'modcp_banning_ban', '<tr>\n	<td class="{$trow}">{$profile_link}{$edit_link}</td>\n	<td class="{$trow}">{$banned[''reason'']}</td>\n	<td class="{$trow}" align="center">{$banlength}<br /><span class="smalltext">{$timeremaining}</span></td>\n	<td class="{$trow}" align="center">{$admin_profile}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(338, 'modcp_banning_edit', '<br /><span class="smalltext"><a href="modcp.php?action=banuser&amp;uid={$banned[''uid'']}">{$lang->edit_ban}</a> | <a href="modcp.php?action=liftban&amp;uid={$banned[''uid'']}&amp;my_post_key={$mybb->post_code}">{$lang->lift_ban}</a></span>', -2, '1800', '', [[timestamp]]),
(339, 'modcp_banning_nobanned', '<tr>\n	<td class="trow1" align="center" colspan="4">{$lang->no_banned}</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(340, 'modcp_banning_remaining', '<span class="{$banned_class}">({$ban_remaining})</span>', -2, '1808', '', [[timestamp]]),
(341, 'modcp_banuser', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->ban_user}</title>\n{$headerinclude}\n</head>\n<body>\n	{$header}\n	<table width="100%" border="0" align="center">\n		<tr>\n			{$modcp_nav}\n			<td valign="top">\n				{$errors}\n				<form action="modcp.php" method="post">\n					<input type="hidden" name="action" value="do_banuser" />\n					<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n					<input type="hidden" name="uid" value="{$uid}" />\n						<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n							<tr>\n								<td class="thead" colspan="2">\n									{$lift_link}\n									<strong>{$lang->ban_user}</strong>\n								</td>\n							</tr>\n							{$banuser_username}\n							<tr>\n								<td class="trow2" width="25%"><strong>{$lang->ban_reason}</strong></td>\n								<td class="trow2" width="75%"><textarea name="banreason" cols="60" rows="4" maxlength="255">{$banreason}</textarea></td>\n							</tr>\n							{$bangroups}\n							<tr>\n								<td class="trow2" width="25%"><strong>{$lang->ban_liftafter}</strong></td>\n								<td class="trow2" width="75%"><select name="liftafter">{$liftlist}</select></td>\n							</tr>\n						</table>\n					<br />\n					<div align="center">\n						<input type="submit" class="button" name="updateban" value="{$lang->ban}" />\n					</div>\n				</form>\n			</td>\n		</tr>\n	</table>\n	{$footer}\n<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n<script type="text/javascript">\n<!--\nif(use_xmlhttprequest == "1")\n{\n	MyBB.select2();\n	$("#username").select2({\n		placeholder: "{$lang->search_user}",\n		minimumInputLength: 2,\n		multiple: false,\n		allowClear: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var value = $(element).val();\n			if (value !== "") {\n				callback({\n					id: value,\n					text: value\n				});\n			}\n		},\n	});\n}\n// -->\n</script>\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(342, 'modcp_banuser_addusername', '<tr>\n	<td class="trow1" width="25%"><strong>{$lang->ban_username}</strong></td>\n	<td class="trow1" width="75%"><input type="text" class="textbox" name="username" id="username" value="{$username}" size="25" /></td>\n</tr>', -2, '1400', '', [[timestamp]]),
(343, 'modcp_banuser_bangroups', '							<tr>\n								<td class="trow1" width="25%"><strong>{$lang->ban_movegroup}</strong></td>\n								<td class="trow1" width="75%"><select name="usergroup">{$bangroup_option}</select></td>\n							</tr>', -2, '1800', '', [[timestamp]]),
(344, 'modcp_banuser_bangroups_group', '<option value="{$group[''gid'']}"{$selected}>{$group[''title'']}</option>', -2, '1800', '', [[timestamp]]),
(345, 'modcp_banuser_bangroups_hidden', '<input type="hidden" name="usergroup" value="{$banned_group}" />', -2, '1801', '', [[timestamp]]),
(346, 'modcp_banuser_editusername', '<tr>\n	<td class="trow1" width="25%"><strong>{$lang->ban_username}</strong></td>\n	<td class="trow1" width="75%">{$username}</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(347, 'modcp_banuser_lift', '<div class="float_right"><a href="modcp.php?action=liftban&amp;uid={$banned[''uid'']}&amp;my_post_key={$mybb->post_code}">{$lang->lift_ban}</a></div>', -2, '1801', '', [[timestamp]]),
(348, 'modcp_banuser_liftlist', '<option value="{$time}"{$selected}>{$title}{$thattime}</option>', -2, '1800', '', [[timestamp]]),
(349, 'modcp_editprofile', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->edit_profile}</title>\n{$headerinclude}\n<script type="text/javascript">\n<!--\n	var mod_posts = ''{$modpost_check}'';\n	var susp_posts = ''{$suspost_check}'';\n// -->\n</script>\n</head>\n<body>\n	{$header}\n	<form action="modcp.php" method="post">\n		<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n		<table width="100%" border="0" align="center">\n			<tr>\n				{$modcp_nav}\n				<td valign="top">\n					{$errors}\n					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n						<tr>\n							<td class="thead" colspan="2"><strong>{$lang->edit_profile}</strong></td>\n						</tr>\n						<tr>\n							<td width="50%" class="trow1" valign="top">\n								<fieldset class="trow2">\n									<legend><strong>{$lang->profile_required}</strong></legend>\n									<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n										<tr>\n											<td><span class="smalltext">{$lang->current_username}</span></td>\n										</tr>\n										<tr>\n											<td><strong>{$profile_link}</strong></td>\n										</tr>\n										{$requiredfields}\n									</table>\n								</fieldset>\n								<br />\n								<fieldset class="trow2">\n									<legend><strong>{$lang->profile_optional}</strong></legend>\n									<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n										<tr>\n											<td colspan="3"><span class="smalltext"><label><input type="checkbox" class="checkbox" name="remove_avatar" value="1" /> {$lang->remove_avatar}</label></span></td>\n										</tr>\n\n										<tr>\n											<td colspan="3"><span class="smalltext">{$lang->birthday}</span></td>\n										</tr>\n										<tr>\n											<td>\n												<select name="birthday_day">\n													<option value="">&nbsp;</option>\n													{$bdaydaysel}\n												</select>\n											</td>\n											<td>\n												<select name="birthday_month">\n													<option value="">&nbsp;</option>\n													<option value="1" {$bdaymonthsel[''1'']}>{$lang->month_1}</option>\n													<option value="2" {$bdaymonthsel[''2'']}>{$lang->month_2}</option>\n													<option value="3" {$bdaymonthsel[''3'']}>{$lang->month_3}</option>\n													<option value="4" {$bdaymonthsel[''4'']}>{$lang->month_4}</option>\n													<option value="5" {$bdaymonthsel[''5'']}>{$lang->month_5}</option>\n													<option value="6" {$bdaymonthsel[''6'']}>{$lang->month_6}</option>\n													<option value="7" {$bdaymonthsel[''7'']}>{$lang->month_7}</option>\n													<option value="8" {$bdaymonthsel[''8'']}>{$lang->month_8}</option>\n													<option value="9" {$bdaymonthsel[''9'']}>{$lang->month_9}</option>\n													<option value="10" {$bdaymonthsel[''10'']}>{$lang->month_10}</option>\n													<option value="11" {$bdaymonthsel[''11'']}>{$lang->month_11}</option>\n													<option value="12" {$bdaymonthsel[''12'']}>{$lang->month_12}</option>\n												</select>\n											</td>\n											<td>\n												<input type="text" class="textbox" size="4" maxlength="4" name="birthday_year" value="{$birthday_year}" />\n											</td>\n										</tr>\n										<tr>\n											<td colspan="3"><span class="smalltext">{$lang->website_url}</span></td>\n										</tr>\n										<tr>\n											<td colspan="3"><input type="text" class="textbox" name="website" size="25" maxlength="75" value="{$user_website}" /></td>\n										</tr>\n									</table>\n								</fieldset>\n								{$customfields}\n							</td>\n							<td width="50%" class="trow1" valign="top">\n								<fieldset class="trow2">\n									<legend><strong>{$lang->custom_usertitle}</strong></legend>\n									<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n										<tr>\n											<td><span class="smalltext">{$lang->custom_usertitle_note}</span></td>\n										</tr>\n										<tr>\n											<td><span class="smalltext">{$lang->default_usertitle}</span></td>\n										</tr>\n										<tr>\n											<td><span class="smalltext"><strong>{$defaulttitle}</strong></span></td>\n										</tr>\n										<tr>\n											<td><span class="smalltext">{$lang->current_custom_usertitle}</span></td>\n										</tr>\n										<tr>\n											<td><span class="smalltext"><strong>{$user[''usertitle'']}</strong></span></td>\n										</tr>\n										<tr>\n											<td><span class="smalltext">{$lang->new_custom_usertitle}</span></td>\n										</tr>\n										<tr>\n											<td><input type="text" class="textbox" name="usertitle" size="25" maxlength="{$mybb->settings[''customtitlemaxlength'']}" value="{$newtitle}" /></td>\n										</tr>\n										<tr>\n											<td><span class="smalltext"><input type="checkbox" name="reverttitle" id="reverttitle" class="checkbox" /> {$lang->revert_usertitle}</span></td>\n										</tr>\n									</table>\n								</fieldset>\n								<br />\n								<fieldset class="trow2">\n									<legend><strong>{$lang->additional_contact_details}</strong></legend>\n									<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n										<tr>\n											<td><span class="smalltext">{$lang->icq_number}</span></td>\n										</tr>\n										<tr>\n											<td><input type="text" class="textbox" name="icq" size="25" value="{$user_icq}" /></td>\n										</tr>\n										<tr>\n											<td><span class="smalltext">{$lang->skype_id}</span></td>\n										</tr>\n										<tr>\n											<td><input type="text" class="textbox" name="skype" size="25" value="{$user_skype}" /></td>\n										</tr>\n										<tr>\n											<td><span class="smalltext">{$lang->google_id}</span></td>\n										</tr>\n										<tr>\n											<td><input type="text" class="textbox" name="google" size="25" value="{$user_google}" /></td>\n										</tr>\n									</table>\n								</fieldset>\n								<br />\n								<fieldset class="trow2">\n									<legend><strong>{$lang->moderation}</strong></legend>\n									<table cellspacing="0" cellpadding="{$theme[''tablespace'']}" width="100%">\n										<tr>\n											<td>\n<dl style="margin-top: 0; margin-bottom: 0;">\n<dt><label><input type="checkbox" name="moderateposting" value="1" {$modpost_checked} class="checkbox" onclick="toggleSuspend(''modposts'');" id="modpost" /> {$lang->moderate_posts}</label></dt>\n<dd style="margin-top: 4px;" id="modposts_action">\n<table cellpadding="4">\n{$moderateposts_info}\n	<tr>\n		<td width="35%">{$lang->modpost_length}</td>\n		<td><input type="text" name="modpost_time" value="{$modpost_time}" class="textbox" style="width: 2em;" /> {$modpost_options}</td>\n	</tr>\n</table>\n</dd>\n</dl>\n											</td>\n										</tr>\n										<tr>\n											<td>\n<dl style="margin-top: 0; margin-bottom: 0;">\n<dt><label><input type="checkbox" name="suspendposting" value="1" {$suspost_checked} class="checkbox" onclick="toggleSuspend(''susposts'');" id="suspost" /> {$lang->suspend_posts}</label></dt>\n<dd style="margin-top: 4px;" id="susposts_action">\n<table cellpadding="4">\n{$suspendposting_info}\n	<tr>\n		<td width="35%">{$lang->suspost_length}</td>\n		<td><input type="text" name="suspost_time" value="{$suspost_time}" class="textbox" style="width: 2em;" /> {$suspost_options}</td>\n	</tr>\n</table>\n</dd>\n</dl></td>\n										</tr>\n									</table>\n								</fieldset>\n								{$awaysection}\n							</td>\n						</tr>\n						<tr>\n							<td colspan="2" class="trow1" valign="top">\n								<fieldset class="trow1">\n									<legend><strong>{$lang->signature}</strong></legend>\n									<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n<tr>\n<td class="trow1" width="80%">\n<textarea rows="15" cols="70" id="signature" name="signature">{$user[''signature'']}</textarea>\n{$codebuttons}\n</td>\n</tr>\n{$suspend_signature}\n									</table>\n								</fieldset>\n							</td>\n						</tr>\n						<tr>\n							<td colspan="2" class="trow1" valign="top">\n								<fieldset class="trow2">\n									<legend><strong>{$lang->mod_notes}</strong></legend>\n									<textarea name="usernotes" id="usernotes" rows="10" cols="70">{$user[''usernotes'']}</textarea>\n								</fieldset>\n							</td>\n						</tr>\n					</table>\n					<br />\n					<div align="center">\n						<input type="hidden" name="action" value="do_editprofile" />\n						<input type="hidden" name="uid" value="{$user[''uid'']}" />\n						<input type="submit" class="button" value="{$lang->update_profile}" />\n					</div>\n				</td>\n			</tr>\n		</table>\n	</form>\n	{$footer}\n<script type="text/javascript">\n<!--\n	if(mod_posts == 0)\n	{\n		$("#modposts_action").hide();\n	}\n\n	if(susp_posts == 0)\n	{\n		$("#susposts_action").hide();\n	}\n\n	function toggleSuspend(action)\n	{\n		if(action == "modposts")\n		{\n			$("#susposts_action").hide();\n			$("#suspost").attr("checked", false);\n\n			if($("#modpost").prop("checked") == false)\n			{\n				$("#modpost").attr("checked", false);\n				$("#modposts_action").hide();\n			}\n			else\n			{\n				$("#modpost").attr("checked", true);\n				$("#modposts_action").show();\n			}\n		}\n\n		if(action == "susposts")\n		{\n			$("#modposts_action").hide();\n			$("#modpost").attr("checked", false);\n\n			if($("#suspost").prop("checked") == false)\n			{\n				$("#suspost").attr("checked", false);\n				$("#susposts_action").hide();\n			}\n			else\n			{\n				$("#suspost").attr("checked", true);\n				$("#susposts_action").show();\n			}\n		}\n	}\n// -->\n</script>\n</body>\n</html>', -2, '1822', '', [[timestamp]]),
(350, 'modcp_editprofile_away', '<br />\n<fieldset class="trow2">\n<legend><strong>{$lang->away_information}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n<tr>\n<td colspan="2"><span class="smalltext">{$lang->away_status}</span></td>\n</tr>\n<tr>\n<td><span class="smalltext"><input type="radio" class="radio" name="away" value="1" {$awaycheck[''1'']} /> {$lang->im_away}</span></td>\n<td><span class="smalltext"><input type="radio" class="radio" name="away" value="0" {$awaycheck[''0'']} /> {$lang->im_here}</span></td>\n</tr>\n<tr>\n<td colspan="2"><span class="smalltext">{$lang->away_reason}</span></td>\n</tr>\n<tr>\n<td colspan="2"><input type="text" class="textbox" name="awayreason" value="{$user[''awayreason'']}" size="25" maxlength="200" /></td>\n</tr>\n</table>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n<tr>\n<td colspan="3"><span class="smalltext">{$lang->return_date}</span></td>\n</tr>\n<tr>\n<td>\n<select name="awayday">\n<option value="">&nbsp;</option>\n{$returndatesel}\n</select>\n</td>\n<td>\n<select name="awaymonth">\n<option value="">&nbsp;</option>\n<option value="1" {$returndatemonthsel[''1'']}>{$lang->month_1}</option>\n<option value="2" {$returndatemonthsel[''2'']}>{$lang->month_2}</option>\n<option value="3" {$returndatemonthsel[''3'']}>{$lang->month_3}</option>\n<option value="4" {$returndatemonthsel[''4'']}>{$lang->month_4}</option>\n<option value="5" {$returndatemonthsel[''5'']}>{$lang->month_5}</option>\n<option value="6" {$returndatemonthsel[''6'']}>{$lang->month_6}</option>\n<option value="7" {$returndatemonthsel[''7'']}>{$lang->month_7}</option>\n<option value="8" {$returndatemonthsel[''8'']}>{$lang->month_8}</option>\n<option value="9" {$returndatemonthsel[''9'']}>{$lang->month_9}</option>\n<option value="10" {$returndatemonthsel[''10'']}>{$lang->month_10}</option>\n<option value="11" {$returndatemonthsel[''11'']}>{$lang->month_11}</option>\n<option value="12" {$returndatemonthsel[''12'']}>{$lang->month_12}</option>\n</select>\n</td>\n<td>\n<input type="text" class="textbox" size="4" maxlength="4" name="awayyear" value="{$returndate[''2'']}" />\n</td>\n</tr>\n</table>\n</fieldset>', -2, '1816', '', [[timestamp]]),
(351, 'modcp_editprofile_select', '<select name="{$select_name}">\n	{$selection_options}\n</select>', -2, '1600', '', [[timestamp]]),
(352, 'modcp_editprofile_select_option', '<option value="{$key}" {$selected}>{$value}</option>', -2, '1600', '', [[timestamp]]),
(353, 'modcp_editprofile_signature', '<tr>\n<td class="trow1" valign="top">\n<script type="text/javascript">\n<!--\n	var sig_checked = "{$checked}";\n\n	function toggleAction()\n	{\n		if($("#suspend_action").is(":visible") == true)\n		{\n			$("#suspend_action").hide();\n		}\n		else\n		{\n			$("#suspend_action").show();\n		}\n	}\n// -->\n</script>\n<dl style="margin-top: 0; margin-bottom: 0; width: 100%;">\n<dt><label><input type="checkbox" name="suspendsignature" value="1" class="checkbox" {$checked_item} onclick="toggleAction();" /> {$lang->suspend_signature}</label></dt>\n<dd style="margin-top: 4px;" id="suspend_action">\n<table cellpadding="4">\n{$suspendsignature_info}\n	<tr>\n		<td width="30%">{$lang->suspend_length}</td>\n		<td><input type="text" name="action_time" value="{$action_time}" class="textbox" style="width: 2em;" /> {$action_options}</td>\n	</tr>\n</table>\n</dd>\n</dl>\n<script type="text/javascript">\n<!--\n	if(sig_checked == 0)\n	{\n		$("#suspend_action").hide();\n	}\n// -->\n</script>\n</td>\n</tr>', -2, '1816', '', [[timestamp]]),
(354, 'modcp_editprofile_suspensions_info', '<tr>\n	<td colspan="2" class="smalltext"><em>{$suspension_info}</em></td>\n</tr>', -2, '1600', '', [[timestamp]]),
(355, 'modcp_finduser', '<html>\n<head>\n	<title>{$mybb->settings[''bbname'']} - {$lang->find_users}</title>\n{$headerinclude}\n</head>\n<body>\n	{$header}\n	<table width="100%" border="0" align="center">\n		<tr>\n			{$modcp_nav}\n			<td valign="top">\n				<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n					<tr>\n						<td class="thead" colspan="5"><strong>{$lang->users}</strong></td>\n					</tr>\n					<tr>\n						<td class="tcat" width="30%"><span class="smalltext"><strong>{$lang->username}</strong></span></td>\n						<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->usergroup}</strong></span></td>\n						<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->regdate}</strong></span></td>\n						<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->lastvisit}</strong></span></td>\n						<td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->postnum}</strong></span></td>\n					</tr>\n					{$users}\n				</table>\n				{$multipage}\n				<br />\n				<form action="modcp.php?action=finduser" method="post">\n					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n						<tr>\n							<td class="thead" colspan="2"><strong>{$lang->find_users}</strong></td>\n						</tr>\n						<tr>\n							<td class="trow1" width="25%"><strong>{$lang->username_contains}</strong></td>\n							<td class="trow1" width="75%"><input type="text" name="username" id="username" value="{$username}" class="textbox" /></td>\n						</tr>\n						<tr>\n							<td class="trow1" width="25%"><strong>{$lang->sort_by}</strong></td>\n							<td class="trow1" width="75%">\n								<select name="sortby">\n									<option value="username"{$sortbysel[''username'']}>{$lang->username}</option>\n									<option value="regdate"{$sortbysel[''regdate'']}>{$lang->regdate}</option>\n									<option value="lastvisit"{$sortbysel[''lastvisit'']}>{$lang->lastvisit}</option>\n									<option value="postnum"{$sortbysel[''postnum'']}>{$lang->postnum}</option>\n								</select>\n								{$lang->in}\n								<select name="order">\n									<option value="asc"{$ordersel[''asc'']}>{$lang->asc}</option>\n									<option value="desc"{$ordersel[''desc'']}>{$lang->desc}</option>\n								</select>\n								{$lang->order}\n							</td>\n						</tr>\n					</table>\n					<br />\n					<div align="center">\n						<input type="submit" class="button" value="{$lang->find_users}" />\n					</div>\n				</form>\n			</td>\n		</tr>\n	</table>\n{$footer}\n<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807" />\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n<script type="text/javascript">\n<!--\nif(use_xmlhttprequest == "1")\n{\n	MyBB.select2();\n	$("#username").select2({\n		placeholder: "{$lang->find_users}",\n		minimumInputLength: 2,\n		multiple: false,\n		allowClear: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var value = $(element).val();\n			if (value !== "") {\n				callback({\n					id: value,\n					text: value\n				});\n			}\n		}\n	});\n}\n// -->\n</script>\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(356, 'modcp_finduser_noresults', '						<tr>\n							<td class="trow1" align="center" colspan="5">{$lang->no_user_results}</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(357, 'modcp_finduser_user', '						<tr>\n							<td class="{$alt_row}"><a href="modcp.php?action=editprofile&amp;uid={$user[''uid'']}">{$user[''username'']}</a></td>\n							<td class="{$alt_row}" align="center">{$usergroup}</td>\n							<td class="{$alt_row}" align="center">{$regdate}</td>\n							<td class="{$alt_row}" align="center">{$lastdate}</td>\n							<td class="{$alt_row}" align="center">{$user[''postnum'']}</td>\n						</tr>', -2, '1800', '', [[timestamp]]),
(358, 'modcp_ipsearch', '<html>\n<head>\n	<title>{$mybb->settings[''bbname'']} - {$lang->ipsearch}</title>\n	{$headerinclude}\n</head>\n<body>\n	{$header}\n	<table width="100%" border="0" align="center">\n		<tr>\n			{$modcp_nav}\n			<td valign="top">\n				{$ipsearch_results}\n				<form action="modcp.php?action=ipsearch" method="post">\n					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n						<tr>\n							<td class="thead" colspan="2"><strong>{$lang->ipaddress_search}</strong></td>\n						</tr>\n						<tr>\n							<td class="trow1" width="25%"><strong>{$lang->ip_address}</strong></td>\n							<td class="trow1" width="75%"><input type="text" class="textbox" name="ipaddress" value="{$ipaddressvalue}" size="30" /></td>\n						</tr>\n						<tr>\n							<td class="trow1" width="25%" valign="top"><strong>{$lang->options}</strong></td>\n							<td class="trow1" width="75%">\n								<label><input type="checkbox" class="checkbox" name="search_users" value="1" {$usersearchselect} />{$lang->search_users}</label><br />\n								<label><input type="checkbox" class="checkbox" name="search_posts" value="1" {$postsearchselect} />{$lang->search_posts}</label>\n							</td>\n						</tr>\n					</table>\n					<br />\n					<div align="center">\n						<input type="submit" class="button" value="{$lang->find}" />\n					</div>\n				</form>\n			</td>\n		</tr>\n	</table>\n{$footer}\n</body>\n</html>', -2, '1813', '', [[timestamp]]),
(359, 'modcp_ipsearch_misc_info', '<div class="modal">\n	<div style="overflow-y: auto; max-height: 400px;">\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="thead" align="center" colspan="2">\n				<strong>{$lang->ipaddress_misc_info}</strong>\n			</td>\n		</tr>\n		<tr>\n			<td class="trow1" width="25%" align="center">{$lang->ipaddress_host_name}</td>\n			<td class="trow1">{$ipaddress_host_name}</td>\n		</tr>\n		<tr>\n			<td class="trow2" width="25%" align="center">{$lang->ipaddress_location}</td>\n			<td class="trow2">{$ipaddress_location}</td>\n		</tr>\n	</table>\n</div>\n</div>', -2, '1800', '', [[timestamp]]),
(360, 'modcp_ipsearch_noresults', '<tr>\n	<td class="trow1" align="center" colspan="2">{$lang->error_no_results}</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(361, 'modcp_ipsearch_result', '<tr>\n<td class="{$trow}" align="center">{$ip}</td>\n<td class="{$trow}">{$subject}</td>\n</tr>', -2, '1408', '', [[timestamp]]),
(362, 'modcp_ipsearch_result_lastip', '<strong>{$lang->ipresult_lastip}</strong> {$profile_link}', -2, '1800', '', [[timestamp]]),
(363, 'modcp_ipsearch_result_post', '<strong>{$lang->ipresult_post}</strong> <a href="{$ipaddress[''postlink'']}">{$ipaddress[''subject'']}</a> {$lang->by} {$ipaddress[''profilelink'']}', -2, '1800', '', [[timestamp]]),
(364, 'modcp_ipsearch_result_regip', '<strong>{$lang->ipresult_regip}</strong> {$profile_link}', -2, '1800', '', [[timestamp]]),
(365, 'modcp_ipsearch_results', '					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n						<tr>\n							<td class="thead" align="center" colspan="2">\n								{$misc_info_link}<div><strong>{$lang->ipsearch_results}</strong></div>\n							</td>\n						</tr>\n						<tr>\n							<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->ipaddress}</strong></span></td>\n							<td class="tcat"><span class="smalltext"><strong>{$lang->result}</strong></span></td>\n						</tr>\n						{$results}\n					</table>\n					{$multipage}\n					<br />', -2, '1600', '', [[timestamp]]),
(366, 'modcp_ipsearch_results_information', '<div class="float_right">(<a href="modcp.php?action=iplookup&ipaddress={$ipaddress}" onclick="MyBB.popupWindow(''/modcp.php?action=iplookup&ipaddress={$ipaddress_url}&modal=1''); return false;">{$lang->info_on_ip}</a> | <a href="https://www.stopforumspam.com/ipcheck/{$ipaddress}" target="_blank" rel="noopener">{$lang->search_ip_sfs}</a>)</div>', -2, '1834', '', [[timestamp]]),
(367, 'modcp_lastattachment', '<span class="smalltext">\n<a href="{$attachment[''link'']}#pid{$attachment[''pid'']}"><strong>{$attachment[''filename'']}</strong></a>\n<br />{$attachment[''date'']}<br />{$lang->by} {$attachment[''profilelink'']}</span>', -2, '1800', '', [[timestamp]]),
(368, 'modcp_lastpost', '<span class="smalltext">\n<a href="{$post[''link'']}#pid{$post[''pid'']}" title="{$post[''fullsubject'']}"><strong>{$post[''subject'']}</strong></a>\n<br />{$post[''date'']}<br />{$lang->by} {$post[''profilelink'']}</span>', -2, '1400', '', [[timestamp]]),
(369, 'modcp_lastthread', '<span class="smalltext">\n<a href="{$thread[''link'']}" title="{$thread[''fullsubject'']}"><strong>{$thread[''subject'']}</strong></a>\n<br />{$thread[''date'']}<br />{$lang->by} {$thread[''profilelink'']}</span>', -2, '1400', '', [[timestamp]]),
(370, 'modcp_latestfivemodactions', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" align="center" colspan="5"><strong>{$lang->latest_5_modactions}</strong></td>\n</tr>\n<tr>\n<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>\n<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->date}</strong></span></td>\n<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->action}</strong></span></td>\n<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->information}</strong></span></td>\n<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->ip}</strong></span></td>\n</tr>\n{$modlogresults}\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(371, 'modcp_modlogs', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->modlogs}</title>\n{$headerinclude}\n</head>\n<body>\n	{$header}\n	<table width="100%" border="0" align="center">\n		<tr>\n			{$modcp_nav}\n			<td valign="top">\n				<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n					<tr>\n						<td class="thead" align="center" colspan="5"><strong>{$lang->modlogs}</strong></td>\n					</tr>\n					<tr>\n						<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>\n						<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->date}</strong></span></td>\n						<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->action}</strong></span></td>\n						<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->information}</strong></span></td>\n						<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->ip}</strong></span></td>\n					</tr>\n					{$results}\n					{$resultspages}\n				</table>\n				<br />\n				<form action="modcp.php?action=modlogs" method="post">\n					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n						<tr>\n							<td class="thead" colspan="2"><strong>{$lang->filter_modlogs}</strong></td>\n						</tr>\n						<tr>\n							<td class="trow1" width="25%"><strong>{$lang->forum}</strong></td>\n							<td class="trow1" width="75%">\n								{$forum_select}\n							</td>\n						</tr>\n						<tr>\n							<td class="trow1" width="25%"><strong>{$lang->from_moderator}</strong></td>\n							<td class="trow1" width="75%">\n								<select name="uid">\n									<option value="">{$lang->all_moderators}</option>\n									<option value="">----------</option>\n									{$user_options}\n								</select>\n							</td>\n						</tr>\n						<tr>\n							<td class="trow1" width="25%"><strong>{$lang->sort_by}</strong></td>\n							<td class="trow1" width="75%">\n								<select name="sortby">\n									<option value="dateline"{$sortbysel[''dateline'']}>{$lang->date}</option>\n									<option value="username"{$sortbysel[''username'']}>{$lang->username}</option>\n									<option value="forum"{$sortbysel[''forum'']}>{$lang->forum_name}</option>\n									<option value="thread"{$sortbysel[''thread'']}>{$lang->thread_subject}</option>\n								</select>\n								{$lang->in}\n								<select name="order">\n									<option value="asc"{$ordersel[''asc'']}>{$lang->asc}</option>\n									<option value="desc"{$ordersel[''desc'']}>{$lang->desc}</option>\n								</select>\n								{$lang->order}\n							</td>\n						</tr>\n						<tr>\n							<td class="trow1" width="25%"><strong>{$lang->per_page}</strong></td>\n							<td class="trow1" width="75%"><input type="text" name="perpage" value="{$perpage}" size="4" class="textbox" /></td>\n						</tr>\n					</table>\n					<br />\n					<div align="center">\n						<input type="submit" class="button" value="{$lang->filter_logs}" />\n					</div>\n				</form>\n			</td>\n		</tr>\n	</table>\n{$footer}\n</body>\n</html>', -2, '1813', '', [[timestamp]]),
(372, 'modcp_modlogs_multipage', '<tr>\n<td class="tfoot" colspan="6"><span class="smalltext"> {$multipage}</span></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(373, 'modcp_modlogs_noresults', '<tr>\n	<td class="trow1" align="center" colspan="5">{$lang->error_no_results}</td>\n\n</tr>', -2, '1400', '', [[timestamp]]),
(374, 'modcp_modlogs_nologs', '<tr>\n	<td class="trow1" align="center" colspan="5">{$lang->no_logs}</td>\n\n</tr>', -2, '1800', '', [[timestamp]]),
(375, 'modcp_modlogs_result', '<tr>\n<td class="{$trow}" valign="top">{$logitem[''profilelink'']}</td>\n<td class="{$trow}" align="center" valign="top">{$log_date}</td>\n<td class="{$trow}" align="center" valign="top">{$logitem[''action'']}</td>\n<td class="{$trow}" align="center" valign="top">{$information}</td>\n<td class="{$trow}" align="center" valign="top">{$logitem[''ipaddress'']}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(376, 'modcp_modlogs_result_announcement', '<strong>{$lang->announcement}:</strong> <a href="{$data[''announcement'']}" target="_blank">{$data[''subject'']}</a>', -2, '1800', '', [[timestamp]]),
(377, 'modcp_modlogs_result_forum', '<strong>{$lang->forum}:</strong> <a href="{$logitem[''forum'']}" target="_blank">{$logitem[''fname'']}</a><br />', -2, '1800', '', [[timestamp]]),
(378, 'modcp_modlogs_result_post', '<strong>{$lang->post}:</strong> <a href="{$logitem[''post'']}#pid{$logitem[''pid'']}">{$logitem[''psubject'']}</a>', -2, '1800', '', [[timestamp]]),
(379, 'modcp_modlogs_result_thread', '<strong>{$lang->thread}:</strong> <a href="{$logitem[''thread'']}" target="_blank">{$logitem[''tsubject'']}</a><br />', -2, '1800', '', [[timestamp]]),
(380, 'modcp_modlogs_user', '<option value="{$user[''uid'']}"{$selected}>{$user[''username'']}</option>', -2, '1800', '', [[timestamp]]),
(381, 'modcp_modqueue_attachments', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->attachments_awaiting_moderation}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="modcp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_modqueue" />\n<table width="100%" border="0" align="center">\n<tr>\n{$modcp_nav}\n<td valign="top">\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="thead" colspan="6">\n				<div class="float_right">\n					{$thread_link}\n					{$post_link}\n					{$navsep}<strong>{$lang->attachments}</strong>\n				</div>\n				<strong>{$lang->attachments_awaiting_moderation}</strong>\n			</td>\n		</tr>\n		<tr>\n			<td class="tcat"><span class="smalltext"><strong>{$lang->filename}</strong></span></td>\n			<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>\n			<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->date}</strong></span></td>\n			<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong>{$lang->controls}</strong></span></td>\n		</tr>\n		{$attachments}\n		</table>\n{$multipage}\n{$mass_controls}\n<br />\n<div align="center"><input type="submit" class="button" name="reportsubmit" value="{$lang->perform_actions}" /></div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(382, 'modcp_modqueue_attachments_attachment', '			<tr>\n				<td class="{$altbg}"><a href="attachment.php?aid={$attachment[''aid'']}" target="_blank">{$attachment[''filename'']}</a> ({$attachment[''filesize'']})<br /><small class="modqueue_meta">{$lang->post}: <a href="{$link}">{$attachment[''postsubject'']}</a></small></td>\n				<td class="{$altbg}" align="center">{$profile_link}</td>\n				<td align="center" class="{$altbg}">{$attachdate}</td>\n				<td class="{$altbg}" align="center"><label class="label_radio_ignore"><input type="radio" class="radio radio_ignore" name="attachments[{$attachment[''aid'']}]" value="ignore" checked="checked" /> {$lang->ignore}</label></td>\n				<td class="{$altbg}" align="center"><label class="label_radio_delete"><input type="radio" class="radio radio_delete" name="attachments[{$attachment[''aid'']}]" value="delete" /> {$lang->delete}</label></td>\n				<td class="{$altbg}" align="center"><label class="label_radio_approve"><input type="radio" class="radio radio_approve" name="attachments[{$attachment[''aid'']}]" value="approve" /> {$lang->approve}</label></td>\n			</tr>', -2, '1800', '', [[timestamp]]),
(383, 'modcp_modqueue_attachments_empty', '<tr>\n		<td class="trow1" align="center" colspan="6">{$lang->mod_queue_attachments_empty}</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(384, 'modcp_modqueue_attachment_link', '{$navsep}<a href="modcp.php?action=modqueue&amp;type=attachments">{$lang->attachments}</a>', -2, '1800', '', [[timestamp]]),
(385, 'modcp_modqueue_empty', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->mod_queue}</title>\n{$headerinclude}\n</head>\n<body>\n	{$header}\n	<table width="100%" border="0" align="center">\n		<tr>\n			{$modcp_nav}\n			<td valign="top">\n				<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n					<tr>\n						<td class="thead"><strong>{$lang->mod_queue}</strong></td>\n					</tr>\n					<tr>\n						<td class="trow1" align="center">{$lang->mod_queue_empty}</td>\n					</tr>\n				</table>\n			</td>\n		</tr>\n	</table>\n{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(386, 'modcp_modqueue_link_forum', '<strong>{$lang->meta_forum} <a href="{$forum_link}">{$forum_name}</a></strong><br />', -2, '1800', '', [[timestamp]]),
(387, 'modcp_modqueue_link_thread', '<strong>{$lang->meta_thread} <a href="{$post[''threadlink'']}">{$post[''threadsubject'']}</a></strong>', -2, '1800', '', [[timestamp]]),
(388, 'modcp_modqueue_masscontrols', '<ul class="modqueue_mass">\n	<li><a href="javascript:void(0)" class="mass_ignore" onclick="$(''input.radio_ignore'').each(function(){ $(this).prop(''checked'', true); }); return false;">{$lang->mark_all_ignored}</a></li>\n	<li><a href="javascript:void(0)" class="mass_delete" onclick="$(''input.radio_delete'').each(function(){ $(this).prop(''checked'', true); }); return false;">{$lang->mark_all_deletion}</a></li>\n	<li><a href="javascript:void(0)" class="mass_approve" onclick="$(''input.radio_approve'').each(function(){ $(this).prop(''checked'', true); }); return false;">{$lang->mark_all_approved}</a></li>\n</ul>', -2, '1809', '', [[timestamp]]),
(389, 'modcp_modqueue_posts', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->posts_awaiting_moderation}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="modcp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_modqueue" />\n<table width="100%" border="0" align="center">\n<tr>\n{$modcp_nav}\n<td valign="top">\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n		<tr>\n			<td class="thead" colspan="3">\n				<div class="float_right">\n					{$thread_link}\n					<strong>{$lang->posts}</strong>\n					{$attachment_link}\n				</div>\n				<strong>{$lang->posts_awaiting_moderation}</strong>\n			</td>\n		</tr>\n		<tr>\n			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->subject}</strong></span></td>\n			<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>\n			<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->date}</strong></span></td>\n		</tr>\n		{$posts}\n		</table>\n{$multipage}\n{$mass_controls}\n<br />\n<div align="center"><input type="submit" class="button" name="reportsubmit" value="{$lang->perform_actions}" /></div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1820', '', [[timestamp]]),
(390, 'modcp_modqueue_posts_empty', '<tr>\n		<td class="trow1" align="center" colspan="3">{$lang->mod_queue_posts_empty}</td>\n</tr>', -2, '1400', '', [[timestamp]]);
INSERT INTO `[[dbprefix]]templates` VALUES
(391, 'modcp_modqueue_posts_post', '			<tr>\n				<td class="{$altbg}"><a href="{$post[''postlink'']}#pid{$post[''pid'']}">{$post[''subject'']}</a></td>\n				<td class="{$altbg}" align="center">{$profile_link}</td>\n				<td align="center" class="{$altbg}">{$postdate}</td>\n			</tr>\n			<tr>\n				<td class="{$altbg}" colspan="3">\n					<div class="modqueue_message">\n						<div class="float_right modqueue_controls">\n							<label class="label_radio_ignore"><input type="radio" class="radio radio_ignore" name="posts[{$post[''pid'']}]" value="ignore" checked="checked" /> {$lang->ignore}</label>\n							<label class="label_radio_delete"><input type="radio" class="radio radio_delete" name="posts[{$post[''pid'']}]" value="delete" /> {$lang->delete}</label>\n							<label class="label_radio_approve"><input type="radio" class="radio radio_approve" name="posts[{$post[''pid'']}]" value="approve" /> {$lang->approve}</label>\n						</div>\n						<div class="modqueue_meta">\n							{$forum}{$thread}\n						</div>\n						{$post[''message'']}\n					</div>\n				</td>\n			</tr>', -2, '1400', '', [[timestamp]]),
(392, 'modcp_modqueue_post_link', '{$navsep}<a href="modcp.php?action=modqueue&amp;type=posts">{$lang->posts}</a>', -2, '1800', '', [[timestamp]]),
(393, 'modcp_modqueue_threads', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->threads_awaiting_moderation}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="modcp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_modqueue" />\n<table width="100%" border="0" align="center">\n<tr>\n{$modcp_nav}\n<td valign="top">\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n		<tr>\n			<td class="thead" colspan="3">\n				<div class="float_right">\n					<strong>{$lang->threads}</strong>\n					{$post_link}\n					{$attachment_link}\n				</div>\n				<strong>{$lang->threads_awaiting_moderation}</strong>\n			</td>\n		</tr>\n		<tr>\n			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->subject}</strong></span></td>\n			<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>\n			<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->date}</strong></span></td>\n		</tr>\n		{$threads}\n		</table>\n{$multipage}\n{$mass_controls}\n<br />\n<div align="center"><input type="submit" class="button" name="reportsubmit" value="{$lang->perform_actions}" /></div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1820', '', [[timestamp]]),
(394, 'modcp_modqueue_threads_empty', '<tr>\n		<td class="trow1" align="center" colspan="3">{$lang->mod_queue_threads_empty}</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(395, 'modcp_modqueue_threads_thread', '			<tr>\n				<td class="{$altbg}"><a href="{$thread[''threadlink'']}">{$thread[''subject'']}</a></td>\n				<td class="{$altbg}" align="center">{$profile_link}</td>\n				<td align="center" class="{$altbg}">{$threaddate}</td>\n			</tr>\n			<tr>\n				<td class="{$altbg}" colspan="3">\n					<div class="modqueue_message">\n						<div class="float_right modqueue_controls">\n							<label class="label_radio_ignore"><input type="radio" class="radio radio_ignore" name="threads[{$thread[''tid'']}]" value="ignore" checked="checked" /> {$lang->ignore}</label>\n							<label class="label_radio_delete"><input type="radio" class="radio radio_delete" name="threads[{$thread[''tid'']}]" value="delete" /> {$lang->delete}</label>\n							<label class="label_radio_approve"><input type="radio" class="radio radio_approve" name="threads[{$thread[''tid'']}]" value="approve" /> {$lang->approve}</label>\n						</div>\n						<div class="modqueue_meta">\n							{$forum}\n						</div>\n						{$thread[''postmessage'']}\n					</div>\n				</td>\n			</tr>', -2, '1400', '', [[timestamp]]),
(396, 'modcp_modqueue_thread_link', '<a href="modcp.php?action=modqueue&amp;type=threads">{$lang->threads}</a>{$navsep}', -2, '1800', '', [[timestamp]]),
(397, 'modcp_nav', '<td width="{$lang->nav_width}" valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n	<tr>\n		<td class="thead"><strong>{$lang->nav_menu}</strong></td>\n	</tr>\n	<tr><td class="trow1 smalltext"><a href="modcp.php" class="modcp_nav_item modcp_nav_home">{$lang->mcp_nav_home}</a></td></tr>\n	{$modcp_nav_forums_posts}\n	{$modcp_nav_users}\n</table>\n</td>', -2, '1800', '', [[timestamp]]),
(398, 'modcp_nav_announcements', '<tr><td class="trow1 smalltext"><a href="modcp.php?action=announcements" class="modcp_nav_item modcp_nav_announcements">{$lang->mcp_nav_announcements}</a></td></tr>', -2, '1800', '', [[timestamp]]),
(399, 'modcp_nav_banning', '<tr><td class="trow1 smalltext"><a href="modcp.php?action=banning" class="modcp_nav_item modcp_nav_banning">{$lang->mcp_nav_banning}</a></td></tr>', -2, '1800', '', [[timestamp]]),
(400, 'modcp_nav_forums_posts', '	<tr>\n		<td class="tcat tcat_menu tcat_collapse{$collapsedimg[''modcpforums'']}">\n			<div class="expcolimage"><img src="{$theme[''imgdir'']}/collapse{$collapsedimg[''modcpforums'']}.png" id="modcpforums_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>\n			<div><span class="smalltext"><strong>{$lang->mcp_nav_forums}</strong></span></div>\n		</td>\n	</tr>\n	<tbody style="{$collapsed[''modcpforums_e'']}" id="modcpforums_e">\n		{$nav_announcements}\n		{$nav_modqueue}\n		{$nav_reportcenter}\n		{$nav_modlogs}\n	</tbody>', -2, '1816', '', [[timestamp]]),
(401, 'modcp_nav_editprofile', '<tr><td class="trow1 smalltext"><a href="modcp.php?action=finduser" class="modcp_nav_item modcp_nav_editprofile">{$lang->mcp_nav_editprofile}</a></td></tr>', -2, '1800', '', [[timestamp]]),
(402, 'modcp_nav_ipsearch', '<tr><td class="trow1 smalltext"><a href="modcp.php?action=ipsearch" class="modcp_nav_item modcp_nav_ipsearch">{$lang->mcp_nav_ipsearch}</a></td></tr>', -2, '1800', '', [[timestamp]]),
(403, 'modcp_nav_modlogs', '<tr><td class="trow1 smalltext"><a href="modcp.php?action=modlogs" class="modcp_nav_item modcp_nav_modlogs">{$lang->mcp_nav_modlogs}</a></td></tr>', -2, '1800', '', [[timestamp]]),
(404, 'modcp_nav_modqueue', '<tr><td class="trow1 smalltext"><a href="modcp.php?action=modqueue" class="modcp_nav_item modcp_nav_modqueue">{$lang->mcp_nav_modqueue}</a></td></tr>', -2, '1800', '', [[timestamp]]),
(405, 'modcp_nav_reportcenter', '<tr><td class="trow1 smalltext"><a href="modcp.php?action=reports" class="modcp_nav_item modcp_nav_reports">{$lang->mcp_nav_report_center}</a></td></tr>', -2, '1800', '', [[timestamp]]),
(406, 'modcp_nav_users', '	<tr>\n		<td class="tcat tcat_menu tcat_collapse{$collapsedimg[''modcpusers'']}">\n			<div class="expcolimage"><img src="{$theme[''imgdir'']}/collapse{$collapsedimg[''modcpusers'']}.png" id="modcpusers_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>\n			<div><span class="smalltext"><strong>{$lang->mcp_nav_users}</strong></span></div>\n		</td>\n	</tr>\n	<tbody style="{$collapsed[''modcpusers_e'']}" id="modcpusers_e">\n		{$nav_editprofile}\n		{$nav_banning}\n		{$nav_warninglogs}\n		{$nav_ipsearch}\n	</tbody>', -2, '1816', '', [[timestamp]]),
(407, 'modcp_nav_warninglogs', '<tr><td class="trow1 smalltext"><a href="modcp.php?action=warninglogs" class="modcp_nav_item modcp_nav_warninglogs">{$lang->mcp_nav_warninglogs}</a></td></tr>', -2, '1800', '', [[timestamp]]),
(408, 'modcp_no_announcements_forum', '					<tr>\n						<td class="trow1" colspan="3">{$lang->no_forum_announcements}</td>\n					</tr>', -2, '1400', '', [[timestamp]]),
(409, 'modcp_no_announcements_global', '					<tr>\n						<td class="trow1" colspan="3">{$lang->no_global_announcements}</td>\n					</tr>', -2, '1400', '', [[timestamp]]),
(410, 'modcp_reports', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->report_center}</title>\n{$headerinclude}\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_reports.js?ver=1821"></script>\n</head>\n<body>\n{$header}\n<form action="modcp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="page" value="{$page}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$modcp_nav}\n	<td valign="top">\n		<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="thead" colspan="5"><strong>{$lang->report_center}</strong></td>\n		</tr>\n		<tr>\n			<td class="tcat" width="35%"><span class="smalltext"><strong>{$lang->report_info}</strong></span></td>\n			<td class="tcat" align="left" width="25%"><span class="smalltext"><strong>{$lang->report_type}</strong></span></td>\n			<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->report_count}</strong></span></td>\n			<td class="tcat" align="right" width="20%"><span class="smalltext"><strong>{$lang->report_lastpost}</strong></span></td>\n			<td class="tcat" align="center" width="5%"><input type="checkbox" name="allbox" onclick="inlineReports.checkAll(this);" /></td>\n		</tr>\n		{$selectall}\n		{$reports}\n		<tr>\n			<td class="tfoot" colspan="7" align="right"><span class="smalltext"><strong><a href="modcp.php?action=allreports">{$lang->view_all_reports}</a></strong></span></td>\n		</tr>\n		</table>\n		{$reportspages}\n		<br />\n		<div align="center"><input type="hidden" name="action" value="do_reports" /><input type="submit" id="inline_read" class="button" name="reportsubmit" value="{$lang->mark_read} ({$inlinecount})" /></div>\n	</td>\n</tr>\n</table>\n</form>\n{$footer}\n<script type="text/javascript">\n<!--\n	var mark_read_text = "{$lang->mark_read}";\n	var all_text = "{$report_count}";\n// -->\n</script>\n</body>\n</html>', -2, '1821', '', [[timestamp]]),
(411, 'modcp_reports_allnoreports', '<tr>\n<td class="trow1" align="center" colspan="6">{$lang->no_reports}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(412, 'modcp_reports_allreport', '				<tr>\n					<td class="{$trow}">{$report_data[''content'']}</td>\n					<td class="{$trow}">{$report_data[''comment'']}</td>\n					<td class="{$trow}" align="center"><a href="{$report[''reporterlink'']}" target="_blank">{$report[''username'']}</a></td>\n					<td class="{$trow}" align="center">{$report_data[''reports'']}</td>\n					<td class="{$trow}" align="center" style="white-space: nowrap"><span class="smalltext">{$report_data[''time'']}</span></td>\n				</tr>', -2, '1800', '', [[timestamp]]),
(413, 'modcp_reports_allreports', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->all_reports}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" border="0" align="center">\n	<tr>\n		{$modcp_nav}\n		<td valign="top">\n			<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n				<tr>\n					<td class="thead" align="center" colspan="6"><strong>{$lang->all_reports}</strong></td>\n				</tr>\n				<tr>\n					<td class="tcat" width="30%"><span class="smalltext"><strong>{$lang->report_info}</strong></span></td>\n					<td class="tcat" width="20%"><span class="smalltext"><strong>{$lang->report_type}</strong></span></td>\n					<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->reporter}</strong></span></td>\n					<td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->report_count}</strong></span></td>\n					<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->report_time}</strong></span></td>\n				</tr>\n				{$allreports}\n			</table>\n			{$allreportspages}\n		</td>\n	</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(414, 'modcp_reports_multipage', '{$multipage}', -2, '1800', '', [[timestamp]]),
(415, 'modcp_reports_noreports', '<tr>\n<td class="trow1" align="center" colspan="7">{$lang->no_reports}</td>\n</tr>', -2, '1607', '', [[timestamp]]),
(416, 'modcp_reports_report', '<tr class="inline_row">\n	<td class="{$trow}">{$report_data[''content'']}</td>\n	<td class="{$trow}" align="left">{$report_data[''comment'']}</td>\n	<td class="{$trow}" align="center">{$report_data[''reports'']}</td>\n	<td class="{$trow} smalltext" align="right">{$report_data[''lastreporter'']}</td>\n	<td class="{$trow}" align="center"><input type="checkbox" class="checkbox" name="reports[]" id="reports_{$report[''rid'']}" value="{$report[''rid'']}"{$inlinecheck} /></td>\n</tr>', -2, '1813', '', [[timestamp]]),
(417, 'modcp_reports_report_comment', '{$reason}', -2, '1808', '', [[timestamp]]),
(418, 'modcp_reports_report_comment_extra', '{$reason}: {$comment}', -2, '1808', '', [[timestamp]]),
(419, 'modcp_reports_selectall', '<tr id="selectAllrow" class="hiddenrow">\n	<td colspan="8" class="selectall">{$lang->page_selected} <a href="javascript:void(0)" onclick=''inlineReports.selectAll(); return false;''>{$lang->select_all}</a></td>\n</tr>\n<tr id="allSelectedrow" class="hiddenrow">\n	<td colspan="8" class="selectall">{$lang->all_selected} <a href="javascript:void(0)" onclick=''inlineReports.clearChecked(); return false;''>{$lang->clear_selection}</a></td>\n</tr>', -2, '1813', '', [[timestamp]]),
(420, 'modcp_nobanned', '<tr>\n		<td class="trow1" align="center" colspan="4">{$lang->no_bans_ending}</td>\n</tr>', -2, '1613', '', [[timestamp]]),
(421, 'modcp_warninglogs', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->warning_logs}</title>\n{$headerinclude}\n</head>\n<body>\n	{$header}\n	<table width="100%" border="0" align="center">\n		<tr>\n			{$modcp_nav}\n			<td valign="top">\n				<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n					<tr>\n						<td class="thead" colspan="6"><strong>{$lang->warning_logs}</strong></td>\n					</tr>\n					<tr>\n						<td class="tcat" width="15%"><span class="smalltext"><strong>{$lang->warned_user}</strong></span></td>\n						<td class="tcat" width="25%"><span class="smalltext"><strong>{$lang->warning}</strong></span></td>\n						<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->date_issued}</strong></span></td>\n						<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->expires}</strong></span></td>\n						<td class="tcat" width="15%"><span class="smalltext"><strong>{$lang->issued_by}</strong></span></td>\n						<td class="tcat" width="1%" align="center"><span class="smalltext"><strong>{$lang->details}</strong></span></td>\n					</tr>\n					{$warning_list}\n				</table>\n				{$multipage}\n				<br />\n				<form action="modcp.php" method="get">\n					<input type="hidden" name="action" value="warninglogs" />\n					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n						<tr>\n							<td class="thead" colspan="2"><strong>{$lang->filter_warning_logs}</strong></td>\n						</tr>\n						<tr>\n							<td class="trow1" width="25%"><strong>{$lang->filter_warned_user}</strong></td>\n							<td class="trow1" width="75%"><input type="text" name="filter[username]" id="username" value="{$filter_username}" class="textbox" /></td>\n						</tr>\n						<tr>\n							<td class="trow2" width="25%"><strong>{$lang->filter_issued_by}</strong></td>\n							<td class="trow2" width="75%"><input type="text" name="filter[mod_username]" value="{$filter_modusername}" class="textbox" /></td>\n						</tr>\n						<tr>\n							<td class="trow1" width="25%"><strong>{$lang->filter_reason}</strong></td>\n							<td class="trow1" width="75%"><input type="text" name="filter[reason]" value="{$filter_reason}" class="textbox" /></td>\n						</tr>\n						<tr>\n							<td class="trow2" width="25%"><strong>{$lang->sort_by}</strong></td>\n							<td class="trow2" width="75%">\n								<select name="filter[sortby]">\n									<option value="username"{$sortbysel[''username'']}>{$lang->username}</option>\n									<option value="issuedby"{$sortbysel[''issuedby'']}>{$lang->issued_by}</option>\n									<option value="dateline"{$sortbysel[''dateline'']}>{$lang->issued_date}</option>\n									<option value="expires"{$sortbysel[''expires'']}>{$lang->expiry_date}</option>\n								</select>\n								{$lang->in}\n								<select name="filter[order]">\n									<option value="asc"{$ordersel[''asc'']}>{$lang->asc}</option>\n									<option value="desc"{$ordersel[''desc'']}>{$lang->desc}</option>\n								</select>\n								{$lang->order}\n							</td>\n						</tr>\n						<tr>\n							<td class="trow1" width="25%"><strong>{$lang->per_page}</strong></td>\n							<td class="trow1" width="75%"><input type="text" name="filter[per_page]" value="{$per_page}" class="textbox" /></td>\n						</tr>\n					</table>\n					<br />\n					<div align="center">\n						<input type="submit" class="button" value="{$lang->filter_warning_logs}" />\n					</div>\n				</form>\n			</td>\n		</tr>\n	</table>\n	{$footer}\n<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n<script type="text/javascript">\n<!--\nif(use_xmlhttprequest == "1")\n{\n	MyBB.select2();\n	$("#username").select2({\n		placeholder: "{$lang->search_user}",\n		minimumInputLength: 2,\n		multiple: false,\n		allowClear: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var value = $(element).val();\n			if (value !== "") {\n				callback({\n					id: value,\n					text: value\n				});\n			}\n		},\n	});\n}\n// -->\n</script>\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(422, 'modcp_warninglogs_nologs', '					<tr>\n						<td class="trow1" colspan="6">{$lang->no_warning_logs}</td>\n					</tr>', -2, '1400', '', [[timestamp]]),
(423, 'modcp_warninglogs_warning', '					<tr>\n						<td class="{$trow}">{$username_link}</td>\n						<td class="{$trow}">{$title} ({$points})</td>\n						<td class="{$trow}" align="center">{$issued_date}</td>\n						<td class="{$trow}" align="center">{$expire_date}{$revoked_text}</td>\n						<td class="{$trow}">{$mod_username_link}</td>\n						<td class="{$trow}" align="center"><a href="warnings.php?action=view&amp;wid={$row[''wid'']}">{$lang->view}</a></td>\n					</tr>', -2, '1400', '', [[timestamp]]),
(424, 'modcp_warninglogs_warning_revoked', '<br /><span class="smalltext"><strong>{$lang->revoked}</strong> {$revoked_date}</span>', -2, '1400', '', [[timestamp]]),
(425, 'moderation_delayedmodaction_notes', '<tr>\n<td class="{$trow}" align="center">{$delayedmod[''profilelink'']}</td>\n<td class="{$trow}" align="center">{$delayedmod[''dateline'']}</td>\n<td class="{$trow}" align="center">{$delayedmod[''action'']}</td>\n<td class="{$trow}">{$info}</td>\n<td class="{$trow}" align="center"><a href="moderation.php?action=cancel_delayedmoderation&amp;tid={$tid}&amp;fid={$fid}&amp;did={$delayedmod[''did'']}&amp;my_post_key={$mybb->post_code}">{$lang->cancel}</a></td>\n</tr>', -2, '1600', '', [[timestamp]]),
(426, 'moderation_delayedmodaction_notes_forum', '<strong>{$lang->forum}</strong> <a href="{$delayedmod[''link'']}">{$delayedmod[''fname'']}</a><br />', -2, '1808', '', [[timestamp]]),
(427, 'moderation_delayedmodaction_notes_merge', '<strong>{$lang->new_subject}</strong> {$delayedmod[''subject'']}<br />\n<strong>{$lang->thread_to_merge_with}</strong> <a href="{$delayedmod[''threadurl'']}">{$delayedmod[''threadurl'']}</a><br />', -2, '1808', '', [[timestamp]]),
(428, 'moderation_delayedmodaction_notes_new_forum', '<strong>{$lang->new_forum}</strong> <a href="{$delayedmod[''link'']}">{$delayedmod[''name'']}</a><br />', -2, '1808', '', [[timestamp]]),
(429, 'moderation_delayedmodaction_notes_redirect', '<strong>{$lang->leave_redirect_for}</strong> {$redirect_expire_bit}<br />', -2, '1808', '', [[timestamp]]),
(430, 'moderation_delayedmodaction_notes_thread_multiple', '<strong>{$lang->thread}</strong> {$lang->multiple_threads}<br />', -2, '1808', '', [[timestamp]]),
(431, 'moderation_delayedmodaction_notes_thread_single', '<strong>{$lang->thread}</strong> <a href="{$delayed_thread[''link'']}">{$delayed_thread[''subject'']}</a><br />', -2, '1808', '', [[timestamp]]),
(432, 'moderation_delayedmoderation', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->delayed_moderation}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$display_errors}\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="5"><strong>{$lang->delayed_mod_queue}</strong></td>\n</tr>\n<tr>\n<td class="tcat" align="center"><strong>{$lang->mod_username}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->time_to_perform_action}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->mod_actions}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->mod_information}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->actions}</strong></td>\n</tr>\n{$delayedmods}\n</table>\n<br />\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_delayedmoderation" />\n<input type="hidden" name="url" value="{$url}" />\n<input type="hidden" name="tid" value="{$tid}" />\n<input type="hidden" name="fid" value="{$fid}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->delayed_moderation}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><strong>{$lang->delayed_moderation_desc}</strong></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow1"><strong>{$lang->threads}</strong></td>\n<td class="trow2">{$threads}</td>\n</tr>\n<tr>\n<td class="trow1"><strong>{$lang->run_moderation_time}</strong></td>\n<td class="trow2">\n		<select name="date_day">\n				{$dateday}\n		</select>\n		&nbsp;\n		<select name="date_month">\n				{$datemonth}\n		</select>\n		&nbsp;\n		<input type="text" name="date_year" value="{$dateyear}" size="4" maxlength="4" class="textbox" />\n		 - {$lang->time} <input type="text" name="date_time" value="{$datetime}" size="10" class="textbox" />\n</td>\n</tr>\n<tr>\n<td class="trow1" style="vertical-align: top;"><strong>{$lang->moderation_action}</strong></td>\n<td class="trow2">\n<script type="text/javascript">\n<!--\n	function toggleType()\n	{\n		if($(''#type_merge''))\n		{\n			if($(''#type_movecopythread'').prop(''checked'') == true)\n			{\n				$(''#type_merge_expanded'').hide();\n				$(''#type_movecopythread_expanded'').show();\n			}\n			else if($(''#type_merge'').prop(''checked'') == true)\n			{\n				$(''#type_movecopythread_expanded'').hide();\n				$(''#type_merge_expanded'').show();\n			}\n			else\n			{\n				$(''#type_movecopythread_expanded'').hide();\n				$(''#type_merge_expanded'').hide();\n			}\n		}\n		else\n		{\n			if($(''#type_movecopythread'').prop(''checked'') == true)\n			{\n				$(''#type_movecopythread_expanded'').show();\n			}\n			else\n			{\n				$(''#type_movecopythread_expanded'').hide();\n			}\n		}\n	}\n// -->\n</script>\n<dl style="margin-top: 0; margin-bottom: 0; width: 100%;">\n	{$openclosethread}\n	{$softdeleterestorethread}\n	{$deletethread}\n	{$stickunstickthread}\n	<dt><input type="radio" name="type" value="move" {$type_selected[''move'']} id="type_movecopythread" onclick="toggleType();" /> <label for="type_movecopythread"><strong>{$lang->move_copy_thread}</strong></label></dt>\n	<dd style="margin-top: 4px;" id="type_movecopythread_expanded">\n	{$lang->new_forum}<br />\n	{$forumselect}\n	{$moderation_delayedmoderation_move}\n	</dd>\n	{$moderation_delayedmoderation_merge}\n	<dt><input type="radio" name="type" value="removeredirects" {$type_selected[''removeredirects'']} id="type_removeredirects" onclick="toggleType();" /> <label for="type_removeredirects"><strong>{$lang->remove_redirects}</strong></label></dt>\n	<dt><input type="radio" name="type" value="removesubscriptions" {$type_selected[''removesubscriptions'']} id="type_removesubscriptions" onclick="toggleType();" /> <label for="type_removesubscriptions"><strong>{$lang->remove_subscriptions}</strong></label></dt>\n	{$approveunapprovethread}\n	{$customthreadtools}\n</dl>\n<script type="text/javascript">\n<!--\n	toggleType();\n// -->\n</script>\n</td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="submit" class="button" value="{$lang->save_delayed_moderation}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(433, 'moderation_delayedmoderation_approve', '<dt><input type="radio" name="type" value="approveunapprovethread" {$type_selected[''approveunapprovethread'']} id="type_approveunapprovethread" onclick="toggleType();" /> <label for="type_approveunapprovethread"><strong>{$lang->approve_unapprove_thread}</strong></label></dt>', -2, '1813', '', [[timestamp]]),
(434, 'moderation_delayedmoderation_delete', '<dt><input type="radio" name="type" value="deletethread" {$type_selected[''deletethread'']} id="type_deletethread" onclick="toggleType();" /> <label for="type_deletethread"><strong>{$lang->delete_thread}</strong></label></dt>', -2, '1813', '', [[timestamp]]),
(435, 'moderation_delayedmoderation_openclose', '<dt><input type="radio" name="type" value="openclosethread" {$type_selected[''openclosethread'']} id="type_openclosethread" onclick="toggleType();" /> <label for="type_openclosethread"><strong>{$lang->open_close_thread}</strong></label></dt>', -2, '1813', '', [[timestamp]]),
(436, 'moderation_delayedmoderation_softdeleterestore', '<dt><input type="radio" name="type" value="softdeleterestorethread" {$type_selected[''softdeleterestorethread'']} id="type_softdeleterestorethread" onclick="toggleType();" /> <label for="type_softdeleterestorethread"><strong>{$lang->softdelete_restore_thread}</strong></label></dt>', -2, '1813', '', [[timestamp]]),
(437, 'moderation_delayedmoderation_stick', '<dt><input type="radio" name="type" value="stick" {$type_selected[''stick'']} id="type_stick_unstick_thread" onclick="toggleType();" /> <label for="type_stick_unstick_thread"><strong>{$lang->stick_unstick_thread}</strong></label></dt>', -2, '1813', '', [[timestamp]]),
(438, 'moderation_delayedmoderation_date_month', '<option value="01" {$datemonth[''01'']}>{$lang->january}</option>\n<option value="02" {$datemonth[''02'']}>{$lang->february}</option>\n<option value="03" {$datemonth[''03'']}>{$lang->march}</option>\n<option value="04" {$datemonth[''04'']}>{$lang->april}</option>\n<option value="05" {$datemonth[''05'']}>{$lang->may}</option>\n<option value="06" {$datemonth[''06'']}>{$lang->june}</option>\n<option value="07" {$datemonth[''07'']}>{$lang->july}</option>\n<option value="08" {$datemonth[''08'']}>{$lang->august}</option>\n<option value="09" {$datemonth[''09'']}>{$lang->september}</option>\n<option value="10" {$datemonth[''10'']}>{$lang->october}</option>\n<option value="11" {$datemonth[''11'']}>{$lang->november}</option>\n<option value="12" {$datemonth[''12'']}>{$lang->december}</option>', -2, '1800', '', [[timestamp]]),
(439, 'moderation_delayedmoderation_date_day', '<option value="{$day}"{$selected}>{$day}</option>', -2, '1809', '', [[timestamp]]),
(440, 'moderation_delayedmoderation_custommodtool', '<dt><input type="radio" name="type" value="modtool_{$tool[''tid'']}" {$checked} id="type_modtool_{$tool[''tid'']}" onclick="toggleType();" /> <label for="type_modtool_{$tool[''tid'']}"><strong>{$tool[''name'']}</strong> <small>({$lang->custom})</small></label></dt>', -2, '1600', '', [[timestamp]]),
(441, 'moderation_delayedmoderation_merge', '<dt><input type="radio" name="type" value="merge" {$type_selected[''merge'']} id="type_merge" onclick="toggleType();" /> <label for="type_merge"><strong>{$lang->merge_threads}</strong></label></dt>\n<dd style="margin-top: 4px; width: 100%;" id="type_merge_expanded">\n	{$lang->new_subject}<br />\n	<input type="text" class="textbox" name="delayedmoderation[subject]" value="{$delayedmoderation_subject}" size="40" /><br />\n	{$lang->thread_to_merge_with}<br />\n	<input type="text" class="textbox" name="delayedmoderation[threadurl]" value="{$delayedmoderation_threadurl}" size="40" />\n	<br /><span class="smalltext">{$lang->merge_with_note}</span>\n</dd>', -2, '1816', '', [[timestamp]]),
(442, 'moderation_delayedmoderation_move', '<br />\n{$lang->method}:<br />\n<label><input type="radio" class="radio" name="delayedmoderation[method]" value="move" {$method_selected[''move'']} />{$lang->method_move}</label><br />\n<label><input type="radio" class="radio" name="delayedmoderation[method]" value="redirect" {$method_selected[''redirect'']} />{$lang->method_move_redirect}</label> <input type="text" class="textbox" name="delayedmoderation[redirect_expire]" value="{$redirect_expire}" size="3" /> {$lang->redirect_expire_note}<br />\n<label><input type="radio" class="radio" name="delayedmoderation[method]" value="copy" {$method_selected[''copy'']} />{$lang->method_copy}</label><br />', -2, '1816', '', [[timestamp]]),
(443, 'moderation_delayedmoderation_thread', '<a href="{$thread[''link'']}">{$thread[''subject'']}</a>', -2, '1808', '', [[timestamp]]),
(444, 'moderation_confirmation', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->confirm_execute_tool}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="{$action}" />\n<input type="hidden" name="modtype" value="{$modtype}" />\n<input type="hidden" name="tid" value="{$tid}" />\n<input type="hidden" name="pid" value="{$pid}" />\n<input type="hidden" name="fid" value="{$fid}" />\n<input type="hidden" name="pmid" value="{$pmid}" />\n<input type="hidden" name="confirm" value="1" />\n<input type="hidden" name="inlinetype" value="{$inlinetype}" />\n<input type="hidden" name="searchid" value="{$searchid}" />\n<input type="hidden" name="url" value="{$url}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$thread[''subject'']} - {$lang->confirm_execute_tool}</strong></td>\n</tr>\n<tr>\n<td class="trow1" colspan="2" align="center">{$lang->confirm_execute_tool_desc}</td>\n</tr>\n{$loginbox}\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->confirm_execute_tool}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1816', '', [[timestamp]]),
(445, 'moderation_delayedmodaction_error', '<tr><td class="trow1" colspan="{$cols}">{$lang->no_delayed_mods}</td></tr>', -2, '1800', '', [[timestamp]]),
(446, 'moderation_deletepoll', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->delete_poll}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->delete_poll}</strong></td>\n</tr>\n{$loginbox}\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->delete_poll}" /></div>\n<input type="hidden" name="action" value="do_deletepoll" />\n<input type="hidden" name="tid" value="{$tid}" />\n<input type="hidden" name="delete" value="1" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(447, 'moderation_deletethread', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->delete_thread}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$thread[''subject'']} - {$lang->delete_thread}</strong></td>\n</tr>\n<tr>\n<td class="trow1" colspan="2" align="center">{$lang->confirm_delete_threads}</td>\n</tr>\n{$loginbox}\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->delete_thread}" /></div>\n<input type="hidden" name="action" value="do_deletethread" />\n<input type="hidden" name="tid" value="{$tid}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(448, 'moderation_getip', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->get_post_ip}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->get_post_ip}</strong></td>\n</tr>\n<tr>\n<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>\n<td class="trow1">{$username}</td>\n</tr>\n<tr>\n<td class="trow2"><strong>{$lang->ip_address}</strong></td>\n<td class="trow2">{$post[''ipaddress'']}</td>\n</tr>\n<tr>\n<td class="trow1"><strong>{$lang->hostname}<br /><span class="smalltext">{$lang->if_resolvable}</span></strong></td>\n<td class="trow2">{$hostname}</td>\n</tr>\n{$modoptions}\n</table>\n{$footer}\n</body>\n</html>', -2, '1608', '', [[timestamp]]),
(449, 'moderation_getip_modal', '<div class="modal">\n	<div style="overflow-y: auto; max-height: 400px;">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->get_post_ip}</strong></td>\n</tr>\n<tr>\n<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>\n<td class="trow1">{$username}</td>\n</tr>\n<tr>\n<td class="trow2"><strong>{$lang->ip_address}</strong></td>\n<td class="trow2">{$post[''ipaddress'']}</td>\n</tr>\n<tr>\n<td class="trow1"><strong>{$lang->hostname}<br /><span class="smalltext">{$lang->if_resolvable}</span></strong></td>\n<td class="trow2">{$hostname}</td>\n</tr>\n{$modoptions}\n</table>\n</div>\n</div>', -2, '1815', '', [[timestamp]]),
(450, 'moderation_getip_modoptions', '<tr>\n<td class="trow2"><strong>{$lang->mod_options}</strong></td>\n<td class="trow2">\n	<a href="modcp.php?action=ipsearch&amp;ipaddress={$ipaddress}&amp;search_users=1">{$lang->search_ip_users}</a><br />\n	<a href="modcp.php?action=ipsearch&amp;ipaddress={$ipaddress}&amp;search_posts=1">{$lang->search_ip_posts}</a><br />\n	<a href="modcp.php?action=iplookup&ipaddress={$ipaddress}" onclick="MyBB.popupWindow(''/modcp.php?action=iplookup&ipaddress={$ipaddress}&modal=1''); return false;">{$lang->info_on_ip}</a>\n</td>\n</tr>', -2, '1804', '', [[timestamp]]),
(451, 'moderation_getpmip', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->get_pm_ip}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->get_pm_ip}</strong></td>\n</tr>\n<tr>\n<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>\n<td class="trow1">{$username}</td>\n</tr>\n<tr>\n<td class="trow2"><strong>{$lang->ip_address}</strong></td>\n<td class="trow2">{$pm[''ipaddress'']}</td>\n</tr>\n<tr>\n<td class="trow1"><strong>{$lang->hostname}<br /><span class="smalltext">{$lang->if_resolvable}</span></strong></td>\n<td class="trow2">{$hostname}</td>\n</tr>\n{$modoptions}\n</table>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(452, 'moderation_getpmip_modal', '<div class="modal">\n	<div style="overflow-y: auto; max-height: 400px;">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->get_pm_ip}</strong></td>\n</tr>\n<tr>\n<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>\n<td class="trow1">{$username}</td>\n</tr>\n<tr>\n<td class="trow2"><strong>{$lang->ip_address}</strong></td>\n<td class="trow2">{$pm[''ipaddress'']}</td>\n</tr>\n<tr>\n<td class="trow1"><strong>{$lang->hostname}<br /><span class="smalltext">{$lang->if_resolvable}</span></strong></td>\n<td class="trow2">{$hostname}</td>\n</tr>\n{$modoptions}\n</table>\n</div>\n</div>', -2, '1815', '', [[timestamp]]),
(453, 'moderation_inline_deleteposts', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->delete_posts}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->delete_posts}</strong></td>\n</tr>\n<tr>\n<td class="trow1" colspan="2" align="center">{$lang->confirm_delete_posts}</td>\n</tr>\n{$loginbox}\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->delete_posts}" /></div>\n<input type="hidden" name="action" value="do_multideleteposts" />\n<input type="hidden" name="tid" value="{$tid}" />\n<input type="hidden" name="posts" value="{$inlineids}" />\n<input type="hidden" name="url" value="{$return_url}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1600', '', [[timestamp]]),
(454, 'moderation_inline_deletethreads', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->delete_threads}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->delete_threads}</strong></td>\n</tr>\n<tr>\n<td class="trow1" colspan="2" align="center">{$lang->confirm_delete_threads}</td>\n</tr>\n{$loginbox}\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->delete_threads}" /></div>\n<input type="hidden" name="action" value="do_multideletethreads" />\n<input type="hidden" name="fid" value="{$fid}" />\n<input type="hidden" name="threads" value="{$inlineids}" />\n<input type="hidden" name="url" value="{$return_url}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(455, 'moderation_inline_mergeposts', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->merge_posts}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->merge_posts}</strong></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow2"><strong>{$lang->post_separator}</strong></td>\n<td class="trow2"><label><input type="radio" class="radio" name="sep" value="hr" checked="checked" />&nbsp;{$lang->horizontal_rule}</label><br /><label><input type="radio" class="radio" name="sep" value="new_line" />&nbsp;{$lang->new_line}</label></td>\n</tr>\n{$postlist}\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->merge_posts}" /></div>\n<input type="hidden" name="action" value="do_multimergeposts" />\n<input type="hidden" name="tid" value="{$tid}" />\n<input type="hidden" name="url" value="{$return_url}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1812', '', [[timestamp]]),
(456, 'moderation_inline_movethreads', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->move_threads}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->move_threads}</strong></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow1"><strong>{$lang->new_forum}</strong></td>\n<td class="trow2">{$forumselect}</td>\n</tr>\n<tr>\n<td class="trow1" valign="top"><strong>{$lang->method}</strong></td>\n<td class="trow2">\n<label><input type="radio" class="radio" name="method" value="move" />{$lang->method_move}</label><br />\n<label><input type="radio" class="radio" name="method" value="redirect" checked="checked" />{$lang->method_move_redirect}</label> <input type="text" class="textbox" name="redirect_expire" size="3" /> {$lang->redirect_expire_note}<br />\n<label><input type="radio" class="radio" name="method" value="copy" />{$lang->method_copy}</label><br />\n</td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->move_threads}" /></div>\n<input type="hidden" name="action" value="do_multimovethreads" />\n<input type="hidden" name="fid" value="{$fid}" />\n<input type="hidden" name="threads" value="{$inlineids}" />\n<input type="hidden" name="url" value="{$return_url}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1822', '', [[timestamp]]),
(457, 'moderation_inline_splitposts', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->split_thread}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->split_thread}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->new_thread_info}</strong></span></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow2"><strong>{$lang->new_subject}</strong></td>\n<td class="trow2"><input type="text" class="textbox" name="newsubject" value="{$lang->split_thread_subject} {$thread[''subject'']}" size="50" /></td>\n</tr>\n<tr>\n<td class="trow1"><strong>{$lang->new_forum}</strong></td>\n<td class="trow1">{$forumselect}</td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->split_thread}" /></div>\n<input type="hidden" name="action" value="do_multisplitposts" />\n<input type="hidden" name="tid" value="{$tid}" />\n<input type="hidden" name="posts" value="{$inlineids}" />\n<input type="hidden" name="url" value="{$return_url}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1607', '', [[timestamp]]),
(458, 'moderation_inline_moveposts', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->move_posts}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->move_posts}</strong></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow1"><strong>{$lang->thread_to_move_to}</strong><br /><span class="smalltext">{$lang->move_post_note}</span></td>\n<td class="trow1" width="60%"><input type="text" class="textbox" name="threadurl" size="40" />\n</td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->move_posts}" /></div>\n<input type="hidden" name="action" value="do_multimoveposts" />\n<input type="hidden" name="tid" value="{$tid}" />\n<input type="hidden" name="posts" value="{$inlineids}" />\n<input type="hidden" name="url" value="{$return_url}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(459, 'moderation_merge', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->merge_threads}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->merge_threads}</strong></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow2"><strong>{$lang->new_subject}</strong></td>\n<td class="trow2"><input type="text" class="textbox" name="subject" value="{$thread[''subject'']}" size="40" /></td>\n</tr>\n<tr>\n<td class="trow1"><strong>{$lang->thread_to_merge_with}</strong><br /><span class="smalltext">{$lang->merge_with_note}</span></td>\n<td class="trow1" width="60%"><input type="text" class="textbox" name="threadurl" size="40" />\n</td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->merge_threads}" /></div>\n<input type="hidden" name="action" value="do_merge" />\n<input type="hidden" name="tid" value="{$tid}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(460, 'moderation_mergeposts_post', '<tr>\n<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->posted_by} {$post[''username'']} - {$postdate}</strong></span></td>\n</tr>\n<tr>\n<td class="{$altbg}" valign="top" align="center" width="1"><input type="checkbox" class="checkbox" checked="checked" name="mergepost[{$post[''pid'']}]" value="1" /></td>\n<td class="{$altbg}">{$message}</td>\n</tr>', -2, '1600', '', [[timestamp]]),
(461, 'moderation_move', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->move_copy_thread}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->move_copy_thread}</strong></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow1"><strong>{$lang->new_forum}</strong></td>\n<td class="trow2">{$forumselect}</td>\n</tr>\n<tr>\n<td class="trow1" valign="top"><strong>{$lang->method}</strong></td>\n<td class="trow2">\n<label><input type="radio" class="radio" name="method" value="move" />{$lang->method_move}</label><br />\n<label><input type="radio" class="radio" name="method" value="redirect" checked="checked" />{$lang->method_move_redirect}</label> <input type="text" class="textbox" name="redirect_expire" size="3" /> {$lang->redirect_expire_note}<br />\n<label><input type="radio" class="radio" name="method" value="copy" />{$lang->method_copy}</label><br />\n</td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->move_copy_thread}" /></div>\n<input type="hidden" name="action" value="do_move" />\n<input type="hidden" name="tid" value="{$tid}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(462, 'moderation_purgespammer', '<html>\n<head>\n<title>{$lang->purgespammer}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form method="post" action="moderation.php">\n<input type="hidden" name="action" value="do_purgespammer" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead">\n<strong>{$lang->purgespammer_purge}</strong>\n</td>\n</tr>\n<tr>\n<td class="trow1">{$lang->purgespammer_purge_desc}</td>\n</tr>\n<tr>\n<td class="tfoot" align="center"><input class="button" type="submit" value="{$lang->purgespammer_submit}" /></td>\n</tr>\n</table>\n<input type="hidden" name="uid" value="{$uid}" />\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1816', '', [[timestamp]]),
(463, 'moderation_split', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->split_thread}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->split_thread}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->new_thread_info}</strong></span></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow2"><strong>{$lang->new_subject}</strong></td>\n<td class="trow2"><input type="text" class="textbox" name="newsubject" value="{$lang->split_thread_subject} {$thread[''subject'']}" size="50" /></td>\n</tr>\n<tr>\n<td class="trow1"><strong>{$lang->new_forum}</strong></td>\n<td class="trow1">{$forumselect}</td>\n</tr>\n</table>\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->posts_to_split}</strong></td>\n</tr>\n{$posts}\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->split_thread}" /></div>\n<input type="hidden" name="action" value="do_split" />\n<input type="hidden" name="tid" value="{$tid}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1607', '', [[timestamp]]);
INSERT INTO `[[dbprefix]]templates` VALUES
(464, 'moderation_split_post', '<tr>\n<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->posted_by} {$post[''username'']} - {$postdate}</strong></span></td>\n</tr>\n<tr>\n<td class="{$altbg}" valign="top" align="center" width="1%"><input type="checkbox" class="checkbox" name="splitpost[{$post[''pid'']}]" value="1" /></td>\n<td class="{$altbg}">{$message}</td>\n</tr>', -2, '127', '', [[timestamp]]),
(465, 'moderation_threadnotes', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->thread_notes_editor}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->thread_notes_editor}</strong></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow2" colspan="2">{$lang->below_notes}</td>\n</tr>\n<td class="trow1" align="center" colspan="2"><textarea name="threadnotes" cols="80" rows="10" tabindex="1">{$thread[''notes'']}</textarea></td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->update_notes}" tabindex="2" /></div>\n<input type="hidden" name="action" value="do_threadnotes" />\n<input type="hidden" name="tid" value="{$tid}" />\n</form>\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="4"><strong>{$lang->mod_logs}</strong></td>\n</tr>\n<tr>\n<td class="tcat" align="center"><strong>{$lang->mod_username}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->mod_date}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->mod_actions}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->mod_information}</strong></td>\n</tr>\n{$modactions}\n</table>\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="4"><strong>{$lang->delayed_mod_queue}</strong></td>\n</tr>\n<tr>\n<td class="tcat" align="center"><strong>{$lang->mod_username}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->time_to_perform_action}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->mod_actions}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->mod_information}</strong></td>\n</tr>\n{$delayedmods}\n</table>\n{$footer}\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(466, 'moderation_threadnotes_delayedmodaction', '<tr>\n<td class="{$trow}" align="center">{$delayedmod[''profilelink'']}</td>\n<td class="{$trow}" align="center">{$delayedmod[''dateline'']}</td>\n<td class="{$trow}" align="center">{$delayedmod[''action'']}</td>\n<td class="{$trow}">{$info}</td>\n</tr>', -2, '1600', '', [[timestamp]]),
(467, 'moderation_threadnotes_modaction', '<tr>\n<td class="{$trow}" align="center">{$modaction[''profilelink'']}</td>\n<td class="{$trow}" align="center">{$modaction[''dateline'']}</td>\n<td class="{$trow}" align="center">{$modaction[''action'']}</td>\n<td class="{$trow}">{$info}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(468, 'moderation_threadnotes_modaction_error', '<tr><td class="trow1" colspan="4">{$lang->no_mod_options}</td></tr>', -2, '1800', '', [[timestamp]]),
(469, 'moderation_threadnotes_modaction_forum', '<strong>{$lang->forum}</strong> <a href="{$modaction[''forumlink'']}">{$modaction[''fname'']}</a><br />', -2, '1808', '', [[timestamp]]),
(470, 'moderation_threadnotes_modaction_post', '<strong>{$lang->post}</strong> <a href="{$modaction[''postlink'']}#pid{$modaction[''pid'']}">{$modaction[''psubject'']}</a>', -2, '1808', '', [[timestamp]]),
(471, 'moderation_threadnotes_modaction_thread', '<strong>{$lang->thread}</strong> <a href="{$modaction[''threadlink'']}">{$modaction[''tsubject'']}</a><br />', -2, '1808', '', [[timestamp]]),
(472, 'moderation_viewthreadnotes', '<div class="modal">\n<div style="overflow-y: auto; max-height: 400px;">\n<table width="100%" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" border="0" align="center" class="tborder">\n<tr>\n<td colspan="2" class="thead"><strong>{$lang->view_notes_for}</strong></td>\n</tr>\n<tr>\n<td class="trow1">{$thread[''notes'']}</td>\n</tr>\n</table>\n</div>\n</div>', -2, '1800', '', [[timestamp]]),
(473, 'multipage', '<div class="pagination">\n<span class="pages">{$multipage_pages}</span>\n{$prevpage}{$start}{$mppage}{$end}{$nextpage}{$jumptopage}\n</div>', -2, '1816', '', [[timestamp]]),
(474, 'multipage_breadcrumb', '<div id="breadcrumb_multipage_popup" class="pagination pagination_breadcrumb" style="display: none;">\n{$prevpage}{$start}{$mppage}{$end}{$nextpage}\n</div>\n<script type="text/javascript">\n// <!--\n	if(use_xmlhttprequest == "1")\n	{\n		$("#breadcrumb_multipage").popupMenu();\n	}\n// -->\n</script>', -2, '1800', '', [[timestamp]]),
(475, 'multipage_end', '{$lang->multipage_link_end} <a href="{$page_url}" class="pagination_last">{$pages}</a>', -2, '1600', '', [[timestamp]]),
(476, 'multipage_jump_page', '<div class="popup_menu drop_go_page" style="display: none;">\n	<form action="{$jump_url}" method="post">\n		<label for="page">{$lang->multipage_jump}:</label> <input type="number" class="textbox" name="page" value="{$page}" size="4" min="1" max="{$pages}" />\n		<input type="submit" class="button" value="{$lang->go}" />\n	</form>\n</div>\n<a href="javascript:void(0)" class="go_page" title="{$lang->multipage_jump}"><img src="{$theme[''imgdir'']}/arrow_down.png" alt="{$lang->multipage_jump}" /></a>&nbsp;\n<script type="text/javascript">\n	var go_page = ''go_page_'' + $(".go_page").length;\n	$(".go_page").last().attr(''id'', go_page);\n	$(".drop_go_page").last().attr(''id'', go_page + ''_popup'');\n	$(''#'' + go_page).popupMenu(false).on(''click'', function() {\n		var drop_go_page = $(this).prev(''.drop_go_page'');\n		if (drop_go_page.is('':visible'')) {\n			drop_go_page.find(''.textbox'').trigger(''focus'');\n		}\n	});\n</script>', -2, '1823', '', [[timestamp]]),
(477, 'multipage_nextpage', '<a href="{$page_url}" class="pagination_next">{$lang->next} &raquo;</a>', -2, '1400', '', [[timestamp]]),
(478, 'multipage_page', '<a href="{$page_url}" class="pagination_page">{$i}</a>', -2, '1400', '', [[timestamp]]),
(479, 'multipage_page_current', ' <span class="pagination_current">{$i}</span>', -2, '1400', '', [[timestamp]]),
(480, 'multipage_page_link_current', ' <a href="{$page_url}" class="pagination_current">{$i}</a>', -2, '1600', '', [[timestamp]]),
(481, 'multipage_prevpage', '<a href="{$page_url}" class="pagination_previous">&laquo; {$lang->previous}</a>', -2, '1400', '', [[timestamp]]),
(482, 'multipage_start', '<a href="{$page_url}" class="pagination_first">1</a> {$lang->multipage_link_start}', -2, '1600', '', [[timestamp]]),
(483, 'mycode_code', '<div class="codeblock"><div class="title">{$lang->code}</div><div class="body" dir="ltr"><code>{$code}</code></div></div><br />', -2, '1808', '', [[timestamp]]),
(484, 'mycode_email', '<a href="mailto:{$email}" class="mycode_email">{$name}</a>', -2, '1808', '', [[timestamp]]),
(485, 'mycode_img', '<img src="{$url}" loading="lazy" {$width}{$height} alt="{$alt}"{$css_align} class="mycode_img" />', -2, '1823', '', [[timestamp]]),
(486, 'mycode_php', '<div class="codeblock phpcodeblock"><div class="title">{$lang->php_code}</div><div class="body">{$code}</div></div><br />', -2, '1808', '', [[timestamp]]),
(487, 'mycode_quote_post', '<blockquote class="mycode_quote"><cite>{$span}{$username} {$lang->wrote}{$linkback}</cite>{$message}</blockquote><br />', -2, '1808', '', [[timestamp]]),
(488, 'mycode_size_int', '<span style="font-size: {$size}pt;" class="mycode_size">{$text}</span>', -2, '1808', '', [[timestamp]]),
(489, 'mycode_url', '<a href="{$url}" target="_blank"{$rel} class="mycode_url">{$name}</a>', -2, '1813', '', [[timestamp]]),
(490, 'nav', '\n<div class="navigation">\n{$nav}{$activesep}{$activebit}\n</div>', -2, '120', '', [[timestamp]]),
(491, 'nav_bit', '<a href="{$navbit[''url'']}">{$navbit[''name'']}</a>{$sep}', -2, '120', '', [[timestamp]]),
(492, 'nav_bit_active', '<span class="active">{$navbit[''name'']}</span>', -2, '120', '', [[timestamp]]),
(493, 'nav_dropdown', ' <img src="{$theme[''imgdir'']}/arrow_down.png" alt="v" title="" class="pagination_breadcrumb_link" id="breadcrumb_multipage" />{$multipage}', -2, '1800', '', [[timestamp]]),
(494, 'nav_sep', '&rsaquo;', -2, '1800', '', [[timestamp]]),
(495, 'nav_sep_active', '<br /><img src="{$theme[''imgdir'']}/nav_bit.png" alt="" />', -2, '1800', '', [[timestamp]]),
(496, 'newreply', '<html>\n<head>\n<title>{$lang->post_reply_to}</title>\n{$headerinclude}\n{$post_javascript}\n</head>\n<body>\n{$header}\n{$preview}\n{$maximageserror}\n{$attacherror}\n{$reply_errors}\n{$moderation_notice}\n<form action="newreply.php?tid={$tid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->post_new_reply}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->reply_to}</strong></span></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow2" width="20%"><strong>{$lang->post_subject}</strong></td>\n<td class="trow2"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>\n</tr>\n{$posticons}\n<tr>\n<td class="trow2" valign="top"><strong>{$lang->your_message}</strong><br />{$smilieinserter}</td>\n<td class="trow2">\n<textarea id="message" name="message" rows="20" cols="70" tabindex="2" >{$message}</textarea>\n{$codebuttons}\n{$multiquote_external}\n</td>\n</tr>\n{$postoptions}\n{$modoptions}\n{$subscriptionmethod}\n{$captcha}\n</table>\n{$attachbox}\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->post_reply}" tabindex="3" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" />{$savedraftbutton}</div>\n<input type="hidden" name="action" value="do_newreply" />\n<input type="hidden" name="replyto" value="{$replyto}" />\n<input type="hidden" name="posthash" value="{$posthash}" />\n<input type="hidden" name="attachmentaid" value="" />\n<input type="hidden" name="attachmentact" value="" />\n<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />\n<input type="hidden" name="tid" value="{$tid}" />\n{$editdraftpid}\n</form>\n{$forumrules}\n{$threadreview}\n{$footer}\n</body>\n</html>', -2, '1820', '', [[timestamp]]),
(497, 'newreply_disablesmilies', '<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" tabindex="9"{$postoptionschecked[''disablesmilies'']} /> {$lang->options_disablesmilies}</label>', -2, '1809', '', [[timestamp]]),
(498, 'newreply_draftinput', '<input type="hidden" name="pid" value="{$pid}" />', -2, '1808', '', [[timestamp]]),
(499, 'newreply_modoptions', '<tr>\n	<td class="{$bgcolor}" valign="top"><strong>{$lang->mod_options}</strong></td>\n	<td class="{$bgcolor}"><span class="smalltext">\n		{$closeoption}\n		{$stickoption}\n	</span></td>\n</tr>', -2, '1810', '', [[timestamp]]),
(500, 'newreply_modoptions_close', '<label><input type="checkbox" class="checkbox" name="modoptions[closethread]" value="1"{$closecheck} />&nbsp;{$lang->close_thread}</label><br />', -2, '1810', '', [[timestamp]]),
(501, 'newreply_modoptions_stick', '<label><input type="checkbox" class="checkbox" name="modoptions[stickthread]" value="1"{$stickycheck} />&nbsp;{$lang->stick_thread}</label>', -2, '1810', '', [[timestamp]]),
(502, 'newreply_multiquote_external', '<div id="multiquote_unloaded"><span class="smalltext">{$multiquote_text} <a href="./newreply.php?tid={$tid}" onclick="return Post.loadMultiQuoted();">{$multiquote_quote}</a>, <a href="javascript:void(0)" onclick="Post.clearMultiQuoted(); return false;">{$multiquote_deselect}</a></span></div>', -2, '1809', '', [[timestamp]]),
(503, 'newreply_postoptions', '<tr>\n<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>\n<td class="trow1"><span class="smalltext">\n{$signature}\n{$disablesmilies}\n</span></td>\n</tr>', -2, '1809', '', [[timestamp]]),
(504, 'newreply_signature', '<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked[''signature'']} /> {$lang->options_sig}</label><br />', -2, '1809', '', [[timestamp]]),
(505, 'newreply_threadreview', '<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<tr>\n<td class="thead" style="text-align: center;"><strong>{$lang->thread_review}</strong></td>\n</tr>\n{$reviewbits}\n{$reviewmore}\n</table>', -2, '1800', '', [[timestamp]]),
(506, 'newreply_threadreview_more', '<tr>\n<td class="thead" align="center"><span class="smalltext"><strong>{$lang->thread_review_more}</strong></span></td>\n</tr>', -2, '120', '', [[timestamp]]),
(507, 'newreply_threadreview_post', '<tr>\n<td class="tcat"><span class="smalltext"><strong>{$lang->posted_by} {$post[''username'']} - {$reviewpostdate}</strong></span></td>\n</tr>\n<tr>\n<td class="{$altbg} scaleimages">\n{$reviewmessage}\n</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(508, 'newthread', '<html>\n<head>\n<title>{$lang->newthread_in}</title>\n{$headerinclude}\n{$post_javascript}\n</head>\n<body>\n{$header}\n{$preview}\n{$thread_errors}\n{$attacherror}\n{$moderation_notice}\n<form action="newthread.php?fid={$fid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->post_new_thread}</strong></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow2" width="20%"><strong>{$lang->thread_subject}</strong></td>\n<td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>\n</tr>\n{$posticons}\n<tr>\n<td class="trow2" valign="top"><strong>{$lang->your_message}</strong>{$smilieinserter}</td>\n<td class="trow2">\n<textarea name="message" id="message" rows="20" cols="70" tabindex="2">{$message}</textarea>\n{$codebuttons}\n{$multiquote_external}\n</td>\n</tr>\n{$postoptions}\n{$modoptions}\n{$subscriptionmethod}\n{$pollbox}\n{$captcha}\n</table>\n{$attachbox}\n<br />\n<div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>\n<input type="hidden" name="action" value="do_newthread" />\n<input type="hidden" name="posthash" value="{$posthash}" />\n<input type="hidden" name="attachmentaid" value="" />\n<input type="hidden" name="attachmentact" value="" />\n<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />\n<input type="hidden" name="tid" value="{$tid}" />\n{$editdraftpid}\n</form>\n{$forumrules}\n{$footer}\n</body>\n</html>', -2, '1820', '', [[timestamp]]),
(509, 'newthread_disablesmilies', '<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" tabindex="9"{$postoptionschecked[''disablesmilies'']} /> {$lang->options_disablesmilies}</label>', -2, '1809', '', [[timestamp]]),
(510, 'newthread_draftinput', '<input type="hidden" name="pid" value="{$pid}" />', -2, '1808', '', [[timestamp]]),
(511, 'newthread_multiquote_external', '<div id="multiquote_unloaded"><span class="smalltext">{$multiquote_text} <a href="./newthread.php?fid={$fid}&amp;load_all_quotes=1" onclick="return Post.loadMultiQuotedAll();">{$multiquote_quote}</a>, <a href="javascript:void(0)" onclick="Post.clearMultiQuoted(); return false;">{$multiquote_deselect}</a></span></div>', -2, '1809', '', [[timestamp]]),
(512, 'newthread_postoptions', '<tr>\n<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>\n<td class="trow1"><span class="smalltext">\n{$signature}\n{$disablesmilies}</span></td>\n</tr>', -2, '1809', '', [[timestamp]]),
(513, 'newthread_postpoll', '<tr>\n<td class="{$bgcolor2}" valign="top">\n<strong>{$lang->poll}</strong><br /><span class="smalltext">{$lang->poll_desc}</span>\n</td>\n<td class="{$bgcolor2}" valign="top">\n<span class="smalltext"><label><input type="checkbox" class="checkbox" name="postpoll" value="1" {$postpollchecked} /><strong>{$lang->poll_check}</strong></label><br />\n{$lang->num_options} <input type="text" class="textbox" name="numpolloptions" value="{$numpolloptions}" size="10" /> {$lang->max_options}</span>\n</td>\n</tr>', -2, '120', '', [[timestamp]]),
(514, 'newthread_signature', '<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked[''signature'']} /> {$lang->options_sig}</label><br />', -2, '1810', '', [[timestamp]]),
(515, 'online', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->users_online}</title>\n{$headerinclude}\n{$refresh}\n</head>\n<body>\n	{$header}\n	{$multipage}\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="thead" colspan="3"><strong>{$lang->users_online}</strong></td>\n		</tr>\n		<tr>\n			<td class="tcat" align="center"><a href="online.php?sortby=username"><span class="smalltext"><strong>{$lang->on_username}</strong></span></a></td>\n			<td class="tcat" align="center"><a href="online.php?sortby=time"><span class="smalltext"><strong>{$lang->time}</strong></span></a></td>\n			<td class="tcat" width="50%"><a href="online.php?sortby=location"><span class="smalltext"><strong>{$lang->location}</strong></span></a></td>\n		</tr>\n		{$online_rows}\n		<tr>\n			<td class="tfoot" colspan="3" align="right"><span class="smalltext"><strong><a href="online.php?action=today">{$lang->online_today}</a> | <a href="online.php">{$lang->refresh_page}</a></strong></span></td>\n		</tr>\n	</table>\n	<br />\n	{$multipage}\n	{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(516, 'online_refresh', '<meta http-equiv="refresh" content="{$refresh_time};URL=online.php{$refresh_string}" />', -2, '1808', '', [[timestamp]]),
(517, 'online_row', '<tr>\n<td class="trow1">{$online_name}{$user_ip}</td>\n<td align="center" class="trow2">{$online_time}</td>\n<td class="trow1" width="50%">{$location}</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(518, 'online_row_ip', '<br /><span class="smalltext">{$lang->ip} {$user[''ip'']} {$lookup}</span>', -2, '1800', '', [[timestamp]]),
(519, 'online_row_ip_lookup', '<a href="modcp.php?action=ipsearch&amp;ipaddress={$user[''ip'']}&amp;search_users=1">{$lang->lookup}</a>', -2, '1800', '', [[timestamp]]),
(520, 'online_today', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->online_today}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead thead_left" align="center" width="50%"><span class="smalltext"><strong>{$lang->on_username}</strong></span></td>\n<td class="thead thead_right" align="center" width="50%"><span class="smalltext"><strong>{$lang->time}</strong></span></td>\n</tr>\n{$todayrows}\n<tr>\n<td align="center" colspan="2" class="trow1" style="white-space: nowrap">{$onlinetoday}</td>\n</tr>\n</table>\n<br />\n{$multipage}\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(521, 'online_today_row', '<tr>\n<td align="center" class="trow1" width="50%">{$online[''profilelink'']}{$invisiblemark}</td>\n<td align="center" class="trow2" width="50%">{$onlinetime}</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(522, 'php_warnings', '<table border="0" cellspacing="1" cellpadding="4" align="center" class="tborder">\n<tr>\n<td class="tcat">\n<strong>{$lang->warnings}</strong>\n</td>\n</tr>\n<tr>\n<td class="trow1"><span class="smalltext">{$this->warnings}</span><br /></td>\n</tr>\n</table><br /><br />', -2, '1400', '', [[timestamp]]),
(523, 'polls_editpoll', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->edit_poll}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="3"><strong>{$lang->delete_poll}</strong></td>\n</tr>\n<tr>\n<td class="trow1" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="delete" value="1" tabindex="9" /><strong>{$lang->delete_q}</strong></td>\n<td class="trow1" width="100%">{$lang->delete_note}<br /><span class="smalltext">{$lang->delete_note2}</span></td>\n<td class="trow1" style="white-space: nowrap"><input type="submit" class="button" name="submit" value="{$lang->delete_poll}" tabindex="10" /></td>\n</tr>\n</table>\n<input type="hidden" name="action" value="do_deletepoll" />\n<input type="hidden" name="tid" value="{$tid}" />\n</form>\n<br />\n<form action="polls.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->edit_poll}</strong></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow2"><strong>{$lang->question}</strong></td>\n<td class="trow2"><input type="text" class="textbox" name="question" size="40" maxlength="240" value="{$question}" /></td>\n</tr>\n<tr>\n<td class="trow1" valign="top"><strong>{$lang->num_options}</strong><br /><span class="smalltext">{$lang->max_options} {$mybb->settings[''maxpolloptions'']}</span></td>\n<td class="trow1"><input type="text" class="textbox" name="numoptions" size="10" value="{$numoptions}" />&nbsp;&nbsp;<input type="submit" class="button" name="updateoptions" value="{$lang->update_options}" /></td>\n</tr>\n<tr>\n<td class="trow2" valign="top"><strong>{$lang->poll_options}</strong></td>\n<td class="trow2"><span class="smalltext">{$lang->poll_options_note}</span>\n<table border="0" cellspacing="0" cellpadding="0">\n{$optionbits}\n</table>\n</td>\n</tr>\n<tr>\n<td class="trow1" valign="top"><strong>{$lang->options}</strong></td>\n<td class="trow1"><span class="smalltext">\n<label><input type="checkbox" class="checkbox" name="postoptions[multiple]" value="1" {$postoptionschecked[''multiple'']} />&nbsp;{$lang->option_multiple}</label><br />\n<span id="maxOptions" style="display: none"><strong>{$lang->option_multiple_maxoptions}</strong> <input type="text" class="textbox" name="maxoptions" value="{$maxoptions}" /><br /></span>\n<script type="text/javascript">\n//<!--\n  	if($("input[name=''postoptions[multiple]'']").is(":checked")) {\n		$("#maxOptions").css("display", "");\n	}\n\n 	$("input[name=''postoptions[multiple]'']").on(''click'', function() {\n 		if($(this).is(":checked")) {\n 			$("#maxOptions").css("display", "");\n 		} else {\n 	    	$("#maxOptions").css("display", "none");\n 	  	}\n   	});\n// -->\n</script>\n<label><input type="checkbox" class="checkbox" name="postoptions[public]" value="1" {$postoptionschecked[''public'']} />&nbsp;{$lang->option_public}</label><br />\n<label><input type="checkbox" class="checkbox" name="postoptions[closed]" value="1" {$postoptionschecked[''closed'']} />&nbsp;{$lang->option_closed}</label>\n</span>\n</td>\n</tr>\n<tr>\n<td class="trow2" valign="top"><strong>{$lang->poll_timeout}</strong><br /><span class="smalltext">{$lang->timeout_note}</span></td>\n<td class="trow2"><input type="text" class="textbox" name="timeout" value="{$timeout}" /> {$lang->days_after} {$polldate}</td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="submit" class="button" name="submit" value="{$lang->update_poll}" />\n</div>\n<input type="hidden" name="action" value="do_editpoll" />\n<input type="hidden" name="pid" value="{$pid}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1821', '', [[timestamp]]),
(524, 'polls_editpoll_option', '<tr>\n<td>{$lang->option} {$counter}:&nbsp;</td>\n<td><input type="text" class="textbox" name="options[{$counter}]" value="{$option}" /></td>\n<td>{$lang->votes}&nbsp;</td>\n<td><input type="text" class="textbox" name="votes[{$counter}]" value="{$optionvotes}" /></td>\n</tr>', -2, '120', '', [[timestamp]]),
(525, 'polls_newpoll', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->post_new_poll}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="polls.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->post_new_poll}</strong></td>\n</tr>\n{$loginbox}\n<tr>\n<td class="trow2"><strong>{$lang->question}</strong></td>\n<td class="trow2"><input type="text" class="textbox" name="question" size="40" maxlength="240" value="{$question}" /></td>\n</tr>\n<tr>\n<td class="trow1" valign="top"><strong>{$lang->num_options}</strong><br /><span class="smalltext">{$lang->max_options} {$mybb->settings[''maxpolloptions'']}</span></td>\n<td class="trow1"><input type="text" class="textbox" name="polloptions" size="10" value="{$polloptions}" />&nbsp;<input type="submit" class="button" name="updateoptions" value="{$lang->update_options}" /></td>\n</tr>\n<tr>\n<td class="trow2" valign="top"><strong>{$lang->poll_options}</strong></td>\n<td class="trow2"><span class="smalltext">{$lang->poll_options_note}</span>\n<table border="0" cellspacing="0" cellpadding="0">\n{$optionbits}\n</table>\n</td>\n</tr>\n<tr>\n<td class="trow1" valign="top"><strong>{$lang->options}</strong></td>\n<td class="trow1"><span class="smalltext">\n<label><input type="checkbox" class="checkbox" name="postoptions[multiple]" value="1" {$postoptionschecked[''multiple'']} />&nbsp;{$lang->option_multiple}</label><br />\n<span id="maxOptions" style="display: none"><strong>{$lang->option_multiple_maxoptions}</strong> <input type="text" class="textbox" name="maxoptions" value="0" /><br /></span>\n<script type="text/javascript">\n//<!--\n	if($("input[name=''postoptions[multiple]'']").is(":checked")) {\n		$("#maxOptions").css("display", "");\n	}\n\n 	$("input[name=''postoptions[multiple]'']").on(''click'', function() {\n 		if($(this).is(":checked")) {\n 	    	$("#maxOptions").css("display", "");\n		} else {\n 	    	$("#maxOptions").css("display", "none");\n 	   	}\n    });\n// -->\n</script>\n<label><input type="checkbox" class="checkbox" name="postoptions[public]" value="1" {$postoptionschecked[''public'']} />&nbsp;{$lang->option_public}</label>\n</span>\n</td>\n</tr>\n<tr>\n<td class="trow2" valign="top"><strong>{$lang->poll_timeout}</strong><br /><span class="smalltext">{$lang->timeout_note}</span></td>\n<td class="trow2"><input type="text" class="textbox" name="timeout" value="{$timeout}" /> {$lang->days}</td>\n</tr>\n</table>\n<br />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->post_new_poll}" /></div>\n<input type="hidden" name="action" value="do_newpoll" />\n<input type="hidden" name="tid" value="{$tid}" />\n</form>\n{$footer}\n</body>\n</html>', -2, '1821', '', [[timestamp]]),
(526, 'polls_newpoll_option', '<tr>\n<td>{$lang->option} {$i}:&nbsp;</td>\n<td><input type="text" class="textbox" name="options[{$i}]" value="{$option}" size="25" /></td>\n</tr>', -2, '120', '', [[timestamp]]),
(527, 'polls_showresults', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->poll_results}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<colgroup>\n<col style="width: 35%;" />\n<col style="width: 50%" />\n<col style="width: 7%" />\n</colgroup>\n<tr>\n<td class="thead" colspan="4" style="text-align: center;"><strong>{$poll[''question'']}</strong></td>\n</tr>\n{$polloptions}\n<tr>\n<td class="tfoot" colspan="2" style="text-align: right;"><strong>{$lang->poll_total}</strong></td>\n<td class="tfoot" style="text-align: center;"><strong>{$poll[''numvotes'']} {$lang->poll_votes}</strong></td>\n<td class="tfoot" style="text-align: center;"><strong>{$totpercent}</strong></td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(528, 'polls_showresults_resultbit', '<tr>\n<td class="{$optionbg} scaleimages" style="text-align: right;">{$option}{$votestar}</td>\n<td class="{$optionbg}"><div class="pollbar" style="width: {$imagewidth}%" title="{$percent}%"><span class="percent">{$percent}%</span></div>{$userlist}</td>\n<td class="{$optionbg}" style="text-align: center;">{$votes}</td>\n<td class="{$optionbg}" style="text-align: center;">{$percent}%</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(529, 'portal', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']}</title>\n<link rel="alternate" type="application/rss+xml" title="{$lang->latest_announcements} (RSS 2.0)" href="{$mybb->settings[''bburl'']}/syndication.php?portal=1" />\n<link rel="alternate" type="application/atom+xml" title="{$lang->latest_announcements} (Atom 1.0)" href="{$mybb->settings[''bburl'']}/syndication.php?portal=1&type=atom1.0" />\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" cellspacing="0" cellpadding="{$theme[''tablespace'']}" border="0" align="center">\n<tr><td valign="top" width="200">\n{$welcome}\n{$pms}\n{$search}\n{$stats}\n{$whosonline}\n{$latestthreads}\n</td>\n<td>&nbsp;</td>\n<td valign="top">\n{$announcements}\n{$multipage}\n</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(530, 'portal_announcement', '<table cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$icon} <a href="{$mybb->settings[''bburl'']}/{$announcement[''threadlink'']}">{$announcement[''subject'']}</a></strong></td>\n</tr>\n<tr>\n<td class="trow2" align="right">\n<span class="smalltext">{$lang->posted_by} {$profilelink}  - {$anndate} - {$lang->forum} <a href="{$mybb->settings[''bburl'']}/{$announcement[''forumlink'']}">{$announcement[''forumname'']}</a> {$numcomments}</span>\n</td>\n</tr>\n<tr>\n<td class="trow1">\n<table border="0" cellpadding="{$theme[''tablespace'']}" class="tfixed" style="width: 100%;">\n	<tr>\n		{$avatar}\n		<td class="trow1 scaleimages">\n			<p>\n				{$message}\n			</p>\n			{$post[''attachments'']}\n		</td>\n	</tr>\n	<tr>\n		<td align="right" colspan="2" valign="bottom">\n			<span class="smalltext">\n				<a href="{$mybb->settings[''bburl'']}/printthread.php?tid={$announcement[''tid'']}"><img src="{$theme[''imgdir'']}/printable.png" alt="{$lang->print_this_item}" title="{$lang->print_this_item}" /></a>{$senditem}\n			</span>\n		</td>\n	</tr>\n</table>\n</td>\n</tr>\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(531, 'portal_announcement_avatar', '<td class="trow1" style="text-align: center; vertical-align: top;" {$useravatar[''width_height'']}><img src="{$useravatar[''image'']}" alt="" {$useravatar[''width_height'']} /></td>', -2, '1800', '', [[timestamp]]),
(532, 'portal_announcement_icon', '<img src="{$icon[''path'']}" alt="{$icon[''name'']}" title="{$icon[''name'']}" />', -2, '1800', '', [[timestamp]]),
(533, 'portal_announcement_numcomments', '- <a href="{$mybb->settings[''bburl'']}/{$announcement[''threadlink'']}">{$lang->replies}</a> ({$announcement[''replies'']})', -2, '1400', '', [[timestamp]]),
(534, 'portal_announcement_numcomments_no', '- {$lang->no_replies}', -2, '120', '', [[timestamp]]),
(535, 'portal_announcement_send_item', '&nbsp;<a href="{$mybb->settings[''bburl'']}/sendthread.php?tid={$announcement[''tid'']}"><img src="{$theme[''imgdir'']}/send.png" alt="{$lang->send_to_friend}" title="{$lang->send_to_friend}" /></a>', -2, '1800', '', [[timestamp]]),
(536, 'portal_latestthreads', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$lang->latest_threads}</strong></td>\n</tr>\n{$threadlist}\n</table>\n<br />', -2, '120', '', [[timestamp]]),
(537, 'portal_latestthreads_thread', '<tr>\n<td class="{$altbg}">\n<strong><a href="{$mybb->settings[''bburl'']}/{$thread[''threadlink'']}" title="{$thread[''fullsubject'']}">{$thread[''subject'']}</a></strong>\n<span class="smalltext"><br />\n{$lang->forum} <a href="{$thread[''forumlink'']}">{$thread[''forumname'']}</a><br />\n<a href="{$thread[''lastpostlink'']}">{$lang->latest_threads_lastpost}</a> {$lastposterlink}<br />\n{$lastpostdate}<br />\n<strong>&raquo; </strong>{$lang->latest_threads_replies} {$thread[''replies'']}<br />\n<strong>&raquo; </strong>{$lang->latest_threads_views} {$thread[''views'']}\n</span>\n</td>\n</tr>', -2, '1812', '', [[timestamp]]),
(538, 'portal_pms', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong><a href="{$mybb->settings[''bburl'']}/private.php">{$lang->private_messages}</a></strong></td>\n</tr>\n<tr>\n<td class="trow1">\n<span class="smalltext">{$lang->pms_received_new}<br /><br />\n<strong>&raquo; </strong> <strong>{$messages[''pms_unread'']}</strong> {$lang->pms_unread}<br />\n<strong>&raquo; </strong> <strong>{$messages[''pms_total'']}</strong> {$lang->pms_total}</span>\n</td>\n</tr>\n</table>\n<br />', -2, '120', '', [[timestamp]]),
(539, 'portal_search', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$lang->search_forums}</strong></td>\n</tr>\n<tr>\n<td class="trow1" align="center">\n<form action="{$mybb->settings[''bburl'']}/search.php">\n<input type="hidden" name="action" value="do_search" />\n<input type="hidden" name="postthread" value="1" />\n<input type="hidden" name="forums" value="all" />\n<input type="hidden" name="showresults" value="threads" />\n<input type="text" class="textbox portal_search" name="keywords" value="" />\n{$gobutton}\n</form><br />\n<span class="smalltext">\n(<a href="{$mybb->settings[''bburl'']}/search.php">{$lang->advanced_search}</a>)\n</span>\n</td>\n</tr>\n</table>\n<br />', -2, '1822', '', [[timestamp]]),
(540, 'portal_stats', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$lang->forum_stats}</strong></td>\n</tr>\n<tr>\n<td class="trow1">\n<span class="smalltext">\n<strong>&raquo; </strong>{$lang->num_members} {$stats[''numusers'']}<br />\n<strong>&raquo; </strong>{$lang->latest_member} {$newestmember}<br />\n<strong>&raquo; </strong>{$lang->num_threads} {$stats[''numthreads'']}<br />\n<strong>&raquo; </strong>{$lang->num_posts} {$stats[''numposts'']}\n<br /><br /><a href="{$mybb->settings[''bburl'']}/stats.php">{$lang->full_stats}</a>\n</span>\n</td>\n</tr>\n</table>\n<br />', -2, '1400', '', [[timestamp]]),
(541, 'portal_stats_nobody', '<strong>{$lang->nobody}</strong>', -2, '1808', '', [[timestamp]]),
(542, 'portal_welcome', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$lang->welcome}</strong></td>\n</tr>\n<tr>\n<td class="trow1">\n{$welcometext}\n</td>\n</tr>\n</table><br />', -2, '120', '', [[timestamp]]),
(543, 'portal_welcome_guesttext', '<span class="smalltext">{$lang->guest_welcome_registration}</span><br />\n<br />\n<form method="post" action="{$mybb->settings[''bburl'']}/member.php"><input type="hidden" name="action" value="do_login" /><input type="hidden" name="url" value="{$portal_url}" />\n{$username}<br />&nbsp;&nbsp;<input type="text" class="textbox" name="username" value="" /><br /><br />\n{$lang->password}<br />&nbsp;&nbsp;<input type="password" class="textbox" name="password" value="" /><br /><br />\n<label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" value="yes" /> {$lang->remember_me}</label><br /><br />\n<br /><input type="submit" class="button" name="loginsubmit" value="{$lang->login}" /><input name="my_post_key" type="hidden" value="{$mybb->post_code}" /></form>', -2, '1817', '', [[timestamp]]),
(544, 'portal_welcome_membertext', '<span class="smalltext"><em>{$lang->member_welcome_lastvisit}</em> {$lastvisit}<br />\n{$lang->since_then}<br />\n<strong>&raquo;</strong> {$lang->new_announcements}<br />\n<strong>&raquo;</strong> {$lang->new_threads}<br />\n<strong>&raquo;</strong> {$lang->new_posts}<br /><br />\n<a href="{$mybb->settings[''bburl'']}/search.php?action=getnew">{$lang->view_new}</a><br /><a href="{$mybb->settings[''bburl'']}/search.php?action=getdaily">{$lang->view_todays}</a>\n</span>', -2, '120', '', [[timestamp]]),
(545, 'portal_whosonline', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$lang->online}</strong></td>\n</tr>\n<tr>\n<td class="trow1">\n<span class="smalltext">\n{$lang->online_users}<br /><strong>&raquo;</strong> {$lang->online_counts}<br />{$onlinemembers}\n</span>\n</td>\n</tr>\n</table>\n<br />', -2, '120', '', [[timestamp]]),
(546, 'portal_whosonline_memberbit', '<a href="{$mybb->settings[''bburl'']}/{$user[''profilelink'']}">{$user[''username'']}</a>{$invisiblemark}', -2, '1818', '', [[timestamp]]),
(547, 'post_attachments', '<br />\n			<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n	<td class="thead" colspan="3"><strong>{$lang->attachments}</strong></td>\n</tr>\n<tr>\n	<td class="tcat smalltext" colspan="3">{$lang->attach_quota} {$lang->attach_usage} {$link_viewattachments}</td>\n</tr>\n{$newattach}\n{$attachments}\n</table>', -2, '1823', '', [[timestamp]]),
(548, 'post_attachments_add', '<input type="submit" class="button" name="newattachment" value="{$lang->add_attachment}" tabindex="13" />', -2, '1614', '', [[timestamp]]),
(549, 'post_attachments_viewlink', '<a href="usercp.php?action=attachments">{$lang->view_attachments}</a>', -2, '1816', '', [[timestamp]]),
(550, 'post_attachments_attachment', '<tr id="attachment_{$attachment[''aid'']}">\n<td class="trow2" width="1" align="center">{$attachment[''icon'']}</td>\n<td class="trow2" width="60%" style="white-space: nowrap"><span class="attachment_filename">{$attachment[''filename'']}</span> ({$attachment[''size'']})</td>\n<td class="trow2" style="white-space: nowrap; text-align: center;">{$attach_mod_options} {$attach_rem_options} {$postinsert}</td>\n</tr>', -2, '1827', '', [[timestamp]]),
(551, 'post_attachments_attachment_mod_approve', '<input type="submit" class="button" name="approveattach_{$attachment[''aid'']}" value="{$lang->approve_attachment}" onclick="return Post.attachmentAction({$attachment[''aid'']},''approve'');" />', -2, '1823', '', [[timestamp]]),
(552, 'post_attachments_attachment_mod_unapprove', '<input type="submit" class="button" name="unapproveattach_{$attachment[''aid'']}" value="{$lang->unapprove_attachment}" onclick="return Post.attachmentAction({$attachment[''aid'']},''unapprove'');" />', -2, '1823', '', [[timestamp]]),
(553, 'post_attachments_attachment_postinsert', '<input type="button" class="button" name="insert" value="{$lang->insert_attachment_post}" onclick="$(''#message'').sceditor(''instance'').insertText(''[attachment={$attachment[''aid'']}]''); return false;" />', -2, '1809', '', [[timestamp]]),
(554, 'post_attachments_attachment_remove', '<input type="submit" class="button" name="rem_{$attachment[''aid'']}" value="{$lang->remove_attachment}" onclick="return Post.removeAttachment({$attachment[''aid'']});" />', -2, '1823', '', [[timestamp]]),
(555, 'post_attachments_attachment_unapproved', '<tr id="attachment_{$attachment[''aid'']}">\n<td class="trow_shaded" width="1" align="center">{$attachment[''icon'']}</td>\n<td class="trow_shaded" style="white-space: nowrap"><em><a href="attachment.php?aid={$attachment[''aid'']}" target="_blank">{$attachment[''filename'']}</a> ({$attachment[''size'']})</em></td>\n<td class="trow_shaded" style="white-space: nowrap; text-align: center;">{$attach_mod_options} {$attach_rem_options} {$postinsert}</td>\n</tr>', -2, '1823', '', [[timestamp]]),
(556, 'post_attachments_new', '<tr>\n<td class="trow1" width="1"><img src="{$theme[''imgdir'']}/paperclip.png" alt="" /></td>\n<td class="trow1" style="white-space: nowrap"><strong>{$lang->new_attachment}</strong> <input type="file" name="attachments[]" size="30" class="fileupload" multiple="multiple" /></td>\n<td class="trow1" style="white-space: nowrap" align="center">{$attach_update_options} {$attach_add_options}</td>\n</tr>\n<tr style="display: none;">\n	<td class="trow1" colspan="3">\n		<div id="upload_bar" style="background: #0066A2; height: 5px; width: 0%;"></div>\n		<div id="dropzone" style="padding: 50px 0; margin: 5px 10px 10px; cursor: pointer; border: 2px dashed #CCC; text-align: center;">\n			<div style="pointer-events: none;"></div>\n		</div>\n	</td>\n</tr>', -2, '1828', '', [[timestamp]]),
(557, 'post_attachments_update', '<input type="submit" class="button" name="updateattachment" value="{$lang->update_attachment}" tabindex="12" />', -2, '1604', '', [[timestamp]]),
(558, 'post_captcha', '<tr id="captcha_trow">\n<td class="trow1" valign="top" width="350"><strong>{$lang->image_verification}</strong>\n<br />\n<span class="smalltext">{$lang->verification_note}</span>\n</td>\n<td class="trow1">\n<script type="text/javascript">\n<!--\n	lang.captcha_fetch_failure = "{$lang->captcha_fetch_failure}";\n// -->\n</script>\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/captcha.js?ver=1821"></script>\n<table style="width: 300px; padding: 4px;">\n	<tr>\n		<td style="vertical-align: middle;"><img src="{$mybb->settings[''bburl'']}/captcha.php?imagehash={$imagehash}" alt="{$lang->image_verification}" title="{$lang->image_verification}" id="captcha_img" /><br /><span style="color: red;" class="smalltext">{$lang->verification_subnote}</span>\n		</td>\n	</tr>\n	<tr>\n		<td>\n		<input type="text" class="textbox" name="imagestring" value="" id="imagestring" size="16" /><input type="hidden" name="imagehash" value="{$imagehash}" id="imagehash" />\n		<script type="text/javascript">\n		<!--\n			if(use_xmlhttprequest == "1")\n			{\n				document.write(''<input type="button" class="button" name="refresh" value="{$lang->refresh}" onclick="return captcha.refresh();" \\/>'');\n			}\n		// -->\n		</script>\n		</td>\n	</tr>\n</table>\n</td>\n</tr>', -2, '1821', '', [[timestamp]]),
(559, 'post_captcha_hidden', '<input type="hidden" name="{$hash}" value="{$field[''hash'']}" />\n<input type="hidden" name="{$string}" value="{$field[''string'']}" />', -2, '1605', '', [[timestamp]]),
(560, 'post_captcha_recaptcha_invisible', '<br />\n<script src="{$server}?onload=captchaOnloadCallback&render=explicit" async defer></script>\n<script type="text/javascript">\n\n	var captchaTarget = '''';\n\n	var captchaOnSubmit = function(token) {\n\n		if (!captchaTarget.is(''#quick_reply_submit'')) {\n			document.createElement(''form'').submit.apply(captchaTarget.closest(''form'')[0]);\n		}\n		else {\n			captchaTarget.on(''click'', function(e) {\n				return Thread.quickReply(e);\n			}).trigger(''click'').off(''click'');\n			grecaptcha.reset();\n		}\n\n	};\n\n	var captchaOnloadCallback = function() {\n\n		captchaTarget = $(''input[name="submit"], #quick_reply_submit'').filter(function(){\n			return $(this).closest(''#quick_login'').length == 0\n		});\n\n		captchaTarget.attr(''data-size'', ''invisible'').unbind(''click'');\n\n		grecaptcha.render(captchaTarget.get(0), {\n				''sitekey'': ''{$public_key}'',\n				''callback'': captchaOnSubmit\n			}, true);\n\n	}\n\n</script>', -2, '1821', '', [[timestamp]]),
(561, 'post_captcha_nocaptcha', '<tr id="captcha_trow">\n<td class="trow1" valign="top"><strong>{$lang->human_verification}</strong></td>\n<td class="trow1">\n<table style="width: 300px; padding: 4px;">\n	<tr>\n		<td><span class="smalltext">{$lang->verification_note_nocaptcha}</span></td>\n	</tr>\n	<tr>\n		<td><script type="text/javascript" src="{$server}"></script><div class="g-recaptcha" data-sitekey="{$public_key}"></div></td>\n	</tr>\n</table>\n</td>\n</tr>', -2, '1804', '', [[timestamp]]),
(562, 'post_captcha_hcaptcha_invisible', '<br />\n<script src="{$server}?onload=captchaOnloadCallback&render=explicit" async defer></script>\n<script type="text/javascript">\n\n	var captchaTarget = '''';\n\n	var captchaOnSubmit = function(token) {\n\n		if (!captchaTarget.is(''#quick_reply_submit'')) {\n			document.createElement(''form'').submit.apply(captchaTarget.closest(''form'')[0]);\n		}\n		else {\n			captchaTarget.on(''click'', function(e) {\n				return Thread.quickReply(e);\n			}).trigger(''click'').off(''click'');\n			hcaptcha.remove();\n		}\n\n	};\n\n	var captchaOnloadCallback = function() {\n\n		captchaTarget = $(''input[name="submit"], #quick_reply_submit'').filter(function(){\n			return $(this).closest(''#quick_login'').length == 0\n		});\n\n		captchaTarget.attr(''data-size'', ''invisible'').unbind(''click'');\n\n		hcaptcha.render(captchaTarget.get(0), {\n				''sitekey'': ''{$public_key}'',\n				''callback'': captchaOnSubmit\n			}, true);\n\n	}\n\n</script>', -2, '1823', '', [[timestamp]]),
(563, 'post_captcha_hcaptcha', '<tr id="captcha_trow">\n<td class="trow1" valign="top"><strong>{$lang->human_verification}</strong></td>\n<td class="trow1">\n<table style="width: 300px; padding: 4px;">\n	<tr>\n		<td><span class="smalltext">{$lang->verification_note_hcaptcha}</span></td>\n	</tr>\n	<tr>\n		<td><script type="text/javascript" src="{$server}"></script><div class="h-captcha" data-sitekey="{$public_key}" data-theme="{$captcha_theme}" data-size="{$captcha_size}"></div></td>\n	</tr>\n</table>\n</td>\n</tr>', -2, '1823', '', [[timestamp]]),
(564, 'post_javascript', '\n			<script type="text/javascript">\n				lang.add_attachment = "{$lang->add_attachment}";\n				lang.update_attachment = "{$lang->update_attachment}";\n				lang.update_confirm = "{$lang->update_confirm}";\n				lang.attachment_missing = "{$lang->attachment_missing}";\n				lang.attachment_too_many_files = "{$lang->attachment_too_many_files}";\n				lang.attachment_too_big_upload = "{$lang->attachment_too_big_upload}";\n				lang.attachment_max_allowed_files = "{$lang->attachment_max_allowed_files}";\n				lang.error_maxattachpost = "{$lang->error_maxattachpost}";\n				lang.drop_files = "{$lang->drop_files}";\n				lang.upload_initiate = "{$lang->upload_initiate}";\n				php_max_upload_size = {$php_max_upload_size};\n				php_max_file_uploads = {$php_max_file_uploads};\n				mybb_max_file_uploads = {$mybb->settings[''maxattachments'']};\n			</script>\n			<script type="text/javascript" src="{$mybb->asset_url}/jscripts/post.js?ver=1832"></script>\n			', -2, '1832', '', [[timestamp]]),
(565, 'post_prefixselect_multiple', '<select name="threadprefix[]" multiple="multiple" size="5">\n<option value="any"{$any_selected}>{$lang->any_prefix}</option>\n<option value="0"{$default_selected}>{$lang->no_prefix}</option>\n{$prefixselect_prefix}\n</select>', -2, '1800', '', [[timestamp]]),
(566, 'post_prefixselect_prefix', '<option value="{$prefix[''pid'']}"{$selected}>{$prefix[''prefix'']}</option>', -2, '1800', '', [[timestamp]]),
(567, 'post_prefixselect_single', '<select name="threadprefix">\n<option value="0"{$default_selected}>{$lang->no_prefix}</option>\n{$prefixselect_prefix}\n</select>', -2, '1800', '', [[timestamp]]),
(568, 'post_savedraftbutton', '&nbsp;<input type="submit" class="button" name="savedraft" value="{$lang->save_draft}" />', -2, '120', '', [[timestamp]]),
(569, 'post_subscription_method', '<tr>\n<td class="{$bgcolor}" valign="top"><strong>{$lang->thread_subscription_method}</strong><br />\n<span class="smalltext">{$lang->thread_subscription_method_desc}</span></td>\n<td class="{$bgcolor} smalltext">\n	<label><input type="radio" name="postoptions[subscriptionmethod]" {$subscribe}value="" style="vertical-align: middle;" /> {$lang->no_subscribe}</label><br />\n	<label><input type="radio" name="postoptions[subscriptionmethod]" {$nonesubscribe}value="none" style="vertical-align: middle;" /> {$lang->no_subscribe_notification}</label><br />\n	<label><input type="radio" name="postoptions[subscriptionmethod]" {$emailsubscribe}value="email" style="vertical-align: middle;" /> {$lang->instant_email_subscribe}</label><br />\n	<label><input type="radio" name="postoptions[subscriptionmethod]" {$pmsubscribe}value="pm" style="vertical-align: middle;" /> {$lang->instant_pm_subscribe}</label><br />\n</td>\n</tr>', -2, '1819', '', [[timestamp]]);
INSERT INTO `[[dbprefix]]templates` VALUES
(570, 'postbit', '{$ignore_bit}{$deleted_bit}\n<a name="pid{$post[''pid'']}" id="pid{$post[''pid'']}"></a>\n<div class="post {$unapproved_shade}" style="{$post_visibility}" id="post_{$post[''pid'']}">\n<div class="post_author">\n	{$post[''useravatar'']}\n	<div class="author_information">\n			<strong><span class="largetext">{$post[''profilelink'']}</span></strong> {$post[''onlinestatus'']}<br />\n			<span class="smalltext">\n				{$post[''usertitle'']}<br />\n				{$post[''userstars'']}\n				{$post[''groupimage'']}\n			</span>\n	</div>\n	<div class="author_statistics">\n		{$post[''user_details'']}\n	</div>\n</div>\n<div class="post_content">\n	<div class="post_head">\n		{$post[''posturl'']}\n		{$post[''icon'']}\n		<span class="post_date">{$post[''postdate'']} <span class="post_edit" id="edited_by_{$post[''pid'']}">{$post[''editedmsg'']}</span></span>\n		{$post[''subject_extra'']}\n	</div>\n	<div class="post_body scaleimages" id="pid_{$post[''pid'']}">\n		{$post[''message'']}\n	</div>\n	{$post[''attachments'']}\n	{$post[''signature'']}\n	<div class="post_meta" id="post_meta_{$post[''pid'']}">\n		{$post[''iplogged'']}\n		<div class="float_right">\n			{$post[''poststatus'']}\n		</div>\n	</div>\n	{$post[''input_editreason'']}\n</div>\n<div class="post_controls">\n	<div class="postbit_buttons author_buttons float_left">\n		{$post[''button_email'']}{$post[''button_pm'']}{$post[''button_www'']}{$post[''button_find'']}{$post[''button_rep'']}\n	</div>\n	<div class="postbit_buttons post_management_buttons float_right">\n		{$post[''button_edit'']}{$post[''button_quickdelete'']}{$post[''button_quickrestore'']}{$post[''button_quote'']}{$post[''button_multiquote'']}{$post[''button_report'']}{$post[''button_warn'']}{$post[''button_purgespammer'']}{$post[''button_reply_pm'']}{$post[''button_replyall_pm'']}{$post[''button_forward_pm'']}{$post[''button_delete_pm'']}\n	</div>\n</div>\n</div>', -2, '1813', '', [[timestamp]]),
(571, 'postbit_attachments', '<br />\n<br />\n<fieldset>\n<legend><strong>{$lang->postbit_attachments}</strong></legend>\n{$post[''attachedthumbs'']}\n{$post[''attachedimages'']}\n{$post[''attachmentlist'']}\n</fieldset>', -2, '120', '', [[timestamp]]),
(572, 'postbit_attachments_attachment', '<br />{$attachment[''icon'']}&nbsp;&nbsp;<a href="attachment.php?aid={$attachment[''aid'']}" target="_blank" title="{$attachdate}">{$attachment[''filename'']}</a> ({$lang->postbit_attachment_size} {$attachment[''filesize'']} / {$lang->postbit_attachment_downloads} {$attachment[''downloads'']})', -2, '1800', '', [[timestamp]]),
(573, 'postbit_attachments_attachment_unapproved', '<br /><strong>{$postbit_unapproved_attachments}</strong>', -2, '1402', '', [[timestamp]]),
(574, 'postbit_attachments_images', '<span class="smalltext"><strong>{$lang->postbit_attachments_images}</strong></span><br />\n{$post[''imagelist'']}\n<br />', -2, '120', '', [[timestamp]]),
(575, 'postbit_attachments_images_image', '<img src="attachment.php?aid={$attachment[''aid'']}" class="attachment" alt="" title="{$lang->postbit_attachment_filename} {$attachment[''filename'']}&#13;{$lang->postbit_attachment_size} {$attachment[''filesize'']}&#13;{$attachdate}" />&nbsp;&nbsp;&nbsp;', -2, '1805', '', [[timestamp]]),
(576, 'postbit_attachments_thumbnails', '<span class="smalltext"><strong>{$lang->postbit_attachments_thumbnails}</strong></span><br />\n{$post[''thumblist'']}\n<br />', -2, '120', '', [[timestamp]]),
(577, 'postbit_attachments_thumbnails_thumbnail', '<a href="attachment.php?aid={$attachment[''aid'']}" target="_blank"><img src="attachment.php?thumbnail={$attachment[''aid'']}" class="attachment" alt="" title="{$lang->postbit_attachment_filename} {$attachment[''filename'']}&#13;{$lang->postbit_attachment_size} {$attachment[''filesize'']}&#13;{$attachdate}" /></a>&nbsp;&nbsp;&nbsp;', -2, '1805', '', [[timestamp]]),
(578, 'postbit_author_guest', '&nbsp;', -2, '120', '', [[timestamp]]),
(579, 'postbit_author_user', '\n	{$lang->postbit_posts} {$post[''postnum'']}<br />\n	{$lang->postbit_threads} {$post[''threadnum'']}<br />\n	{$lang->postbit_joined} {$post[''userregdate'']}\n	{$post[''replink'']}{$post[''profilefield'']}{$post[''warninglevel'']}', -2, '1800', '', [[timestamp]]),
(580, 'postbit_avatar', '<div class="author_avatar"><a href="{$post[''profilelink_plain'']}"><img src="{$useravatar[''image'']}" alt="" {$useravatar[''width_height'']} /></a></div>', -2, '1800', '', [[timestamp]]),
(581, 'postbit_away', '<a href="{$post[''profilelink_plain'']}" title="{$lang->postbit_status_away}"><img src="{$theme[''imgdir'']}/buddy_away.png" border="0" alt="{$lang->postbit_status_away}" class="buddy_status" /></a>', -2, '1800', '', [[timestamp]]),
(582, 'postbit_classic', '{$ignore_bit}{$deleted_bit}\n<a name="pid{$post[''pid'']}" id="pid{$post[''pid'']}"></a>\n<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post[''pid'']}">\n<div class="post_author scaleimages">\n	{$post[''useravatar'']}\n	<div class="author_information">\n			<strong><span class="largetext">{$post[''profilelink'']}</span></strong> {$post[''onlinestatus'']}<br />\n			<span class="smalltext">\n				{$post[''usertitle'']}<br />\n				{$post[''userstars'']}\n				{$post[''groupimage'']}\n			</span>\n	</div>\n	<div class="author_statistics">\n		{$post[''user_details'']}\n	</div>\n</div>\n<div class="post_content">\n	<div class="post_head">\n		{$post[''posturl'']}\n		{$post[''icon'']}\n		<span class="post_date">{$post[''postdate'']} <span class="post_edit" id="edited_by_{$post[''pid'']}">{$post[''editedmsg'']}</span></span>\n	{$post[''subject_extra'']}\n	</div>\n	<div class="post_body scaleimages" id="pid_{$post[''pid'']}">\n		{$post[''message'']}\n	</div>\n	{$post[''attachments'']}\n	{$post[''signature'']}\n	<div class="post_meta" id="post_meta_{$post[''pid'']}">\n		{$post[''iplogged'']}\n		<div class="float_right">\n			{$post[''poststatus'']}\n		</div>\n	</div>\n	{$post[''input_editreason'']}\n</div>\n<div class="post_controls">\n	<div class="postbit_buttons author_buttons float_left">\n		{$post[''button_email'']}{$post[''button_pm'']}{$post[''button_www'']}{$post[''button_find'']}{$post[''button_rep'']}\n	</div>\n	<div class="postbit_buttons post_management_buttons float_right">\n		{$post[''button_edit'']}{$post[''button_quickdelete'']}{$post[''button_quickrestore'']}{$post[''button_quote'']}{$post[''button_multiquote'']}{$post[''button_report'']}{$post[''button_warn'']}{$post[''button_purgespammer'']}{$post[''button_reply_pm'']}{$post[''button_replyall_pm'']}{$post[''button_forward_pm'']}{$post[''button_delete_pm'']}\n	</div>\n</div>\n</div>', -2, '1813', '', [[timestamp]]),
(583, 'postbit_delete_pm', '<a href="private.php?action=delete&amp;pmid={$id}&amp;my_post_key={$mybb->post_code}" title="{$lang->delete_title}" class="postbit_delete_pm"><span>{$lang->postbit_button_delete_pm}</span></a>', -2, '1800', '', [[timestamp]]),
(584, 'postbit_deleted', '<div class="deleted_post_collapsed" id="deleted_post_{$post[''pid'']}">\n	<div class="deleted_post_author"><strong><span class="largetext">{$post[''profilelink'']}</span></strong></div>\n	<div class="deleted_post_message">\n		<div class="show_deleted_post float_right" style="vertical-align: top;" id="show_deleted_link_{$post[''pid'']}"><a href="javascript:void(0)" onclick="Thread.showDeletedPost({$post[''pid'']}); return false;" class="button small_button"><span>{$lang->postbit_show_ignored_post}</span></a></div>\n<script type="text/javascript">\n<!--\n	$(''#show_deleted_link_{$post[''pid'']}'').show();\n// -->\n</script>\n		{$deleted_message}\n	</div>\n</div>', -2, '1809', '', [[timestamp]]),
(585, 'postbit_deleted_member', '<a name="pid{$post[''pid'']}" id="pid{$post[''pid'']}"></a>\n<div class="post deleted_post_hidden" id="post_{$post[''pid'']}">\n	<div class="deleted_post_author"><strong><span class="largetext">{$post[''profilelink'']}</span></strong></div>\n	<div class="post_content">\n		<em>{$lang->postbit_post_deleted}</em>\n	</div>\n</div>', -2, '1813', '', [[timestamp]]),
(586, 'postbit_edit', '<a href="editpost.php?pid={$post[''pid'']}" id="edit_post_{$post[''pid'']}" title="{$lang->postbit_edit}" class="postbit_edit postbit_mirage"><span>{$lang->postbit_button_edit}</span></a>\n<div id="edit_post_{$post[''pid'']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:void(0)" class="popup_item quick_edit_button" id="quick_edit_post_{$post[''pid'']}">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post[''pid'']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>\n<script type="text/javascript">\n// <!--\n	if(use_xmlhttprequest == "1")\n	{\n		$("#edit_post_{$post[''pid'']}").popupMenu();\n	}\n// -->\n</script>', -2, '1818', '', [[timestamp]]),
(587, 'postbit_editedby', '<span class="edited_post">({$post[''editnote'']} {$post[''editedprofilelink'']}.{$editreason})</span>', -2, '1800', '', [[timestamp]]),
(588, 'postbit_editedby_editreason', ' <em>{$lang->postbit_editreason}: {$post[''editreason'']}</em>', -2, '1800', '', [[timestamp]]),
(589, 'postbit_editreason', '<div class="editreason" id="editreason_{$post[''pid'']}_original" style="display: none;"><label for="editreason">{$lang->postbit_editreason}:</label> <input type="text" class="textbox" style="margin: 6px 0;" name="editreason" size="40" maxlength="150" id="quickedit_{$post[''pid'']}_editreason_original" value="{$post[''editreason'']}" /><br /></div>', -2, '1813', '', [[timestamp]]),
(590, 'postbit_email', '<a href="member.php?action=emailuser&amp;uid={$post[''uid'']}" title="{$lang->postbit_email}" class="postbit_email"><span>{$lang->postbit_button_email}</span></a>', -2, '1800', '', [[timestamp]]),
(591, 'postbit_find', '<a href="search.php?action=finduser&amp;uid={$post[''uid'']}" title="{$lang->postbit_find}" class="postbit_find"><span>{$lang->postbit_button_find}</span></a>', -2, '1800', '', [[timestamp]]),
(592, 'postbit_forward_pm', '<a href="private.php?action=send&amp;pmid={$id}&amp;do=forward" title="{$lang->forward_title}" class="postbit_forward_pm"><span>{$lang->postbit_button_forward}</span></a>', -2, '1800', '', [[timestamp]]),
(593, 'postbit_purgespammer', '<a href="moderation.php?action=purgespammer&amp;uid={$post[''uid'']}" title="{$lang->postbit_purgespammer}" class="postbit_purgespammer"><span>{$lang->postbit_button_purgespammer}</span></a>', -2, '1800', '', [[timestamp]]),
(594, 'postbit_gotopost', ' <a href="{$url}" class="quick_jump"></a>', -2, '1804', '', [[timestamp]]),
(595, 'postbit_groupimage', '<img src="{$usergroup[''image'']}" alt="{$usergroup[''title'']}" title="{$usergroup[''title'']}" />', -2, '120', '', [[timestamp]]),
(596, 'postbit_icon', '<img src="{$icon[''path'']}" alt="{$icon[''name'']}" title="{$icon[''name'']}" style="vertical-align: middle;" />&nbsp;', -2, '1800', '', [[timestamp]]),
(597, 'postbit_ignored', '<div class="ignored_post" id="ignored_post_{$post[''pid'']}">\n	<div class="ignored_post_author"><strong><span class="largetext">{$post[''profilelink'']}</span></strong></div>\n	<div class="ignored_post_message">\n		<div class="show_ignored_post float_right" style="vertical-align: top;" id="show_ignored_link_{$post[''pid'']}"><a href="javascript:void(0)" onclick="Thread.showIgnoredPost({$post[''pid'']}); return false;" class="button small_button"><span>{$lang->postbit_show_ignored_post}</span></a></div>\n<script type="text/javascript">\n<!--\n	$(''#show_ignored_link_{$post[''pid'']}'').show();\n// -->\n</script>\n		{$ignored_message}\n	</div>\n</div>', -2, '1809', '', [[timestamp]]),
(598, 'postbit_inlinecheck', '<input type="checkbox" class="checkbox" name="inlinemod_{$post[''pid'']}" id="inlinemod_{$post[''pid'']}" value="1" style="vertical-align: middle; margin: -2px 0 0 5px;" {$inlinecheck}  />', -2, '1800', '', [[timestamp]]),
(599, 'postbit_iplogged_hiden', '{$lang->postbit_ipaddress} <a href="moderation.php?action={$action}&amp;{$idtype}={$post[$idtype]}" onclick="MyBB.{$javascript}({$post[$idtype]}); return false;">{$lang->postbit_ipaddress_logged}</a>', -2, '1815', '', [[timestamp]]),
(600, 'postbit_iplogged_show', '{$lang->postbit_ipaddress} {$ipaddress}', -2, '1800', '', [[timestamp]]),
(601, 'postbit_multiquote', '<a href="javascript:void(0)" onclick="Thread.multiQuote({$post[''pid'']}); return false;" style="display: none;" id="multiquote_link_{$post[''pid'']}" title="{$lang->postbit_multiquote}" class="postbit_multiquote postbit_mirage"><span id="multiquote_{$post[''pid'']}">{$lang->postbit_button_multiquote}</span></a>\n<script type="text/javascript">\n//<!--\n	$(''#multiquote_link_{$post[''pid'']}'').css("display", "");\n// -->\n</script>', -2, '1818', '', [[timestamp]]),
(602, 'postbit_offline', '<img src="{$theme[''imgdir'']}/buddy_offline.png" title="{$lang->postbit_status_offline}" alt="{$lang->postbit_status_offline}" class="buddy_status" />', -2, '1800', '', [[timestamp]]),
(603, 'postbit_online', '<a href="online.php" title="{$lang->postbit_status_online}"><img src="{$theme[''imgdir'']}/buddy_online.png" border="0" alt="{$lang->postbit_status_online}" class="buddy_status" /></a>', -2, '1800', '', [[timestamp]]),
(604, 'postbit_pm', '<a href="private.php?action=send&amp;uid={$post[''uid'']}" title="{$lang->postbit_pm}" class="postbit_pm"><span>{$lang->postbit_button_pm}</span></a>', -2, '1800', '', [[timestamp]]),
(605, 'postbit_posturl', '<div class="float_right" style="vertical-align: top">\n<strong><a href="{$post[''postlink'']}#pid{$post[''pid'']}" title="{$post[''subject_title'']}">#{$post_number}</a></strong>\n{$post[''inlinecheck'']}\n</div>', -2, '1801', '', [[timestamp]]),
(606, 'postbit_profilefield', '<br />{$post[''fieldname'']}: {$post[''fieldvalue'']}', -2, '1800', '', [[timestamp]]),
(607, 'postbit_profilefield_multiselect', '<ul style="margin: 0; padding-left: 15px;">\n{$post[''fieldvalue_option'']}\n</ul>', -2, '1800', '', [[timestamp]]),
(608, 'postbit_profilefield_multiselect_value', '<li style="margin-left: 0;">{$val}</li>', -2, '1800', '', [[timestamp]]),
(609, 'postbit_quickdelete', '<a href="editpost.php?pid={$post[''pid'']}" onclick="Thread.deletePost({$post[''pid'']}); return false;" id="quick_delete_{$post[''pid'']}" title="{$postbit_qdelete}" class="postbit_qdelete postbit_mirage"><span>{$lang->postbit_button_qdelete}</span></a>', -2, '1818', '', [[timestamp]]),
(610, 'postbit_quickrestore', '<a href="editpost.php?pid={$post[''pid'']}" onclick="Thread.restorePost({$post[''pid'']}); return false;" id="quick_restore_{$post[''pid'']}" title="{$postbit_qrestore}" class="postbit_qrestore"><span>{$lang->postbit_button_qrestore}</span></a>', -2, '1818', '', [[timestamp]]),
(611, 'postbit_quote', '<a href="newreply.php?tid={$tid}&amp;replyto={$post[''pid'']}" title="{$lang->postbit_quote}" class="postbit_quote postbit_mirage"><span>{$lang->postbit_button_quote}</span></a>', -2, '1818', '', [[timestamp]]),
(612, 'postbit_rep_button', '<a href="javascript:void(0)" onclick="MyBB.reputation({$post[''uid'']},{$post[''pid'']}); return false;" title="{$lang->postbit_reputation_add}" class="postbit_reputation_add"><span>{$lang->postbit_button_reputation_add}</span></a>', -2, '1809', '', [[timestamp]]),
(613, 'postbit_reply_pm', '<a href="private.php?action=send&amp;pmid={$id}&amp;do=reply" title="{$lang->reply_title}" class="postbit_reply_pm"><span>{$lang->postbit_button_reply_pm}</span></a>', -2, '1800', '', [[timestamp]]),
(614, 'postbit_replyall_pm', '<a href="private.php?action=send&amp;pmid={$id}&amp;do=replyall" title="{$lang->reply_to_all}" class="postbit_reply_all"><span>{$lang->postbit_button_reply_all}</span></a>', -2, '1480', '', [[timestamp]]),
(615, 'postbit_report', '<a href="javascript:void(0)" onclick="Report.reportPost({$post[''pid'']}); return false;" title="{$lang->postbit_report}" class="postbit_report"><span>{$lang->postbit_button_report}</span></a>', -2, '1809', '', [[timestamp]]),
(616, 'postbit_reputation', '<br />{$lang->postbit_reputation} {$post[''userreputation'']}', -2, '1400', '', [[timestamp]]),
(617, 'postbit_reputation_formatted', '<strong class="{$reputation_class}">{$reputation}</strong>', -2, '1800', '', [[timestamp]]),
(618, 'postbit_reputation_formatted_link', '<a href="reputation.php?uid={$uid}"><strong class="{$reputation_class}">{$reputation}</strong></a>', -2, '1800', '', [[timestamp]]),
(619, 'postbit_signature', '<div class="signature scaleimages">\n{$post[''signature'']}\n</div>', -2, '1800', '', [[timestamp]]),
(620, 'postbit_status', '<span class="status_type">{$status_type}</span>', -2, '1813', '', [[timestamp]]),
(621, 'postbit_userstar', '<img src="{$post[''starimage'']}" border="0" alt="*" />', -2, '1800', '', [[timestamp]]),
(622, 'postbit_warn', '<a href="warnings.php?action=warn&amp;uid={$post[''uid'']}&amp;pid={$post[''pid'']}" title="{$lang->postbit_warn}" class="postbit_warn"><span>{$lang->postbit_button_warn}</span></a>', -2, '1800', '', [[timestamp]]),
(623, 'postbit_warninglevel', '<br />{$lang->postbit_warning_level} <a href="{$warning_link}">{$warning_level}</a>', -2, '1400', '', [[timestamp]]),
(624, 'postbit_warninglevel_formatted', '<span class="{$warning_class}">{$level}%</span>', -2, '1800', '', [[timestamp]]),
(625, 'postbit_www', '<a href="{$post[''website'']}" target="_blank" rel="noopener" title="{$lang->postbit_website}" class="postbit_website"><span>{$lang->postbit_button_website}</span></a>', -2, '1813', '', [[timestamp]]),
(626, 'posticons', '<tr>\n<td class="trow1" style="vertical-align: top"><strong>{$lang->post_icon}</strong><span class="smalltext"><label class="posticons_label"><input type="radio" class="radio" name="icon" value="-1"{$no_icons_checked} />{$lang->no_post_icon}</label></span></td>\n<td class="trow1" valign="top">{$iconlist}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(627, 'posticons_icon', '<label class="posticons_label"><input type="radio" name="icon" value="{$dbicon[''iid'']}"{$checked} /> <img src="{$dbicon[''path'']}" alt="{$dbicon[''name'']}" title="{$dbicon[''name'']}" /></label>', -2, '1800', '', [[timestamp]]),
(628, 'printthread', '<html>\n<head>\n<title>{$thread[''threadprefix'']} {$thread[''subject'']} - {$lang->printable_version}</title>\n<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />\n<style type="text/css">\nbody { font-family: Verdana, Arial, sans-serif; font-size: 13px; }\n.largetext { font-family: Verdana, Arial, sans-serif; font-size: medium; font-weight: bold; }\nimg { max-width: 100%; height: auto; }\n</style>\n</head>\n<body>\n<table width="98%" align="center">\n<tr>\n<td valign="top"><a href="index.php"><img src="{$theme[''logo'']}" alt="{$mybb->settings[''bbname'']}" title="{$mybb->settings[''bbname'']}" border="0" /></a></td>\n</tr>\n<tr>\n<td>\n<span class="largetext">{$thread[''displaystyle'']} <a href="{$thread[''threadlink'']}">{$thread[''subject'']}</a> - {$lang->printable_version}</span><br />\n<br />\n+- {$mybb->settings[''bbname'']} (<em>{$mybb->settings[''bburl'']}</em>)<br />\n{$breadcrumb}\n+{$tdepth} {$lang->thread} {$thread[''displaystyle'']} {$thread[''subject'']} (<em>/{$thread[''threadlink'']}</em>)<br />\n<br />\n{$multipage}</td>\n</tr>\n<tr>\n<td><br /><hr size="1" />{$postrows}</td>\n</tr>\n</table>\n</body>\n</html>', -2, '1813', '', [[timestamp]]),
(629, 'printthread_multipage', '<div class="multipage">{$lang->pages} <strong>{$lang->archive_pages}</strong> {$mppage}</div>', -2, '1800', '', [[timestamp]]),
(630, 'printthread_multipage_page', '<a href="{$url}&amp;page={$page}">{$page}</a>', -2, '1800', '', [[timestamp]]),
(631, 'printthread_multipage_page_current', '<strong>{$page}</strong>', -2, '1800', '', [[timestamp]]),
(632, 'printthread_nav', '+{$depth} {$lang->forum} {$forumnav[''name'']} (<i>{$mybb->settings[''bburl'']}/{$forumnav[''link'']}</i>)<br />', -2, '1808', '', [[timestamp]]),
(633, 'printthread_post', '<strong>{$postrow[''subject'']}</strong> - {$postrow[''profilelink'']} -  <strong>{$postrow[''date'']}</strong>\n<br />\n<br />\n{$postrow[''message'']}\n<br />\n<br />\n<hr size="1" />', -2, '1800', '', [[timestamp]]),
(634, 'private', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->private_messaging}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<fieldset>\n  {$pmspacebar}<span class="smalltext"><a href="private.php">{$lang->inbox}</a>{$composelink} | <a  href="private.php?action=folders">{$lang->manage_folders}</a>{$emptyexportlink}</span>\n</fieldset>\n<br />\n{$limitwarning}\n<form action="private.php" method="post" name="pmForm">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="6">\n	<div class="float_right">\n	<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == ''{$lang->enter_keywords}'') { this.value = ''''; }" onblur="if(this.value=='''') { this.value=''{$lang->enter_keywords}''; }" class="textbox" size="25" />\n	<input type="submit" class="button" name="quick_search" value="{$lang->search_pms}" />\n	(<a href="private.php?action=advanced_search">{$lang->advanced_search}</a>)</div>\n	<strong>{$foldername}</strong></td>\n</tr>\n<tr>\n<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong><a href="private.php?fid={$fid}&amp;sortby=subject&amp;order=asc">{$lang->message_title}</a> {$orderarrow[''subject'']}</strong></span></td>\n<td class="tcat" align="center" width="30%" style="white-space: nowrap"><span class="smalltext"><strong><a href="private.php?fid={$fid}&amp;sortby=username&amp;order=asc">{$sender}</a> {$orderarrow[''username'']}</strong></span></td>\n<td class="tcat" align="right"  width="20%" style="white-space: nowrap"><span class="smalltext"><strong><a href="private.php?fid={$fid}&amp;sortby=dateline&amp;order=desc">{$lang->date_sent}</a> {$orderarrow[''dateline'']}</strong></span></td>\n<td class="tcat" align="center" width="1%" style="white-space: nowrap"><span class="smalltext"><input name="allbox" title="{$lang->check_all}" type="checkbox" class="checkbox checkall" value="{$lang->check_all}" /></span></td>\n</tr>\n{$messagelist}\n<tr>\n<td class="tfoot" align="right" colspan="6">\n<input type="submit" class="button" name="moveto" value="{$lang->move_to}" /> {$folderoplist} {$lang->or}\n<input type="submit" class="button" name="delete" value="{$lang->delete}" /> {$lang->selected_messages}\n</td>\n</tr>\n</table>\n<br />\n<div class="float_right">\n<span class="smalltext">\n<strong>{$lang->jump_folder} {$folderjump}\n<input type="submit" class="button" name="hop" value="{$lang->go}" />\n</strong>\n</span>\n</div>\n<input type="hidden" name="action" value="do_stuff" />\n</form>\n<div class="float_left">{$multipage}</div>\n</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1820', '', [[timestamp]]),
(635, 'private_advanced_search', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->advanced_private_message_search}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="private.php" method="post" name="pmForm">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_search" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n	<tr>\n		<td class="thead" colspan="2"><strong>{$lang->advanced_private_message_search}</strong></td>\n	</tr>\n	<tr>\n		<td class="tcat" colspan="2"><strong>{$lang->search_criteria}</strong></td>\n	</tr>\n	<tr>\n		<td class="trow1" width="20%"><strong><label for="keywords">{$lang->keywords}</label></strong></td>\n		<td class="trow1">\n			<input type="text" class="textbox" name="keywords" id="keywords" size="35" maxlength="250" />\n			<br />\n			<span class="smalltext">\n				<label><input type="checkbox" name="subject" checked="checked" value="1" /> {$lang->search_in_subject}</label><br />\n				<label><input type="checkbox" name="message" checked="checked" value="1" /> {$lang->search_in_message}</label>\n			</span>\n		</td>\n	</tr>\n	<tr>\n		<td class="trow2"><strong><label for="sender">{$lang->sender}</label></strong></td>\n		<td class="trow2"><input type="text" class="textbox" name="sender" id="sender" size="35" maxlength="250" /></td>\n	</tr>\n	<tr>\n		<td class="trow1"><strong>{$lang->message_status}</strong></td>\n		<td class="trow1 smalltext">\n			<label><input type="checkbox" name="status[new]" checked="checked" value="1" /> {$lang->message_status_new}</label><br />\n			<label><input type="checkbox" name="status[replied]" checked="checked" value="1" /> {$lang->message_status_replied_to}</label><br />\n			<label><input type="checkbox" name="status[forwarded]" checked="checked" value="1" /> {$lang->message_status_forwarded}</label><br />\n			<label><input type="checkbox" name="status[read]" checked="checked" value="1" /> {$lang->message_status_read}</label>\n		</td>\n	</tr>\n	<tr>\n		<td class="trow2"><strong><label for="folder">{$lang->folder}</label></strong>\n	</td>\n		<td class="trow2">\n			{$foldersearch}\n		</td>\n	</tr>\n	<tr>\n		<td class="tcat" colspan="2"><strong>{$lang->search_options}</strong></td>\n	</tr>\n	<tr>\n		<td class="trow1" width="20%"><strong><label for="sort">{$lang->sort_by}</label></strong></td>\n\n		<td class="trow1">\n			<select name="sort" id="sort">\n				<option value="subject">{$lang->sort_by_subject}</option>\n				<option value="sender">{$lang->sort_by_sender}</option>\n				<option value="dateline" selected="selected">{$lang->sort_by_date}</option>\n			</select><br />\n			<span class="smalltext">\n				<input type="radio" class="radio" name="sortordr" id="order_asc" value="asc" /> <label for="order_asc">{$lang->ascending_order}</label><br />\n				<input type="radio" class="radio" name="sortordr" id="order_desc" checked="checked" value="desc" /> <label for="order_desc">{$lang->descending_order}</label>\n			</span>\n		</td>\n	</tr>\n</table>\n<br />\n<div align="center"><input type="submit" value="{$lang->search_private_messages}" class="button" /></div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807" />\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n<script type="text/javascript">\n<!--\nif(use_xmlhttprequest == "1")\n{\n	MyBB.select2();\n	$("#sender").select2({\n		placeholder: "{$lang->search_user}",\n		minimumInputLength: 2,\n		multiple: false,\n		allowClear: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var value = $(element).val();\n			if (value !== "") {\n				callback({\n					id: value,\n					text: value\n				});\n			}\n		}\n	});\n}\n// -->\n</script>\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(636, 'private_advanced_search_folders', '<select multiple="multiple" name="folder[]" id="folder">\n<option selected="selected">{$lang->all_folders}</option>\n{$foldersearch_folder}\n</select>', -2, '1800', '', [[timestamp]]),
(637, 'private_archive', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->archive_messages}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="private.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->archive_messages}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><span class="smalltext">{$lang->archive_note}</span></td>\n</tr>\n<tr>\n<td class="trow1" valign="top" width="30%"><strong>{$lang->folders}</strong></td>\n<td class="trow1">{$folderlist}</td>\n</tr>\n<tr>\n<td class="trow2" valign="top" width="30%"><strong>{$lang->date_limit}</strong></td>\n<td class="trow2"><select name="dayway"><option value="older">{$lang->date_limit_older}</option><option value="newer">{$lang->date_limit_newer}</option><option value="disregard">{$lang->date_limit_disregard}</option></select> <input type="text" class="textbox" name="daycut" value="30" size="3" maxlength="4" /> {$lang->date_limit_days}</td>\n</tr>\n<tr>\n<td class="trow1" valign="top" width="30%"><strong>{$lang->export_unread}</strong></td>\n<td class="trow1"><input type="radio" class="radio" name="exportunread" value="1" /> {$lang->yes} <input type="radio" class="radio" name="exportunread" value="0" checked="checked" /> {$lang->no} </td>\n</tr>\n<tr>\n<td class="trow2" valign="top" width="30%"><strong>{$lang->delete_archived}</strong><br /><span class="smalltext">{$lang->delete_archived_note}</span></td>\n<td class="trow2"><input type="radio" class="radio" name="deletepms" value="1" /> {$lang->yes} <input type="radio" class="radio" name="deletepms" value="0" checked="checked" /> {$lang->no} </td>\n</tr>\n<tr>\n<td class="trow1" valign="top" width="30%"><strong>{$lang->export_format}</strong><br /><span class="smalltext">{$lang->export_format_note}</span></td>\n<td class="trow1"><input type="radio" class="radio" name="exporttype" value="html" checked="checked" /> {$lang->export_html}<br /><input type="radio" class="radio" name="exporttype" value="txt" /> {$lang->export_txt}<br /><input type="radio" class="radio" name="exporttype" value="csv" /> {$lang->export_csv}</td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="do_export" />\n<input type="submit" class="button" name="submit" value="{$lang->archive_messages}" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(638, 'private_archive_csv', '{$lang->export_date_sent},{$lang->export_folder},{$lang->export_subject},{$lang->export_to},{$lang->export_from},{$lang->export_message}\n{$pmsdownload}', -2, '120', '', [[timestamp]]),
(639, 'private_archive_csv_message', '{$senddate},"{$foldername}","{$message[''subject'']}","{$message[''tousername'']}","{$message[''fromusername'']}","{$message[''message'']}"\n', -2, '1400', '', [[timestamp]]),
(640, 'private_archive_folders', '<select name="exportfolders[]" multiple="multiple">\n<option value="all" selected="selected">{$lang->all_folders}</option>\n{$folderlist_folder}\n</select>', -2, '1800', '', [[timestamp]]),
(641, 'private_archive_folders_folder', '<option value="{$folder_id}">{$folder_name}</option>', -2, '1800', '', [[timestamp]]),
(642, 'private_archive_html', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->private_messages_for}</title>\n<style type="text/css">{$css}\n* {text-align: left}</style>\n</head>\n<body>\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="1"><span class="largetext"><strong>{$lang->private_messages_for}</strong></span></td>\n</tr>\n{$pmsdownload}\n</table>\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="trow1" colspan="1">{$lang->exported_date}<br /><a href="{$mybb->settings[''bburl'']}">{$mybb->settings[''bbname'']}</a></td>\n</tr>\n</table>\n</body>', -2, '120', '', [[timestamp]]),
(643, 'private_archive_html_folderhead', '</table>\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="tcat" colspan="2"><strong>{$lang->folder} {$foldername}</strong></td>\n</tr>', -2, '120', '', [[timestamp]]),
(644, 'private_archive_html_message', '<tr>\n<td class="trow1"><strong>{$lang->subject} {$message[''subject'']}</strong><br /><em>{$lang->to} {$message[''tousername'']}<br />{$lang->from} {$message[''fromusername'']}<br />{$lang->sent} {$senddate}</em></td>\n</tr>\n<tr>\n<td class="trow2">{$message[''message'']}</td>\n</tr>\n<tr>\n<td class="tcat" height="3"> </td>\n</tr>', -2, '1801', '', [[timestamp]]),
(645, 'private_archive_txt', '{$lang->private_messages_for}\n({$lang->exported_date})\n\n{$pmsdownload}', -2, '120', '', [[timestamp]]),
(646, 'private_archive_txt_folderhead', '#######################################################################\n{$lang->folder} {$foldername}\n#######################################################################\n', -2, '120', '', [[timestamp]]),
(647, 'private_archive_txt_message', '{$lang->subject} {$message[''subject'']}\n{$tofrom} {$tofromusername}\n{$lang->sent} {$senddate}\n------------------------------------------------------------------------\n{$message[''message'']}\n------------------------------------------------------------------------\n\n', -2, '120', '', [[timestamp]]),
(648, 'private_composelink', ' | <a href="private.php?action=send">{$lang->compose_message2}</a>', -2, '1800', '', [[timestamp]]),
(649, 'private_empty', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->empty_folders}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="private.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="3"><strong>{$lang->empty_folders}</strong></td>\n</tr>\n<tr>\n<td class="trow1" colspan="3"><span class="smalltext">{$lang->empty_note}</span></td>\n</tr>\n<tr>\n<td class="tcat" align="center"><strong>{$lang->export_folder}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->num_messages}</strong></td>\n<td class="tcat" align="center"><strong>{$lang->empty_q}</strong></td>\n</tr>\n{$folderlist}\n<tr>\n<td class="trow2" align="center" colspan="3"><input type="checkbox" class="checkbox" name="keepunread" value="1" checked="checked" /><strong>{$lang->keep_unread}</strong></td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="do_empty" />\n<input type="submit" class="button" name="submit" value="{$lang->delete}" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '120', '', [[timestamp]]),
(650, 'private_empty_folder', '<tr>\n<td class="trow1"><strong>{$foldername}</strong></td>\n<td class="trow1" align="center">{$foldercount}</td>\n<td class="trow1" align="center"><input type="checkbox" class="checkbox" name="empty[{$fid}]" value="1" /></td>\n</tr>', -2, '120', '', [[timestamp]]),
(651, 'private_emptyexportlink', ' | <a href="private.php?action=empty">{$lang->empty_folders2}</a> | <a href="private.php?action=export">{$lang->export_messages2}</a>', -2, '1800', '', [[timestamp]]),
(652, 'private_folders', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->pm_folders}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="private.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$lang->existing_folders}</strong></td>\n</tr>\n<tr>\n<td class="trow1"><span class="smalltext">{$lang->edit_folder_note}</span></td>\n</tr>\n{$folderlist}\n</table>\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$lang->new_folders}</strong></td>\n</tr>\n<tr>\n<td class="trow1"><span class="smalltext">{$lang->add_folders_note}</span></td>\n</tr>\n{$newfolders}\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="do_folders" />\n<input type="submit" class="button" name="submit" value="{$lang->update_folders}" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(653, 'private_folders_folder', '<tr>\n<td class="trow1"><input type="text" class="textbox" name="folder[{$fid}]" size="25" value="{$foldername}" maxlength="30" /></td>\n</tr>', -2, '120', '', [[timestamp]]),
(654, 'private_folders_folder_unremovable', '<tr>\n<td class="trow1"><input type="text" class="textbox" name="folder[{$fid}]" size="25" value="{$foldername}" maxlength="30" /> <span class="smalltext">({$foldername2} - {$lang->cannot_be_removed})</span>\n</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(655, 'private_jump_folders', '<select name="jumpto">\n{$folderjump_folder}\n</select>', -2, '1800', '', [[timestamp]]),
(656, 'private_jump_folders_folder', '<option value="{$folder_id}"{$sel}>{$folder_name}</option>', -2, '1800', '', [[timestamp]]),
(657, 'private_limitwarning', '<div class="red_alert">\n	<strong>{$lang->reached_warning}</strong><br />\n	{$lang->reached_warning2}\n</div>', -2, '1800', '', [[timestamp]]),
(658, 'private_messagebit', '<tr>\n	<td class="{$bgcolor}" align="center" width="2%"><img src="{$theme[''imgdir'']}/{$msgstatus}.png" alt="{$msgalt}" title="{$msgalt}" /></td>\n	<td class="{$bgcolor}" align="center" width="2%">{$icon}</td>\n	<td class="{$bgcolor}" width="35%"><a class="{$msgstatus}" href="private.php?action=read&amp;pmid={$message[''pmid'']}">{$message[''subject'']}</a>{$denyreceipt}</td>\n	<td class="{$bgcolor}" align="center">{$tofromusername}</td>\n	<td class="{$bgcolor}" align="right" style="white-space: nowrap"><span class="smalltext">{$senddate}</span></td>\n	<td class="{$bgcolor}" align="center" width="2%"><input type="checkbox" class="checkbox" name="check[{$message[''pmid'']}]" value="1" /></td>\n</tr>', -2, '1827', '', [[timestamp]]),
(659, 'private_messagebit_denyreceipt', ' <span class="smalltext"><a href="private.php?action=read&amp;pmid={$message[''pmid'']}&amp;denyreceipt=1">{$lang->deny_receipt}</a></span>', -2, '120', '', [[timestamp]]),
(660, 'private_messagebit_icon', '<img src="{$icon[''path'']}" alt="{$icon[''name'']}" title="{$icon[''name'']}" align="center" valign="middle" />', -2, '1800', '', [[timestamp]]),
(661, 'private_messagebit_sep', '<tr>\n<td class="tcat" align="center" colspan="6" height="1"> </td>\n</tr>\n    ', -2, '1801', '', [[timestamp]]),
(662, 'private_move', '<input type="hidden" value="{$from_fid}" name="fromfid" />\n<select name="fid">\n{$folderoplist_folder}\n</select>', -2, '1816', '', [[timestamp]]),
(663, 'private_multiple_recipients', '<a href="private.php?action=read&amp;pmid={$message[''pmid'']}" id="private_message_{$message[''pmid'']}">{$lang->multiple_recipients}</a>\n		<div id="private_message_{$message[''pmid'']}_popup" class="popup_menu" style="display: none;"><div class="tcat"><strong>{$lang->to}</strong></div>{$to_users}{$bcc_users}</div>\n<script type="text/javascript">\n<!--\n	$("#private_message_{$message[''pmid'']}").popupMenu();\n// -->\n</script>', -2, '1800', '', [[timestamp]]),
(664, 'private_multiple_recipients_bcc', '<div class="tcat"><strong>{$lang->bcc}</strong></div>', -2, '1400', '', [[timestamp]]),
(665, 'private_multiple_recipients_user', '<div class="popup_item_container"><a href="{$profilelink}" class="popup_item">{$username}</a></div>', -2, '1400', '', [[timestamp]]),
(666, 'private_nomessages', '<tr>\n<td colspan="6" class="trow1">{$lang->nomessages}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(667, 'private_orderarrow', '<span class="smalltext">[<a href="private.php?fid={$fid}&amp;sortby={$sortby}&amp;order={$oppsortnext}">{$oppsort}</a>]</span>', -2, '1820', '', [[timestamp]]),
(668, 'private_pmspace', '<span class="pmspace">\n  <span class="pmspace_container"><span class="pmspace_used {$spaceused_severity}" style="width: {$spaceused}px;"><span class="pmspace_text">{$overhalf}&nbsp;</span></span><span class="pmspace_unused" style="width: {$spaceused2}px;"><span class="pmspace_text">{$belowhalf}&nbsp;</span></span>\n  </span>\n  {$lang->pmspaceused}\n</span>', -2, '1800', '', [[timestamp]]),
(669, 'private_quickreply', '<br />\n<form action="private.php" method="post" name="input">\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<input type="hidden" name="to" value="{$to}" />\n	<input type="hidden" name="bcc" value="{$bcc_form_val}" />\n	<input type="hidden" name="subject" value="Re: {$subject}" />\n	<input type="hidden" name="action" value="do_send" />\n	<input type="hidden" name="pmid" value="{$pmid}" />\n	<input type="hidden" name="do" value="reply" />\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<thead>\n			<tr>\n				<td class="thead{$collapsedthead[''quickreply'']}" colspan="2">\n					<div class="expcolimage"><img src="{$theme[''imgdir'']}/collapse{$collapsedimg[''quickreply'']}.png" id="quickreply_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>\n					<div><strong>{$lang->quick_reply}</strong></div>\n				</td>\n			</tr>\n		</thead>\n		<tbody style="{$collapsed[''quickreply_e'']}" id="quickreply_e">\n			<tr>\n              <td class="{$trow}" valign="top" width="22%">\n					<strong>{$lang->message}</strong><br />\n					<span class="smalltext">{$lang->message_note}<br /><br />\n					<label><input type="checkbox" class="checkbox" name="options[signature]" value="1"{$optionschecked[''signature'']} />&nbsp;<strong>{$lang->quickreply_signature}</strong></label><br />\n					<label><input type="checkbox" class="checkbox" name="options[disablesmilies]" value="1"{$optionschecked[''disablesmilies'']} />&nbsp;<strong>{$lang->quickreply_disable_smilies}</strong></label><br />\n					<label><input type="checkbox" class="checkbox" name="options[savecopy]" value="1"{$optionschecked[''savecopy'']} />&nbsp;<strong>{$lang->quickreply_save_copy}</strong></label>{$private_send_tracking}</span>\n				</td>\n				<td class="{$trow}">\n					<div style="width: 95%">\n						<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1">{$quoted_message}</textarea>\n					</div>\n				</td>\n			</tr>\n			<tr>\n				<td colspan="2" align="center" class="tfoot"><input type="submit" class="button" value="{$lang->send_message}" tabindex="2" accesskey="s" /> <input type="submit" class="button" name="preview" value="{$lang->preview}" tabindex="3" /></td>\n			</tr>\n		</tbody>\n	</table>\n</form>', -2, '1827', '', [[timestamp]]),
(670, 'private_read', '<html>\n<head>\n<title>{$lang->viewing_pm} {$pm[''subject'']}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td style="vertical-align: top;">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed clear no_bottom_border">\n<tr>\n<td class="thead">\n<strong>{$pm[''subject'']}</strong>\n</td>\n</tr>\n{$action_time}\n<tr><td id="posts_container">\n<div id="posts">\n{$message}\n</div>\n</td></tr>\n</table>\n{$quickreply}\n</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1820', '', [[timestamp]]),
(671, 'private_read_action', '<tr>\n	<td class="tcat" align="center"><strong>{$actioned_on}</strong></td>\n</tr>', -2, '1400', '', [[timestamp]]),
(672, 'private_read_bcc', '<br />{$lang->bcc} {$bcc_recipients}', -2, '1400', '', [[timestamp]]),
(673, 'private_read_to', '<br />\n{$lang->to} {$to_recipients}\n{$bcc}', -2, '1400', '', [[timestamp]]),
(674, 'private_search_messagebit', '<tr>\n	<td align="center" class="trow1" width="1%"><img src="{$theme[''imgdir'']}/{$msgstatus}.png" alt="{$msgalt}" title="{$msgalt}" /></td>\n	<td align="center" class="trow2" width="1%">{$icon}</td>\n	<td class="trow1" width="35%"><a class="{$msgstatus}" href="private.php?action=read&amp;pmid={$message[''pmid'']}">{$message[''subject'']}</a>{$denyreceipt}\n	<br />{$message[''message'']}</td>\n	<td align="center" class="trow2">{$tofromusername}</td>\n	<td align="center" class="trow1"><a href="private.php?fid={$message[''folder'']}">{$foldername}</a></td>\n	<td class="trow2" align="center" style="white-space: nowrap"><span class="smalltext">{$senddate}</span></td>\n	<td class="trow1" align="center"><input type="checkbox" class="checkbox" name="check[{$message[''pmid'']}]" value="1" /></td>\n</tr>', -2, '1808', '', [[timestamp]]),
(675, 'private_search_results', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->private_messaging}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<form action="private.php" method="post" name="pmForm">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="7">\n	<div class="float_right">\n	<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == ''{$lang->enter_keywords}'') { this.value = ''''; }" onblur="if(this.value=='''') { this.value=''{$lang->enter_keywords}''; }" class="textbox" size="25" />\n	<input type="submit" class="button" name="quick_search" value="{$lang->search_pms}" />\n	(<a href="private.php?action=advanced_search">{$lang->advanced_search}</a>)</div>\n	<strong>{$lang->pm_search_results}</strong></td>\n</tr>\n<tr>\n<td class="tcat" align="left" colspan="3"><span class="smalltext"><strong>{$lang->message}</strong></span></td>\n<td class="tcat" align="center" width="10%" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->sender}</strong></span></td>\n<td class="tcat" align="center"  width="10%" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->folder}</strong></span></td>\n<td class="tcat" align="center"  width="10%" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->date_sent}</strong></span></td>\n<td class="tcat" align="center" width="1%" style="white-space: nowrap"><span class="smalltext"><input name="allbox" title="{$lang->check_all}" type="checkbox" class="checkbox checkall" value="{$lang->check_all}" /></span></td>\n</tr>\n{$messagelist}\n<tr>\n<td class="tfoot" align="right" colspan="7">\n<input type="submit" class="button" name="moveto" value="{$lang->move_to}" /> {$folderoplist} {$lang->or}\n<input type="submit" class="button" name="delete" value="{$lang->delete}" /> {$lang->selected_messages}\n</td>\n</tr>\n</table>\n<br />\n<div class="float_right">\n<span class="smalltext">\n<strong>{$lang->jump_folder} {$folderjump}\n<input type="submit" class="button" name="hop" value="{$lang->go}" />\n</strong>\n</span>\n</div>\n<input type="hidden" name="action" value="do_stuff" />\n</form>\n<div class="float_left">{$multipage}</div>\n</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1813', '', [[timestamp]]),
(676, 'private_search_results_nomessages', '<tr>\n<td colspan="7" class="trow1">{$lang->nomessages}</td>\n</tr>', -2, '1600', '', [[timestamp]]);
INSERT INTO `[[dbprefix]]templates` VALUES
(677, 'private_send', '<html>\n<head>\n<title>{$lang->compose_pm}</title>\n{$headerinclude}\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/usercp.js?ver=1827"></script>\n</head>\n<body>\n{$header}\n<form action="private.php" method="post" name="input">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n{$preview}\n{$send_errors}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->compose_pm}</strong></td>\n</tr>\n<tr>\n<td class="trow1" valign="top" width="200"><strong>{$lang->compose_to}</strong>\n	<script type="text/javascript">\n	<!--\n		document.write(''(<a href="javascript:void(0)" onclick="showBcc(); return false;" title="{$lang->compose_bcc_show_title}">{$lang->compose_bcc_show}<\\/a>)'');\n	// -->\n	</script>\n	<br /><span class="smalltext">{$lang->separate_names}{$buddy_select_to}</span></td>\n<td class="trow1" valign="top"><textarea name="to" id="to" rows="2" cols="38" tabindex="1" style="width: 450px;">{$to}</textarea>{$max_recipients}</td>\n</tr>\n<tr id="bcc_area">\n<td class="trow2" valign="top"><strong>{$lang->compose_bcc}</strong>{$buddy_select_bcc}</td>\n<td class="trow2"><textarea name="bcc" id="bcc" rows="2" cols="38" tabindex="1" style="width: 450px;">{$bcc}</textarea></td>\n</tr>\n<tr>\n<td class="trow1"><strong>{$lang->compose_subject}</strong></td>\n<td class="trow1"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="3" /></td>\n</tr>\n{$posticons}\n<tr>\n<td class="trow2" valign="top"><strong>{$lang->compose_message}</strong>{$smilieinserter}</td>\n<td class="trow2">\n<textarea name="message" id="message" rows="20" cols="70" tabindex="4">{$message}</textarea>\n{$codebuttons}\n</td>\n</tr>\n<tr>\n<td class="trow1" valign="top"><strong>{$lang->compose_options}</strong></td>\n<td class="trow1"><span class="smalltext">\n<label><input type="checkbox" class="checkbox" name="options[signature]" value="1" tabindex="5" {$optionschecked[''signature'']} />{$lang->options_sig}</label><br />\n<label><input type="checkbox" class="checkbox" name="options[disablesmilies]" value="1" tabindex="6" {$optionschecked[''disablesmilies'']} />{$lang->options_disable_smilies}</label><br />\n<label><input type="checkbox" class="checkbox" name="options[savecopy]" value="1" tabindex="7" {$optionschecked[''savecopy'']} />{$lang->options_save_copy}</label>\n{$private_send_tracking}\n</span></td>\n</tr>\n</table>\n<br />\n<input type="hidden" name="action" value="do_send" />\n<input type="hidden" name="pmid" value="{$pmid}" />\n<input type="hidden" name="do" value="{$do}" />\n<div style="text-align: center;">\n<input type="submit" class="button" name="submit" value="{$lang->send_message}" tabindex="9" accesskey="s" />\n<input type="submit" class="button" name="saveasdraft" value="{$lang->save_draft}" tabindex="10" />\n<input type="submit" class="button" name="preview" value="{$lang->preview}" tabindex="11" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n<script type="text/javascript">\n<!--\n	if($("#bcc_area").length > 0 && $("#bcc").val() == "")\n	{\n		$("#bcc_area").css("display", "none");\n	}\n\n	function showBcc()\n	{\n		if($("#bcc_area").css("display") == ''none'')\n		{\n			$("#bcc_area").css("display", "");\n		}\n		else\n		{\n			$("#bcc_area").css("display", "none");\n		}\n	}\n// -->\n</script>\n{$autocompletejs}\n</body>\n</html>', -2, '1827', '', [[timestamp]]),
(678, 'private_send_autocomplete', '<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n<script type="text/javascript">\n<!--\nif(use_xmlhttprequest == "1")\n{\n	MyBB.select2();\n	$("#to").select2({\n		placeholder: "{$lang->search_user}",\n		minimumInputLength: 2,\n		maximumSelectionSize: function() {\n			if ({$mybb->usergroup[''maxpmrecipients'']} == 0) {\n				return 0;\n			}\n			return Math.max(1, {$mybb->usergroup[''maxpmrecipients'']} - $("#bcc").select2(''data'').length);\n		},\n		multiple: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var query = $(element).val().replace('', '', '','');\n			if (query !== "") {\n				var newqueries = [];\n				exp_queries = query.split(",");\n				$.each(exp_queries, function(index, value ){\n					if(value.replace(/\\s/g, '''') != "")\n					{\n						var newquery = {\n							id: value.replace(/,\\s?/g, ", "),\n							text: value.replace(/,\\s?/g, ", ")\n						};\n						newqueries.push(newquery);\n					}\n				});\n				callback(newqueries);\n			}\n		}\n	})\n	.on("change", function(e) {\n		if ({$mybb->usergroup[''maxpmrecipients'']} == 0)\n		{\n			return;\n		}\n		if (e.val.length >= {$mybb->usergroup[''maxpmrecipients'']})\n		{\n			$("#bcc").select2("enable", false);\n		}\n		else\n		{\n			$("#bcc").select2("enable", true);\n		}\n	});\n\n	$("#bcc").select2({\n		placeholder: "{$lang->search_user}",\n		minimumInputLength: 2,\n		maximumSelectionSize: function() {\n			if ({$mybb->usergroup[''maxpmrecipients'']} == 0)\n			{\n				return 0;\n			}\n			return Math.max(1, {$mybb->usergroup[''maxpmrecipients'']} - $("#to").select2(''data'').length);\n		},\n		multiple: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var query = $(element).val();\n			if (query !== "") {\n				var newqueries = [];\n				exp_queries = query.split(",");\n				$.each(exp_queries, function(index, value ){\n					if(value.replace(/\\s/g, '''') != "")\n					{\n						var newquery = {\n							id: value.replace(/,\\s?/g, ", "),\n							text: value.replace(/,\\s?/g, ", ")\n						};\n						newqueries.push(newquery);\n					}\n				});\n				callback(newqueries);\n			}\n		}\n	})\n	.on("change", function(e) {\n		if ({$mybb->usergroup[''maxpmrecipients'']} == 0)\n		{\n			return;\n		}\n		if (e.val.length >= {$mybb->usergroup[''maxpmrecipients'']})\n		{\n			$("#to").select2("enable", false);\n		}\n		else\n		{\n			$("#to").select2("enable", true);\n		}\n	});\n}\n// -->\n</script>', -2, '1823', '', [[timestamp]]),
(679, 'private_send_buddyselect', '<script type="text/javascript"><!--\ndocument.write(''<br /><span class="smalltext"><a href="javascript:void(0)" onclick="UserCP.openBuddySelect(\\''{$buddy_select}\\''); return false;"><img src="{$theme[''imgdir'']}/buddies.png" alt="" style="vertical-align: middle;" alt="" title="{$lang->select_from_buddies}" /> {$lang->select_from_buddies}</a></span>'');\n// --></script>', -2, '1809', '', [[timestamp]]),
(680, 'private_send_tracking', '<br /><label><input type="checkbox" class="checkbox" name="options[readreceipt]" value="1" tabindex="8" {$optionschecked[''readreceipt'']} />&nbsp;<strong>{$lang->options_read_receipt}</strong></label>', -2, '1831', '', [[timestamp]]),
(681, 'private_tracking', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->pm_tracking}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n{$read_multipage}\n<form action="private.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_tracking" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" align="center" colspan="5"><strong>{$lang->read_messages}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->message_title}</strong></span></td>\n<td class="tcat" align="center" width="30%"><span class="smalltext"><strong>{$lang->sentto}</strong></span></td>\n<td class="tcat" align="right" width="20%"><span class="smalltext"><strong>{$lang->dateread}</strong></span></td>\n<td class="tcat" align="center" width="1%"><span class="smalltext"><input type="checkbox" class="checkbox checkall" name="allbox" /></span></td>\n</tr>\n{$readmessages}\n{$stoptrackingread}\n</table>\n</form>\n<br />\n{$unread_multipage}\n<form action="private.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_tracking" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" align="center" colspan="5"><strong>{$lang->unread_messages}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->message_title}</strong></span></td>\n<td class="tcat" align="center" style="white-space: nowrap" width="30%"><span class="smalltext"><strong>{$lang->sentto}</strong></span></td>\n<td class="tcat" align="right" style="white-space: nowrap" width="20%"><span class="smalltext"><strong>{$lang->datesent}</strong></span></td>\n<td class="tcat" align="center" width="1%" style="white-space: nowrap"><span class="smalltext"><input type="checkbox" class="checkbox checkall" name="allbox" /></span></td>\n</tr>\n{$unreadmessages}\n{$stoptrackingunread}\n</table>\n</form>\n</td></tr></table>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(682, 'private_tracking_nomessage', '<tr>\n<td align="center" class="trow1" colspan="5">{$lang->no_readmessages}</td>\n</tr>', -2, '1400', '', [[timestamp]]),
(683, 'private_tracking_readmessage', '<tr>\n<td align="center" class="trow1" width="1%"><img src="{$theme[''imgdir'']}/old_pm.png" alt="" /></td>\n<td class="trow2">{$readmessage[''subject'']}</td>\n<td class="trow1" align="center">{$readmessage[''profilelink'']}</td>\n<td class="trow2" align="right"><span class="smalltext">{$readdate}</span></td>\n<td class="trow1"><input type="checkbox" class="checkbox" name="readcheck[{$readmessage[''pmid'']}]" value="1" /></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(684, 'private_tracking_readmessage_stop', '<tr>\n<td class="tfoot" align="right" colspan="5"><strong><input type="submit" class="button" name="stoptracking" value="{$lang->stop_tracking}" /> {$lang->selected_messages} / <a href="private.php?action=stopalltracking&amp;my_post_key={$mybb->post_code}">{$lang->stop_tracking_all}</a></strong></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(685, 'private_tracking_unreadmessage', '<tr>\n<td align="center" class="trow1" width="1%"><img src="{$theme[''imgdir'']}/new_pm.png" alt="" /></td>\n<td class="trow2">{$unreadmessage[''subject'']}</td>\n<td class="trow1" align="center">{$unreadmessage[''profilelink'']}</td>\n<td class="trow2" align="right"><span class="smalltext">{$senddate}</span></td>\n<td class="trow1"><input type="checkbox" class="checkbox" name="unreadcheck[{$unreadmessage[''pmid'']}]" value="1" /></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(686, 'private_tracking_unreadmessage_stop', '<tr>\n<td class="tfoot" align="right" colspan="5"><strong><input type="submit" class="button" name="stoptrackingunread" value="{$lang->stop_tracking}" /> / <input type="submit" class="button" name="cancel" value="{$lang->delete}" /> {$lang->selected_messages}</strong></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(687, 'modal', '<div class="modal">\n	<div style="overflow-y: auto; max-height: 400px;">\n		<table border="0" cellspacing="0" cellpadding="5" class="tborder">\n			<tr>\n				<td class="thead"><strong>__title__</strong></td>\n			</tr>\n			<tr>\n				<td class="trow1">__message__</td>\n			</tr>\n			<tr>\n				<td class="tfoot">\n					<div style="text-align: center" class="modal_buttons">__buttons__</div>\n				</td>\n			</tr>\n		</table>\n	</div>\n</div>', -2, '1827', '', [[timestamp]]),
(688, 'modal_button', '<input type="submit" class="button" value="__title__"/>&nbsp;', -2, '1820', '', [[timestamp]]),
(689, 'report', '<div class="modal">\n  <div style="overflow-y: auto; max-height: 400px;" class="modal_{$id}">\n  <form action="report.php" method="post" class="reportData_{$id}" onsubmit="return Report.submitReport({$id});">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_report" />\n<input type="hidden" name="type" value="{$report_type}" />\n<input type="hidden" name="pid" value="{$id}" />\n<input type="hidden" name="no_modal" value="1" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n	<td class="thead" colspan="2"><strong>{$report_title}</strong></td>\n</tr>\n<tr>\n	<td class="tcat" colspan="2">{$lang->report_to_mod}</td>\n</tr>\n{$report_reasons}\n</table>\n</form>\n\n<script type="text/javascript">\n<!--\n	if($("#report_reason option:selected").attr(''data-extra'') != 1)\n	{\n		$("#reason").hide();\n	}\n\n	$("#report_reason").on(''change'', function()\n	{\n		if($(this).find("option:selected").attr(''data-extra'') == 1)\n		{\n			$("#reason").show();\n			return;\n		}\n\n		$("#reason").hide();\n	});\n// -->\n</script>\n</div>\n</div>', -2, '1821', '', [[timestamp]]),
(690, 'report_duplicate', '<tr>\n	<td class="trow1">{$lang->error_report_duplicate}</td>\n</tr>\n<tr>\n	<td class="tfoot"><input type="submit" class="button" value="{$report_title}" /></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(691, 'report_error', '<tr>\n	<td colspan="2" class="trow1">{$error}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(692, 'report_error_nomodal', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n	<td class="thead" colspan="2"><strong>{$report_title}</strong></td>\n</tr>\n<tr>\n	<td class="tcat" colspan="2">{$lang->report_to_mod}</td>\n</tr>\n<tr>\n	<td colspan="2" class="trow1">{$error}</td>\n</tr>\n</table>', -2, '1807', '', [[timestamp]]),
(693, 'report_reason', '<option value="{$reason[''rid'']}" data-extra="{$reason[''extra'']}">{$reason[''title'']}</option>', -2, '1808', '', [[timestamp]]),
(694, 'report_reasons', '<tr>\n	<td class="trow1" align="left" style="width: 25%"><span class="smalltext"><strong>{$lang->report_reason}</strong></span></td>\n	<td class="trow1" align="left">\n		<select name="reason" id="report_reason">\n			{$reasonslist}\n		</select>\n	</td>\n</tr>\n<tr id="reason">\n	<td class="trow2">&nbsp;</td>\n	<td class="trow2" align="left">\n		<div>{$lang->report_reason_other_description}</div>\n		<input type="text" class="textbox" name="comment" size="40" maxlength="250" />\n	</td>\n</tr>\n<tr>\n	<td colspan="2" class="tfoot"><input type="submit" class="button" value="{$report_title}" /></td>\n</tr>', -2, '1808', '', [[timestamp]]),
(695, 'report_thanks', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n	<tr>\n		<td class="thead"><strong>{$report_title}</strong></td>\n	</tr>\n	<tr>\n		<td class="tcat">{$lang->report_to_mod}</td>\n	</tr>\n	<tr>\n		<td class="trow1">{$lang->success_report_voted}</td>\n	</tr>\n</table>', -2, '1800', '', [[timestamp]]),
(696, 'reputation', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->reputation_report}</title>\n{$headerinclude}\n<script type="text/javascript">\n<!--\n	var delete_reputation_confirm = "{$lang->delete_reputation_confirm}";\n// -->\n</script>\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1820"></script>\n</head>\n<body>\n{$header}\n{$add_reputation}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed clear">\n<tr>\n	<td class="thead"><strong>{$lang->reputation_report}</strong></td>\n</tr>\n<tr>\n	<td class="tcat"><strong>{$lang->summary}</strong></td>\n</tr>\n<tr>\n	<td class="trow1">\n	<table width="100%" cellspacing="0" cellpadding="0" border="0">\n		<tr>\n			<td>\n				<span class="largetext"><strong>{$username}</strong></span><br />\n				<span class="smalltext">\n					({$usertitle})<br />\n					<br />\n					<strong>{$lang->total_reputation}:</strong> <span class="repbox {$total_class}">{$rep_total}</span><br /><br />\n					<strong>{$lang->reputation_members} {$rep_members}</strong><br />\n					<strong>{$lang->reputation_posts} {$rep_posts}</strong>\n				</span>\n			</td>\n			<td align="right" style="width: 300px;">\n					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder trow2">\n						<tr>\n							<td>&nbsp;</td>\n							<td><span class="smalltext reputation_positive">{$lang->positive_count}</span></td>\n							<td><span class="smalltext reputation_neutral">{$lang->neutral_count}</span></td>\n							<td><span class="smalltext reputation_negative">{$lang->negative_count}</span></td>\n						</tr>\n						<tr>\n							<td style="text-align: right;"><span class="smalltext">{$lang->last_week}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_positive_week}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_neutral_week}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_negative_week}</span></td>\n						</tr>\n						<tr>\n							<td style="text-align: right;"><span class="smalltext">{$lang->last_month}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_positive_month}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_neutral_month}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_negative_month}</span></td>\n						</tr>\n						<tr>\n							<td style="text-align: right;"><span class="smalltext">{$lang->last_6months}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_positive_6months}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_neutral_6months}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_negative_6months}</span></td>\n						</tr>\n						<tr>\n							<td style="text-align: right;"><span class="smalltext">{$lang->all_time}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_positive_count}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_neutral_count}</span></td>\n							<td style="text-align: center;"><span class="smalltext">{$f_negative_count}</span></td>\n						</tr>\n					</table>\n			</td>\n		</tr>\n	</table>\n	</td>\n</tr>\n<tr>\n	<td class="tcat"><strong>{$lang->comments}</strong></td>\n</tr>\n{$reputation_votes}\n<tr>\n	<td class="tfoot" align="right">\n	<form action="reputation.php" method="get">\n		<input type="hidden" name="uid" value="{$user[''uid'']}" />\n		<select name="show">\n			<option value="all" {$show_selected[''all'']}>{$lang->show_all}</option>\n			<option value="positive" {$show_selected[''positive'']}>{$lang->show_positive}</option>\n			<option value="neutral" {$show_selected[''neutral'']}>{$lang->show_neutral}</option>\n			<option value="negative" {$show_selected[''negative'']}>{$lang->show_negative}</option>\n		</select>\n		<select name="sort">\n			<option value="dateline" {$sort_selected[''last_updated'']}>{$lang->sort_updated}</option>\n			<option value="username" {$sort_selected[''username'']}>{$lang->sort_username}</option>\n		</select>\n		{$gobutton}\n	</form>\n	</td>\n</tr>\n</table>\n{$multipage}\n{$footer}\n</body>\n</html>', -2, '1820', '', [[timestamp]]),
(697, 'reputation_add', '<div class="modal">\n	<div style="overflow-y: auto; max-height: 400px;" class="modal_{$user[''uid'']}_{$reputation_pid}">\n      <table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n	<tr>\n		<td class="trow1" style="padding: 20px">\n			<strong>{$vote_title}</strong><br />{$post_rep_info}<br />\n          <form action="reputation.php" method="post" class="reputation_{$user[''uid'']}_{$reputation_pid}" onsubmit="return MyBB.submitReputation({$user[''uid'']}, {$reputation_pid});">\n				<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n				<input type="hidden" name="action" value="do_add" />\n				<input type="hidden" name="uid" value="{$user[''uid'']}" />\n				<input type="hidden" name="pid" value="{$reputation_pid}" />\n				<input type="hidden" name="rid" value="{$rid}" />\n				<input type="hidden" name="nomodal" value="1" />\n				<select name="reputation" id="reputation">\n					{$positive_power}\n					{$neutral_power}\n					{$negative_power}\n				</select>\n				<br /><br />\n				<span class="smalltext">{$lang->user_comments}</span>\n				<br />\n				<input type="text" class="textbox" name="comments" size="35" maxlength="250" value="{$comments}" style="width: 95%" />\n				<br /><br />\n				<div style="text-align: center;">\n					<input type="submit" class="button" value="{$vote_button}" />\n					{$delete_button}\n				</div>\n			</form>\n		</td>\n	</tr>\n</table>\n  </div>\n</div>', -2, '1816', '', [[timestamp]]),
(698, 'reputation_add_delete', '<input type="button" class="button" name="delete" value="{$lang->delete_vote}" onclick="return MyBB.submitReputation({$user[''uid'']}, {$reputation_pid}, 1);" />', -2, '1816', '', [[timestamp]]),
(699, 'reputation_add_error', '<div class="modal">\n	<div style="overflow-y: auto; max-height: 400px;">\n      <table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n	<tr>\n		<td class="trow1" style="padding: 20px">\n			<strong>{$lang->error}</strong><br /><br />\n			   <blockquote>{$message}</blockquote>\n		</td>\n	</tr>\n</table>\n  </div>\n</div>', -2, '1800', '', [[timestamp]]),
(700, 'reputation_add_error_nomodal', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n	<tr>\n		<td class="trow1" style="padding: 20px">\n			<strong>{$lang->error}</strong><br /><br />\n			   <blockquote>{$message}</blockquote>\n		</td>\n	</tr>\n</table>', -2, '1800', '', [[timestamp]]),
(701, 'reputation_add_negative', '					<option value="{$neg_value}" class="reputation_negative" onclick="$(''#reputation'').attr(''class'', ''reputation_negative'');"{$vote_check[$neg_value]}>{$negative_title}</option>', -2, '1809', '', [[timestamp]]),
(702, 'reputation_add_neutral', '					<option value="0" class="reputation_neutral" onclick="$(''#reputation'').attr(''class'', ''reputation_neutral'');"{$vote_check[0]}>{$lang->power_neutral}</option>', -2, '1809', '', [[timestamp]]),
(703, 'reputation_add_positive', '					<option value="{$value}" class="reputation_positive" onclick="$(''#reputation'').attr(''class'', ''reputation_positive'');"{$vote_check[$value]}>{$positive_title}</option>\n{$positive_power}', -2, '1809', '', [[timestamp]]),
(704, 'reputation_added', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n	<tr>\n		<td class="trow1" style="padding: 20px">\n			<strong>{$lang->vote_added}</strong><br /><br />\n			   <blockquote>{$lang->vote_added_message}</blockquote>\n		</td>\n	</tr>\n</table>', -2, '1800', '', [[timestamp]]),
(705, 'reputation_addlink', '<div class="float_right" style="padding-bottom: 4px;"><a href="javascript:void(0)" onclick="MyBB.reputation({$user[''uid'']}); return false;" class="button rate_user_button"><span>{$lang->rate_user}</span></a></div>', -2, '1809', '', [[timestamp]]),
(706, 'reputation_deleted', '\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n	<tr>\n		<td class="trow1" style="padding: 20px">\n			<strong>{$lang->vote_deleted}</strong><br /><br />\n			   <blockquote>{$lang->vote_deleted_message}</blockquote>\n		</td>\n	</tr>\n</table>', -2, '1800', '', [[timestamp]]),
(707, 'reputation_no_votes', '<tr>\n	<td class="trow1" style="text-align: center;">{$lang->no_reputation_votes}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(708, 'reputation_vote', '<tr>\n	<td class="trow1 {$status_class}" id="rid{$reputation_vote[''rid'']}">\n		{$report_link}{$delete_link}\n		{$reputation_vote[''username'']} <span class="smalltext">{$reputation_vote[''user_reputation'']} - {$last_updated}<br />{$postrep_given}</span>\n		<br />\n		<strong class="{$vote_type_class}">{$vote_type} {$vote_reputation}:</strong> {$reputation_vote[''comments'']}\n	</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(709, 'reputation_vote_delete', '		<div class="float_right postbit_buttons">\n			<a href="reputation.php?action=delete&amp;uid={$reputation_vote[''rated_uid'']}&amp;rid={$reputation_vote[''rid'']}&amp;my_post_key={$mybb->post_code}" onclick="MyBB.deleteReputation({$reputation_vote[''rated_uid'']}, {$reputation_vote[''rid'']}); return false;" class="postbit_qdelete"><span>{$lang->delete_vote}</span></a>\n		</div>\n		', -2, '1800', '', [[timestamp]]),
(710, 'reputation_vote_report', '		<div class="float_right postbit_buttons">\n			<a href="javascript:void(0)" onclick="Report.reportReputation({$reputation_vote[''rid'']}); return false;" class="postbit_report"><span>{$lang->report_vote}</span></a>\n		</div>\n		', -2, '1809', '', [[timestamp]]),
(711, 'search', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->search}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="search.php">\n<input type="hidden" name="action" value="do_search" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td colspan="2" class="thead"><strong>{$lang->search}</strong></td>\n</tr>\n<tr>\n<td class="tcat" width="50%"><strong>{$lang->search_keyword}</strong></td>\n<td class="tcat" width="50%"><strong>{$lang->search_username}</strong></td>\n</tr>\n<tr>\n<td class="trow1">\n<table><tr>\n<td valign="top"><input type="text" class="textbox" name="keywords" size="35" maxlength="250" /></td>\n</tr>\n<tr>\n<td>\n<span class="smalltext"><input type="radio" class="radio" name="postthread" value="1" checked="checked" />{$lang->search_entire_post}<br /><input type="radio" class="radio" name="postthread" value="2" />{$lang->search_titles_only}</span></td>\n</tr></table>\n</td>\n<td class="trow1">\n<input type="text" class="textbox" id="author" name="author" size="35" maxlength="{$mybb->settings[''maxnamelength'']}" /><br /><span class="smalltext"><input type="checkbox" class="checkbox" name="matchusername" value="1" checked="checked" /> {$lang->match_username}</span>\n</td>\n</tr>\n<tr>\n<td class="tcat"><strong>{$lang->search_forums}</strong></td>\n<td class="tcat"><strong>{$lang->search_options}</strong></td>\n</tr>\n<tr>\n<td class="trow1 no_bottom_border" rowspan="{$rowspan}">{$srchlist}</td>\n<td class="trow1">\n<select name="findthreadst">\n<option value="1">{$lang->threads_at_least}</option>\n<option value="2">{$lang->threads_at_most}</option>\n</select> <input type="text" class="textbox" name="numreplies" size="2" maxlength="4" />&nbsp;{$lang->replies2}<br />\n<br />\n<select name="postdate">\n<option value="0">{$lang->find_anydate}</option>\n<option value="1">{$lang->find_yesterday}</option>\n<option value="7">{$lang->find_lastweek}</option>\n<option value="14">{$lang->find_2weeks}</option>\n<option value="30">{$lang->find_month}</option>\n<option value="90">{$lang->find_3months}</option>\n<option value="180">{$lang->find_6months}</option>\n<option value="365">{$lang->find_year}</option>\n</select>&nbsp;&nbsp; <input type="radio" class="radio" name="pddir" value="1" checked="checked" />{$lang->and_newer}  <input type="radio" class="radio" name="pddir" value="0" />{$lang->and_older}<br />\n<br />\n{$prefixselect}\n</td>\n</tr>\n<tr>\n<td class="tcat"><strong>{$lang->sorting_options}</strong></td>\n</tr>\n<tr>\n<td class="trow1">\n<select name="sortby">\n<option value="lastpost">{$lang->sort_lastpost}</option>\n<option value="starter">{$lang->sort_author}</option>\n<option value="forum">{$lang->sort_forum}</option>\n<option value="views">{$lang->sort_views}</option>\n<option value="replies">{$lang->sort_replies}</option>\n</select> {$lang->sort_in} <input type="radio" class="radio" name="sortordr" value="asc" />{$lang->sort_asc} <input type="radio" class="radio" name="sortordr" value="desc" checked="checked" />{$lang->sort_desc} {$lang->sort_order}\n</td>\n</tr>\n<tr>\n<td class="tcat"><strong>{$lang->display_options}</strong></td>\n</tr>\n<tr>\n<td class="trow1">{$lang->show_results_as} <input type="radio" class="radio" name="showresults" value="threads" checked="checked" />{$lang->show_results_threads} <input type="radio" class="radio" name="showresults" value="posts" />{$lang->show_results_posts}</td>\n</tr>\n{$moderator_options}\n</table>\n<div align="center"><br /><input type="submit" class="button" name="submit" value="{$lang->search}" /></div>\n</form>\n{$footer}\n<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n<script type="text/javascript">\n<!--\nif(use_xmlhttprequest == "1")\n{\n	MyBB.select2();\n	$("#author").select2({\n		placeholder: "{$lang->search_user}",\n		minimumInputLength: 2,\n		multiple: false,\n		allowClear: true,\n		ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n			url: "xmlhttp.php?action=get_users",\n			dataType: ''json'',\n			data: function (term, page) {\n				return {\n					query: term, // search term\n				};\n			},\n			results: function (data, page) { // parse the results into the format expected by Select2.\n				// since we are using custom formatting functions we do not need to alter remote JSON data\n				return {results: data};\n			}\n		},\n		initSelection: function(element, callback) {\n			var value = $(element).val();\n			if (value !== "") {\n				callback({\n					id: value,\n					text: value\n				});\n			}\n		},\n	});\n}\n// -->\n</script>\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(712, 'search_forumlist', '<select name="forums[]" size="20" multiple="multiple">\n<option value="all" selected="selected">{$lang->search_all_forums}</option>\n<option value="all">----------------------</option>\n{$forumlistbits}\n</select>', -2, '1800', '', [[timestamp]]),
(713, 'search_forumlist_forum', '<option value="{$forum[''fid'']}">{$depth} {$forum[''name'']}</option>', -2, '1800', '', [[timestamp]]),
(714, 'search_moderator_options', '<tr>\n<td class="tcat"><strong>{$lang->mod_options}</strong></td>\n</tr>\n<tr>\n<td class="trow1" valign="top">\n<select name="visible">\n<option value="">{$lang->display_all}</option>\n<option value="1">{$lang->display_only_approved}</option>\n<option value="0">{$lang->display_only_unapproved}</option>\n<option value="-1">{$lang->display_only_softdeleted}</option>\n</select> {$lang->results}\n</td>\n</tr>', -2, '1801', '', [[timestamp]]),
(715, 'search_orderarrow', '<span class="smalltext">[<a href="{$sorturl}&amp;sortby={$sortby}&amp;order={$oppsortnext}">{$oppsort}</a>]</span>', -2, '120', '', [[timestamp]]),
(716, 'search_posts_inlinemoderation_selectall', '<tr id="selectAllrow" class="hiddenrow">\n	<td colspan="9" class="selectall">{$lang->page_selected} <a href="javascript:void(0)" onclick=''inlineModeration.selectAll(); return false;''>{$lang->select_all}</a></td>\n</tr>\n<tr id="allSelectedrow" class="hiddenrow">\n	<td colspan="9" class="selectall">{$lang->all_selected} <a href="javascript:void(0)" onclick=''inlineModeration.clearChecked(); return false;''>{$lang->clear_selection}</a></td>\n</tr>', -2, '1809', '', [[timestamp]]),
(717, 'search_results_icon', '<img src="{$posticon[''path'']}" alt="{$posticon[''name'']}" title="{$posticon[''name'']}" />', -2, '1800', '', [[timestamp]]),
(718, 'search_results_inlinemodcol', '<td class="tcat" align="center" width="1"><input type="checkbox" name="allbox" onclick="inlineModeration.checkAll(this);" /></td>', -2, '1809', '', [[timestamp]]),
(719, 'search_results_inlinemodcol_empty', '<td class="tcat" align="center" width="1"></td>', -2, '1813', '', [[timestamp]]),
(720, 'search_results_posts', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->search_results}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" align="center" border="0">\n	<tr>\n		<td align="right" valign="top">{$multipage}</td>\n	</tr>\n</table>\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n	<tr>\n		<td colspan="9" class="thead">\n			<strong>{$lang->search_results}</strong>\n		</td>\n	</tr>\n	<tr>\n		<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->post}</a> {$orderarrow[''subject'']}</strong></span></td>\n		<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow[''starter'']}</strong></span></td>\n		<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=forum&amp;order=asc">{$lang->forum}</a> {$orderarrow[''forum'']}</strong></span></td>\n		<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow[''replies'']}</strong></span></td>\n		<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a></strong> {$orderarrow[''views'']}</span></td>\n		<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=dateline&amp;order=desc">{$lang->posted}</a> {$orderarrow[''dateline'']}</strong></span></td>\n		{$inlinemodcol}\n	</tr>\n	{$selectall}\n	{$results}\n</table>\n<table width="100%" align="center" border="0">\n	<tr>\n		<td align="left" valign="top">{$multipage}</td>\n		<td align="right" valign="top">{$inlinemod}</td>\n	</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1600', '', [[timestamp]]),
(721, 'search_results_posts_forumlink', '<a href="{$post[''forumlink_link'']}">{$post[''forumlink_name'']}</a>', -2, '1808', '', [[timestamp]]),
(722, 'search_results_posts_inlinecheck', '<td class="{$bgcolor}" align="center" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="inlinemod_{$post[''pid'']}" id="inlinemod_{$post[''pid'']}" value="1" style="vertical-align: middle;" {$inlinecheck}  /></td>', -2, '120', '', [[timestamp]]),
(723, 'search_results_posts_inlinemoderation', '<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_moderation.js?ver=1838"></script>\n<form action="moderation.php" method="post" style="margin-top: 0; margin-bottom: 0;">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="tid" value="0" />\n<input type="hidden" name="searchid" value="{$sid}" />\n<input type="hidden" name="modtype" value="inlinepost" />\n<span class="smalltext"><strong>{$lang->inline_post_moderation}</strong></span>\n<select name="action">\n<optgroup label="{$lang->standard_mod_tools}">\n	<option value="multisoftdeleteposts">{$lang->inline_soft_delete_posts}</option>\n	<option value="multirestoreposts">{$lang->inline_restore_posts}</option>\n	<option value="multideleteposts">{$lang->inline_delete_posts}</option>\n	<option value="multimergeposts">{$lang->inline_merge_posts}</option>\n	<option value="multisplitposts">{$lang->inline_split_posts}</option>\n	<option value="multimoveposts">{$lang->inline_move_posts}</option>\n	<option value="multiapproveposts">{$lang->inline_approve_posts}</option>\n	<option value="multiunapproveposts">{$lang->inline_unapprove_posts}</option>\n</optgroup>\n{$customposttools}\n</select>\n<input type="submit" class="button" name="go" value="{$lang->go} ({$inlinecount})" id="inline_go" />&nbsp;\n<input type="button" class="button" onclick="inlineModeration.clearChecked();" value="{$lang->clear}" />\n<input type="hidden" name="url" value="{$return_url}" />\n<input type="hidden" name="inlinetype" value="search" />\n</form>\n<script type="text/javascript">\n<!--\n	var go_text = "{$lang->inline_go}";\n	var all_text = "{$postcount}";\n	var inlineType = "search";\n	var inlineId = "{$sid}";\n// -->\n</script><br />', -2, '1838', '', [[timestamp]]),
(724, 'search_results_posts_inlinemoderation_custom', '<optgroup label="{$lang->custom_mod_tools}">{$customposttools}</optgroup>', -2, '120', '', [[timestamp]]),
(725, 'search_results_posts_inlinemoderation_custom_tool', '<option value="{$tool[''tid'']}">{$tool[''name'']}</option>', -2, '120', '', [[timestamp]]),
(726, 'search_results_posts_nocheck', '<td class="{$bgcolor}" align="center" style="white-space: nowrap">&nbsp;</td>', -2, '120', '', [[timestamp]]),
(727, 'search_results_posts_post', '<tr class="inline_row">\n	<td align="center" class="{$bgcolor}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>\n	<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>\n	<td class="{$bgcolor}">\n		<span class="smalltext">\n			{$lang->post_thread} <a href="{$thread_url}{$highlight}">{$post[''thread_subject'']}</a><br />\n			{$lang->post_subject} <a href="{$post_url}{$highlight}#pid{$post[''pid'']}">{$post[''subject'']}</a>\n		</span><br />\n		<table width="100%"><tr><td><span class="smalltext"><em>{$prev}</em></span></td></tr></table>\n	</td>\n	<td align="center" class="{$bgcolor}">{$post[''profilelink'']}</td>\n	<td class="{$bgcolor}" >{$post[''forumlink'']}</td>\n	<td align="center" class="{$bgcolor}"><a href="{$mybb->settings[''bburl'']}/misc.php?action=whoposted&tid={$post[''tid'']}" onclick="MyBB.whoPosted({$post[''tid'']}); return false;">{$post[''thread_replies'']}</a></td>\n	<td align="center" class="{$bgcolor}">{$post[''thread_views'']}</td>\n	<td class="{$bgcolor}" style="white-space: nowrap; text-align: center;"><span class="smalltext">{$posted}</span></td>\n	{$inline_mod_checkbox}\n</tr>', -2, '1813', '', [[timestamp]]),
(728, 'search_results_threads', '<html>\n		<head>\n		<title>{$mybb->settings[''bbname'']} - {$lang->search_results}</title>\n		{$headerinclude}\n		</head>\n		<body>\n		{$header}\n		<table width="100%" align="center" border="0">\n			<tr>\n				<td align="right" valign="top">{$multipage}</td>\n			</tr>\n		</table>\n		<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n			<tr>\n				<td colspan="8" class="thead">\n					<strong>{$lang->search_results}</strong>\n				</td>\n			</tr>\n			<tr>\n				<td class="tcat" align="center" colspan="3" width="56%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow[''subject'']}</strong> / <strong><a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow[''starter'']}</strong></span></td>\n				<td class="tcat" align="center" width="14%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=forum&amp;order=asc">{$lang->forum}</a> {$orderarrow[''forum'']}</strong></span></td>\n				<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow[''replies'']}</strong></span></td>\n				<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow[''views'']}</strong></span></td>\n				<td class="tcat" align="center" width="200"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow[''lastpost'']}</strong></span></td>\n				{$inlinemodcol}\n			</tr>\n			{$selectall}\n			{$results}\n		</table>\n		{$inline_edit_js}\n		<table width="100%" align="center" border="0">\n			<tr>\n				<td align="left" valign="top">{$multipage}</td>\n				<td align="right" valign="top">{$inlinemod}</td>\n			</tr>\n		</table>\n		{$footer}\n		</body>\n		</html>', -2, '1600', '', [[timestamp]]),
(729, 'search_results_threads_forumlink', '<a href="{$thread[''forumlink_link'']}">{$thread[''forumlink_name'']}</a>', -2, '1808', '', [[timestamp]]),
(730, 'search_results_threads_inlinecheck', '<td class="{$bgcolor}" align="center" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="inlinemod_{$thread[''tid'']}" id="inlinemod_{$thread[''tid'']}" value="1" style="vertical-align: middle;" {$inlinecheck}  /></td>', -2, '120', '', [[timestamp]]),
(731, 'search_results_threads_inlinemoderation', '<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_moderation.js?ver=1838"></script>\n		<form action="moderation.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="fid" value="0" />\n<input type="hidden" name="searchid" value="{$sid}" />\n<input type="hidden" name="modtype" value="inlinethread" />\n<span class="smalltext"><strong>{$lang->inline_thread_moderation}</strong></span>\n<select name="action">\n	<optgroup label="{$lang->standard_mod_tools}">\n		<option value="multiclosethreads">{$lang->close_threads}</option>\n		<option value="multiopenthreads">{$lang->open_threads}</option>\n		<option value="multistickthreads">{$lang->stick_threads}</option>\n		<option value="multiunstickthreads">{$lang->unstick_threads}</option>\n		<option value="multisoftdeletethreads">{$lang->soft_delete_threads}</option>\n		<option value="multirestorethreads">{$lang->restore_threads}</option>\n		<option value="multideletethreads">{$lang->delete_threads}</option>\n		<option value="multimovethreads">{$lang->move_threads}</option>\n		<option value="multiapprovethreads">{$lang->approve_threads}</option>\n		<option value="multiunapprovethreads">{$lang->unapprove_threads}</option>\n	</optgroup>\n	{$customthreadtools}\n</select>\n<input type="submit" class="button" name="go" value="{$lang->inline_go} ({$inlinecount})" id="inline_go" />&nbsp;\n<input type="button" onclick="inlineModeration.clearChecked();" value="{$lang->clear}" class="button" />\n<input type="hidden" name="url" value="{$return_url}" />\n<input type="hidden" name="inlinetype" value="search" />\n</form>\n<script type="text/javascript">\n<!--\n	var go_text = "{$lang->inline_go}";\n	var all_text = "{$threadcount}";\n	var inlineType = "search";\n	var inlineId = ''{$sid}'';\n// -->\n</script>\n<br />', -2, '1838', '', [[timestamp]]),
(732, 'search_results_threads_inlinemoderation_custom', '<optgroup label="{$lang->custom_mod_tools}">{$customthreadtools}</optgroup>', -2, '120', '', [[timestamp]]),
(733, 'search_results_threads_inlinemoderation_custom_tool', '<option value="{$tool[''tid'']}">{$tool[''name'']}</option>', -2, '120', '', [[timestamp]]),
(734, 'search_results_threads_nocheck', '<td class="{$bgcolor}" align="center" style="white-space: nowrap">&nbsp;</td>', -2, '120', '', [[timestamp]]),
(735, 'search_results_threads_thread', '<tr class="inline_row">\n	<td align="center" class="{$bgcolor}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>\n	<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>\n	<td class="{$bgcolor}">\n		{$attachment_count}\n		<div>\n			<span>{$prefix} {$gotounread}{$thread[''threadprefix'']}<a href="{$thread_link}{$highlight}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread[''subject'']}</a>{$thread[''multipage'']}</span>\n			<div class="author smalltext">{$thread[''profilelink'']}</div>\n		</div>\n	</td>\n	<td class="{$bgcolor}">{$thread[''forumlink'']}</td>\n	<td align="center" class="{$bgcolor}"><a href="{$mybb->settings[''bburl'']}/misc.php?action=whoposted&tid={$thread[''tid'']}" onclick="MyBB.whoPosted({$thread[''tid'']}); return false;">{$thread[''replies'']}</a></td>\n	<td align="center" class="{$bgcolor}">{$thread[''views'']}</td>\n	<td class="{$bgcolor}" style="white-space: nowrap">\n		<span class="smalltext">\n			{$lastpostdate}<br />\n			<a href="{$thread[''lastpostlink'']}">{$lang->lastpost}</a>: {$lastposterlink}\n		</span>\n	</td>\n	{$inline_mod_checkbox}\n</tr>', -2, '1813', '', [[timestamp]]),
(736, 'search_threads_inlinemoderation_selectall', '<tr id="selectAllrow" class="hiddenrow">\n	<td colspan="8" class="selectall">{$lang->page_selected} <a href="javascript:void(0)" onclick=''inlineModeration.selectAll(); return false;''>{$lang->select_all}</a></td>\n</tr>\n<tr id="allSelectedrow" class="hiddenrow">\n	<td colspan="8" class="selectall">{$lang->all_selected} <a href="javascript:void(0)" onclick=''inlineModeration.clearChecked(); return false;''>{$lang->clear_selection}</a></td>\n</tr>', -2, '1809', '', [[timestamp]]),
(737, 'showteam', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->forum_team}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$grouplist}\n{$footer}\n</body>\n</html>', -2, '120', '', [[timestamp]]),
(738, 'showteam_moderators', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="5"><strong>{$usergroup[''title'']}</strong></td>\n</tr>\n<tr>\n<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>\n<td class="tcat"><span class="smalltext"><strong>{$modscope}</strong></span></td>\n<td class="tcat"><span class="smalltext"><strong>{$lang->lastvisit}</strong></span></td>\n<td class="tcat"><span class="smalltext"><strong>{$lang->email}</strong></span></td>\n<td class="tcat"><span class="smalltext"><strong>{$lang->pm}</strong></span></td>\n</tr>\n{$modrows}\n</table>\n<br />', -2, '1816', '', [[timestamp]]),
(739, 'showteam_moderators_forum', '<a href="{$forum_url}">{$forum[''name'']}</a><br />', -2, '1813', '', [[timestamp]]),
(740, 'showteam_moderators_mod', '<tr>\n<td width="45%" class="{$bgcolor}"><img src="{$theme[''imgdir'']}/buddy_{$status}.png" title="{$lang->$status}" alt="{$lang->$status}" style="vertical-align: middle;" /><a href="{$user[''profilelink'']}"><strong>{$user[''username'']}</strong></a></td>\n<td width="30%" class="{$bgcolor}"><span class="smalltext">{$scopelist}</span></td>\n<td width="15%" class="{$bgcolor}"><div class="postbit_buttons">{$user[''lastvisit'']}</div></td>\n<td width="5%" class="{$bgcolor}"><div class="postbit_buttons">{$emailcode}</div></td>\n<td width="5%" class="{$bgcolor}"><div class="postbit_buttons">{$pmcode}</div></td>\n</tr>', -2, '1816', '', [[timestamp]]),
(741, 'showteam_usergroup', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="4"><strong>{$usergroup[''title'']}</strong></td>\n</tr>\n<tr>\n<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>\n<td class="tcat"><span class="smalltext"><strong>{$lang->lastvisit}</strong></span></td>\n<td class="tcat"><span class="smalltext"><strong>{$lang->email}</strong></span></td>\n<td class="tcat"><span class="smalltext"><strong>{$lang->pm}</strong></span></td>\n</tr>\n{$usergrouprows}\n</table>\n<br />', -2, '120', '', [[timestamp]]),
(742, 'showteam_usergroup_user', '<tr>\n<td width="75%" class="{$bgcolor}"><img src="{$theme[''imgdir'']}/buddy_{$status}.png" title="{$lang->$status}" alt="{$lang->$status}" style="vertical-align: middle;" /><a href="{$user[''profilelink'']}"><strong>{$user[''username'']}</strong></a></td>\n<td width="15%" class="{$bgcolor}">{$user[''lastvisit'']}</td>\n<td width="5%" class="{$bgcolor}"><div class="postbit_buttons">{$emailcode}</div></td>\n<td width="5%" class="{$bgcolor}"><div class="postbit_buttons">{$pmcode}</div></td>\n</tr>', -2, '1800', '', [[timestamp]]);
INSERT INTO `[[dbprefix]]templates` VALUES
(743, 'showthread', '<html>\n<head>\n<title>{$thread[''subject'']}</title>\n{$headerinclude}\n<script type="text/javascript">\n<!--\n	var quickdelete_confirm = "{$lang->quickdelete_confirm}";\n	var quickrestore_confirm = "{$lang->quickrestore_confirm}";\n	var allowEditReason = "{$mybb->settings[''alloweditreason'']}";\n	var thread_deleted = "{$thread_deleted}";\n	var visible_replies = "{$thread[''replies'']}";\n	lang.save_changes = "{$lang->save_changes}";\n	lang.cancel_edit = "{$lang->cancel_edit}";\n	lang.quick_edit_update_error = "{$lang->quick_edit_update_error}";\n	lang.quick_reply_post_error = "{$lang->quick_reply_post_error}";\n	lang.quick_delete_error = "{$lang->quick_delete_error}";\n	lang.quick_delete_success = "{$lang->quick_delete_success}";\n	lang.quick_delete_thread_success = "{$lang->quick_delete_thread_success}";\n	lang.quick_restore_error = "{$lang->quick_restore_error}";\n	lang.quick_restore_success = "{$lang->quick_restore_success}";\n	lang.editreason = "{$lang->postbit_editreason}";\n	lang.post_deleted_error = "{$lang->post_deleted_error}";\n	lang.softdelete_thread = "{$lang->soft_delete_thread}";\n	lang.restore_thread = "{$lang->restore_thread}";\n// -->\n</script>\n<!-- jeditable (jquery) -->\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1820"></script>\n<script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1838"></script>\n</head>\n<body>\n	{$header}\n	{$threadnotesbox}\n	{$pollbox}\n	<div class="float_left">\n		{$multipage}\n	</div>\n	<div class="float_right">\n		{$newreply}\n	</div>\n	{$ratethread}\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed clear">\n		<tr>\n			<td class="thead">\n				<div class="float_right">\n					<span class="smalltext"><strong><a href="showthread.php?mode={$thread_toggle}&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->thread_toggle}</a>{$threadnoteslink}</strong></span>\n				</div>\n				<div>\n					<strong>{$thread[''displayprefix'']}{$thread[''subject'']}</strong>\n				</div>\n			</td>\n		</tr>\n<tr><td id="posts_container">\n	<div id="posts">\n		{$posts}\n	</div>\n</td></tr>\n		<tr>\n			<td class="tfoot">\n				{$search_thread}\n				<div>\n					<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>\n				</div>\n			</td>\n		</tr>\n	</table>\n	<div class="float_left">\n		{$multipage}\n	</div>\n	<div style="padding-top: 4px;" class="float_right">\n		{$newreply}\n	</div>\n	<br class="clear" />\n	{$quickreply}\n	{$threadexbox}\n	{$similarthreads}\n	<br />\n	<div class="float_left">\n		<ul class="thread_tools">\n			{$printthread}\n			{$sendthread}\n			{$addremovesubscription}\n			{$addpoll}\n		</ul>\n	</div>\n\n	<div class="float_right" style="text-align: right;">\n		{$moderationoptions}\n		{$forumjump}\n	</div>\n	<br class="clear" />\n	{$usersbrowsing}\n	{$footer}\n	<script type="text/javascript">\n		var thread_deleted = "{$thread_deleted}";\n		if(thread_deleted == "1")\n		{\n			$("#quick_reply_form, .new_reply_button, .thread_tools, .inline_rating").hide();\n			$("#moderator_options_selector option.option_mirage").attr("disabled","disabled");\n		}\n	</script>\n</body>\n</html>', -2, '1838', '', [[timestamp]]),
(744, 'showthread_add_poll', '<li class="poll"><a href="polls.php?action=newpoll&amp;tid={$tid}">{$lang->add_poll_to_thread}</a></li>', -2, '1800', '', [[timestamp]]),
(745, 'showthread_classic_header', '<tr>\n			<td class="tcat" width="15%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>\n			<td class="tcat"><span class="smalltext"><strong>{$lang->message}</strong></span></td>\n		</tr>\n		', -2, '1400', '', [[timestamp]]),
(746, 'showthread_inlinemoderation', '<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_moderation.js?ver=1838"></script>\n<form action="moderation.php" method="post" style="margin-top: 0; margin-bottom: 0;" id="inlinemoderation_options">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="tid" value="{$tid}" />\n<input type="hidden" name="modtype" value="inlinepost" />\n<span class="smalltext"><strong>{$lang->inline_post_moderation}</strong></span>\n<select name="action" id="inlinemoderation_options_selector">\n	<option value="" style="display: none;" selected="selected">{$lang->select_a_tool}</option>\n{$standardposttools}\n{$customposttools}\n</select>\n<input type="submit" class="button" name="go" value="{$lang->go} ({$inlinecount})" id="inline_go" />&nbsp;\n<input type="button" class="button" onclick="inlineModeration.clearChecked();" value="{$lang->clear}" />\n</form>\n<script type="text/javascript">\n<!--\n	var go_text = "{$lang->inline_go}";\n	var all_text = "{$threadcount}";\n	var inlineType = "thread";\n	var inlineId = {$tid};\n	lang.select_tool = "{$lang->inline_no_tool_selected}";\n	lang.selected_nil = "{$lang->inline_no_post_selected}";\n// -->\n</script><br />', -2, '1838', '', [[timestamp]]),
(747, 'showthread_inlinemoderation_approve', '<option value="multiapproveposts">{$lang->inline_approve_posts}</option>\n<option value="multiunapproveposts">{$lang->inline_unapprove_posts}</option>', -2, '1800', '', [[timestamp]]),
(748, 'showthread_inlinemoderation_custom', '<optgroup label="{$lang->custom_mod_tools}">{$customposttools}</optgroup>', -2, '120', '', [[timestamp]]),
(749, 'showthread_inlinemoderation_custom_tool', '<option value="{$tool[''tid'']}">{$tool[''name'']}</option>', -2, '120', '', [[timestamp]]),
(750, 'showthread_inlinemoderation_delete', '<option value="multideleteposts">{$lang->inline_delete_posts}</option>', -2, '1800', '', [[timestamp]]),
(751, 'showthread_inlinemoderation_manage', '<option value="multimergeposts">{$lang->inline_merge_posts}</option>\n<option value="multisplitposts">{$lang->inline_split_posts}</option>\n<option value="multimoveposts">{$lang->inline_move_posts}</option>', -2, '1800', '', [[timestamp]]),
(752, 'showthread_inlinemoderation_restore', '<option value="multirestoreposts">{$lang->inline_restore_posts}</option>', -2, '1800', '', [[timestamp]]),
(753, 'showthread_inlinemoderation_standard', '<optgroup label="{$lang->standard_mod_tools}">\n	{$inlinemodsoftdelete}\n	{$inlinemodrestore}\n	{$inlinemoddelete}\n	{$inlinemodmanage}\n	{$inlinemodapprove}\n</optgroup>', -2, '1800', '', [[timestamp]]),
(754, 'showthread_inlinemoderation_softdelete', '<option value="multisoftdeleteposts">{$lang->inline_soft_delete_posts}</option>', -2, '1800', '', [[timestamp]]),
(755, 'showthread_moderationoptions', '{$inlinemod}\n<form action="moderation.php" method="post" style="margin-top: 0; margin-bottom: 0;" id="moderator_options">\n	<input type="hidden" name="modtype" value="thread" />\n	<input type="hidden" name="tid" value="{$tid}" />\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<span class="smalltext">\n	<strong>{$lang->moderation_options}</strong></span>\n	<select name="action" id="moderator_options_selector">\n		<option value="" style="display: none;" selected="selected">{$lang->select_a_tool}</option>\n		<option value="delayedmoderation">{$lang->delayed_moderation}</option>\n		{$standardthreadtools}\n		{$customthreadtools}\n	</select>\n	{$gobutton}\n</form>\n<br />', -2, '1838', '', [[timestamp]]),
(756, 'showthread_moderationoptions_approve', '<option class="option_mirage" value="approvethread">{$lang->approve_thread}</option>', -2, '1818', '', [[timestamp]]),
(757, 'showthread_moderationoptions_custom', '<optgroup label="{$lang->custom_mod_tools}">{$customthreadtools}</optgroup>', -2, '120', '', [[timestamp]]),
(758, 'showthread_moderationoptions_custom_tool', '<option class="option_mirage" value="{$tool[''tid'']}">{$tool[''name'']}</option>', -2, '1818', '', [[timestamp]]),
(759, 'showthread_moderationoptions_delete', '<option value="deletethread">{$lang->delete_thread}</option>', -2, '1800', '', [[timestamp]]),
(760, 'showthread_moderationoptions_deletepoll', '<option class="option_mirage" value="deletepoll">{$lang->delete_poll}</option>', -2, '1818', '', [[timestamp]]),
(761, 'showthread_moderationoptions_manage', '<option class="option_mirage" value="move">{$lang->move_thread}</option>\n<option class="option_mirage" value="split">{$lang->split_thread}</option>\n<option class="option_mirage" value="merge">{$lang->merge_threads}</option>\n<option class="option_mirage" value="removeredirects">{$lang->remove_redirects}</option>\n<option class="option_mirage" value="removesubscriptions">{$lang->remove_subscriptions}</option>', -2, '1818', '', [[timestamp]]),
(762, 'showthread_moderationoptions_openclose', '<option class="option_mirage" value="openclosethread">{$lang->open_close_thread}</option>', -2, '1818', '', [[timestamp]]),
(763, 'showthread_moderationoptions_restore', '<option value="restorethread">{$lang->restore_thread}</option>', -2, '1804', '', [[timestamp]]),
(764, 'showthread_moderationoptions_softdelete', '<option value="softdeletethread">{$lang->soft_delete_thread}</option>', -2, '1804', '', [[timestamp]]),
(765, 'showthread_moderationoptions_standard', '<optgroup label="{$lang->standard_mod_tools}">\n{$threadnotes}\n{$openclosethread}\n{$softdeletethread}\n{$deletethread}\n{$adminpolloptions}\n{$stickunstickthread}\n{$managethread}\n{$approveunapprovethread}\n</optgroup>', -2, '1800', '', [[timestamp]]),
(766, 'showthread_moderationoptions_stickunstick', '<option class="option_mirage" value="stick">{$lang->stick_unstick_thread}</option>', -2, '1818', '', [[timestamp]]),
(767, 'showthread_moderationoptions_threadnotes', '<option value="threadnotes">{$lang->thread_notes}</option>', -2, '1838', '', [[timestamp]]),
(768, 'showthread_moderationoptions_unapprove', '<option class="option_mirage" value="unapprovethread">{$lang->unapprove_thread}</option>', -2, '1818', '', [[timestamp]]),
(769, 'showthread_newreply', '<a href="newreply.php?tid={$tid}" class="button new_reply_button"><span>{$lang->new_reply}</span></a>&nbsp;', -2, '1800', '', [[timestamp]]),
(770, 'showthread_newreply_closed', '<a href="newreply.php?tid={$tid}" class="button closed_button"><span>{$lang->thread_closed}</span></a>&nbsp;', -2, '1800', '', [[timestamp]]),
(771, 'showthread_newthread', '<a href="newthread.php?fid={$fid}" class="button new_thread_button"><span>{$lang->post_thread}</span></a>&nbsp;', -2, '1800', '', [[timestamp]]),
(772, 'showthread_poll', '<form action="polls.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="vote" />\n<input type="hidden" name="pid" value="{$poll[''pid'']}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<colgroup>\n<col style="width: 3%;" />\n</colgroup>\n<tr>\n<td colspan="2" class="thead" style="text-align: center;"><strong>{$lang->poll} {$poll[''question'']}</strong></td>\n</tr>\n{$polloptions}\n</table>\n<table style="width: 100%; text-align: center;">\n<tr>\n<td style="text-align: left;"><input type="submit" class="button" value="{$lang->vote}" /></td>\n<td style="vertical-align: top; text-align: right;"><span class="smalltext">[<a href="polls.php?action=showresults&amp;pid={$poll[''pid'']}">{$lang->show_results}</a>{$edit_poll}]</span></td>\n</tr>\n<tr>\n<td colspan="2"><span class="smalltext">{$closeon}</span></td>\n</tr>\n<tr>\n<td colspan="2"><span class="smalltext">{$publicnote}</span></td>\n</tr>\n</table>\n</form>', -2, '1800', '', [[timestamp]]),
(773, 'showthread_poll_editpoll', ' | <a href="polls.php?action=editpoll&amp;pid={$poll[''pid'']}">{$lang->edit_poll}</a>', -2, '1800', '', [[timestamp]]),
(774, 'showthread_poll_option', '<tr>\n<td class="trow1" style="text-align: center;"><input type="radio" class="radio" name="option" id="option_{$number}" value="{$number}" /></td>\n<td class="trow2 scaleimages">{$option}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(775, 'showthread_poll_option_multiple', '<tr>\n<td class="trow1" style="text-align: center;"><input type="checkbox" class="checkbox" name="option[{$number}]" id="option_{$number}" value="1" /></td>\n<td class="trow2 scaleimages">{$option}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(776, 'showthread_poll_resultbit', '<tr>\n<td class="{$optionbg} scaleimages" style="text-align: right;">{$option}{$votestar}</td>\n<td class="{$optionbg}"><div class="pollbar" style="width: {$imagewidth}%" title="{$percent}%"><span class="percent">{$percent}%</span></div></td>\n<td class="{$optionbg}" style="text-align: center;">{$votes}</td>\n<td class="{$optionbg}" style="text-align: center;">{$percent}%</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(777, 'showthread_poll_results', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<colgroup>\n<col style="width: 35%" />\n<col style="width: 50%" />\n<col style="width: 7%" />\n</colgroup>\n<tr>\n<td class="thead" colspan="4" style="text-align: center;"><strong>{$lang->poll} {$poll[''question'']}</strong><br /><span class="smalltext">{$pollstatus}{$undovote}</span></td>\n</tr>\n{$polloptions}\n<tr>\n<td class="tfoot" colspan="2" style="text-align: right;"><strong>{$lang->total}</strong></td>\n<td class="tfoot" style="text-align: center;"><strong>{$lang->total_votes}</strong></td>\n<td class="tfoot" style="text-align: center;"><strong>{$totpercent}</strong></td>\n</tr>\n</table>\n<table cellspacing="0" cellpadding="2" border="0" style="width: 100%; text-align: center;">\n<tr>\n<td style="text-align: left;"><span class="smalltext">{$lang->you_voted}</span></td>\n<td style="text-align: right;"><span class="smalltext">[<a href="polls.php?action=showresults&amp;pid={$poll[''pid'']}">{$lang->show_results}</a>{$edit_poll}]</span></td>\n</tr>\n</table>\n<br />', -2, '1815', '', [[timestamp]]),
(778, 'showthread_poll_undovote', ' [<a href="polls.php?action=do_undovote&amp;pid={$poll[''pid'']}&amp;my_post_key={$mybb->post_code}">{$lang->undo_vote}</a>]', -2, '1800', '', [[timestamp]]),
(779, 'showthread_printthread', '<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>', -2, '1818', '', [[timestamp]]),
(780, 'showthread_quickreply', '\n<div id="quickreply_spinner" class="showthread_spinner" style="display: none"><img src="{$theme[''imgdir'']}/spinner.gif" /></div>\n<br />\n{$moderation_notice}\n<form method="post" action="newreply.php?tid={$tid}&amp;processed=1" name="quick_reply_form" id="quick_reply_form">\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<input type="hidden" name="subject" value="RE: {$reply_subject}" />\n	<input type="hidden" name="action" value="do_newreply" />\n	<input type="hidden" name="posthash" value="{$posthash}" id="posthash" />\n	<input type="hidden" name="quoted_ids" value="" id="quoted_ids" />\n	<input type="hidden" name="lastpid" id="lastpid" value="{$last_pid}" />\n	<input type="hidden" name="from_page" value="{$page}" />\n	<input type="hidden" name="tid" value="{$tid}" />\n	<input type="hidden" name="method" value="quickreply" />\n\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<thead>\n			<tr>\n				<td class="thead{$collapsedthead[''quickreply'']}" colspan="2">\n					<div class="expcolimage"><img src="{$theme[''imgdir'']}/collapse{$collapsedimg[''quickreply'']}.png" id="quickreply_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>\n					<div><strong>{$lang->quick_reply}</strong></div>\n				</td>\n			</tr>\n		</thead>\n		<tbody style="{$collapsed[''quickreply_e'']}" id="quickreply_e">\n			<tr>\n				<td class="{$trow}" valign="top" width="22%">\n					<strong>{$lang->message}</strong><br />\n					<span class="smalltext">{$lang->message_note}<br /><br />\n					{$option_signature}\n					<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" />&nbsp;<strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span>\n				</td>\n				<td class="{$trow}">\n					<div style="width: 95%">\n						<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>\n					</div>\n					<div class="editor_control_bar" style="width: 95%; padding: 4px; margin-top: 3px; display: none;" id="quickreply_multiquote">\n						<span class="smalltext">\n							{$lang->quickreply_multiquote_selected} <a href="./newreply.php?tid={$tid}&amp;load_all_quotes=1" onclick="return Thread.loadMultiQuoted();">{$lang->quickreply_multiquote_now}</a> {$lang->or} <a href="javascript:void(0)" onclick="Thread.clearMultiQuoted(); return false;">{$lang->quickreply_multiquote_deselect}</a>.\n						</span>\n					</div>\n				</td>\n			</tr>\n			{$captcha}\n			<tr>\n				<td colspan="2" align="center" class="tfoot"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></td>\n			</tr>\n		</tbody>\n	</table>\n</form>', -2, '1816', '', [[timestamp]]),
(781, 'showthread_quickreply_options_close', '<br /><label><input type="checkbox" class="checkbox" name="modoptions[closethread]" value="1"{$closelinkch} />&nbsp;<strong>{$lang->close_thread}</strong></label>', -2, '1800', '', [[timestamp]]),
(782, 'showthread_quickreply_options_signature', '<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" {$postoptionschecked[''signature'']} />&nbsp;<strong>{$lang->signature}</strong></label><br />', -2, '1800', '', [[timestamp]]),
(783, 'showthread_quickreply_options_stick', '<br /><label><input type="checkbox" class="checkbox" name="modoptions[stickthread]" value="1"{$stickch} />&nbsp;<strong>{$lang->stick_thread}</strong></label>', -2, '1800', '', [[timestamp]]),
(784, 'showthread_ratethread', '<div style="margin-top: 6px; padding-right: 10px;" class="float_right">\n		<script type="text/javascript">\n		<!--\n			lang.ratings_update_error = "{$lang->ratings_update_error}";\n		// -->\n		</script>\n		<script type="text/javascript" src="{$mybb->asset_url}/jscripts/rating.js?ver=1821"></script>\n		<div class="inline_rating">\n			<strong class="float_left" style="padding-right: 10px;">{$lang->thread_rating}</strong>\n			<ul class="star_rating{$not_rated}" id="rating_thread_{$thread[''tid'']}">\n				<li style="width: {$thread[''width'']}%" class="current_rating" id="current_rating_{$thread[''tid'']}">{$ratingvotesav}</li>\n				<li><a class="one_star" title="{$lang->one_star}" href="./ratethread.php?tid={$thread[''tid'']}&amp;rating=1&amp;my_post_key={$mybb->post_code}">1</a></li>\n				<li><a class="two_stars" title="{$lang->two_stars}" href="./ratethread.php?tid={$thread[''tid'']}&amp;rating=2&amp;my_post_key={$mybb->post_code}">2</a></li>\n				<li><a class="three_stars" title="{$lang->three_stars}" href="./ratethread.php?tid={$thread[''tid'']}&amp;rating=3&amp;my_post_key={$mybb->post_code}">3</a></li>\n				<li><a class="four_stars" title="{$lang->four_stars}" href="./ratethread.php?tid={$thread[''tid'']}&amp;rating=4&amp;my_post_key={$mybb->post_code}">4</a></li>\n				<li><a class="five_stars" title="{$lang->five_stars}" href="./ratethread.php?tid={$thread[''tid'']}&amp;rating=5&amp;my_post_key={$mybb->post_code}">5</a></li>\n			</ul>\n		</div>\n</div>', -2, '1821', '', [[timestamp]]),
(785, 'showthread_search', '	<div class="float_right">\n		<form action="search.php" method="post">\n			<input type="hidden" name="action" value="thread" />\n			<input type="hidden" name="tid" value="{$thread[''tid'']}" />\n			<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == ''{$lang->enter_keywords}'') { this.value = ''''; }" onblur="if(this.value=='''') { this.value=''{$lang->enter_keywords}''; }" class="textbox" size="25" />\n			<input type="submit" class="button" value="{$lang->search_thread}" />\n		</form>\n	</div>', -2, '1400', '', [[timestamp]]),
(786, 'showthread_send_thread', '<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>', -2, '1800', '', [[timestamp]]),
(787, 'showthread_similarthreads', '<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" align="center" colspan="6"><strong>{$lang->similar_threads}</strong></td>\n</tr>\n<tr>\n<td class="tcat" align="center" colspan="2"><span class="smalltext"><strong>{$lang->thread}</strong></span></td>\n<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->author}</strong></span></td>\n<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->replies}</strong></span></td>\n<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->views}</strong></span></td>\n<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>\n</tr>\n{$similarthreadbits}\n</table>', -2, '120', '', [[timestamp]]),
(788, 'showthread_similarthreads_bit', '<tr>\n	<td align="center" class="{$trow}" width="2%">{$icon}</td>\n	<td class="{$trow}">{$similar_thread[''threadprefix'']}<a href="{$similar_thread[''threadlink'']}">{$similar_thread[''subject'']}</a></td>\n	<td align="center" class="{$trow}">{$similar_thread[''profilelink'']}</td>\n	<td align="center" class="{$trow}"><a href="{$mybb->settings[''bburl'']}/misc.php?action=whoposted&tid={$similar_thread[''tid'']}" onclick="MyBB.whoPosted({$similar_thread[''tid'']}); return false;">{$similar_thread[''replies'']}</a></td>\n	<td align="center" class="{$trow}">{$similar_thread[''views'']}</td>\n	<td class="{$trow}" style="white-space: nowrap">\n		<span class="smalltext">{$lastpostdate}<br />\n		<a href="{$similar_thread[''lastpostlink'']}">{$lang->lastpost}</a>: {$lastposterlink}</span>\n	</td>\n	</tr>', -2, '1813', '', [[timestamp]]),
(789, 'showthread_subscription', '<li class="subscription_{$add_remove_subscription}"><a href="usercp.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>', -2, '1816', '', [[timestamp]]),
(790, 'showthread_threaded_bit', '<div style="margin-left: {$indentsize}px;"><a href="showthread.php?tid={$tid}&amp;pid={$post[''pid'']}&amp;mode=threaded">{$post[''subject'']}</a> <span class="smalltext">- {$lang->by} {$post[''profilelink'']} - {$postdate}</span></div>', -2, '1800', '', [[timestamp]]),
(791, 'showthread_threaded_bitactive', '<div style="margin-left: {$indentsize}px;"><strong>{$post[''subject'']}</strong> <span class="smalltext">- {$lang->by} {$post[''profilelink'']} - {$postdate}</span></div>', -2, '1800', '', [[timestamp]]),
(792, 'showthread_threadedbox', '<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><span class="smalltext"><strong>{$lang->messages_in_thread}</strong></span></td>\n</tr>\n<tr>\n<td class="trow1">{$threadedbits}</td>\n</tr>\n</table>', -2, '120', '', [[timestamp]]),
(793, 'showthread_threadnotes', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<thead>\n<tr>\n	<td class="thead{$collapsedthead[''threadnotes'']}">\n		<div class="expcolimage"><img src="{$theme[''imgdir'']}/collapse{$collapsedimg[''threadnotes'']}.png" id="threadnotes_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>\n		<div><span class="smalltext"><strong>{$lang->view_thread_notes}</strong></span></div>\n	</td>\n</tr>\n</thead>\n<tbody style="{$collapsed[''threadnotes_e'']}" id="threadnotes_e">\n<tr>\n	<td class="trow1">\n		{$thread[''notes'']}\n	</td>\n</tr>\n</tbody>\n</table>\n<br />', -2, '1816', '', [[timestamp]]),
(794, 'showthread_threadnotes_viewnotes', '[<a href="javascript:void(0)" onclick="Thread.viewNotes({$thread[''tid'']}); return false;">{$lang->view_all_notes}</a>]', -2, '1809', '', [[timestamp]]),
(795, 'showthread_threadnoteslink', ' | <a href="moderation.php?action=threadnotes&modtype=thread&tid={$thread[''tid'']}">{$lang->view_thread_notes}</a>', -2, '1800', '', [[timestamp]]),
(796, 'showthread_usersbrowsing', '<br />\n<span class="smalltext">{$lang->users_browsing_thread} {$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</span>\n<br />', -2, '1600', '', [[timestamp]]),
(797, 'showthread_usersbrowsing_user', '{$comma}<a href="{$user[''profilelink'']}" title="{$lang->users_browsing_thread_reading} ({$user[''reading'']})">{$user[''username'']}</a>{$invisiblemark}', -2, '1600', '', [[timestamp]]),
(798, 'smilieinsert', '\n<div style="margin:auto; width: 170px; margin-top: 20px;">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder" width="150">\n<tr>\n<td class="thead"><span class="smalltext"><strong>{$lang->smilieinsert}</strong></span></td>\n</tr>\n<tr>\n<td class="trow1">\n<table width="100%" align="center" border="0" cellspacing="0" cellpadding="2" id="clickable_smilies">\n{$smilies}\n</table>\n</td>\n</tr>\n{$getmore}\n</table>\n</div>', -2, '1800', '', [[timestamp]]),
(799, 'smilieinsert_getmore', '<tr>\n  <td class="trow2" align="center"><span class="smalltext"><strong>[<a href="javascript:void(0)" onclick="MyBB.popupWindow(''/misc.php?action=smilies&popup=true&editor=MyBBEditor&modal=1''); return false;">{$lang->smilieinsert_getmore}</a>]</strong></span></td>\n</tr>', -2, '1809', '', [[timestamp]]),
(800, 'smilieinsert_row', '<tr>{$smilie_icons}</tr>', -2, '1808', '', [[timestamp]]),
(801, 'smilieinsert_row_empty', '<tr>{$smilie_icons}<td colspan="{$colspan}">&nbsp;</td></tr>', -2, '1808', '', [[timestamp]]),
(802, 'smilieinsert_smilie', '<td style="text-align: center">{$smilie}</td>', -2, '1800', '', [[timestamp]]),
(803, 'stats', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->board_stats}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->board_stats}</strong></td>\n</tr>\n<tr>\n<td class="tcat" width="50%"><strong>{$lang->totals}</strong></td>\n<td class="tcat" width="50%"><strong>{$lang->averages}</strong></td>\n</tr>\n<tr>\n<td class="trow1" valign="top">\n{$lang->posts} <strong>{$stats[''numposts'']}</strong><br />\n{$lang->threads} <strong>{$stats[''numthreads'']}</strong><br />\n{$lang->members} <strong>{$stats[''numusers'']}</strong>\n</td>\n<td class="trow1" rowspan="3" valign="top">\n{$lang->ppd} <strong>{$postsperday}</strong><br />\n{$lang->tpd} <strong>{$threadsperday}</strong><br />\n{$lang->mpd} <strong>{$membersperday}</strong><br />\n{$lang->ppm} <strong>{$postspermember}</strong><br />\n{$lang->tpm} <strong>{$threadspermember}</strong><br />\n{$lang->rpt} <strong>{$repliesperthread}</strong>\n</td>\n</tr>\n<tr>\n<td class="tcat" valign="top"><strong>{$lang->general}</strong></td>\n</tr>\n<tr>\n<td class="trow1">\n{$lang->newest_member} {$stats[''newest_user'']}<br />\n{$lang->members_posted} <strong>{$havepostedpercent}</strong><br />\n{$lang->todays_top_poster}<br />\n{$lang->popular_forum}<br />\n{$top_referrer}\n</td>\n</tr>\n</table>\n\n\n<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->most_popular}</strong></td>\n</tr>\n<tr>\n<td class="tcat" width="50%"><strong>{$lang->most_replied_threads}</strong></td>\n<td class="tcat" width="50%"><strong>{$lang->most_viewed_threads}</strong></td>\n</tr>\n<tr>\n<td class="trow1" valign="top">{$mostreplies}</td>\n<td class="trow1" valign="top">{$mostviews}</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(804, 'stats_thread', '<a href="{$thread[''threadlink'']}"><strong>{$thread[''subject'']}</strong></a> ({$numberbit} {$numbertype})<br />', -2, '1800', '', [[timestamp]]),
(805, 'stats_topforum', '<a href="{$forum[''link'']}">{$forum[''name'']}</a>', -2, '1808', '', [[timestamp]]),
(806, 'usercp', '<html>\n<head>\n<title>{$lang->user_cp}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="{$colspan}"><strong>{$lang->account_summary}</strong></td>\n</tr>\n<tr>\n{$avatar}\n<td class="trow2">\n<span class="largetext">{$username}</span><br />\n<strong>{$lang->postnum}</strong> <a href="search.php?action=finduser&amp;uid={$mybb->user[''uid'']}">{$mybb->user[''posts'']}</a> {$lang->posts_day}<br />\n{$reputation}\n<strong>{$lang->email}</strong> {$mybb->user[''email'']}<br />\n<strong>{$lang->registration_date}</strong> {$regdate}<br />\n<strong>{$lang->primary_usergroup}</strong> {$usergroup}<br />\n{$referral_info}\n</td>\n</tr>\n</table>\n{$latest_subscribed}\n{$latest_threads}\n{$latest_warnings}\n{$user_notepad}\n</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1600', '', [[timestamp]]),
(807, 'usercp_addsubscription_thread', '<html>\n<head>\n<title>{$lang->subscribe_to_thread}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="usercp.php" method="post" name="input">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="do_addsubscription" />\n<input type="hidden" name="tid" value="{$thread[''tid'']}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->subscribe_to_thread}</strong></td>\n</tr>\n<tr>\n<td class="trow1" valign="top" width="200"><strong>{$lang->notification_method}</strong></td>\n<td class="trow1" valign="top">\n	<table width="100%" border="0" align="center">\n		<tr>\n			<td width="1"><input type="radio" name="notification" id="notification_none" value="0" {$notification_none_checked} /></td>\n			<td><strong><label for="notification_none">{$lang->no_notification}</label></strong><br /><span class="smalltext">{$lang->no_notification_desc}</span></td>\n		</tr>\n		<tr>\n			<td width="1"><input type="radio" name="notification" id="notification_email" value="1" {$notification_email_checked} /></td>\n			<td><strong><label for="notification_email">{$lang->email_notification}</label></strong><br /><span class="smalltext">{$lang->email_notification_desc}</span></td>\n		</tr>\n		<tr>\n			<td width="1"><input type="radio" name="notification" id="notification_pm" value="2" {$notification_pm_checked} /></td>\n			<td><strong><label for="notification_pm">{$lang->pm_notification}</label></strong><br /><span class="smalltext">{$lang->pm_notification_desc}</span></td>\n		</tr>\n	</table>\n</td>\n</tr>\n</table>\n<br />\n<div style="text-align: center;">\n	<input type="submit" class="button" name="submit" value="{$lang->do_subscribe}" tabindex="3" accesskey="s" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1816', '', [[timestamp]]),
(808, 'usercp_attachments', '<html>\n<head>\n	<title>{$mybb->settings[''bbname'']} - {$lang->attachments_manager}</title>\n	{$headerinclude}\n</head>\n<body>\n	{$header}\n	<table width="100%" border="0" align="center">\n		<tr>\n			{$usercpnav}\n			<td valign="top">\n				<form action="usercp.php" method="post" name="attachmentsmanager">\n					<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n						<tr>\n							<td class="thead" colspan="5"><strong>{$lang->attachments_manager} {$usagenote}</strong></td>\n						</tr>\n						<tr>\n							<td class="tcat" colspan="2" width="40%"><span class="smalltext"><strong>{$lang->attachments_attachment}</strong></span></td>\n							<td class="tcat" width="40%"><span class="smalltext"><strong>{$lang->attachments_post}</strong></span></td>\n							<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->date_uploaded}</strong></span></td>\n							<td class="tcat" width="1"><input type="checkbox" name="allbox" class="checkbox checkall" /></td>\n						</tr>\n						{$attachments}\n					</table>\n					<br />\n					{$delete_button}\n				</form>\n				{$multipage}\n				<br />\n				<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n					<tr>\n						<td class="thead" colspan="2"><strong>{$lang->attachments_stats}</strong></td>\n					</tr>\n					<tr>\n						<td class="trow1" width="40%"><strong>{$lang->attachstats_attachs}</strong></td>\n						<td class="trow1" width="60%">{$totalattachments}</td>\n					</tr>\n					<tr>\n						<td class="trow2" width="40%"><strong>{$lang->attachstats_spaceused}</strong></td>\n						<td class="trow2" width="60%">{$friendlyusage}</td>\n					</tr>\n					<tr>\n						<td class="trow1" width="40%"><strong>{$lang->attachstats_quota}</strong></td>\n						<td class="trow1" width="60%">{$attachquota}</td>\n					</tr>\n					<tr>\n						<td class="trow2" width="40%"><strong>{$lang->attachstats_totaldl}</strong></td>\n						<td class="trow2" width="60%">{$totaldownloads}</td>\n					</tr>\n					<tr>\n						<td class="trow1" width="40%"><strong>{$lang->attachstats_bandwidth}</strong></td>\n						<td class="trow1" width="60%">{$bandwidth}</td>\n					</tr>\n				</table>\n			</td>\n		</tr>\n	</table>\n	{$footer}\n</body>\n</html>', -2, '1827', '', [[timestamp]]),
(809, 'usercp_attachments_attachment', '<tr>\n<td class="{$altbg}" width="1">{$icon}</td>\n<td class="{$altbg}" width="40%"><a href="attachment.php?aid={$attachment[''aid'']}" target="_blank">{$attachment[''filename'']}</a><br /><span class="smalltext">{$sizedownloads}</span></td>\n<td class="{$altbg}"><a href="{$attachment[''postlink'']}#pid{$attachment[''pid'']}">{$attachment[''subject'']}</a><br /><span class="smalltext">{$lang->attachment_thread} <a href="{$attachment[''threadlink'']}">{$attachment[''threadsubject'']}</a></span></td>\n<td class="{$altbg}" align="center">{$attachdate}</td>\n<td class="{$altbg}" width="1"><input type="checkbox" class="checkbox" name="attachments[{$attachment[''aid'']}]" value="{$attachment[''aid'']}" /></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(810, 'usercp_attachments_none', '<tr>\n<td class="trow1" align="center" colspan="5">{$lang->no_attachments}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(811, 'usercp_avatar', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->change_avatar}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form enctype="multipart/form-data" action="usercp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n	{$usercpnav}\n	<td valign="top">\n		{$avatar_error}\n		<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n			<tr>\n				<td class="thead" colspan="2"><strong>{$lang->change_avatar}</strong></td>\n			</tr>\n			<tr>\n				<td class="trow1" colspan="2">\n					<table cellspacing="0" cellpadding="0" width="100%">\n						<tr>\n							<td>{$lang->avatar_note}{$avatarmsg}</td>\n							{$currentavatar}\n						</tr>\n					</table>\n				</td>\n			</tr>\n			<tr>\n				<td class="tcat" colspan="2"><strong>{$lang->custom_avatar}</strong></td>\n			</tr>\n			{$avatarupload}\n			{$avatar_remote}\n		</table>\n\n		<br />\n		<div align="center">\n			<input type="hidden" name="action" value="do_avatar" />\n			<input type="submit" class="button" name="submit" value="{$lang->change_avatar}" />\n			{$removeavatar}\n		</div>\n	</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1809', '', [[timestamp]]),
(812, 'usercp_avatar_auto_resize_auto', '<br /><span class="smalltext">{$lang->avatar_auto_resize_note}</span>', -2, '1800', '', [[timestamp]]),
(813, 'usercp_avatar_auto_resize_user', '<br /><span class="smalltext">\n<input type="checkbox" name="auto_resize" value="1" checked="checked" id="auto_resize" />\n<label for="auto_resize">{$lang->avatar_auto_resize_option}</label>\n</span>', -2, '1800', '', [[timestamp]]),
(814, 'usercp_avatar_current', '<td width="150" align="right"><img src="{$useravatar[''image'']}" alt="{$lang->avatar_mine}" title="{$lang->avatar_mine}" {$useravatar[''width_height'']} /></td>', -2, '1800', '', [[timestamp]]),
(815, 'usercp_avatar_remove', '<input type="submit" class="button" name="remove" value="{$lang->remove_avatar}" />', -2, '1800', '', [[timestamp]]),
(816, 'usercp_avatar_upload', '			<tr>\n				<td class="trow1" width="40%">\n					<strong>{$lang->avatar_upload}</strong>\n					<br /><span class="smalltext">{$lang->avatar_upload_note}</span>\n				</td>\n				<td class="trow1" width="60%">\n					<input type="file" name="avatarupload" size="25" class="fileupload" />\n					{$auto_resize}\n				</td>\n			</tr>', -2, '1800', '', [[timestamp]]),
(817, 'usercp_avatar_remote', '			<tr>\n				<td class="trow2" width="40%">\n					<strong>{$lang->avatar_url}</strong>\n					<br /><span class="smalltext">{$lang->avatar_url_note}</span>\n				</td>\n				<td class="trow2" width="60%">\n					<input type="text" class="textbox" name="avatarurl" size="45" value="{$avatarurl}" />\n					<br /><span class="smalltext">{$lang->avatar_url_gravatar}</span>\n				</td>\n			</tr>', -2, '1809', '', [[timestamp]]),
(818, 'usercp_changename', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->change_username}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="usercp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n{$errors}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->change_username}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><strong>{$lang->password_confirmation}</strong></td>\n</tr>\n<tr>\n<td class="trow1" width="40%"><strong>{$lang->current_password}</strong></td>\n<td class="trow1" width="60%"><input type="password" class="textbox" name="password" size="25" /></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><strong>{$lang->change_username}</strong></td>\n</tr>\n<tr>\n<td class="trow2" width="40%"><strong>{$lang->new_username}</strong></td>\n<td class="trow2" width="60%"><input type="text" class="textbox" name="username" size="25" maxlength="{$mybb->settings[''maxnamelength'']}" value="{$username}" /></td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="do_changename" />\n<input type="submit" class="button" name="submit" value="{$lang->update_username}" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1822', '', [[timestamp]]),
(819, 'usercp_currentavatar', '<td class="trow1" valign="top" align="center" width="1"><div class="usercp_container"><img src="{$useravatar[''image'']}" alt="{$avatar_username}" title="{$avatar_username}" {$useravatar[''width_height'']} /></div></td>', -2, '1807', '', [[timestamp]]),
(820, 'usercp_drafts', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->drafts}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="usercp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="4"><strong>{$lang->drafts_count}</strong></td>\n</tr>\n<tr>\n<td width="66%" class="tcat"><span class="smalltext"><strong>{$lang->draft_title}</strong></span></td>\n<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->draft_saved}</strong></span></td>\n<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->draft_options}</strong></span></td>\n<td class="tcat" align="center" width="1"><input type="checkbox" name="allbox" class="checkbox checkall" /></td>\n</tr>\n{$drafts}\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="do_drafts" />\n<input type="submit" class="button" name="draftman" value="{$lang->delete_drafts}" {$disable_delete_drafts} />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1804', '', [[timestamp]]),
(821, 'usercp_drafts_draft', '<tr>\n<td class="{$trow}"><strong>{$draft[''subject'']}</strong><br /><span class="smalltext">{$detail}</span></td>\n<td class="{$trow}" align="center">{$savedate}</td>\n<td class="{$trow}" align="center"><a href="{$editurl}">{$lang->edit_draft}</a></td>\n<td class="{$trow}" align="center"><input type="checkbox" class="checkbox" name="deletedraft[{$id}]" value="{$type}" /></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(822, 'usercp_drafts_draft_forum', '{$lang->forum}: <a href="{$draft[''forumlink'']}">{$draft[''forumname'']}</a>', -2, '1800', '', [[timestamp]]),
(823, 'usercp_drafts_draft_thread', '{$lang->thread}: <a href="{$draft[''threadlink'']}">{$draft[''threadsubject'']}</a>', -2, '1800', '', [[timestamp]]),
(824, 'usercp_drafts_none', '<tr>\n<td class="trow1" colspan="7">{$lang->no_drafts}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(825, 'usercp_editlists_received_request', '<tr>\n	<td class="{$bgcolor}">\n		{$request[''username'']}\n	</td>\n	<td class="{$bgcolor}">\n		{$request[''date'']}\n	</td>\n	<td class="{$bgcolor}">\n		<a href="{$mybb->settings[''bburl'']}/usercp.php?action=acceptrequest&amp;id={$request[''id'']}&amp;my_post_key={$mybb->post_code}">{$lang->accept}</a> - <a href="{$mybb->settings[''bburl'']}/usercp.php?action=declinerequest&amp;id={$request[''id'']}&amp;my_post_key={$mybb->post_code}">{$lang->decline}</a>\n	</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(826, 'usercp_editlists_sent_request', '<tr>\n	<td class="{$bgcolor}">\n		{$request[''username'']}\n	</td>\n	<td class="{$bgcolor}">\n		{$request[''date'']}\n	</td>\n	<td class="{$bgcolor}">\n		<a href="{$mybb->settings[''bburl'']}/usercp.php?action=cancelrequest&amp;id={$request[''id'']}&amp;my_post_key={$mybb->post_code}">{$lang->cancel}</a>\n	</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(827, 'usercp_editlists_no_requests', '<tr>\n	<td class="{$bgcolor}" colspan="3">\n		{$lang->no_requests}\n	</td>\n</tr>', -2, '1800', '', [[timestamp]]);
INSERT INTO `[[dbprefix]]templates` VALUES
(828, 'usercp_editlists', '<html>\n<head>\n	<title>{$mybb->settings[''bbname'']} - {$lang->edit_lists}</title>\n	{$headerinclude}\n	<script type="text/javascript" src="{$mybb->asset_url}/jscripts/usercp.js?ver=1827"></script>\n	<script type="text/javascript">\n		lang.remove_buddy = ''{$lang->confirm_remove_buddy}'';\n		lang.remove_ignored = ''{$lang->confirm_remove_ignored}'';\n		lang.adding_buddy = ''{$lang->adding_buddy}'';\n		lang.adding_ignored = ''{$lang->adding_ignored}'';\n      	lang.buddylist_error = ''{$lang->buddylist_error}'';\n	</script>\n\n  <link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">\n	<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>\n\n</head>\n<body>\n	{$header}\n	<table width="100%" border="0" align="center">\n	<tr>\n		{$usercpnav}\n		<td valign="top">\n\n		<form action="usercp.php" method="post" id="buddy" onsubmit="return UserCP.addBuddy(''buddy'');">\n			<input type="hidden" name="action" value="do_editlists" />\n			<input type="hidden" name="manage" value="buddy" />\n			<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n			<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n				<tr>\n					<td class="thead" align="center"><strong>{$lang->edit_buddy_list}</strong></td>\n				</tr>\n				<tr>\n					<td class="trow1">\n						<fieldset>\n							<legend><strong>{$lang->add_buddies}</strong></legend>\n							<span class="smalltext">{$lang->add_buddies_desc}</span><br />\n							<div class="float_left" style="width: 120px; text-align: right;"><strong>{$lang->username_or_usernames}</strong></div>\n							<div style="margin-left: 130px;"><input type="text" name="add_username" id="buddy_add_username" style="width: 60%;" class="textbox" /> <input type="submit" value="{$lang->add_to_buddies}" id="buddy_submit" class="button" /></div>\n							<script type="text/javascript">\n							<!--\n								if(use_xmlhttprequest == "1")\n								{\n									MyBB.select2();\n									$("#buddy_add_username").select2({\n										placeholder: "{$lang->search_user}",\n										minimumInputLength: 2,\n										maximumSelectionSize: 5,\n										multiple: true,\n										ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n											url: "xmlhttp.php?action=get_users",\n											dataType: ''json'',\n											data: function (term, page) {\n												return {\n													query: term, // search term\n												};\n											},\n											results: function (data, page) { // parse the results into the format expected by Select2.\n												// since we are using custom formatting functions we do not need to alter remote JSON data\n												return {results: data};\n											}\n										},\n										initSelection: function(element, callback) {\n											var query = $(element).val();\n											if (query !== "") {\n												var newqueries = [];\n												exp_queries = query.split(",");\n												$.each(exp_queries, function(index, value ){\n													if(value.replace(/\\s/g, '''') != "")\n													{\n														var newquery = {\n															id: value.replace(/,\\s?/g, ", "),\n															text: value.replace(/,\\s?/g, ", ")\n														};\n														newqueries.push(newquery);\n													}\n												});\n												callback(newqueries);\n											}\n										},\n									});\n                                }\n                            // -->\n							</script>\n						</fieldset>\n						<fieldset id="buddy_container">\n							<legend><strong>{$lang->current_buddies}</strong></legend>\n							<ul id="buddy_list" style="list-style: none;">\n								{$buddy_list}\n							</ul>\n						</fieldset>\n					</td>\n				</tr>\n			</table>\n		</form>\n		<br />\n		<form action="usercp.php" method="post" id="ignored" onsubmit="return UserCP.addBuddy(''ignored'');">\n			<input type="hidden" name="action" value="do_editlists" />\n			<input type="hidden" name="manage" value="ignored" />\n			<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n			<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n				<tr>\n					<td class="thead" align="center"><strong>{$lang->edit_ignore_list}</strong></td>\n				</tr>\n				<tr>\n					<td class="trow1">\n						<fieldset>\n							<legend><strong>{$lang->add_ignored_users}</strong></legend>\n							<span class="smalltext">{$lang->add_ignored_users_desc}</span><br />\n							<div class="float_left" style="width: 120px; text-align: right;"><strong>{$lang->username_or_usernames}</strong></div>\n							<div style="margin-left: 130px;"><input type="text" name="add_username" id="ignored_add_username" style="width: 60%;" class="textbox" /> <input type="submit" value="{$lang->ignore_users}" id="ignored_submit" class="button" /></div>\n							<script type="text/javascript">\n							<!--\n								if(use_xmlhttprequest == "1")\n								{\n									MyBB.select2();\n									$("#ignored_add_username").select2({\n										placeholder: "{$lang->search_user}",\n										minimumInputLength: 2,\n										maximumSelectionSize: 5,\n										multiple: true,\n										ajax: { // instead of writing the function to execute the request we use Select2''s convenient helper\n											url: "xmlhttp.php?action=get_users",\n											dataType: ''json'',\n											data: function (term, page) {\n												return {\n													query: term, // search term\n												};\n											},\n											results: function (data, page) { // parse the results into the format expected by Select2.\n												// since we are using custom formatting functions we do not need to alter remote JSON data\n												return {results: data};\n											}\n										},\n										initSelection: function(element, callback) {\n											var query = $(element).val();\n											if (query !== "") {\n												var newqueries = [];\n												exp_queries = query.split(",");\n												$.each(exp_queries, function(index, value ){\n													if(value.replace(/\\s/g, '''') != "")\n													{\n														var newquery = {\n															id: value.replace(/,\\s?/g, ", "),\n															text: value.replace(/,\\s?/g, ", ")\n														};\n														newqueries.push(newquery);\n													}\n												});\n												callback(newqueries);\n											}\n										},\n									});\n								}\n							// -->\n							</script>\n						</fieldset>\n						<fieldset id="ignored_container">\n							<legend><strong>{$lang->current_ignored_users}</strong></legend>\n							<ul id="ignore_list" style="list-style: none;">\n								{$ignore_list}\n							</ul>\n						</fieldset>\n					</td>\n				</tr>\n			</table>\n		</form>\n          <br />\n          <table border="0" style="width: 100%">\n			<tr>\n				<td style="width: 50%; vertical-align: top" id="receivedrequests">\n					{$received_requests}\n				</td>\n				<td style="width: 50%; vertical-align: top" id="sentrequests">\n					{$sent_requests}\n				</td>\n            </tr>\n          </table>\n		</td>\n	</tr>\n	</table>\n	{$footer}\n</body>\n</html>', -2, '1827', '', [[timestamp]]),
(829, 'usercp_editlists_no_buddies', '<li>{$lang->buddy_list_empty}</li>', -2, '1800', '', [[timestamp]]),
(830, 'usercp_editlists_no_ignored', '<li>{$lang->ignore_list_empty}</li>', -2, '1800', '', [[timestamp]]),
(831, 'usercp_editlists_received_requests', '\n					<table class="tborder" border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}">\n						<thead>\n							<tr>\n								<td class="thead" colspan="3"><strong>{$lang->buddyrequests_received}</strong></td>\n							</tr>\n						</thead>\n						<tbody>\n							<tr>\n								<td class="tcat" width="33%"><strong>{$lang->from}</strong></td>\n								<td class="tcat" width="33%"><strong>{$lang->date}</strong></td>\n								<td class="tcat" width="33%"><strong>{$lang->options}</strong></td>\n							</tr>\n							{$received_rows}\n						</tbody>\n					</table>\n		', -2, '1800', '', [[timestamp]]),
(832, 'usercp_editlists_sent_requests', '\n					<table class="tborder" border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}">\n						<thead>\n							<tr>\n								<td class="thead" colspan="3"><strong>{$lang->buddyrequests_sent}</strong></td>\n							</tr>\n						</thead>\n						<tbody>\n							<tr>\n								<td class="tcat" width="33%"><strong>{$lang->to}</strong></td>\n								<td class="tcat" width="33%"><strong>{$lang->date}</strong></td>\n								<td class="tcat" width="33%"><strong>{$lang->options}</strong></td>\n							</tr>\n							{$sent_rows}\n						</tbody>\n					</table>\n		', -2, '1800', '', [[timestamp]]),
(833, 'usercp_editlists_user', '<li class="float_left" id="{$type}_{$user[''uid'']}" style="width: 33%; list-style: none; margin-bottom: 4px;">\n	<a href="usercp.php?action=do_editlists&amp;my_post_key={$mybb->post_code}&amp;manage={$type}&amp;delete={$user[''uid'']}" onclick="return UserCP.removeBuddy(''{$type}'', {$user[''uid'']});" title="{$lang->remove_from_list}"><img src="{$theme[''imgdir'']}/buddy_delete.png" title="{$lang->remove_from_list}"  alt="{$lang->remove_from_list}" style="vertical-align: middle;" /></a>\n	<img src="{$theme[''imgdir'']}/buddy_{$status}.png" title="{$lang->$status}" alt="" style="vertical-align: middle;" />\n	{$profile_link}\n</li>', -2, '1807', '', [[timestamp]]),
(834, 'usercp_editsig', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->edit_sig}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="usercp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n{$error}\n{$signature}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->edit_sig}</strong></td>\n</tr>\n<tr>\n<td class="trow1" valign="top" width="20%"><span class="smalltext">{$lang->edit_sig_note}</span>\n{$smilieinserter}</td>\n<td class="trow1" width="80%">\n<textarea rows="15" cols="70" id="signature" name="signature">{$sig}</textarea>\n{$codebuttons}\n</td>\n</tr>\n<tr>\n<td class="trow2">\n<span class="smalltext">{$lang->edit_sig_note2}</span>\n</td>\n<td class="trow2">\n<span class="smalltext">\n<label><input type="radio" class="radio" name="updateposts" value="enable" />&nbsp;{$lang->enable_sig_posts}</label><br />\n<label><input type="radio" class="radio" name="updateposts" value="disable" />&nbsp;{$lang->disable_sig_posts}</label><br />\n<label><input type="radio" class="radio" name="updateposts" value="0" checked="checked" />&nbsp;{$lang->leave_sig_settings}</label></span>\n</td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="do_editsig" />\n<input type="submit" class="button" name="submit" value="{$lang->update_sig}" />\n<input type="submit" class="button" name="preview" value="{$lang->preview}" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(835, 'usercp_editsig_current', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<tr>\n<td class="thead"><strong>{$lang->current_sig}</strong></td>\n</tr>\n<tr>\n<td class="trow1 scaleimages">{$sigpreview}</td>\n</tr>\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(836, 'usercp_editsig_preview', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed">\n<tr>\n<td class="thead"><strong>{$lang->sig_preview}</strong></td>\n</tr>\n<tr>\n<td class="trow1 scaleimages">{$sigpreview}</td>\n</tr>\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(837, 'usercp_editsig_suspended', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->edit_sig}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<div class="error">\n	<p><em>{$lang->edit_sig_error_title}</em></p>\n	<ul>\n		<li>{$lang->edit_sig_no_permission}</li>\n	</ul>\n</div>\n<br />\n{$signature}\n</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1600', '', [[timestamp]]),
(838, 'usercp_email', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->change_email}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="usercp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n{$errors}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->change_email}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><strong>{$lang->password_confirmation}</strong></td>\n</tr>\n<tr>\n<td class="trow2" width="40%"><strong>{$lang->current_password}</strong></td>\n<td class="trow1" width="60%"><input type="password" class="textbox" name="password" size="25" /></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><strong>{$lang->please_enter_confirm_new_email}</strong></td>\n</tr>\n<tr>\n<td class="trow2" width="40%"><strong>{$lang->new_email}</strong></td>\n<td class="trow2" width="60%"><input type="text" class="textbox" name="email" size="25" maxlength="150" value="{$email}" /></td>\n</tr>\n<tr>\n<td class="trow1" width="40%"><strong>{$lang->confirm_email}</strong></td>\n<td class="trow1" width="60%"><input type="text" class="textbox" name="email2" size="25" maxlength="150" value="{$email2}" /></td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="do_email" />\n<input type="submit" class="button" name="submit" value="{$lang->update_email}" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(839, 'usercp_forumsubscriptions', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->forum_subscriptions}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="5"><strong>{$lang->forum_subscriptions}</strong></td>\n</tr>\n<tr>\n<td class="tcat" valign="bottom" colspan="2"><span class="smalltext"><strong>{$lang->forum}</strong></span></td>\n<td class="tcat" valign="bottom" style="white-space: nowrap; text-align: center;" width="85"><span class="smalltext"><strong>{$lang->posts}</strong></span></td>\n<td class="tcat" valign="bottom" style="white-space: nowrap; text-align: center;" width="85"><span class="smalltext"><strong>{$lang->threads}</strong></span></td>\n<td class="tcat" valign="bottom" align="center" width="200px"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>\n</tr>\n{$forums}\n</table>\n</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '1600', '', [[timestamp]]),
(840, 'usercp_forumsubscriptions_forum', '<tr>\n<td class="trow1" align="center" valign="middle" width="1"><span class="forum_status forum_{$lightbulb[''folder'']}" title="{$lightbulb[''altonoff'']}"></span></td>\n<td class="trow1" valign="middle">\n<strong><a href="{$forum_url}">{$forum[''name'']}</a></strong><br /><span class="smalltext"><a href="usercp.php?action=removesubscription&amp;type=forum&amp;fid={$forum[''fid'']}&amp;my_post_key={$mybb->post_code}">{$lang->unsubscribe}</a> | <a href="newthread.php?fid={$forum[''fid'']}">{$lang->new_thread}</a></span></td>\n<td class="trow2" valign="middle" style="white-space: nowrap; text-align: center;">{$posts}</td>\n<td class="trow1" valign="middle" style="white-space: nowrap; text-align: center;">{$threads}</td>\n<td class="trow2" valign="middle" style="white-space: nowrap">{$lastpost}</td>\n</tr>', -2, '1820', '', [[timestamp]]),
(841, 'usercp_forumsubscriptions_none', '<tr>\n<td class="trow1" colspan="5">{$lang->no_forum_subscriptions}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(842, 'usercp_latest_subscribed', '<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="6"><div class="float_right"><a href="usercp.php?action=subscriptions"><strong>{$lang->view_all_subscriptions}</strong></a></div><strong>{$lang->new_thread_subscriptions}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="3"><span class="smalltext"><strong>{$lang->thread} / {$lang->author}</strong></span></td>\n<td class="tcat" align="center" width="75"><span class="smalltext"><strong>{$lang->replies}</strong></span></td>\n<td class="tcat" align="center" width="75"><span class="smalltext"><strong>{$lang->views}</strong></span></td>\n<td class="tcat" align="center" width="200"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>\n</tr>\n{$latest_subscribed_threads}\n</table>', -2, '1600', '', [[timestamp]]),
(843, 'usercp_latest_subscribed_threads', '<tr>\n<td align="center" class="{$bgcolor}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>\n<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>\n<td class="{$bgcolor}">{$gotounread}{$thread[''displayprefix'']}<a href="{$thread[''threadlink'']}" class="{$new_class}">{$thread[''subject'']}</a><br /><span class="smalltext">{$thread[''author'']}</span></td>\n<td align="center" class="{$bgcolor}"><a href="{$mybb->settings[''bburl'']}/misc.php?action=whoposted&tid={$thread[''tid'']}" onclick="MyBB.whoPosted({$thread[''tid'']}); return false;">{$thread[''replies'']}</a></td>\n<td align="center" class="{$bgcolor}">{$thread[''views'']}</td>\n<td class="{$bgcolor}" style="white-space: nowrap"><span class="smalltext">{$lastpostdate}\n<br /><a href="{$thread[''lastpostlink'']}">{$lang->lastpost}</a>: {$lastposterlink}</span>\n</td>\n</tr>', -2, '1813', '', [[timestamp]]),
(844, 'usercp_latest_threads', '<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="6"><div class="float_right"><a href="search.php?action=finduserthreads&amp;uid={$mybb->user[''uid'']}"><strong>{$lang->find_all_threads}</strong></a></div><strong>{$lang->latest_threads}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="3"><span class="smalltext"><strong>{$lang->thread} / {$lang->author}</strong></span></td>\n<td class="tcat" align="center" width="75"><span class="smalltext"><strong>{$lang->replies}</strong></span></td>\n<td class="tcat" align="center" width="75"><span class="smalltext"><strong>{$lang->views}</strong></span></td>\n<td class="tcat" align="center" width="200"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>\n</tr>\n{$latest_threads_threads}\n</table>', -2, '1600', '', [[timestamp]]),
(845, 'usercp_latest_threads_threads', '<tr>\n<td align="center" class="{$bgcolor}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>\n<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>\n<td class="{$bgcolor}">{$gotounread}{$thread[''displayprefix'']}<a href="{$thread[''threadlink'']}" class="{$new_class}">{$thread[''subject'']}</a><br /><span class="smalltext">{$thread[''author'']}</span></td>\n<td align="center" class="{$bgcolor}"><a href="{$mybb->settings[''bburl'']}/misc.php?action=whoposted&tid={$thread[''tid'']}" onclick="MyBB.whoPosted({$thread[''tid'']}); return false;">{$thread[''replies'']}</a></td>\n<td align="center" class="{$bgcolor}">{$thread[''views'']}</td>\n<td class="{$bgcolor}" style="white-space: nowrap"><span class="smalltext">{$lastpostdate}\n<br /><a href="{$thread[''lastpostlink'']}">{$lang->lastpost}</a>: {$lastposterlink}</span>\n</td>\n</tr>', -2, '1813', '', [[timestamp]]),
(846, 'usercp_nav', '<td width="{$lang->ucp_nav_width}" valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tbody>\n	<tr>\n		<td class="thead"><strong>{$lang->ucp_nav_menu}</strong></td>\n	</tr>\n	{$ucp_nav_home}\n</tbody>\n{$usercpmenu}\n</table>\n</td>', -2, '1809', '', [[timestamp]]),
(847, 'usercp_nav_attachments', '<tr><td class="trow1 smalltext"><a href="usercp.php?action=attachments" class="usercp_nav_item usercp_nav_attachments">{$lang->ucp_nav_attachments}</a></td></tr>', -2, '1800', '', [[timestamp]]),
(848, 'usercp_nav_changename', '<div><a href="usercp.php?action=changename" class="usercp_nav_item usercp_nav_username">{$lang->ucp_nav_change_username}</a></div>', -2, '1400', '', [[timestamp]]),
(849, 'usercp_nav_editsignature', '<div><a href="usercp.php?action=editsig" class="usercp_nav_item usercp_nav_editsig">{$lang->ucp_nav_edit_sig}</a></div>', -2, '1600', '', [[timestamp]]),
(850, 'usercp_nav_home', '<tr>\n	<td class="trow1 smalltext"><a href="usercp.php" class="usercp_nav_item usercp_nav_home">{$lang->ucp_nav_home}</a></td>\n</tr>', -2, '1809', '', [[timestamp]]),
(851, 'usercp_nav_messenger', '<tbody>\n<tr>\n	<td class="tcat tcat_menu tcat_collapse{$collapsedimg[''usercppms'']}">\n		<div class="expcolimage"><img src="{$theme[''imgdir'']}/collapse{$collapsedimg[''usercppms'']}.png" id="usercppms_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>\n		<div><span class="smalltext"><strong>{$lang->ucp_nav_messenger}</strong></span></div>\n	</td>\n</tr>\n</tbody>\n<tbody style="{$collapsed[''usercppms_e'']}" id="usercppms_e">\n	{$ucp_nav_compose}\n	<tr>\n		<td class="trow1 smalltext">\n			{$folderlinks}\n		</td>\n	</tr>\n	{$ucp_nav_tracking}\n	<tr><td class="trow1 smalltext"><a href="private.php?action=folders" class="usercp_nav_item usercp_nav_pmfolders">{$lang->ucp_nav_edit_folders}</a></td></tr>\n</tbody>', -2, '1816', '', [[timestamp]]),
(852, 'usercp_nav_messenger_compose', '<tr><td class="trow1 smalltext"><a href="private.php?action=send" class="usercp_nav_item usercp_nav_composepm">{$lang->ucp_nav_compose}</a></td></tr>', -2, '1800', '', [[timestamp]]),
(853, 'usercp_nav_messenger_folder', '<div><a href="private.php?fid={$folder_id}" class="usercp_nav_item {$class}">{$folder_name}</a></div>', -2, '1800', '', [[timestamp]]),
(854, 'usercp_nav_messenger_tracking', '<tr><td class="trow1 smalltext"><a href="private.php?action=tracking" class="usercp_nav_item usercp_nav_pmtracking">{$lang->ucp_nav_tracking}</a></td></tr>', -2, '1610', '', [[timestamp]]),
(855, 'usercp_nav_misc', '<tbody>\n<tr>\n	<td class="tcat tcat_menu tcat_collapse{$collapsedimg[''usercpmisc'']}">\n		<div class="expcolimage"><img src="{$theme[''imgdir'']}/collapse{$collapsedimg[''usercpmisc'']}.png" id="usercpmisc_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>\n		<div><span class="smalltext"><strong>{$lang->ucp_nav_misc}</strong></span></div>\n	</td>\n</tr>\n</tbody>\n<tbody style="{$collapsed[''usercpmisc_e'']}" id="usercpmisc_e">\n	<tr><td class="trow1 smalltext"><a href="usercp.php?action=usergroups" class="usercp_nav_item usercp_nav_usergroups">{$lang->ucp_nav_usergroups}</a></td></tr>\n	<tr><td class="trow1 smalltext"><a href="usercp.php?action=editlists" class="usercp_nav_item usercp_nav_editlists">{$lang->ucp_nav_editlists}</a></td></tr>\n	{$attachmentop}\n	<tr><td class="trow1 smalltext"><a href="usercp.php?action=drafts" class="usercp_nav_item usercp_nav_drafts">{$draftcount}</a></td></tr>\n	<tr><td class="trow1 smalltext"><a href="usercp.php?action=subscriptions" class="usercp_nav_item usercp_nav_subscriptions">{$lang->ucp_nav_subscribed_threads}</a></td></tr>\n	<tr><td class="trow1 smalltext"><a href="usercp.php?action=forumsubscriptions" class="usercp_nav_item usercp_nav_fsubscriptions">{$lang->ucp_nav_forum_subscriptions}</a></td></tr>\n	<tr><td class="trow1 smalltext"><a href="{$profile_link}" class="usercp_nav_item usercp_nav_viewprofile">{$lang->ucp_nav_view_profile}</a></td></tr>\n</tbody>', -2, '1816', '', [[timestamp]]),
(856, 'usercp_nav_profile', '<tbody>\n<tr>\n	<td class="tcat tcat_menu tcat_collapse{$collapsedimg[''usercpprofile'']}">\n		<div class="expcolimage"><img src="{$theme[''imgdir'']}/collapse{$collapsedimg[''usercpprofile'']}.png" id="usercpprofile_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>\n		<div><span class="smalltext"><strong>{$lang->ucp_nav_profile}</strong></span></div>\n	</td>\n</tr>\n</tbody>\n<tbody style="{$collapsed[''usercpprofile_e'']}" id="usercpprofile_e">\n	<tr><td class="trow1 smalltext">\n		<div><a href="usercp.php?action=profile" class="usercp_nav_item usercp_nav_profile">{$lang->ucp_nav_edit_profile}</a></div>\n		{$changenameop}\n		<div><a href="usercp.php?action=password" class="usercp_nav_item usercp_nav_password">{$lang->ucp_nav_change_pass}</a></div>\n		<div><a href="usercp.php?action=email" class="usercp_nav_item usercp_nav_email">{$lang->ucp_nav_change_email}</a></div>\n		<div><a href="usercp.php?action=avatar" class="usercp_nav_item usercp_nav_avatar">{$lang->ucp_nav_change_avatar}</a></div>\n		{$changesigop}\n	</td></tr>\n	<tr><td class="trow1 smalltext"><a href="usercp.php?action=options" class="usercp_nav_item usercp_nav_options">{$lang->ucp_nav_edit_options}</a></td></tr>\n</tbody>', -2, '1816', '', [[timestamp]]),
(857, 'usercp_notepad', '<br />\n<form action="usercp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$lang->personal_notepad}</strong></td>\n</tr>\n<tr>\n<td align="center" class="trow1" width="100%">\n<textarea name="notepad" cols="1" rows="10" class="usercp_notepad">{$mybb->user[''notepad'']}</textarea>\n</td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="do_notepad" />\n<input type="submit" class="button" name="submit" value="{$lang->update_notepad}" />\n</div>\n</form>', -2, '1600', '', [[timestamp]]),
(858, 'usercp_options', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->edit_options}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="usercp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n{$errors}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->edit_options}</strong></td>\n</tr>\n<tr>\n<td width="50%" class="trow1" valign="top">\n{$canbeinvisible}\n<fieldset class="trow2">\n<legend><strong>{$lang->messaging_notification}</strong></legend>\n<table cellspacing="0" cellpadding="2">\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="allownotices" id="allownotices" value="1" {$allownoticescheck} /></td>\n<td><span class="smalltext"><label for="allownotices">{$lang->allow_notices}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" {$hideemailcheck} /></td>\n<td><span class="smalltext"><label for="hideemail">{$lang->allow_emails}</label></span></td>\n</tr>\n{$pms}\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="buddyrequestsauto" id="buddyrequestsauto" value="1" {$buddyrequestsautocheck} /></td>\n<td><span class="smalltext"><label for="buddyrequestsauto">{$lang->buddyrequests_auto}</label></span></td>\n</tr>\n<tr>\n<td colspan="2"><span class="smalltext"><label for="subscriptionmethod">{$lang->subscription_method}</label></span></td>\n</tr>\n<tr>\n<td colspan="2">\n	<select name="subscriptionmethod" id="subscriptionmethod">\n		<option value="0" {$no_auto_subscribe_selected}>{$lang->no_auto_subscribe}</option>\n		<option value="1" {$no_subscribe_selected}>{$lang->no_subscribe}</option>\n		<option value="2" {$instant_email_subscribe_selected}>{$lang->instant_email_subscribe}</option>\n		<option value="3" {$instant_pm_subscribe_selected}>{$lang->instant_pm_subscribe}</option>\n	</select>\n</td>\n</tr>\n\n</table>\n</fieldset>\n<br />\n<fieldset class="trow2">\n<legend><strong>{$lang->date_time_options}</strong></legend>\n<table cellspacing="0" cellpadding="2">\n<tr>\n<td><span class="smalltext">{$lang->date_format}</span></td>\n</tr>\n<tr>\n<td>\n<select name="dateformat">\n<option value="0">{$lang->use_default}</option>\n{$date_format_options}\n</select>\n</td>\n</tr>\n<tr>\n<td><span class="smalltext">{$lang->time_format}</span></td>\n</tr>\n<tr>\n<td>\n<select name="timeformat">\n<option value="0">{$lang->use_default}</option>\n{$time_format_options}\n</select>\n</td>\n</tr>\n<tr>\n<td><span class="smalltext">{$lang->time_offset_desc}</span></td>\n</tr>\n<tr>\n<td>{$tzselect}</td>\n</tr>\n<tr>\n<td><span class="smalltext">{$lang->dst_correction}</span></td>\n</tr>\n<tr>\n<td>\n	<select name="dstcorrection">\n		<option value="2" {$dst_auto_selected}>{$lang->dst_correction_auto}</option>\n		<option value="1" {$dst_enabled_selected}>{$lang->dst_correction_enabled}</option>\n		<option value="0" {$dst_disabled_selected}>{$lang->dst_correction_disabled}</option>\n	</select>\n</td>\n</tr>\n</table>\n</fieldset>\n</td>\n<td width="50%" class="trow1" valign="top">\n<fieldset class="trow2">\n<legend><strong>{$lang->forum_display_options}</strong></legend>\n<table cellspacing="0" cellpadding="2">\n{$tppselect}\n<tr>\n<td><span class="smalltext">{$lang->thread_view}</span></td>\n</tr>\n<tr>\n<td>\n<select name="daysprune">\n<option value="">{$lang->use_default}</option>\n<option value="1" {$daysprunesel[''1'']}>{$lang->thread_view_lastday}</option>\n<option value="5" {$daysprunesel[''5'']}>{$lang->thread_view_5days}</option>\n<option value="10" {$daysprunesel[''10'']}>{$lang->thread_view_10days}</option>\n<option value="20" {$daysprunesel[''20'']}>{$lang->thread_view_20days}</option>\n<option value="50" {$daysprunesel[''50'']}>{$lang->thread_view_50days}</option>\n<option value="75" {$daysprunesel[''75'']}>{$lang->thread_view_75days}</option>\n<option value="100" {$daysprunesel[''100'']}>{$lang->thread_view_100days}</option>\n<option value="365" {$daysprunesel[''365'']}>{$lang->thread_view_year}</option>\n<option value="9999" {$daysprunesel[''9999'']}>{$lang->thread_view_all}</option>\n</select>\n</td>\n</tr>\n</table>\n</fieldset>\n<br />\n<fieldset class="trow2">\n<legend><strong>{$lang->thread_view_options}</strong></legend>\n<table cellspacing="0" cellpadding="2">\n	<tr>\n	<td valign="top" width="1"><input type="checkbox" class="checkbox" name="classicpostbit" id="classicpostbit" value="1" {$classicpostbitcheck} /></td>\n	<td><span class="smalltext"><label for="classicpostbit">{$lang->show_classic_postbit}</label></span></td>\n	</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showimages" id="showimages" value="1" {$showimagescheck} /></td>\n<td><span class="smalltext"><label for="showimages">{$lang->show_images}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showvideos" id="showvideos" value="1" {$showvideoscheck} /></td>\n<td><span class="smalltext"><label for="showvideos">{$lang->show_videos}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showsigs" id="showsigs" value="1" {$showsigscheck} /></td>\n<td><span class="smalltext"><label for="showsigs">{$lang->show_sigs}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showavatars" id="showavatars" value="1" {$showavatarscheck} /></td>\n<td><span class="smalltext"><label for="showavatars">{$lang->show_avatars}</label></span></td>\n</tr>\n{$quick_reply}\n{$pppselect}\n<tr>\n<td colspan="2"><span class="smalltext">{$lang->thread_mode}</span></td>\n</tr>\n<tr>\n<td colspan="2"><select name="threadmode"><option value="">{$lang->use_default}</option><option value="linear" {$threadview[''linear'']}>{$lang->linear}</option><option value="threaded" {$threadview[''threaded'']}>{$lang->threaded}</option></select></td>\n</tr>\n</table>\n</fieldset>\n<br />\n<fieldset class="trow2">\n<legend><strong>{$lang->other_options}</strong></legend>\n<table cellspacing="0" cellpadding="2">\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showredirect" id="showredirect" value="1" {$showredirectcheck} /></td>\n<td><span class="smalltext"><label for="showredirect">{$lang->show_redirect}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showcodebuttons" id="showcodebuttons" value="1" {$showcodebuttonscheck} /></td>\n<td><span class="smalltext"><label for="showcodebuttons">{$lang->show_codebuttons}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="sourceeditor" id="sourceeditor" value="1" {$sourcemodecheck} /></td>\n<td><span class="smalltext"><label for="sourceeditor">{$lang->source_editor}</label></span></td>\n</tr>\n{$board_style}\n{$board_language}\n</table>\n</fieldset>\n</td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="do_options" />\n<input type="submit" class="button" name="regsubmit" value="{$lang->update_options}" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1827', '', [[timestamp]]),
(859, 'usercp_options_invisible', '<fieldset class="trow2">\n<legend><strong>{$lang->login_cookies_privacy}</strong></legend>\n<table cellspacing="0" cellpadding="2">\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="invisible" id="invisible" value="1" {$invisiblecheck} /></td>\n<td><span class="smalltext"><label for="invisible">{$lang->invisible_mode}</label></span></td>\n</tr>\n</table>\n</fieldset>\n<br />', -2, '1827', '', [[timestamp]]),
(860, 'usercp_options_date_format', '<option value="{$key}"{$selected}>{$dateformat}</option>', -2, '1800', '', [[timestamp]]),
(861, 'usercp_options_language', '<tr>\n<td colspan="2"><span class="smalltext">{$lang->board_language}:</span></td>\n</tr>\n<tr>\n<td colspan="2">\n<select name="language">\n<option value="">{$lang->use_default}</option>\n<option value="0">-----------</option>\n{$langoptions}\n</select>\n</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(862, 'usercp_options_language_option', '<option value="{$name}"{$sel}>{$language}</option>', -2, '1800', '', [[timestamp]]),
(863, 'usercp_options_pms', '<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="receivepms" id="receivepms" value="1" {$receivepmscheck} /></td>\n<td><span class="smalltext"><label for="receivepms">{$lang->receive_pms}</label></span></td>\n</tr>\n{$pms_from_buddys}\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotice" id="pmnotice" value="1"{$pmnoticecheck} /></td>\n<td><span class="smalltext"><label for="pmnotice">{$lang->pm_notice}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotify" id="pmnotify" value="1" {$pmnotifycheck} /></td>\n<td><span class="smalltext"><label for="pmnotify">{$lang->pm_notify}</label></span></td>\n</tr>\n<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="buddyrequestspm" id="buddyrequestspm" value="1" {$buddyrequestspmcheck} /></td>\n<td><span class="smalltext"><label for="buddyrequestspm">{$lang->buddyrequests_pm}</label></span></td>\n</tr>', -2, '1809', '', [[timestamp]]),
(864, 'usercp_options_pms_from_buddys', '<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="receivefrombuddy" id="receivefrombuddy" value="1" {$receivefrombuddycheck} /></td>\n<td><span class="smalltext"><label for="receivefrombuddy">{$lang->receive_from_buddy}</label></span></td>\n</tr>', -2, '1600', '', [[timestamp]]),
(865, 'usercp_options_pppselect', '<tr>\n<td colspan="2"><span class="smalltext">{$lang->ppp}</span></td>\n</tr>\n<tr>\n<td colspan="2">\n<select name="ppp">\n<option value="">{$lang->use_default}</option>\n{$pppoptions}\n</select>\n</td>\n</tr>', -2, '120', '', [[timestamp]]),
(866, 'usercp_options_pppselect_option', '<option value="{$val}"{$selected}>{$ppp_option}</option>', -2, '1800', '', [[timestamp]]),
(867, 'usercp_options_quick_reply', '<tr>\n<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showquickreply" id="showquickreply" value="1" {$showquickreplycheck} /></td>\n<td><span class="smalltext"><label for="showquickreply">{$lang->show_quick_reply}</label></span></td>\n</tr>', -2, '1809', '', [[timestamp]]),
(868, 'usercp_options_style', '<tr>\n<td colspan="2"><span class="smalltext">{$lang->style}</span></td>\n</tr>\n<tr>\n<td colspan="2">{$stylelist}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(869, 'usercp_options_time_format', '<option value="{$key}"{$selected}>{$timeformat}</option>', -2, '1800', '', [[timestamp]]),
(870, 'usercp_options_timezone', '<select name="{$name}" id="{$name}">\n{$timezone_option}\n</select>', -2, '1800', '', [[timestamp]]),
(871, 'usercp_options_timezone_option', '<option value="{$timezone}"{$selected_add}>{$label}</option>', -2, '1800', '', [[timestamp]]),
(872, 'usercp_options_tppselect', '<tr>\n<td colspan="2"><span class="smalltext">{$lang->tpp}</span></td>\n</tr>\n<tr>\n<td colspan="2">\n<select name="tpp">\n<option value="">{$lang->use_default}</option>\n{$tppoptions}\n</select>\n</td>\n</tr>', -2, '120', '', [[timestamp]]),
(873, 'usercp_options_tppselect_option', '<option value="{$val}"{$selected}>{$tpp_option}</option>', -2, '1800', '', [[timestamp]]),
(874, 'usercp_password', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->change_password}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="usercp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n{$errors}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->change_password}</strong></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><strong>{$lang->password_confirmation}</strong></td>\n</tr>\n<tr>\n<td class="trow1" width="40%"><strong>{$lang->current_password}</strong></td>\n<td class="trow1" width="60%"><input type="password" class="textbox" name="oldpassword" size="25" /></td>\n</tr>\n<tr>\n<td class="tcat" colspan="2"><strong>{$lang->please_enter_confirm_new_password}</strong></td>\n</tr>\n<tr>\n<td class="trow2" width="40%"><strong>{$lang->new_password}</strong></td>\n<td class="trow2" width="60%"><input type="password" class="textbox" name="password" size="25" /></td>\n</tr>\n<tr>\n<td class="trow1" width="40%"><strong>{$lang->confirm_password}</strong></td>\n<td class="trow1" width="60%"><input type="password" class="textbox" name="password2" size="25" /></td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="do_password" />\n<input type="submit" class="button" name="submit" value="{$lang->update_password}" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(875, 'usercp_profile', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->edit_profile}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="usercp.php" method="post" name="input">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n{$errors}\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->edit_profile}</strong></td>\n</tr>\n<tr>\n<td width="50%" class="trow1" valign="top">\n<fieldset class="trow2">\n<legend><strong>{$lang->profile_required}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n<tr>\n<td colspan="2"><span class="smalltext"><strong>{$lang->change_email_notice}</strong></span></td>\n</tr>\n{$requiredfields}\n</table>\n</fieldset>\n<br />\n<fieldset class="trow2">\n<legend><strong>{$lang->profile_optional}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n<tr>\n<td colspan="3"><span class="smalltext">{$lang->birthday}</span></td>\n</tr>\n<tr>\n<td>\n<select name="bday1">\n<option value="">&nbsp;</option>\n{$bdaydaysel}\n</select>\n</td>\n<td>\n<select name="bday2">\n<option value="">&nbsp;</option>\n<option value="1" {$bdaymonthsel[''1'']}>{$lang->month_1}</option>\n<option value="2" {$bdaymonthsel[''2'']}>{$lang->month_2}</option>\n<option value="3" {$bdaymonthsel[''3'']}>{$lang->month_3}</option>\n<option value="4" {$bdaymonthsel[''4'']}>{$lang->month_4}</option>\n<option value="5" {$bdaymonthsel[''5'']}>{$lang->month_5}</option>\n<option value="6" {$bdaymonthsel[''6'']}>{$lang->month_6}</option>\n<option value="7" {$bdaymonthsel[''7'']}>{$lang->month_7}</option>\n<option value="8" {$bdaymonthsel[''8'']}>{$lang->month_8}</option>\n<option value="9" {$bdaymonthsel[''9'']}>{$lang->month_9}</option>\n<option value="10" {$bdaymonthsel[''10'']}>{$lang->month_10}</option>\n<option value="11" {$bdaymonthsel[''11'']}>{$lang->month_11}</option>\n<option value="12" {$bdaymonthsel[''12'']}>{$lang->month_12}</option>\n</select>\n</td>\n<td>\n<input type="text" class="textbox" size="4" maxlength="4" name="bday3" value="{$bday[''2'']}" />\n</td>\n</tr>\n<tr>\n<td colspan="3">\n<span class="smalltext">{$lang->birthdayprivacy}</span>\n</td>\n</tr>\n<tr>\n<td colspan="3">\n<select name="birthdayprivacy">\n<option value="all"{$allselected}>{$lang->birthdayprivacyall}</option>\n<option value="none"{$noneselected}>{$lang->birthdayprivacynone}</option>\n<option value="age"{$ageselected}>{$lang->birthdayprivacyage}</option>\n</select>\n</td>\n</tr>\n{$website}\n</table>\n</fieldset>\n{$customfields}\n</td>\n<td width="50%" class="trow1" valign="top">\n{$customtitle}\n{$contactfields}\n{$awaysection}\n</td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="do_profile" />\n<input type="submit" class="button" name="regsubmit" value="{$lang->update_profile}" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(876, 'usercp_profile_contact_fields', '<br />\n<fieldset class="trow2">\n<legend><strong>{$lang->additional_contact_details}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n	{$contact_fields[''icq'']}\n	{$contact_fields[''skype'']}\n	{$contact_fields[''google'']}\n</table>\n</fieldset>', -2, '1822', '', [[timestamp]]),
(877, 'usercp_profile_contact_fields_field', '<tr>\n<td><span class="smalltext">{$lang_string}</span></td>\n</tr>\n<tr>\n  <td><input type="text" class="textbox" name="{$cfield}" size="25" value="{$cfvalue}" /></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(878, 'usercp_profile_away', '<br />\n<fieldset class="trow2">\n<legend><strong>{$lang->away_information}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n<tr>\n<td colspan="2"><span class="smalltext">{$lang->away_status}</span></td>\n</tr>\n<tr>\n<td><span class="smalltext"><input type="radio" class="radio" name="away" value="1" {$awaycheck[''1'']} /> {$lang->im_away}</span></td>\n<td><span class="smalltext"><input type="radio" class="radio" name="away" value="0" {$awaycheck[''0'']} /> {$lang->im_here}</span></td>\n</tr>\n<tr>\n<td colspan="2"><span class="smalltext">{$lang->away_reason}</span></td>\n</tr>\n<tr>\n<td colspan="2"><input type="text" class="textbox" name="awayreason" value="{$user[''awayreason'']}" size="25" maxlength="200" /></td>\n</tr>\n</table>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n<tr>\n<td colspan="3"><span class="smalltext">{$lang->return_date}</span></td>\n</tr>\n<tr>\n<td>\n<select name="awayday">\n<option value="">&nbsp;</option>\n{$returndatesel}\n</select>\n</td>\n<td>\n<select name="awaymonth">\n<option value="">&nbsp;</option>\n<option value="1" {$returndatemonthsel[''1'']}>{$lang->month_1}</option>\n<option value="2" {$returndatemonthsel[''2'']}>{$lang->month_2}</option>\n<option value="3" {$returndatemonthsel[''3'']}>{$lang->month_3}</option>\n<option value="4" {$returndatemonthsel[''4'']}>{$lang->month_4}</option>\n<option value="5" {$returndatemonthsel[''5'']}>{$lang->month_5}</option>\n<option value="6" {$returndatemonthsel[''6'']}>{$lang->month_6}</option>\n<option value="7" {$returndatemonthsel[''7'']}>{$lang->month_7}</option>\n<option value="8" {$returndatemonthsel[''8'']}>{$lang->month_8}</option>\n<option value="9" {$returndatemonthsel[''9'']}>{$lang->month_9}</option>\n<option value="10" {$returndatemonthsel[''10'']}>{$lang->month_10}</option>\n<option value="11" {$returndatemonthsel[''11'']}>{$lang->month_11}</option>\n<option value="12" {$returndatemonthsel[''12'']}>{$lang->month_12}</option>\n</select>\n</td>\n<td>\n<input type="text" class="textbox" size="4" maxlength="4" name="awayyear" value="{$returndate[''2'']}" />\n</td>\n</tr>\n</table>\n</fieldset>', -2, '1816', '', [[timestamp]]),
(879, 'usercp_profile_website', '<tr>\n<td colspan="3"><span class="smalltext">{$lang->website_url}</span></td>\n</tr>\n<tr>\n<td colspan="3"><input type="text" class="textbox" name="website" size="25" maxlength="75" value="{$user[''website'']}" /></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(880, 'usercp_profile_customfield', '<tr>\n<td>\n<span>{$profilefield[''name'']}</span>:\n<br />\n<span class="smalltext">{$profilefield[''description'']}</span>\n</td>\n</tr>\n<tr>\n<td>{$code}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(881, 'usercp_profile_customtitle', '<fieldset class="trow2">\n<legend><strong>{$lang->custom_usertitle}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}">\n<tr>\n<td><span class="smalltext">{$lang->custom_usertitle_note}</span></td>\n</tr>\n<tr>\n<td><span class="smalltext">{$lang->default_usertitle}</span></td>\n</tr>\n<tr>\n<td><span class="smalltext"><strong>{$defaulttitle}</strong></span></td>\n</tr>\n{$currentcustom}\n<tr>\n<td><span class="smalltext">{$lang->new_custom_usertitle}</span></td>\n</tr>\n<tr>\n<td><input type="text" class="textbox" name="usertitle" size="25" maxlength="{$mybb->settings[''customtitlemaxlength'']}" value="{$newtitle}" /></td>\n</tr>\n{$reverttitle}\n</table>\n</fieldset>', -2, '1805', '', [[timestamp]]),
(882, 'usercp_profile_customtitle_currentcustom', '<tr>\n<td><span class="smalltext">{$lang->current_custom_usertitle}</span></td>\n</tr>\n<tr>\n<td><span class="smalltext"><strong>{$user[''usertitle'']}</strong></span></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(883, 'usercp_profile_customtitle_reverttitle', '<tr>\n<td><span class="smalltext"><input type="checkbox" name="reverttitle" id="reverttitle" class="checkbox" /> {$lang->revert_usertitle}</span></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(884, 'usercp_profile_day', '<option value="{$day}"{$selected}>{$day}</option>', -2, '1800', '', [[timestamp]]),
(885, 'usercp_profile_profilefields', '<br />\n<fieldset class="trow2">\n<legend><strong>{$lang->additional_information}</strong></legend>\n<table cellspacing="0" cellpadding="{$theme[''tablespace'']}" width="100%">\n{$customfields}\n</table>\n</fieldset>', -2, '120', '', [[timestamp]]),
(886, 'usercp_profile_profilefields_checkbox', '<input type="checkbox" class="checkbox" name="profile_fields[$field][]" value="{$val}"{$checked} />\n<span class="smalltext">{$val}</span><br />', -2, '1800', '', [[timestamp]]),
(887, 'usercp_profile_profilefields_multiselect', '<select name="profile_fields[$field][]" size="{$profilefield[''length'']}" multiple="multiple">\n{$select}\n</select>', -2, '1800', '', [[timestamp]]),
(888, 'usercp_profile_profilefields_radio', '<input type="radio" class="radio" name="profile_fields[$field]" value="{$val}"{$checked} />\n<span class="smalltext">{$val}</span><br />', -2, '1800', '', [[timestamp]]),
(889, 'usercp_profile_profilefields_select', '<select name="profile_fields[$field]" size="{$profilefield[''length'']}">\n{$select}\n</select>', -2, '1800', '', [[timestamp]]),
(890, 'usercp_profile_profilefields_select_option', '<option value="{$val}"{$sel}>{$val}</option>', -2, '1800', '', [[timestamp]]),
(891, 'usercp_profile_profilefields_text', '<input type="text" name="profile_fields[$field]" class="textbox" size="{$profilefield[''length'']}"{$maxlength} value="{$value}" />', -2, '1800', '', [[timestamp]]),
(892, 'usercp_profile_profilefields_textarea', '<textarea name="profile_fields[$field]" rows="6" cols="30" style="width: 95%">{$value}</textarea>', -2, '1800', '', [[timestamp]]),
(893, 'usercp_referrals', '<strong>{$lang->members_referred}</strong> {$mybb->user[''referrals'']}<br />\n{$referral_link}', -2, '1600', '', [[timestamp]]);
INSERT INTO `[[dbprefix]]templates` VALUES
(894, 'usercp_removesubscription_forum', '<html>\n<head>\n<title>{$lang->unsubscribe_from_forum}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="usercp.php" method="post" name="input">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="removesubscription" />\n<input type="hidden" name="type" value="forum" />\n<input type="hidden" name="fid" value="{$forum[''fid'']}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->unsubscribe_from_forum}</strong></td>\n</tr>\n<tr>\n<td class="trow1" valign="top">{$lang->unsubscribe_from_forum_desc}</td>\n</tr>\n</table>\n<br />\n<div style="text-align: center;">\n	<input type="submit" class="button" name="submit" value="{$lang->do_unsubscribe_forum}" tabindex="3" accesskey="s" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(895, 'usercp_removesubscription_thread', '<html>\n<head>\n<title>{$lang->unsubscribe_from_thread}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="usercp.php" method="post" name="input">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<input type="hidden" name="action" value="removesubscription" />\n<input type="hidden" name="tid" value="{$thread[''tid'']}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->unsubscribe_from_thread}</strong></td>\n</tr>\n<tr>\n<td class="trow1" valign="top">{$lang->unsubscribe_from_thread_desc} <a href="usercp.php?action=addsubscription&tid={$thread[''tid'']}&my_post_key={$mybb->post_code}">{$lang->unsubscribe_change_notificaton}</a></td>\n</tr>\n</table>\n<br />\n<div style="text-align: center;">\n	<input type="submit" class="button" name="submit" value="{$lang->do_unsubscribe_thread}" tabindex="3" accesskey="s" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(896, 'usercp_reputation', '<strong>{$lang->reputation}</strong> {$reputation_link} [<a href="reputation.php?uid={$mybb->user[''uid'']}">{$lang->details}</a>]<br />', -2, '1600', '', [[timestamp]]),
(897, 'usercp_resendactivation', '<br />(<a href="member.php?action=resendactivation">{$lang->resend_activation}</a>)', -2, '1800', '', [[timestamp]]),
(898, 'usercp_subscriptions', '<html>\n<head>\n	<title>{$mybb->settings[''bbname'']} - {$lang->subscriptions}</title>\n	{$headerinclude}\n</head>\n<body>\n	{$header}\n	<table width="100%" border="0" align="center">\n		<tr>\n			{$usercpnav}\n			<td valign="top">\n				{$multipage}\n				<form action="usercp.php" method="post" name="input">\n					<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n					<input type="hidden" name="action" value="do_subscriptions" />\n					<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n						<tr>\n							<td class="thead" colspan="7"><strong>{$lang->subscriptions} ({$threadcount})</strong></td>\n						</tr>\n						<tr>\n							<td width="66%" colspan="3" class="tcat"><span class="smalltext"><strong>{$lang->thread}</strong></span></td>\n							<td class="tcat" align="center" width="7%"><span class="smalltext"><strong>{$lang->replies}</strong></span></td>\n							<td class="tcat" align="center" width="7%"><span class="smalltext"><strong>{$lang->views}</strong></span></td>\n							<td class="tcat" align="center" width="200"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>\n							<td class="tcat" align="center" width="1"><input name="allbox" title="Select All" type="checkbox" class="checkbox checkall" value="1" /></td>\n						</tr>\n						{$threads}\n						{$remove_options}\n					</table>\n				</form>\n				{$multipage}\n				<br />\n				<div class="float_left">\n					<div class="float_left">\n						<dl class="thread_legend smalltext">\n							<dd><span class="thread_status newfolder" title="{$lang->new_posts_thread}">&nbsp;</span> {$lang->new_posts_thread}</dd>\n							<dd><span class="thread_status newhotfolder" title="{$lang->new_hot_thread}">&nbsp;</span> {$lang->new_hot_thread}</dd>\n							<dd><span class="thread_status hotfolder" title="{$lang->hot_thread}">&nbsp;</span> {$lang->hot_thread}</dd>\n						</dl>\n					</div>\n\n					<div class="float_left">\n						<dl class="thread_legend smalltext">\n							<dd><span class="thread_status folder" title="{$lang->no_new_thread}">&nbsp;</span> {$lang->no_new_thread}</dd>\n							<dd><span class="thread_status dot_folder" title="{$lang->posts_by_you}">&nbsp;</span> {$lang->posts_by_you}</dd>\n							<dd><span class="thread_status closefolder" title="{$lang->closed_thread}">&nbsp;</span> {$lang->closed_thread}</dd>\n						</dl>\n					</div>\n					<br class="clear" />\n				</div>\n			</td>\n		</tr>\n	</table>\n	{$footer}\n</body>\n</html>', -2, '1817', '', [[timestamp]]),
(899, 'usercp_subscriptions_none', '<tr>\n<td class="trow1" colspan="7">{$lang->no_thread_subscriptions}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(900, 'usercp_subscriptions_remove', '<tr>\n	<td class="tfoot" colspan="7">\n	<div class="float_right">\n		<strong>{$lang->with_selected}</strong>\n		<select name="do">\n			<option value="delete">{$lang->delete_subscriptions}</option>\n			<option value="no_notification">{$lang->update_no_notification}</option>\n			<option value="email_notification">{$lang->update_email_notification}</option>\n			<option value="pm_notification">{$lang->update_pm_notification}</option>\n		</select>\n		{$gobutton}\n	</div>\n	<div>\n		<strong><a href="usercp.php?action=removesubscriptions&amp;my_post_key={$mybb->post_code}">{$lang->remove_all_subscriptions}</a></strong>\n	</div>\n	</td>\n</tr>', -2, '1816', '', [[timestamp]]),
(901, 'usercp_subscriptions_thread', '<tr>\n	<td align="center" class="{$bgcolor}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>\n	<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>\n	<td class="{$bgcolor}">{$gotounread}{$thread[''threadprefix'']}<a href="{$thread[''threadlink'']}" class="{$new_class}">{$thread[''subject'']}</a><br /><span class="smalltext">{$lang->notification_method} {$notification_type}</span></td>\n	<td align="center" class="{$bgcolor}"><a href="{$mybb->settings[''bburl'']}/misc.php?action=whoposted&tid={$thread[''tid'']}" onclick="MyBB.whoPosted({$thread[''tid'']}); return false;">{$thread[''replies'']}</a></td>\n	<td align="center" class="{$bgcolor}">{$thread[''views'']}</td>\n	<td class="{$bgcolor}" style="white-space: nowrap">\n		<span class="smalltext">{$lastpostdate}<br />\n		<a href="{$thread[''lastpostlink'']}">{$lang->lastpost}</a>: {$lastposterlink}</span>\n	</td>\n	<td class="{$bgcolor}" align="center"><input type="checkbox" class="checkbox" name="check[{$thread[''tid'']}]" value="{$thread[''tid'']}" /></td>\n</tr>', -2, '1813', '', [[timestamp]]),
(902, 'usercp_subscriptions_thread_icon', '<img src="{$icon[''path'']}" alt="{$icon[''name'']}" title="{$icon[''name'']}" />', -2, '1800', '', [[timestamp]]),
(903, 'usercp_themeselector', '<select name="{$name}">\n<option value="0">{$lang->use_default}</option>\n<option value="0">-----------</option>\n{$themeselect_option}\n</select>', -2, '1800', '', [[timestamp]]),
(904, 'usercp_themeselector_option', '<option value="{$theme[''tid'']}"{$sel}>{$depth}{$theme[''name'']}</option>', -2, '1800', '', [[timestamp]]),
(905, 'usercp_usergroups', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->group_memberships}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n{$leadinggroups}\n{$joinablegroups}\n{$membergroups}\n</td>\n</tr>\n</table>\n{$footer}\n</body>\n</html>', -2, '120', '', [[timestamp]]),
(906, 'usercp_usergroups_joinable', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="3"><strong>{$lang->usergroups_joinable}</strong></td>\n</tr>\n<tr>\n<td class="tcat" width="36%"><strong><span class="smalltext">{$lang->usergroups_usergroup}</span></strong></td>\n<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->join_conditions}</span></strong></td>\n<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->join_group}</span></strong></td>\n</tr>\n{$joinablegrouplist}\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(907, 'usercp_usergroups_joinable_usergroup', '<tr>\n<td class="{$trow}"><strong>{$usergroup[''title'']}</strong>{$description}</td>\n<td class="{$trow}"><span class="smalltext">{$conditions}</span><br /><span class="smalltext">{$usergroupleaders}</span></td>\n<td class="{$trow}" align="center">{$joinlink}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(908, 'usercp_usergroups_joinable_usergroup_description', '<br /><span class="smalltext">{$usergroup[''description'']}</span>', -2, '1800', '', [[timestamp]]),
(909, 'usercp_usergroups_joinable_usergroup_join', '<a href="usercp.php?action=usergroups&amp;joingroup={$usergroup[''gid'']}&amp;my_post_key={$mybb->post_code}">{$lang->join_group}</a>', -2, '1800', '', [[timestamp]]),
(910, 'usercp_usergroups_joingroup', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->request_join_usergroup}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="usercp.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table width="100%" border="0" align="center">\n<tr>\n{$usercpnav}\n<td valign="top">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="2"><strong>{$lang->request_join_usergroup}</strong></td>\n</tr>\n<tr>\n<td class="trow1" align="center" colspan="2">{$lang->join_group_moderate_note}</td>\n</tr>\n<tr>\n<td class="trow2"><strong>{$lang->user_group}</strong></td>\n<td class="trow2">{$usergroup[''title'']}</td>\n</tr>\n<tr>\n<td class="trow1"><strong>{$lang->join_reason}</strong></td>\n<td class="trow1"><input type="text" class="textbox" name="reason" value="" size="50"  maxlength="250" /></td>\n</tr>\n</table>\n<br />\n<div align="center">\n<input type="hidden" name="action" value="usergroups" />\n<input type="hidden" name="joingroup" value="{$joingroup}" />\n<input type="hidden" name="do" value="joingroup" />\n<input type="submit" class="button" value="{$lang->send_join_request}" />\n</div>\n</td>\n</tr>\n</table>\n</form>\n{$footer}\n</body>\n</html>', -2, '1816', '', [[timestamp]]),
(911, 'usercp_usergroups_leader', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="3"><strong>{$lang->usergroups_leader}</strong></td>\n</tr>\n<tr>\n<td class="tcat" width="36%"><strong><span class="smalltext">{$lang->usergroups_usergroup}</span></strong></td>\n<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->usergroup_members}</span></strong></td>\n<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->join_requests}</span></strong></td>\n</tr>\n{$groupsledlist}\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(912, 'usercp_usergroups_leader_usergroup', '<tr>\n<td class="{$trow}"><strong>{$usergroup[''title'']}</strong></td>\n<td class="{$trow}" align="center">{$usergroup[''users'']} {$memberlistlink}</td>\n<td class="{$trow}" align="center">{$usergroup[''joinrequests'']} {$moderaterequestslink}</td>\n</tr>', -2, '120', '', [[timestamp]]),
(913, 'usercp_usergroups_leader_usergroup_memberlist', ' [<a href="managegroup.php?gid={$usergroup[''gid'']}">{$lang->view_members}</a>]', -2, '1800', '', [[timestamp]]),
(914, 'usercp_usergroups_leader_usergroup_moderaterequests', ' [<a href="managegroup.php?action=joinrequests&amp;gid={$usergroup[''gid'']}">{$lang->view_requests}</a>]', -2, '1800', '', [[timestamp]]),
(915, 'usercp_usergroups_memberof', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead" colspan="3"><strong>{$lang->usergroups_memberof}</strong></td>\n</tr>\n<tr>\n<td class="tcat" width="35%"><strong><span class="smalltext">{$lang->usergroups_usergroup}</span></strong></td>\n<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->usertitle}</span></strong></td>\n<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->usergroup_leave}</span></strong></td>\n</tr>\n{$memberoflist}\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(916, 'usercp_usergroups_memberof_usergroup', '<tr>\n<td class="{$trow}"><strong>{$usergroup[''title'']}</strong> {$displaycode}{$description}</td>\n<td class="{$trow}" align="center">{$usergroup[''usertitle'']}</td>\n<td class="{$trow}">{$leavelink}</td>\n</tr>', -2, '1800', '', [[timestamp]]),
(917, 'usercp_usergroups_memberof_usergroup_description', '<br /><span class="smalltext">{$usergroup[''description'']}</span>', -2, '1800', '', [[timestamp]]),
(918, 'usercp_usergroups_memberof_usergroup_display', ' ({$lang->display_group})', -2, '1800', '', [[timestamp]]),
(919, 'usercp_usergroups_memberof_usergroup_leave', '<div style="text-align: center;"><a href="usercp.php?action=usergroups&amp;leavegroup={$usergroup[''gid'']}&amp;my_post_key={$mybb->post_code}">{$lang->usergroup_leave}</a></div>', -2, '1800', '', [[timestamp]]),
(920, 'usercp_usergroups_memberof_usergroup_leaveleader', '<div style="text-align: center;"><span class="smalltext">{$lang->usergroup_leave_leader}</span></div>', -2, '1800', '', [[timestamp]]),
(921, 'usercp_usergroups_memberof_usergroup_leaveother', '<div style="text-align: center;"><span class="smalltext">{$lang->usergroup_cannot_leave}</span></div>', -2, '1800', '', [[timestamp]]),
(922, 'usercp_usergroups_memberof_usergroup_leaveprimary', '<div style="text-align:center;"><span class="smalltext">{$lang->usergroup_leave_primary}</span></div>', -2, '1800', '', [[timestamp]]),
(923, 'usercp_usergroups_memberof_usergroup_setdisplay', ' (<a href="usercp.php?action=usergroups&amp;displaygroup={$usergroup[''gid'']}&amp;my_post_key={$mybb->post_code}">{$lang->set_as_display_group}</a>)', -2, '1800', '', [[timestamp]]),
(924, 'usercp_warnings', '	<br />\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<thead>\n			<tr>\n				<td class="thead" colspan="4">\n					<div class="float_right">{$lang->current_warning_level}</div>\n					<div><strong>{$lang->latest_warnings}</strong></div>\n				</td>\n			</tr>\n			<tr>\n				<td class="tcat"><span class="smalltext"><strong>{$lang->warning}</strong></span></td>\n				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->date_issued}</strong></span></td>\n				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->expiry_date}</strong></span></td>\n				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->issued_by}</strong></span></td>\n			</tr>\n		</thead>\n		<tbody>\n		{$warnings}\n		</tbody>\n	</table>', -2, '1400', '', [[timestamp]]),
(925, 'usercp_warnings_warning', '			<tr>\n				<td class="{$alt_bg}">{$warning_type} {$points}{$post_link}</td>\n				<td class="{$alt_bg}" align="center">{$date_issued}</td>\n				<td class="{$alt_bg}" align="center">{$expires}</td>\n				<td class="{$alt_bg}" align="center">{$issuedby}</td>\n	</tr>', -2, '1400', '', [[timestamp]]),
(926, 'usercp_warnings_warning_post', '<br /><small>{$lang->warning_for_post} <a href="{$warning[''postlink'']}">{$warning[''post_subject'']}</a></small>', -2, '1800', '', [[timestamp]]),
(927, 'video_metacafe_embed', '<iframe src="http://www.metacafe.com/embed/{$id}/" width="440" height="248" allowfullscreen="true" frameborder=0></iframe>', -2, '1827', '', [[timestamp]]),
(928, 'video_dailymotion_embed', '<iframe frameborder="0" width="480" height="270" src="//www.dailymotion.com/embed/video/{$id}" allowfullscreen="true"></iframe>', -2, '1827', '', [[timestamp]]),
(929, 'video_facebook_embed', '<iframe src="https://www.facebook.com/video/embed?video_id={$id}" width="625" height="350" frameborder="0"></iframe>', -2, '1800', '', [[timestamp]]),
(930, 'video_liveleak_embed', '<iframe width="500" height="300" src="https://www.liveleak.com/ll_embed?i={$id}" frameborder="0" allowfullscreen="true"></iframe>', -2, '1827', '', [[timestamp]]),
(931, 'video_myspacetv_embed', '<iframe width="480" height="270" src="//media.myspace.com/play/video/{$id}" frameborder="0" allowtransparency="true" allowfullscreen="true"></iframe>', -2, '1827', '', [[timestamp]]),
(932, 'video_youtube_embed', '<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/{$id}" frameborder="0" allowfullscreen="true"></iframe>', -2, '1827', '', [[timestamp]]),
(933, 'video_mixer_embed', '<iframe allowfullscreen="true" src="https://mixer.com/embed/player/{$id}?disableLowLatency=1" width="620" height="349"></iframe>', -2, '1818', '', [[timestamp]]),
(934, 'video_vimeo_embed', '<iframe src="//player.vimeo.com/video/{$id}" width="500" height="375" frameborder="0" allowfullscreen="true"></iframe>', -2, '1827', '', [[timestamp]]),
(935, 'video_yahoo_embed', '<iframe width="640" height="360" scrolling="no" frameborder="0" src="//{$local}screen.yahoo.com/{$id}?format=embed" allowfullscreen="true" allowtransparency="true"></iframe>', -2, '1827', '', [[timestamp]]),
(936, 'video_twitch_embed', '<iframe src="https://player.twitch.tv/?{$id}&amp;parent={$bbdomain}&amp;autoplay=false" frameborder="0" scrolling="no" height="378" width="620"></iframe>', -2, '1831', '', [[timestamp]]),
(937, 'warnings', '<html>\n<head>\n	<title>{$mybb->settings[''bbname'']} - {$lang->warning_log}</title>\n	{$headerinclude}\n</head>\n<body>\n	{$header}\n\n	{$multipage}\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<thead>\n			<tr>\n				<td class="thead" colspan="5">\n					<div class="float_right">{$lang->current_warning_level}</div>\n					<div><strong>{$lang->warning_log}</strong></div>\n				</td>\n			</tr>\n			<tr>\n				<td class="tcat"><span class="smalltext"><strong>{$lang->warning}</strong></span></td>\n				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->date_issued}</strong></span></td>\n				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->expiry_date}</strong></span></td>\n				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->issued_by}</strong></span></td>\n				<td class="tcat" width="1" align="center"><span class="smalltext"><strong>{$lang->details}</strong></span></td>\n			</tr>\n		</thead>\n		<tbody>\n		{$warnings}\n		</tbody>\n	</table>\n	{$multipage}\n\n{$footer}\n</body>\n</html>', -2, '1400', '', [[timestamp]]),
(938, 'warnings_active_header', '			<tr>\n				<td class="trow_sep" colspan="5">{$lang->active_warnings}</td>\n			</tr>', -2, '1400', '', [[timestamp]]),
(939, 'warnings_expired_header', '			<tr>\n				<td class="trow_sep" colspan="5">{$lang->expired_warnings}</td>\n			</tr>', -2, '1400', '', [[timestamp]]),
(940, 'warnings_no_warnings', '			<tr>\n				<td class="trow1" colspan="5" align="center">{$lang->no_warnings}</td>\n			</tr>', -2, '1400', '', [[timestamp]]),
(941, 'warnings_postlink', '<br /><small>{$lang->warning_for_post} <a href="{$warning[''post_link'']}#pid{$warning[''pid'']}">{$warning[''post_subject'']}</a></small>', -2, '1808', '', [[timestamp]]),
(942, 'warnings_view', '<html>\n<head>\n	<title>{$mybb->settings[''bbname'']} - {$lang->warning_log}</title>\n	{$headerinclude}\n</head>\n<body>\n	{$header}\n\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n			<td class="thead" colspan="2">\n				<div class="float_right">{$status}</div>\n				<div><strong>{$lang->warning_details}</strong></div>\n			</td>\n		</tr>\n		{$warning_info}\n		<tr>\n			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->warning}</strong></span></td>\n			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->date_issued}</strong></span></td>\n		</tr>\n		<tr>\n			<td class="trow2">{$warning_type} {$points}</td>\n			<td class="trow2">{$date_issued}</td>\n		</tr>\n		<tr>\n			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->issued_by}</strong></span></td>\n			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->expiry_date}</strong></span></td>\n		</tr>\n		<tr>\n			<td class="trow1">{$issuedby}</td>\n			<td class="trow1">{$expires} {$revoked_date}</td>\n		</tr>\n		<tr>\n			<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->details_warning_note}</strong></span></td>\n		</tr>\n		<tr>\n			<td class="trow2" colspan="2">{$notes}</td>\n		</tr>\n	</table>\n\n	{$revoke}\n\n{$footer}\n</body>\n</html>', -2, '1812', '', [[timestamp]]),
(943, 'warnings_view_post', '		<tr>\n			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->username}</strong></span></td>\n			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->post}</strong></span></td>\n		</tr>\n		<tr>\n			<td class="trow1">{$user_link}</td>\n			<td class="trow1"><a href="{$post_link}">{$warning[''post_subject'']}</a></td>\n		</tr>', -2, '1812', '', [[timestamp]]),
(944, 'warnings_view_revoke', '<br />\n{$warn_errors}\n<form action="warnings.php" method="post" name="input">\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<input type="hidden" name="action" value="do_revoke" />\n	<input type="hidden" name="wid" value="{$warning[''wid'']}" />\n\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder clear">\n		<tr>\n			<td class="thead" colspan="2"><strong>{$lang->revoke_warning}</strong></td>\n		</tr>\n		<tr>\n			<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->revoke_warning_desc}</strong></span></td>\n		</tr>\n		<tr>\n			<td class="trow1" style="width: 20%; vertical-align: top;"><strong>{$lang->reason}</strong></td>\n			<td class="trow1"><textarea name="reason" cols="60" rows="4"></textarea></td>\n		</tr>\n	</table>\n	<br />\n	<div style="text-align: center;"><input type="submit" class="button" value="{$lang->revoke_warning}" /></div>\n</form>', -2, '1800', '', [[timestamp]]),
(945, 'warnings_view_revoked', '<br />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder clear">\n	<tr>\n		<td class="thead" colspan="2"><strong>{$lang->warning_is_revoked}</strong></td>\n	</tr>\n	<tr>\n		<td class="tcat" style="width: 50%;"><span class="smalltext"><strong>{$lang->revoked_by}</strong></span></td>\n		<td class="tcat"><span class="smalltext"><strong>{$lang->date_revoked}</strong></span></td>\n	</tr>\n	<tr>\n		<td class="trow1">{$revoked_by}</td>\n		<td class="trow1">{$date_revoked}</td>\n	</tr>\n	<tr>\n		<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->details_reason}</strong></span></td>\n	</tr>\n	<tr>\n		<td class="trow2" colspan="2">{$revoke_reason}</td>\n	</tr>\n</table>', -2, '1800', '', [[timestamp]]),
(946, 'warnings_view_user', '		<tr>\n			<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->details_username}</strong></span></td>\n		</tr>\n		<tr>\n			<td class="trow1" colspan="2">{$user_link}</td>\n		</tr>', -2, '1800', '', [[timestamp]]),
(947, 'warnings_warn', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->warn_user}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$existing_warnings}\n{$warn_errors}\n<form action="warnings.php" method="post" name="input">\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<input type="hidden" name="action" value="do_warn" />\n	<input type="hidden" name="uid" value="{$user[''uid'']}" />\n\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder clear">\n		<tr>\n			<td class="thead" colspan="2"><strong>{$lang->warn_user}</strong></td>\n		</tr>\n		<tr>\n			<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->warn_user_desc}</strong></span></td>\n		</tr>\n		<tr>\n			<td class="trow1" style="width: 20%;"><strong>{$lang->username}</strong></td>\n			<td class="trow1">{$user_link}</td>\n		</tr>\n{$post}\n		<tr>\n			<td class="trow1" style="width: 20%; vertical-align: top;"><strong>{$lang->warning_note}</strong></td>\n			<td class="trow1"><textarea name="notes" cols="60" rows="4">{$notes}</textarea></td>\n		</tr>\n		<tr>\n			<td class="trow2" style="width: 20%; vertical-align: top;"><strong>{$lang->warning_type}</strong></td>\n			<td class="trow2">\n				<script type="text/javascript">\n				// <!--\n					function checkType(id)\n					{\n						var checked = '''';\n\n                      $(''.types_check'').each(function(e, val)\n						{\n							if($(this).prop(''checked'') == true)\n							{\n								checked = $(this).val();\n							}\n						});\n						$(''.types'').each(function(e)\n						{\n							$(this).hide();\n						});\n						if($(''#type_''+checked))\n						{\n							$(''#type_''+checked).show();\n						}\n					}\n				// -->\n				</script>\n				<dl style="margin-top: 0; margin-bottom: 0; width: 100%;">\n					{$types}\n					{$custom_warning}\n				</dl>\n				<script type="text/javascript">\n				// <!--\n					checkType();\n				// -->\n				</script>\n			</td>\n		</tr>\n		{$pm_notify}\n	</table>\n	<br />\n	<div style="text-align: center;"><input type="submit" class="button" value="{$lang->warn_user}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1800', '', [[timestamp]]),
(948, 'warnings_warn_custom', '					<dt><label style="display: block;"><input type="radio" name="type" value="custom" {$type_checked[''custom'']} class="types_check" onclick="checkType();" style="vertical-align: middle;" /> <strong>{$lang->custom}</strong></label></dt>\n					<dd style="margin-top: 4px;" id="type_custom" class="types">\n						<table>\n						<tr>\n							<td class="smalltext">{$lang->reason}</td>\n							<td class="smalltext">{$lang->points}</td>\n						</tr>\n						<tr>\n							<td><input type="text" class="textbox" name="custom_reason" size="50" maxlength="120" value="{$custom_reason}" /></td>\n							<td><input type="text" class="textbox" name="custom_points" size="2" value="{$custom_points}" /></td>\n						</tr>\n						<tr>\n							<td class="smalltext" colspan="2" style="padding-top: 4px;">{$lang->expires}</td>\n						</tr>\n						<tr>\n							<td colspan="2">\n								<input type="text" class="textbox" name="expires" size="2" value="{$expires}" />\n								<select name="expires_period">\n									<option value="hours" {$expires_period[''hours'']}>{$lang->hour_or_hours}</option>\n									<option value="days" {$expires_period[''days'']}>{$lang->day_or_days}</option>\n									<option value="weeks" {$expires_period[''weeks'']}>{$lang->week_or_weeks}</option>\n									<option value="months" {$expires_period[''months'']}>{$lang->month_or_months}</option>\n									<option value="never" {$expires_period[''never'']}>{$lang->never}</option>\n								</select>\n							</td>\n						</tr>\n						</table>\n					</dd>', -2, '1400', '', [[timestamp]]),
(949, 'warnings_warn_existing', '	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<thead>\n			<tr>\n				<td class="thead" colspan="5">\n					<div><strong>{$lang->existing_post_warnings}</strong></div>\n				</td>\n			</tr>\n			<tr>\n				<td class="tcat"><span class="smalltext"><strong>{$lang->warning}</strong></span></td>\n				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->date_issued}</strong></span></td>\n				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->expiry_date}</strong></span></td>\n				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->issued_by}</strong></span></td>\n				<td class="tcat" width="1" align="center"><span class="smalltext"><strong>{$lang->details}</strong></span></td>\n			</tr>\n		</thead>\n		<tbody>\n		{$warnings}\n		</tbody>\n	</table><br />', -2, '1400', '', [[timestamp]]),
(950, 'warnings_warn_pm', '<tr>\n			<td width="20%" class="trow1" valign="top">\n              	<strong>{$lang->send_pm}</strong>\n			</td>\n			<td class="trow1">\n				<script type="text/javascript">\n				// <!--\n					function togglePM()\n					{\n						if($(''#send_pm'').prop(''checked'') == true)\n						{\n							$(''#pm_input'').show();\n							$(''#pm_smilie_insert'').show();\n						}\n						else\n						{\n							$(''#pm_input'').hide();\n						}\n					}\n				// -->\n				</script>\n				<label style="display: block;"><input type="checkbox" class="checkbox" value="1" name="send_pm" id="send_pm" onclick="togglePM();" style="vertical-align: middle;" {$send_pm_checked} /> {$lang->send_user_warning_pm}</label>\n				<table id="pm_input" cellpadding="{$theme[''tablespace'']}">\n					<tr>\n						<td><strong>{$lang->send_pm_subject}</strong></td>\n						<td><input type="text" class="textbox" name="pm_subject" size="40" maxlength="85" value="{$pm_subject}" /></td>\n					</tr>\n					<tr>\n						<td valign="top"><strong>{$lang->send_pm_message}</strong></td>\n						<td><textarea name="pm_message" id="message" rows="20" cols="70">{$message}</textarea>\n						{$codebuttons}</td>\n					</tr>\n					{$anonymous_pm}\n				</table>\n				<script type="text/javascript">\n				<!--\n				$(function() {\n					togglePM();\n				});\n				// -->\n				</script>\n			</td>\n		</tr>', -2, '1820', '', [[timestamp]]),
(951, 'warnings_warn_pm_anonymous', '<tr>\n	<td><strong>{$lang->send_pm_options}</strong></td>\n	<td><label><input type="checkbox" class="checkbox" name="pm_anonymous" value="1"{$checked} />&nbsp;{$lang->send_pm_options_anonymous}</label></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(952, 'warnings_warn_post', '		<tr>\n			<td width="20%" class="trow2"><strong>{$lang->post}</strong></td>\n			<td class="trow2"><input type="hidden" name="pid" value="{$post[''pid'']}" /><a href="{$post_link}">{$post[''subject'']}</a></td>\n		</tr>', -2, '1400', '', [[timestamp]]),
(953, 'warnings_warn_type', '					<dt><label style="display: block;"><input type="radio" name="type" value="{$type[''tid'']}" {$checked} class="types_check" onclick="checkType();" style="vertical-align: middle;" /> <strong>{$type[''title'']}</strong> {$points}</label></dt>\n					<dd style="margin-top: 4px;" id="type_{$type[''tid'']}" class="types">\n						<div class="smalltext">{$lang->new_warning_level}</div>\n						<div class="tborder float_left" style="width: 150px; margin: 0; padding: 1px;">\n							<div class="trow1 float_left" style="width: {$current_level}%;">&nbsp;</div>\n							<div class="trow2 float_left" style="width: {$level_diff}%;">&nbsp;</div>\n						</div>\n						<div class="float_left" style="padding-left: 10px; font-weight: bold;">{$new_warning_level}%</div><br style="clear: left;" />\n						{$result}\n					</dd>', -2, '1800', '', [[timestamp]]),
(954, 'warnings_warn_type_result', '<div class="smalltext" style="clear: left; padding-top: 4px;">{$lang->result}<br />{$new_level[''friendly_action'']}</div>', -2, '1800', '', [[timestamp]]),
(955, 'warnings_warning', '			<tr>\n				<td class="{$alt_bg}">{$warning_type} {$points}{$post_link}</td>\n				<td class="{$alt_bg}" style="text-align: center;">{$date_issued}</td>\n				<td class="{$alt_bg}" style="text-align: center;">{$expires}</td>\n				<td class="{$alt_bg}" style="text-align: center;">{$issuedby}</td>\n				<td class="{$alt_bg}" style="text-align: center;"><a href="warnings.php?action=view&amp;wid={$warning[''wid'']}">{$lang->view}</a></td>\n			</tr>', -2, '1800', '', [[timestamp]]),
(956, 'xmlhttp_buddyselect', '<table border="0" cellspacing="1" cellpadding="4" class="tborder" style="width: 300px;">\n	<thead>\n		<tr>\n			<td class="thead">\n				<div class="float_right" style="margin-top: 3px;"><span class="smalltext"><a href="javascript:void(0)" onclick="UserCP.closeBuddySelect(true); return false;">{$lang->close}</a></span></div>\n				<div><strong>{$lang->select_buddies}</strong></div>\n			</td>\n		</tr>\n	</thead>\n	<tbody>\n		<tr>\n			<td class="trow1 smalltext">{$lang->select_buddies_desc}</td>\n		</tr>\n		<tr>\n			<td class="trow2">\n				<div style="height: 200px; overflow: auto;" >\n				<table border="0" cellspacing="1" cellpadding="4" class="tborder" style="border: 0; width: 270px;" align="right">\n				{$online}\n				{$offline}\n				</table>\n				</div>\n			</td>\n		</tr>\n		<tr>\n			<td class="trow1">\n				<div class="smalltext"><strong>{$lang->selected_recipients}</strong></div>\n				<div id="buddyselect_buddies" class="smalltext" style="padding-left: 10px; height: 50px; overflow: auto;"></div>\n				<div style="text-align: right;"><input type="button" class="button" value="{$lang->ok}" onclick="UserCP.closeBuddySelect();" /> <input type="button" class="button" value="{$lang->cancel}" onclick="UserCP.closeBuddySelect(true);" /></div>\n			</td>\n		</tr>\n	</tbody>\n</table>', -2, '1809', '', [[timestamp]]),
(957, 'xmlhttp_buddyselect_offline', '					<tr>\n						<td class="trow1" onmouseover="this.className=''trow2'';" onmouseout="this.className=''trow1'';"><label><input type="checkbox" style="vertical-align: middle;" id="checkbox_{$buddy[''uid'']}" onclick="UserCP.selectBuddy(''{$buddy[''uid'']}'', ''{$buddy[''username'']}'');" /> <img src="{$theme[''imgdir'']}/buddy_offline.png" alt="({$lang->offline})" title="{$lang->offline}" style="vertical-align: middle;" /> {$buddy_name}</label></td>\n					</tr>', -2, '1800', '', [[timestamp]]),
(958, 'xmlhttp_buddyselect_online', '					<tr>\n						<td class="trow1" onmouseover="this.className=''trow2'';" onmouseout="this.className=''trow1'';"><label><input type="checkbox" style="vertical-align: middle;" id="checkbox_{$buddy[''uid'']}" onclick="UserCP.selectBuddy(''{$buddy[''uid'']}'', ''{$buddy[''username'']}'');" /> <img src="{$theme[''imgdir'']}/buddy_online.png" alt="({$lang->online})" title="{$lang->online}" style="vertical-align: middle;" /> {$buddy_name}</label></td>\n					</tr>', -2, '1800', '', [[timestamp]]),
(959, 'attachment_icon', '<img src="{$icon}" title="{$name}" border="0" alt=".{$ext}" />', -2, '1800', '', [[timestamp]]),
(960, 'changeuserbox', '<tr>\n<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>\n<td class="trow1">{$mybb->user[''username'']} <span class="smalltext">[<strong><a href="member.php?action=logout&amp;logoutkey={$mybb->user[''logoutkey'']}">{$lang->change_user}</a></strong>]</span></td>\n</tr>', -2, '1400', '', [[timestamp]]),
(961, 'codebuttons', '<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/themes/{$theme[''editortheme'']}" type="text/css" media="all" />\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.bbcode.min.js?ver=1832"></script>\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js?ver=1837"></script>\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/plugins/undo.js?ver=1832"></script>\n<script type="text/javascript">\nvar partialmode = {$mybb->settings[''partialmode'']},\nopt_editor = {\n	plugins: "undo",\n	format: "bbcode",\n	bbcodeTrim: false,\n	style: "{$mybb->asset_url}/jscripts/sceditor/styles/jquery.sceditor.{$theme[''editortheme'']}?ver=1832",\n	rtl: {$lang->settings[''rtl'']},\n	locale: "mybblang",\n	width: "100%",\n	enablePasteFiltering: true,\n	autoUpdate: true,\n	emoticonsEnabled: {$emoticons_enabled},\n	emoticons: {\n		// Emoticons to be included in the dropdown\n		dropdown: {\n			{$dropdownsmilies}\n		},\n		// Emoticons to be included in the more section\n		more: {\n			{$moresmilies}\n		},\n		// Emoticons that are not shown in the dropdown but will still be converted. Can be used for things like aliases\n		hidden: {\n			{$hiddensmilies}\n		}\n	},\n	emoticonsCompat: true,\n	toolbar: "{$basic1}{$align}{$font}{$size}{$color}{$removeformat}{$basic2}image,{$email}{$link}|video{$emoticon}|{$list}{$code}quote|maximize,source",\n};\n{$editor_language}\n$(function() {\n	$("#{$bind}").sceditor(opt_editor);\n\n	MyBBEditor = $("#{$bind}").sceditor("instance");\n	{$sourcemode}\n});\n</script>', -2, '1837', '', [[timestamp]]),
(962, 'contact', '<html>\n<head>\n<title>{$mybb->settings[''bbname'']} - {$lang->contact}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n<form action="contact.php" method="post">\n	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n	<input type="hidden" name="from" value="{$redirect_url}" />\n	{$errors}\n	<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n		<tr>\n		<td class="thead" colspan="2"><strong>{$lang->contact}</strong></td>\n		</tr>\n		<tr>\n		<td class="trow1" valign="top"><strong>{$lang->contact_subject}:</strong><br /><span class="smalltext">{$lang->contact_subject_desc}</span></td>\n		<td class="trow1"><input type="text" name="subject" class="textbox" size="49" value="{$contact_subject}" /></td>\n		</tr>\n		<tr>\n		<td class="trow2" valign="top"><strong>{$lang->contact_message}:</strong><br /><span class="smalltext">{$lang->contact_message_desc}</span></td>\n		<td class="trow2"><textarea cols="50" rows="10" name="message" class="textarea" >{$contact_message}</textarea></td>\n		</tr>\n		<tr>\n		<td class="trow1" valign="top"><strong>{$lang->contact_email}:</strong><br /><span class="smalltext">{$lang->contact_email_desc}</span></td>\n		<td class="trow1"><input type="text" name="email" class="textbox" size="49" value="{$user_email}" /></td>\n		</tr>\n		{$captcha}\n	</table>\n	<br />\n	<div align="center">\n		<input type="submit" class="button" name="submit" value="{$lang->contact_send}" />\n	</div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1827', '', [[timestamp]]),
(963, 'debug_summary', '<div id="debug">{$generated_in} {$debug_weight} <br />{$sql_queries} / {$server_load} / {$memory_usage}<br />[<a href="{$debuglink}" target="_blank">{$lang->debug_advanced_details}</a>]<br /></div>', -2, '1800', '', [[timestamp]]),
(964, 'gobutton', '<input type="submit" class="button" value="{$lang->go}" />', -2, '120', '', [[timestamp]]),
(965, 'headerinclude', '<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings[''bburl'']}/syndication.php" />\n<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings[''bburl'']}/syndication.php?type=atom1.0" />\n<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />\n<meta http-equiv="Content-Script-Type" content="text/javascript" />\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1823"></script>\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1821"></script>\n<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1827"></script>\n\n{$stylesheets}\n<script type="text/javascript">\n<!--\n	lang.unknown_error = "{$lang->unknown_error}";\n	lang.confirm_title = "{$lang->confirm_title}";\n	lang.expcol_collapse = "{$lang->expcol_collapse}";\n	lang.expcol_expand = "{$lang->expcol_expand}";\n	lang.select2_match = "{$lang->select2_match}";\n	lang.select2_matches = "{$lang->select2_matches}";\n	lang.select2_nomatches = "{$lang->select2_nomatches}";\n	lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";\n	lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";\n	lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";\n	lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";\n	lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";\n	lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";\n	lang.select2_loadmore = "{$lang->select2_loadmore}";\n	lang.select2_searching = "{$lang->select2_searching}";\n\n	var templates = {\n		modal: ''{$jsTemplates[''modal'']}'',\n		modal_button: ''{$jsTemplates[''modal_button'']}''\n	};\n\n	var cookieDomain = "{$mybb->settings[''cookiedomain'']}";\n	var cookiePath = "{$mybb->settings[''cookiepath'']}";\n	var cookiePrefix = "{$mybb->settings[''cookieprefix'']}";\n	var cookieSecureFlag = "{$mybb->settings[''cookiesecureflag'']}";\n	var deleteevent_confirm = "{$lang->deleteevent_confirm}";\n	var removeattach_confirm = "{$lang->removeattach_confirm}";\n	var loading_text = ''{$lang->ajax_loading}'';\n	var saving_changes = ''{$lang->saving_changes}'';\n	var use_xmlhttprequest = "{$mybb->settings[''use_xmlhttprequest'']}";\n	var my_post_key = "{$mybb->post_code}";\n	var rootpath = "{$mybb->settings[''bburl'']}";\n	var imagepath = "{$theme[''imgdir'']}";\n  	var yes_confirm = "{$lang->yes}";\n	var no_confirm = "{$lang->no}";\n	var MyBBEditor = null;\n	var spinner_image = "{$theme[''imgdir'']}/spinner.gif";\n	var spinner = "<img src=''" + spinner_image +"'' alt='''' />";\n	var modal_zindex = 9999;\n// -->\n</script>', -2, '1827', '', [[timestamp]]),
(966, 'htmldoctype', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">', -2, '120', '', [[timestamp]]),
(967, 'loginbox', '<tr>\n<td class="trow2"><strong>{$lang->username}</strong></td>\n<td class="trow2"><input type="text" class="textbox" name="username" size="30" value="{$username}" /></td>\n</tr>', -2, '1609', '', [[timestamp]]),
(968, 'previewpost', '<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder tfixed clear no_bottom_border">\n<tr>\n<td class="thead"><strong>{$lang->post_preview}</strong></td>\n</tr>\n<tr>\n	<td id="posts_container">\n		<div id="posts">\n			{$postbit}\n		</div>\n	</td>\n</tr>\n</table>\n<br />', -2, '1800', '', [[timestamp]]),
(969, 'redirect', '<html>\n<head>\n<title>{$title}</title>\n<meta http-equiv="refresh" content="2;URL={$url}" />\n{$headerinclude}\n</head>\n<body>\n<br />\n<br />\n<br />\n<br />\n<div style="margin: auto auto; width: {$lang->redirect_width}" align="center">\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td class="thead"><strong>{$title}</strong></td>\n</tr>\n<tr>\n<td class="trow1" align="center"><p>{$message}</p></td>\n</tr>\n<tr>\n<td class="trow2" align="right"><a href="{$url}"><span class="smalltext">{$lang->click_no_wait}</span></a></td>\n</tr>\n</table>\n</div>\n</body>\n</html>', -2, '120', '', [[timestamp]]),
(970, 'sendthread', '<html>\n<head>\n<title>{$threadprefix[''prefix'']} {$thread[''subject'']} - {$lang->send_thread}</title>\n{$headerinclude}\n</head>\n<body>\n{$header}\n{$errors}\n<form action="sendthread.php" method="post">\n<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />\n<table border="0" cellspacing="{$theme[''borderwidth'']}" cellpadding="{$theme[''tablespace'']}" class="tborder">\n<tr>\n<td colspan="2" width="100%" class="thead"><strong>{$lang->send_thread}</strong></td>\n</tr>\n{$from_email}\n<tr>\n<td width="40%" class="trow1"><strong>{$lang->recipient}</strong><br /><span class="smalltext">{$lang->recipient_note}</span></td>\n<td width="60%" class="trow1"><input type="text" class="textbox" size="50" name="email" value="{$email}" /></td>\n</tr>\n<tr>\n<td width="40%" class="trow2"><strong>{$lang->subject}</strong></td>\n<td width="60%" class="trow2"><input type="text" class="textbox" size="50" name="subject" value="{$subject}" /></td>\n</tr>\n<tr>\n<td valign="top" width="40%" class="trow1"><strong>{$lang->message}</strong></td>\n<td width="60%" class="trow1"><textarea cols="50" rows="10" name="message">{$message}</textarea></td>\n</tr>\n{$captcha}\n</table>\n<br />\n<input type="hidden" name="action" value="do_sendtofriend" />\n<input type="hidden" name="tid" value="{$tid}" />\n<div align="center"><input type="submit" class="button" name="submit" value="{$lang->send_thread}" /></div>\n</form>\n{$footer}\n</body>\n</html>', -2, '1823', '', [[timestamp]]),
(971, 'sendthread_fromemail', '<tr>\n<td width="40%" class="trow2"><strong>{$lang->your_name}</strong><br /><span class="smalltext">{$lang->name_note}</span></td>\n<td width="60%" class="trow2"><input type="text" class="textbox" size="50" name="fromname" value="{$fromname}" /></td>\n</tr>\n<tr>\n<td width="40%" class="trow1"><strong>{$lang->your_email}</strong><br /><span class="smalltext">{$lang->email_note}</span></td>\n<td width="60%" class="trow1"><input type="text" class="textbox" size="50" name="fromemail" value="{$fromemail}" /></td>\n</tr>', -2, '1800', '', [[timestamp]]),
(972, 'task_image', '<img src="{$mybb->settings[''bburl'']}/task.php" width="1" height="1" alt="" />', -2, '1800', '', [[timestamp]]),
(973, 'smilie', '<img src="{$smilie[''image'']}" alt="{$smilie[''name'']}" title="{$smilie[''name'']}" class="smilie smilie_{$smilie[''sid'']}{$extra_class}"{$onclick} />', -2, '1800', '', [[timestamp]]),
(974, 'delete_attachments_button', '\n		<div align="center">\n						<input type="hidden" name="action" value="do_attachments" />\n						<input type="submit" class="button" value="{$lang->delete_attachments}" />\n					</div>', -2, '1827', '', [[timestamp]]);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]templatesets`
--

CREATE TABLE `[[dbprefix]]templatesets` (
  `sid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(120) NOT NULL DEFAULT '',
  PRIMARY KEY (`sid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `[[dbprefix]]templatesets`
--

INSERT INTO `[[dbprefix]]templatesets` VALUES
(1, 'Default Templates');

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]themes`
--

CREATE TABLE `[[dbprefix]]themes` (
  `tid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL DEFAULT '',
  `pid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `def` tinyint(1) NOT NULL DEFAULT '0',
  `properties` text NOT NULL,
  `stylesheets` text NOT NULL,
  `allowedgroups` text NOT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `[[dbprefix]]themes`
--

INSERT INTO `[[dbprefix]]themes` VALUES
(1, 'MyBB Master Style', 0, 0, 'a:7:{s:11:"templateset";i:-2;s:6:"imgdir";s:6:"images";s:4:"logo";s:15:"images/logo.png";s:10:"tablespace";s:1:"5";s:11:"borderwidth";s:1:"0";s:11:"editortheme";s:8:"mybb.css";s:9:"disporder";a:7:{s:10:"global.css";i:1;s:10:"usercp.css";i:2;s:9:"modcp.css";i:3;s:16:"star_ratings.css";i:4;s:14:"showthread.css";i:5;s:17:"thread_status.css";i:6;s:8:"css3.css";i:7;}}', 'a:7:{s:6:"global";a:1:{s:6:"global";a:2:{i:0;s:30:"cache/themes/theme1/global.css";i:1;s:28:"cache/themes/theme1/css3.css";}}s:10:"usercp.php";a:1:{s:6:"global";a:2:{i:0;s:30:"cache/themes/theme1/usercp.css";i:1;s:37:"cache/themes/theme1/thread_status.css";}}s:11:"private.php";a:1:{s:6:"global";a:1:{i:0;s:30:"cache/themes/theme1/usercp.css";}}s:9:"modcp.php";a:1:{s:6:"global";a:1:{i:0;s:29:"cache/themes/theme1/modcp.css";}}s:16:"forumdisplay.php";a:1:{s:6:"global";a:2:{i:0;s:36:"cache/themes/theme1/star_ratings.css";i:1;s:37:"cache/themes/theme1/thread_status.css";}}s:14:"showthread.php";a:1:{s:6:"global";a:2:{i:0;s:36:"cache/themes/theme1/star_ratings.css";i:1;s:34:"cache/themes/theme1/showthread.css";}}s:10:"search.php";a:1:{s:6:"global";a:1:{i:0;s:37:"cache/themes/theme1/thread_status.css";}}}', 'all'),
(2, 'Default', 1, 1, 'a:9:{s:11:"templateset";i:1;s:9:"inherited";a:6:{s:6:"imgdir";i:1;s:4:"logo";i:1;s:10:"tablespace";i:1;s:11:"borderwidth";i:1;s:11:"editortheme";i:1;s:9:"disporder";i:1;}s:6:"imgdir";s:6:"images";s:4:"logo";s:15:"images/logo.png";s:10:"tablespace";s:1:"5";s:11:"borderwidth";s:1:"0";s:11:"editortheme";s:8:"mybb.css";s:9:"disporder";a:17:{s:10:"global.css";i:1;s:10:"usercp.css";i:2;s:9:"modcp.css";i:3;s:16:"star_ratings.css";i:4;s:14:"showthread.css";i:5;s:17:"thread_status.css";i:6;s:8:"css3.css";i:7;s:15:"color_black.css";i:8;s:14:"color_calm.css";i:9;s:14:"color_dawn.css";i:10;s:15:"color_earth.css";i:11;s:15:"color_flame.css";i:12;s:14:"color_leaf.css";i:13;s:15:"color_night.css";i:14;s:13:"color_sun.css";i:15;s:18:"color_twilight.css";i:16;s:15:"color_water.css";i:17;}s:6:"colors";a:10:{s:5:"black";s:5:"Black";s:4:"calm";s:4:"Calm";s:4:"dawn";s:4:"Dawn";s:5:"earth";s:5:"Earth";s:5:"flame";s:5:"Flame";s:4:"leaf";s:4:"Leaf";s:5:"night";s:5:"Night";s:3:"sun";s:3:"Sun";s:8:"twilight";s:8:"Twilight";s:5:"water";s:5:"Water";}}', 'a:18:{s:6:"global";a:1:{s:6:"global";a:2:{i:0;s:30:"cache/themes/theme1/global.css";i:1;s:28:"cache/themes/theme1/css3.css";}}s:9:"inherited";a:7:{s:13:"global_global";a:2:{s:30:"cache/themes/theme1/global.css";i:1;s:28:"cache/themes/theme1/css3.css";i:1;}s:17:"usercp.php_global";a:2:{s:30:"cache/themes/theme1/usercp.css";i:1;s:37:"cache/themes/theme1/thread_status.css";i:1;}s:18:"private.php_global";a:1:{s:30:"cache/themes/theme1/usercp.css";i:1;}s:16:"modcp.php_global";a:1:{s:29:"cache/themes/theme1/modcp.css";i:1;}s:23:"forumdisplay.php_global";a:2:{s:36:"cache/themes/theme1/star_ratings.css";i:1;s:37:"cache/themes/theme1/thread_status.css";i:1;}s:21:"showthread.php_global";a:2:{s:36:"cache/themes/theme1/star_ratings.css";i:1;s:34:"cache/themes/theme1/showthread.css";i:1;}s:17:"search.php_global";a:1:{s:37:"cache/themes/theme1/thread_status.css";i:1;}}s:10:"usercp.php";a:1:{s:6:"global";a:2:{i:0;s:30:"cache/themes/theme1/usercp.css";i:1;s:37:"cache/themes/theme1/thread_status.css";}}s:11:"private.php";a:1:{s:6:"global";a:1:{i:0;s:30:"cache/themes/theme1/usercp.css";}}s:9:"modcp.php";a:1:{s:6:"global";a:1:{i:0;s:29:"cache/themes/theme1/modcp.css";}}s:16:"forumdisplay.php";a:1:{s:6:"global";a:2:{i:0;s:36:"cache/themes/theme1/star_ratings.css";i:1;s:37:"cache/themes/theme1/thread_status.css";}}s:14:"showthread.php";a:1:{s:6:"global";a:2:{i:0;s:36:"cache/themes/theme1/star_ratings.css";i:1;s:34:"cache/themes/theme1/showthread.css";}}s:10:"search.php";a:1:{s:6:"global";a:1:{i:0;s:37:"cache/themes/theme1/thread_status.css";}}s:5:"black";a:1:{s:6:"global";a:1:{i:0;s:35:"cache/themes/theme2/color_black.css";}}s:4:"calm";a:1:{s:6:"global";a:1:{i:0;s:34:"cache/themes/theme2/color_calm.css";}}s:4:"dawn";a:1:{s:6:"global";a:1:{i:0;s:34:"cache/themes/theme2/color_dawn.css";}}s:5:"earth";a:1:{s:6:"global";a:1:{i:0;s:35:"cache/themes/theme2/color_earth.css";}}s:5:"flame";a:1:{s:6:"global";a:1:{i:0;s:35:"cache/themes/theme2/color_flame.css";}}s:4:"leaf";a:1:{s:6:"global";a:1:{i:0;s:34:"cache/themes/theme2/color_leaf.css";}}s:5:"night";a:1:{s:6:"global";a:1:{i:0;s:35:"cache/themes/theme2/color_night.css";}}s:3:"sun";a:1:{s:6:"global";a:1:{i:0;s:33:"cache/themes/theme2/color_sun.css";}}s:8:"twilight";a:1:{s:6:"global";a:1:{i:0;s:38:"cache/themes/theme2/color_twilight.css";}}s:5:"water";a:1:{s:6:"global";a:1:{i:0;s:35:"cache/themes/theme2/color_water.css";}}}', 'all');

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]themestylesheets`
--

CREATE TABLE `[[dbprefix]]themestylesheets` (
  `sid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(30) NOT NULL DEFAULT '',
  `tid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `attachedto` text NOT NULL,
  `stylesheet` longtext NOT NULL,
  `cachefile` varchar(100) NOT NULL DEFAULT '',
  `lastmodified` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`sid`),
  KEY `tid` (`tid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=18 ;

--
-- Dumping data for table `[[dbprefix]]themestylesheets`
--

INSERT INTO `[[dbprefix]]themestylesheets` VALUES
(1, 'global.css', 1, '', 'body {\n	background: #fff;\n	color: #333;\n	text-align: center;\n	line-height: 1.4;\n	margin: 0;\n	font-family: Tahoma, Verdana, Arial, Sans-Serif;\n	font-size: 13px;\n	overflow-y: scroll;\n}\n\na:link {\n	color: #0072BC;\n	text-decoration: none;\n}\n\na:visited {\n	color: #0072BC;\n	text-decoration: none;\n}\n\na:hover,\na:active {\n	color: #0072BC;\n	text-decoration: underline;\n}\n\n#container {\n	color: #333;\n	text-align: left;\n	line-height: 1.4;\n	margin: 0;\n	font-family: Tahoma, Verdana, Arial, Sans-Serif;\n	font-size: 13px;\n	min-width: 990px;\n}\n\n.wrapper {\n	width: 85%;\n	min-width: 970px;\n	max-width: 1500px;\n	margin: auto auto;\n}\n\n#logo {\n	background: #fff;\n	padding: 10px 0;\n	border-bottom: 1px solid #263c30;\n}\n\n#content {\n	background: #fff;\n	width: auto !important;\n	padding: 20px 10px;\n	overflow: hidden;\n}\n\n#header ul.menu {\n	margin: 0;\n	padding: 0;\n	list-style: none;\n}\n\n#header ul.menu li {\n	margin: 0 7px;\n	display: inline;\n}\n\n#header ul.menu li a {\n	padding-left: 20px;\n	background-image: url(images/headerlinks_sprite.png);\n	background-repeat: no-repeat;\n	display: inline-block;\n	line-height: 16px;\n}\n\n#logo ul.top_links {\n	font-weight: bold;\n	text-align: right;\n	margin: -10px 5px 0 0;\n}\n\n#logo ul.top_links a.search {\n	background-position: 0 0;\n}\n\n#logo ul.top_links a.memberlist {\n	background-position: 0 -20px;\n}\n\n#logo ul.top_links a.calendar {\n	background-position: 0 -40px;\n}\n\n#logo ul.top_links a.help {\n	background-position: 0 -60px;\n}\n\n#logo ul.top_links a.portal {\n	background-position: 0 -180px;\n}\n\n#panel .upper a.logout {\n	font-weight: bold;\n	background: url(images/headerlinks_sprite.png) right -80px no-repeat;\n	padding-right: 20px;\n	margin-left: 10px;\n}\n\n#panel .upper a.login,\n#panel .upper a.lost_password {\n	background: url(images/headerlinks_sprite.png) 0 -100px no-repeat;\n	padding-left: 20px;\n	margin-left: 10px;\n	font-weight: bold;\n}\n\n#panel .upper a.register {\n	background: url(images/headerlinks_sprite.png) right -80px no-repeat;\n	padding-right: 20px;\n	margin-left: 10px;\n	font-weight: bold;\n}\n\n#panel .lower ul.panel_links {\n	float: left;\n}\n\n#panel .lower ul.panel_links a.usercp {\n	background-position: 0 -120px;\n}\n\n#panel .lower ul.panel_links a.modcp {\n	background-position: 0 -140px;\n}\n\n#panel .lower ul.panel_links a.admincp {\n	background-position: 0 -160px;\n}\n\n#panel .lower ul.user_links {\n	float: right;\n}\n\n#panel .lower ul.user_links li a {\n	padding: 0;\n	background-image: none;\n}\n\n#panel .upper {\n	background: #0f0f0f url(images/tcat.png) repeat-x;\n	color: #fff;\n	border-top: 1px solid #444;\n	border-bottom: 1px solid #000;\n	padding: 7px;\n	clear: both;\n}\n\n#panel .upper a:link,\n#panel .upper a:visited,\n#panel .upper a:hover,\n#panel .upper a:active {\n	color: #fff;\n}\n\n#panel .lower {\n	background: #efefef;\n	color: #999;\n	border-top: 1px solid #fff;\n	border-bottom: 1px solid #ccc;\n	padding: 5px;\n}\n\n#panel .lower a:link,\n#panel .lower a:visited,\n#panel .lower a:hover,\n#panel .lower a:active {\n	color: #666;\n}\n\n#search {\n	border: 0;\n	padding: 0;\n	margin: 0;\n	float: right;\n	vertical-align: middle;\n}\n\n#search input.button,\n#search input.textbox {\n	border-color: #000;\n}\n\n#search input.button {\n	background: #0066a2 url(images/thead.png) top left repeat-x;\n	color: #fff;\n}\n\n#search input {\n	margin: -3px 0;\n}\n\n#quick_login .remember_me input {\n	vertical-align: middle;\n	margin: -3px 0 0 5px;\n}\n\n#footer {\n	clear: both;\n}\n\n#footer ul.menu {\n	margin: 0;\n	padding: 0;\n	list-style: none;\n}\n\n#footer ul.menu li {\n	margin: 0 5px;\n	display: inline;\n}\n\n#footer .upper {\n	background: #efefef;\n	border-top: 1px solid #bbb;\n	border-bottom: 1px solid #bbb;\n	padding: 6px;\n	font-size: 12px;\n	overflow: hidden;\n}\n\n#footer a:link,\n#footer a:visited,\n#footer a:hover,\n#footer a:active {\n	color: #777;\n}\n\n#footer .upper .language {\n	float: right;\n	margin: -1px;\n	margin-left: 15px;\n}\n\n#footer .upper .language select {\n	border-color: #ccc;\n}\n\n#footer .upper .theme {\n	float: right;\n	margin: -1px;\n	margin-left: 15px;\n}\n\n#footer .upper .theme select {\n	border-color: #ccc;\n}\n\n#footer .upper ul.bottom_links {\n	float: left;\n	margin: 4px 0 0 0;\n}\n\n#footer .lower {\n	color: #666;\n	padding: 6px 6px 12px 6px;\n	overflow: hidden;\n	font-size: 11px;\n}\n\n#footer .lower a:link,\n#footer .lower a:visited {\n	color: #444;\n	font-weight: bold;\n}\n\n#footer .lower a:hover,\n#footer .lower a:active {\n	color: #333;\n	text-decoration: underline;\n	font-weight: bold;\n}\n\n#footer .lower #current_time {\n	float: right;\n	color: #888;\n}\n\n#debug {\n	float: right;\n	text-align: right;\n	margin-top: 20px;\n	font-size: 11px;\n}\n\n.scaleimages img {\n	max-width: 100%;\n}\n\n.forum_status {\n	height: 30px;\n	width: 30px;\n	background: url(images/forum_icon_sprite.png) no-repeat 0 0;\n	display: inline-block;\n}\n\n.forum_on {\n	background-position: 0 0;\n}\n\n.forum_off {\n	background-position: 0 -30px;\n}\n\n.forum_offclose {\n	background-position: 0 -60px;\n}\n\n.forum_offlink {\n	background-position: 0 -90px;\n}\n\n.subforumicon {\n	height: 10px;\n	width: 10px;\n	display: inline-block;\n	margin: 0 5px;\n	background: url(images/mini_status_sprite.png) no-repeat 0 0;\n}\n\n.subforum_minion {\n	background-position: 0 0;\n}\n\n.subforum_minioff {\n	background-position: 0 -10px;\n}\n\n.subforum_minioffclose {\n	background-position: 0 -20px;\n}\n\n.subforum_miniofflink {\n	background-position: 0 -30px;\n}\n\ntable {\n	color: #333;\n	font-size: 13px;\n}\n\n.tborder {\n	background: #fff;\n	width: 100%;\n	margin: auto auto;\n	border: 1px solid #ccc;\n	padding: 1px;\n}\n\n.tfixed {\n	table-layout: fixed;\n	word-wrap: break-word;\n}\n\n.thead {\n	background: #0066a2 url(images/thead.png) top left repeat-x;\n	color: #ffffff;\n	border-bottom: 1px solid #263c30;\n	padding: 8px;\n}\n\n.thead a:link {\n	color: #ffffff;\n	text-decoration: none;\n}\n\n.thead a:visited {\n	color: #ffffff;\n	text-decoration: none;\n}\n\n.thead a:hover,\n.thead a:active {\n	color: #ffffff;\n	text-decoration: underline;\n}\n\n.tcat {\n	background: #0f0f0f url(images/tcat.png) repeat-x;\n	color: #fff;\n	border-top: 1px solid #444;\n	border-bottom: 1px solid #000;\n	padding: 6px;\n	font-size: 12px;\n}\n\n.tcat a:link {\n	color: #fff;\n}\n\n.tcat a:visited {\n	color: #fff;\n}\n\n.tcat a:hover,\n.tcat a:active {\n	color: #fff;\n}\n\n.trow1 {\n	background: #f5f5f5;\n	border: 1px solid;\n	border-color: #fff #ddd #ddd #fff;\n}\n\n.trow2 {\n	background: #efefef;\n	border: 1px solid;\n	border-color: #fff #ddd #ddd #fff;\n}\n\n.trow_shaded {\n	background: #ffdde0;\n	border: 1px solid;\n	border-color: #fff #ffb8be #ffb8be #fff;\n}\n\n.no_bottom_border {\n	border-bottom: 0;\n}\n\n.post.unapproved_post {\n	background: #ffdde0;\n}\n\n.thread_start_datetime {\n	color: #999;\n}\n\n.post.unapproved_post .post_author {\n	border-bottom-color: #ffb8be;\n}\n\n.post.classic.unapproved_post .post_author {\n	border-color: #ffb8be;\n}\n\n.post.unapproved_post .post_controls {\n	border-top-color: #ffb8be;\n}\n\n.trow_deleted,\n.post.deleted_post {\n	background: #E8DEFF;\n}\n\n.trow_selected,\ntr.trow_selected td {\n	background: #FFFBD9;\n	color: #333;\n	border-right-color: #F7E86A;\n	border-bottom-color: #F7E86A;\n}\n\n.trow_selected a:link,\n.trow_selected a:visited,\n.trow_selected a:hover,\n.trow_selected a:active {\n	color: #333;\n}\n\n.trow_sep {\n	background: #ddd;\n	color: #333;\n	border-bottom: 1px solid #c5c5c5;\n	padding: 6px;\n	font-size: 12px;\n	font-weight: bold;\n}\n\n.tfoot {\n	border-top: 1px solid #fff;\n	padding: 6px;\n	background: #ddd;\n	color: #666;\n}\n\n.tfoot a:link {\n	color: #444;\n	text-decoration: none;\n}\n\n.tfoot a:visited {\n	color: #444;\n	text-decoration: none;\n}\n\n.tfoot a:hover,\n.tfoot a:active {\n	color: #444;\n	text-decoration: underline;\n}\n\n.thead input.textbox,\n.thead select {\n	border: 1px solid #263c30;\n}\n\n.bottommenu {\n	background: #efefef;\n	color: #333;\n	border: 1px solid #4874a3;\n	padding: 10px;\n}\n\n.navigation {\n	color: #333;\n	font-size: 12px;\n}\n\n.navigation a:link {\n	text-decoration: none;\n}\n\n.navigation a:visited {\n	text-decoration: none;\n}\n\n.navigation a:hover,\n.navigation a:active {\n	text-decoration: underline;\n}\n\n.navigation .active {\n	color: #333;\n	font-size: small;\n	font-weight: bold;\n}\n\n.smalltext {\n	font-size: 11px;\n}\n\n.largetext {\n	font-size: 16px;\n	font-weight: bold;\n}\n\nfieldset {\n	padding: 12px;\n	border: 1px solid #ddd;\n	margin: 0;\n}\n\nfieldset.trow1,\nfieldset.trow2 {\n	border-color: #bbb;\n}\n\nfieldset.align_right {\n	text-align: right;\n}\n\ninput.textbox {\n	background: #ffffff;\n	color: #333;\n	border: 1px solid #ccc;\n	padding: 3px;\n	outline: 0;\n	font-size: 13px;\n	font-family: Tahoma, Verdana, Arial, Sans-Serif;\n}\n\ninput.textbox.portal_search {\n    width: 68%;\n}\n\ntextarea {\n	background: #ffffff;\n	color: #333;\n	border: 1px solid #ccc;\n	padding: 2px;\n	line-height: 1.4;\n	outline: 0;\n	font-family: Tahoma, Verdana, Arial, Sans-Serif;\n	font-size: 13px;\n}\n\nselect {\n	background: #ffffff;\n	padding: 3px;\n	border: 1px solid #ccc;\n	outline: 0;\n	font-family: Tahoma, Verdana, Arial, Sans-Serif;\n	font-size: 13px;\n}\n\nbutton,\ninput.button {\n	padding: 3px 8px;\n	cursor: pointer;\n	font-family: Tahoma, Verdana, Arial, Sans-Serif;\n	font-size: 13px;\n	background: #eee url(images/buttons_bg.png) repeat-x;\n	border: 1px solid #bbb;\n	color: #333;\n	outline: 0;\n}\n\nbutton:hover,\ninput.button:hover {\n	border-color: #aaa;\n}\n\nform {\n	margin: 0;\n	padding: 0;\n}\n\ninput.error, textarea.error, select.error {\n	border: 1px solid #f30;\n	color: #f30;\n}\n\ninput.valid, textarea.valid, select.valid {\n	border: 1px solid #0c0;\n}\n\nlabel.error {\n	color: #f30;\n	margin: 5px;\n	padding: 0px;\n	display: block;\n	font-weight: bold;\n	font-size: 11px;\n}\n\nform #message {\n	width: 500px;\n}\n\n.editor {\n	background: #f1f1f1;\n	border: 1px solid #ccc;\n}\n\n.editor_control_bar {\n	background: #fff;\n	border: 1px solid #ccc;\n}\n\n.post .editor_control_bar {\n	background: #f5f5f5;\n}\n\n.popup_menu {\n	background: #fff;\n	border: 1px solid #ccc;\n}\n\n.popup_menu .popup_item {\n	background: #efefef;\n	color: #333;\n}\n\n.popup_menu .popup_item:hover {\n	background: #0072BC;\n	color: #fff;\n}\n\n.trow_reputation_positive {\n	background: #ccffcc;\n}\n\n.trow_reputation_negative {\n	background: #ffcccc;\n}\n\n.reputation_positive {\n	color: green;\n}\n\n.reputation_neutral {\n	color: #444;\n}\n\n.reputation_negative {\n	color: red;\n}\n\n.repbox {\n	font-size:16px;\n	font-weight: bold;\n	padding:5px 7px 5px 7px;\n}\n\n._neutral {\n	background-color:#FAFAFA;\n	color: #999999;\n	border:1px solid #CCCCCC;\n}\n\n._minus {\n	background-color: #FDD2D1;\n	color: #CB0200;\n	border:1px solid #980201;\n}\n\n._plus {\n	background-color:#E8FCDC;\n	color: #008800;\n	border:1px solid #008800;\n}\n\nimg {\n	border: none;\n}\n\nimg.attachment {\n	border: 1px solid #E9E5D7;\n	padding: 2px;\n}\n\nhr {\n	background-color: #000000;\n	color: #000000;\n	height: 1px;\n	border: 0px;\n}\n\n.clear {\n	clear: both;\n}\n\n.float_left {\n	float: left;\n}\n\n.float_right {\n	float: right;\n}\n\n.hidden {\n	display: none;\n	float: none;\n	width: 1%;\n}\n\n.hiddenrow {\n	display: none;\n}\n\n.selectall {\n	background: #FFFBD9;\n	border-bottom: 1px solid #F7E86A;\n	color: #333;\n	text-align: center;\n}\n\n.expcolimage {\n	float: right;\n	width: auto;\n	vertical-align: middle;\n	margin-top: 3px;\n}\n\n.tcat_menu > .expcolimage {\n	margin-top: 0;\n}\n\nblockquote {\n	border: 1px solid #ccc;\n	margin: 0;\n	background: #fff;\n	padding: 10px;\n}\n\nblockquote cite {\n	font-weight: bold;\n	border-bottom: 1px solid #ccc;\n	font-style: normal;\n	display: block;\n	padding-bottom: 3px;\n	margin: 0 0 10px 0;\n}\n\nblockquote cite > span {\n	float: right;\n	font-weight: normal;\n	font-size: 12px;\n	color: #666;\n}\n\nblockquote cite span.highlight {\n	float: none;\n	font-weight: bold;\n	padding-bottom: 0;\n}\n\n.codeblock {\n	background: #fff;\n	border: 1px solid #ccc;\n	padding: 10px;\n}\n\n.codeblock .title {\n	border-bottom: 1px solid #ccc;\n	font-weight: bold;\n	padding-bottom: 3px;\n	margin: 0 0 10px 0;\n}\n\n.codeblock code {\n	overflow: auto;\n	height: auto;\n	max-height: 200px;\n	display: block;\n	font-family: Monaco, Consolas, Courier, monospace;\n	font-size: 13px;\n}\n\n.smilie {\n	vertical-align: middle;\n}\n\n.smilie_pointer {\n	cursor: pointer;\n}\n\n.separator {\n	margin: 5px;\n	padding: 0;\n	height: 0px;\n	font-size: 1px;\n	list-style-type: none;\n}\n\n.popup_menu .popup_item_container {\n	margin: 1px;\n	text-align: left;\n}\n\n.popup_menu .popup_item {\n	display: block;\n	padding: 4px;\n	white-space: nowrap;\n	text-decoration: none;\n}\n\n.popup_menu a.popup_item:hover {\n	text-decoration: none;\n}\n\n.subject_new {\n	font-weight: bold;\n}\n\n.highlight {\n	background: #FFFFCC;\n	padding-top: 3px;\n	padding-bottom: 3px;\n}\n\n.pm_alert {\n	background: #FFF6BF;\n	border: 1px solid #FFD324;\n	text-align: center;\n	padding: 5px 20px;\n	margin-bottom: 15px;\n	font-size: 11px;\n}\n\n.red_alert {\n	background: #FBE3E4;\n	border: 1px solid #A5161A;\n	color: #A5161A;\n	text-align: center;\n	padding: 5px 20px;\n	margin-bottom: 15px;\n	font-size: 11px;\n	word-wrap: break-word;\n}\n\n.red_alert a:link,\n.red_alert a:visited,\n.red_alert a:hover,\n.red_alert a:active {\n	color: #A5161A;\n}\n\n.high_warning {\n	color: #CC0000;\n}\n\n.moderate_warning {\n	color: #F3611B;\n}\n\n.low_warning {\n	color: #AE5700;\n}\n\n.imminent_banned {\n	color: #880000;\n}\n\n.high_banned {\n	color: #FF0000;\n}\n\n.moderate_banned {\n	color: #FF6600;\n}\n\n.low_banned {\n	color: #008000;\n}\n\n.online {\n	color: #15A018;\n}\n\n.offline {\n	color: #C7C7C7;\n}\n\ndiv.error {\n	padding: 5px 10px;\n	border: 2px solid #FFD324;\n	background: #FFF6BF;\n	font-size: 12px;\n}\n\ndiv.error p {\n	margin: 0;\n	color: #333;\n	font-weight: normal;\n}\n\ndiv.error p em {\n	font-style: normal;\n	font-weight: bold;\n	padding-left: 24px;\n	display: block;\n	color: #C00;\n	background: url(images/error.png) no-repeat 0;\n}\n\ndiv.error ul {\n	margin-left: 24px;\n}\n\n.pagination {\n	font-size: 11px;\n	padding-top: 10px;\n	margin-bottom: 5px;\n}\n\n.tfoot .pagination,\n.tcat .pagination {\n	padding-top: 0;\n}\n\n.pagination .pages {\n	font-weight: bold;\n}\n\n.pagination .pagination_current,\n.pagination a {\n	padding: 3px 6px;\n	margin-bottom: 3px;\n}\n\n.pagination a {\n	background: #f5f5f5;\n	border: 1px solid #ccc;\n}\n\n.pagination .pagination_current {\n	background: none;\n	color: #333;\n	border: none;\n	font-weight: bold;\n}\n\n.pagination a:hover {\n	background: #0072BC;\n	color: #fff;\n	border-color: #263c30;\n	text-decoration: none;\n}\n\n.pagination .go_page img {\n	margin-bottom: -4px;\n}\n\n.drop_go_page {\n	background: #f5f5f5;\n	padding: 4px;\n}\n\n.pagination_breadcrumb {\n	background-color: #efefef;\n	border: 1px solid #fff;\n	outline: 1px solid #ccc;\n	padding: 5px;\n	margin-top: 5px;\n	font-weight: normal;\n}\n\n.pagination_breadcrumb_link {\n	vertical-align: middle;\n	cursor: pointer;\n}\n\n.thread_legend,\n.thread_legend dd {\n	margin: 0;\n	padding: 0;\n}\n\n.thread_legend dd {\n	padding-bottom: 4px;\n	margin-right: 15px;\n}\n\n.thread_legend img {\n	margin-right: 4px;\n	vertical-align: bottom;\n}\n\n.forum_legend,\n.forum_legend dt,\n.forum_legend dd {\n	margin: 0;\n	padding: 0;\n}\n\n.forum_legend dd {\n	float: left;\n	margin-right: 10px;\n	margin-top: 7px;\n}\n\n.forum_legend dt {\n	margin-right: 10px;\n	float: left;\n}\n\n.success_message {\n	color: #00b200;\n	font-weight: bold;\n	font-size: 10px;\n	margin-bottom: 10px;\n}\n\n.error_message {\n	color: #C00;\n	font-weight: bold;\n	font-size: 10px;\n	margin-bottom: 10px;\n}\n\n#posts_container {\n	padding: 0;\n}\n\n.ignored_post {\n	border-top: 3px solid #333;\n	padding: 15px;\n}\n\n.ignored_post .show_ignored_post {\n	margin-top: -15px;\n}\n\n.ignored_post .show_ignored_post a.button span {\n	background-position: 0 -400px;\n}\n\n.deleted_post_hidden {\n	border-top: 2px solid #ccc;\n	padding: 15px;\n}\n\n.deleted_post_collapsed {\n	border-top: 3px solid #333;\n	padding: 15px;\n}\n\n.deleted_post_collapsed .show_deleted_post {\n	margin-top: -15px;\n}\n\n.deleted_post_collapsed .show_deleted_post a.button span {\n	background-position: 0 -400px;\n}\n\n.post {\n	overflow: hidden;\n}\n\n.post.classic {\n	padding-top: 15px;\n}\n\n.post .post_author {\n	border-bottom: 1px solid #ccc;\n	border-top: 2px solid #ccc;\n	background: #f5f5f5;\n	padding: 5px;\n	overflow: hidden;\n}\n\n.post.classic .post_author {\n	border: 1px solid #ddd;\n	float: left;\n	width: 15%;\n	margin: 0 1% 15px 0;\n	border-left: 0;\n	padding: 5px 1%;\n}\n\n.post .post_author .buddy_status {\n	vertical-align: middle;\n	margin-top: -4px;\n}\n\n.post .post_author div.author_avatar {\n	float: left;\n	margin-right: 3px;\n}\n\n.post.classic .post_author div.author_avatar {\n	float: none;\n	text-align: center;\n	margin-bottom: 8px;\n}\n\n.post .post_author div.author_avatar img {\n	padding: 5px;\n	border: 1px solid #ddd;\n	background: #fff;\n}\n\n.post .post_author div.author_information {\n	float: left;\n	padding: 6px 8px;\n}\n\n.post.classic .post_author div.author_information {\n	float: none;\n	padding: 0;\n	text-align: center;\n}\n\n.post .post_author div.author_statistics {\n	float: right;\n	font-size: 11px;\n	padding: 3px 10px 3px 5px;\n	color: #666;\n	line-height: 1.3;\n}\n\n.post.classic .post_author div.author_statistics {\n	border-top: 1px dotted #ccc;\n	margin: 6px 0 0 0;\n	padding: 6px 6px 3px 6px;\n	float: none;\n}\n\n.post .post_head {\n	font-size: 11px;\n	padding-bottom: 4px;\n	border-bottom: 1px dotted #ddd;\n	margin-bottom: 4px;\n}\n\n.post .post_head span.post_date {\n	color: #666;\n}\n\n.post .post_head span.edited_post {\n	font-size: 10px;\n	color: #999;\n}\n\n.post .post_head span.edited_post a {\n	color: #666;\n}\n\n.post_body {\n	font-size: 14px;\n	padding: 12px 0;\n}\n\n.post.classic .post_content {\n	float: left;\n	width: 79%;\n	padding: 0 1% 5px 1%;\n}\n\n.post_content {\n	padding: 9px 10px 5px 10px;\n}\n\n.post_content .signature {\n	margin-top: 5px;\n	border-top: 1px dotted #ddd;\n	padding: 10px 0 4px 0;\n}\n\n.post .post_meta {\n	margin: 4px 0;\n	font-size: 11px;\n	color: #999;\n}\n\n.post .post_meta a:link,\n.post .post_meta a:visited {\n	color: #777;\n}\n\n.post .post_meta a:hover,\n.post .post_meta a:active {\n	color: #777;\n}\n\n.post_controls {\n	clear: both;\n	background: #f5f5f5;\n	border-bottom: 1px solid #ccc;\n	padding: 5px;\n	overflow: hidden;\n}\n\n.postbit_buttons > a:link,\n.postbit_buttons > a:hover,\n.postbit_buttons > a:visited,\n.postbit_buttons > a:active {\n	display: inline-block;\n	padding: 2px 5px;\n	margin: 2px;\n	font-size: 11px;\n	background: #eee url(images/buttons_bg.png) repeat-x;\n	border: 1px solid #ccc;\n	color: #555;\n}\n\n.postbit_buttons > a:hover {\n	border-color: #bbb;\n}\n\n.postbit_buttons a span {\n	padding-left: 20px;\n	display: inline-block;\n	height: 16px;\n	background-image: url(images/buttons_sprite.png);\n	background-repeat: no-repeat;\n}\n\n.postbit_buttons a.postbit_find span {\n	background-position: 0 0;\n}\n\n.postbit_buttons a.postbit_reputation_add span {\n	background-position: 0 -20px;\n}\n\n.postbit_buttons a.postbit_email span {\n	background-position: 0 -40px;\n}\n\n.postbit_buttons a.postbit_website span {\n	background-position: 0 -60px;\n}\n\n.postbit_buttons a.postbit_pm span {\n	background-position: 0 -80px;\n}\n\n.postbit_buttons a.postbit_quote span {\n	background-position: 0 -100px;\n}\n\n.postbit_buttons a.postbit_multiquote span {\n	background-position: 0 -120px;\n}\n\n.postbit_buttons a.postbit_multiquote_on span {\n	background-position: 0 -140px;\n}\n\n.postbit_buttons a.postbit_edit span {\n	background-position: 0 -160px;\n}\n\n.postbit_buttons a.postbit_qdelete span {\n	background-position: 0 -180px;\n}\n\n.postbit_buttons a.postbit_qrestore span {\n	background-position: 0 -200px;\n}\n\n.postbit_buttons a.postbit_report span {\n	background-position: 0 -220px;\n}\n\n.postbit_buttons a.postbit_warn span {\n	background-position: 0 -240px;\n}\n\n.postbit_buttons a.postbit_purgespammer span {\n	background-position: 0 -540px;\n}\n\n.postbit_buttons a.postbit_reply_pm span {\n	background-position: 0 -260px;\n}\n\n.postbit_buttons a.postbit_reply_all span {\n	background-position: 0 -280px;\n}\n\n.postbit_buttons a.postbit_forward_pm span {\n	background-position: 0 -300px;\n}\n\n.postbit_buttons a.postbit_delete_pm span {\n	background-position: 0 -320px;\n}\n\n.post:not(.deleted_post) .postbit_qrestore,\n.post:not(.deleted_post) .status_type,\n.post.deleted_post .postbit_mirage {\n    display: none;\n}\n\na.button:link,\na.button:hover,\na.button:visited,\na.button:active {\n	background: #0f0f0f url(images/tcat.png) repeat-x;\n	color: #fff;\n	display: inline-block;\n	padding: 4px 8px;\n	margin: 2px 2px 6px 2px;\n	border: 1px solid #000;\n	font-size: 14px;\n}\n\na.button.small_button {\n	font-size: 13px;\n	margin: 0;\n	padding: 3px 6px;\n}\n\na.button span {\n	padding-left: 20px;\n	display: inline-block;\n	background-image: url(images/buttons_sprite.png);\n	background-repeat: no-repeat;\n}\n\na.button.new_thread_button span {\n	background-position: 0 -340px;\n}\n\na.button.new_reply_button span {\n	background-position: 0 -360px;\n}\n\na.button.closed_button span {\n	background-position: 0 -380px;\n}\n\na.button.rate_user_button span {\n	background-position: 0 -400px;\n}\n\na.button.add_buddy_button span {\n	background-position: 0 -440px;\n}\n\na.button.remove_buddy_button span {\n	background-position: 0 -480px;\n}\n\na.button.add_ignore_button span {\n	background-position: 0 -460px;\n}\n\na.button.remove_ignore_button span {\n	background-position: 0 -500px;\n}\n\na.button.report_user_button span {\n	background-position: 0 -520px;\n}\n\n.quick_jump {\n	background: url(images/jump.png) no-repeat 0;\n	width: 13px;\n	height: 13px;\n	padding-left: 13px; /* amount of padding needed for image to fully show */\n	margin-top: -3px;\n	border: none;\n}\n\n.pollbar {\n	background: url(images/pollbar.png) top left repeat-x;\n	border: 1px solid #3f3f3f;\n	height: 10px;\n}\n\n.pollbar .percent {\n	display: none;\n}\n\n.poll_votedfor {\n	background: #efefef;\n	border: 1px solid;\n	border-color: #fff #ddd #ddd #fff;\n}\n\n.posticons_label {\n	white-space: nowrap;\n}\n\n/** jGrowl Start **/\n\n/** Special IE6 Style Positioning **/\n.ie6 {\n	position: absolute;\n}\n\n.ie6.top-right {\n	right: auto;\n	bottom: auto;\n	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + ''px'' );\n	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + ''px'' );\n}\n\n.ie6.top-left {\n	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + ''px'' );\n	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + ''px'' );\n}\n\n.ie6.bottom-right {\n	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + ''px'' );\n	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + ''px'' );\n}\n\n.ie6.bottom-left {\n	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + ''px'' );\n	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + ''px'' );\n}\n\n.ie6.center {\n	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + ''px'' );\n	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + ''px'' );\n	width: 100%;\n}\n\n/** jGrowl Styling **/\n.jGrowl {\n	z-index: 9999;\n	color: #ffffff;\n	font-size: 12px;\n	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n	position: fixed;\n}\n.jGrowl.top-left {\n	left: 0px;\n	top: 0px;\n}\n.jGrowl.top-right {\n	right: 0px;\n	top: 0px;\n}\n.jGrowl.bottom-left {\n	left: 0px;\n	bottom: 0px;\n}\n.jGrowl.bottom-right {\n	right: 0px;\n	bottom: 0px;\n}\n.jGrowl.center {\n	top: 0px;\n	width: 50%;\n	left: 25%;\n}\n\n/** Cross Browser Styling **/\n\n.jGrowl.center .jGrowl-notification,\n.jGrowl.center .jGrowl-closer {\n	margin-left: auto;\n	margin-right: auto;\n}\n.jGrowl-notification {\n	background-color: transparent;\n	opacity: 0.9;\n	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));\n	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));\n	transform: scale(1);\n	width: 250px;\n	padding: 10px;\n	margin: 10px;\n	text-align: left;\n	display: none;\n	-moz-border-radius: 5px;\n	-webkit-border-radius: 5px;\n	border-radius: 5px;\n	word-break: break-all;\n}\n.jGrowl .jGrowl-notification {\n	min-height: 40px;\n}\n.jGrowl-notification .ui-state-highlight,\n.jGrowl-notification .ui-widget-content .ui-state-highlight,\n.jGrowl-notification .ui-widget-header .ui-state-highlight {\n	border: 1px solid #000;\n	background: #000;\n	color: #fff;\n}\n.jGrowl-notification .jGrowl-header {\n	font-weight: bold;\n	font-size: .85em;\n}\n.jGrowl-notification .jGrowl-close {\n	background-color: transparent;\n	color: inherit;\n	border: none;\n	z-index: 99;\n	float: right;\n	font-weight: bold;\n	font-size: 1em;\n	cursor: pointer;\n}\n.jGrowl-closer {\n	background-color: #000000;\n	opacity: 0.9;\n	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));\n	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));\n	transform: scale(1);\n	width: 250px;\n	padding: 10px;\n	margin: 10px;\n	text-align: left;\n	display: none;\n	border-radius: 5px;\n	word-break: break-all;\n	padding-top: 4px;\n	padding-bottom: 4px;\n	cursor: pointer;\n	font-size: .9em;\n	font-weight: bold;\n	text-align: center;\n}\n.jGrowl-closer .ui-state-highlight,\n.jGrowl-closer .ui-widget-content .ui-state-highlight,\n.jGrowl-closer .ui-widget-header .ui-state-highlight {\n	border: 1px solid #000;\n	background: #000;\n	color: #fff;\n}\n\n.jGrowl .jGrowl-notification.jgrowl_success {\n    background: lightgreen;\n    border: 1px solid lightgreen;\n    color: #333;\n}\n\n.jGrowl .jGrowl-notification.jgrowl_error {\n    background: red;\n    border: 1px solid red;\n    color: #333;\n}\n\n.jGrowl .jGrowl-notification.jgrowl_process, .jGrowl .jGrowl-closer {\n    background: yellow;\n    border: 1px solid yellow;\n	color: #333;\n}\n\n/** Hide jGrowl when printing **/\n@media print {\n	.jGrowl {\n		display: none;\n	}\n}\n\n/** jGrowl End **/\n\n/** Modal Start **/\n\n.blocker {\n	position: fixed;\n	top: 0;\n	right: 0;\n	bottom: 0;\n	left: 0;\n	width: 100%;\n	height: 100%;\n	overflow: auto;\n	z-index: 9999;\n	padding: 20px;\n	box-sizing: border-box;\n	background-color: rgb(0,0,0);\n	background-color: rgba(0,0,0,0.75);\n	text-align: center;\n}\n\n.blocker:before{\n	content: "";\n	display: inline-block;\n	height: 100%;\n	vertical-align: middle;\n	margin-right: -0.05em;\n}\n\n.blocker.behind {\n	background-color: transparent;\n}\n\n.modal {\n	width: 400px;\n	text-align: left;\n	background: #fff;\n	display: inline-block;\n	vertical-align: middle;\n	position: relative;\n	z-index: 2;\n	-webkit-box-sizing: border-box;\n	-moz-box-sizing: border-box;\n	box-sizing: border-box;\n	-webkit-border-radius: 8px;\n	-moz-border-radius: 8px;\n	-o-border-radius: 8px;\n	-ms-border-radius: 8px;\n	border-radius: 8px;\n	-webkit-box-shadow: 0 0 10px #000;\n	-moz-box-shadow: 0 0 10px #000;\n	-o-box-shadow: 0 0 10px #000;\n	-ms-box-shadow: 0 0 10px #000;\n	box-shadow: 0 0 10px #000;\n}\n\n.modal a.close-modal {\n	position: absolute;\n	top: -12.5px;\n	right: -12.5px;\n	display: block;\n	width: 30px;\n	height: 30px;\n	text-indent: -9999px;\n	background: url(images/close.png) no-repeat 0 0;\n}\n\n.modal-spinner {\n	display: none;\n	width: 64px;\n	height: 64px;\n	position: fixed;\n	top: 50%;\n	left: 50%;\n	margin-right: -32px;\n	margin-top: -32px;\n	background: url(images/spinner_big.gif) no-repeat center center;\n	-webkit-border-radius: 8px;\n	-moz-border-radius: 8px;\n	-o-border-radius: 8px;\n	-ms-border-radius: 8px;\n	border-radius: 8px;\n}\n\n/** Modal End **/\n\n/** Impromptu Start **/\n\n/*! jQuery-Impromptu - v6.2.3 - 2016-04-23\n* http://trentrichardson.com/Impromptu\n* Copyright (c) 2016 Trent Richardson; Licensed MIT */\n\n.jqifade{\n	position: absolute;\n	background-color: #777777;\n}\niframe.jqifade{\n	display:block;\n	z-index:-1;\n}\ndiv.jqi{\n	width: 400px;\n	max-width:90%;\n	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;\n	position: absolute;\n	background-color: #ffffff;\n	font-size: 11px;\n	text-align: left;\n	border: solid 1px #eeeeee;\n	border-radius: 6px;\n	-moz-border-radius: 6px;\n	-webkit-border-radius: 6px;\n	padding: 7px;\n}\ndiv.jqi .jqicontainer{\n}\ndiv.jqi .jqiclose{\n	position: absolute;\n	top: 4px; right: -2px;\n	width: 18px;\n	cursor: default;\n	color: #bbbbbb;\n	font-weight: bold;\n}\ndiv.jqi .jqistate{\n	background-color: #fff;\n}\ndiv.jqi .jqititle{\n	padding: 5px 10px;\n	font-size: 16px;\n	line-height: 20px;\n	border-bottom: solid 1px #eeeeee;\n}\ndiv.jqi .jqimessage{\n	padding: 10px;\n	line-height: 20px;\n	color: #444444;\n	overflow: auto;\n}\ndiv.jqi .jqibuttonshide{\n	display: none;\n}\ndiv.jqi .jqibuttons{\n	text-align: right;\n	margin: 0 -7px -7px -7px;\n	border-top: solid 1px #e4e4e4;\n	background-color: #f4f4f4;\n	border-radius: 0 0 6px 6px;\n	-moz-border-radius: 0 0 6px 6px;\n	-webkit-border-radius: 0 0 6px 6px;\n}\ndiv.jqi .jqibuttons button{\n	margin: 0;\n	padding: 15px 20px;\n	background-color: transparent;\n	font-weight: normal;\n	border: none;\n	border-left: solid 1px #e4e4e4;\n	color: #777;\n	font-weight: bold;\n	font-size: 12px;\n}\ndiv.jqi .jqibuttons button.jqidefaultbutton{\n	color: #489afe;\n}\ndiv.jqi .jqibuttons button:hover,\ndiv.jqi .jqibuttons button:focus{\n	color: #287ade;\n	outline: none;\n}\ndiv.jqi .jqibuttons button[disabled]{\n	color: #aaa;\n}\n.jqiwarning .jqi .jqibuttons{\n	background-color: #b95656;\n}\n\n/* sub states */\ndiv.jqi .jqiparentstate::after{\n	background-color: #777;\n	opacity: 0.6;\n	filter: alpha(opacity=60);\n	content: '''';\n	position: absolute;\n	top:0;left:0;bottom:0;right:0;\n	border-radius: 6px;\n	-moz-border-radius: 6px;\n	-webkit-border-radius: 6px;\n}\ndiv.jqi .jqisubstate{\n	position: absolute;\n	top:0;\n	left: 20%;\n	width: 60%;\n	padding: 7px;\n	border: solid 1px #eeeeee;\n	border-top: none;\n	border-radius: 0 0 6px 6px;\n	-moz-border-radius: 0 0 6px 6px;\n	-webkit-border-radius: 0 0 6px 6px;\n}\ndiv.jqi .jqisubstate .jqibuttons button{\n	padding: 10px 18px;\n}\n\n/* arrows for tooltips/tours */\n.jqi .jqiarrow{ position: absolute; height: 0; width:0; line-height: 0; font-size: 0; border: solid 10px transparent;}\n\n.jqi .jqiarrowtl{ left: 10px; top: -20px; border-bottom-color: #ffffff; }\n.jqi .jqiarrowtc{ left: 50%; top: -20px; border-bottom-color: #ffffff; margin-left: -10px; }\n.jqi .jqiarrowtr{ right: 10px; top: -20px; border-bottom-color: #ffffff; }\n\n.jqi .jqiarrowbl{ left: 10px; bottom: -20px; border-top-color: #ffffff; }\n.jqi .jqiarrowbc{ left: 50%; bottom: -20px; border-top-color: #ffffff; margin-left: -10px; }\n.jqi .jqiarrowbr{ right: 10px; bottom: -20px; border-top-color: #ffffff; }\n\n.jqi .jqiarrowlt{ left: -20px; top: 10px; border-right-color: #ffffff; }\n.jqi .jqiarrowlm{ left: -20px; top: 50%; border-right-color: #ffffff; margin-top: -10px; }\n.jqi .jqiarrowlb{ left: -20px; bottom: 10px; border-right-color: #ffffff; }\n\n.jqi .jqiarrowrt{ right: -20px; top: 10px; border-left-color: #ffffff; }\n.jqi .jqiarrowrm{ right: -20px; top: 50%; border-left-color: #ffffff; margin-top: -10px; }\n.jqi .jqiarrowrb{ right: -20px; bottom: 10px; border-left-color: #ffffff; }\n\n/** Impromptu End */\n', 'global.css', [[timestamp]]),
(2, 'usercp.css', 1, 'usercp.php|private.php', '.usercp_nav_item {\n	display: block;\n	padding: 1px 0 1px 23px;\n	background-image: url(images/usercp_sprite.png);\n	background-repeat: no-repeat;\n}\n\n.usercp_nav_composepm {\n	background-position: 0 0;\n}\n\n.usercp_nav_pmfolder {\n	background-position: 0 -20px;\n}\n\n.usercp_nav_sub_pmfolder {\n	padding-left: 40px;\n	background-position: 0 -40px;\n}\n\n.usercp_nav_trash_pmfolder {\n	padding-left: 40px;\n	background-position: 0 -60px;\n}\n\n.usercp_nav_pmtracking {\n	background-position: 0 -80px;\n}\n\n.usercp_nav_pmfolders {\n	background-position: 0 -100px;\n}\n\n.usercp_nav_profile {\n	background-position: 0 -120px;\n}\n\n.usercp_nav_email {\n	padding-left: 40px;\n	background-position: 0 -140px;\n}\n\n.usercp_nav_password {\n	padding-left: 40px;\n	background-position: 0 -160px;\n}\n\n.usercp_nav_username {\n	padding-left: 40px;\n	background-position: 0 -180px;\n}\n\n.usercp_nav_editsig {\n	padding-left: 40px;\n	background-position: 0 -200px;\n}\n\n.usercp_nav_avatar {\n	padding-left: 40px;\n	background-position: 0 -220px;\n}\n\n.usercp_nav_options {\n	background-position: 0 -240px;\n}\n\n.usercp_nav_usergroups {\n	background-position: 0 -260px;\n}\n\n.usercp_nav_editlists {\n	background-position: 0 -280px;\n}\n\n.usercp_nav_attachments {\n	background-position: 0 -300px;\n}\n\n.usercp_nav_drafts {\n	background-position: 0 -320px;\n}\n\n.usercp_nav_subscriptions {\n	background-position: 0 -340px;\n}\n\n.usercp_nav_fsubscriptions {\n	background-position: 0 -360px;\n}\n\n.usercp_nav_viewprofile {\n	background-position: 0 -380px;\n}\n\n.usercp_nav_home {\n	background-position: 0 -400px;\n}\n\n.usercp_notepad {\n	width: 99%;\n}\n\n.usercp_container {\n	margin: 5px;\n	padding: 8px;\n	border:1px solid #CCCCCC;\n}\n\n.pmspace {\n	float: right;\n	margin: -3px 5px;\n}\n\n.pmspace_container {\n	background: #fff;\n	border: 1px solid #ccc;\n	width: 100px;\n	display: inline-block;\n}\n\n.pmspace_used {\n	display: inline-block;\n	color: #fff;\n	margin: -1px;\n}\n\n.pmspace_used.low {\n	border: 1px solid #0c5a01;\n	background: #167203;\n}\n\n.pmspace_used.medium {\n	background: #ff862b;\n	border: 1px solid #d7611e;\n}\n\n.pmspace_used.high {\n	background: #e73c3c;\n	border: 1px solid #c00;\n}\n\n.pmspace_unused {\n	display: inline-block;\n}\n\n.pmspace_text {\n	padding: 1px 5px;\n	display: inline-block;\n}\n\n.new_pm {\n	font-weight: bold;\n}', 'usercp.css', [[timestamp]]),
(3, 'modcp.css', 1, 'modcp.php', '.modcp_nav_item {\n	display: block;\n	padding: 1px 0 1px 23px;\n	background-image: url(images/modcp_sprite.png);\n	background-repeat: no-repeat;\n}\n\n.modcp_nav_home {\n	background-position: 0 0;\n}\n\n.modcp_nav_announcements {\n	background-position: 0 -20px;\n}\n\n.modcp_nav_reports {\n	background-position: 0 -40px;\n}\n\n.modcp_nav_modqueue {\n	background-position: 0 -60px;\n}\n\n.modcp_nav_modlogs {\n	background-position: 0 -80px;\n}\n\n.modcp_nav_editprofile {\n	background-position: 0 -100px;\n}\n\n.modcp_nav_banning {\n	background-position: 0 -120px;\n}\n\n.modcp_nav_warninglogs {\n	background-position: 0 -140px;\n}\n\n.modcp_nav_ipsearch {\n	background-position: 0 -160px;\n}\n\n.modqueue_message {\n	overflow: auto;\n	max-height: 250px;\n}\n\n.modqueue_controls {\n	width: 270px;\n	float: right;\n	text-align: center;\n	border: 1px solid #ccc;\n	background: #fff;\n	padding: 6px;\n	font-weight: bold;\n}\n\n.modqueue_controls label {\n	margin-right: 8px;\n}\n\n.label_radio_ignore,\n.label_radio_delete,\n.label_radio_approve {\n	font-weight: bold;\n}\n\n.modqueue_meta {\n	color: #444;\n	font-size: 95%;\n	margin-bottom: 8px;\n}\n\n.modqueue_mass {\n	list-style: none;\n	margin: 0;\n	width: 150px;\n	padding: 0;\n}\n\n.modqueue_mass li {\n	margin-bottom: 4px;\n	padding: 0;\n}\n\n.modqueue_mass li a {\n	display: block;\n	padding: 4px;\n	border: 1px solid transparent;\n}\n\n.modqueue_mass li a:hover {\n	background: #efefef;\n	border: 1px solid #ccc;\n	text-decoration: none;\n}', 'modcp.css', [[timestamp]]),
(4, 'star_ratings.css', 1, 'forumdisplay.php|showthread.php', '.star_rating,\n.star_rating li a:hover,\n.star_rating .current_rating {\n	background: url(images/star_rating.png) left -1000px repeat-x;\n	vertical-align: middle;\n}\n\n.star_rating {\n	position: relative;\n	width:80px;\n	height:16px;\n	overflow: hidden;\n	list-style: none;\n	margin: 0;\n	padding: 0;\n	background-position: left top;\n}\n\ntd .star_rating {\n	margin: auto;\n}\n\n.star_rating li {\n	display: inline;\n}\n\n.star_rating li a,\n.star_rating .current_rating {\n	position: absolute;\n	text-indent: -1000px;\n	height: 16px;\n	line-height: 16px;\n	outline: none;\n	overflow: hidden;\n	border: none;\n	top:0;\n	left:0;\n}\n\n.star_rating_notrated li a:hover {\n	background-position: left bottom;\n}\n\n.star_rating li a.one_star {\n	width:20%;\n	z-index:6;\n}\n\n.star_rating li a.two_stars {\n	width:40%;\n	z-index:5;\n}\n\n.star_rating li a.three_stars {\n	width:60%;\n	z-index:4;\n}\n\n.star_rating li a.four_stars {\n	width:80%;\n	z-index:3;\n}\n\n.star_rating li a.five_stars {\n	width:100%;\n	z-index:2;\n}\n\n.star_rating .current_rating {\n	z-index:1;\n	background-position: left center;\n}\n\n.star_rating_success,\n.success_message {\n	color: #00b200;\n	font-weight: bold;\n	font-size: 10px;\n	margin-bottom: 10px;\n}\n\n.inline_rating {\n	background: url(images/star_rating.png) left -1000px repeat-x;\n	float: left;\n	vertical-align: middle;\n	padding-right: 5px;\n}', 'star_ratings.css', [[timestamp]]),
(5, 'showthread.css', 1, 'showthread.php', 'ul.thread_tools,\nul.thread_tools li {\n	list-style: none;\n	padding: 0;\n	margin: 0;\n}\n\nul.thread_tools li {\n	padding-left: 24px;\n	padding-bottom: 4px;\n	margin-bottom: 3px;\n	font-size: 11px;\n	background-image: url(images/showthread_sprite.png);\n	background-repeat: no-repeat;\n}\n\nul.thread_tools li.printable {\n	background-position: 0 0;\n}\n\nul.thread_tools li.sendthread {\n	background-position: 0 -20px;\n}\n\nul.thread_tools li.subscription_add {\n	background-position: 0 -40px;\n}\n\nul.thread_tools li.subscription_remove {\n	background-position: 0 -60px;\n}\n\nul.thread_tools li.poll {\n	background-position: 0 -80px;\n}\n\n.showthread_spinner {\n	width: 100%;\n	margin: 0 auto;\n	display: block;\n	text-align: center;\n	padding: 20px;\n}\n\n', 'showthread.css', [[timestamp]]),
(6, 'thread_status.css', 1, 'forumdisplay.php|usercp.php|search.php', '.thread_status {\n	display: inline-block;\n	width: 16px;\n	height: 16px;\n	background-image: url(images/folders_sprite.png);\n	background-repeat: no-repeat;\n}\n\n.thread_status.dot_folder {\n	background-position: 0 0;\n}\n\n.thread_status.dot_hotfolder {\n	background-position: 0 -20px;\n}\n\n.thread_status.dot_hotclosefolder {\n	background-position: 0 -40px;\n}\n\n.thread_status.dot_closefolder {\n	background-position: 0 -60px;\n}\n\n.thread_status.dot_newfolder {\n	background-position: 0 -80px;\n}\n\n.thread_status.dot_newhotfolder {\n	background-position: 0 -100px;\n}\n\n.thread_status.dot_newhotclosefolder {\n	background-position: 0 -120px;\n}\n\n.thread_status.dot_newclosefolder {\n	background-position: 0 -140px;\n}\n\n.thread_status.folder {\n	background-position: 0 -160px;\n}\n\n.thread_status.hotfolder {\n	background-position: 0 -180px;\n}\n\n.thread_status.hotclosefolder {\n	background-position: 0 -200px;\n}\n\n.thread_status.closefolder {\n	background-position: 0 -220px;\n}\n\n.thread_status.movefolder {\n	background-position: 0 -240px;\n}\n\n.thread_status.newfolder {\n	background-position: 0 -260px;\n}\n\n.thread_status.newhotfolder {\n	background-position: 0 -280px;\n}\n\n.thread_status.newhotclosefolder {\n	background-position: 0 -300px;\n}\n\n.thread_status.newclosefolder {\n	background-position: 0 -320px;\n}', 'thread_status.css', [[timestamp]]),
(7, 'css3.css', 1, '', 'tr td.trow1:first-child,\ntr td.trow2:first-child,\ntr td.trow_shaded:first-child {\n	border-left: 0;\n}\n\ntr td.trow1:last-child,\ntr td.trow2:last-child,\ntr td.trow_shaded:last-child {\n	border-right: 0;\n}\n\n.tborder {\n	-moz-border-radius: 7px;\n	-webkit-border-radius: 7px;\n	border-radius: 7px;\n}\n\n.tborder tbody tr:last-child > td {\n	border-bottom: 0;\n}\n\n.tborder tbody tr:last-child > td:first-child {\n	-moz-border-radius-bottomleft: 6px;\n	-webkit-border-bottom-left-radius: 6px;\n	border-bottom-left-radius: 6px;\n}\n\n.tborder tbody tr:last-child > td:last-child {\n	-moz-border-radius-bottomright: 6px;\n	-webkit-border-bottom-right-radius: 6px;\n	border-bottom-right-radius: 6px;\n}\n\n.thead {\n	-moz-border-radius-topleft: 6px;\n	-moz-border-radius-topright: 6px;\n	-webkit-border-top-left-radius: 6px;\n	-webkit-border-top-right-radius: 6px;\n	border-top-left-radius: 6px;\n	border-top-right-radius: 6px;\n}\n\n.thead_collapsed {\n	-moz-border-radius-bottomleft: 6px;\n	-moz-border-radius-bottomright: 6px;\n	-webkit-border-bottom-left-radius: 6px;\n	-webkit-border-bottom-right-radius: 6px;\n	border-bottom-left-radius: 6px;\n	border-bottom-right-radius: 6px;\n}\n\n.thead_left {\n	-moz-border-radius-topright: 0;\n	-webkit-border-top-right-radius: 0;\n	border-top-right-radius: 0;\n}\n\n.thead_right {\n	-moz-border-radius-topleft: 0;\n	-webkit-border-top-left-radius: 0;\n	border-top-left-radius: 0;\n}\n\n.tcat_menu {\n	-moz-border-radius: 0 !important;\n	-webkit-border-radius: 0 !important;\n	border-radius: 0 !important;\n}\n\n.tborder tbody:nth-last-child(2) .tcat_collapse_collapsed {\n	-moz-border-radius-bottomleft: 6px !important;\n	-moz-border-radius-bottomright: 6px !important;\n	-webkit-border-bottom-left-radius: 6px !important;\n	-webkit-border-bottom-right-radius: 6px !important;\n	border-bottom-left-radius: 6px !important;\n	border-bottom-right-radius: 6px !important;\n}\n\nbutton,\ninput.button,\ninput.textbox,\ninput.invalid_field,\ninput.valid_field,\nselect,\ntextarea,\n.editor_control_bar,\nblockquote,\n.codeblock,\nfieldset,\n.pm_alert,\n.red_alert,\n.popup_menu,\n.postbit_buttons > a,\na.button {\n	-moz-border-radius: 6px;\n	-webkit-border-radius: 6px;\n	border-radius: 6px;\n}\n\n.post.classic .post_author {\n	-moz-border-radius: 0 6px 6px 0;\n	-webkit-border-radius: 0 6px 6px 0;\n	border-radius: 0 6px 6px 0;\n}\n\n.popup_menu .popup_item_container:first-child .popup_item {\n	-moz-border-radius-topleft: 6px;\n	-moz-border-radius-topright: 6px;\n	-webkit-border-top-left-radius: 6px;\n	-webkit-border-top-right-radius: 6px;\n	border-top-left-radius: 6px;\n	border-top-right-radius: 6px;\n}\n\n.popup_menu .popup_item_container:last-child .popup_item {\n	-moz-border-radius-bottomleft: 6px;\n	-moz-border-radius-bottomright: 6px;\n	-webkit-border-bottom-left-radius: 6px;\n	-webkit-border-bottom-right-radius: 6px;\n	border-bottom-left-radius: 6px;\n	border-bottom-right-radius: 6px;\n}\n\n.pagination a {\n	-moz-border-radius: 6px;\n	-webkit-border-radius: 6px;\n	border-radius: 6px;\n}\n\n.pollbar {\n	-moz-border-radius: 3px;\n	-webkit-border-radius: 3px;\n	border-radius: 3px;\n}\n\ndiv.error {\n	-moz-border-radius: 6px;\n    	-webkit-border-radius: 6px;\n   	 border-radius: 6px;\n}', 'css3.css', [[timestamp]]),
(8, 'color_black.css', 2, 'black', 'a:link,\na:visited,\na:hover,\na:active {\n	color: #555;\n}\n\n#logo {\n	background: #202020 url(images/colors/black_header.png) top left repeat-x;\n	border-bottom: 1px solid #000;\n}\n\n#header ul.menu li a {\n	color: #fff;\n}\n\n#panel .upper {\n	background: #dcdbdc url(images/colors/black_tcat.png) repeat-x;\n	color: #000;\n	border-top: 1px solid #fff;\n	border-bottom: 1px solid #bbb;\n}\n\n#panel .upper a:link,\n#panel .upper a:visited,\n#panel .upper a:hover,\n#panel .upper a:active {\n	color: #000;\n}\n\n#panel input.textbox {\n	border-color: #ccc;\n}\n\n#panel input.button {\n	background: #202121 url(images/colors/black_thead.png) top left repeat-x;\n	color: #fff;\n	border-color: #000;\n}\n\n.thead {\n	background: #202121 url(images/colors/black_thead.png) top left repeat-x;\n	border-bottom: 1px solid #000;\n}\n\n.tcat {\n	background: #dcdbdc url(images/colors/black_tcat.png) repeat-x;\n	color: #000000;\n	border-top: 1px solid #fff;\n	border-bottom: 1px solid #bbb;\n}\n\n.tcat a:link,\n.tcat a:visited,\n.tcat a:hover,\n.tcat a:active {\n	color: #000000;\n}\n\n.thead input.textbox,\n.thead select {\n	border: 1px solid #111;\n}\n\n.popup_menu .popup_item:hover {\n	background: #333;\n	color: #fff;\n}\n\n.tt-suggestion.tt-is-under-cursor {\n    background-color: #333;\n	color: #fff;\n}\n\n.pagination a:hover {\n	background-color: #333;\n	color: #fff;\n	border-color: #000;\n}\n		', 'color_black.css', [[timestamp]]),
(9, 'color_calm.css', 2, 'calm', 'a:link,\na:visited,\na:hover,\na:active {\n	color: #48715b;\n}\n\n#logo {\n	background: #385947 url(images/colors/calm_header.png) top left repeat-x;\n	border-bottom: 1px solid #263c30;\n}\n\n#header ul.menu li a {\n	color: #fff;\n}\n\n#panel input.button {\n	background: #385947 url(images/colors/calm_thead.png) top left repeat-x;\n}\n\n.thead {\n	background: #385947 url(images/colors/calm_thead.png) top left repeat-x;\n	color: #ffffff;\n	border-bottom: 1px solid #263c30;\n}\n\n.thead input.textbox,\n.thead select {\n	border: 1px solid #263c30;\n}\n\n.popup_menu .popup_item:hover {\n	background: #48715b;\n	color: #fff;\n}\n\n.tt-suggestion.tt-is-under-cursor {\n    background-color: #48715b;\n	color: #fff;\n}\n\n.pagination a:hover {\n	background-color: #48715b;\n	color: #fff;\n	border-color: #263c30;\n}\n	', 'color_calm.css', [[timestamp]]),
(10, 'color_dawn.css', 2, 'dawn', 'a:link,\na:visited,\na:hover,\na:active {\n	color: #d56c2c;\n}\n\n#logo {\n	background: #d56c2c url(images/colors/dawn_header.png) top left repeat-x;\n	border-bottom: 1px solid #011929;\n}\n\n#header ul.menu li a {\n	color: #fff;\n}\n\n#panel input.button {\n	background: #d56c2c url(images/colors/dawn_thead.png) top left repeat-x;\n}\n\n.thead {\n	background: #d56c2c url(images/colors/dawn_thead.png) top left repeat-x;\n	border-bottom: 1px solid #9a4e20;\n}\n\n.thead input.textbox,\n.thead select {\n	border: 1px solid #9a4e20;\n}\n\n.popup_menu .popup_item:hover {\n	background: #f2a555;\n	color: #fff;\n}\n\n.tt-suggestion.tt-is-under-cursor {\n    background-color: #f2a555;\n	color: #fff;\n}\n\n.pagination a:hover {\n	background-color: #f2a555;\n	color: #fff;\n	border-color: #9a4e20;\n}\n		', 'color_dawn.css', [[timestamp]]),
(11, 'color_earth.css', 2, 'earth', 'a:link,\na:visited,\na:hover,\na:active {\n	color: #6d5545;\n}\n\n#logo {\n	background: #4a3a2e url(images/colors/earth_header.png) top left repeat-x;\n	border-bottom: 1px solid #31261e;\n}\n\n#header ul.menu li a {\n	color: #fff;\n}\n\n#panel input.button {\n	background: #4a3b2f url(images/colors/earth_thead.png) top left repeat-x;\n}\n\n.thead {\n	background: #4a3b2f url(images/colors/earth_thead.png) top left repeat-x;\n	border-bottom: 1px solid #31261e;\n}\n\n.thead input.textbox,\n.thead select {\n	border: 1px solid #31261e;\n}\n\n.popup_menu .popup_item:hover {\n	background: #6d5545;\n	color: #fff;\n}\n\n.tt-suggestion.tt-is-under-cursor {\n    background-color: #6d5545;\n	color: #fff;\n}\n\n.pagination a:hover {\n	background-color: #6d5545;\n	color: #fff;\n	border-color: #31261e;\n}\n		', 'color_earth.css', [[timestamp]]),
(12, 'color_flame.css', 2, 'flame', 'a:link,\na:visited,\na:hover,\na:active {\n	color: #a20000;\n}\n\n#logo {\n	background: #750000 url(images/colors/flame_header.png) top left repeat-x;\n	border-bottom: 1px solid #550000;\n}\n\n#header ul.menu li a {\n	color: #fff;\n}\n\n#panel input.button {\n	background: #750000 url(images/colors/flame_thead.png) top left repeat-x;\n}\n\n.thead {\n	background: #750000 url(images/colors/flame_thead.png) top left repeat-x;\n	border-bottom: 1px solid #550000;\n}\n\n.thead input.textbox,\n.thead select {\n	border: 1px solid #550000;\n}\n\n.popup_menu .popup_item:hover {\n	background: #a20000;\n	color: #fff;\n}\n\n.tt-suggestion.tt-is-under-cursor {\n    background-color: #a20000;\n	color: #fff;\n}\n\n.pagination a:hover {\n	background-color: #a20000;\n	color: #fff;\n	border-color: #550000;\n}\n		', 'color_flame.css', [[timestamp]]),
(13, 'color_leaf.css', 2, 'leaf', 'a:link,\na:visited,\na:hover,\na:active {\n	color: #5aaf33;\n}\n\n#logo {\n	background: #386e21 url(images/colors/leaf_header.png) top left repeat-x;\n	border-bottom: 1px solid #234615;\n}\n\n#header ul.menu li a {\n	color: #fff;\n}\n\n#panel input.button {\n	background: #386e21 url(images/colors/leaf_thead.png) top left repeat-x;\n}\n\n.thead {\n	background: #386e21 url(images/colors/leaf_thead.png) top left repeat-x;\n	border-bottom: 1px solid #234615;\n}\n\n.thead input.textbox,\n.thead select {\n	border: 1px solid #234615;\n}\n\n.popup_menu .popup_item:hover {\n	background: #5aaf33;\n	color: #fff;\n}\n\n.tt-suggestion.tt-is-under-cursor {\n    background-color: #5aaf33;\n	color: #fff;\n}\n\n.pagination a:hover {\n	background-color: #5aaf33;\n	color: #fff;\n	border-color: #234615;\n}\n		', 'color_leaf.css', [[timestamp]]);
INSERT INTO `[[dbprefix]]themestylesheets` VALUES
(14, 'color_night.css', 2, 'night', 'a:link,\na:visited,\na:hover,\na:active {\n	color: #023a61;\n}\n\n#logo {\n	background: #022338 url(images/colors/night_header.png) top left repeat-x;\n	border-bottom: 1px solid #011929;\n}\n\n#header ul.menu li a {\n	color: #fff;\n}\n\n#panel input.button {\n	background: #022338 url(images/colors/night_thead.png) top left repeat-x;\n}\n\n.thead {\n	background: #022338 url(images/colors/night_thead.png) top left repeat-x;\n	border-bottom: 1px solid #011929;\n}\n\n.thead input.textbox,\n.thead select {\n	border: 1px solid #011929;\n}\n\n.popup_menu .popup_item:hover {\n	background: #023a61;\n	color: #fff;\n}\n\n.tt-suggestion.tt-is-under-cursor {\n    background-color: #023a61;\n	color: #fff;\n}\n\n.pagination a:hover {\n	background-color: #023a61;\n	color: #fff;\n	border-color: #011929;\n}\n		', 'color_night.css', [[timestamp]]),
(15, 'color_sun.css', 2, 'sun', 'a:link,\na:visited,\na:hover,\na:active {\n	color: #555;\n}\n\n#logo {\n	background: #ffdd4d url(images/colors/sun_header.png) top left repeat-x;\n	border-bottom: 1px solid #111;\n}\n\n#header ul.menu li a {\n	color: #000;\n}\n\n#panel input.button {\n	background: #ffdd4d url(images/colors/sun_thead.png) top left repeat-x;\n	color: #000;\n}\n\n.thead {\n	background: #ffdd4d url(images/colors/sun_thead.png) top left repeat-x;\n	border-bottom: 1px solid #ffaf1a;\n	color: #000;\n}\n\n.thead a:link,\n.thead a:visited,\n.thead a:hover,\n.thead a:active {\n	color: #000;\n}\n\n.thead input.textbox,\n.thead select {\n	border: 1px solid #ffaf1a;\n}\n\n.popup_menu .popup_item:hover {\n	background: #ffea9c;\n	color: #000;\n}\n\n.tt-suggestion.tt-is-under-cursor {\n    background-color: #ffea9c;\n	color: #fff;\n}\n\n.pagination a:hover {\n	background-color: #ffea9c;\n	color: #000;\n	border-color: #ffaf1a;\n}\n		', 'color_sun.css', [[timestamp]]),
(16, 'color_twilight.css', 2, 'twilight', 'a:link,\na:visited,\na:hover,\na:active {\n	color: #426276;\n}\n\n#logo {\n	background: #273a46 url(images/colors/twilight_header.png) top left repeat-x;\n	border-bottom: 1px solid #1d2b34;\n}\n\n#header ul.menu li a {\n	color: #fff;\n}\n\n#panel input.button {\n	background: #273a46 url(images/colors/twilight_thead.png) top left repeat-x;\n}\n\n.thead {\n	background: #273a46 url(images/colors/twilight_thead.png) top left repeat-x;\n	border-bottom: 1px solid #1d2b34;\n}\n\n.thead input.textbox,\n.thead select {\n	border: 1px solid #1d2b34;\n}\n\n.popup_menu .popup_item:hover {\n	background: #426276;\n	color: #fff;\n}\n\n.tt-suggestion.tt-is-under-cursor {\n    background-color: #426276;\n	color: #fff;\n}\n\n.pagination a:hover {\n	background-color: #426276;\n	color: #fff;\n	border-color: #1d2b34;\n}\n		', 'color_twilight.css', [[timestamp]]),
(17, 'color_water.css', 2, 'water', 'a:link,\na:visited,\na:hover,\na:active {\n	color: #2d9595;\n}\n\n#logo {\n	background: #1e6365 url(images/colors/water_header.png) top left repeat-x;\n	border-bottom: 1px solid #133f41;\n}\n\n#header ul.menu li a {\n	color: #fff;\n}\n\n#panel input.button {\n	background: #1e6365 url(images/colors/water_thead.png) top left repeat-x;\n}\n\n.thead {\n	background: #1e6365 url(images/colors/water_thead.png) top left repeat-x;\n	border-bottom: 1px solid #133f41;\n}\n\n.thead input.textbox,\n.thead select {\n	border: 1px solid #133f41;\n}\n\n.popup_menu .popup_item:hover {\n	background: #2d9595;\n	color: #fff;\n}\n\n.tt-suggestion.tt-is-under-cursor {\n    background-color: #2d9595;\n	color: #fff;\n}\n\n.pagination a:hover {\n	background-color: #2d9595;\n	color: #fff;\n	border-color: #133f41;\n}\n		', 'color_water.css', [[timestamp]]);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]threadprefixes`
--

CREATE TABLE `[[dbprefix]]threadprefixes` (
  `pid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `prefix` varchar(120) NOT NULL DEFAULT '',
  `displaystyle` varchar(200) NOT NULL DEFAULT '',
  `forums` text NOT NULL,
  `groups` text NOT NULL,
  PRIMARY KEY (`pid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]threadratings`
--

CREATE TABLE `[[dbprefix]]threadratings` (
  `rid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tid` int(10) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `rating` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `ipaddress` varbinary(16) NOT NULL DEFAULT '',
  PRIMARY KEY (`rid`),
  KEY `tid` (`tid`,`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]threads`
--

CREATE TABLE `[[dbprefix]]threads` (
  `tid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `fid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(120) NOT NULL DEFAULT '',
  `prefix` smallint(5) unsigned NOT NULL DEFAULT '0',
  `icon` smallint(5) unsigned NOT NULL DEFAULT '0',
  `poll` int(10) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `username` varchar(80) NOT NULL DEFAULT '',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `firstpost` int(10) unsigned NOT NULL DEFAULT '0',
  `lastpost` int(10) unsigned NOT NULL DEFAULT '0',
  `lastposter` varchar(120) NOT NULL DEFAULT '',
  `lastposteruid` int(10) unsigned NOT NULL DEFAULT '0',
  `views` int(100) unsigned NOT NULL DEFAULT '0',
  `replies` int(100) unsigned NOT NULL DEFAULT '0',
  `closed` varchar(30) NOT NULL DEFAULT '',
  `sticky` tinyint(1) NOT NULL DEFAULT '0',
  `numratings` smallint(5) unsigned NOT NULL DEFAULT '0',
  `totalratings` smallint(5) unsigned NOT NULL DEFAULT '0',
  `notes` text NOT NULL,
  `visible` tinyint(1) NOT NULL DEFAULT '0',
  `unapprovedposts` int(10) unsigned NOT NULL DEFAULT '0',
  `deletedposts` int(10) unsigned NOT NULL DEFAULT '0',
  `attachmentcount` int(10) unsigned NOT NULL DEFAULT '0',
  `deletetime` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`tid`),
  KEY `fid` (`fid`,`visible`,`sticky`),
  KEY `dateline` (`dateline`),
  KEY `lastpost` (`lastpost`,`fid`),
  KEY `firstpost` (`firstpost`),
  KEY `uid` (`uid`),
  FULLTEXT KEY `subject` (`subject`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]threadsread`
--

CREATE TABLE `[[dbprefix]]threadsread` (
  `tid` int(10) unsigned NOT NULL DEFAULT '0',
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  UNIQUE KEY `tid` (`tid`,`uid`),
  KEY `dateline` (`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]threadsubscriptions`
--

CREATE TABLE `[[dbprefix]]threadsubscriptions` (
  `sid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `tid` int(10) unsigned NOT NULL DEFAULT '0',
  `notification` tinyint(1) NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`sid`),
  KEY `uid` (`uid`),
  KEY `tid` (`tid`,`notification`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]threadviews`
--

CREATE TABLE `[[dbprefix]]threadviews` (
  `tid` int(10) unsigned NOT NULL DEFAULT '0',
  KEY `tid` (`tid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]userfields`
--

CREATE TABLE `[[dbprefix]]userfields` (
  `ufid` int(10) unsigned NOT NULL DEFAULT '0',
  `fid1` text NOT NULL,
  `fid2` text NOT NULL,
  `fid3` text NOT NULL,
  PRIMARY KEY (`ufid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]usergroups`
--

CREATE TABLE `[[dbprefix]]usergroups` (
  `gid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `type` tinyint(1) unsigned NOT NULL DEFAULT '2',
  `title` varchar(120) NOT NULL DEFAULT '',
  `description` text NOT NULL,
  `namestyle` varchar(200) NOT NULL DEFAULT '{username}',
  `usertitle` varchar(120) NOT NULL DEFAULT '',
  `stars` smallint(4) unsigned NOT NULL DEFAULT '0',
  `starimage` varchar(120) NOT NULL DEFAULT '',
  `image` varchar(120) NOT NULL DEFAULT '',
  `disporder` smallint(6) unsigned NOT NULL,
  `isbannedgroup` tinyint(1) NOT NULL DEFAULT '0',
  `canview` tinyint(1) NOT NULL DEFAULT '0',
  `canviewthreads` tinyint(1) NOT NULL DEFAULT '0',
  `canviewprofiles` tinyint(1) NOT NULL DEFAULT '0',
  `candlattachments` tinyint(1) NOT NULL DEFAULT '0',
  `canviewboardclosed` tinyint(1) NOT NULL DEFAULT '0',
  `canpostthreads` tinyint(1) NOT NULL DEFAULT '0',
  `canpostreplys` tinyint(1) NOT NULL DEFAULT '0',
  `canpostattachments` tinyint(1) NOT NULL DEFAULT '0',
  `canratethreads` tinyint(1) NOT NULL DEFAULT '0',
  `modposts` tinyint(1) NOT NULL DEFAULT '0',
  `modthreads` tinyint(1) NOT NULL DEFAULT '0',
  `mod_edit_posts` tinyint(1) NOT NULL DEFAULT '0',
  `modattachments` tinyint(1) NOT NULL DEFAULT '0',
  `caneditposts` tinyint(1) NOT NULL DEFAULT '0',
  `candeleteposts` tinyint(1) NOT NULL DEFAULT '0',
  `candeletethreads` tinyint(1) NOT NULL DEFAULT '0',
  `caneditattachments` tinyint(1) NOT NULL DEFAULT '0',
  `canviewdeletionnotice` tinyint(1) NOT NULL DEFAULT '0',
  `canpostpolls` tinyint(1) NOT NULL DEFAULT '0',
  `canvotepolls` tinyint(1) NOT NULL DEFAULT '0',
  `canundovotes` tinyint(1) NOT NULL DEFAULT '0',
  `canusepms` tinyint(1) NOT NULL DEFAULT '0',
  `cansendpms` tinyint(1) NOT NULL DEFAULT '0',
  `cantrackpms` tinyint(1) NOT NULL DEFAULT '0',
  `candenypmreceipts` tinyint(1) NOT NULL DEFAULT '0',
  `pmquota` int(3) unsigned NOT NULL DEFAULT '0',
  `maxpmrecipients` int(4) unsigned NOT NULL DEFAULT '5',
  `cansendemail` tinyint(1) NOT NULL DEFAULT '0',
  `cansendemailoverride` tinyint(1) NOT NULL DEFAULT '0',
  `maxemails` int(3) unsigned NOT NULL DEFAULT '5',
  `emailfloodtime` int(3) unsigned NOT NULL DEFAULT '5',
  `canviewmemberlist` tinyint(1) NOT NULL DEFAULT '0',
  `canviewcalendar` tinyint(1) NOT NULL DEFAULT '0',
  `canaddevents` tinyint(1) NOT NULL DEFAULT '0',
  `canbypasseventmod` tinyint(1) NOT NULL DEFAULT '0',
  `canmoderateevents` tinyint(1) NOT NULL DEFAULT '0',
  `canviewonline` tinyint(1) NOT NULL DEFAULT '0',
  `canviewwolinvis` tinyint(1) NOT NULL DEFAULT '0',
  `canviewonlineips` tinyint(1) NOT NULL DEFAULT '0',
  `cancp` tinyint(1) NOT NULL DEFAULT '0',
  `issupermod` tinyint(1) NOT NULL DEFAULT '0',
  `cansearch` tinyint(1) NOT NULL DEFAULT '0',
  `canusercp` tinyint(1) NOT NULL DEFAULT '0',
  `canuploadavatars` tinyint(1) NOT NULL DEFAULT '0',
  `canratemembers` tinyint(1) NOT NULL DEFAULT '0',
  `canchangename` tinyint(1) NOT NULL DEFAULT '0',
  `canbereported` tinyint(1) NOT NULL DEFAULT '0',
  `canbeinvisible` tinyint(1) NOT NULL DEFAULT '1',
  `canchangewebsite` tinyint(1) NOT NULL DEFAULT '1',
  `showforumteam` tinyint(1) NOT NULL DEFAULT '0',
  `usereputationsystem` tinyint(1) NOT NULL DEFAULT '0',
  `cangivereputations` tinyint(1) NOT NULL DEFAULT '0',
  `candeletereputations` tinyint(1) NOT NULL DEFAULT '0',
  `reputationpower` int(10) unsigned NOT NULL DEFAULT '0',
  `maxreputationsday` int(10) unsigned NOT NULL DEFAULT '0',
  `maxreputationsperuser` int(10) unsigned NOT NULL DEFAULT '0',
  `maxreputationsperthread` int(10) unsigned NOT NULL DEFAULT '0',
  `candisplaygroup` tinyint(1) NOT NULL DEFAULT '0',
  `attachquota` int(10) unsigned NOT NULL DEFAULT '0',
  `cancustomtitle` tinyint(1) NOT NULL DEFAULT '0',
  `canwarnusers` tinyint(1) NOT NULL DEFAULT '0',
  `canreceivewarnings` tinyint(1) NOT NULL DEFAULT '0',
  `maxwarningsday` int(3) unsigned NOT NULL DEFAULT '3',
  `canmodcp` tinyint(1) NOT NULL DEFAULT '0',
  `showinbirthdaylist` tinyint(1) NOT NULL DEFAULT '0',
  `canoverridepm` tinyint(1) NOT NULL DEFAULT '0',
  `canusesig` tinyint(1) NOT NULL DEFAULT '0',
  `canusesigxposts` smallint(5) unsigned NOT NULL DEFAULT '0',
  `signofollow` tinyint(1) NOT NULL DEFAULT '0',
  `edittimelimit` int(4) unsigned NOT NULL DEFAULT '0',
  `maxposts` int(4) unsigned NOT NULL DEFAULT '0',
  `showmemberlist` tinyint(1) NOT NULL DEFAULT '1',
  `canmanageannounce` tinyint(1) NOT NULL DEFAULT '0',
  `canmanagemodqueue` tinyint(1) NOT NULL DEFAULT '0',
  `canmanagereportedcontent` tinyint(1) NOT NULL DEFAULT '0',
  `canviewmodlogs` tinyint(1) NOT NULL DEFAULT '0',
  `caneditprofiles` tinyint(1) NOT NULL DEFAULT '0',
  `canbanusers` tinyint(1) NOT NULL DEFAULT '0',
  `canviewwarnlogs` tinyint(1) NOT NULL DEFAULT '0',
  `canuseipsearch` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`gid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;

--
-- Dumping data for table `[[dbprefix]]usergroups`
--

INSERT INTO `[[dbprefix]]usergroups` VALUES
(1, 1, 'Guests', 'The default group that all visitors are assigned to unless they''re logged in.', '{username}', 'Unregistered', 0, '', '', 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 5, 5, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(2, 1, 'Registered', 'After registration, all users are placed in this group by default.', '{username}', '', 0, 'images/star.png', '', 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 200, 5, 1, 0, 5, 5, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 5, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0),
(3, 1, 'Super Moderators', 'These users can moderate any forum.', '<span style="color: #CC00CC;"><strong>{username}</strong></span>', 'Super Moderator', 6, 'images/star.png', '', 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 250, 5, 1, 0, 10, 5, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 10, 0, 0, 1, 0, 1, 1, 1, 3, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1),
(4, 1, 'Administrators', 'The group all administrators belong to.', '<span style="color: green;"><strong><em>{username}</em></strong></span>', 'Administrator', 7, 'images/star.png', '', 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1),
(5, 1, 'Awaiting Activation', 'Users that have not activated their account by email or manually been activated yet.', '{username}', 'Account not Activated', 0, 'images/star.png', '', 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 5, 0, 0, 5, 5, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0),
(6, 1, 'Moderators', 'These users moderate specific forums.', '<span style="color: #CC00CC;"><strong>{username}</strong></span>', 'Moderator', 5, 'images/star.png', '', 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 250, 5, 1, 0, 5, 5, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 10, 0, 0, 1, 0, 1, 1, 1, 3, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1),
(7, 1, 'Banned', 'The default user group to which members that are banned are moved to.', '<s>{username}</s>', 'Banned', 0, 'images/star.png', '', 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]users`
--

CREATE TABLE `[[dbprefix]]users` (
  `uid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `username` varchar(120) NOT NULL DEFAULT '',
  `password` varchar(120) NOT NULL DEFAULT '',
  `salt` varchar(10) NOT NULL DEFAULT '',
  `loginkey` varchar(50) NOT NULL DEFAULT '',
  `email` varchar(220) NOT NULL DEFAULT '',
  `postnum` int(10) unsigned NOT NULL DEFAULT '0',
  `threadnum` int(10) unsigned NOT NULL DEFAULT '0',
  `avatar` varchar(200) NOT NULL DEFAULT '',
  `avatardimensions` varchar(10) NOT NULL DEFAULT '',
  `avatartype` varchar(10) NOT NULL DEFAULT '0',
  `usergroup` smallint(5) unsigned NOT NULL DEFAULT '0',
  `additionalgroups` varchar(200) NOT NULL DEFAULT '',
  `displaygroup` smallint(5) unsigned NOT NULL DEFAULT '0',
  `usertitle` varchar(250) NOT NULL DEFAULT '',
  `regdate` int(10) unsigned NOT NULL DEFAULT '0',
  `lastactive` int(10) unsigned NOT NULL DEFAULT '0',
  `lastvisit` int(10) unsigned NOT NULL DEFAULT '0',
  `lastpost` int(10) unsigned NOT NULL DEFAULT '0',
  `website` varchar(200) NOT NULL DEFAULT '',
  `icq` varchar(10) NOT NULL DEFAULT '',
  `skype` varchar(75) NOT NULL DEFAULT '',
  `google` varchar(75) NOT NULL DEFAULT '',
  `birthday` varchar(15) NOT NULL DEFAULT '',
  `birthdayprivacy` varchar(4) NOT NULL DEFAULT 'all',
  `signature` text NOT NULL,
  `allownotices` tinyint(1) NOT NULL DEFAULT '0',
  `hideemail` tinyint(1) NOT NULL DEFAULT '0',
  `subscriptionmethod` tinyint(1) NOT NULL DEFAULT '0',
  `invisible` tinyint(1) NOT NULL DEFAULT '0',
  `receivepms` tinyint(1) NOT NULL DEFAULT '0',
  `receivefrombuddy` tinyint(1) NOT NULL DEFAULT '0',
  `pmnotice` tinyint(1) NOT NULL DEFAULT '0',
  `pmnotify` tinyint(1) NOT NULL DEFAULT '0',
  `buddyrequestspm` tinyint(1) NOT NULL DEFAULT '1',
  `buddyrequestsauto` tinyint(1) NOT NULL DEFAULT '0',
  `threadmode` varchar(8) NOT NULL DEFAULT '',
  `showimages` tinyint(1) NOT NULL DEFAULT '0',
  `showvideos` tinyint(1) NOT NULL DEFAULT '0',
  `showsigs` tinyint(1) NOT NULL DEFAULT '0',
  `showavatars` tinyint(1) NOT NULL DEFAULT '0',
  `showquickreply` tinyint(1) NOT NULL DEFAULT '0',
  `showredirect` tinyint(1) NOT NULL DEFAULT '0',
  `ppp` smallint(6) unsigned NOT NULL DEFAULT '0',
  `tpp` smallint(6) unsigned NOT NULL DEFAULT '0',
  `daysprune` smallint(6) unsigned NOT NULL DEFAULT '0',
  `dateformat` varchar(4) NOT NULL DEFAULT '',
  `timeformat` varchar(4) NOT NULL DEFAULT '',
  `timezone` varchar(5) NOT NULL DEFAULT '',
  `dst` tinyint(1) NOT NULL DEFAULT '0',
  `dstcorrection` tinyint(1) NOT NULL DEFAULT '0',
  `buddylist` text NOT NULL,
  `ignorelist` text NOT NULL,
  `style` smallint(5) unsigned NOT NULL DEFAULT '0',
  `away` tinyint(1) NOT NULL DEFAULT '0',
  `awaydate` int(10) unsigned NOT NULL DEFAULT '0',
  `returndate` varchar(15) NOT NULL DEFAULT '',
  `awayreason` varchar(200) NOT NULL DEFAULT '',
  `pmfolders` text NOT NULL,
  `notepad` text NOT NULL,
  `referrer` int(10) unsigned NOT NULL DEFAULT '0',
  `referrals` int(10) unsigned NOT NULL DEFAULT '0',
  `reputation` int(11) NOT NULL DEFAULT '0',
  `regip` varbinary(16) NOT NULL DEFAULT '',
  `lastip` varbinary(16) NOT NULL DEFAULT '',
  `language` varchar(50) NOT NULL DEFAULT '',
  `timeonline` int(10) unsigned NOT NULL DEFAULT '0',
  `showcodebuttons` tinyint(1) NOT NULL DEFAULT '1',
  `totalpms` int(10) unsigned NOT NULL DEFAULT '0',
  `unreadpms` int(10) unsigned NOT NULL DEFAULT '0',
  `warningpoints` int(3) unsigned NOT NULL DEFAULT '0',
  `moderateposts` tinyint(1) NOT NULL DEFAULT '0',
  `moderationtime` int(10) unsigned NOT NULL DEFAULT '0',
  `suspendposting` tinyint(1) NOT NULL DEFAULT '0',
  `suspensiontime` int(10) unsigned NOT NULL DEFAULT '0',
  `suspendsignature` tinyint(1) NOT NULL DEFAULT '0',
  `suspendsigtime` int(10) unsigned NOT NULL DEFAULT '0',
  `coppauser` tinyint(1) NOT NULL DEFAULT '0',
  `classicpostbit` tinyint(1) NOT NULL DEFAULT '0',
  `loginattempts` smallint(2) unsigned NOT NULL DEFAULT '0',
  `loginlockoutexpiry` int(10) unsigned NOT NULL DEFAULT '0',
  `usernotes` text NOT NULL,
  `sourceeditor` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`uid`),
  UNIQUE KEY `username` (`username`),
  KEY `usergroup` (`usergroup`),
  KEY `regip` (`regip`),
  KEY `lastip` (`lastip`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `[[dbprefix]]users`
--

INSERT INTO `[[dbprefix]]users` VALUES
(1, '[[admin_username]]', '[[admin_pass]]', '[[salt]]', '[[loginkey]]', '[[admin_email]]', 0, 0, '', '', '0', 4, '', 0, '', [[timestamp]], [[timestamp]], [[timestamp]], 0, '', '', '', '', '', 'all', '', 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, '', 1, 1, 1, 1, 1, 1, 0, 0, 0, '', '', '0', 0, 0, '', '', 0, 0, 0, '', '', '0**$%%$1**$%%$2**$%%$3**$%%$4**', '', 0, 0, 0, '[[enc_clientip]]', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0);

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]usertitles`
--

CREATE TABLE `[[dbprefix]]usertitles` (
  `utid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `posts` int(10) unsigned NOT NULL DEFAULT '0',
  `title` varchar(250) NOT NULL DEFAULT '',
  `stars` smallint(4) unsigned NOT NULL DEFAULT '0',
  `starimage` varchar(120) NOT NULL DEFAULT '',
  PRIMARY KEY (`utid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;

--
-- Dumping data for table `[[dbprefix]]usertitles`
--

INSERT INTO `[[dbprefix]]usertitles` VALUES
(1, 0, 'Newbie', 1, ''),
(2, 1, 'Junior Member', 2, ''),
(3, 50, 'Member', 3, ''),
(4, 250, 'Senior Member', 4, ''),
(5, 750, 'Posting Freak', 5, '');

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]warninglevels`
--

CREATE TABLE `[[dbprefix]]warninglevels` (
  `lid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `percentage` smallint(3) unsigned NOT NULL DEFAULT '0',
  `action` text NOT NULL,
  PRIMARY KEY (`lid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]warnings`
--

CREATE TABLE `[[dbprefix]]warnings` (
  `wid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(10) unsigned NOT NULL DEFAULT '0',
  `tid` int(10) unsigned NOT NULL DEFAULT '0',
  `pid` int(10) unsigned NOT NULL DEFAULT '0',
  `title` varchar(120) NOT NULL DEFAULT '',
  `points` smallint(5) unsigned NOT NULL DEFAULT '0',
  `dateline` int(10) unsigned NOT NULL DEFAULT '0',
  `issuedby` int(10) unsigned NOT NULL DEFAULT '0',
  `expires` int(10) unsigned NOT NULL DEFAULT '0',
  `expired` tinyint(1) NOT NULL DEFAULT '0',
  `daterevoked` int(10) unsigned NOT NULL DEFAULT '0',
  `revokedby` int(10) unsigned NOT NULL DEFAULT '0',
  `revokereason` text NOT NULL,
  `notes` text NOT NULL,
  PRIMARY KEY (`wid`),
  KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `[[dbprefix]]warningtypes`
--

CREATE TABLE `[[dbprefix]]warningtypes` (
  `tid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(120) NOT NULL DEFAULT '',
  `points` smallint(5) unsigned NOT NULL DEFAULT '0',
  `expirationtime` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`tid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;