PunBB 1.4.2 to 1.4.3 changes Legend
Lines removed 
Lines changed
 Lines added

punbb-1.4.2/admin/db_update.php punbb-1.4.3/admin/db_update.php
 10:  */ 10:  */
 11:  11: 
 12:  12: 
 13: define('UPDATE_TO', '1.4.2'); 13: define('UPDATE_TO', '1.4.3');
 14: define('UPDATE_TO_DB_REVISION', 5); 14: define('UPDATE_TO_DB_REVISION', 5);
 15:  15: 
 16: // The number of items to process per pageview (lower this if the update script times out during UTF-8 conversion) 16: // The number of items to process per pageview (lower this if the update script times out during UTF-8 conversion)
 26:  26: 
 27: define('FORUM_ROOT', '../'); 27: define('FORUM_ROOT', '../');
 28:  28: 
  29: require FORUM_ROOT.'include/constants.php';
  30: 
 29: // Attempt to load the configuration file config.php 31: // Attempt to load the configuration file config.php
 30: if (file_exists(FORUM_ROOT.'config.php')) 32: if (file_exists(FORUM_ROOT.'config.php'))
 31:     include FORUM_ROOT.'config.php'; 33:     include FORUM_ROOT.'config.php';
 42: if (!defined('FORUM_DEBUG')) 44: if (!defined('FORUM_DEBUG'))
 43:     define('FORUM_DEBUG', 1); 45:     define('FORUM_DEBUG', 1);
 44:  46: 
 45: // Define avatars type 
 46: define('FORUM_AVATAR_NONE', 0); 
 47: define('FORUM_AVATAR_GIF', 1); 
 48: define('FORUM_AVATAR_JPG', 2); 
 49: define('FORUM_AVATAR_PNG', 3); 
 50:  
 51: // Turn on full PHP error reporting 47: // Turn on full PHP error reporting
 52: error_reporting(E_ALL); 48: error_reporting(E_ALL);
 53:  49: 


punbb-1.4.2/admin/extensions.php punbb-1.4.3/admin/extensions.php
 59:     $ext_data = xml_to_array($manifest); 59:     $ext_data = xml_to_array($manifest);
 60:     $errors = validate_manifest($ext_data, $id); 60:     $errors = validate_manifest($ext_data, $id);
 61:  61: 
  62:     /*
  63:      * TODO
  64:      * Errors must be fully specified instead "bad request" message only
  65:      */
 62:     if (!empty($errors)) 66:     if (!empty($errors))
 63:         message(isset($_GET['install']) ? $lang_common['Bad request'] : $lang_admin_ext['Hotfix download failed']); 67:         message(isset($_GET['install']) ? $lang_common['Bad request'] : $lang_admin_ext['Hotfix download failed']);
 64:  68: 
 81:         $ext_data['extension']['dependencies'] = $ext_data['extension']['dependencies']['dependency']; 85:         $ext_data['extension']['dependencies'] = $ext_data['extension']['dependencies']['dependency'];
 82:  86: 
 83:     $query = array( 87:     $query = array(
 84:         'SELECT'    => 'e.id', 88:         'SELECT'    => 'e.id, e.version',
 85:         'FROM'        => 'extensions AS e', 89:         'FROM'        => 'extensions AS e',
 86:         'WHERE'        => 'e.disabled=0' 90:         'WHERE'        => 'e.disabled=0'
 87:     ); 91:     );
 91:  95: 
 92:     $installed_ext = array(); 96:     $installed_ext = array();
 93:     while ($row = $forum_db->fetch_assoc($result)) 97:     while ($row = $forum_db->fetch_assoc($result))
 94:         $installed_ext[] = $row['id']; 98:         $installed_ext[$row['id']] = $row;
 95:  99: 
 96:     foreach ($ext_data['extension']['dependencies'] as $dependency)100:     foreach ($ext_data['extension']['dependencies'] as $dependency)
 97:     {101:     {
 98:         if (!in_array($dependency, $installed_ext))102: 
 99:             message(sprintf($lang_admin_ext['Missing dependency'], $dependency));103:         $ext_dependancy_id = is_array($dependency) ? $dependency['content'] : $dependency;
 104:         
 105:         if (!array_key_exists($ext_dependancy_id, $installed_ext))
 106:         {
 107:            $errors[] = sprintf($lang_admin_ext['Missing dependency'], $ext_dependancy_id);
 108:         }
 109:         else if (is_array($dependency) AND isset($dependency['attributes']['minversion']) AND version_compare($dependency['attributes']['minversion'], $installed_ext[$ext_dependancy_id]['version']) > 0)
 110:         {
 111:             $errors[] = sprintf($lang_admin_ext['Version dependency error'], $dependency['content'], $dependency['attributes']['minversion']);
 112:         }
100:     }113:     }
101: 114: 
102:     // Setup breadcrumbs115:     // Setup breadcrumbs
108:         (strpos($id, 'hotfix_') === 0) ? $lang_admin_ext['Install hotfix'] : $lang_admin_ext['Install extension']121:         (strpos($id, 'hotfix_') === 0) ? $lang_admin_ext['Install hotfix'] : $lang_admin_ext['Install extension']
109:     );122:     );
110: 123: 
111:     if (isset($_POST['install_comply']))124:     if (isset($_POST['install_comply']) AND empty($errors))
112:     {125:     {
113:         ($hook = get_hook('aex_install_comply_form_submitted')) ? eval($hook) : null;126:         ($hook = get_hook('aex_install_comply_form_submitted')) ? eval($hook) : null;
114: 127: 
310:         <h2 class="hn"><span><?php echo end($forum_page['crumbs']) ?> "<?php echo forum_htmlencode($ext_data['extension']['title']) ?>"</span></h2>323:         <h2 class="hn"><span><?php echo end($forum_page['crumbs']) ?> "<?php echo forum_htmlencode($ext_data['extension']['title']) ?>"</span></h2>
311:     </div>324:     </div>
312:     <div class="main-content main-frm">325:     <div class="main-content main-frm">
 326: <?php
 327: 
 328:     // If there were any errors, show them
 329:     if (!empty($errors))
 330:     {
 331:         $forum_page['errors'] = array();
 332:         foreach ($errors as $cur_error)
 333:             $forum_page['errors'][] = '<li class="warn"><span>'.$cur_error.'</span></li>';
 334: 
 335:             ($hook = get_hook('aex_install_ext_pre_errors')) ? eval($hook) : null;
 336: 
 337: ?>
 338:         <div class="ct-box error-box">
 339:             <h2 class="warn hn"><?php echo $lang_admin_ext['Install ext errors'] ?></h2>
 340:             <ul class="error-list">
 341:                 <?php echo implode("\n\t\t\t\t", $forum_page['errors'])."\n" ?>
 342:             </ul>
 343:         </div>
 344: <?php
 345:     }
 346: ?>    
313:         <form class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $base_url.'/admin/extensions.php'.(isset($_GET['install']) ? '?install=' : '?install_hotfix=').$id ?>">347:         <form class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $base_url.'/admin/extensions.php'.(isset($_GET['install']) ? '?install=' : '?install_hotfix=').$id ?>">
314:             <div class="hidden">348:             <div class="hidden">
315:                 <input type="hidden" name="csrf_token" value="<?php echo generate_form_token($base_url.'/admin/extensions.php'.(isset($_GET['install']) ? '?install=' : '?install_hotfix=').$id) ?>" />349:                 <input type="hidden" name="csrf_token" value="<?php echo generate_form_token($base_url.'/admin/extensions.php'.(isset($_GET['install']) ? '?install=' : '?install_hotfix=').$id) ?>" />
860:     if ($forum_config['o_check_for_versions'] == 1)894:     if ($forum_config['o_check_for_versions'] == 1)
861:     {895:     {
862:         // Check for the new versions of the extensions istalled896:         // Check for the new versions of the extensions istalled
863:         $repository_urls = array('http://punbb.informer.com/extensions/1.4');897:         $repository_urls = array(FORUM_PUN_EXTENSION_REPOSITORY_URL);
864:         ($hook = get_hook('aex_add_extensions_repository')) ? eval($hook) : null;898:         ($hook = get_hook('aex_add_extensions_repository')) ? eval($hook) : null;
865: 899: 
866:         $repository_url_by_extension = array();900:         $repository_url_by_extension = array();
881:         $update_hour = (isset($forum_ext_versions_update_cache) && (time() - $forum_ext_versions_update_cache > 60 * 60));915:         $update_hour = (isset($forum_ext_versions_update_cache) && (time() - $forum_ext_versions_update_cache > 60 * 60));
882: 916: 
883:         // Update last versions if there is no cahe or some extension was added/removed or one day has gone since last update917:         // Update last versions if there is no cahe or some extension was added/removed or one day has gone since last update
884:         $update_new_versions_cache = !defined('FORUM_EXT_VERSIONS_LOADED') || (isset($forum_ext_last_versions) && array_diff($inst_exts, $forum_ext_last_versions) != array()) || $update_hour || ($update_hour && isset($min_timestamp) && (time() - $min_timestamp > 60*60*24));918:         $update_new_versions_cache = !defined('FORUM_EXT_VERSIONS_LOADED') || (isset($forum_ext_last_versions) && array_diff(array_keys($inst_exts), array_keys($forum_ext_last_versions)) != array()) || $update_hour || ($update_hour && isset($min_timestamp) && (time() - $min_timestamp > 60*60*24));
885: 919: 
886:         ($hook = get_hook('aex_before_update_checking')) ? eval($hook) : null;920:         ($hook = get_hook('aex_before_update_checking')) ? eval($hook) : null;
887: 921: 


punbb-1.4.2/admin/forums.php punbb-1.4.3/admin/forums.php
294:     // Update group permissions for $forum_id294:     // Update group permissions for $forum_id
295:     if (isset($_POST['save']))295:     if (isset($_POST['save']))
296:     {296:     {
297:         ($hook = get_hook('afo_save_forum_form_submitted')) ? eval($hook) : null; 
298:  
299:         // Start with the forum details297:         // Start with the forum details
300:         $forum_name = forum_trim($_POST['forum_name']);298:         $forum_name = forum_trim($_POST['forum_name']);
301:         $forum_desc = forum_linebreaks(forum_trim($_POST['forum_desc']));299:         $forum_desc = forum_linebreaks(forum_trim($_POST['forum_desc']));
303:         $sort_by = intval($_POST['sort_by']);301:         $sort_by = intval($_POST['sort_by']);
304:         $redirect_url = isset($_POST['redirect_url']) && $cur_forum['num_topics'] == 0 ? forum_trim($_POST['redirect_url']) : null;302:         $redirect_url = isset($_POST['redirect_url']) && $cur_forum['num_topics'] == 0 ? forum_trim($_POST['redirect_url']) : null;
305: 303: 
 304:         ($hook = get_hook('afo_save_forum_form_submitted')) ? eval($hook) : null;
 305: 
306:         if ($forum_name == '')306:         if ($forum_name == '')
307:             message($lang_admin_forums['Must enter forum message']);307:             message($lang_admin_forums['Must enter forum message']);
308: 308: 


punbb-1.4.2/admin/install.php punbb-1.4.3/admin/install.php
 10:  */ 10:  */
 11:  11: 
 12:  12: 
 13: define('FORUM_VERSION', '1.4.2'); 
 14: define('FORUM_DB_REVISION', 5); 
 15: define('MIN_PHP_VERSION', '5.0.0'); 13: define('MIN_PHP_VERSION', '5.0.0');
 16: define('MIN_MYSQL_VERSION', '4.1.2'); 14: define('MIN_MYSQL_VERSION', '4.1.2');
 17:  15: 
 19: define('FORUM', 1); 17: define('FORUM', 1);
 20: define('FORUM_DEBUG', 1); 18: define('FORUM_DEBUG', 1);
 21:  19: 
 22: define('FORUM_SEARCH_MIN_WORD', 3); 
 23: define('FORUM_SEARCH_MAX_WORD', 20); 
 24:  
 25: if (file_exists(FORUM_ROOT.'config.php')) 20: if (file_exists(FORUM_ROOT.'config.php'))
 26:     exit('The file \'config.php\' already exists which would mean that PunBB is already installed. You should go <a href="'.FORUM_ROOT.'index.php">here</a> instead.'); 21:     exit('The file \'config.php\' already exists which would mean that PunBB is already installed. You should go <a href="'.FORUM_ROOT.'index.php">here</a> instead.');
 27:  22: 
 36: // Turn off PHP time limit 31: // Turn off PHP time limit
 37: @set_time_limit(0); 32: @set_time_limit(0);
 38:  33: 
  34: require FORUM_ROOT.'include/constants.php';
 39: // We need some stuff from functions.php 35: // We need some stuff from functions.php
 40: require FORUM_ROOT.'include/functions.php'; 36: require FORUM_ROOT.'include/functions.php';
 41:  37: 


punbb-1.4.2/admin/prune.php punbb-1.4.3/admin/prune.php
242:     $cur_category = 0;242:     $cur_category = 0;
243:     while ($forum = $forum_db->fetch_assoc($result))243:     while ($forum = $forum_db->fetch_assoc($result))
244:     {244:     {
 245:         ($hook = get_hook('apr_pre_prune_forum_loop_start')) ? eval($hook) : null;
 246:         
245:         if ($forum['cid'] != $cur_category)    // Are we still in the same category?247:         if ($forum['cid'] != $cur_category)    // Are we still in the same category?
246:         {248:         {
247:             if ($cur_category)249:             if ($cur_category)
252:         }254:         }
253: 255: 
254:         echo "\t\t\t\t\t\t\t\t\t".'<option value="'.$forum['fid'].'">'.forum_htmlencode($forum['forum_name']).'</option>'."\n";256:         echo "\t\t\t\t\t\t\t\t\t".'<option value="'.$forum['fid'].'">'.forum_htmlencode($forum['forum_name']).'</option>'."\n";
 257:         
 258:         ($hook = get_hook('apr_pre_prune_forum_loop_end')) ? eval($hook) : null;
255:     }259:     }
256: 260: 
257: ?>261: ?>


punbb-1.4.2/edit.php punbb-1.4.3/edit.php
 89:  89: 
 90:         if ($subject == '') 90:         if ($subject == '')
 91:             $errors[] = $lang_post['No subject']; 91:             $errors[] = $lang_post['No subject'];
 92:         else if (utf8_strlen($subject) > 70) 92:         else if (utf8_strlen($subject) > FORUM_SUBJECT_MAXIMUM_LENGTH)
 93:             $errors[] = $lang_post['Too long subject']; 93:             $errors[] = sprintf($lang_post['Too long subject'], FORUM_SUBJECT_MAXIMUM_LENGTH);
 94:         else if ($forum_config['p_subject_all_caps'] == '0' && check_is_all_caps($subject) && !$forum_page['is_admmod']) 94:         else if ($forum_config['p_subject_all_caps'] == '0' && check_is_all_caps($subject) && !$forum_page['is_admmod'])
 95:             $subject = utf8_ucwords(utf8_strtolower($subject)); 95:             $subject = utf8_ucwords(utf8_strtolower($subject));
 96:     } 96:     }
297: <?php if ($can_edit_subject): ?>                <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">297: <?php if ($can_edit_subject): ?>                <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">
298:                     <div class="sf-box text required">298:                     <div class="sf-box text required">
299:                         <label for="fld<?php echo ++ $forum_page['fld_count'] ?>"><span><?php echo $lang_post['Topic subject'] ?></span></label><br />299:                         <label for="fld<?php echo ++ $forum_page['fld_count'] ?>"><span><?php echo $lang_post['Topic subject'] ?></span></label><br />
300:                         <span class="fld-input"><input id="fld<?php echo $forum_page['fld_count'] ?>" type="text" name="req_subject" size="70" maxlength="70" value="<?php echo forum_htmlencode(isset($_POST['req_subject']) ? $_POST['req_subject'] : $cur_post['subject']) ?>" required /></span>300:                         <span class="fld-input"><input id="fld<?php echo $forum_page['fld_count'] ?>" type="text" name="req_subject" size="<?php echo FORUM_SUBJECT_MAXIMUM_LENGTH ?>" maxlength="<?php echo FORUM_SUBJECT_MAXIMUM_LENGTH ?>" value="<?php echo forum_htmlencode(isset($_POST['req_subject']) ? $_POST['req_subject'] : $cur_post['subject']) ?>" required /></span>
301:                     </div>301:                     </div>
302:                 </div>302:                 </div>
303: <?php endif; ($hook = get_hook('ed_pre_message_box')) ? eval($hook) : null; ?>                <div class="txt-set set<?php echo ++$forum_page['item_count'] ?>">303: <?php endif; ($hook = get_hook('ed_pre_message_box')) ? eval($hook) : null; ?>                <div class="txt-set set<?php echo ++$forum_page['item_count'] ?>">


punbb-1.4.2/header.php punbb-1.4.3/header.php
105: if (!empty($forum_page['nav']))105: if (!empty($forum_page['nav']))
106:     $forum_head['nav'] = implode("\n", $forum_page['nav']);106:     $forum_head['nav'] = implode("\n", $forum_page['nav']);
107: 107: 
108: $forum_head['search'] = '<link rel="search" href="'.forum_link($forum_url['search']).'" title="'.$lang_common['Search'].'" />';108: if ($forum_user['g_read_board'] == '1' && $forum_user['g_search'] == '1')
109: $forum_head['author'] = '<link rel="author" href="'.forum_link($forum_url['users']).'" title="'.$lang_common['User list'].'" />';109: {
 110:     $forum_head['search'] = '<link rel="search" type="text/html" href="'.forum_link($forum_url['search']).'" title="'.$lang_common['Search'].'" />';
 111:     $forum_head['opensearch'] = '<link rel="search" type="application/opensearchdescription+xml" href="'.forum_link($forum_url['opensearch']).'" title="'.forum_htmlencode($forum_config['o_board_title']).'" />';
 112: }
 113: 
 114: $forum_head['author'] = '<link rel="author" type="text/html" href="'.forum_link($forum_url['users']).'" title="'.$lang_common['User list'].'" />';
110: 115: 
111: ob_start();116: ob_start();
112: 117: 


punbb-1.4.2/include/cache.php punbb-1.4.3/include/cache.php
351:             $redirect_tag = ($cur_forum['redirect_url'] != '') ? ' &gt;&gt;&gt;' : '';351:             $redirect_tag = ($cur_forum['redirect_url'] != '') ? ' &gt;&gt;&gt;' : '';
352:             $output .= "\t\t\t\t".'<option value="'.$cur_forum['fid'].'"<?php echo ($forum_id == '.$cur_forum['fid'].') ? \' selected="selected"\' : \'\' ?>>'.forum_htmlencode($cur_forum['forum_name']).$redirect_tag.'</option>'."\n";352:             $output .= "\t\t\t\t".'<option value="'.$cur_forum['fid'].'"<?php echo ($forum_id == '.$cur_forum['fid'].') ? \' selected="selected"\' : \'\' ?>>'.forum_htmlencode($cur_forum['forum_name']).$redirect_tag.'</option>'."\n";
353:             $forum_count++;353:             $forum_count++;
 354:             
 355:             ($hook = get_hook('ch_fn_generate_quickjump_cache_forum_loop_end')) ? eval($hook) : null;
354:         }356:         }
355: 357: 
356:         $output .= "\t\t\t".'</optgroup>'."\n\t\t".'</select>'."\n\t\t".'<input type="submit" id="qjump-submit" value="<?php echo $lang_common[\'Go\'] ?>" /></span>'."\n\t".'</div>'."\n".'</form>'."\n";358:         $output .= "\t\t\t".'</optgroup>'."\n\t\t".'</select>'."\n\t\t".'<input type="submit" id="qjump-submit" value="<?php echo $lang_common[\'Go\'] ?>" /></span>'."\n\t".'</div>'."\n".'</form>'."\n";
566:         {568:         {
567:             foreach ($inst_exts as $ext)569:             foreach ($inst_exts as $ext)
568:             {570:             {
 571:                 
 572:                 if ((0 === strpos($ext['id'], 'pun_') AND FORUM_PUN_EXTENSION_REPOSITORY_URL != $url) OR
 573:                         ((FALSE === strpos($ext['id'], 'pun_') AND !isset($ext['repo_url'])) OR (isset($ext['repo_url']) AND $ext['repo_url'] != $url)))
 574:                     continue;
 575:                                 
569:                 $remote_file = get_remote_file($url.'/'.$ext['id'].'/lastversion', 2);576:                 $remote_file = get_remote_file($url.'/'.$ext['id'].'/lastversion', 2);
570:                 $version = empty($remote_file['content']) ? '' : forum_trim($remote_file['content']);577:                 $version = empty($remote_file['content']) ? '' : forum_trim($remote_file['content']);
571:                 unset($remote_file);578:                 unset($remote_file);


punbb-1.4.2/include/common_admin.php punbb-1.4.3/include/common_admin.php
216: 216: 
217:     if (is_array($name) && count($name) > 0)217:     if (is_array($name) && count($name) > 0)
218:     {218:     {
219:         function clean_conf_names($n)219:         if (!function_exists('clean_conf_names'))
220:         {220:         {
221:             global $forum_db;221:             function clean_conf_names($n)
222:             return '\''.$forum_db->escape($n).'\'';222:             {
 223:                 global $forum_db;
 224:                 return '\''.$forum_db->escape($n).'\'';
 225:             }
223:         }226:         }
224: 227: 
225:         $name = array_map('clean_conf_names', $name);228:         $name = array_map('clean_conf_names', $name);


punbb-1.4.2/include/constants.php punbb-1.4.3/include/constants.php
   1: <?php
   2: 
   3: // Define the version and database revision that this code was written for
   4: define('FORUM_VERSION', '1.4.3');
   5: define('FORUM_DB_REVISION', 5);
   6: 
   7: // Define a few commonly used constants
   8: define('FORUM_UNVERIFIED', 0);
   9: define('FORUM_ADMIN', 1);
  10: define('FORUM_GUEST', 2);
  11: 
  12: // Define avatars type
  13: define('FORUM_AVATAR_NONE', 0);
  14: define('FORUM_AVATAR_GIF', 1);
  15: define('FORUM_AVATAR_JPG', 2);
  16: define('FORUM_AVATAR_PNG', 3);
  17: 
  18: define('FORUM_SUBJECT_MAXIMUM_LENGTH', 70);
  19: define('FORUM_DATABASE_QUERY_MAXIMUM_LENGTH', 140000);
  20: 
  21: define('FORUM_SEARCH_MIN_WORD', 3);
  22: define('FORUM_SEARCH_MAX_WORD', 20);
  23: 
  24: define('FORUM_PUN_EXTENSION_REPOSITORY_URL', 'http://punbb.informer.com/extensions/1.4');
  0:  25: 


punbb-1.4.2/include/dblayer/mysqli_innodb.php punbb-1.4.3/include/dblayer/mysqli_innodb.php
 76:  76: 
 77:     function query($sql, $unbuffered = false) 77:     function query($sql, $unbuffered = false)
 78:     { 78:     {
 79:         if (strlen($sql) > 140000) 79:         if (strlen($sql) > FORUM_DATABASE_QUERY_MAXIMUM_LENGTH)
 80:             exit('Insane query. Aborting.'); 80:             exit('Insane query. Aborting.');
 81:  81: 
 82:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG')) 82:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG'))


punbb-1.4.2/include/dblayer/mysql_innodb.php punbb-1.4.3/include/dblayer/mysql_innodb.php
 77:  77: 
 78:     function query($sql, $unbuffered = false) 78:     function query($sql, $unbuffered = false)
 79:     { 79:     {
 80:         if (strlen($sql) > 140000) 80:         if (strlen($sql) > FORUM_DATABASE_QUERY_MAXIMUM_LENGTH)
 81:             exit('Insane query. Aborting.'); 81:             exit('Insane query. Aborting.');
 82:  82: 
 83:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG')) 83:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG'))


punbb-1.4.2/include/dblayer/mysqli.php punbb-1.4.3/include/dblayer/mysqli.php
 65:  65: 
 66:     function query($sql, $unbuffered = false) 66:     function query($sql, $unbuffered = false)
 67:     { 67:     {
 68:         if (strlen($sql) > 140000) 68:         if (strlen($sql) > FORUM_DATABASE_QUERY_MAXIMUM_LENGTH)
 69:             exit('Insane query. Aborting.'); 69:             exit('Insane query. Aborting.');
 70:  70: 
 71:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG')) 71:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG'))


punbb-1.4.2/include/dblayer/mysql.php punbb-1.4.3/include/dblayer/mysql.php
 66:  66: 
 67:     function query($sql, $unbuffered = false) 67:     function query($sql, $unbuffered = false)
 68:     { 68:     {
 69:         if (strlen($sql) > 140000) 69:         if (strlen($sql) > FORUM_DATABASE_QUERY_MAXIMUM_LENGTH)
 70:             exit('Insane query. Aborting.'); 70:             exit('Insane query. Aborting.');
 71:  71: 
 72:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG')) 72:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG'))


punbb-1.4.2/include/dblayer/pgsql.php punbb-1.4.3/include/dblayer/pgsql.php
101: 101: 
102:     function query($sql, $unbuffered = false)    // $unbuffered is ignored since there is no pgsql_unbuffered_query()102:     function query($sql, $unbuffered = false)    // $unbuffered is ignored since there is no pgsql_unbuffered_query()
103:     {103:     {
104:         if (strlen($sql) > 140000)104:         if (strlen($sql) > FORUM_DATABASE_QUERY_MAXIMUM_LENGTH)
105:             exit('Insane query. Aborting.');105:             exit('Insane query. Aborting.');
106: 106: 
107:         if (strrpos($sql, 'LIMIT') !== false)107:         if (strrpos($sql, 'LIMIT') !== false)


punbb-1.4.2/include/dblayer/sqlite3.php punbb-1.4.3/include/dblayer/sqlite3.php
 87:  87: 
 88:     function query($sql, $unbuffered = false) 88:     function query($sql, $unbuffered = false)
 89:     { 89:     {
 90:         if (strlen($sql) > 140000) 90:         if (strlen($sql) > FORUM_DATABASE_QUERY_MAXIMUM_LENGTH)
 91:             exit('Insane query. Aborting.'); 91:             exit('Insane query. Aborting.');
 92:  92: 
 93:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG')) 93:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG'))


punbb-1.4.2/include/dblayer/sqlite.php punbb-1.4.3/include/dblayer/sqlite.php
 90:  90: 
 91:     function query($sql, $unbuffered = false) 91:     function query($sql, $unbuffered = false)
 92:     { 92:     {
 93:         if (strlen($sql) > 140000) 93:         if (strlen($sql) > FORUM_DATABASE_QUERY_MAXIMUM_LENGTH)
 94:             exit('Insane query. Aborting.'); 94:             exit('Insane query. Aborting.');
 95:  95: 
 96:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG')) 96:         if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG'))


punbb-1.4.2/include/essentials.php punbb-1.4.3/include/essentials.php
 10: if (!defined('FORUM_ROOT')) 10: if (!defined('FORUM_ROOT'))
 11:     exit('The constant FORUM_ROOT must be defined and point to a valid PunBB installation root directory.'); 11:     exit('The constant FORUM_ROOT must be defined and point to a valid PunBB installation root directory.');
 12:  12: 
 13: // Define the version and database revision that this code was written for 13: if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) AND strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest')
 14: define('FORUM_VERSION', '1.4.2'); 14: {
 15: define('FORUM_DB_REVISION', 5); 15:     define('FORUM_REQUEST_AJAX', 1);
  16: }
  17: 
  18: require FORUM_ROOT.'include/constants.php';
 16:  19: 
 17: // Record the start time (will be used to calculate the generation time for the page) 20: // Record the start time (will be used to calculate the generation time for the page)
 18: list($usec, $sec) = explode(' ', microtime()); 21: list($usec, $sec) = explode(' ', microtime());
 98:     require FORUM_CACHE_DIR.'cache_config.php';101:     require FORUM_CACHE_DIR.'cache_config.php';
 99: }102: }
100: 103: 
101: // Load the Flash messenger class 
102: require FORUM_ROOT.'include/flash_messenger.php';104: require FORUM_ROOT.'include/flash_messenger.php';
 105: $forum_flash = new FlashMessenger();
103: 106: 
104: // If the request_uri is invalid try fix it107: // If the request_uri is invalid try fix it
105: forum_fix_request_uri();108: forum_fix_request_uri();
132:     require FORUM_CACHE_DIR.'cache_hooks.php';135:     require FORUM_CACHE_DIR.'cache_hooks.php';
133: }136: }
134: 137: 
135: // Define a few commonly used constants 
136: define('FORUM_UNVERIFIED', 0); 
137: define('FORUM_ADMIN', 1); 
138: define('FORUM_GUEST', 2); 
139:  
140: // Define avatars type 
141: define('FORUM_AVATAR_NONE', 0); 
142: define('FORUM_AVATAR_GIF', 1); 
143: define('FORUM_AVATAR_JPG', 2); 
144: define('FORUM_AVATAR_PNG', 3); 
145:  
146: // A good place to add common functions for your extension138: // A good place to add common functions for your extension
147: ($hook = get_hook('es_essentials')) ? eval($hook) : null;139: ($hook = get_hook('es_essentials')) ? eval($hook) : null;
148: 140: 


punbb-1.4.2/include/flash_messenger.php punbb-1.4.3/include/flash_messenger.php
 10:  10: 
 11: class FlashMessenger 11: class FlashMessenger
 12: { 12: {
 13:     const TEMPLATE_MSG_BLOCK = '%s'; 13:     const TEMPLATE_MSG_BLOCK     = '%s';
 14:     const TEMPLATE_MSG = '<span class="%s">%s</span>'; 14:     const TEMPLATE_MSG             = '<span class="%s">%s</span>';
 15:  15: 
 16:     // 16:     const MSG_TYPE_ERROR         = 'message_error';
 17:     const MSG_TYPE_ERROR = 'message_error'; 17:     const MSG_TYPE_WARNING         = 'message_warning';
 18:     const MSG_TYPE_WARNING = 'message_warning'; 18:     const MSG_TYPE_INFO         = 'message_info';
 19:     const MSG_TYPE_INFO = 'message_info'; 
 20:  19: 
 21:     // 
 22:     private $message; 20:     private $message;
 23:  21: 
 24:  22: 
 26:     { 24:     {
 27:         global $forum_config; 25:         global $forum_config;
 28:  26: 
 29:         // Do not use with redirect 
 30:         $disabled = isset($forum_config['o_redirect_delay']) && intval($forum_config['o_redirect_delay'], 10) > 0; 27:         $disabled = isset($forum_config['o_redirect_delay']) && intval($forum_config['o_redirect_delay'], 10) > 0;
 31:  28: 
 32:         if (!$disabled) 29:         if (!$disabled)
 37:         $this->message = $this->get_message(); 34:         $this->message = $this->get_message();
 38:     } 35:     }
 39:  36: 
 40:  
 41:     // Add error message 
 42:     public function add_error($msg) 37:     public function add_error($msg)
 43:     { 38:     {
 44:         $this->add_message($msg, self::MSG_TYPE_ERROR); 39:         $this->add_message($msg, self::MSG_TYPE_ERROR);
 45:     } 40:     }
 46:  41: 
 47:  
 48:     // Add warning message 
 49:     public function add_warning($msg) 42:     public function add_warning($msg)
 50:     { 43:     {
 51:         $this->add_message($msg, self::MSG_TYPE_WARNING); 44:         $this->add_message($msg, self::MSG_TYPE_WARNING);
 52:     } 45:     }
 53:  46: 
 54:  
 55:     // Add info message 
 56:     public function add_info($msg) 47:     public function add_info($msg)
 57:     { 48:     {
 58:         $this->add_message($msg, self::MSG_TYPE_INFO); 49:         $this->add_message($msg, self::MSG_TYPE_INFO);
 59:     } 50:     }
 60:  51: 
 61:  
 62:     // 
 63:     public function show($just_return = false) 52:     public function show($just_return = false)
 64:     { 53:     {
 65:         if (empty($this->message)) 54:         if (empty($this->message))
 78:         $this->clear(); 67:         $this->clear();
 79:     } 68:     }
 80:  69: 
 81:  70:     public function clear()
 82:     // 
 83:     private function clear() 
 84:     { 71:     {
 85:         $this->message = NULL; 72:         $this->message = NULL;
 86:         $this->save_message(); 73:         $this->save_message();
 87:     } 74:     }
 88:  75: 
 89:  76: 
 90:     // 
 91:     private function add_message($message, $type) 77:     private function add_message($message, $type)
 92:     { 78:     {
 93:         $this->message = array($message, $type); 79:         $this->message = array($message, $type);
 94:         $this->save_message(); 80:         $this->save_message();
 95:     } 81:     }
 96:  82: 
 97:  
 98:     private function save_message() 83:     private function save_message()
 99:     { 84:     {
100:         $_SESSION['punbb_forum_flash'] = serialize($this->message); 85:         $_SESSION['punbb_forum_flash'] = serialize($this->message);
101:     } 86:     }
102:  87: 
103:  
104:     private function get_message() 88:     private function get_message()
105:     { 89:     {
106:         $message = NULL; 90:         $message = NULL;
120:         return $message;104:         return $message;
121:     }105:     }
122: }106: }


punbb-1.4.2/include/functions.php punbb-1.4.3/include/functions.php
 53:     else if (isset($_GET['PHPSESSID'])) 53:     else if (isset($_GET['PHPSESSID']))
 54:         $forum_session_id = $_GET['PHPSESSID']; 54:         $forum_session_id = $_GET['PHPSESSID'];
 55:  55: 
 56:     if (empty($forum_session_id) || !preg_match('/^[a-z0-9]{16,32}$/', $forum_session_id)) 56:     if (empty($forum_session_id) || !preg_match('/^[a-z0-9\-,]{16,32}$/i', $forum_session_id))
 57:     { 57:     {
 58:         // Create new session id 58:         // Create new session id
 59:         $forum_session_id = random_key(32, FALSE, TRUE); 59:         $forum_session_id = random_key(32, FALSE, TRUE);
 60:         session_id($forum_session_id); 60:         session_id($forum_session_id);
 61:     } 61:     }
 62:  62:     
 63:     session_start(); 63:     if (!isset($_SESSION))
  64:     {
  65:         session_start();
  66:     }
  67:     
 64:     if (!isset($_SESSION['initiated'])) 68:     if (!isset($_SESSION['initiated']))
 65:     { 69:     {
 66:         session_regenerate_id(); 70:         session_regenerate_id();
1448:                 );1452:                 );
1449: 1453: 
1450:                 $current_url = get_current_url(255);1454:                 $current_url = get_current_url(255);
1451:                 if ($current_url != null)1455:                 if ($current_url != null && !defined('FORUM_REQUEST_AJAX'))
1452:                     $query['SET'] .= ', prev_url=\''.$forum_db->escape($current_url).'\'';1456:                     $query['SET'] .= ', prev_url=\''.$forum_db->escape($current_url).'\'';
1453: 1457: 
1454:                 if ($forum_user['idle'] == '1')1458:                 if ($forum_user['idle'] == '1')
2948:     if ($return != null)2952:     if ($return != null)
2949:         return;2953:         return;
2950: 2954: 
 2955:     if (defined('FORUM_REQUEST_AJAX'))
 2956:     {
 2957:         $json_data = array(
 2958:                 'code'            =>    -3,
 2959:                 'message'        =>    $lang_common['CSRF token mismatch'],
 2960:                 'csrf_token'    =>    generate_form_token(get_current_url()),
 2961:                 'prev_url'        =>    forum_htmlencode($forum_user['prev_url']),
 2962:         );
 2963: 
 2964:         foreach ($_POST as $submitted_key => $submitted_val)
 2965:         {
 2966:             if ($submitted_key != 'csrf_token' && $submitted_key != 'prev_url')
 2967:             {
 2968:                 $hidden_fields = _csrf_confirm_form($submitted_key, $submitted_val);
 2969:                 foreach ($hidden_fields as $field_key => $field_val)
 2970:                 {
 2971:                     $json_data['post_data'][$field_key] = forum_htmlencode($field_val);
 2972:                 }
 2973:             }
 2974:         }
 2975: 
 2976:         ($hook = get_hook('fn_redirect_pre_send_json')) ? eval($hook) : null;
 2977:         
 2978:         send_json($json_data);
 2979:     }    
 2980:     
2951:     // Setup breadcrumbs2981:     // Setup breadcrumbs
2952:     $forum_page['crumbs'] = array(2982:     $forum_page['crumbs'] = array(
2953:         array($forum_config['o_board_title'], forum_link($forum_url['index'])),2983:         array($forum_config['o_board_title'], forum_link($forum_url['index'])),
3016:     global $forum_db, $forum_url, $lang_common, $forum_config, $base_url, $forum_start, $tpl_main, $forum_user, $forum_page, $forum_updates, $forum_loader, $forum_flash;3046:     global $forum_db, $forum_url, $lang_common, $forum_config, $base_url, $forum_start, $tpl_main, $forum_user, $forum_page, $forum_updates, $forum_loader, $forum_flash;
3017: 3047: 
3018:     ($hook = get_hook('fn_message_start')) ? eval($hook) : null;3048:     ($hook = get_hook('fn_message_start')) ? eval($hook) : null;
 3049:     
 3050:     if (defined('FORUM_REQUEST_AJAX'))
 3051:     {
 3052:         $json_data = array(
 3053:             'code'        => -1,
 3054:             'message'    => $message
 3055:         );
 3056: 
 3057:         ($hook = get_hook('fn_message_pre_send_json')) ? eval($hook) : null;
 3058:         
 3059:         send_json($json_data);
 3060:     }
3019: 3061: 
3020:     if (!defined('FORUM_HEADER'))3062:     if (!defined('FORUM_HEADER'))
3021:     {3063:     {
3176:     // Do a little spring cleaning3218:     // Do a little spring cleaning
3177:     $destination_url = preg_replace('/([\r\n])|(%0[ad])|(;[\s]*data[\s]*:)/i', '', $destination_url);3219:     $destination_url = preg_replace('/([\r\n])|(%0[ad])|(;[\s]*data[\s]*:)/i', '', $destination_url);
3178: 3220: 
 3221:     if (defined('FORUM_REQUEST_AJAX'))
 3222:     {
 3223:         $json_data = array(
 3224:             'code'        => -2,
 3225:             'message'    => $message,
 3226:             'destination_url' => $destination_url
 3227:         );
 3228:     
 3229:         ($hook = get_hook('fn_redirect_pre_send_json')) ? eval($hook) : null;
 3230:         
 3231:         send_json($json_data);
 3232:     }    
 3233:     
3179:     // If the delay is 0 seconds, we might as well skip the redirect all together3234:     // If the delay is 0 seconds, we might as well skip the redirect all together
3180:     if ($forum_config['o_redirect_delay'] == '0')3235:     if ($forum_config['o_redirect_delay'] == '0')
3181:         header('Location: '.str_replace('&amp;', '&', $destination_url));3236:         header('Location: '.str_replace('&amp;', '&', $destination_url));
3406: 3461: 
3407:     exit;3462:     exit;
3408: }3463: }
 3464: 
 3465: function send_json($params)
 3466: {
 3467:     header('Content-type: application/json; charset=utf-8');
 3468:     if (!function_exists('json_encode'))
 3469:     {
 3470:         function json_encode($data)
 3471:         {
 3472:             switch ($type = gettype($data))
 3473:             {
 3474:                 case 'NULL':
 3475:                     return 'null';
 3476:                 case 'boolean':
 3477:                     return ($data ? 'true' : 'false');
 3478:                 case 'integer':
 3479:                 case 'double':
 3480:                 case 'float':
 3481:                     return $data;
 3482:                 case 'string':
 3483:                     return '"' . addslashes($data) . '"';
 3484:                 case 'object':
 3485:                     $data = get_object_vars($data);
 3486:                 case 'array':
 3487:                     $output_index_count = 0;
 3488:                     $output_indexed = array();
 3489:                     $output_assoc = array();
 3490:                     foreach ($data as $key => $value)
 3491:                     {
 3492:                         $output_indexed[] = json_encode($value);
 3493:                         $output_assoc[] = json_encode($key) . ':' . json_encode($value);
 3494:                         if ($output_index_count !== NULL && $output_index_count++ !== $key)
 3495:                         {
 3496:                             $output_index_count = NULL;
 3497:                         }
 3498:                     }
 3499:                     if ($output_index_count !== NULL) {
 3500:                         return '[' . implode(',', $output_indexed) . ']';
 3501:                     } else {
 3502:                         return '{' . implode(',', $output_assoc) . '}';
 3503:                     }
 3504:                 default:
 3505:                     return ''; // Not supported
 3506:             }
 3507:         }
 3508:     }
 3509:     echo json_encode($params);
 3510:     die;
 3511: }


punbb-1.4.2/include/js/min/punbb.common.min.js punbb-1.4.3/include/js/min/punbb.common.min.js
  1: /*! LAB.js (LABjs :: Loading And Blocking JavaScript)  1: /*! LAB.js (LABjs :: Loading And Blocking JavaScript)
  2:     v1.2.0 (c) Kyle Simpson  2:     v2.0.3 (c) Kyle Simpson
  3:     MIT License  3:     MIT License
  4: */  4: */
  5: (function(c){var h="string",k="head",t="body",U="script",O="readyState",R="preloaddone",D="loadtrigger",K="srcuri",H="preload",u="complete",f="done",b="which",v="preserve",o="onreadystatechange",L="onload",I="hasOwnProperty",E="script/cache",g="[object ",M=g+"Function]",F=g+"Array]",y=null,G=true,z=false,n=c.document,N=c.location,S=c.ActiveXObject,e=c.setTimeout,C=c.clearTimeout,T=function(V){return n.getElementsByTagName(V);},r=Object.prototype.toString,s=function(){},w={},A={},a=/^[^?#]*\//.exec(N.href)[0],x=/^\w+\:\/\/\/?[^\/]+/.exec(a)[0],Q=T(U),p=c.opera&&r.call(c.opera)==g+"Opera]",q=("MozAppearance" in n.documentElement.style),d=(n.createElement(U).async===true),m={cache:!(q||p),order:q||p||d,xhr:G,dupe:G,base:"",which:k};m[v]=z;m[H]=G;w[k]=n.head||T(k);w[t]=T(t);function P(V){return r.call(V)===M;}function B(Y,X){var W=/^\w+\:\/\//,V;if(typeof Y!=h){Y="";}if(typeof X!=h){X="";}V=((/^\/\//.test(Y))?N.protocol:"")+Y;V=(W.test(V)?"":X)+V;return((W.test(V)?"":(V.charAt(0)==="/"?x:a))+V);}function J(V){return(B(V).indexOf(x)===0);}function i(X){var W,V=-1;while(W=Q[++V]){if(typeof W.src==h&&X===B(W.src)&&W.type!==E){return G;}}return z;}function l(ay,am){ay=!(!ay);if(am==y){am=m;}var al=z,af=ay&&am[H],at=af&&am.cache,av=af&&am.order,Z=af&&am.xhr,aw=am[v],Y=am.which,ap=am.base,aa=s,ao=z,ai,ac=G,ad={},au=[],ag=y;af=at||Z||av;function ax(aA,az){if((aA[O]&&aA[O]!==u&&aA[O]!=="loaded")||az[f]){return z;}aA[L]=aA[o]=y;return G;}function X(aB,aA,aC){aC=!(!aC);if(!aC&&!(ax(aB,aA))){return;}aA[f]=G;for(var az in ad){if(ad[I](az)&&!(ad[az][f])){return;}}al=G;aa();}function ah(az){if(P(az[D])){az[D]();az[D]=y;}}function ae(aA,az){if(!ax(aA,az)){return;}az[R]=G;e(function(){w[az[b]].removeChild(aA);ah(az);},0);}function V(aA,az){if(aA[O]===4){aA[o]=s;az[R]=G;e(function(){ah(az);},0);}}function ar(aB,aE,aC,aF,aD,az){var aA=aB[b];e(function(){if("item" in w[aA]){if(!w[aA][0]){e(arguments.callee,25);return;}w[aA]=w[aA][0];}var aG=n.createElement(U);if(typeof aC==h){aG.type=aC;}if(typeof aF==h){aG.charset=aF;}if(P(aD)){aG[L]=aG[o]=function(){aD(aG,aB);};aG.src=aE;if(d){aG.async=z;}}w[aA].insertBefore(aG,(aA===k?w[aA].firstChild:y));if(typeof az==h){aG.text=az;X(aG,aB,G);}},0);}function ak(az,aB,aA,aC){A[az[K]]=G;ar(az,aB,aA,aC,X);}function aq(aA,aC,aB,aD){var az=arguments;if(ac&&aA[R]==y){aA[R]=z;ar(aA,aC,E,aD,ae);}else{if(!ac&&aA[R]!=y&&!aA[R]){aA[D]=function(){aq.apply(y,az);};}else{if(!ac){ak.apply(y,az);}}}}function W(aA,aD,aB,aE){var az=arguments,aC;if(ac&&aA[R]==y){aA[R]=z;aC=aA.xhr=(S?new S("Microsoft.XMLHTTP"):new c.XMLHttpRequest());aC[o]=function(){V(aC,aA);};aC.open("GET",aD);aC.send("");}else{if(!ac&&aA[R]!=y&&!aA[R]){aA[D]=function(){W.apply(y,az);};}else{if(!ac){A[aA[K]]=G;ar(aA,aD,aB,aE,y,aA.xhr.responseText);aA.xhr=y;}}}}function aj(aF){if(typeof aF=="undefined"||!aF){return;}if(aF.allowDup==y){aF.allowDup=am.dupe;}var aE=aF.src,aC=aF.type,aG=aF.charset,aA=aF.allowDup,az=B(aE,ap),aB,aD=J(az);if(typeof aG!=h){aG=y;}aA=!(!aA);if(!aA&&((A[az]!=y)||(ac&&ad[az])||i(az))){if(ad[az]!=y&&ad[az][R]&&!ad[az][f]&&aD){X(y,ad[az],G);}return;}if(ad[az]==y){ad[az]={};}aB=ad[az];if(aB[b]==y){aB[b]=Y;}aB[f]=z;aB[K]=az;ao=G;if(!av&&Z&&aD){W(aB,az,aC,aG);}else{if(!av&&at){aq(aB,az,aC,aG);}else{ak(aB,az,aC,aG);}}}function ab(az){if(ay&&!av){au.push(az);}if(!ay||af){az();}}function an(aB){var aA=[],az;for(az=-1;++az<aB.length;){if(r.call(aB[az])===F){aA=aA.concat(an(aB[az]));}else{aA[aA.length]=aB[az];}}return aA;}ai={script:function(){C(ag);var aB=an(arguments),aA=ai,az;if(aw){for(az=-1;++az<aB.length;){if(P(aB[az])){aB[az]=aB[az]();}if(az===0){ab(function(){aj((typeof aB[0]==h)?{src:aB[0]}:aB[0]);});}else{aA=aA.script(aB[az]);}aA=aA.wait();}}else{for(az=-1;++az<aB.length;){if(P(aB[az])){aB[az]=aB[az]();}}ab(function(){for(az=-1;++az<aB.length;){aj((typeof aB[az]==h)?{src:aB[az]}:aB[az]);}});}ag=e(function(){ac=z;},5);return aA;},wait:function(aC){C(ag);ac=z;if(!P(aC)){aC=s;}var aD=l(ay||ao,am),az=aD.trigger,aB=function(){try{aC();}catch(aE){}az();};delete aD.trigger;var aA=function(){if(ao&&!al){aa=aB;}else{aB();}};if(ay&&!ao){au.push(aA);}else{ab(aA);}return aD;}};if(ay){ai.trigger=function(){var aA,az=-1;while(aA=au[++az]){aA();}au=[];};}else{ai.trigger=s;}return ai;}function j(Z){var V,X={},W={"UseCachePreload":"cache","UseLocalXHR":"xhr","UsePreloading":H,"AlwaysPreserveOrder":v,"AllowDuplicates":"dupe"},Y={"AppendTo":b,"BasePath":"base"};for(V in W){Y[V]=W[V];}X.order=!(!m.order);for(V in Y){if(Y[I](V)&&m[Y[V]]!=y){X[Y[V]]=(Z[V]!=y)?Z[V]:m[Y[V]];}}for(V in W){if(W[I](V)){X[W[V]]=!(!X[W[V]]);}}if(!X[H]){X.cache=X.order=X.xhr=z;}X.which=(X.which===k||X.which===t)?X.which:k;return X;}c.$LAB={setGlobalDefaults:function(V){m=j(V);},setOptions:function(V){return l(z,j(V));},script:function(){return l().script.apply(y,arguments);},wait:function(){return l().wait.apply(y,arguments);}};(function(X,V,W){if(n[O]==y&&n[X]){n[O]="loading"; 
  6: n[X](V,W=function(){n.removeEventListener(V,W,z);n[O]=u;},z);}})("addEventListener","DOMContentLoaded");})(window);if(typeof PUNBB==="undefined"||!PUNBB){var PUNBB={};}PUNBB.common=(function(){var e=document.documentElement,d=false,a=false;function b(f){return document.getElementById(f);}function c(f,h){if(f&&h){if(f.value.length===0&&h.value.length===0){return;}if(f.value===h.value){return;}var g=parseInt(h.getAttribute("maxlength"),10)||0;if(g>0){h.value=f.value.replace(/@.*/,"").replace(/\s/g,"").substr(0,g);}else{h.value=f.value.replace(/@.*/,"").replace(/\s/g,"");}}}return{on_domready_init:function(){d=true;PUNBB.common.addClass(e,"js");PUNBB.common.attachWindowOpen();PUNBB.common.autoFocus();PUNBB.common.attachCtrlEnterForm();PUNBB.common.attachUsernameFromEmail();PUNBB.common.attachEmailFieldFixer();if(!PUNBB.common.input_support_attr("required")){PUNBB.common.attachValidateForm();}var f=b("brd-messages");if(f){setTimeout(function(){f.style.visibility="hidden";},3500);}},on_load_init:function(){a=true;},addLoadEvent:function(g){if(a===true){g();}else{var f=window.onload;window.onload=(f&&typeof f==="function")?function(){f();g();}:g;}},addDOMReadyEvent:function(h){var f=false;if(d===true){h();return;}if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){h();f=true;},false);window.addEventListener("load",function(){if(!f){h();}},false);}else{if(window.attachEvent){if(window.ActiveXObject&&window===window.top){g();}else{window.attachEvent("onload",h);}}else{PUNBB.common.addLoadEvent(h);}}function g(){try{e.doScroll("left");}catch(i){setTimeout(g,0);return;}h();}},hasClass:function(g,f){return(new RegExp("\\b"+f+"\\b")).test(g.className);},addClass:function(g,f){if(PUNBB.common.hasClass(g,f)){return false;}else{g.className+=" "+f;}return true;},removeClass:function(g,f){if(!PUNBB.common.hasClass(g,f)){return false;}f=new RegExp("\\s*\\b"+f+"\\b","g");g.className=g.className.replace(f,"");return true;},blink:function(h,g){if(typeof g===undefined){g=2;}var f=h.style.visibility;if(g&&f!=="hidden"){h.style.visibility="hidden";setTimeout(function(){h.style.visibility=f;},200);setTimeout(function(){PUNBB.common.blink(h,g-1);},400);}},onScreen:function(m){function j(){var n=-1;if(window.pageYOffset){n=window.pageYOffset;}else{if(e&&e.scrollTop){n=e.scrollTop;}else{if(document.body){n=document.body.scrollTop;}}}return n;}function i(){var n=-1;if(window.innerHeight){n=window.innerHeight;}else{if(e&&e.clientHeight){n=e.clientHeight;}else{if(document.body){n=document.body.clientHeight;}}}return n;}function g(p){var o=p.offsetTop;p=p.offsetParent;return p?o+=g(p):o;}var f=j(),l=f+i(),h=g(m),k=h+m.clientHeight;return h>=f&&k<l;},map:function(j,g){var h,f;for(h=0,f=g.length;h<f;h+=1){g[h]=j(g[h]);}return g;},find:function(j,g){var h,f;for(h=0,f=g.length;h<f;h+=1){if(j(g[h])){return h;}}return -1;},arrayOfMatched:function(k,h){var j,g,f=[];for(j=0,g=h.length;j<g;j+=1){if(k(h[j])){f.push(h[j]);}}return f;},flatten:function(g){var h,f,j=[];for(h=0,f=g.length;h<f;h+=1){if(typeof g[h]==="object"&&g.length){j.concat(PUNBB.common.flatten(g[h]));}else{j.push(g[h]);}}return j;},validateForm:function(h){var g=function(m){return m.name&&m.name.indexOf("req_")===0;};var j=h.elements,f=PUNBB.common.arrayOfMatched(g,j);g=function(m){return(/^\s*$/).test(m.value);};var i=PUNBB.common.find(g,f);if(i>-1){if(PUNBB.common.find(g,f)>-1){var l=b("req-msg");PUNBB.common.removeClass(l,"req-warn");var k=PUNBB.common.addClass(l,"req-error");if(!PUNBB.common.onScreen(l)){l.scrollIntoView();setTimeout(function(){PUNBB.common.blink(l);},500);}else{if(!k){PUNBB.common.blink(l);}}if(PUNBB.common.onScreen(f[i])){f[i].focus();}return false;}}return true;},doQuickjumpRedirect:function(h,g){var f=b("qjump-select")[b("qjump-select").selectedIndex].value;h=h.replace("$1",f);h=h.replace("$2",g[f]);document.location=h;return false;},attachQuickjumpRedirect:function(f,i){var h=b("qjump-select"),g=b("qjump-submit");if(h){h.onchange=function(){return PUNBB.common.doQuickjumpRedirect(f,i);};}if(g){g.onclick=function(){return PUNBB.common.doQuickjumpRedirect(f,i);};PUNBB.common.addClass(g,"visual-hidden");}},initToggleCheckboxes:function(){var k=function(i){return function(){return PUNBB.common.toggleCheckboxes(i);};};var g,f,l=document.getElementsByTagName("span");for(g=0,f=l.length;g<f;g+=1){var h=l[g];if(PUNBB.common.hasClass(h,"select-all")&&h.getAttribute("data-check-form")){var j=b(h.getAttribute("data-check-form"));if(j){h.onclick=k(j);}}}},toggleCheckboxes:function(j){if(!j){return false;}var g,f,k=j.getElementsByTagName("input");for(g=0,f=k.length;g<f;g+=1){var h=k[g];if(h.getAttribute("data-no-select-all")){continue;}if(h.getAttribute("type")=="checkbox"&&h.disabled===false){h.checked=!h.checked;}}return false;},attachCtrlEnterForm:function(){var r=function(f){return function(j){j=j||window.event;var i=j.keyCode||j.which;if(((i==13)||(i==10))&&(j.ctrlKey===true)){return f.submit();}};};var n=function(f){return f.tagName.toUpperCase()=="TEXTAREA"; 
  7: };var m,q,h=document.forms;for(m=0,q=h.length;m<q;m+=1){var p=h[m];if(!PUNBB.common.hasClass(p,"frm-ctrl-submit")){continue;}var l,o,g=p.elements,k=PUNBB.common.arrayOfMatched(n,g);for(l=0,o=k.length;l<o;l+=1){k[l].onkeypress=r(p);}}},attachValidateForm:function(){var o=function(i){return i.name&&i.name.indexOf("req_")===0;};var l=function(i){return i.type&&(i.type=="submit"&&i.name!="cancel");};var m=function(i){return function(){return PUNBB.common.validateForm(i);};};var k,n,g=document.forms;for(k=0,n=g.length;k<n;k+=1){var f=g[k].elements;if(PUNBB.common.find(o,f)>-1){var h=PUNBB.common.arrayOfMatched(l,f),j=g[k];h=PUNBB.common.map(function(i){i.onclick=m(j);},h);}}},attachWindowOpen:function(){if(!document.getElementsByTagName){return;}var h=function(){return function(){window.open(this.href);return false;};};var g,f=document.getElementsByTagName("a");for(g=0;g<f.length;g+=1){if(PUNBB.common.hasClass(f[g],"exthelp")){f[g].onclick=h();}}},autoFocus:function(){var g=function(i){return i.offsetWidth>0&&(i.tagName.toUpperCase()=="TEXTAREA"||(i.tagName.toUpperCase()=="INPUT"&&(i.type=="text")||(i.type=="password")||(i.type=="email")||(i.type=="url")||(i.type=="number")));};var f=b("afocus");if(!f||window.location.hash.replace(/#/g,"")){return;}f=f.all||f.getElementsByTagName("*");var h=PUNBB.common.find(g,f);if(h>-1){f[h].focus();}},input_support_attr:function(f){var g=document.createElement("input");if(!f){return false;}return !!(f in g);},attachUsernameFromEmail:function(){var m=function(f){return(f.tagName.toUpperCase()=="INPUT"&&f.type=="email"&&f.getAttribute("data-suggest-role")==="email");};var p=function(f){return(f.tagName.toUpperCase()=="INPUT"&&f.type=="text"&&f.getAttribute("data-suggest-role")==="username");};var j,n,g=document.forms;for(j=0,n=g.length;j<n;j+=1){var l=g[j],k=-1,h=-1;if(!PUNBB.common.hasClass(l,"frm-suggest-username")){continue;}k=PUNBB.common.find(m,l.elements);h=PUNBB.common.find(p,l.elements);if(k>0&&h>0){var o=function(f){return function(i){c(this,f);};};l.elements[k].onkeyup=o(l.elements[h]);}}},attachEmailFieldFixer:function(){var n=function(i){return(i.tagName.toUpperCase()=="INPUT"&&i.type=="email");};var p=function(){var i=this;if(i&&i.value.length>0){i.value=i.value.replace(/\s/g,"");}};var l,o,g=document.forms;for(l=0,o=g.length;l<o;l+=1){var k,m,f=g[l].elements,h=PUNBB.common.arrayOfMatched(n,f);for(k=0,m=h.length;k<m;k+=1){h[k].onblur=p;}}}};}());PUNBB.common.addDOMReadyEvent(PUNBB.common.on_domready_init);PUNBB.common.addLoadEvent(PUNBB.common.on_load_init); 
  8:   5: 
   6: (function(n){var q=n.$LAB,i="UseLocalXHR",m="AlwaysPreserveOrder",k="AllowDuplicates",j="CacheBust",d="BasePath",o=/^[^?#]*\//.exec(location.href)[0],y=/^\w+\:\/\/\/?[^\/]+/.exec(o)[0],e=document.head||document.getElementsByTagName("head"),g=(n.opera&&Object.prototype.toString.call(n.opera)=="[object Opera]")||("MozAppearance" in document.documentElement.style),w=document.createElement("script"),a=typeof w.preload=="boolean",t=a||(w.readyState&&w.readyState=="uninitialized"),u=!t&&w.async===true,v=!t&&!u&&!g;function r(z){return Object.prototype.toString.call(z)=="[object Function]";}function x(z){return Object.prototype.toString.call(z)=="[object Array]";}function f(B,A){var z=/^\w+\:\/\//;if(/^\/\/\/?/.test(B)){B=location.protocol+B;}else{if(!z.test(B)&&B.charAt(0)!="/"){B=(A||"")+B;}}return z.test(B)?B:((B.charAt(0)=="/"?y:o)+B);}function h(A,B){for(var z in A){if(A.hasOwnProperty(z)){B[z]=A[z];}}return B;}function b(A){var B=false;for(var z=0;z<A.scripts.length;z++){if(A.scripts[z].ready&&A.scripts[z].exec_trigger){B=true;A.scripts[z].exec_trigger();A.scripts[z].exec_trigger=null;}}return B;}function c(B,A,z,C){B.onload=B.onreadystatechange=function(){if((B.readyState&&B.readyState!="complete"&&B.readyState!="loaded")||A[z]){return;}B.onload=B.onreadystatechange=null;C();};}function s(z){z.ready=z.finished=true;for(var A=0;A<z.finished_listeners.length;A++){z.finished_listeners[A]();}z.ready_listeners=[];z.finished_listeners=[];}function p(B,C,A,D,z){setTimeout(function(){var E,G=C.real_src,F;if("item" in e){if(!e[0]){setTimeout(arguments.callee,25);return;}e=e[0];}E=document.createElement("script");if(C.type){E.type=C.type;}if(C.charset){E.charset=C.charset;}if(z){if(t){A.elem=E;if(a){E.preload=true;E.onpreload=D;}else{E.onreadystatechange=function(){if(E.readyState=="loaded"){D();}};}E.src=G;}else{if(z&&G.indexOf(y)==0&&B[i]){F=new XMLHttpRequest();F.onreadystatechange=function(){if(F.readyState==4){F.onreadystatechange=function(){};A.text=F.responseText+"\n//@ sourceURL="+G;D();}};F.open("GET",G);F.send();}else{E.type="text/cache-script";c(E,A,"ready",function(){e.removeChild(E);D();});E.src=G;e.insertBefore(E,e.firstChild);}}}else{if(u){E.async=false;c(E,A,"finished",D);E.src=G;e.insertBefore(E,e.firstChild);}else{c(E,A,"finished",D);E.src=G;e.insertBefore(E,e.firstChild);}}},0);}function l(){var B={},G=t||v,z=[],A={},D;B[i]=true;B[m]=false;B[k]=false;B[j]=false;B[d]="";function F(J,L,I){var H;function K(){if(H!=null){H=null;s(I);}}if(A[L.src].finished){return;}if(!J[k]){A[L.src].finished=true;}H=I.elem||document.createElement("script");if(L.type){H.type=L.type;}if(L.charset){H.charset=L.charset;}c(H,I,"finished",K);if(I.elem){I.elem=null;}else{if(I.text){H.onload=H.onreadystatechange=null;H.text=I.text;}else{H.src=L.real_src;}}e.insertBefore(H,e.firstChild);if(I.text){K();}}function C(J,N,M,H){var I,L,K=function(){N.ready_cb(N,function(){F(J,N,I);});},O=function(){N.finished_cb(N,M);};N.src=f(N.src,J[d]);N.real_src=N.src+(J[j]?((/\?.*$/.test(N.src)?"&_":"?_")+~~(Math.random()*1000000000)+"="):"");if(!A[N.src]){A[N.src]={items:[],finished:false};}L=A[N.src].items;if(J[k]||L.length==0){I=L[L.length]={ready:false,finished:false,ready_listeners:[K],finished_listeners:[O]};p(J,N,I,((H)?function(){I.ready=true;for(var P=0;P<I.ready_listeners.length;P++){I.ready_listeners[P]();}I.ready_listeners=[];}:function(){s(I);}),H);}else{I=L[0];if(I.finished){O();}else{I.finished_listeners.push(O);}}}function E(){var K,O=h(B,{}),H=[],J=0,L=false,N;function Q(S,R){S.ready=true;S.exec_trigger=R;I();}function P(T,S){T.ready=T.finished=true;T.exec_trigger=null;for(var R=0;R<S.scripts.length;R++){if(!S.scripts[R].finished){return;}}S.finished=true;I();}function I(){while(J<H.length){if(r(H[J])){try{H[J++]();}catch(R){}continue;}else{if(!H[J].finished){if(b(H[J])){continue;}break;}}J++;}if(J==H.length){L=false;N=false;}}function M(){if(!N||!N.scripts){H.push(N={scripts:[],finished:true});}}K={script:function(){for(var R=0;R<arguments.length;R++){(function(V,T){var U;if(!x(V)){T=[V];}for(var S=0;S<T.length;S++){M();V=T[S];if(r(V)){V=V();}if(!V){continue;}if(x(V)){U=[].slice.call(V);U.unshift(S,1);[].splice.apply(T,U);S--;continue;}if(typeof V=="string"){V={src:V};}V=h(V,{ready:false,ready_cb:Q,finished:false,finished_cb:P});N.finished=false;N.scripts.push(V);C(O,V,N,(G&&L));L=true;if(O[m]){K.wait();}}})(arguments[R],arguments[R]);}return K;},wait:function(){if(arguments.length>0){for(var R=0;R<arguments.length;R++){H.push(arguments[R]);}N=H[H.length-1];}else{N=false;}I();return K;}};return{script:K.script,wait:K.wait,setOptions:function(R){h(R,O);return K;}};}D={setGlobalDefaults:function(H){h(H,B);return D;},setOptions:function(){return E().setOptions.apply(null,arguments);},script:function(){return E().script.apply(null,arguments);},wait:function(){return E().wait.apply(null,arguments);},queueScript:function(){z[z.length]={type:"script",args:[].slice.call(arguments)};
   7: return D;},queueWait:function(){z[z.length]={type:"wait",args:[].slice.call(arguments)};return D;},runQueue:function(){var J=D,H=z.length,I=H,K;for(;--I>=0;){K=z.shift();J=J[K.type].apply(null,K.args);}return J;},noConflict:function(){n.$LAB=q;return D;},sandbox:function(){return l();}};return D;}n.$LAB=l();(function(B,z,A){if(document.readyState==null&&document[B]){document.readyState="loading";document[B](z,A=function(){document.removeEventListener(z,A,false);document.readyState="complete";},false);}})("addEventListener","DOMContentLoaded");})(this);if(typeof PUNBB==="undefined"||!PUNBB){var PUNBB={};}PUNBB.common=(function(){var e=document.documentElement,d=false,a=false;function b(f){return document.getElementById(f);}function c(f,h){if(f&&h){if(f.value.length===0&&h.value.length===0){return;}if(f.value===h.value){return;}var g=parseInt(h.getAttribute("maxlength"),10)||0;if(g>0){h.value=f.value.replace(/@.*/,"").replace(/\s/g,"").substr(0,g);}else{h.value=f.value.replace(/@.*/,"").replace(/\s/g,"");}}}return{on_domready_init:function(){d=true;PUNBB.common.addClass(e,"js");PUNBB.common.attachWindowOpen();PUNBB.common.autoFocus();PUNBB.common.attachCtrlEnterForm();PUNBB.common.attachUsernameFromEmail();PUNBB.common.attachEmailFieldFixer();if(!PUNBB.common.input_support_attr("required")){PUNBB.common.attachValidateForm();}var f=b("brd-messages");if(f){setTimeout(function(){f.style.visibility="hidden";},3500);}},on_load_init:function(){a=true;},addLoadEvent:function(g){if(a===true){g();}else{var f=window.onload;window.onload=(f&&typeof f==="function")?function(){f();g();}:g;}},addDOMReadyEvent:function(h){var f=false;if(d===true){h();return;}if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){h();f=true;},false);window.addEventListener("load",function(){if(!f){h();}},false);}else{if(window.attachEvent){if(window.ActiveXObject&&window===window.top){g();}else{window.attachEvent("onload",h);}}else{PUNBB.common.addLoadEvent(h);}}function g(){try{e.doScroll("left");}catch(i){setTimeout(g,0);return;}h();}},hasClass:function(g,f){return(new RegExp("\\b"+f+"\\b")).test(g.className);},addClass:function(g,f){if(PUNBB.common.hasClass(g,f)){return false;}else{g.className+=" "+f;}return true;},removeClass:function(g,f){if(!PUNBB.common.hasClass(g,f)){return false;}f=new RegExp("\\s*\\b"+f+"\\b","g");g.className=g.className.replace(f,"");return true;},blink:function(h,g){if(typeof g===undefined){g=2;}var f=h.style.visibility;if(g&&f!=="hidden"){h.style.visibility="hidden";setTimeout(function(){h.style.visibility=f;},200);setTimeout(function(){PUNBB.common.blink(h,g-1);},400);}},onScreen:function(m){function j(){var n=-1;if(window.pageYOffset){n=window.pageYOffset;}else{if(e&&e.scrollTop){n=e.scrollTop;}else{if(document.body){n=document.body.scrollTop;}}}return n;}function i(){var n=-1;if(window.innerHeight){n=window.innerHeight;}else{if(e&&e.clientHeight){n=e.clientHeight;}else{if(document.body){n=document.body.clientHeight;}}}return n;}function g(p){var o=p.offsetTop;p=p.offsetParent;return p?o+=g(p):o;}var f=j(),l=f+i(),h=g(m),k=h+m.clientHeight;return h>=f&&k<l;},map:function(j,g){var h,f;for(h=0,f=g.length;h<f;h+=1){g[h]=j(g[h]);}return g;},find:function(j,g){var h,f;for(h=0,f=g.length;h<f;h+=1){if(j(g[h])){return h;}}return -1;},arrayOfMatched:function(k,h){var j,g,f=[];for(j=0,g=h.length;j<g;j+=1){if(k(h[j])){f.push(h[j]);}}return f;},flatten:function(g){var h,f,j=[];for(h=0,f=g.length;h<f;h+=1){if(typeof g[h]==="object"&&g.length){j.concat(PUNBB.common.flatten(g[h]));}else{j.push(g[h]);}}return j;},validateForm:function(h){var g=function(m){return m.name&&m.name.indexOf("req_")===0;};var j=h.elements,f=PUNBB.common.arrayOfMatched(g,j);g=function(m){return(/^\s*$/).test(m.value);};var i=PUNBB.common.find(g,f);if(i>-1){if(PUNBB.common.find(g,f)>-1){var l=b("req-msg");PUNBB.common.removeClass(l,"req-warn");var k=PUNBB.common.addClass(l,"req-error");if(!PUNBB.common.onScreen(l)){l.scrollIntoView();setTimeout(function(){PUNBB.common.blink(l);},500);}else{if(!k){PUNBB.common.blink(l);}}if(PUNBB.common.onScreen(f[i])){f[i].focus();}return false;}}return true;},doQuickjumpRedirect:function(h,g){var f=b("qjump-select")[b("qjump-select").selectedIndex].value;h=h.replace("$1",f);h=h.replace("$2",g[f]);document.location=h;return false;},attachQuickjumpRedirect:function(f,i){var h=b("qjump-select"),g=b("qjump-submit");if(h){h.onchange=function(){return PUNBB.common.doQuickjumpRedirect(f,i);};}if(g){g.onclick=function(){return PUNBB.common.doQuickjumpRedirect(f,i);};PUNBB.common.addClass(g,"visual-hidden");}},initToggleCheckboxes:function(){var k=function(i){return function(){return PUNBB.common.toggleCheckboxes(i);};};var g,f,l=document.getElementsByTagName("span");for(g=0,f=l.length;g<f;g+=1){var h=l[g];if(PUNBB.common.hasClass(h,"select-all")&&h.getAttribute("data-check-form")){var j=b(h.getAttribute("data-check-form"));if(j){h.onclick=k(j);}}}},toggleCheckboxes:function(j){if(!j){return false;
   8: }var g,f,k=j.getElementsByTagName("input");for(g=0,f=k.length;g<f;g+=1){var h=k[g];if(h.getAttribute("data-no-select-all")){continue;}if(h.getAttribute("type")=="checkbox"&&h.disabled===false){h.checked=!h.checked;}}return false;},attachCtrlEnterForm:function(){var r=function(f){return function(j){j=j||window.event;var i=j.keyCode||j.which;if(((i==13)||(i==10))&&(j.ctrlKey===true)){return f.submit();}};};var n=function(f){return f.tagName.toUpperCase()=="TEXTAREA";};var m,q,h=document.forms;for(m=0,q=h.length;m<q;m+=1){var p=h[m];if(!PUNBB.common.hasClass(p,"frm-ctrl-submit")){continue;}var l,o,g=p.elements,k=PUNBB.common.arrayOfMatched(n,g);for(l=0,o=k.length;l<o;l+=1){k[l].onkeypress=r(p);}}},attachValidateForm:function(){var o=function(i){return i.name&&i.name.indexOf("req_")===0;};var l=function(i){return i.type&&(i.type=="submit"&&i.name!="cancel");};var m=function(i){return function(){return PUNBB.common.validateForm(i);};};var k,n,g=document.forms;for(k=0,n=g.length;k<n;k+=1){var f=g[k].elements;if(PUNBB.common.find(o,f)>-1){var h=PUNBB.common.arrayOfMatched(l,f),j=g[k];h=PUNBB.common.map(function(i){i.onclick=m(j);},h);}}},attachWindowOpen:function(){if(!document.getElementsByTagName){return;}var h=function(){return function(){window.open(this.href);return false;};};var g,f=document.getElementsByTagName("a");for(g=0;g<f.length;g+=1){if(PUNBB.common.hasClass(f[g],"exthelp")){f[g].onclick=h();}}},autoFocus:function(){var g=function(i){return i.offsetWidth>0&&(i.tagName.toUpperCase()=="TEXTAREA"||(i.tagName.toUpperCase()=="INPUT"&&(i.type=="text")||(i.type=="password")||(i.type=="email")||(i.type=="url")||(i.type=="number")));};var f=b("afocus");if(!f||window.location.hash.replace(/#/g,"")){return;}f=f.all||f.getElementsByTagName("*");var h=PUNBB.common.find(g,f);if(h>-1){f[h].focus();}},input_support_attr:function(f){var g=document.createElement("input");if(!f){return false;}return !!(f in g);},attachUsernameFromEmail:function(){var m=function(f){return(f.tagName.toUpperCase()=="INPUT"&&f.type=="email"&&f.getAttribute("data-suggest-role")==="email");};var p=function(f){return(f.tagName.toUpperCase()=="INPUT"&&f.type=="text"&&f.getAttribute("data-suggest-role")==="username");};var j,n,g=document.forms;for(j=0,n=g.length;j<n;j+=1){var l=g[j],k=-1,h=-1;if(!PUNBB.common.hasClass(l,"frm-suggest-username")){continue;}k=PUNBB.common.find(m,l.elements);h=PUNBB.common.find(p,l.elements);if(k>0&&h>0){var o=function(f){return function(i){c(this,f);};};l.elements[k].onkeyup=o(l.elements[h]);}}},attachEmailFieldFixer:function(){var n=function(i){return(i.tagName.toUpperCase()=="INPUT"&&i.type=="email");};var p=function(){var i=this;if(i&&i.value.length>0){i.value=i.value.replace(/\s/g,"");}};var l,o,g=document.forms;for(l=0,o=g.length;l<o;l+=1){var k,m,f=g[l].elements,h=PUNBB.common.arrayOfMatched(n,f);for(k=0,m=h.length;k<m;k+=1){h[k].onblur=p;}}}};}());PUNBB.common.addDOMReadyEvent(PUNBB.common.on_domready_init);PUNBB.common.addLoadEvent(PUNBB.common.on_load_init);
  9:   9: 


punbb-1.4.2/include/parser.php punbb-1.4.3/include/parser.php
664: 664: 
665: 665: 
666: //666: //
 667: // Callback for handle_url_tag
 668: //
 669: function callback_handle_url_nobb($reg)
 670: {
 671:     return handle_url_tag($reg[1], (isset($reg[2]) ? $reg[2] : ''), false);
 672: }
 673: 
 674: //
 675: // Callback for handle_url_tag
 676: //
 677: function callback_handle_url_bb($reg)
 678: {
 679:     return handle_url_tag($reg[1], (isset($reg[2]) ? $reg[2] : ''), true);
 680: }
 681: 
 682: 
 683: //
667: // Turns an URL from the [img] tag into an <img> tag or a <a href...> tag684: // Turns an URL from the [img] tag into an <img> tag or a <a href...> tag
668: //685: //
669: function handle_img_tag($url, $is_signature = false, $alt = null)686: function handle_img_tag($url, $is_signature = false, $alt = null)
773:         }790:         }
774:     }791:     }
775: 792: 
776:     $pattern[] = '#\[url\]([^\[]*?)\[/url\]#e';793:     $text = preg_replace_callback('#\[url\]([^\[]*?)\[/url\]#', 'callback_handle_url_nobb', $text);
777:     $pattern[] = '#\[url=([^\[]+?)\](.*?)\[/url\]#e';794:     $text = preg_replace_callback('#\[url=([^\[]+?)\](.*?)\[/url\]#', 'callback_handle_url_nobb', $text);
 795: 
778:     $pattern[] = '#\[email\]([^\[]*?)\[/email\]#';796:     $pattern[] = '#\[email\]([^\[]*?)\[/email\]#';
779:     $pattern[] = '#\[email=([^\[]+?)\](.*?)\[/email\]#';797:     $pattern[] = '#\[email=([^\[]+?)\](.*?)\[/email\]#';
780: 798: 
781:     $replace[] = 'handle_url_tag(\'$1\')'; 
782:     $replace[] = 'handle_url_tag(\'$1\', \'$2\')'; 
783:     $replace[] = '<a href="mailto:$1">$1</a>';799:     $replace[] = '<a href="mailto:$1">$1</a>';
784:     $replace[] = '<a href="mailto:$1">$2</a>';800:     $replace[] = '<a href="mailto:$1">$2</a>';
785: 801: 


punbb-1.4.2/include/search_functions.php punbb-1.4.3/include/search_functions.php
  7:  * @package PunBB  7:  * @package PunBB
  8:  */  8:  */
  9:   9: 
 10: if (!defined('FORUM_SEARCH_MIN_WORD')) 
 11:     define('FORUM_SEARCH_MIN_WORD', 3); 
 12: if (!defined('FORUM_SEARCH_MAX_WORD')) 
 13:     define('FORUM_SEARCH_MAX_WORD', 20); 
 14:  10: 
 15: // 11: //
 16: // Cache the results of a search and redirect the user to the results page 12: // Cache the results of a search and redirect the user to the results page


punbb-1.4.2/include/template/admin.tpl punbb-1.4.3/include/template/admin.tpl
  5: <!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->  5: <!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
  6: <head>  6: <head>
  7: <meta charset="utf-8" />  7: <meta charset="utf-8" />
   8: <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8: <!-- forum_head -->  9: <!-- forum_head -->
  9: </head> 10: </head>
 10: <body> 11: <body>
 50: </div> 51: </div>
 51: </div> 52: </div>
 52: <!-- forum_javascript --> 53: <!-- forum_javascript -->
  54: <script>
  55:     var main_menu = responsiveNav("#brd-navlinks", {
  56:         label: "<!-- forum_board_title -->"
  57:     });
  58:     if(document.getElementsByClassName('admin-menu').length){
  59:         var admin_menu = responsiveNav(".admin-menu", {
  60:             label: "<!-- forum_lang_menu_admin -->"
  61:         });
  62:     }
  63:     if(document.getElementsByClassName('main-menu').length){
  64:         var profile_menu = responsiveNav(".main-menu", {
  65:             label: "<!-- forum_lang_menu_profile -->"
  66:         });
  67:     }
  68: </script>
 53: </body> 69: </body>
 54: </html> 70: </html>


punbb-1.4.2/include/template/help.tpl punbb-1.4.3/include/template/help.tpl
  6: <head>  6: <head>
  7: <head>  7: <head>
  8: <meta charset="utf-8" />  8: <meta charset="utf-8" />
   9: <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9: <!-- forum_head --> 10: <!-- forum_head -->
 10: </head> 11: </head>
 11: <body> 12: <body>


punbb-1.4.2/include/template/maintenance.tpl punbb-1.4.3/include/template/maintenance.tpl
  5: <!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->  5: <!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
  6: <head>  6: <head>
  7: <meta charset="utf-8" />  7: <meta charset="utf-8" />
   8: <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8: <!-- forum_head -->  9: <!-- forum_head -->
  9: </head> 10: </head>
 10: <body> 11: <body>


punbb-1.4.2/include/template/main.tpl punbb-1.4.3/include/template/main.tpl
  5: <!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->  5: <!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
  6: <head>  6: <head>
  7: <meta charset="utf-8" />  7: <meta charset="utf-8" />
   8: <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8: <!-- forum_head -->  9: <!-- forum_head -->
  9: </head> 10: </head>
 10: <body> 11: <body>
 45:     </div> 46:     </div>
 46:     </div> 47:     </div>
 47:     <!-- forum_javascript --> 48:     <!-- forum_javascript -->
  49:     <script>
  50:         var main_menu = responsiveNav("#brd-navlinks", {
  51:         label: "<!-- forum_board_title -->"
  52:         });
  53:         if(document.getElementsByClassName('admin-menu').length){
  54:         var admin_menu = responsiveNav(".admin-menu", {
  55:             label: "<!-- forum_lang_menu_admin -->"
  56:         });
  57:         }
  58:         if(document.getElementsByClassName('main-menu').length){
  59:         var profile_menu = responsiveNav(".main-menu", {
  60:             label: "<!-- forum_lang_menu_profile -->"
  61:         });
  62:         }
  63:     </script>
 48: </body> 64: </body>
 49: </html> 65: </html>


punbb-1.4.2/include/template/redirect.tpl punbb-1.4.3/include/template/redirect.tpl
  5: <!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->  5: <!--[if gt IE 8]><!--> <html <!-- forum_local -->> <!--<![endif]-->
  6: <head>  6: <head>
  7: <meta charset="utf-8" />  7: <meta charset="utf-8" />
   8: <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8: <!-- forum_head -->  9: <!-- forum_head -->
  9: </head> 10: </head>
 10: <body> 11: <body>


punbb-1.4.2/include/url/Default/forum_urls.php punbb-1.4.3/include/url/Default/forum_urls.php
 38:     'mark_forum_read'                =>    'misc.php?action=markforumread&amp;fid=$1&amp;csrf_token=$2', 38:     'mark_forum_read'                =>    'misc.php?action=markforumread&amp;fid=$1&amp;csrf_token=$2',
 39:     'new_topic'                        =>    'post.php?fid=$1', 39:     'new_topic'                        =>    'post.php?fid=$1',
 40:     'new_reply'                        =>    'post.php?tid=$1', 40:     'new_reply'                        =>    'post.php?tid=$1',
  41:     'opensearch'                    =>    'misc.php?action=opensearch',
 41:     'post'                            =>    'viewtopic.php?pid=$1#p$1', 42:     'post'                            =>    'viewtopic.php?pid=$1#p$1',
 42:     'profile_about'                    =>    'profile.php?section=about&amp;id=$1', 43:     'profile_about'                    =>    'profile.php?section=about&amp;id=$1',
 43:     'profile_identity'                =>    'profile.php?section=identity&amp;id=$1', 44:     'profile_identity'                =>    'profile.php?section=identity&amp;id=$1',


punbb-1.4.2/include/url/File_based/forum_urls.php punbb-1.4.3/include/url/File_based/forum_urls.php
 40:     'mark_forum_read'                =>    'mark-forum$1-read-$2.html', 40:     'mark_forum_read'                =>    'mark-forum$1-read-$2.html',
 41:     'new_topic'                        =>    'new-topic$1.html', 41:     'new_topic'                        =>    'new-topic$1.html',
 42:     'new_reply'                        =>    'new-reply$1.html', 42:     'new_reply'                        =>    'new-reply$1.html',
  43:     'opensearch'                    =>    'misc.php?action=opensearch',
 43:     'post'                            =>    'post$1.html#p$1', 44:     'post'                            =>    'post$1.html#p$1',
 44:     'profile_about'                    =>    'user$1-about.html', 45:     'profile_about'                    =>    'user$1-about.html',
 45:     'profile_identity'                =>    'user$1-identity.html', 46:     'profile_identity'                =>    'user$1-identity.html',


punbb-1.4.2/include/url/File_based_(fancy)/forum_urls.php punbb-1.4.3/include/url/File_based_(fancy)/forum_urls.php
 41:     'mark_forum_read'                =>    'mark-forum$1-read-$2.html', 41:     'mark_forum_read'                =>    'mark-forum$1-read-$2.html',
 42:     'new_topic'                        =>    'new-topic$1.html', 42:     'new_topic'                        =>    'new-topic$1.html',
 43:     'new_reply'                        =>    'new-reply$1.html', 43:     'new_reply'                        =>    'new-reply$1.html',
  44:     'opensearch'                    =>    'misc.php?action=opensearch',
 44:     'post'                            =>    'post$1.html#p$1', 45:     'post'                            =>    'post$1.html#p$1',
 45:     'profile_about'                    =>    'user$1-about.html', 46:     'profile_about'                    =>    'user$1-about.html',
 46:     'profile_identity'                =>    'user$1-identity.html', 47:     'profile_identity'                =>    'user$1-identity.html',


punbb-1.4.2/include/url/Folder_based/forum_urls.php punbb-1.4.3/include/url/Folder_based/forum_urls.php
 38:     'mark_forum_read'                =>    'mark/forum/$1/read/$2/', 38:     'mark_forum_read'                =>    'mark/forum/$1/read/$2/',
 39:     'new_topic'                        =>    'new/topic/$1/', 39:     'new_topic'                        =>    'new/topic/$1/',
 40:     'new_reply'                        =>    'new/reply/$1/', 40:     'new_reply'                        =>    'new/reply/$1/',
  41:     'opensearch'                    =>    'misc.php?action=opensearch',
 41:     'post'                            =>    'post/$1/#p$1', 42:     'post'                            =>    'post/$1/#p$1',
 42:     'profile_about'                    =>    'user/$1/about/', 43:     'profile_about'                    =>    'user/$1/about/',
 43:     'profile_identity'                =>    'user/$1/identity/', 44:     'profile_identity'                =>    'user/$1/identity/',


punbb-1.4.2/include/url/Folder_based_(fancy)/forum_urls.php punbb-1.4.3/include/url/Folder_based_(fancy)/forum_urls.php
 39:     'mark_forum_read'                =>    'mark/forum/$1/read/$2/', 39:     'mark_forum_read'                =>    'mark/forum/$1/read/$2/',
 40:     'new_topic'                        =>    'new/topic/$1/', 40:     'new_topic'                        =>    'new/topic/$1/',
 41:     'new_reply'                        =>    'new/reply/$1/', 41:     'new_reply'                        =>    'new/reply/$1/',
  42:     'opensearch'                    =>    'misc.php?action=opensearch',
 42:     'post'                            =>    'post/$1/#p$1', 43:     'post'                            =>    'post/$1/#p$1',
 43:     'profile_about'                    =>    'user/$1/about/', 44:     'profile_about'                    =>    'user/$1/about/',
 44:     'profile_identity'                =>    'user/$1/identity/', 45:     'profile_identity'                =>    'user/$1/identity/',


punbb-1.4.2/lang/English/admin_ext.php punbb-1.4.3/lang/English/admin_ext.php
 70: 'Disable dependency'            =>    'This extension cannot be disabled while "%s" is enabled.', 70: 'Disable dependency'            =>    'This extension cannot be disabled while "%s" is enabled.',
 71: 'Disabled dependency'            =>    'This extension cannot be enabled while "%s" is disabled.', 71: 'Disabled dependency'            =>    'This extension cannot be enabled while "%s" is disabled.',
 72: 'Download latest version'        =>    'Download latest version', 72: 'Download latest version'        =>    'Download latest version',
  73: 'Version dependency error'    =>  'Extension "%s" must be version %s or higher',
  74: 'Install ext errors'            =>  '<strong>Warning!</strong> The following errors must be corrected before extension can be installed:',
 73:  75: 
 74: ); 76: );


punbb-1.4.2/lang/English/common.php punbb-1.4.3/lang/English/common.php
169: 'Forum error db reported'    => 'Database reported:',169: 'Forum error db reported'    => 'Database reported:',
170: 'Forum error db query'        => 'Failed query:',170: 'Forum error db query'        => 'Failed query:',
171: 171: 
 172: // Menu
 173: 'Menu admin'        => 'Admin Menu',
 174: 'Menu profile'        => 'Profile Menu',
 175: 
172: );176: );


punbb-1.4.2/lang/English/login.php punbb-1.4.3/lang/English/login.php
 21: 'Obtain pass'                        =>    'new password', 21: 'Obtain pass'                        =>    'new password',
 22: 'register'                            =>    'register', 22: 'register'                            =>    'register',
 23: 'Submit password request'            =>    'Submit request', 23: 'Submit password request'            =>    'Submit request',
  24: 'Email important'                    =>    'Contact the forum administrator at %s to change password on specified email address.',
 24: 'Email flood'                        =>    'This account has already requested a new password in the past %s seconds. Please wait a while before requesting a new password again.', 25: 'Email flood'                        =>    'This account has already requested a new password in the past %s seconds. Please wait a while before requesting a new password again.',
 25: 'New password request'                =>    'New password request', 26: 'New password request'                =>    'New password request',
 26: 'New password errors'                =>    '<strong>Warning!</strong> The following errors must be corrected before a new password can be sent:', 27: 'New password errors'                =>    '<strong>Warning!</strong> The following errors must be corrected before a new password can be sent:',


punbb-1.4.2/lang/English/misc.php punbb-1.4.3/lang/English/misc.php
 11: 'Form e-mail errors'        =>    '<strong>Warning!</strong> The following errors must be corrected before your message can be sent:', 11: 'Form e-mail errors'        =>    '<strong>Warning!</strong> The following errors must be corrected before your message can be sent:',
 12: 'No e-mail subject'            =>    'You must enter a subject.', 12: 'No e-mail subject'            =>    'You must enter a subject.',
 13: 'No e-mail message'            =>    'You must enter a message.', 13: 'No e-mail message'            =>    'You must enter a message.',
  14: 'Too long e-mail subject'   =>  'Subjects cannot be longer than %s characters.',
 14: 'Too long e-mail message'    =>    'Your message length is %s bytes. This exceeds the %s bytes limit.', 15: 'Too long e-mail message'    =>    'Your message length is %s bytes. This exceeds the %s bytes limit.',
 15: 'Email flood'                =>    'At least %s seconds have to pass between sent emails. Please wait a while and try sending again.', 16: 'Email flood'                =>    'At least %s seconds have to pass between sent emails. Please wait a while and try sending again.',
 16: 'E-mail sent redirect'        =>    'Email sent.', 17: 'E-mail sent redirect'        =>    'Email sent.',


punbb-1.4.2/lang/English/post.php punbb-1.4.3/lang/English/post.php
  5:   5: 
  6: // Post validation stuff (many are similar to those in edit.php)  6: // Post validation stuff (many are similar to those in edit.php)
  7: 'No subject'            =>    'Topics must contain a subject.',  7: 'No subject'            =>    'Topics must contain a subject.',
  8: 'Too long subject'        =>    'Subjects cannot be longer than 70 characters.',  8: 'Too long subject'        =>    'Subjects cannot be longer than %s characters.',
  9: 'All caps subject'        =>    'Subjects cannot contain only capital letters.',  9: 'All caps subject'        =>    'Subjects cannot contain only capital letters.',
 10: 'No message'            =>    'You must enter a message.', 10: 'No message'            =>    'You must enter a message.',
 11: 'Too long message'        =>    'Your post length is %s bytes. This exceeds the %s bytes limit.', 11: 'Too long message'        =>    'Your post length is %s bytes. This exceeds the %s bytes limit.',


punbb-1.4.2/lang/English/profile.php punbb-1.4.3/lang/English/profile.php
 92: 'AOL IM'                    =>    'AOL IM', 92: 'AOL IM'                    =>    'AOL IM',
 93: 'Forbidden title'            =>    'The title you entered contains a forbidden word. You must choose a different title.', 93: 'Forbidden title'            =>    'The title you entered contains a forbidden word. You must choose a different title.',
 94: 'Bad ICQ'                    =>    'You entered an invalid ICQ UIN.', 94: 'Bad ICQ'                    =>    'You entered an invalid ICQ UIN.',
  95: 'Bad Twitter'                =>    'You entered an invalid Twitter account.',
  96: 'Bad Facebook'                =>    'You entered an invalid Facebook account.',
  97: 'Bad LinkedIn'                =>    'You entered an invalid LinkedIn account.',
 95: 'Yahoo'                        =>    'Yahoo! Messenger', 98: 'Yahoo'                        =>    'Yahoo! Messenger',
 96: 'Posts and topics'            =>    'Posts and topics', 99: 'Posts and topics'            =>    'Posts and topics',
 97: 'Private info'                =>    'Private information',100: 'Private info'                =>    'Private information',


punbb-1.4.2/login.php punbb-1.4.3/login.php
205: 205: 
206:             // Fetch user matching $email206:             // Fetch user matching $email
207:             $query = array(207:             $query = array(
208:                 'SELECT'    => 'u.id, u.username, u.salt, u.last_email_sent',208:                 'SELECT'    => 'u.id, u.group_id, u.username, u.salt, u.last_email_sent',
209:                 'FROM'        => 'users AS u',209:                 'FROM'        => 'users AS u',
210:                 'WHERE'        => 'u.email=\''.$forum_db->escape($email).'\''210:                 'WHERE'        => 'u.email=\''.$forum_db->escape($email).'\''
211:             );211:             );
243: 243: 
244:                     ($hook = get_hook('li_forgot_pass_pre_flood_check')) ? eval($hook) : null;244:                     ($hook = get_hook('li_forgot_pass_pre_flood_check')) ? eval($hook) : null;
245: 245: 
 246:                     if ($cur_hit['group_id'] == FORUM_ADMIN)
 247:                         message(sprintf($lang_login['Email important'], '<a href="mailto:'.forum_htmlencode($forum_config['o_admin_email']).'">'.forum_htmlencode($forum_config['o_admin_email']).'</a>'));
 248: 
246:                     if ($cur_hit['last_email_sent'] != '' && (time() - $cur_hit['last_email_sent']) < $forgot_pass_timeout && (time() - $cur_hit['last_email_sent']) >= 0)249:                     if ($cur_hit['last_email_sent'] != '' && (time() - $cur_hit['last_email_sent']) < $forgot_pass_timeout && (time() - $cur_hit['last_email_sent']) >= 0)
247:                         message(sprintf($lang_login['Email flood'], $forgot_pass_timeout));250:                         message(sprintf($lang_login['Email flood'], $forgot_pass_timeout));
248: 251: 


punbb-1.4.2/misc.php punbb-1.4.3/misc.php
152:     redirect(forum_link($forum_url['forum'], array($fid, sef_friendly($forum_name))), $lang_misc['Mark forum read redirect']);152:     redirect(forum_link($forum_url['forum'], array($fid, sef_friendly($forum_name))), $lang_misc['Mark forum read redirect']);
153: }153: }
154: 154: 
 155: // OpenSearch plugin?
 156: else if ($action == 'opensearch')
 157: {
 158:     // Send XML/no cache headers
 159:     header('Content-Type: text/xml; charset=utf-8');
 160:     header('Expires: '.gmdate('D, d M Y H:i:s').' GMT');
 161:     header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
 162:     header('Pragma: public');
 163: 
 164:     echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
 165:     echo '<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">'."\n";
 166:     echo "\t".'<ShortName>'.forum_htmlencode($forum_config['o_board_title']).'</ShortName>'."\n";
 167:     echo "\t".'<Description>'.forum_htmlencode($forum_config['o_board_desc']).'</Description>'."\n";
 168:     echo "\t".'<InputEncoding>utf-8</InputEncoding>'."\n";
 169:     echo "\t".'<OutputEncoding>utf-8</OutputEncoding>'."\n";
 170:     echo "\t".'<Image width="16" height="16" type="image/x-icon">'.$base_url.'/favicon.ico</Image>'."\n";
 171:     echo "\t".'<Url type="text/html" method="get" template="'.$base_url.'/search.php?action=search&amp;source=opensearch&amp;keywords={searchTerms}"/>'."\n";
 172:     echo "\t".'<Url type="application/opensearchdescription+xml" rel="self" template="'.forum_link($forum_url['opensearch']).'"/>'."\n";
 173:     echo "\t".'<Contact>'.forum_htmlencode($forum_config['o_admin_email']).'</Contact>'."\n";
 174: 
 175:     if ($forum_config['o_show_version'] == '1')
 176:         echo "\t".'<Attribution>PunBB '.$forum_config['o_cur_version'].'</Attribution>'."\n";
 177:     else
 178:         echo "\t".'<Attribution>PunBB</Attribution>'."\n";
 179: 
 180:     echo "\t".'<moz:SearchForm>'.forum_link($forum_url['search']).'</moz:SearchForm>'."\n";
 181:     echo '</OpenSearchDescription>'."\n";
 182: 
 183:     exit;
 184: }
 185: 
155: 186: 
156: // Send form e-mail?187: // Send form e-mail?
157: else if (isset($_GET['email']))188: else if (isset($_GET['email']))
202: 233: 
203:         if ($subject == '')234:         if ($subject == '')
204:             $errors[] = $lang_misc['No e-mail subject'];235:             $errors[] = $lang_misc['No e-mail subject'];
 236:         else if (utf8_strlen($subject) > FORUM_SUBJECT_MAXIMUM_LENGTH)
 237:              $errors[] = sprintf($lang_misc['Too long e-mail subject'], FORUM_SUBJECT_MAXIMUM_LENGTH);
 238: 
205:         if ($message == '')239:         if ($message == '')
206:             $errors[] = $lang_misc['No e-mail message'];240:             $errors[] = $lang_misc['No e-mail message'];
207:         else if (strlen($message) > FORUM_MAX_POSTSIZE_BYTES)241:         else if (strlen($message) > FORUM_MAX_POSTSIZE_BYTES)
208:             $errors[] = sprintf($lang_misc['Too long e-mail message'], forum_number_format(strlen($message)), forum_number_format(FORUM_MAX_POSTSIZE_BYTES));242:             $errors[] = sprintf($lang_misc['Too long e-mail message'],
 243:                 forum_number_format(strlen($message)), forum_number_format(FORUM_MAX_POSTSIZE_BYTES));
 244: 
209:         if ($forum_user['last_email_sent'] != '' && (time() - $forum_user['last_email_sent']) < $forum_user['g_email_flood'] && (time() - $forum_user['last_email_sent']) >= 0)245:         if ($forum_user['last_email_sent'] != '' && (time() - $forum_user['last_email_sent']) < $forum_user['g_email_flood'] && (time() - $forum_user['last_email_sent']) >= 0)
210:             $errors[] = sprintf($lang_misc['Email flood'], $forum_user['g_email_flood']);246:             $errors[] = sprintf($lang_misc['Email flood'], $forum_user['g_email_flood']);
211: 247: 
327:                 <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">363:                 <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">
328:                     <div class="sf-box text required longtext">364:                     <div class="sf-box text required longtext">
329:                         <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_misc['E-mail subject'] ?></span></label><br />365:                         <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_misc['E-mail subject'] ?></span></label><br />
330:                         <span class="fld-input"><input type="text" id="fld<?php echo $forum_page['fld_count'] ?>" name="req_subject" value="<?php echo(isset($_POST['req_subject']) ? forum_htmlencode($_POST['req_subject']) : '') ?>" size="75" maxlength="70" required /></span>366:                         <span class="fld-input"><input type="text" id="fld<?php echo $forum_page['fld_count'] ?>" name="req_subject" value="<?php echo(isset($_POST['req_subject']) ? forum_htmlencode($_POST['req_subject']) : '') ?>" size="<?php echo FORUM_SUBJECT_MAXIMUM_LENGTH ?>" maxlength="<?php echo FORUM_SUBJECT_MAXIMUM_LENGTH ?>" required /></span>
331:                     </div>367:                     </div>
332:                 </div>368:                 </div>
333: <?php ($hook = get_hook('mi_email_pre_message_contents')) ? eval($hook) : null; ?>369: <?php ($hook = get_hook('mi_email_pre_message_contents')) ? eval($hook) : null; ?>


punbb-1.4.2/moderate.php punbb-1.4.3/moderate.php
291: 291: 
292:             if ($new_subject == '')292:             if ($new_subject == '')
293:                 message($lang_post['No subject']);293:                 message($lang_post['No subject']);
294:             else if (utf8_strlen($new_subject) > 70)294:             else if (utf8_strlen($new_subject) > FORUM_SUBJECT_MAXIMUM_LENGTH)
295:                 message($lang_post['Too long subject']);295:                 message(sprintf($lang_post['Too long subject'], FORUM_SUBJECT_MAXIMUM_LENGTH));
296: 296: 
297:             // Get data from the new first post297:             // Get data from the new first post
298:             $query = array(298:             $query = array(
381: <?php ($hook = get_hook('mr_confirm_split_posts_pre_subject')) ? eval($hook) : null; ?>381: <?php ($hook = get_hook('mr_confirm_split_posts_pre_subject')) ? eval($hook) : null; ?>
382:                     <div class="sf-box text required">382:                     <div class="sf-box text required">
383:                         <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_misc['New subject'] ?></span></label><br />383:                         <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_misc['New subject'] ?></span></label><br />
384:                         <span class="fld-input"><input type="text" id="fld<?php echo $forum_page['fld_count'] ?>" name="new_subject" size="70" maxlength="70" required /></span>384:                         <span class="fld-input"><input type="text" id="fld<?php echo $forum_page['fld_count'] ?>" name="new_subject" size="<?php echo FORUM_SUBJECT_MAXIMUM_LENGTH ?>" maxlength="<?php echo FORUM_SUBJECT_MAXIMUM_LENGTH ?>" required /></span>
385:                     </div>385:                     </div>
386: <?php ($hook = get_hook('mr_confirm_split_posts_pre_confirm_checkbox')) ? eval($hook) : null; ?>386: <?php ($hook = get_hook('mr_confirm_split_posts_pre_confirm_checkbox')) ? eval($hook) : null; ?>
387:                     <div class="sf-box checkbox">387:                     <div class="sf-box checkbox">
887:     $forum_page['cur_category'] = 0;887:     $forum_page['cur_category'] = 0;
888:     foreach ($forum_list as $cur_forum)888:     foreach ($forum_list as $cur_forum)
889:     {889:     {
 890:         ($hook = get_hook('mr_move_topics_forum_loop_start')) ? eval($hook) : null;
 891:         
890:         if ($cur_forum['cid'] != $forum_page['cur_category'])    // A new category since last iteration?892:         if ($cur_forum['cid'] != $forum_page['cur_category'])    // A new category since last iteration?
891:         {893:         {
892:             if ($forum_page['cur_category'])894:             if ($forum_page['cur_category'])
898: 900: 
899:         if ($cur_forum['fid'] != $fid)901:         if ($cur_forum['fid'] != $fid)
900:             echo "\t\t\t\t".'<option value="'.$cur_forum['fid'].'">'.forum_htmlencode($cur_forum['forum_name']).'</option>'."\n";902:             echo "\t\t\t\t".'<option value="'.$cur_forum['fid'].'">'.forum_htmlencode($cur_forum['forum_name']).'</option>'."\n";
 903:             
 904:         ($hook = get_hook('mr_move_topics_forum_loop_end')) ? eval($hook) : null;
901:     }905:     }
902: 906: 
903: ?>907: ?>


punbb-1.4.2/post.php punbb-1.4.3/post.php
121: 121: 
122:         if ($subject == '')122:         if ($subject == '')
123:             $errors[] = $lang_post['No subject'];123:             $errors[] = $lang_post['No subject'];
124:         else if (utf8_strlen($subject) > 70)124:         else if (utf8_strlen($subject) > FORUM_SUBJECT_MAXIMUM_LENGTH)
125:             $errors[] = $lang_post['Too long subject'];125:             $errors[] = sprintf($lang_post['Too long subject'], FORUM_SUBJECT_MAXIMUM_LENGTH);
126:         else if ($forum_config['p_subject_all_caps'] == '0' && check_is_all_caps($subject) && !$forum_page['is_admmod'])126:         else if ($forum_config['p_subject_all_caps'] == '0' && check_is_all_caps($subject) && !$forum_page['is_admmod'])
127:             $errors[] = $lang_post['All caps subject'];127:             $errors[] = $lang_post['All caps subject'];
128:     }128:     }
469:                 <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">469:                 <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">
470:                     <div class="sf-box text required longtext">470:                     <div class="sf-box text required longtext">
471:                         <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_post['Topic subject'] ?></span></label><br />471:                         <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_post['Topic subject'] ?></span></label><br />
472:                         <span class="fld-input"><input id="fld<?php echo $forum_page['fld_count'] ?>" type="text" name="req_subject" value="<?php if (isset($_POST['req_subject'])) echo forum_htmlencode($subject); ?>" size="70" maxlength="70" required /></span>472:                         <span class="fld-input"><input id="fld<?php echo $forum_page['fld_count'] ?>" type="text" name="req_subject" value="<?php if (isset($_POST['req_subject'])) echo forum_htmlencode($subject); ?>" size="<?php echo FORUM_SUBJECT_MAXIMUM_LENGTH ?>" maxlength="<?php echo FORUM_SUBJECT_MAXIMUM_LENGTH ?>" required /></span>
473:                     </div>473:                     </div>
474:                 </div>474:                 </div>
475: <?php475: <?php


punbb-1.4.2/profile.php punbb-1.4.3/profile.php
975:             if ($form['url'] != '' && strpos(strtolower($form['url']), 'http://') !== 0 && strpos(strtolower($form['url']), 'https://') !== 0)975:             if ($form['url'] != '' && strpos(strtolower($form['url']), 'http://') !== 0 && strpos(strtolower($form['url']), 'https://') !== 0)
976:                 $form['url'] = 'http://'.$form['url'];976:                 $form['url'] = 'http://'.$form['url'];
977: 977: 
 978:             //check Facebook for validity
 979:             if (strpos($form['facebook'], 'http://') === 0 || strpos($form['facebook'], 'https://') === 0)
 980:                 if (!preg_match('#https?://(www\.)?facebook.com/.+?#', $form['facebook']))
 981:                     $errors[] = $lang_profile['Bad Facebook'];
 982: 
 983:             //check Twitter for validity
 984:             if (strpos($form['twitter'], 'http://') === 0 || strpos($form['twitter'], 'https://') === 0)
 985:                 if (!preg_match('#https?://twitter.com/.+?#', $form['twitter']))
 986:                     $errors[] = $lang_profile['Bad Twitter'];
 987: 
 988:             //check LinkedIn for validity
 989:             if (!preg_match('#https?://(www\.)?linkedin.com/.+?#', $form['linkedin']))
 990:                     $errors[] = $lang_profile['Bad LinkedIn'];
 991: 
978:             // Add http:// if the LinkedIn doesn't contain it or https:// already992:             // Add http:// if the LinkedIn doesn't contain it or https:// already
979:             if ($form['linkedin'] != '' && strpos(strtolower($form['linkedin']), 'http://') !== 0 && strpos(strtolower($form['linkedin']), 'https://') !== 0)993:             if ($form['linkedin'] != '' && strpos(strtolower($form['linkedin']), 'http://') !== 0 && strpos(strtolower($form['linkedin']), 'https://') !== 0)
980:                 $form['linkedin'] = 'http://'.$form['linkedin'];994:                 $form['linkedin'] = 'http://'.$form['linkedin'];
2895:                 if ($cur_forum['cid'] != $cur_category)    // A new category since last iteration?2909:                 if ($cur_forum['cid'] != $cur_category)    // A new category since last iteration?
2896:                 {2910:                 {
2897:                     if ($cur_category)2911:                     if ($cur_category)
2898:                         echo "\n\t\t\t\t\t".'</fieldset>'."\n";2912:                          echo "\n\t\t\t\t\t\t".'</fieldset>'."\n";
2899: 2913: 
2900:                     echo "\t\t\t\t\t".'<fieldset>'."\n\t\t\t\t\t\t".'<legend><span>'.$cur_forum['cat_name'].':</span></legend>'."\n";2914:                     echo "\t\t\t\t\t\t".'<fieldset>'."\n\t\t\t\t\t\t\t".'<legend><span>'.$cur_forum['cat_name'].':</span></legend>'."\n";
2901:                     $cur_category = $cur_forum['cid'];2915:                     $cur_category = $cur_forum['cid'];
2902:                 }2916:                 }
2903: 2917: 
2904:                 $moderators = ($cur_forum['moderators'] != '') ? unserialize($cur_forum['moderators']) : array();2918:                 $moderators = ($cur_forum['moderators'] != '') ? unserialize($cur_forum['moderators']) : array();
2905: 2919: 
2906:                 echo "\t\t\t\t\t\t".'<div class="checklist-item"><span class="fld-input"><input type="checkbox" id="fld'.(++$forum_page['fld_count']).'" name="moderator_in['.$cur_forum['fid'].']" value="1"'.((in_array($id, $moderators)) ? ' checked="checked"' : '').' /></span> <label for="fld'.$forum_page['fld_count'].'">'.forum_htmlencode($cur_forum['forum_name']).'</label></div>'."\n";2920:                 echo "\t\t\t\t\t\t\t".'<div class="checklist-item"><span class="fld-input"><input type="checkbox" id="fld'.(++$forum_page['fld_count']).'" name="moderator_in['.$cur_forum['fid'].']" value="1"'.((in_array($id, $moderators)) ? ' checked="checked"' : '').' /></span> <label for="fld'.$forum_page['fld_count'].'">'.forum_htmlencode($cur_forum['forum_name']).'</label></div>'."\n";
 2921:                 
 2922:                 ($hook = get_hook('pf_change_details_admin_forum_loop_end')) ? eval($hook) : null;
2907:             }2923:             }
2908: 2924: 
 2925:             if ($cur_category)
 2926:                 echo "\t\t\t\t\t\t".'</fieldset>'."\n";
2909: ?>2927: ?>
2910:                         </fieldset> 
2911:                     </div>2928:                     </div>
2912:                 </div>2929:                 </div>
2913: <?php ($hook = get_hook('pf_change_details_admin_pre_mod_assignment_fieldset_end')) ? eval($hook) : null; ?>2930: <?php ($hook = get_hook('pf_change_details_admin_pre_mod_assignment_fieldset_end')) ? eval($hook) : null; ?>


punbb-1.4.2/register.php punbb-1.4.3/register.php
 53:  53: 
 54:     ($hook = get_hook('rg_rules_pre_header_load')) ? eval($hook) : null; 54:     ($hook = get_hook('rg_rules_pre_header_load')) ? eval($hook) : null;
 55:  55: 
 56:     define('FORUM_PAGE', 'rules'); 56:     define('FORUM_PAGE', 'rules-register');
 57:     require FORUM_ROOT.'header.php'; 57:     require FORUM_ROOT.'header.php';
 58:  58: 
 59:     // START SUBST - <!-- forum_main --> 59:     // START SUBST - <!-- forum_main -->


punbb-1.4.2/search.php punbb-1.4.3/search.php
695:         }695:         }
696: 696: 
697:         echo "\t\t\t\t\t\t\t\t".'<div class="checklist-item"><span class="fld-input"><input type="checkbox" id="fld'.(++$forum_page['fld_count']).'" name="forum[]" value="'.$cur_forum['fid'].'" /></span> <label for="fld'.$forum_page['fld_count'].'">'.forum_htmlencode($cur_forum['forum_name']).'</label></div>'."\n";697:         echo "\t\t\t\t\t\t\t\t".'<div class="checklist-item"><span class="fld-input"><input type="checkbox" id="fld'.(++$forum_page['fld_count']).'" name="forum[]" value="'.$cur_forum['fid'].'" /></span> <label for="fld'.$forum_page['fld_count'].'">'.forum_htmlencode($cur_forum['forum_name']).'</label></div>'."\n";
 698:         
 699:         ($hook = get_hook('se_forum_loop_end')) ? eval($hook) : null;
698:     }700:     }
699: 701: 
700:     echo "\t\t\t\t\t\t\t".'</fieldset>'."\n";702:     echo "\t\t\t\t\t\t\t".'</fieldset>'."\n";
701: 703: 


punbb-1.4.2/style/Oxygen/font/responsivenav.svg punbb-1.4.3/style/Oxygen/font/responsivenav.svg
   1: <?xml version="1.0" standalone="no"?>
   2: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
   3: <svg xmlns="http://www.w3.org/2000/svg">
   4: <metadata>Generated by IcoMoon</metadata>
   5: <defs>
   6: <font id="responsivenav" horiz-adv-x="512">
   7: <font-face units-per-em="512" ascent="480" descent="-32" />
   8: <missing-glyph horiz-adv-x="512" />
   9: <glyph unicode="&#x20;" d="" horiz-adv-x="256" />
  10: <glyph unicode="&#x78;" d="M443.904 366.016c6.24-6.208 6.24-16.416 0-22.624l-124.448-124.512c-6.176-6.208-6.176-16.416 0-22.656l124.384-124.544c6.24-6.208 6.24-16.416 0-22.624l-45.312-45.216c-6.176-6.208-16.384-6.208-22.624 0l-124.32 124.544c-6.208 6.208-16.416 6.208-22.624 0l-124.448-124.448c-6.208-6.24-16.416-6.24-22.624 0l-45.248 45.312c-6.208 6.176-6.208 16.384 0 22.624l124.48 124.448c6.208 6.208 6.208 16.416 0 22.656l-124.384 124.512c-6.208 6.24-6.208 16.416 0 22.624l45.28 45.248c6.208 6.208 16.416 6.208 22.624 0l124.32-124.512c6.208-6.24 16.416-6.24 22.624-0.032l124.416 124.48c6.24 6.176 16.448 6.176 22.624 0l45.28-45.28z" />
  11: <glyph unicode="&#x2261;" d="M438.857 91.428v-36.572q0-7.428-5.428-12.857t-12.857-5.428h-402.286q-7.428 0-12.857 5.428t-5.428 12.857v36.572q0 7.428 5.428 12.857t12.857 5.428h402.286q7.428 0 12.857-5.428t5.428-12.857zM438.857 237.714v-36.572q0-7.428-5.428-12.857t-12.857-5.428h-402.286q-7.428 0-12.857 5.428t-5.428 12.857v36.572q0 7.428 5.428 12.857t12.857 5.429h402.286q7.428 0 12.857-5.428t5.428-12.857zM438.857 384v-36.572q0-7.428-5.428-12.857t-12.857-5.429h-402.286q-7.428 0-12.857 5.428t-5.428 12.857v36.571q0 7.429 5.428 12.857t12.857 5.428h402.286q7.428 0 12.857-5.428t5.428-12.857z" horiz-adv-x="439" />
  12: </font></defs></svg>
  0:  13: 
  1:  14: 
  2:  15: 


punbb-1.4.2/style/Oxygen/Oxygen_ie6.css punbb-1.4.3/style/Oxygen/Oxygen_ie6.css
   1: /*************************************************************
   2: IE6 - FIXES
   3: **************************************************************/
   4: 
   5: /* Float Clearing and Has Layout Fixes
   6: -------------------------------------------------------------*/
   7: 
   8: .brd-page,
   9: .brd .main,
  10: #brd-index .main-subhead,
  11: .brd .main-content .main-item,
  12: .brd .main-content .main-item ul,
  13: .brd .gen-content,
  14: .brd .main-content,
  15: .brd .ct-box,
  16: .brd .ct-box *,
  17: .brd .frm-group,
  18: .brd .mf-set,
  19: .brd .sf-set,
  20: .brd .mf-box,
  21: .brd .sf-box,
  22: .brd .mf-item,
  23: .brd .txt-set,
  24: .brd .txt-box,
  25: .brd .frm-form label,
  26: .brd fieldset,
  27: .brd span.fld-input,
  28: .brd .main-subhead .hn,
  29: .brd .post,
  30: .brd .posthead,
  31: .brd .postbody,
  32: .brd .post-entry,
  33: .brd .postfoot .post-options {
  34:     zoom: 1;
  35:     }
  36: 
  37: .brd .ct-box ol, .brd .ct-box ol * {
  38:     zoom: normal;
  39:     }
  40: 
  41: .brd .postfoot .post-contacts {
  42:     position: absolute;
  43:     }
  44: 
  45: /* Forms
  46: -------------------------------------------------------------*/
  47: 
  48: #brd-wrap fieldset {
  49:     padding-top: 1px;
  50:     position: relative;
  51:     }
  52: 
  53: .brd fieldset legend {
  54:     margin-left: -7px;
  55:     }
  56: 
  57: #brd-wrap .checklist {
  58:     height: 9em;
  59:     width: 30em;
  60:     overflow: auto;
  61:     }
  62: 
  63: .brd .sf-set .checkbox label span {
  64:     padding-right: 0em;
  65:     padding-left: 5em;
  66:     }
  67: 
  68: #brd-admin-censoring #info-censored-intro, #brd-admin-ranks #info-ranks-intro { margin-bottom: 3em; }
  69: 
  70: .important strong { margin-right: 1ex; }
  71: 
  72: #brd-stats .st-users { margin-bottom: -1ex; }
  73: 
  74: /* Fixes for the forms in post.php and edit.php. */
  75: .brd .txt-box label span { position: absolute; }
  76: /* Try this fixes if something's wrong */
  77: /*
  78: #brd-post #post-form .sf-set .fld-input { padding-top: 1.7em; }
  79: #brd-postedit    #post-form .set2 .txt-box .fld-input,
  80: #brd-post        #post-form .txt-box .fld-input { padding-top: 1.3em; }
  81: #brd-postedit    #post-form .mf-item #fld2,
  82: #brd-post        #post-form .mf-item #fld2 { top: 1.25em; left: -0.25em; position: relative; }
  83: */
  84: 
  85: /* Fix for index.php: no backgroud for the first main-head. */
  86: .brd #brd-index .main-head { position: relative; }
  87: 
  88: /* Footer
  89: -------------------------------------------------------------*/
  90: 
  91: #brd-about p#extensions-used {
  92:     clear: left;
  93:     }
  0:  94: 


punbb-1.4.2/style/Oxygen/Oxygen_ie7.css punbb-1.4.3/style/Oxygen/Oxygen_ie7.css
   1: /*************************************************************
   2: IE7 - FIXES
   3: **************************************************************/
   4: 
   5: /* Float Clearing and Has Layout Fixes
   6: -------------------------------------------------------------*/
   7: 
   8: .brd-page,
   9: .brd .main,
  10: #brd-index .main-subhead,
  11: #brd-index .forum-item,
  12: .brd .gen-content,
  13: .brd .main-content,
  14: .brd .ct-box,
  15: .brd .ct-box *,
  16: .brd .frm-group,
  17: .brd .mf-set,
  18: .brd .sf-set,
  19: .brd .mf-box,
  20: .brd .sf-box,
  21: .brd .mf-item,
  22: .brd .txt-set,
  23: .brd .txt-box,
  24: .brd .frm-group label,
  25: .brd fieldset,
  26: .brd span.fld-input,
  27: .brd .main-subhead .hn,
  28: .brd .post,
  29: .brd .posthead,
  30: .brd .postbody,
  31: .brd .post-entry,
  32: .brd .postfoot .post-options,
  33: #brd-stats ul {
  34:     max-height: 100%;
  35:     zoom: 1;
  36:     }
  37: 
  38: /* Forms
  39: -------------------------------------------------------------*/
  40: 
  41: #brd-wrap fieldset {
  42:     padding-top: 1px;
  43:     position: relative;
  44:     }
  45: 
  46: .brd fieldset legend {
  47:     margin-left: -7px;
  48:     }
  49: 
  50: #brd-wrap .entry-content .codebox pre {min-height: 3em}
  51: 
  52: #brd-admin-censoring #info-censored-intro, #brd-admin-ranks #info-ranks-intro {
  53:     margin-bottom: 3em;
  54:     }
  55: 
  56: .main-forum .main-item .item-starter {
  57:     margin-left: 1ex;
  58:     }
  59: 
  60: #brd-admin-settings-setup #fld19, #brd-post textarea#fld1, #brd-post textarea#fld2, #brd-viewtopic textarea#fld1, #brd-postedit #fld2 {
  61:     margin-top: -19px;
  62:     }
  63: 
  64: .item-starter{
  65:     position: relative;
  66:     left: -0.5em;
  67:     }
  0:  68: 


punbb-1.4.2/style/Oxygen/Oxygen_ie8.css punbb-1.4.3/style/Oxygen/Oxygen_ie8.css
   1: /*************************************************************
   2: IE8 - FIXES
   3: **************************************************************/
   4: /* Forms
   5: -------------------------------------------------------------*/
   6: .brd .txt-set .required label span em {
   7:     margin-bottom: 0;
   8:     }


punbb-1.4.2/style/Oxygen/Oxygen.min.css punbb-1.4.3/style/Oxygen/Oxygen.min.css
  1: html,body,div,p,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,legend,blockquote,table,th,td,input,textarea,button,select{margin:0;padding:0;text-align:left}fieldset,img,cite{border:0}.visual-hidden{visibility:hidden}br,hr,.hr,.hidden{display:none}.border-less{border:none!important}.small-font{font-size:.917em}.list-clean{list-style-type:none}.prepend-top{margin-top:1em!important}.nowrap{white-space:nowrap}html{height:99%;overflow-y:scroll}body{font-size:100%}.brd-page{font:75%/1.5em Verdana,Helvetica,Arial,sans-serif}h1,h2,h3,h4,h5,h6{font-size:1em;font-weight:normal}samp,code,pre,option,optgroup,input,select,textarea,td,th{font-size:1em;font-family:Verdana,Helvetica,Arial,sans-serif;font-style:normal;font-weight:normal}samp,code,pre{font-family:monospace,sans-serif;white-space:pre-wrap;word-wrap:break-word}.brd-page:after,.gen-content:after,.ct-box:after,#brd-index .item-head:after,#brd-index .main-item:after,#brd-index ul.item-info:after,.frm-group:after,.mf-set:after,.sf-set:after,.mf-box:after,.sf-box:after,.mf-item:after,.txt-set:after,.txt-box:after,.frm-form label:after,fieldset:after,span.fld-input:after,.posthead:after,.postbody:after,.postfoot .post-options:after{content:"\0020";display:block;font-size:0;height:0;line-height:.0;overflow:hidden;visibility:hidden;clear:both}.clearfix:before,.clearfix:after{content:"\0020";display:block;height:0;overflow:hidden}.clearfix:after{clear:both}.clearfix{zoom:1}#brd-stats .hn,#qjump label,.post-byline span,.posthead .post-link span,.admin .main-subhead,.main-item .item-info li span.label,.main-item .item-info li label,.main-item .you-posted,.main-item .item-num,.group-legend,.group-legend span,.sf-set legend,.sf-set legend span,.main-pagehead .page-info,p.item-select label,.mf-extra .mf-field label,.mf-extra .mf-field .aslabel,.item-subject .item-nav span,.post-options a span,.main-title,.main-head .hn small,.entry-title,.menu-page .main-head{font-size:0;left:-999em;text-indent:-999em;position:absolute;line-height:0;visibility:hidden}.brd{padding:1em 2em;margin:0 auto;max-width:1100px;min-width:700px;width:90%}#brd-redirect,#brd-maint,#brd-util{margin:50px auto 12px auto;width:60%}.brd-page{float:left;width:100%;position:relative}.main-content,.gen-content{border-style:solid;border-width:1px}.gen-content{padding:0 1.5em}#brd-about,#brd-stats{margin-top:1em}.main-content,#brd-visit,#brd-qpost,#brd-announcement{margin-bottom:1em}#brd-announcement{padding:.5em 1.5em;margin-top:1em}#brd-announcement br{display:inline}.main-options{border-top:0;margin:-1em 0 1em 0}#rules-content{padding:1.5em}#rules-content h1{font-size:1.3em;line-height:1em;margin-bottom:.7em}#rules-content h2{font-size:1.2em;font-weight:bold;margin-bottom:.3em}#rules-content h3{font-size:1.1em;font-weight:bold}#rules-content h4,#rules-content h5{font-size:1;font-weight:bold}#rules-content p{margin:0 0 .65em}p,.hn{padding:.35em 0}ul,ol{padding:.35em 0 .35em 2em}ul.spaced{padding:.25em 0 .25em 2em}.spaced li{padding:.25em 0}th{font-size:1.084em;padding:.462em 1.417em;border-bottom-style:solid;border-bottom-width:1px}.main-head,.main-foot{border-style:solid;border-width:1px;padding:0 1.417em}.main-head .hn,.main-foot .hn{padding-right:10em}h2.main-subhead{border-style:solid;border-width:1px;padding:.462em 10em .426em 1.417em}.column-title{border-style:solid;border-width:1px;position:relative;margin-bottom:-1px}.main-subhead{border-style:solid;border-width:1px;border-bottom:0}.main-subhead .hn{padding:.462em 1.417em;position:relative}.main-foot{margin-top:-1em}#brd-announcement h1,.main-extensions .ct-legend,.main-hotfixes .ct-legend{border-bottom-style:dashed;border-bottom-width:1px;font-size:1.1em;font-weight:bold}#brd-announcement h1{margin-bottom:.5em}.main-pagehead .hn{padding:.5em 0}.content-head{margin:.5em 1.417em 0}.content-head .hn{border-style:none none double none;border-width:3px;padding:.462em 0}.options>span{padding:0 0 0 .3em;margin:0 0 0 .25em}.options .js_link{padding:0;margin:0 0 0 .55em}.options>span.first-item{border-left:0;padding-left:0;margin-left:0}.extension .options,.hotfix .options{border-top-style:dashed;border-top-width:1px}.extension h3>em{font-style:normal}.extension .data-list{list-style-type:none;padding-left:0}.ct-box{border-style:solid;border-width:1px;-moz-border-radius:.35em;-webkit-border-radius:.35em;-khtml-border-radius:.35em;border-radius:.35em;margin:1.417em;padding:.5em 1em;position:relative}.ct-box li{padding:0;margin:0 0 .7em 0}.ct-set{border-style:solid;border-width:1px;margin:1.417em;padding:0 0 0 17em;position:relative}.ct-group{border-style:solid;border-width:1px;margin:1.417em}.frm-group .ct-set{border-style:dashed none none none;margin:0}.ct-group .ct-set{border-style:dashed none none none;margin:0 1em;padding:0 0 0 16em}.ct-group .group-item1{border:0}.ct-group .set1,.frm-group .set1{border-top:0}.ct-group .ct-box,.frm-group .ct-box{border-style:none;margin:0}.ct-group .ct-set .ct-box,.ct-set .ct-box,.frm-group .ct-set .ct-box{border-style:none;margin:0} 
  2: .ct-group .set1{border-top:0}.ct-set .ct-legend{float:left;margin-left:-17em;width:16em;position:relative;text-align:right;font-weight:bold}.ct-set ul{padding-left:0;list-style:none}.ct-box div{padding:.35em 0}.ct-box p.options{float:none}.ct-box .info-list{padding-bottom:0}.user-ident{padding-left:0;list-style:none}.user-ident .username a,.user-ident .username strong{font-size:1.5em;font-weight:normal}.user-ident .username a,.user-ident .username a:link,.user-ident .username a:visited{text-decoration:none}.user-ident .username a:hover,.user-ident .username a:active,.user-ident .username a:focus{text-decoration:underline}.user-ident .usertitle{font-weight:bold}.user-ident .useravatar{padding:.25em 0}.user-ident .useravatar img{display:block}.main-message{padding:.5em 1.417em}.main-message p span{display:block;padding-top:.5em}#brd-maint .main-message{padding:0}#brd-navlinks,.main-menu,.admin-menu{padding:0 .75em}.main-menu,.admin-menu{border:0}#brd-navlinks ul,.main-menu ul,.admin-menu ul{list-style-type:none;float:left;padding:0}#brd-navlinks li,.main-menu li,.admin-menu li{float:left;display:inline}#brd-navlinks a,.main-menu a,.admin-menu a{float:left;position:relative;padding:.55em .7em}#brd-navlinks a{padding:.43em .7em}#brd-navlinks li.first-item,.main-menu li.first-item,.admin-menu li.first-item{border-left:0}.admin-submenu{border-style:solid;border-width:0 1px}.admin-submenu ul{padding:.5em 0;list-style:none}.admin-submenu li{display:inline;margin-right:.75em}.admin-submenu .active a{font-weight:bold}#brd-head{padding-bottom:.75em;padding-top:1em;border-radius:.4em .4em 0 0}#brd-title{padding-bottom:0}#brd-title a,#brd-title strong{font-size:1.5em;text-decoration:none;font-weight:normal}#brd-desc{padding-top:0;padding-bottom:0}#brd-navlinks ul{margin:0;float:left}#brd-navlinks li{display:inline}#brd-navlinks li a{text-decoration:none}ul#brd-admod{float:right;text-align:right}#brd-access{text-align:right;padding:0;height:0;margin:0;position:absolute;background:transparent}#brd-access a,#brd-access a:link,#brd-access a:visited{height:2em;line-height:2em;position:absolute;left:-999em;margin:1px;width:12em}#brd-access a:hover,#brd-access a:active,#brd-access a:focus{text-indent:0;background:#000;position:static;float:right}#brd-visit #welcome{float:left}#brd-visit #visit-links{text-align:right;float:none}#brd-pagepost-end{border-top:0}#brd-pagepost-top{border-bottom:0}#brd-admin-bans #brd-pagepost-end{margin-top:-1em}.paging{float:left}.posting{text-align:right;float:right}.paging{white-space:nowrap}.paging a,.paging strong,.paging span{padding:0 1em;border-left-style:solid;border-left-width:1px;float:left;white-space:nowrap}.paging .first-item,.paging span.pages{border-left:0;padding-left:0}.posting .newpost{font-size:1.084em;font-weight:bold}.crumbs .crumblast span{font-weight:normal}.crumbs span,.crumbs a{white-space:nowrap}.crumbs{margin:.5em 0;padding:0 1.417em;font-size:1.084em}#brd-crumbs-top .crumblast{font-size:1.15em}#brd-stats ul{list-style:none;padding-left:0}#brd-stats ul li.st-users{float:left;clear:both;white-space:nowrap}#brd-stats ul li.st-activity{text-align:right;display:block;white-space:nowrap}#brd-stats li strong{font-weight:bold}#brd-online{padding-top:.5em;padding-bottom:.5em;border-top:0}#brd-online .hn,#brd-online p{padding-bottom:0;padding-top:0}#brd-online .hn{float:left;margin-right:.5em}#qjump{float:left;padding:.5em 0}#qjump div,#qjump label{padding:0;border:0}#copyright{text-align:right;margin:0}#querytime{text-align:right;font-size:.917em;padding:0}#extensions-used{border-bottom:1px dotted}p.options{border-top:0;float:right}.main-modoptions .options{text-align:center}a.feed{padding-left:22px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAVZQTFRFzF0V2XIp2l4q3GEr3W4v3mUs3m8v3nAw33Ew4Got4HVF4XQw4Xgx4nA24nYx424u43kx43ky5Hsy5HxH5XQu5Xwy5X0y5nQv5n8z5otg53gv54Ez6Hkx6II06IM06IU16IlV6X456YU16Yg26n0x6oc16olJ638y64k17IEy7Io27JZj7oUz7oU07pFM7ppk7quJ7rKV741B751k8Ik08Ys18beX8o018pNC8qNm86Rn9JE29KZn9Kxz9LKA9L2Y9ZI39alo9b+Z9cCY9pQ39ptE95c496FQ961p98OZ99S++Jk5+J5E+K9p+LR1+L+O+Zo5+Z1B+Z9F+aVS+cib+de/+pw5+qJG+qxe+rNq+r6D+sOP+s6n+tOz+506+6lS+69e+7l3++bY/MKE/Nm1/OPN/dq1/d/B/eXN/fHm/ubO/uza/vHm/vLm/vfy/vjy//nz////L/lnWgAAAAJ0Uk5TEI9BVkHYAAAA50lEQVQY0yXOu07DMBSA4XNxnDtE4bYBFYxMMPAaPCoPg5gqBgRDSVtok1McO3awxPj904+ApSJFzIqZxrcZ8brXRcIZq5wK7Z65Cu1Vy/TvbBiV0vU9QPjcYfRGmIsjtkDJ8ZkO0bLnukL73f1WKoNOxPQxNI9taUTr9Gdr7IE4S6g6v21MDwtvZYoD9nU1YWOXhhpxnpTK58OX4Kl5gTtnvOKcFjyu00SvPOf7mZhOijTZvsOFLKGZAsW/GQbpoHZrwBDw5iET2RibTR9K70yC+GTjjxVn7BTmckDAS3bOT977ENjOfw1gcm/NBi+EAAAAAElFTkSuQmCC) center left no-repeat}.content-options,.ct-options{float:right;margin-top:-2.6em;padding:.5em 1.417em;position:relative}.item-summary{height:2.5em;padding:0;position:relative;font-size:1em}.item-summary span{width:100%;position:absolute;left:-999em;text-indent:-999em;display:block}.item-summary strong{position:absolute;left:999em;text-indent:0;padding:.5em 0;white-space:nowrap;font-weight:normal} 
  3: .item-summary strong:first-letter {text-transform:uppercase}.item-summary .subject-title{padding-left:1.417em}.item-summary .info-topics,.item-summary .info-replies{margin-left:100%;text-align:center;width:7em;left:965em}.item-summary .info-forum{margin-left:100%;text-align:center;width:20em;left:952em}.item-summary .info-posts,.item-summary .info-views{margin-left:100%;text-align:center;width:7em;left:972em}.item-summary .info-lastpost{margin-left:100%;left:980em}p.forum-noview .info-replies{left:972em}.main-content .main-item{border-top-style:solid;border-top-width:1px;overflow:hidden;position:relative;line-height:1.4em}.main-content .main-first-item{border-top:0}.main-content .main-item ul{float:right;position:relative;padding:0;list-style:none}.main-content .main-item p,.main-content .main-item .hn{padding:0}.hn .item-status{font-weight:normal}.hn .item-status em{font-style:normal}.main-item .item-subject,.main-content .main-item li{float:left;border-left-style:solid;border-left-width:1px;margin:0 -2px -9.7em 0;position:relative;padding-top:.6em;padding-bottom:10.4em}.main-item .item-subject{overflow:hidden;width:100%}li.info-topics,li.info-posts,li.info-views,li.info-replies{width:7em;text-align:center}li.info-forum{width:20em;text-align:center}li.info-lastpost{width:20em}li.info-lastpost cite{overflow:hidden;width:18em}.main-item li strong{font-weight:normal}.main-content .main-item{padding-right:35em;padding-left:3.75em}.main-content .main-item .hn{position:relative}.main-content .main-item ul{width:34em;right:-35em;margin-left:-34em}.forum-noview .main-item{padding-right:28em}.forum-noview .main-item ul{width:27em;right:-28em;margin-left:-27em}.forum-forums .main-item{padding-right:48em}.forum-forums .main-item ul{width:47em;right:-48em;margin-left:-47em}.item-subject span.modlist{display:block}#brd-index .main-item .hn span{font-size:1.084em;font-weight:bold}#brd-index .main-item .hn small{font-size:1em}.item-status{font-weight:bold}.main-content .main-item cite{font-style:normal}.item-nav,.item-nav a,.item-nav span{white-space:nowrap;font-style:normal}.item-subject .hn,.item-subject p{margin:0 0 0 1.5em}li.info-lastpost cite,li.info-lastpost span,li.info-forum a{display:block;padding:0 1em;font-style:normal;font-weight:normal}li.info-lastpost strong{padding:0 0 0 1em;font-style:normal;font-weight:normal}.main-item li.info-select{position:absolute;right:0;top:0;padding:.3em;border-style:none none solid solid;border-width:1px}.main-content .main-item .icon{border-style:solid;border-width:.5833em;height:0;width:0;float:left;margin-top:.667em;margin-left:-2.417em}.main-content .main-item .hn .posted-mark{position:absolute;font-size:2em;width:1em;left:-0.5em;top:0}.frm-group{border-top-style:dashed;border-top-width:1px;margin:1.417em;padding:1.3em 0 0}.group1{border-top:0;padding-top:0}.sf-box,.mf-box,.txt-box{margin:1.417em;padding:.5em 0;position:relative}.sf-set,.mf-set,.txt-set{margin:1.417em;padding:0 0 0 17em;position:relative}.sf-set .sf-box,.mf-set .mf-box,.txt-set .txt-box{margin:0}.frm-group .sf-set,.frm-group .mf-set,.frm-group .txt-set{margin:0}.text input{font-size:1.084em}select{height:25px;*height:auto;line-height:25px;padding-left:3px}optgroup{font-weight:bold}.frm-buttons{margin:.75em 1.417em .8em 1.417em;position:relative;border-top-style:solid;border-top-width:1px;padding:1.1em 0 .3em 18em}.frm-buttons .submit{margin-right:.75em}.frm-buttons .primary{margin-right:2em}.submit input,.cancel input{overflow:visible;padding-left:.5em;padding-right:.5em;font-size:1.084em}.button-set .submit{padding-left:1em}button{width:auto;overflow:visible}label,input[type="button"],input[type="submit"],button,select{cursor:pointer}input[type="submit"],input[type="button"],input[type="reset"],button{display:inline-block;vertical-align:baseline;text-align:center;text-decoration:none;padding:.5em .6em;-moz-border-radius:2px;-webkit-border-radius:2px;-khtml-border-radius:2px;border-radius:2px;border-style:solid;border-width:1px;-webkit-appearance:button;line-height:normal}input[type="submit"]::-moz-focus-inner,input[type="button"]::-moz-focus-inner,input[type="file"]::-moz-focus-inner,input[type="reset"]::-moz-focus-inner,button::-moz-focus-inner{border:0;padding:0}input[type="submit"]:active,input[type="button"]:active,input[type="reset"]:active,button:active{position:relative;top:1px}input[type="submit"][disabled]:active,input[type="button"][disabled]:active,input[type="reset"][disabled]:active,button[disabled]:active{position:relative;top:0}.primary input[type="submit"],.primary input[type="button"],.primary input[type="reset"],.primary button{padding-left:1.2em;padding-right:1.2em} 
  4: .js_link{border-bottom-style:dashed;border-bottom-width:1px}.sf-box label,.sf-box .aslabel{float:left;padding:0}.sf-set .checkbox label{padding:2px 0 2px 2.7em}.sf-set .text label span,.sf-set .select label span,.sf-set .aslabel span{float:left;margin-left:-17em;display:block;position:relative;padding:2px 0 2px 1em;width:16em;text-align:right}.sf-set .checkbox label span{float:left;margin-left:-18em;display:block;position:relative;padding:0 0 0 2em;width:16em;left:-3em;text-align:right;font-weight:bold}.sf-set .text label small,.sf-set .select label small{display:block;text-align:left;position:relative;margin:2em 1em 0 1em;padding-top:.25em;font-size:.917em}.sf-set .fld-input{position:absolute;top:0;left:0;display:block;padding:.5em 1em}.sf-set .checkbox input{margin:.2em 0 .2em -.1em}.sf-set .text input:not([title]){height:100%}.sf-set .sf-short input{width:4em}.sf-set .sf-short label small{font-size:1em;padding:2px 0;margin:0 1em 0 7em}input[type="radio"]{vertical-align:middle;bottom:1px}input[type="checkbox"]{vertical-align:middle;bottom:1px}table input[type="checkbox"]{vertical-align:baseline}.mf-box .mf-item{position:relative;top:-0.166em;padding:.3em 0}.mf-set legend{position:absolute;height:0;background:transparent}.mf-set legend span{position:absolute;left:-17em;width:16em;padding:.5em 1em;margin:1px 0 2px 0;overflow:hidden;display:block;text-align:right;font-weight:bold}.mf-set legend span em{display:block;white-space:normal;font-style:normal;font-weight:normal;font-size:.917em}.mf-item .fld-input{position:absolute;top:.25em;left:0;display:block;padding:0 1em}.mf-item input{margin:.1em 0 .1em -.1em}.mf-item label{padding:1px 0 1px 2.7em;float:left}.mf-set .mf-yesno .mf-item{width:11em;float:left}.mf-set .mf-field{float:left;padding:0 1em 0 1em;border-left:1px solid #ccc}.mf-set .mf-field1{border-left:none}.mf-set .mf-field label,.mf-set .mf-field .aslabel{position:absolute;top:-2em;display:block}.mf-set .mf-cell .fld-input{position:static;padding:0 0 0 1em;border-left:1px solid #ccc}.frm-hdgroup{padding-top:2em}.sf-set .sf-box .sf-forum{width:25em}.mf-set .mf-box .forum-field{width:25em}.checklist{min-height:6em;max-height:9em;max-width:30em;overflow:auto;border-style:solid;border-width:1px;position:relative;padding:.25em .5em;margin:0 1em}.checklist fieldset{height:auto}.checklist legend,.checklist legend span{font-weight:bold;position:static;padding:0;height:auto;text-align:left}.checklist legend span{width:auto;max-width:25em}.checklist-item{position:relative;height:auto}.checklist-item label{display:block;padding:0 0 0 2.25em;float:none;height:100%}.checklist-item .fld-input{position:absolute;left:0;top:0;padding:0;margin:0}.checklist-item input{margin:0}.txt-box label{float:left}.txt-set label span{float:left;margin-left:-17em;display:block;position:relative;padding:2px 1em;width:16em;text-align:right}.txt-set label small{display:block;text-align:left;position:relative;margin:0 1em 0 -1px;padding:2px 1.25em;font-size:.917em;z-index:100}.txt-set .txt-input{position:relative;width:100%}.txt-set .fld-input{display:block;padding:0 0 0 1em}.txt-set textarea{width:95%;resize:vertical}input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="search"],input[type="number"],textarea{border-width:1px;border-style:solid;padding:.25em}#quick-search{padding:.1em .2em}.req-warn{display:none}#req-msg p em,.required label span em{font-style:normal;font-weight:normal}.required label span em{float:left;font-size:.917em;line-height:1.2em;width:100%;position:relative}.req-error{display:block}.required label span{font-weight:bold}.post{border-style:solid;border-width:1px;position:relative;margin:1.417em;margin-top:-1.417em}.firstpost,.singlepost{margin-top:1.417em}.main-topic .lastpost{border-bottom:0}.main-topic .post{border-style:solid none;margin:0}.main-topic .firstpost{border-top:0}.posthead{margin-left:18em;border-style:none none none solid;border-width:1px}.posthead .hn{padding-right:1.5em;padding-left:1em;border-style:none none dashed none;border-width:1px}.posthead .post-byline a,.posthead .post-byline strong{font-size:1.167em;font-weight:bold;text-decoration:none;font-style:normal}.posthead .post-byline{float:left;width:15.5em;padding:.5em 1em .5em 1.5em;margin-left:-19em;margin-top:-0.5em;position:relative;left:-1px;overflow:hidden}.posthead .post-num{float:right}#brd-modtopic .posthead .hn{padding-right:2.7em}.post-title{padding:0 1.5em .5em 1em;margin-top:-1px;position:relative}.post-title span{display:block;width:100%;overflow:hidden}.post-title a{font-size:1em;text-decoration:none;font-weight:bold}.post-title small,.post-title small a{font-size:1em;font-weight:normal;white-space:nowrap}.posthead p.item-select{position:absolute;top:0;right:.75em;height:2.5em} 
  5: .postbody{margin-left:18em;position:relative;border-left-style:solid;border-left-width:1px;padding:.5em 1.5em 0 1em;clear:both}.postfoot{padding-left:18em;border-top-style:none;border-top-width:1px;position:relative}.postfoot .post-options{border-left-style:solid;border-left-width:1px}.postbody .post-author{float:left;width:15.5em;margin-left:-19em;left:-1px;position:relative;padding:0 1em .5em 1.5em;overflow:hidden;margin-top:-1em}.postbody .post-author ul{margin:0;padding:0 0 .5em 0;list-style:none}.author-ident .useravatar img{display:block;padding:.5em 0}.author-ident .username{display:none}.author-ident .usertitle{font-weight:bold;line-height:normal}.author-ident .userstatus{padding:.75em 0 .25em 0;margin:0;line-height:.75em;width:100%}.author-ident .userstatus span{font-size:.917em;display:block;border-left-style:solid;border-left-width:.7em;text-indent:.5em}.author-info li span strong{font-weight:normal}.online .author-ident .userstatus span{font-weight:bold}.postfoot .post-contacts{float:left;margin-left:-18em;width:15.5em;padding:.5em 1em .5em 1.5em;position:relative;left:-1px}.postfoot .post-actions{padding:.5em 1.5em .5em 1em;text-align:right;display:block;float:right}.postfoot .post-actions>span{margin-left:.75em}.postfoot .post-contacts>span{margin-right:.75em}.entry-content{padding-bottom:2em;overflow:hidden;width:100%;min-height:7em}#brd-help .entry-content{min-height:4em}.entry-content ol{padding-left:2.5em;list-style-type:decimal}.entry-content ol p,.entry-content ul p{padding:0}.entry-content ol.alpha{list-style-type:upper-alpha}.entry-content h5{font-weight:normal;font-size:1.5em;line-height:1.5em}.entry-content img{vertical-align:text-top;max-width:100%}.entry-content .quotebox,.entry-content .codebox{border-style:solid;border-width:1px;margin:.75em 1em;padding:1em .75em}.entry-content .codebox{font-size:.97em}.entry-content blockquote{overflow:hidden;width:100%}.entry-content .quotebox cite{display:block;font-style:normal;font-weight:bold}.entry-content pre{margin:0;max-height:35em;min-height:2em;overflow:auto;padding:0 2% .1em 0;width:98%}.entry-content span.bbu{text-decoration:underline}.entry-content br,.sig-demo br,.user-box br,.main-message br{display:inline}.sig-content{padding-top:2em;font-size:.95em}.sig-content a,.sig-demo a{border-bottom:solid;border-width:1px}span.sig-line{display:block;width:200px;border-top-style:solid;border-top-width:1px;padding-bottom:.5em}table{width:100%;table-layout:fixed;empty-cells:show;border-spacing:0;line-height:1.3333em;border-collapse:collapse}td{overflow:hidden;vertical-align:middle}table caption{display:none}#brd-userlist table .tc0{width:30%}#brd-userlist table .tc1{width:20%;text-align:left}#brd-userlist table .tc2{width:10%;text-align:center}#brd-debug table{border:0;font-size:.95em}#brd-debug .tcl{white-space:nowrap;width:10%}#brd-debug .tcr{white-space:normal;width:90%}#brd-admin-uresults table .tc0,#brd-admin-iresults table .tc0{width:45%}#brd-admin-uresults table .tc1,#brd-admin-iresults table .tc1,#brd-admin-iresults table .tc2{width:20%}#brd-admin-uresults table .tc2,#brd-admin-uresults table .tc4{width:10%;text-align:center}#brd-admin-uresults .tc3{width:15%}#brd-admin-uresults td.tc0 span,#brd-admin-uresults td.tc3 span{display:block;white-space:nowrap}#brd-admin-iresults table .tc0{width:25%}#brd-admin-iresults table .tc1{width:25%}#brd-admin-iresults table .tc2{width:20%}#brd-admin-iresults .tc3{width:30%}.main-content th{font-size:1.084em;padding:.462em 1.417em;font-weight:normal}td{padding:.5em 1.417em;border-width:1px;border-style:solid none none solid}td.tc0{border-left-style:none;border-left-width:0}th{padding:.5em 1.3em;border-style:none}td.actions,th.actions{text-align:right}td.actions span{display:block}.report{margin-left:4em}.report h3 span{display:block;font-style:normal}.report h3 cite{font-style:normal;font-size:1.084em;font-weight:bold}.report h3 strong{position:absolute;left:-3.1em;width:1.5em;text-align:right;font-size:1.167em}.report p strong{display:block;font-weight:normal;margin-top:1em}.report h4{border-bottom-style:dashed;border-bottom-width:1px}#brd-admin-reports .frm-buttons{margin-left:4em;margin-top:0}#brd-admin-reports .select-all{float:right}.report .item-select{position:absolute;top:0;right:.75em;height:2.5em}.help-box samp{display:block;margin-left:1.5em}.help-box h5 samp{margin-left:1.417em}.help-box code{font-family:courier;font-size:1.084em}.help-box .entry-content{padding:0}.help-box .hn{padding-bottom:.5em;border-bottom-style:dashed;border-bottom-width:1px;margin-bottom:.5em;color:#294f6e}#brd-messages{text-align:center;position:fixed;top:0;z-index:999;padding:0;left:0;right:0}#brd-messages span{text-align:center;padding:.35em 1.3em;margin:0 1em;font:87%/1.5em Arial,sans-serif;font-weight:bold;line-height:2em;border-width:1px;border-style:solid}.ie6 a.feed,.ie7 a.feed{background:url(feed-icon.png) center left no-repeat}.ie6 .brd-page,.ie6 .main,.ie6 #brd-index .main-subhead,.ie6 .main-content .main-item,.ie6 .main-content .main-item ul,.ie6 .gen-content,.ie6 .main-content,.ie6 .ct-box,.ie6 .frm-group,.ie6 .mf-set,.ie6 .sf-set,.ie6 .mf-box,.ie6 .sf-box,.ie6 .mf-item,.ie6 .txt-set,.ie6 .txt-box,.ie6 .frm-form label,.ie6 fieldset,.ie6 span.fld-input,.ie6 .main-subhead .hn,.ie6 .post,.ie6 .posthead,.ie6 .postbody,.ie6 .post-entry,.ie6 .postfoot .post-options{zoom:1} 
  6: .ie6 .ct-box ol,.ie6 .ct-box ol li{zoom:normal}.ie6 .postfoot .post-contacts{position:absolute}.ie6 #brd-wrap fieldset{padding-top:1px;position:relative}.ie6 fieldset legend{margin-left:-7px}.ie6 #brd-wrap .checklist{height:9em;width:30em;overflow:auto}.ie6 .sf-set .checkbox label span{padding-right:0;padding-left:5em}.ie6 #info-censored-intro,.ie6 #info-ranks-intro{margin-bottom:3em}.ie6 .important strong{margin-right:1ex}.ie6 #brd-stats .st-users{margin-bottom:-1ex}.ie6 .txt-box label span{position:absolute}.ie6 #brd-index .main-head{position:relative}.ie6 input{vertical-align:text-bottom}.ie6 #extensions-used{clear:left}.oldie textarea{overflow:auto}.ie7 .brd-page,.ie7 .main,.ie7 #brd-index .main-subhead,.ie7 #brd-index .forum-item,.ie7 .gen-content,.ie7 .main-content,.ie7 .ct-box,.ie7 .frm-group,.ie7 .mf-set,.ie7 .sf-set,.ie7 .mf-box,.ie7 .sf-box,.ie7 .mf-item,.ie7 .txt-set,.ie7 .txt-box,.ie7 .frm-group label,.ie7 fieldset,.ie7 span.fld-input,.ie7 .main-subhead .hn,.ie7 .post,.ie7 .posthead,.ie7 .postbody,.ie7 .post-entry,.ie7 .postfoot .post-options,.ie7 #brd-stats ul{max-height:100%;zoom:1}.ie7 #brd-wrap fieldset{padding-top:1px;position:relative}.ie7 fieldset legend{margin-left:-7px}.ie7 .entry-content .codebox pre{min-height:3em}.ie7 #info-censored-intro,.ie7 #info-ranks-intro{margin-bottom:3em}.ie7 .main-forum .main-item .item-starter{margin-left:1ex}.ie7 #brd-admin-settings-setup #fld19,.ie7 #brd-post textarea#fld1,.ie7 #brd-post textarea#fld2,.ie7 #brd-viewtopic textarea#fld1,.ie7 #brd-postedit #fld2{margin-top:-19px}.ie7 .item-starter{position:relative;left:-0.5em}.ie7 input[type="checkbox"]{vertical-align:baseline}body{background:#fff;color:#222}a:focus{outline:0}a:link,a:visited,.js_link{color:#00579c;text-decoration:none}a:hover,a:active,a:focus{color:#cd0021;text-decoration:underline}.js_link{cursor:pointer;border-color:#00579c;-moz-user-select:none;-webkit-user-select:none;user-select:none}.js_link:hover{color:#cd0021;border-color:#cd0021}.entry-content a:visited{color:#909}.entry-content a:visited:hover{color:#cd0021}.sig-content a,.sig-content a:visited{color:#999;border-color:#ddd}.sig-content a:hover,.sig-content a:active,.sig-content a:focus,.sig-content a:visited:hover{color:#333;border-color:#999;text-decoration:none}.entry-content h5{color:#d93315}.gen-content,.main-content{background:#fbfbfb;border-color:#d3dae1;border-bottom-color:#cbd1d8}.main-pagepost{background:#fff;border-color:#dde4eb}#brd-crumbs-top .crumblast a,#brd-crumbs-top .crumblast a:hover{color:#111;text-decoration:none}.main-item,.main-item li,.main-item div,td{border-color:#dde4eb}.main-content .main-item .item-nav{color:#888}.main-content .sticky{background:#f2f4fa}.main-content .main-item .hn .item-status em.sticky,.main-content .main-item .hn .item-status em.closed{color:#314b60;font-weight:bold}.main-content .main-item .hn .item-status em.moved{color:#666}.post div,h3.post-ident,h4.post-title,.posthead h3,.userstatus span,.sig-line{border-color:#dde4eb}.post-num,.post-edit{color:#999}.post{border-color:#dde4eb;border-top-color:#fff;border-bottom-color:#ccc;background:#edf1f5}#topic-review .firstpost,.singlepost{border-top-color:#dde4eb;border-bottom-color:#dde4eb}.posthead,.postbody,.post-options{background:#fafafa}.posthead .hn{background:#f1f1f1}.post-title small{color:#999}.sig-content{color:#999}.sig-demo{color:#333}.sig-demo a,.sig-demo a:visited{color:#333;text-decoration:none;border-color:#bbb}.online .userstatus span{border-color:#3f9439}.ct-box,.ct-set,.ct-group,.frm-group{border-color:#dbe0e4}.admin-page .ct-box{background:#feffe6}.admin-page .ct-set .ct-box,.report{background:#f4f9fd}.admin-page .warn-set .warn-box{background:#feffe6}.main-frm .ct-group,#brd-announcement{background:#f4f9fd}.main-content .info-box{background:#ffffe1}.main-extensions .extension,.main-hotfixes .hotfix{background:#f4f9fd}.main-extensions .disabled,.main-hotfixes .disabled{background:#ffffe1}.warn-group,.warn-set,.warn-box,.error-box,#admin-alerts{background:#feffe6;border-color:#f4ebce}.warn-group,.warn-set,.warn-box,.error-box{border-color:#e6d190}.info-list li,.error-list li{color:#5d5636}.info-list li span,.error-list li span{color:#5d5636}ul li strong{color:#222}.user-box{background:#f4f9fd}.ct-box .hn{border-color:#dbe0e4;color:#333}.error-box .hn{color:#222}.help-box{background:#f4f4f4}.help-box .hn{color:#294f6e}#rules-content{background:#fff}.frm-buttons,.extension .options,.hotfix .options,#rules-content{border-color:#e3e3e3}.checklist{background:#fff;border-color:#ccc}label,.aslabel,.mf-set legend,.ct-legend,.ct-legend span,.ct-legend cite,.ct-legend strong{color:#333}.paging span,.paging a,.paging strong{border-color:#dedfdf}.required label em,#req-msg em,.warn strong,.important strong{color:#b42000}.sf-set .text label small,.sf-set .select label small,.txt-set .textarea label small{color:#999}.entry-content .quotebox,.entry-content .codebox{background:#fff;border-color:#ddd}#brd-announcement .userbox{background:#f4f9fd none repeat scroll 0 0} 
  7: .main-content .main-item .hn .posted-mark{color:#99C}.lastedit em{font-size:.95em;font-style:normal;color:#999}.user-ident .username strong{color:#222}#brd-navlinks{border-color:#376daa}#brd-navlinks a:link,#brd-navlinks a:visited{color:#eee;text-decoration:none}.main-options,.main-options span{background:#f1f1f1}#brd-navlinks,.main-menu,.admin-menu,.main-head,.main-foot{background-color:#0066b9;background-image:-moz-linear-gradient(bottom,#2a6ab8 0,#4795cc 100%);background-image:-ms-linear-gradient(bottom,#2a6ab8 0,#4795cc 100%);background-image:-o-linear-gradient(bottom,#2a6ab8 0,#4795cc 100%);background-image:-webkit-gradient(linear,0 100%,0 0,from(#2a6ab8),to(#4795cc));background-image:-webkit-linear-gradient(bottom,#2a6ab8 0,#4795cc 100%);background-image:linear-gradient(bottom,#2a6ab8 0,#4795cc 100%)}.admin-submenu{background:#e4e4ec;border-color:#d3dae1}#brd-navlinks a:link,#brd-navlinks a:visited,.main-menu a:link,.main-menu a:visited,.admin-menu a:link,.admin-menu a:visited{color:#eee;text-decoration:none;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}#brd-navlinks a:hover,#brd-navlinks a:active,#brd-navlinks a:focus,.main-menu a:hover,.main-menu a:active,.main-menu a:focus,.admin-menu a:hover,.admin-menu a:active,.admin-menu a:focus{color:#fff}#brd-navlinks .isactive a,.main-menu .active a,.admin-menu .active a{color:#fff;background:#2a6ab8}#brd-admod #alert a{color:yellow;font-weight:bold}#brd-head{background:#f5f5f5;color:#222}#brd-head a,#brd-head a:link,#brd-head a:visited{color:#222}.main-head,.main-foot{color:#fff;border-color:#4a86c1;text-shadow:0 -1px 0 rgba(0,0,0,0.15)}#brd-announcement h1{border-color:#bbb}.main-subhead{border-color:#d3dae1 #D3DAE1 #cbd1d8 #D3DAE1;background:#f4f4f4}.column-title{border-color:#f4f4f4 #F4F4F4 #cbd1d8 #F4F4F4;background:#f4f4f4}.group-head{background:#edf1f5;border-color:#dbe0e4}.content-head .hn{border-color:#dbe0e4;color:#666}.main-head a:link,.main-head a:visited,.main-foot .options a:link,.main-foot .options a:visited,.main-head .js_link,.main-foot .options .js_link{color:#ddd}.main-head .js_link,.main-foot .options .js_link{border-color:#ccc}.main-head a:hover,.main-head a:active,.main-head a:focus,.main-head .js_link:hover,.main-foot .options a:hover,.main-foot .options a:active,.main-foot .options a:focus,.main-foot .options .js_link:hover{color:#fff}.main-head .js_link:hover,.main-foot .options .js_link:hover{border-color:#fff}th{background:#f4f4f4}.main-frm .ct-group td{background:#fbfbfb}#extensions-used{border-bottom-color:#999}.main-content .main-item .icon{border-color:#edf1f5 #DDE0E4 #c6cbd3 #BABFC6}.main-content .redirect .icon{border-color:#f4f4f4 #f4f4f4 #f4f4f4 #f4f4f4}.main-content .sticky .icon{border-color:#d7e5f3 #C3CFDc #9fb3c7 #90A2B4}.main-content .closed .icon{border-color:#acacac #979797 #898989 #7A7A7A}.main-content .sticky.closed .icon{border-color:#d7e5f3 #C3CFDc #898989 #7A7A7A}.main-content .new .icon{border-color:#0080d7 #0065C0 #0058b3 #0072CA}.checklist-item label{background:#fff}.checklist-item label:hover{background:#edf1f5}input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="number"],input[type="search"],textarea{border-color:#d3dae1}input[type="text"]:active,input[type="text"]:focus,input[type="password"]:active,input[type="password"]:focus,input[type="email"]:active,input[type="email"]:focus,input[type="url"]:active,input[type="url"]:focus,input[type="search"]:active,input[type="search"]:focus,input[type="number"]:active,input[type="number"]:focus,textarea:active,textarea:focus{border-color:#c8d3dc #D3DAE1 #d3dae1 #C8D3DC;box-shadow:0 1px 2px rgba(0,0,0,0.1) inset;background:#fffff3;background-image:-moz-linear-gradient(top,#fffee8,#fff);background-image:-ms-linear-gradient(top,#fffee8,#fff);background-image:-o-linear-gradient(top,#fffee8,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fffee8),to(#fff));background-image:-webkit-linear-gradient(top,#fffee8,#fff);background-image:linear-gradient(top,#fffee8,#fff)}input[type="submit"],input[type="button"],input[type="reset"],button{color:#404040;border-color:#ccc;background:#f6f6f6;background-image:-moz-linear-gradient(top,#fff,#eee);background-image:-ms-linear-gradient(top,#fff,#eee);background-image:-o-linear-gradient(top,#fff,#eee);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(top,#fff,#eee);text-shadow:0 1px 1px #ddd} 
  8: .primary input[type="submit"],.primary input[type="button"],.primary input[type="reset"],.primary button{color:#fafafa;background:#4897d9;border-color:#2575ae;text-shadow:0 -1px 1px rgba(0,0,0,0.4);box-shadow:0 1px 0 rgba(255,255,255,0.2) inset,0 1px 2px rgba(0,0,0,0.05);background-image:-moz-linear-gradient(top,#5cb7f7,#4897d9);background-image:-ms-linear-gradient(top,#5cb7f7,#4897d9);background-image:-o-linear-gradient(top,#5cb7f7,#4897d9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5cb7f7),to(#4897d9));background-image:-webkit-linear-gradient(top,#5cb7f7,#4897d9);background-image:linear-gradient(top,#5cb7f7,#4897d9)}.primary.caution input[type="submit"],.primary.caution input[type="button"],.primary.caution input[type="reset"],.primary.caution button{border-color:#c0372a;background:#d95548;background-image:-moz-linear-gradient(top,#f7655b,#d95548);background-image:-ms-linear-gradient(top,#f7655b,#d95548);background-image:-o-linear-gradient(top,#f7655b,#d95548);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f7655b),to(#d95548));background-image:-webkit-linear-gradient(top,#f7655b,#d95548);background-image:linear-gradient(top,#f7655b,#d95548)}input[type="submit"]:hover,input[type="submit"]:focus,input[type="reset"]:hover,input[type="reset"]:focus,input[type="button"]:hover,input[type="button"]:focus,button:hover,button:focus{color:#101010;background:#f3f3f3;background-image:-moz-linear-gradient(top,#fff,#ebebeb);background-image:-ms-linear-gradient(top,#fff,#ebebeb);background-image:-o-linear-gradient(top,#fff,#ebebeb);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#ebebeb));background-image:-webkit-linear-gradient(top,#fff,#ebebeb);background-image:linear-gradient(top,#fff,#ebebeb);border-color:#84bce4;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.1);box-shadow:0 1px 2px rgba(0,0,0,.1)}.primary input[type="submit"]:hover,.primary input[type="submit"]:focus,.primary input[type="reset"]:hover,.primary input[type="reset"]:focus,.primary input[type="button"]:hover,.primary input[type="button"]:focus,.primary button:hover,.primary button:focus{color:#fff;text-shadow:0 -1px 1px rgba(0,0,0,0.4);border-color:#2575ae;background:#2e8bd9;background-image:-moz-linear-gradient(top,#5cb7f7,#2e8bd9);background-image:-ms-linear-gradient(top,#5cb7f7,#2e8bd9);background-image:-o-linear-gradient(top,#5cb7f7,#2e8bd9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5cb7f7),to(#2e8bd9));background-image:-webkit-linear-gradient(top,#5cb7f7,#2e8bd9);background-image:linear-gradient(top,#5cb7f7,#2e8bd9);-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.2) inset,0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 0 rgba(255,255,255,0.2) inset,0 1px 2px rgba(0,0,0,.2)}.primary.caution input[type="submit"]:hover,.primary.caution input[type="submit"]:focus,.primary.caution input[type="button"]:hover,.primary.caution input[type="button"]:focus,.primary.caution input[type="reset"]:hover,.primary.caution input[type="reset"]:focus,.primary.caution button:hover,.primary.caution button:focus{border-color:#c0372a;background:#d93d2e;background-image:-moz-linear-gradient(top,#f7655b,#d93d2e);background-image:-ms-linear-gradient(top,#f7655b,#d93d2e);background-image:-o-linear-gradient(top,#f7655b,#d93d2e);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f7655b),to(#d93d2e));background-image:-webkit-linear-gradient(top,#f7655b,#d93d2e);background-image:linear-gradient(top,#f7655b,#d93d2e)}input[type="submit"][disabled],input[type="button"][disabled],input[type="reset"][disabled],button[disabled]{border-color:#ccc;color:#999}input[type="submit"][disabled]:hover,input[type="submit"][disabled]:focus,input[type="reset"][disabled]:hover,input[type="reset"][disabled]:focus,input[type="button"][disabled]:hover,input[type="button"][disabled]:focus,button[disabled]:hover,button[disabled]:focus{color:#999}#querytime{color:#999}.quiet{color:#999}.loud{color:#000}#brd-debug th{background:#fff;border:0;border-bottom:2px solid #dde4eb;color:#111}#brd-debug td{background:#fff;border:0;border-bottom:solid 1px #eee;color:#666} 
  9: #brd-messages span{color:#333;-webkit-border-bottom-right-radius:.3em;-webkit-border-bottom-left-radius:.3em;-moz-border-radius-bottomright:.3em;-moz-border-radius-bottomleft:.3em;border-bottom-right-radius:.3em;border-bottom-left-radius:.3em;-moz-box-shadow:0 2px 3px rgba(0,0,0,.2);-webkit-box-shadow:0 2px 3px rgba(0,0,0,.2);box-shadow:0 2px 3px rgba(0,0,0,.2)}#brd-messages .message_error{border-color:#ffe475;background:#ffbdac}#brd-messages .message_warning{border-color:#ffe475;background:#ffd0ac}#brd-messages .message_info{border-color:#ffe475;background:#ffc;background:-moz-linear-gradient(center top,#fffbea,#fef7cb);background:-o-linear-gradient(top,#fffbea,#fef7cb);background:-webkit-gradient(linear,0 0,0 100%,from(#fffbea),to(#fef7cb));background:-webkit-linear-gradient(top,#fffbea,#fef7cb);background:-ms-linear-gradient(top,#fffbea,#fef7cb);background:linear-gradient(top,#fffbea,#fef7cb)}::-moz-selection{background:#fff2a8;color:#000;text-shadow:none}::selection{background:#fff2a8;color:#000;text-shadow:none} 
 10:   1: 
   2: html,
   3: body,
   4: div,
   5: p,
   6: dl,
   7: dt,
   8: dd,
   9: ul,
  10: ol,
  11: li,
  12: h1,
  13: h2,
  14: h3,
  15: h4,
  16: h5,
  17: h6,
  18: pre,
  19: form,
  20: fieldset,
  21: legend,
  22: blockquote,
  23: table,
  24: th,
  25: td,
  26: input,
  27: textarea,
  28: button,
  29: select {
  30:     margin: 0;
  31:     padding: 0;
  32:     text-align: left
  33: }
  34: fieldset,
  35: img,
  36: cite {
  37:     border: 0
  38: }
  39: .visual-hidden {
  40:     visibility: hidden
  41: }
  42: br,
  43: hr,
  44: .hr,
  45: .hidden {
  46:     display: none
  47: }
  48: .border-less {
  49:     border: none!important
  50: }
  51: .small-font {
  52:     font-size: .917em
  53: }
  54: .list-clean {
  55:     list-style-type: none
  56: }
  57: .prepend-top {
  58:     margin-top: 1em!important
  59: }
  60: .nowrap {
  61:     white-space: nowrap
  62: }
  63: html {
  64:     height: 99%;
  65:     overflow-y: scroll
  66: }
  67: body {
  68:     font-size: 100%
  69: }
  70: .brd-page {
  71:     font: 75%/1.5em Verdana, Helvetica, Arial, sans-serif
  72: }
  73: h1,
  74: h2,
  75: h3,
  76: h4,
  77: h5,
  78: h6 {
  79:     font-size: 1em;
  80:     font-weight: normal
  81: }
  82: samp,
  83: code,
  84: pre,
  85: option,
  86: optgroup,
  87: input,
  88: select,
  89: textarea,
  90: td,
  91: th {
  92:     font-size: 1em;
  93:     font-family: Verdana, Helvetica, Arial, sans-serif;
  94:     font-style: normal;
  95:     font-weight: normal
  96: }
  97: samp,
  98: code,
  99: pre {
 100:     font-family: monospace, sans-serif;
 101:     white-space: pre-wrap;
 102:     word-wrap: break-word
 103: }
 104: .brd-page:after,
 105: .gen-content:after,
 106: .ct-box:after,
 107: #brd-index .item-head:after,
 108: #brd-index .main-item:after,
 109: #brd-index ul.item-info:after,
 110: .frm-group:after,
 111: .mf-set:after,
 112: .sf-set:after,
 113: .mf-box:after,
 114: .sf-box:after,
 115: .mf-item:after,
 116: .txt-set:after,
 117: .txt-box:after,
 118: .frm-form label:after,
 119: fieldset:after,
 120: span.fld-input:after,
 121: .posthead:after,
 122: .postbody:after,
 123: .postfoot .post-options:after {
 124:     content: "\0020";
 125:     display: block;
 126:     font-size: 0;
 127:     height: 0;
 128:     line-height: .0;
 129:     overflow: hidden;
 130:     visibility: hidden;
 131:     clear: both
 132: }
 133: .clearfix:before,
 134: .clearfix:after {
 135:     content: "\0020";
 136:     display: block;
 137:     height: 0;
 138:     overflow: hidden
 139: }
 140: .clearfix:after {
 141:     clear: both
 142: }
 143: .clearfix {
 144:     zoom: 1
 145: }
 146: #brd-stats .hn,
 147: #qjump label,
 148: .post-byline span,
 149: .posthead .post-link span,
 150: .admin .main-subhead,
 151: .main-item .item-info li span.label,
 152: .main-item .item-info li label,
 153: .main-item .you-posted,
 154: .main-item .item-num,
 155: .group-legend,
 156: .group-legend span,
 157: .sf-set legend,
 158: .sf-set legend span,
 159: .main-pagehead .page-info,
 160: p.item-select label,
 161: .mf-extra .mf-field label,
 162: .mf-extra .mf-field .aslabel,
 163: .item-subject .item-nav span,
 164: .post-options a span,
 165: .main-title,
 166: .main-head .hn small,
 167: .entry-title,
 168: .menu-page .main-head {
 169:     font-size: 0;
 170:     left: -999em;
 171:     text-indent: -999em;
 172:     position: absolute;
 173:     line-height: 0;
 174:     visibility: hidden
 175: }
 176: .brd {
 177:     padding: 1em 2em;
 178:     margin: 0 auto;
 179:     max-width: 1100px;
 180:     min-width: 700px;
 181:     width: 90%
 182: }
 183: #brd-redirect,
 184: #brd-maint,
 185: #brd-util {
 186:     margin: 50px auto 12px auto;
 187:     width: 60%
 188: }
 189: .brd-page {
 190:     float: left;
 191:     width: 100%;
 192:     position: relative
 193: }
 194: .main-content,
 195: .gen-content {
 196:     border-style: solid;
 197:     border-width: 1px
 198: }
 199: .gen-content {
 200:     padding: 0 1.5em
 201: }
 202: #brd-about,
 203: #brd-stats {
 204:     margin-top: 1em
 205: }
 206: .main-content,
 207: #brd-visit,
 208: #brd-qpost,
 209: #brd-announcement {
 210:     margin-bottom: 1em
 211: }
 212: #brd-announcement {
 213:     padding: .5em 1.5em;
 214:     margin-top: 1em
 215: }
 216: #brd-announcement br {
 217:     display: inline
 218: }
 219: .main-options {
 220:     border-top: 0;
 221:     margin: -1em 0 1em 0
 222: }
 223: #rules-content {
 224:     padding: 1.5em
 225: }
 226: #rules-content h1 {
 227:     font-size: 1.3em;
 228:     line-height: 1em;
 229:     margin-bottom: .7em
 230: }
 231: #rules-content h2 {
 232:     font-size: 1.2em;
 233:     font-weight: bold;
 234:     margin-bottom: .3em
 235: }
 236: #rules-content h3 {
 237:     font-size: 1.1em;
 238:     font-weight: bold
 239: }
 240: #rules-content h4,
 241: #rules-content h5 {
 242:     font-size: 1;
 243:     font-weight: bold
 244: }
 245: #rules-content p {
 246:     margin: 0 0 .65em
 247: }
 248: p,
 249: .hn {
 250:     padding: .35em 0
 251: }
 252: ul,
 253: ol {
 254:     padding: .35em 0 .35em 2em
 255: }
 256: ul.spaced {
 257:     padding: .25em 0 .25em 2em
 258: }
 259: .spaced li {
 260:     padding: .25em 0
 261: }
 262: th {
 263:     font-size: 1.084em;
 264:     padding: .462em 1.417em;
 265:     border-bottom-style: solid;
 266:     border-bottom-width: 1px
 267: }
 268: .main-head,
 269: .main-foot {
 270:     border-style: solid;
 271:     border-width: 1px;
 272:     padding: 0 1.417em
 273: }
 274: .main-head .hn,
 275: .main-foot .hn {
 276:     padding-right: 10em
 277: }
 278: h2.main-subhead {
 279:     border-style: solid;
 280:     border-width: 1px;
 281:     padding: .462em 10em .426em 1.417em
 282: }
 283: .column-title {
 284:     border-style: solid;
 285:     border-width: 1px;
 286:     position: relative;
 287:     margin-bottom: -1px
 288: }
 289: .main-subhead {
 290:     border-style: solid;
 291:     border-width: 1px;
 292:     border-bottom: 0
 293: }
 294: .main-subhead .hn {
 295:     padding: .462em 1.417em;
 296:     position: relative
 297: }
 298: .main-foot {
 299:     margin-top: -1em
 300: }
 301: #brd-announcement h1,
 302: .main-extensions .ct-legend,
 303: .main-hotfixes .ct-legend {
 304:     border-bottom-style: dashed;
 305:     border-bottom-width: 1px;
 306:     font-size: 1.1em;
 307:     font-weight: bold
 308: }
 309: #brd-announcement h1 {
 310:     margin-bottom: .5em
 311: }
 312: .main-pagehead .hn {
 313:     padding: .5em 0
 314: }
 315: .content-head {
 316:     margin: .5em 1.417em 0
 317: }
 318: .content-head .hn {
 319:     border-style: none none double none;
 320:     border-width: 3px;
 321:     padding: .462em 0
 322: }
 323: .options>span {
 324:     padding: 0 0 0 .3em;
 325:     margin: 0 0 0 .25em
 326: }
 327: .options .js_link {
 328:     padding: 0;
 329:     margin: 0 0 0 .55em
 330: }
 331: .options>span.first-item {
 332:     border-left: 0;
 333:     padding-left: 0;
 334:     margin-left: 0
 335: }
 336: .extension .options,
 337: .hotfix .options {
 338:     border-top-style: dashed;
 339:     border-top-width: 1px
 340: }
 341: .extension h3>em {
 342:     font-style: normal
 343: }
 344: .extension .data-list {
 345:     list-style-type: none;
 346:     padding-left: 0
 347: }
 348: .ct-box {
 349:     border-style: solid;
 350:     border-width: 1px;
 351:     -moz-border-radius: .35em;
 352:     -webkit-border-radius: .35em;
 353:     -khtml-border-radius: .35em;
 354:     border-radius: .35em;
 355:     margin: 1.417em;
 356:     padding: .5em 1em;
 357:     position: relative
 358: }
 359: .ct-box li {
 360:     padding: 0;
 361:     margin: 0 0 .7em 0
 362: }
 363: .ct-set {
 364:     border-style: solid;
 365:     border-width: 1px;
 366:     margin: 1.417em;
 367:     padding: 0 0 0 17em;
 368:     position: relative
 369: }
 370: .ct-group {
 371:     border-style: solid;
 372:     border-width: 1px;
 373:     margin: 1.417em
 374: }
 375: .frm-group .ct-set {
 376:     border-style: dashed none none none;
 377:     margin: 0
 378: }
 379: .ct-group .ct-set {
 380:     border-style: dashed none none none;
 381:     margin: 0 1em;
 382:     padding: 0 0 0 16em
 383: }
 384: .ct-group .group-item1 {
 385:     border: 0
 386: }
 387: .ct-group .set1,
 388: .frm-group .set1 {
 389:     border-top: 0
 390: }
 391: .ct-group .ct-box,
 392: .frm-group .ct-box {
 393:     border-style: none;
 394:     margin: 0
 395: }
 396: .ct-group .ct-set .ct-box,
 397: .ct-set .ct-box,
 398: .frm-group .ct-set .ct-box {
 399:     border-style: none;
 400:     margin: 0
 401: }
 402: .ct-group .set1 {
 403:     border-top: 0
 404: }
 405: .ct-set .ct-legend {
 406:     float: left;
 407:     margin-left: -17em;
 408:     width: 16em;
 409:     position: relative;
 410:     text-align: right;
 411:     font-weight: bold
 412: }
 413: .ct-set ul {
 414:     padding-left: 0;
 415:     list-style: none
 416: }
 417: .ct-box div {
 418:     padding: .35em 0
 419: }
 420: .ct-box p.options {
 421:     float: none
 422: }
 423: .ct-box .info-list {
 424:     padding-bottom: 0
 425: }
 426: .user-ident {
 427:     padding-left: 0;
 428:     list-style: none
 429: }
 430: .user-ident .username a,
 431: .user-ident .username strong {
 432:     font-size: 1.5em;
 433:     font-weight: normal
 434: }
 435: .user-ident .username a,
 436: .user-ident .username a:link,
 437: .user-ident .username a:visited {
 438:     text-decoration: none
 439: }
 440: .user-ident .username a:hover,
 441: .user-ident .username a:active,
 442: .user-ident .username a:focus {
 443:     text-decoration: underline
 444: }
 445: .user-ident .usertitle {
 446:     font-weight: bold
 447: }
 448: .user-ident .useravatar {
 449:     padding: .25em 0
 450: }
 451: .user-ident .useravatar img {
 452:     display: block
 453: }
 454: .main-message {
 455:     padding: .5em 1.417em
 456: }
 457: .main-message p span {
 458:     display: block;
 459:     padding-top: .5em
 460: }
 461: #brd-maint .main-message {
 462:     padding: 0
 463: }
 464: #brd-navlinks,
 465: .main-menu,
 466: .admin-menu {
 467:     padding: 0 .75em
 468: }
 469: .main-menu,
 470: .admin-menu {
 471:     border: 0
 472: }
 473: #brd-navlinks ul,
 474: .main-menu ul,
 475: .admin-menu ul {
 476:     list-style-type: none;
 477:     float: left;
 478:     padding: 0
 479: }
 480: #brd-navlinks li,
 481: .main-menu li,
 482: .admin-menu li {
 483:     float: left;
 484:     display: inline
 485: }
 486: #brd-navlinks a,
 487: .main-menu a,
 488: .admin-menu a {
 489:     float: left;
 490:     position: relative;
 491:     padding: .55em .7em
 492: }
 493: #brd-navlinks a {
 494:     padding: .43em .7em
 495: }
 496: #brd-navlinks li.first-item,
 497: .main-menu li.first-item,
 498: .admin-menu li.first-item {
 499:     border-left: 0
 500: }
 501: .admin-submenu {
 502:     border-style: solid;
 503:     border-width: 0 1px
 504: }
 505: .admin-submenu ul {
 506:     padding: .5em 0;
 507:     list-style: none
 508: }
 509: .admin-submenu li {
 510:     display: inline;
 511:     margin-right: .75em
 512: }
 513: .admin-submenu .active a {
 514:     font-weight: bold
 515: }
 516: #brd-head {
 517:     padding-bottom: .75em;
 518:     padding-top: 1em;
 519:     border-radius: .4em .4em 0 0
 520: }
 521: #brd-title {
 522:     padding-bottom: 0
 523: }
 524: #brd-title a,
 525: #brd-title strong {
 526:     font-size: 1.5em;
 527:     text-decoration: none;
 528:     font-weight: normal
 529: }
 530: #brd-desc {
 531:     padding-top: 0;
 532:     padding-bottom: 0
 533: }
 534: #brd-navlinks ul {
 535:     margin: 0;
 536:     float: left
 537: }
 538: #brd-navlinks li {
 539:     display: inline
 540: }
 541: #brd-navlinks li a {
 542:     text-decoration: none
 543: }
 544: ul#brd-admod {
 545:     float: right;
 546:     text-align: right
 547: }
 548: #brd-access {
 549:     text-align: right;
 550:     padding: 0;
 551:     height: 0;
 552:     margin: 0;
 553:     position: absolute;
 554:     background: transparent
 555: }
 556: #brd-access a,
 557: #brd-access a:link,
 558: #brd-access a:visited {
 559:     height: 2em;
 560:     line-height: 2em;
 561:     position: absolute;
 562:     left: -999em;
 563:     margin: 1px;
 564:     width: 12em
 565: }
 566: #brd-access a:hover,
 567: #brd-access a:active,
 568: #brd-access a:focus {
 569:     text-indent: 0;
 570:     background: #000;
 571:     position: static;
 572:     float: right
 573: }
 574: #brd-visit #welcome {
 575:     float: left
 576: }
 577: #brd-visit #visit-links {
 578:     text-align: right;
 579:     float: none
 580: }
 581: #brd-pagepost-end {
 582:     border-top: 0
 583: }
 584: #brd-pagepost-top {
 585:     border-bottom: 0
 586: }
 587: #brd-admin-bans #brd-pagepost-end {
 588:     margin-top: -1em
 589: }
 590: .paging {
 591:     float: left
 592: }
 593: .posting {
 594:     text-align: right;
 595:     float: right
 596: }
 597: .paging {
 598:     white-space: nowrap
 599: }
 600: .paging a,
 601: .paging strong,
 602: .paging span {
 603:     padding: 0 1em;
 604:     border-left-style: solid;
 605:     border-left-width: 1px;
 606:     float: left;
 607:     white-space: nowrap
 608: }
 609: .paging .first-item,
 610: .paging span.pages {
 611:     border-left: 0;
 612:     padding-left: 0
 613: }
 614: .posting .newpost {
 615:     font-size: 1.084em;
 616:     font-weight: bold
 617: }
 618: .crumbs .crumblast span {
 619:     font-weight: normal
 620: }
 621: .crumbs span,
 622: .crumbs a {
 623:     white-space: nowrap
 624: }
 625: .crumbs {
 626:     margin: .5em 0;
 627:     padding: 0 1.417em;
 628:     font-size: 1.084em
 629: }
 630: #brd-crumbs-top .crumblast {
 631:     font-size: 1.15em
 632: }
 633: #brd-stats ul {
 634:     list-style: none;
 635:     padding-left: 0
 636: }
 637: #brd-stats ul li.st-users {
 638:     float: left;
 639:     clear: both;
 640:     white-space: nowrap
 641: }
 642: #brd-stats ul li.st-activity {
 643:     text-align: right;
 644:     display: block;
 645:     white-space: nowrap
 646: }
 647: #brd-stats li strong {
 648:     font-weight: bold
 649: }
 650: #brd-online {
 651:     padding-top: .5em;
 652:     padding-bottom: .5em;
 653:     border-top: 0
 654: }
 655: #brd-online .hn,
 656: #brd-online p {
 657:     padding-bottom: 0;
 658:     padding-top: 0
 659: }
 660: #brd-online .hn {
 661:     float: left;
 662:     margin-right: .5em
 663: }
 664: #qjump {
 665:     float: left;
 666:     padding: .5em 0
 667: }
 668: #qjump div,
 669: #qjump label {
 670:     padding: 0;
 671:     border: 0
 672: }
 673: #copyright {
 674:     text-align: right;
 675:     margin: 0
 676: }
 677: #querytime {
 678:     text-align: right;
 679:     font-size: .917em;
 680:     padding: 0
 681: }
 682: #extensions-used {
 683:     border-bottom: 1px dotted
 684: }
 685: p.options {
 686:     border-top: 0;
 687:     float: right
 688: }
 689: .main-modoptions .options {
 690:     text-align: center
 691: }
 692: a.feed {
 693:     padding-left: 22px;
 694:     background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/INwWK6QAAAVZQTFRFzF0V2XIp2l4q3GEr3W4v3mUs3m8v3nAw33Ew4Got4HVF4XQw4Xgx4nA24nYx424u43kx43ky5Hsy5HxH5XQu5Xwy5X0y5nQv5n8z5otg53gv54Ez6Hkx6II06IM06IU16IlV6X456YU16Yg26n0x6oc16olJ638y64k17IEy7Io27JZj7oUz7oU07pFM7ppk7quJ7rKV741B751k8Ik08Ys18beX8o018pNC8qNm86Rn9JE29KZn9Kxz9LKA9L2Y9ZI39alo9b+Z9cCY9pQ39ptE95c496FQ961p98OZ99S++Jk5+J5E+K9p+LR1+L+O+Zo5+Z1B+Z9F+aVS+cib+de/+pw5+qJG+qxe+rNq+r6D+sOP+s6n+tOz+506+6lS+69e+7l3++bY/MKE/Nm1/OPN/dq1/d/B/eXN/fHm/ubO/uza/vHm/vLm/vfy/vjy//nz////L/lnWgAAAAJ0Uk5TEI9BVkHYAAAA50lEQVQY0yXOu07DMBSA4XNxnDtE4bYBFYxMMPAaPCoPg5gqBgRDSVtok1McO3awxPj904+ApSJFzIqZxrcZ8brXRcIZq5wK7Z65Cu1Vy/TvbBiV0vU9QPjcYfRGmIsjtkDJ8ZkO0bLnukL73f1WKoNOxPQxNI9taUTr9Gdr7IE4S6g6v21MDwtvZYoD9nU1YWOXhhpxnpTK58OX4Kl5gTtnvOKcFjyu00SvPOf7mZhOijTZvsOFLKGZAsW/GQbpoHZrwBDw5iET2RibTR9K70yC+GTjjxVn7BTmckDAS3bOT977ENjOfw1gcm/NBi+EAAAAAElFTkSuQmCC) center left no-repeat
 695: }
 696: .content-options,
 697: .ct-options {
 698:     float: right;
 699:     margin-top: -2.6em;
 700:     padding: .5em 1.417em;
 701:     position: relative
 702: }
 703: .item-summary {
 704:     height: 2.5em;
 705:     padding: 0;
 706:     position: relative;
 707:     font-size: 1em
 708: }
 709: .item-summary span {
 710:     width: 100%;
 711:     position: absolute;
 712:     left: -999em;
 713:     text-indent: -999em;
 714:     display: block
 715: }
 716: .item-summary strong {
 717:     position: absolute;
 718:     left: 999em;
 719:     text-indent: 0;
 720:     padding: .5em 0;
 721:     white-space: nowrap;
 722:     font-weight: normal
 723: }
 724: .item-summary strong:first-letter {
 725:     text-transform: uppercase
 726: }
 727: .item-summary .subject-title {
 728:     padding-left: 1.417em
 729: }
 730: .item-summary .info-topics,
 731: .item-summary .info-replies {
 732:     margin-left: 100%;
 733:     text-align: center;
 734:     width: 7em;
 735:     left: 965em
 736: }
 737: .item-summary .info-forum {
 738:     margin-left: 100%;
 739:     text-align: center;
 740:     width: 20em;
 741:     left: 952em
 742: }
 743: .item-summary .info-posts,
 744: .item-summary .info-views {
 745:     margin-left: 100%;
 746:     text-align: center;
 747:     width: 7em;
 748:     left: 972em
 749: }
 750: .item-summary .info-lastpost {
 751:     margin-left: 100%;
 752:     left: 980em
 753: }
 754: p.forum-noview .info-replies {
 755:     left: 972em
 756: }
 757: .main-content .main-item {
 758:     border-top-style: solid;
 759:     border-top-width: 1px;
 760:     overflow: hidden;
 761:     position: relative;
 762:     line-height: 1.4em
 763: }
 764: .main-content .main-first-item {
 765:     border-top: 0
 766: }
 767: .main-content .main-item ul {
 768:     float: right;
 769:     position: relative;
 770:     padding: 0;
 771:     list-style: none
 772: }
 773: .main-content .main-item p,
 774: .main-content .main-item .hn {
 775:     padding: 0
 776: }
 777: .hn .item-status {
 778:     font-weight: normal
 779: }
 780: .hn .item-status em {
 781:     font-style: normal
 782: }
 783: .main-item .item-subject,
 784: .main-content .main-item li {
 785:     float: left;
 786:     border-left-style: solid;
 787:     border-left-width: 1px;
 788:     margin: 0 -2px -9.7em 0;
 789:     position: relative;
 790:     padding-top: .6em;
 791:     padding-bottom: 10.4em
 792: }
 793: .main-item .item-subject {
 794:     overflow: hidden;
 795:     width: 100%
 796: }
 797: li.info-topics,
 798: li.info-posts,
 799: li.info-views,
 800: li.info-replies {
 801:     width: 7em;
 802:     text-align: center
 803: }
 804: li.info-forum {
 805:     width: 20em;
 806:     text-align: center
 807: }
 808: li.info-lastpost {
 809:     width: 20em
 810: }
 811: li.info-lastpost cite {
 812:     overflow: hidden;
 813:     width: 18em
 814: }
 815: .main-item li strong {
 816:     font-weight: normal
 817: }
 818: .main-content .main-item {
 819:     padding-right: 35em;
 820:     padding-left: 3.75em
 821: }
 822: .main-content .main-item .hn {
 823:     position: relative
 824: }
 825: .main-content .main-item ul {
 826:     width: 34em;
 827:     right: -35em;
 828:     margin-left: -34em
 829: }
 830: .forum-noview .main-item {
 831:     padding-right: 28em
 832: }
 833: .forum-noview .main-item ul {
 834:     width: 27em;
 835:     right: -28em;
 836:     margin-left: -27em
 837: }
 838: .forum-forums .main-item {
 839:     padding-right: 48em
 840: }
 841: .forum-forums .main-item ul {
 842:     width: 47em;
 843:     right: -48em;
 844:     margin-left: -47em
 845: }
 846: .item-subject span.modlist {
 847:     display: block
 848: }
 849: #brd-index .main-item .hn span {
 850:     font-size: 1.084em;
 851:     font-weight: bold
 852: }
 853: #brd-index .main-item .hn small {
 854:     font-size: 1em
 855: }
 856: .item-status {
 857:     font-weight: bold
 858: }
 859: .main-content .main-item cite {
 860:     font-style: normal
 861: }
 862: .item-nav,
 863: .item-nav a,
 864: .item-nav span {
 865:     white-space: nowrap;
 866:     font-style: normal
 867: }
 868: .item-subject .hn,
 869: .item-subject p {
 870:     margin: 0 0 0 1.5em
 871: }
 872: li.info-lastpost cite,
 873: li.info-lastpost span,
 874: li.info-forum a {
 875:     display: block;
 876:     padding: 0 1em;
 877:     font-style: normal;
 878:     font-weight: normal
 879: }
 880: li.info-lastpost strong {
 881:     padding: 0 0 0 1em;
 882:     font-style: normal;
 883:     font-weight: normal
 884: }
 885: .main-item li.info-select {
 886:     position: absolute;
 887:     right: 0;
 888:     top: 0;
 889:     padding: .3em;
 890:     border-style: none none solid solid;
 891:     border-width: 1px
 892: }
 893: .main-content .main-item .icon {
 894:     border-style: solid;
 895:     border-width: .5833em;
 896:     height: 0;
 897:     width: 0;
 898:     float: left;
 899:     margin-top: .667em;
 900:     margin-left: -2.417em
 901: }
 902: .main-content .main-item .hn .posted-mark {
 903:     position: absolute;
 904:     font-size: 2em;
 905:     width: 1em;
 906:     left: -0.5em;
 907:     top: 0
 908: }
 909: .frm-group {
 910:     border-top-style: dashed;
 911:     border-top-width: 1px;
 912:     margin: 1.417em;
 913:     padding: 1.3em 0 0
 914: }
 915: .group1 {
 916:     border-top: 0;
 917:     padding-top: 0
 918: }
 919: .sf-box,
 920: .mf-box,
 921: .txt-box {
 922:     margin: 1.417em;
 923:     padding: .5em 0;
 924:     position: relative
 925: }
 926: .sf-set,
 927: .mf-set,
 928: .txt-set {
 929:     margin: 1.417em;
 930:     padding: 0 0 0 17em;
 931:     position: relative
 932: }
 933: .sf-set .sf-box,
 934: .mf-set .mf-box,
 935: .txt-set .txt-box {
 936:     margin: 0
 937: }
 938: .frm-group .sf-set,
 939: .frm-group .mf-set,
 940: .frm-group .txt-set {
 941:     margin: 0
 942: }
 943: .text input {
 944:     font-size: 1.084em
 945: }
 946: select {
 947:     height: 25px;
 948:     *height: auto;
 949:     line-height: 25px;
 950:     padding-left: 3px
 951: }
 952: optgroup {
 953:     font-weight: bold
 954: }
 955: .frm-buttons {
 956:     margin: .75em 1.417em .8em 1.417em;
 957:     position: relative;
 958:     border-top-style: solid;
 959:     border-top-width: 1px;
 960:     padding: 1.1em 0 .3em 18em
 961: }
 962: .frm-buttons .submit {
 963:     margin-right: .75em
 964: }
 965: .frm-buttons .primary {
 966:     margin-right: 2em
 967: }
 968: .submit input,
 969: .cancel input {
 970:     overflow: visible;
 971:     padding-left: .5em;
 972:     padding-right: .5em;
 973:     font-size: 1.084em
 974: }
 975: .button-set .submit {
 976:     padding-left: 1em
 977: }
 978: button {
 979:     width: auto;
 980:     overflow: visible
 981: }
 982: label,
 983: input[type="button"],
 984: input[type="submit"],
 985: button,
 986: select {
 987:     cursor: pointer
 988: }
 989: input[type="submit"],
 990: input[type="button"],
 991: input[type="reset"],
 992: button {
 993:     display: inline-block;
 994:     vertical-align: baseline;
 995:     text-align: center;
 996:     text-decoration: none;
 997:     padding: .5em .6em;
 998:     -moz-border-radius: 2px;
 999:     -webkit-border-radius: 2px;
 1000:     -khtml-border-radius: 2px;
 1001:     border-radius: 2px;
 1002:     border-style: solid;
 1003:     border-width: 1px;
 1004:     -webkit-appearance: button;
 1005:     line-height: normal
 1006: }
 1007: input[type="submit"]::-moz-focus-inner,
 1008: input[type="button"]::-moz-focus-inner,
 1009: input[type="file"]::-moz-focus-inner,
 1010: input[type="reset"]::-moz-focus-inner,
 1011: button::-moz-focus-inner {
 1012:     border: 0;
 1013:     padding: 0
 1014: }
 1015: input[type="submit"]:active,
 1016: input[type="button"]:active,
 1017: input[type="reset"]:active,
 1018: button:active {
 1019:     position: relative;
 1020:     top: 1px
 1021: }
 1022: input[type="submit"][disabled]:active,
 1023: input[type="button"][disabled]:active,
 1024: input[type="reset"][disabled]:active,
 1025: button[disabled]:active {
 1026:     position: relative;
 1027:     top: 0
 1028: }
 1029: .primary input[type="submit"],
 1030: .primary input[type="button"],
 1031: .primary input[type="reset"],
 1032: .primary button {
 1033:     padding-left: 1.2em;
 1034:     padding-right: 1.2em
 1035: }
 1036: .js_link {
 1037:     border-bottom-style: dashed;
 1038:     border-bottom-width: 1px
 1039: }
 1040: .sf-box label,
 1041: .sf-box .aslabel {
 1042:     float: left;
 1043:     padding: 0
 1044: }
 1045: .sf-set .checkbox label {
 1046:     padding: 2px 0 2px 2.7em
 1047: }
 1048: .sf-set .text label span,
 1049: .sf-set .select label span,
 1050: .sf-set .aslabel span {
 1051:     float: left;
 1052:     margin-left: -17em;
 1053:     display: block;
 1054:     position: relative;
 1055:     padding: 2px 0 2px 1em;
 1056:     width: 16em;
 1057:     text-align: right
 1058: }
 1059: .sf-set .checkbox label span {
 1060:     float: left;
 1061:     margin-left: -18em;
 1062:     display: block;
 1063:     position: relative;
 1064:     padding: 0 0 0 2em;
 1065:     width: 16em;
 1066:     left: -3em;
 1067:     text-align: right;
 1068:     font-weight: bold
 1069: }
 1070: .sf-set .text label small,
 1071: .sf-set .select label small {
 1072:     display: block;
 1073:     text-align: left;
 1074:     position: relative;
 1075:     margin: 2em 1em 0 1em;
 1076:     padding-top: .25em;
 1077:     font-size: .917em
 1078: }
 1079: .sf-set .fld-input {
 1080:     position: absolute;
 1081:     top: 0;
 1082:     left: 0;
 1083:     display: block;
 1084:     padding: .5em 1em
 1085: }
 1086: .sf-set .checkbox input {
 1087:     margin: .2em 0 .2em -.1em
 1088: }
 1089: .sf-set .text input:not([title]) {
 1090:     height: 100%
 1091: }
 1092: .sf-set .sf-short input {
 1093:     width: 4em
 1094: }
 1095: .sf-set .sf-short label small {
 1096:     font-size: 1em;
 1097:     padding: 2px 0;
 1098:     margin: 0 1em 0 7em
 1099: }
 1100: input[type="radio"] {
 1101:     vertical-align: middle;
 1102:     bottom: 1px
 1103: }
 1104: input[type="checkbox"] {
 1105:     vertical-align: middle;
 1106:     bottom: 1px
 1107: }
 1108: table input[type="checkbox"] {
 1109:     vertical-align: baseline
 1110: }
 1111: .mf-box .mf-item {
 1112:     position: relative;
 1113:     top: -0.166em;
 1114:     padding: .3em 0
 1115: }
 1116: .mf-set legend {
 1117:     position: absolute;
 1118:     height: 0;
 1119:     background: transparent
 1120: }
 1121: .mf-set legend span {
 1122:     position: absolute;
 1123:     left: -17em;
 1124:     width: 16em;
 1125:     padding: .5em 1em;
 1126:     margin: 1px 0 2px 0;
 1127:     overflow: hidden;
 1128:     display: block;
 1129:     text-align: right;
 1130:     font-weight: bold
 1131: }
 1132: .mf-set legend span em {
 1133:     display: block;
 1134:     white-space: normal;
 1135:     font-style: normal;
 1136:     font-weight: normal;
 1137:     font-size: .917em
 1138: }
 1139: .mf-item .fld-input {
 1140:     position: absolute;
 1141:     top: .25em;
 1142:     left: 0;
 1143:     display: block;
 1144:     padding: 0 1em
 1145: }
 1146: .mf-item input {
 1147:     margin: .1em 0 .1em -.1em
 1148: }
 1149: .mf-item label {
 1150:     padding: 1px 0 1px 2.7em;
 1151:     float: left
 1152: }
 1153: .mf-set .mf-yesno .mf-item {
 1154:     width: 11em;
 1155:     float: left
 1156: }
 1157: .mf-set .mf-field {
 1158:     float: left;
 1159:     padding: 0 1em 0 1em;
 1160:     border-left: 1px solid #ccc
 1161: }
 1162: .mf-set .mf-field1 {
 1163:     border-left: none
 1164: }
 1165: .mf-set .mf-field label,
 1166: .mf-set .mf-field .aslabel {
 1167:     position: absolute;
 1168:     top: -2em;
 1169:     display: block
 1170: }
 1171: .mf-set .mf-cell .fld-input {
 1172:     position: static;
 1173:     padding: 0 0 0 1em;
 1174:     border-left: 1px solid #ccc
 1175: }
 1176: .frm-hdgroup {
 1177:     padding-top: 2em
 1178: }
 1179: .sf-set .sf-box .sf-forum {
 1180:     width: 25em
 1181: }
 1182: .mf-set .mf-box .forum-field {
 1183:     width: 25em
 1184: }
 1185: .checklist {
 1186:     min-height: 6em;
 1187:     max-height: 9em;
 1188:     max-width: 30em;
 1189:     overflow: auto;
 1190:     border-style: solid;
 1191:     border-width: 1px;
 1192:     position: relative;
 1193:     padding: .25em .5em;
 1194:     margin: 0 1em
 1195: }
 1196: .checklist fieldset {
 1197:     height: auto
 1198: }
 1199: .checklist legend,
 1200: .checklist legend span {
 1201:     font-weight: bold;
 1202:     position: static;
 1203:     padding: 0;
 1204:     height: auto;
 1205:     text-align: left
 1206: }
 1207: .checklist legend span {
 1208:     width: auto;
 1209:     max-width: 25em
 1210: }
 1211: .checklist-item {
 1212:     position: relative;
 1213:     height: auto
 1214: }
 1215: .checklist-item label {
 1216:     display: block;
 1217:     padding: 0 0 0 2.25em;
 1218:     float: none;
 1219:     height: 100%
 1220: }
 1221: .checklist-item .fld-input {
 1222:     position: absolute;
 1223:     left: 0;
 1224:     top: 0;
 1225:     padding: 0;
 1226:     margin: 0
 1227: }
 1228: .checklist-item input {
 1229:     margin: 0
 1230: }
 1231: .txt-box label {
 1232:     float: left
 1233: }
 1234: .txt-set label span {
 1235:     float: left;
 1236:     margin-left: -17em;
 1237:     display: block;
 1238:     position: relative;
 1239:     padding: 2px 1em;
 1240:     width: 16em;
 1241:     text-align: right
 1242: }
 1243: .txt-set label small {
 1244:     display: block;
 1245:     text-align: left;
 1246:     position: relative;
 1247:     margin: 0 1em 0 -1px;
 1248:     padding: 2px 1.25em;
 1249:     font-size: .917em;
 1250:     z-index: 100
 1251: }
 1252: .txt-set .txt-input {
 1253:     position: relative;
 1254:     width: 100%
 1255: }
 1256: .txt-set .fld-input {
 1257:     display: block;
 1258:     padding: 0 0 0 1em
 1259: }
 1260: .txt-set textarea {
 1261:     width: 95%;
 1262:     resize: vertical
 1263: }
 1264: input[type="text"],
 1265: input[type="password"],
 1266: input[type="email"],
 1267: input[type="url"],
 1268: input[type="search"],
 1269: input[type="number"],
 1270: textarea {
 1271:     border-width: 1px;
 1272:     border-style: solid;
 1273:     padding: .25em
 1274: }
 1275: #quick-search {
 1276:     padding: .1em .2em
 1277: }
 1278: .req-warn {
 1279:     display: none
 1280: }
 1281: #req-msg p em,
 1282: .required label span em {
 1283:     font-style: normal;
 1284:     font-weight: normal
 1285: }
 1286: .required label span em {
 1287:     float: left;
 1288:     font-size: .917em;
 1289:     line-height: 1.2em;
 1290:     width: 100%;
 1291:     position: relative
 1292: }
 1293: .req-error {
 1294:     display: block
 1295: }
 1296: .required label span {
 1297:     font-weight: bold
 1298: }
 1299: .post {
 1300:     border-style: solid;
 1301:     border-width: 1px;
 1302:     position: relative;
 1303:     margin: 1.417em;
 1304:     margin-top: -1.417em
 1305: }
 1306: .firstpost,
 1307: .singlepost {
 1308:     margin-top: 1.417em
 1309: }
 1310: .main-topic .lastpost {
 1311:     border-bottom: 0
 1312: }
 1313: .main-topic .post {
 1314:     border-style: solid none;
 1315:     margin: 0
 1316: }
 1317: .main-topic .firstpost {
 1318:     border-top: 0
 1319: }
 1320: .posthead {
 1321:     margin-left: 18em;
 1322:     border-style: none none none solid;
 1323:     border-width: 1px
 1324: }
 1325: .posthead .hn {
 1326:     padding-right: 1.5em;
 1327:     padding-left: 1em;
 1328:     border-style: none none dashed none;
 1329:     border-width: 1px
 1330: }
 1331: .posthead .post-byline a,
 1332: .posthead .post-byline strong {
 1333:     font-size: 1.167em;
 1334:     font-weight: bold;
 1335:     text-decoration: none;
 1336:     font-style: normal
 1337: }
 1338: .posthead .post-byline {
 1339:     float: left;
 1340:     width: 15.5em;
 1341:     padding: .5em 1em .5em 1.5em;
 1342:     margin-left: -19em;
 1343:     margin-top: -0.5em;
 1344:     position: relative;
 1345:     left: -1px;
 1346:     overflow: hidden
 1347: }
 1348: .posthead .post-num {
 1349:     float: right
 1350: }
 1351: #brd-modtopic .posthead .hn {
 1352:     padding-right: 2.7em
 1353: }
 1354: .post-title {
 1355:     padding: 0 1.5em .5em 1em;
 1356:     margin-top: -1px;
 1357:     position: relative
 1358: }
 1359: .post-title span {
 1360:     display: block;
 1361:     width: 100%;
 1362:     overflow: hidden
 1363: }
 1364: .post-title a {
 1365:     font-size: 1em;
 1366:     text-decoration: none;
 1367:     font-weight: bold
 1368: }
 1369: .post-title small,
 1370: .post-title small a {
 1371:     font-size: 1em;
 1372:     font-weight: normal;
 1373:     white-space: nowrap
 1374: }
 1375: .posthead p.item-select {
 1376:     position: absolute;
 1377:     top: 0;
 1378:     right: .75em;
 1379:     height: 2.5em
 1380: }
 1381: .postbody {
 1382:     margin-left: 18em;
 1383:     position: relative;
 1384:     border-left-style: solid;
 1385:     border-left-width: 1px;
 1386:     padding: .5em 1.5em 0 1em;
 1387:     clear: both
 1388: }
 1389: .postfoot {
 1390:     padding-left: 18em;
 1391:     border-top-style: none;
 1392:     border-top-width: 1px;
 1393:     position: relative
 1394: }
 1395: .postfoot .post-options {
 1396:     border-left-style: solid;
 1397:     border-left-width: 1px
 1398: }
 1399: .postbody .post-author {
 1400:     float: left;
 1401:     width: 15.5em;
 1402:     margin-left: -19em;
 1403:     left: -1px;
 1404:     position: relative;
 1405:     padding: 0 1em .5em 1.5em;
 1406:     overflow: hidden;
 1407:     margin-top: -1em
 1408: }
 1409: .postbody .post-author ul {
 1410:     margin: 0;
 1411:     padding: 0 0 .5em 0;
 1412:     list-style: none
 1413: }
 1414: .author-ident .useravatar img {
 1415:     display: block;
 1416:     padding: .5em 0
 1417: }
 1418: .author-ident .username {
 1419:     display: none
 1420: }
 1421: .author-ident .usertitle {
 1422:     font-weight: bold;
 1423:     line-height: normal
 1424: }
 1425: .author-ident .userstatus {
 1426:     padding: .75em 0 .25em 0;
 1427:     margin: 0;
 1428:     line-height: .75em;
 1429:     width: 100%
 1430: }
 1431: .author-ident .userstatus span {
 1432:     font-size: .917em;
 1433:     display: block;
 1434:     border-left-style: solid;
 1435:     border-left-width: .7em;
 1436:     text-indent: .5em
 1437: }
 1438: .author-info li span strong {
 1439:     font-weight: normal
 1440: }
 1441: .online .author-ident .userstatus span {
 1442:     font-weight: bold
 1443: }
 1444: .postfoot .post-contacts {
 1445:     float: left;
 1446:     margin-left: -18em;
 1447:     width: 15.5em;
 1448:     padding: .5em 1em .5em 1.5em;
 1449:     position: relative;
 1450:     left: -1px
 1451: }
 1452: .postfoot .post-actions {
 1453:     padding: .5em 1.5em .5em 1em;
 1454:     text-align: right;
 1455:     display: block;
 1456:     float: right
 1457: }
 1458: .postfoot .post-actions>span {
 1459:     margin-left: .75em
 1460: }
 1461: .postfoot .post-contacts>span {
 1462:     margin-right: .75em
 1463: }
 1464: .entry-content {
 1465:     padding-bottom: 2em;
 1466:     overflow: hidden;
 1467:     width: 100%;
 1468:     min-height: 7em
 1469: }
 1470: #brd-help .entry-content {
 1471:     min-height: 4em
 1472: }
 1473: .entry-content ol {
 1474:     padding-left: 2.5em;
 1475:     list-style-type: decimal
 1476: }
 1477: .entry-content ol p,
 1478: .entry-content ul p {
 1479:     padding: 0
 1480: }
 1481: .entry-content ol.alpha {
 1482:     list-style-type: upper-alpha
 1483: }
 1484: .entry-content h5 {
 1485:     font-weight: normal;
 1486:     font-size: 1.5em;
 1487:     line-height: 1.5em
 1488: }
 1489: .entry-content img {
 1490:     vertical-align: text-top;
 1491:     max-width: 100%
 1492: }
 1493: .entry-content .quotebox,
 1494: .entry-content .codebox {
 1495:     border-style: solid;
 1496:     border-width: 1px;
 1497:     margin: .75em 1em;
 1498:     padding: 1em .75em
 1499: }
 1500: .entry-content .codebox {
 1501:     font-size: .97em
 1502: }
 1503: .entry-content blockquote {
 1504:     overflow: hidden;
 1505:     width: 100%
 1506: }
 1507: .entry-content .quotebox cite {
 1508:     display: block;
 1509:     font-style: normal;
 1510:     font-weight: bold
 1511: }
 1512: .entry-content pre {
 1513:     margin: 0;
 1514:     max-height: 35em;
 1515:     min-height: 2em;
 1516:     overflow: auto;
 1517:     padding: 0 2% .1em 0;
 1518:     width: 98%
 1519: }
 1520: .entry-content span.bbu {
 1521:     text-decoration: underline
 1522: }
 1523: .entry-content br,
 1524: .sig-demo br,
 1525: .user-box br,
 1526: .main-message br {
 1527:     display: inline
 1528: }
 1529: .sig-content {
 1530:     padding-top: 2em;
 1531:     font-size: .95em
 1532: }
 1533: .sig-content a,
 1534: .sig-demo a {
 1535:     border-bottom: solid;
 1536:     border-width: 1px
 1537: }
 1538: span.sig-line {
 1539:     display: block;
 1540:     width: 200px;
 1541:     border-top-style: solid;
 1542:     border-top-width: 1px;
 1543:     padding-bottom: .5em
 1544: }
 1545: table {
 1546:     width: 100%;
 1547:     table-layout: fixed;
 1548:     empty-cells: show;
 1549:     border-spacing: 0;
 1550:     line-height: 1.3333em;
 1551:     border-collapse: collapse
 1552: }
 1553: td {
 1554:     overflow: hidden;
 1555:     vertical-align: middle
 1556: }
 1557: table caption {
 1558:     display: none
 1559: }
 1560: #brd-userlist table .tc0 {
 1561:     width: 30%
 1562: }
 1563: #brd-userlist table .tc1 {
 1564:     width: 20%;
 1565:     text-align: left
 1566: }
 1567: #brd-userlist table .tc2 {
 1568:     width: 10%;
 1569:     text-align: center
 1570: }
 1571: #brd-debug table {
 1572:     border: 0;
 1573:     font-size: .95em
 1574: }
 1575: #brd-debug .tcl {
 1576:     white-space: nowrap;
 1577:     width: 10%
 1578: }
 1579: #brd-debug .tcr {
 1580:     white-space: normal;
 1581:     width: 90%
 1582: }
 1583: #brd-admin-uresults table .tc0,
 1584: #brd-admin-iresults table .tc0 {
 1585:     width: 45%
 1586: }
 1587: #brd-admin-uresults table .tc1,
 1588: #brd-admin-iresults table .tc1,
 1589: #brd-admin-iresults table .tc2 {
 1590:     width: 20%
 1591: }
 1592: #brd-admin-uresults table .tc2,
 1593: #brd-admin-uresults table .tc4 {
 1594:     width: 10%;
 1595:     text-align: center
 1596: }
 1597: #brd-admin-uresults .tc3 {
 1598:     width: 15%
 1599: }
 1600: #brd-admin-uresults td.tc0 span,
 1601: #brd-admin-uresults td.tc3 span {
 1602:     display: block;
 1603:     white-space: nowrap
 1604: }
 1605: #brd-admin-iresults table .tc0 {
 1606:     width: 25%
 1607: }
 1608: #brd-admin-iresults table .tc1 {
 1609:     width: 25%
 1610: }
 1611: #brd-admin-iresults table .tc2 {
 1612:     width: 20%
 1613: }
 1614: #brd-admin-iresults .tc3 {
 1615:     width: 30%
 1616: }
 1617: .main-content th {
 1618:     font-size: 1.084em;
 1619:     padding: .462em 1.417em;
 1620:     font-weight: normal
 1621: }
 1622: td {
 1623:     padding: .5em 1.417em;
 1624:     border-width: 1px;
 1625:     border-style: solid none none solid
 1626: }
 1627: td.tc0 {
 1628:     border-left-style: none;
 1629:     border-left-width: 0
 1630: }
 1631: th {
 1632:     padding: .5em 1.3em;
 1633:     border-style: none
 1634: }
 1635: td.actions,
 1636: th.actions {
 1637:     text-align: right
 1638: }
 1639: td.actions span {
 1640:     display: block
 1641: }
 1642: .report {
 1643:     margin-left: 4em
 1644: }
 1645: .report h3 span {
 1646:     display: block;
 1647:     font-style: normal
 1648: }
 1649: .report h3 cite {
 1650:     font-style: normal;
 1651:     font-size: 1.084em;
 1652:     font-weight: bold
 1653: }
 1654: .report h3 strong {
 1655:     position: absolute;
 1656:     left: -3.1em;
 1657:     width: 1.5em;
 1658:     text-align: right;
 1659:     font-size: 1.167em
 1660: }
 1661: .report p strong {
 1662:     display: block;
 1663:     font-weight: normal;
 1664:     margin-top: 1em
 1665: }
 1666: .report h4 {
 1667:     border-bottom-style: dashed;
 1668:     border-bottom-width: 1px
 1669: }
 1670: #brd-admin-reports .frm-buttons {
 1671:     margin-left: 4em;
 1672:     margin-top: 0
 1673: }
 1674: #brd-admin-reports .select-all {
 1675:     float: right
 1676: }
 1677: .report .item-select {
 1678:     position: absolute;
 1679:     top: 0;
 1680:     right: .75em;
 1681:     height: 2.5em
 1682: }
 1683: .help-box samp {
 1684:     display: block;
 1685:     margin-left: 1.5em
 1686: }
 1687: .help-box h5 samp {
 1688:     margin-left: 1.417em
 1689: }
 1690: .help-box code {
 1691:     font-family: courier;
 1692:     font-size: 1.084em
 1693: }
 1694: .help-box .entry-content {
 1695:     padding: 0
 1696: }
 1697: .help-box .hn {
 1698:     padding-bottom: .5em;
 1699:     border-bottom-style: dashed;
 1700:     border-bottom-width: 1px;
 1701:     margin-bottom: .5em;
 1702:     color: #294f6e
 1703: }
 1704: #brd-messages {
 1705:     text-align: center;
 1706:     position: fixed;
 1707:     top: 0;
 1708:     z-index: 999;
 1709:     padding: 0;
 1710:     left: 0;
 1711:     right: 0
 1712: }
 1713: #brd-messages span {
 1714:     text-align: center;
 1715:     padding: .35em 1.3em;
 1716:     margin: 0 1em;
 1717:     font: 87%/1.5em Arial, sans-serif;
 1718:     font-weight: bold;
 1719:     line-height: 2em;
 1720:     border-width: 1px;
 1721:     border-style: solid
 1722: }
 1723: .ie6 a.feed,
 1724: .ie7 a.feed {
 1725:     background: url(feed-icon.png) center left no-repeat
 1726: }
 1727: .ie6 .brd-page,
 1728: .ie6 .main,
 1729: .ie6 #brd-index .main-subhead,
 1730: .ie6 .main-content .main-item,
 1731: .ie6 .main-content .main-item ul,
 1732: .ie6 .gen-content,
 1733: .ie6 .main-content,
 1734: .ie6 .ct-box,
 1735: .ie6 .frm-group,
 1736: .ie6 .mf-set,
 1737: .ie6 .sf-set,
 1738: .ie6 .mf-box,
 1739: .ie6 .sf-box,
 1740: .ie6 .mf-item,
 1741: .ie6 .txt-set,
 1742: .ie6 .txt-box,
 1743: .ie6 .frm-form label,
 1744: .ie6 fieldset,
 1745: .ie6 span.fld-input,
 1746: .ie6 .main-subhead .hn,
 1747: .ie6 .post,
 1748: .ie6 .posthead,
 1749: .ie6 .postbody,
 1750: .ie6 .post-entry,
 1751: .ie6 .postfoot .post-options {
 1752:     zoom: 1
 1753: }
 1754: .ie6 .ct-box ol,
 1755: .ie6 .ct-box ol li {
 1756:     zoom: normal
 1757: }
 1758: .ie6 .postfoot .post-contacts {
 1759:     position: absolute
 1760: }
 1761: .ie6 #brd-wrap fieldset {
 1762:     padding-top: 1px;
 1763:     position: relative
 1764: }
 1765: .ie6 fieldset legend {
 1766:     margin-left: -7px
 1767: }
 1768: .ie6 #brd-wrap .checklist {
 1769:     height: 9em;
 1770:     width: 30em;
 1771:     overflow: auto
 1772: }
 1773: .ie6 .sf-set .checkbox label span {
 1774:     padding-right: 0;
 1775:     padding-left: 5em
 1776: }
 1777: .ie6 #info-censored-intro,
 1778: .ie6 #info-ranks-intro {
 1779:     margin-bottom: 3em
 1780: }
 1781: .ie6 .important strong {
 1782:     margin-right: 1ex
 1783: }
 1784: .ie6 #brd-stats .st-users {
 1785:     margin-bottom: -1ex
 1786: }
 1787: .ie6 .txt-box label span {
 1788:     position: absolute
 1789: }
 1790: .ie6 #brd-index .main-head {
 1791:     position: relative
 1792: }
 1793: .ie6 input {
 1794:     vertical-align: text-bottom
 1795: }
 1796: .ie6 #extensions-used {
 1797:     clear: left
 1798: }
 1799: .oldie textarea {
 1800:     overflow: auto
 1801: }
 1802: .ie7 .brd-page,
 1803: .ie7 .main,
 1804: .ie7 #brd-index .main-subhead,
 1805: .ie7 #brd-index .forum-item,
 1806: .ie7 .gen-content,
 1807: .ie7 .main-content,
 1808: .ie7 .ct-box,
 1809: .ie7 .frm-group,
 1810: .ie7 .mf-set,
 1811: .ie7 .sf-set,
 1812: .ie7 .mf-box,
 1813: .ie7 .sf-box,
 1814: .ie7 .mf-item,
 1815: .ie7 .txt-set,
 1816: .ie7 .txt-box,
 1817: .ie7 .frm-group label,
 1818: .ie7 fieldset,
 1819: .ie7 span.fld-input,
 1820: .ie7 .main-subhead .hn,
 1821: .ie7 .post,
 1822: .ie7 .posthead,
 1823: .ie7 .postbody,
 1824: .ie7 .post-entry,
 1825: .ie7 .postfoot .post-options,
 1826: .ie7 #brd-stats ul {
 1827:     max-height: 100%;
 1828:     zoom: 1
 1829: }
 1830: .ie7 #brd-wrap fieldset {
 1831:     padding-top: 1px;
 1832:     position: relative
 1833: }
 1834: .ie7 fieldset legend {
 1835:     margin-left: -7px
 1836: }
 1837: .ie7 .entry-content .codebox pre {
 1838:     min-height: 3em
 1839: }
 1840: .ie7 #info-censored-intro,
 1841: .ie7 #info-ranks-intro {
 1842:     margin-bottom: 3em
 1843: }
 1844: .ie7 .main-forum .main-item .item-starter {
 1845:     margin-left: 1ex
 1846: }
 1847: .ie7 #brd-admin-settings-setup #fld19,
 1848: .ie7 #brd-post textarea#fld1,
 1849: .ie7 #brd-post textarea#fld2,
 1850: .ie7 #brd-viewtopic textarea#fld1,
 1851: .ie7 #brd-postedit #fld2 {
 1852:     margin-top: -19px
 1853: }
 1854: .ie7 .item-starter {
 1855:     position: relative;
 1856:     left: -0.5em
 1857: }
 1858: .ie7 input[type="checkbox"] {
 1859:     vertical-align: baseline
 1860: }
 1861: body {
 1862:     background: #fff;
 1863:     color: #222
 1864: }
 1865: a:focus {
 1866:     outline: 0
 1867: }
 1868: a:link,
 1869: a:visited,
 1870: .js_link {
 1871:     color: #00579c;
 1872:     text-decoration: none
 1873: }
 1874: a:hover,
 1875: a:active,
 1876: a:focus {
 1877:     color: #cd0021;
 1878:     text-decoration: underline
 1879: }
 1880: .js_link {
 1881:     cursor: pointer;
 1882:     border-color: #00579c;
 1883:     -moz-user-select: none;
 1884:     -webkit-user-select: none;
 1885:     user-select: none
 1886: }
 1887: .js_link:hover {
 1888:     color: #cd0021;
 1889:     border-color: #cd0021
 1890: }
 1891: .entry-content a:visited {
 1892:     color: #909
 1893: }
 1894: .entry-content a:visited:hover {
 1895:     color: #cd0021
 1896: }
 1897: .sig-content a,
 1898: .sig-content a:visited {
 1899:     color: #999;
 1900:     border-color: #ddd
 1901: }
 1902: .sig-content a:hover,
 1903: .sig-content a:active,
 1904: .sig-content a:focus,
 1905: .sig-content a:visited:hover {
 1906:     color: #333;
 1907:     border-color: #999;
 1908:     text-decoration: none
 1909: }
 1910: .entry-content h5 {
 1911:     color: #d93315
 1912: }
 1913: .gen-content,
 1914: .main-content {
 1915:     background: #fbfbfb;
 1916:     border-color: #d3dae1;
 1917:     border-bottom-color: #cbd1d8
 1918: }
 1919: .main-pagepost {
 1920:     background: #fff;
 1921:     border-color: #dde4eb
 1922: }
 1923: #brd-crumbs-top .crumblast a,
 1924: #brd-crumbs-top .crumblast a:hover {
 1925:     color: #111;
 1926:     text-decoration: none
 1927: }
 1928: .main-item,
 1929: .main-item li,
 1930: .main-item div,
 1931: td {
 1932:     border-color: #dde4eb
 1933: }
 1934: .main-content .main-item .item-nav {
 1935:     color: #888
 1936: }
 1937: .main-content .sticky {
 1938:     background: #f2f4fa
 1939: }
 1940: .main-content .main-item .hn .item-status em.sticky,
 1941: .main-content .main-item .hn .item-status em.closed {
 1942:     color: #314b60;
 1943:     font-weight: bold
 1944: }
 1945: .main-content .main-item .hn .item-status em.moved {
 1946:     color: #666
 1947: }
 1948: .post div,
 1949: h3.post-ident,
 1950: h4.post-title,
 1951: .posthead h3,
 1952: .userstatus span,
 1953: .sig-line {
 1954:     border-color: #dde4eb
 1955: }
 1956: .post-num,
 1957: .post-edit {
 1958:     color: #999
 1959: }
 1960: .post {
 1961:     border-color: #dde4eb;
 1962:     border-top-color: #fff;
 1963:     border-bottom-color: #ccc;
 1964:     background: #edf1f5
 1965: }
 1966: #topic-review .firstpost,
 1967: .singlepost {
 1968:     border-top-color: #dde4eb;
 1969:     border-bottom-color: #dde4eb
 1970: }
 1971: .posthead,
 1972: .postbody,
 1973: .post-options {
 1974:     background: #fafafa
 1975: }
 1976: .posthead .hn {
 1977:     background: #f1f1f1
 1978: }
 1979: .post-title small {
 1980:     color: #999
 1981: }
 1982: .sig-content {
 1983:     color: #999
 1984: }
 1985: .sig-demo {
 1986:     color: #333
 1987: }
 1988: .sig-demo a,
 1989: .sig-demo a:visited {
 1990:     color: #333;
 1991:     text-decoration: none;
 1992:     border-color: #bbb
 1993: }
 1994: .online .userstatus span {
 1995:     border-color: #3f9439
 1996: }
 1997: .ct-box,
 1998: .ct-set,
 1999: .ct-group,
 2000: .frm-group {
 2001:     border-color: #dbe0e4
 2002: }
 2003: .admin-page .ct-box {
 2004:     background: #feffe6
 2005: }
 2006: .admin-page .ct-set .ct-box,
 2007: .report {
 2008:     background: #f4f9fd
 2009: }
 2010: .admin-page .warn-set .warn-box {
 2011:     background: #feffe6
 2012: }
 2013: .main-frm .ct-group,
 2014: #brd-announcement {
 2015:     background: #f4f9fd
 2016: }
 2017: .main-content .info-box {
 2018:     background: #ffffe1
 2019: }
 2020: .main-extensions .extension,
 2021: .main-hotfixes .hotfix {
 2022:     background: #f4f9fd
 2023: }
 2024: .main-extensions .disabled,
 2025: .main-hotfixes .disabled {
 2026:     background: #ffffe1
 2027: }
 2028: .warn-group,
 2029: .warn-set,
 2030: .warn-box,
 2031: .error-box,
 2032: #admin-alerts {
 2033:     background: #feffe6;
 2034:     border-color: #f4ebce
 2035: }
 2036: .warn-group,
 2037: .warn-set,
 2038: .warn-box,
 2039: .error-box {
 2040:     border-color: #e6d190
 2041: }
 2042: .info-list li,
 2043: .error-list li {
 2044:     color: #5d5636
 2045: }
 2046: .info-list li span,
 2047: .error-list li span {
 2048:     color: #5d5636
 2049: }
 2050: ul li strong {
 2051:     color: #222
 2052: }
 2053: .user-box {
 2054:     background: #f4f9fd
 2055: }
 2056: .ct-box .hn {
 2057:     border-color: #dbe0e4;
 2058:     color: #333
 2059: }
 2060: .error-box .hn {
 2061:     color: #222
 2062: }
 2063: .help-box {
 2064:     background: #f4f4f4
 2065: }
 2066: .help-box .hn {
 2067:     color: #294f6e
 2068: }
 2069: #rules-content {
 2070:     background: #fff
 2071: }
 2072: .frm-buttons,
 2073: .extension .options,
 2074: .hotfix .options,
 2075: #rules-content {
 2076:     border-color: #e3e3e3
 2077: }
 2078: .checklist {
 2079:     background: #fff;
 2080:     border-color: #ccc
 2081: }
 2082: label,
 2083: .aslabel,
 2084: .mf-set legend,
 2085: .ct-legend,
 2086: .ct-legend span,
 2087: .ct-legend cite,
 2088: .ct-legend strong {
 2089:     color: #333
 2090: }
 2091: .paging span,
 2092: .paging a,
 2093: .paging strong {
 2094:     border-color: #dedfdf
 2095: }
 2096: .required label em,
 2097: #req-msg em,
 2098: .warn strong,
 2099: .important strong {
 2100:     color: #b42000
 2101: }
 2102: .sf-set .text label small,
 2103: .sf-set .select label small,
 2104: .txt-set .textarea label small {
 2105:     color: #999
 2106: }
 2107: .entry-content .quotebox,
 2108: .entry-content .codebox {
 2109:     background: #fff;
 2110:     border-color: #ddd
 2111: }
 2112: #brd-announcement .userbox {
 2113:     background: #f4f9fd none repeat scroll 0 0
 2114: }
 2115: .main-content .main-item .hn .posted-mark {
 2116:     color: #99C
 2117: }
 2118: .lastedit em {
 2119:     font-size: .95em;
 2120:     font-style: normal;
 2121:     color: #999
 2122: }
 2123: .user-ident .username strong {
 2124:     color: #222
 2125: }
 2126: #brd-navlinks {
 2127:     border-color: #376daa
 2128: }
 2129: #brd-navlinks a:link,
 2130: #brd-navlinks a:visited {
 2131:     color: #eee;
 2132:     text-decoration: none
 2133: }
 2134: .main-options,
 2135: .main-options span {
 2136:     background: #f1f1f1
 2137: }
 2138: #brd-navlinks,
 2139: .main-menu,
 2140: .admin-menu,
 2141: .main-head,
 2142: .main-foot {
 2143:     background-color: #0066b9;
 2144:     background-image: -moz-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
 2145:     background-image: -ms-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
 2146:     background-image: -o-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
 2147:     background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#2a6ab8), to(#4795cc));
 2148:     background-image: -webkit-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
 2149:     background-image: linear-gradient(bottom, #2a6ab8 0, #4795cc 100%)
 2150: }
 2151: .admin-submenu {
 2152:     background: #e4e4ec;
 2153:     border-color: #d3dae1
 2154: }
 2155: #brd-navlinks a:link,
 2156: #brd-navlinks a:visited,
 2157: .main-menu a:link,
 2158: .main-menu a:visited,
 2159: .admin-menu a:link,
 2160: .admin-menu a:visited {
 2161:     color: #eee;
 2162:     text-decoration: none;
 2163:     text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
 2164: }
 2165: #brd-navlinks a:hover,
 2166: #brd-navlinks a:active,
 2167: #brd-navlinks a:focus,
 2168: .main-menu a:hover,
 2169: .main-menu a:active,
 2170: .main-menu a:focus,
 2171: .admin-menu a:hover,
 2172: .admin-menu a:active,
 2173: .admin-menu a:focus {
 2174:     color: #fff
 2175: }
 2176: #brd-navlinks .isactive a,
 2177: .main-menu .active a,
 2178: .admin-menu .active a {
 2179:     color: #fff;
 2180:     background: #2a6ab8
 2181: }
 2182: #brd-admod #alert a {
 2183:     color: yellow;
 2184:     font-weight: bold
 2185: }
 2186: #brd-head {
 2187:     background: #f5f5f5;
 2188:     color: #222
 2189: }
 2190: #brd-head a,
 2191: #brd-head a:link,
 2192: #brd-head a:visited {
 2193:     color: #222
 2194: }
 2195: .main-head,
 2196: .main-foot {
 2197:     color: #fff;
 2198:     border-color: #4a86c1;
 2199:     text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15)
 2200: }
 2201: #brd-announcement h1 {
 2202:     border-color: #bbb
 2203: }
 2204: .main-subhead {
 2205:     border-color: #d3dae1 #D3DAE1 #cbd1d8 #D3DAE1;
 2206:     background: #f4f4f4
 2207: }
 2208: .column-title {
 2209:     border-color: #f4f4f4 #F4F4F4 #cbd1d8 #F4F4F4;
 2210:     background: #f4f4f4
 2211: }
 2212: .group-head {
 2213:     background: #edf1f5;
 2214:     border-color: #dbe0e4
 2215: }
 2216: .content-head .hn {
 2217:     border-color: #dbe0e4;
 2218:     color: #666
 2219: }
 2220: .main-head a:link,
 2221: .main-head a:visited,
 2222: .main-foot .options a:link,
 2223: .main-foot .options a:visited,
 2224: .main-head .js_link,
 2225: .main-foot .options .js_link {
 2226:     color: #ddd
 2227: }
 2228: .main-head .js_link,
 2229: .main-foot .options .js_link {
 2230:     border-color: #ccc
 2231: }
 2232: .main-head a:hover,
 2233: .main-head a:active,
 2234: .main-head a:focus,
 2235: .main-head .js_link:hover,
 2236: .main-foot .options a:hover,
 2237: .main-foot .options a:active,
 2238: .main-foot .options a:focus,
 2239: .main-foot .options .js_link:hover {
 2240:     color: #fff
 2241: }
 2242: .main-head .js_link:hover,
 2243: .main-foot .options .js_link:hover {
 2244:     border-color: #fff
 2245: }
 2246: th {
 2247:     background: #f4f4f4
 2248: }
 2249: .main-frm .ct-group td {
 2250:     background: #fbfbfb
 2251: }
 2252: #extensions-used {
 2253:     border-bottom-color: #999
 2254: }
 2255: .main-content .main-item .icon {
 2256:     border-color: #edf1f5 #DDE0E4 #c6cbd3 #BABFC6
 2257: }
 2258: .main-content .redirect .icon {
 2259:     border-color: #f4f4f4 #f4f4f4 #f4f4f4 #f4f4f4
 2260: }
 2261: .main-content .sticky .icon {
 2262:     border-color: #d7e5f3 #C3CFDc #9fb3c7 #90A2B4
 2263: }
 2264: .main-content .closed .icon {
 2265:     border-color: #acacac #979797 #898989 #7A7A7A
 2266: }
 2267: .main-content .sticky.closed .icon {
 2268:     border-color: #d7e5f3 #C3CFDc #898989 #7A7A7A
 2269: }
 2270: .main-content .new .icon {
 2271:     border-color: #0080d7 #0065C0 #0058b3 #0072CA
 2272: }
 2273: .checklist-item label {
 2274:     background: #fff
 2275: }
 2276: .checklist-item label:hover {
 2277:     background: #edf1f5
 2278: }
 2279: input[type="text"],
 2280: input[type="password"],
 2281: input[type="email"],
 2282: input[type="url"],
 2283: input[type="number"],
 2284: input[type="search"],
 2285: textarea {
 2286:     border-color: #d3dae1
 2287: }
 2288: input[type="text"]:active,
 2289: input[type="text"]:focus,
 2290: input[type="password"]:active,
 2291: input[type="password"]:focus,
 2292: input[type="email"]:active,
 2293: input[type="email"]:focus,
 2294: input[type="url"]:active,
 2295: input[type="url"]:focus,
 2296: input[type="search"]:active,
 2297: input[type="search"]:focus,
 2298: input[type="number"]:active,
 2299: input[type="number"]:focus,
 2300: textarea:active,
 2301: textarea:focus {
 2302:     border-color: #c8d3dc #D3DAE1 #d3dae1 #C8D3DC;
 2303:     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
 2304:     background: #fffff3;
 2305:     background-image: -moz-linear-gradient(top, #fffee8, #fff);
 2306:     background-image: -ms-linear-gradient(top, #fffee8, #fff);
 2307:     background-image: -o-linear-gradient(top, #fffee8, #fff);
 2308:     background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fffee8), to(#fff));
 2309:     background-image: -webkit-linear-gradient(top, #fffee8, #fff);
 2310:     background-image: linear-gradient(top, #fffee8, #fff)
 2311: }
 2312: input[type="submit"],
 2313: input[type="button"],
 2314: input[type="reset"],
 2315: button {
 2316:     color: #404040;
 2317:     border-color: #ccc;
 2318:     background: #f6f6f6;
 2319:     background-image: -moz-linear-gradient(top, #fff, #eee);
 2320:     background-image: -ms-linear-gradient(top, #fff, #eee);
 2321:     background-image: -o-linear-gradient(top, #fff, #eee);
 2322:     background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#eee));
 2323:     background-image: -webkit-linear-gradient(top, #fff, #eee);
 2324:     background-image: linear-gradient(top, #fff, #eee);
 2325:     text-shadow: 0 1px 1px #ddd
 2326: }
 2327: .primary input[type="submit"],
 2328: .primary input[type="button"],
 2329: .primary input[type="reset"],
 2330: .primary button {
 2331:     color: #fafafa;
 2332:     background: #4897d9;
 2333:     border-color: #2575ae;
 2334:     text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
 2335:     box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
 2336:     background-image: -moz-linear-gradient(top, #5cb7f7, #4897d9);
 2337:     background-image: -ms-linear-gradient(top, #5cb7f7, #4897d9);
 2338:     background-image: -o-linear-gradient(top, #5cb7f7, #4897d9);
 2339:     background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5cb7f7), to(#4897d9));
 2340:     background-image: -webkit-linear-gradient(top, #5cb7f7, #4897d9);
 2341:     background-image: linear-gradient(top, #5cb7f7, #4897d9)
 2342: }
 2343: .primary.caution input[type="submit"],
 2344: .primary.caution input[type="button"],
 2345: .primary.caution input[type="reset"],
 2346: .primary.caution button {
 2347:     border-color: #c0372a;
 2348:     background: #d95548;
 2349:     background-image: -moz-linear-gradient(top, #f7655b, #d95548);
 2350:     background-image: -ms-linear-gradient(top, #f7655b, #d95548);
 2351:     background-image: -o-linear-gradient(top, #f7655b, #d95548);
 2352:     background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f7655b), to(#d95548));
 2353:     background-image: -webkit-linear-gradient(top, #f7655b, #d95548);
 2354:     background-image: linear-gradient(top, #f7655b, #d95548)
 2355: }
 2356: input[type="submit"]:hover,
 2357: input[type="submit"]:focus,
 2358: input[type="reset"]:hover,
 2359: input[type="reset"]:focus,
 2360: input[type="button"]:hover,
 2361: input[type="button"]:focus,
 2362: button:hover,
 2363: button:focus {
 2364:     color: #101010;
 2365:     background: #f3f3f3;
 2366:     background-image: -moz-linear-gradient(top, #fff, #ebebeb);
 2367:     background-image: -ms-linear-gradient(top, #fff, #ebebeb);
 2368:     background-image: -o-linear-gradient(top, #fff, #ebebeb);
 2369:     background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#ebebeb));
 2370:     background-image: -webkit-linear-gradient(top, #fff, #ebebeb);
 2371:     background-image: linear-gradient(top, #fff, #ebebeb);
 2372:     border-color: #84bce4;
 2373:     -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
 2374:     box-shadow: 0 1px 2px rgba(0, 0, 0, .1)
 2375: }
 2376: .primary input[type="submit"]:hover,
 2377: .primary input[type="submit"]:focus,
 2378: .primary input[type="reset"]:hover,
 2379: .primary input[type="reset"]:focus,
 2380: .primary input[type="button"]:hover,
 2381: .primary input[type="button"]:focus,
 2382: .primary button:hover,
 2383: .primary button:focus {
 2384:     color: #fff;
 2385:     text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
 2386:     border-color: #2575ae;
 2387:     background: #2e8bd9;
 2388:     background-image: -moz-linear-gradient(top, #5cb7f7, #2e8bd9);
 2389:     background-image: -ms-linear-gradient(top, #5cb7f7, #2e8bd9);
 2390:     background-image: -o-linear-gradient(top, #5cb7f7, #2e8bd9);
 2391:     background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5cb7f7), to(#2e8bd9));
 2392:     background-image: -webkit-linear-gradient(top, #5cb7f7, #2e8bd9);
 2393:     background-image: linear-gradient(top, #5cb7f7, #2e8bd9);
 2394:     -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, .2);
 2395:     box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, .2)
 2396: }
 2397: .primary.caution input[type="submit"]:hover,
 2398: .primary.caution input[type="submit"]:focus,
 2399: .primary.caution input[type="button"]:hover,
 2400: .primary.caution input[type="button"]:focus,
 2401: .primary.caution input[type="reset"]:hover,
 2402: .primary.caution input[type="reset"]:focus,
 2403: .primary.caution button:hover,
 2404: .primary.caution button:focus {
 2405:     border-color: #c0372a;
 2406:     background: #d93d2e;
 2407:     background-image: -moz-linear-gradient(top, #f7655b, #d93d2e);
 2408:     background-image: -ms-linear-gradient(top, #f7655b, #d93d2e);
 2409:     background-image: -o-linear-gradient(top, #f7655b, #d93d2e);
 2410:     background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f7655b), to(#d93d2e));
 2411:     background-image: -webkit-linear-gradient(top, #f7655b, #d93d2e);
 2412:     background-image: linear-gradient(top, #f7655b, #d93d2e)
 2413: }
 2414: input[type="submit"][disabled],
 2415: input[type="button"][disabled],
 2416: input[type="reset"][disabled],
 2417: button[disabled] {
 2418:     border-color: #ccc;
 2419:     color: #999
 2420: }
 2421: input[type="submit"][disabled]:hover,
 2422: input[type="submit"][disabled]:focus,
 2423: input[type="reset"][disabled]:hover,
 2424: input[type="reset"][disabled]:focus,
 2425: input[type="button"][disabled]:hover,
 2426: input[type="button"][disabled]:focus,
 2427: button[disabled]:hover,
 2428: button[disabled]:focus {
 2429:     color: #999
 2430: }
 2431: #querytime {
 2432:     color: #999
 2433: }
 2434: .quiet {
 2435:     color: #999
 2436: }
 2437: .loud {
 2438:     color: #000
 2439: }
 2440: #brd-debug th {
 2441:     background: #fff;
 2442:     border: 0;
 2443:     border-bottom: 2px solid #dde4eb;
 2444:     color: #111
 2445: }
 2446: #brd-debug td {
 2447:     background: #fff;
 2448:     border: 0;
 2449:     border-bottom: solid 1px #eee;
 2450:     color: #666
 2451: }
 2452: #brd-messages span {
 2453:     color: #333;
 2454:     -webkit-border-bottom-right-radius: .3em;
 2455:     -webkit-border-bottom-left-radius: .3em;
 2456:     -moz-border-radius-bottomright: .3em;
 2457:     -moz-border-radius-bottomleft: .3em;
 2458:     border-bottom-right-radius: .3em;
 2459:     border-bottom-left-radius: .3em;
 2460:     -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, .2);
 2461:     -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .2);
 2462:     box-shadow: 0 2px 3px rgba(0, 0, 0, .2)
 2463: }
 2464: #brd-messages .message_error {
 2465:     border-color: #ffe475;
 2466:     background: #ffbdac
 2467: }
 2468: #brd-messages .message_warning {
 2469:     border-color: #ffe475;
 2470:     background: #ffd0ac
 2471: }
 2472: #brd-messages .message_info {
 2473:     border-color: #ffe475;
 2474:     background: #ffc;
 2475:     background: -moz-linear-gradient(center top, #fffbea, #fef7cb);
 2476:     background: -o-linear-gradient(top, #fffbea, #fef7cb);
 2477:     background: -webkit-gradient(linear, 0 0, 0 100%, from(#fffbea), to(#fef7cb));
 2478:     background: -webkit-linear-gradient(top, #fffbea, #fef7cb);
 2479:     background: -ms-linear-gradient(top, #fffbea, #fef7cb);
 2480:     background: linear-gradient(top, #fffbea, #fef7cb)
 2481: }
 2482: ::-moz-selection {
 2483:     background: #fff2a8;
 2484:     color: #000;
 2485:     text-shadow: none
 2486: }
 2487: ::selection {
 2488:     background: #fff2a8;
 2489:     color: #000;
 2490:     text-shadow: none
 2491: }
 2492: 
 2493: /*nav*/
 2494: .fixed {
 2495:   position: fixed;
 2496:   width: 100%;
 2497:   top: 0;
 2498:   left: 0;
 2499: }
 2500: 
 2501: .nav-collapse,
 2502: .nav-collapse * {
 2503:   -moz-box-sizing: border-box;
 2504:   -webkit-box-sizing: border-box;
 2505:   box-sizing: border-box;
 2506: }
 2507: 
 2508: 
 2509: 
 2510: @font-face {
 2511:   font-family: "responsivenav";
 2512:   src:url("font/responsivenav.eot");
 2513:   src:url("font/responsivenav.eot?#iefix") format("embedded-opentype"),
 2514:     url("font/responsivenav.ttf") format("truetype"),
 2515:     url("font/responsivenav.woff") format("woff"),
 2516:     url("font/responsivenav.svg#responsivenav") format("svg");
 2517:   font-weight: normal;
 2518:   font-style: normal;
 2519: }
 2520: a.nav-toggle{display:block; padding:0.43em 1.45em; clear:both; color:#fff; font-weight:bold; font-size:1.2em; height:38px; 
 2521:     -moz-box-sizing: border-box; 
 2522:     box-sizing: border-box;
 2523:     -webkit-font-smoothing: antialiased;
 2524:     -moz-osx-font-smoothing: grayscale;
 2525:     -webkit-touch-callout: none;
 2526:     -webkit-user-select: none;
 2527:     -moz-user-select: none;
 2528:     -ms-user-select: none;
 2529:     user-select: none;
 2530:     text-decoration: none;
 2531:     position: relative;
 2532:     overflow: hidden;
 2533:     background-color: #0066b9;
 2534:     background-image: -moz-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
 2535:     background-image: -ms-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
 2536:     background-image: -o-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
 2537:     background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#2a6ab8), to(#4795cc));
 2538:     background-image: -webkit-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
 2539:     background-image: linear-gradient(bottom, #2a6ab8 0, #4795cc 100%)
 2540: }
 2541: a.nav-toggle:hover,a.nav-toggle:focus{color:#fff; text-decoration:none;}
 2542: 
 2543: .nav-toggle:before {
 2544:   color: #fff;
 2545:   font-family: "responsivenav", sans-serif;
 2546:   font-style: normal;
 2547:   font-weight: normal;
 2548:   font-variant: normal;
 2549:   font-size: 28px;
 2550:   text-transform: none;
 2551:   position: absolute;
 2552:   content: "≡";
 2553:   text-indent: 0;
 2554:   text-align: center;
 2555:   line-height: 38px;
 2556:   speak: none;
 2557:   width: 50px;
 2558:   top: 0;
 2559:   right: 0;
 2560: }
 2561: 
 2562: .nav-toggle.active::before {
 2563:   font-size: 24px;
 2564:   content:"x";
 2565: }
 2566: 
 2567: 
 2568: 
 2569: .js .nav-collapse {
 2570:   clip: rect(0 0 0 0);
 2571:   max-height: 0;
 2572:   position: absolute;
 2573:   display: block;
 2574:   overflow: hidden;
 2575:   zoom: 1;
 2576: }
 2577: 
 2578: .nav-collapse.opened {
 2579:   max-height: 9999px;
 2580: }
 2581: 
 2582: .nav-toggle {
 2583:   -webkit-tap-highlight-color: rgba(0,0,0,0);
 2584:   -webkit-touch-callout: none;
 2585:   -webkit-user-select: none;
 2586:   -moz-user-select: none;
 2587:   -ms-user-select: none;
 2588:   -o-user-select: none;
 2589:   user-select: none;
 2590: }
 2591: 
 2592: @media screen and (min-width: 600px) {
 2593:   .js .nav-collapse {
 2594:     position: relative;
 2595:   }
 2596:   .js .nav-collapse.closed {
 2597:     max-height: none;
 2598:   }
 2599:   a.nav-toggle {
 2600:     display: none;
 2601:   }
 2602: }
 2603: 
 2604: 
 2605: 
 2606: 
 2607: 
 2608: 
 2609: 
 2610: 
 2611: 
 2612: 
 2613: 
 2614: 
 2615: 
 2616: 
 2617: .post-entry .entry-title{
 2618:     text-indent: 0;
 2619:     visibility: visible;
 2620:     font-size: 1.2em;
 2621:     line-height: 1.2;
 2622:     font-weight: bold;
 2623:     position: static;
 2624: }
 2625: .main-content .main-item .item-starter,
 2626: .main-content .main-item .info-lastpost cite{display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -o-text-overflow: ellipsis; width: 100%;}
 2627: .username, .nickname{display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -o-text-overflow: ellipsis; width: 100%;}
 2628: .posthead .post-byline a, .posthead .post-byline strong{display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -o-text-overflow: ellipsis; }
 2629: 
 2630: @media screen and (max-width: 1000px) {
 2631:     .forum-forums .main-item ul{width: 42em; right: -43em; margin-left: -42em;}
 2632:     .forum-forums .main-item{padding-right: 43em;}
 2633:     .forum-forums li.info-forum{width: 15em;}
 2634: }
 2635: 
 2636: @media screen and (max-width: 760px) {
 2637:     html{min-width:320px;}
 2638:     .brd{padding-left:0; padding-right:0; min-width:320px; width:auto;}
 2639:     #brd-visit #visit-links{clear:left; text-align:left;}
 2640:     
 2641:     /*main-content*/
 2642:     li.info-topics, li.info-posts, li.info-views, li.info-replies{width:5em;}
 2643:     li.info-lastpost{width:9em; padding-right: 1em;}
 2644:     li.info-lastpost strong{display:block;}
 2645:     
 2646:     .main-content .main-item ul{margin-left: -20em; right:-21em; width: 20em;}
 2647:     .main-content .main-item{padding-right:21em;}
 2648:     .item-summary .info-topics, .item-summary .info-replies{width:5em; left:979em;}
 2649:     .item-summary .info-posts, .item-summary .info-views{width:5em; left:984em;}
 2650:     .item-summary .info-lastpost{left: 989em;}
 2651:     .item-summary .info-forum{width:15em; left:969em;}
 2652:     p.forum-noview .info-replies{left:984em;}
 2653:     
 2654:     .forum-forums .main-item ul{margin-left: -30em; right:-31em; width: 30em;}
 2655:     .forum-forums .main-item{padding-right:31em;}
 2656:     li.info-forum{width:15em;}
 2657:   .main-item .item-subject, .main-content .main-item li{margin-bottom:-19.7em; padding-bottom: 20.4em;}
 2658:   .post-title small, .post-title small a{white-space: normal;}
 2659:   .crumbs span, .crumbs a{ white-space: normal; }
 2660:   .crumbs{overflow: hidden;}
 2661:   
 2662:     
 2663:     /*post*/
 2664:     .postbody, .posthead{margin-left:15em;}
 2665:   .postbody{overflow: hidden;}
 2666:     .postfoot{padding-left:15em;}
 2667:     .postbody .post-author, .posthead .post-byline{width:12.5em; margin-left:-16em;}
 2668:     .postfoot .post-contacts{width:12.5em; margin-left:-15em;}
 2669:     .postfoot .post-actions {text-align:left; float:none;}
 2670:     .postfoot .post-actions > span{margin:0; margin-bottom:0.5em; display:inline-block; vertical-align:top;}
 2671:     .postfoot .post-actions a{
 2672:         display: inline-block;
 2673:         vertical-align: baseline;
 2674:         text-align: center;
 2675:         text-decoration: none;
 2676:         padding: 0.5em 0.6em;
 2677:         border-radius: 2px;
 2678:         border-style: solid;
 2679:         border-width: 1px;
 2680:         line-height: normal;
 2681:         color: #fafafa;
 2682:         background: #4897d9; 
 2683:         border-color: #2575ae;
 2684:         text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
 2685:         box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
 2686:         background-image: -moz-linear-gradient(top, #5cb7f7, #4897d9);
 2687:         background-image: -ms-linear-gradient(top, #5cb7f7, #4897d9);
 2688:         background-image: -o-linear-gradient(top, #5cb7f7, #4897d9);
 2689:         background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5cb7f7), to(#4897d9));
 2690:         background-image: -webkit-linear-gradient(top, #5cb7f7, #4897d9);
 2691:         background-image: linear-gradient(top, #5cb7f7, #4897d9)
 2692:     }
 2693:     .postfoot .post-actions a:hover{
 2694:         color: #fff;
 2695:         text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
 2696:         border-color: #2575ae;
 2697:         background: #2e8bd9;
 2698:         background-image: -moz-linear-gradient(top, #5cb7f7, #2e8bd9);
 2699:         background-image: -ms-linear-gradient(top, #5cb7f7, #2e8bd9);
 2700:         background-image: -o-linear-gradient(top, #5cb7f7, #2e8bd9);
 2701:         background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5cb7f7), to(#2e8bd9));
 2702:         background-image: -webkit-linear-gradient(top, #5cb7f7, #2e8bd9);
 2703:         background-image: linear-gradient(top, #5cb7f7, #2e8bd9);
 2704:         -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, .2);
 2705:         box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, .2)
 2706:     }
 2707:     
 2708:     .fld-input{display:inline-block; max-width:100%;}
 2709:     .fld-input input, .fld-input select{max-width:100%;}
 2710:     
 2711:     p.options{float:none; margin-top:0;}
 2712:     .options a:link{/*white-space:nowrap;*/ line-height:1.5;}
 2713:     .options > span{display:inline-block; padding: 0 0.3em 0 0; margin:0.25em 0.25em 0.25em 0;}
 2714:     
 2715:     .frm-buttons>.submit{margin:0; display:inline-block;}
 2716:     
 2717:     /*footer*/
 2718:     #brd-about, #brd-stats{padding:0 1.5em 1em;}
 2719:     #qjump{padding:0;}
 2720:   #brd-stats ul li.st-users, #brd-stats ul li.st-activity{float:none; white-space:normal; text-align:left;}
 2721: }
 2722: @media screen and (max-width: 850px) {
 2723:     /*forum edit*/
 2724:     .frm-hdgroup{padding-top:0;}
 2725:     .frm-hdgroup .mf-set{padding-left:0; border-bottom:1px solid #DBE0E4;}
 2726:     .frm-hdgroup .mf-set legend{display:block; height:auto; position:static;}
 2727:     .frm-hdgroup .mf-set legend span{position:static; width:auto; margin:0; left:0; display:block;}
 2728:     .mf-set .mf-field label, .mf-set .mf-field .aslabel{position:static; top:auto; height:auto; text-indent:0; font-size:1em; line-height:normal; visibility:visible; display:none;}
 2729:     .mf-set .mf-field{float:none; border:none; padding:0;}
 2730:     .mf-set .mf-field .fld-input{display:inline-block; float:right;}
 2731:     .mf-set .mf-box .forum-field{width:auto; float:left; font-weight:bold; font-size:1.2em;}
 2732:     .mf-set .mf-field .fld-input input{width:100px;} 
 2733:     .mf-set legend span{font-weight:normal;}
 2734:     
 2735:     .frm-form .mf-set .mf-field .fld-input{float:none; display:block; margin-bottom:1em;}
 2736:     .frm-form .mf-set .mf-field .fld-input input{width:90%;}
 2737: }
 2738: 
 2739: @media screen and (min-width: 600px) and (max-width: 915px) {
 2740:     #brd-navlinks ul, ul#brd-admod {float: none; display: inline;}
 2741: }
 2742: 
 2743:    @media screen and (max-width: 600px) {
 2744:     /*body*/
 2745:     body{font-size:1.2em}
 2746:     /*header*/
 2747:     #brd-head {display: none !important;}
 2748:     /*nav*/
 2749:     ul#brd-admod,#brd-navlinks ul,#brd-navlinks ul, .main-menu ul, .admin-menu ul{float:none;}
 2750:     #brd-navlinks, .main-menu, .admin-menu{padding-left:0; padding-right:0; font-size:1.2em;}
 2751:     #brd-navlinks li, .main-menu li, .admin-menu li, #brd-navlinks a, .main-menu 
 2752:     a, .admin-menu a{float:none; display:block; margin:0; padding:0;}
 2753:     #brd-navlinks a, .main-menu a, .admin-menu a{padding:0.43em 1.45em;}
 2754:     #brd-navlinks li, .main-menu li, .admin-menu li{border-top:1px solid rgba(0,0,0,0.1)}
 2755:   
 2756:   #brd-navlinks li+li, .main-menu li+li, .admin-menu li+li{display: none;}
 2757:   #brd-navlinks.nav-collapse li+li, .main-menu.nav-collapse li+li, .admin-menu.nav-collapse li+li{display: block;}
 2758:     
 2759:     /*admin-submenu*/
 2760:     .admin-submenu{font-size:1.2em; line-height:1.5}
 2761:     .admin-submenu li{margin-right:0.5em; display:inline-block; margin-bottom:0.25em; margin-top:0.25em}
 2762:     .admin-submenu a{display:inline-block; white-space:nowrap;}
 2763:   
 2764:   .main-head .hn{padding-right: 0;}
 2765:     
 2766:     /*main-content*/
 2767:     li.info-topics, li.info-posts, li.info-views, li.info-replies{display:none;}
 2768:     .main-content .main-item ul{margin-left: -10em; right:-11em; width: 10em;}
 2769:     .main-content .main-item{padding-right:11em;}
 2770:     
 2771:     .item-summary .info-topics, .item-summary .info-replies,
 2772:     .item-summary .info-posts, .item-summary .info-views{display:none;}
 2773:     .item-summary .info-forum{width:15em; left:975em;}
 2774:     p.forum-noview .info-replies{display:none;}
 2775:     .item-summary .info-lastpost{width:9em; padding-left:1em;}
 2776:     
 2777:     .forum-forums .main-item ul{margin-left: -25em; right:-26em; width: 25em;}
 2778:     .forum-forums .main-item{padding-right:26em;}
 2779:     .postbody{padding-right: 1em;}
 2780:   .entry-content .codebox{font-size: 0.8em;}
 2781:   .entry-content pre{padding-right: 0.8em;}
 2782:     .posthead .post-byline a, .posthead .post-byline strong{font-size: 0.8em;}
 2783:     
 2784:     /*footer*/
 2785:     #copyright{text-align:center;}
 2786:     #qjump{float:none;}
 2787:     #qjump .frm-input{display:block; line-height:0;}
 2788:     #qjump-submit{height:0; padding:0;}
 2789:     #brd-about #qjump-select, #brd-stats #qjump-select{width:100%}
 2790:     
 2791:     /*post*/
 2792:     .postbody, .posthead{margin-left:10em;}
 2793:     .postfoot{padding-left:10em;}
 2794:     .postbody .post-author, .posthead .post-byline{width:7.5em; margin-left:-11em;}
 2795:     .postfoot .post-contacts{width:7.5em; margin-left:-10em;}
 2796:     .postbody .post-author ul.author-info{display:none;}
 2797:   p.posting{text-align: left; float: none; clear: both;}
 2798:   .item-newposts{margin: 0 -0.3em; font-size: 0.9em;}
 2799:   
 2800:     
 2801:     /*form set*/ 
 2802:     .ct-box{padding:0.5em 0;}
 2803:     .main-frm .ct-box{padding:0.5em 1em;}
 2804:     .sf-set, .mf-set, .txt-set, .ct-set{padding-left:0;}
 2805:     .txt-box label,
 2806:     .sf-box label, .sf-box .aslabel{float:none;}
 2807:     .txt-set label span,
 2808:     .sf-set .text label span, 
 2809:     .sf-set .select label span, 
 2810:     .sf-set .aslabel span, 
 2811:     .ct-set .ct-legend{float:none; width:auto; text-align:left; padding:2px 0; margin:0 0 2em 0;}
 2812:     .txt-set .fld-input{padding:0;}
 2813:     .sf-set .fld-input{padding:0; top:2.3em;}
 2814:     .sf-set .text label small, .sf-set .select label small{margin-left:0;}
 2815:     .frm-buttons{padding-left:0;}
 2816:     .sf-box.checkbox .fld-input{top:0.5em; left:0.5em;}
 2817:     .mf-set legend{position:static; height:auto; display:block;}
 2818:     .mf-set legend span{position:static; width:auto; text-align:left; padding:2px 0; margin:0;}
 2819:     /*user page*/
 2820:     .ct-group .ct-set{padding-left:0;}
 2821:     .ct-set .ct-legend{float:none; margin:0; width:auto; text-align:left;}
 2822:     .checklist{margin:0;}
 2823:     .button-set .submit{padding-left:0}
 2824:     
 2825:     /*user table*/
 2826:   /*
 2827:     #brd-userlist table .tc0, 
 2828:     #brd-userlist table .tc1, 
 2829:     #brd-userlist table .tc2, 
 2830:     #brd-userlist table .tc3{width:auto; padding: 0.4em 0.5em;}
 2831:     #brd-userlist table .tc2{width:7%; min-width:50px;}
 2832:   */
 2833:   #brd-userlist table,
 2834:   #brd-userlist table tbody,
 2835:   #brd-userlist table thead,
 2836:   #brd-userlist table tr,
 2837:   #brd-userlist table td{display: block;}
 2838:   #brd-userlist table th{display: none;}
 2839:   #brd-userlist table td{display: block; width: auto !important; text-align: left !important;}
 2840:   #brd-userlist table .even td{background: rgba(0,0,0,0.02);}
 2841:  
 2842:     
 2843: }
 2844: 
 2845: @media screen and (max-width: 560px) {
 2846:     /*main-content*/
 2847:     li.info-forum{width:10em; display: none;}
 2848:     .item-summary .info-forum{width:10em; left:979em; display: none;}
 2849:     .forum-forums .main-item ul{margin-left: -10em; right:-11em; width: 10em;}
 2850:     .forum-forums .main-item{padding-right:11em;}
 2851:     .author-ident .usertitle{font-size:12px;}
 2852: }
 2853: @media screen and (max-width: 460px) {
 2854:     /*main-content*/
 2855:     li.info-posts, li.info-views{display:none;}
 2856:     li.info-lastpost{display:none;}
 2857:     .item-summary .info-lastpost{display:none;}
 2858:     .item-summary .info-posts, .item-summary .info-views{/*display:block; left:994em; top:0;*/ display: none;}
 2859:     
 2860:     .main-content .main-item ul{margin-left: -5em; right:-6em; width: 5em; display: none;}
 2861:     .main-content .main-item{padding-right:0;}
 2862:     
 2863:     li.info-forum{display:none;}
 2864:     .forum-forums .main-item ul{margin-left: -10em; right:-11em; width: 10em;}
 2865:     .forum-forums .main-item{padding-right:11em;}
 2866:     .item-summary .info-forum{display:none;}
 2867:     p.forum-noview .info-lastpost{display:block; top:0;}
 2868:     .forum-forums li.info-lastpost{display:block;}    
 2869:     
 2870:     /*post*/
 2871:     .postbody, .posthead{margin-left:100px; }
 2872:     .postbody, .posthead .hn{padding-left:10px}
 2873:     .postfoot{padding-left:100px;}
 2874:     .postbody .post-author, .posthead .post-byline{width:80px; margin-left:-110px; padding-left:10px; padding-right:10px;}
 2875:     .postfoot .post-contacts{width:80px; margin-left:-100px;padding-left:10px; padding-right:10px;}
 2876:     .author-ident .usertitle{font-weight:normal;}
 2877: }


punbb-1.4.2/style/Oxygen/Oxygen.php punbb-1.4.3/style/Oxygen/Oxygen.php
  1: <?php  1: <?php
  2:   2: 
   3: $forum_loader->add_js($base_url. '/style/Oxygen/responsive-nav.min.js', array('weight' => 55, 'async' => false, 'group' => FORUM_JS_GROUP_SYSTEM));
  3: $forum_loader->add_css($base_url.'/style/Oxygen/Oxygen.min.css', array('type' => 'url', 'group' => FORUM_CSS_GROUP_SYSTEM, 'media' => 'screen'));  4: $forum_loader->add_css($base_url.'/style/Oxygen/Oxygen.min.css', array('type' => 'url', 'group' => FORUM_CSS_GROUP_SYSTEM, 'media' => 'screen'));
  4:   5: 
   6: $tpl_main = str_replace('<!-- forum_board_title -->', forum_htmlencode($forum_config['o_board_title']), $tpl_main);
   7: $tpl_main = str_replace('<!-- forum_lang_menu_admin -->', $lang_common['Menu admin'], $tpl_main);
   8: $tpl_main = str_replace('<!-- forum_lang_menu_profile -->', $lang_common['Menu profile'], $tpl_main);
   9: 
  5: ?> 10: ?>


punbb-1.4.2/style/Oxygen/responsive-nav.min.js punbb-1.4.3/style/Oxygen/responsive-nav.min.js
   1: !function(a,b,c){"use strict";var d=function(d,e){var f=!!b.getComputedStyle;f||(b.getComputedStyle=function(a){return this.el=a,this.getPropertyValue=function(b){var c=/(\-([a-z]){1})/g;return"float"===b&&(b="styleFloat"),c.test(b)&&(b=b.replace(c,function(){return arguments[2].toUpperCase()})),a.currentStyle[b]?a.currentStyle[b]:null},this});var g,h,i,j,k,l,m=function(a,b,c,d){if("addEventListener"in a)try{a.addEventListener(b,c,d)}catch(e){if("object"!=typeof c||!c.handleEvent)throw e;a.addEventListener(b,function(a){c.handleEvent.call(c,a)},d)}else"attachEvent"in a&&("object"==typeof c&&c.handleEvent?a.attachEvent("on"+b,function(){c.handleEvent.call(c)}):a.attachEvent("on"+b,c))},n=function(a,b,c,d){if("removeEventListener"in a)try{a.removeEventListener(b,c,d)}catch(e){if("object"!=typeof c||!c.handleEvent)throw e;a.removeEventListener(b,function(a){c.handleEvent.call(c,a)},d)}else"detachEvent"in a&&("object"==typeof c&&c.handleEvent?a.detachEvent("on"+b,function(){c.handleEvent.call(c)}):a.detachEvent("on"+b,c))},o=function(a){if(a.children.length<1)throw new Error("The Nav container has no containing elements");for(var b=[],c=0;c<a.children.length;c++)1===a.children[c].nodeType&&b.push(a.children[c]);return b},p=function(a,b){for(var c in b)a.setAttribute(c,b[c])},q=function(a,b){0!==a.className.indexOf(b)&&(a.className+=" "+b,a.className=a.className.replace(/(^\s*)|(\s*$)/g,""))},r=function(a,b){var c=new RegExp("(\\s|^)"+b+"(\\s|$)");a.className=a.className.replace(c," ").replace(/(^\s*)|(\s*$)/g,"")},s=function(a,b,c){for(var d=0;d<a.length;d++)b.call(c,d,a[d])},t=a.createElement("style"),u=a.documentElement,v=function(b,c){var d;this.options={animate:!0,transition:284,label:"Menu",insert:"before",customToggle:"",closeOnNavClick:!1,openPos:"relative",navClass:"nav-collapse",navActiveClass:"js-nav-active",jsClass:"js",init:function(){},open:function(){},close:function(){}};for(d in c)this.options[d]=c[d];if(q(u,this.options.jsClass),this.wrapperEl=b.replace("#",""),a.getElementById(this.wrapperEl))this.wrapper=a.getElementById(this.wrapperEl);else{if(!a.querySelector(this.wrapperEl))throw new Error("The nav element you are trying to select doesn't exist");this.wrapper=a.querySelector(this.wrapperEl)}this.wrapper.inner=o(this.wrapper),h=this.options,g=this.wrapper,this._init(this)};return v.prototype={destroy:function(){this._removeStyles(),r(g,"closed"),r(g,"opened"),r(g,h.navClass),r(g,h.navClass+"-"+this.index),r(u,h.navActiveClass),g.removeAttribute("style"),g.removeAttribute("aria-hidden"),n(b,"resize",this,!1),n(b,"focus",this,!1),n(a.body,"touchmove",this,!1),n(i,"touchstart",this,!1),n(i,"touchend",this,!1),n(i,"mouseup",this,!1),n(i,"keyup",this,!1),n(i,"click",this,!1),h.customToggle?i.removeAttribute("aria-hidden"):i.parentNode.removeChild(i)},toggle:function(){j===!0&&(l?this.close():this.open())},open:function(){l||(r(g,"closed"),q(g,"opened"),q(u,h.navActiveClass),q(i,"active"),g.style.position=h.openPos,p(g,{"aria-hidden":"false"}),l=!0,h.open())},close:function(){l&&(q(g,"closed"),r(g,"opened"),r(u,h.navActiveClass),r(i,"active"),p(g,{"aria-hidden":"true"}),h.animate?(j=!1,setTimeout(function(){g.style.position="absolute",j=!0},h.transition+10)):g.style.position="absolute",l=!1,h.close())},resize:function(){"none"!==b.getComputedStyle(i,null).getPropertyValue("display")?(k=!0,p(i,{"aria-hidden":"false"}),g.className.match(/(^|\s)closed(\s|$)/)&&(p(g,{"aria-hidden":"true"}),g.style.position="absolute"),this._createStyles(),this._calcHeight()):(k=!1,p(i,{"aria-hidden":"true"}),p(g,{"aria-hidden":"false"}),g.style.position=h.openPos,this._removeStyles())},handleEvent:function(a){var c=a||b.event;switch(c.type){case"touchstart":this._onTouchStart(c);break;case"touchmove":this._onTouchMove(c);break;case"touchend":case"mouseup":this._onTouchEnd(c);break;case"click":this._preventDefault(c);break;case"keyup":this._onKeyUp(c);break;case"focus":case"resize":this.resize(c)}},_init:function(){this.index=c++,q(g,h.navClass),q(g,h.navClass+"-"+this.index),q(g,"closed"),j=!0,l=!1,this._closeOnNavClick(),this._createToggle(),this._transitions(),this.resize();var d=this;setTimeout(function(){d.resize()},20),m(b,"resize",this,!1),m(b,"focus",this,!1),m(a.body,"touchmove",this,!1),m(i,"touchstart",this,!1),m(i,"touchend",this,!1),m(i,"mouseup",this,!1),m(i,"keyup",this,!1),m(i,"click",this,!1),h.init()},_createStyles:function(){t.parentNode||(t.type="text/css",a.getElementsByTagName("head")[0].appendChild(t))},_removeStyles:function(){t.parentNode&&t.parentNode.removeChild(t)},_createToggle:function(){if(h.customToggle){var b=h.customToggle.replace("#","");if(a.getElementById(b))i=a.getElementById(b);else{if(!a.querySelector(b))throw new Error("The custom nav toggle you are trying to select doesn't exist");i=a.querySelector(b)}}else{var c=a.createElement("a");c.innerHTML=h.label,p(c,{href:"#","class":"nav-toggle"}),"after"===h.insert?g.parentNode.insertBefore(c,g.nextSibling):g.parentNode.insertBefore(c,g),i=c}},_closeOnNavClick:function(){if(h.closeOnNavClick){var a=g.getElementsByTagName("a"),b=this;s(a,function(c){m(a[c],"click",function(){k&&b.toggle()},!1)})}},_preventDefault:function(a){return a.preventDefault?(a.stopImmediatePropagation&&a.stopImmediatePropagation(),a.preventDefault(),a.stopPropagation(),!1):void(a.returnValue=!1)},_onTouchStart:function(a){Event.prototype.stopImmediatePropagation||this._preventDefault(a),this.startX=a.touches[0].clientX,this.startY=a.touches[0].clientY,this.touchHasMoved=!1,n(i,"mouseup",this,!1)},_onTouchMove:function(a){(Math.abs(a.touches[0].clientX-this.startX)>10||Math.abs(a.touches[0].clientY-this.startY)>10)&&(this.touchHasMoved=!0)},_onTouchEnd:function(a){if(this._preventDefault(a),k&&!this.touchHasMoved){if("touchend"===a.type)return void this.toggle();var c=a||b.event;3!==c.which&&2!==c.button&&this.toggle()}},_onKeyUp:function(a){var c=a||b.event;13===c.keyCode&&this.toggle()},_transitions:function(){if(h.animate){var a=g.style,b="max-height "+h.transition+"ms";a.WebkitTransition=a.MozTransition=a.OTransition=a.transition=b}},_calcHeight:function(){for(var a=0,b=0;b<g.inner.length;b++)a+=g.inner[b].offsetHeight;var c="."+h.jsClass+" ."+h.navClass+"-"+this.index+".opened{max-height:"+a+"px !important} ."+h.jsClass+" ."+h.navClass+"-"+this.index+".opened.dropdown-active {max-height:9999px !important}";t.styleSheet?t.styleSheet.cssText=c:t.innerHTML=c,c=""}},new v(d,e)};"undefined"!=typeof module&&module.exports?module.exports=d:b.responsiveNav=d}(document,window,0);
  0:   2: