Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.blancos.info
RewriteRule (.*) http://blancos.info/$1 [QSA,L,R=301]
#RewriteCond %{HTTP_HOST} ^www\.blancos\.info$ [NC]
#RewriteRule ^(.*)$ http://blancos.info/$1 [R=301]
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
Redirect 301 /table http://blancos.info/schedule-realmadrid
Redirect 301 /schedule-castilla http://blancos.info/schedule-realmadrid
Redirect 301 /laliga http://blancos.info/table-laliga
Redirect 301 /segunda http://blancos.info/table-laliga
Redirect 301 /table-segunda http://blancos.info/table-laliga
Redirect 301 /sostav http://www.realmadrid.com/en/football/squad
Redirect 301 /arts /forum/forumdisplay.php?f=41
Redirect 301 info/castilla/table/brieftable-marca_castilla-1213.php http://blancos.info/table-laliga
ErrorDocument 404 /404.php
ErrorDocument 500 /404.php
PHP Code:
$kr_array_debugmode = explode(",", $vbulletin->options['kr_debug_userid']);
if($vbulletin->options['kr_debug_onoff'] AND (in_array($vbulletin->userinfo['userid'], $kr_array_debugmode)))
{
$vbulletin->debug = true;
}
if(empty($vbulletin->options['kr_debug_userid']) OR $vbulletin->options['kr_debug_userid'] == '0')
{
$vbulletin->debug = false;
}
if($vbulletin->debug AND $vbulletin->options['kr_debug_onoff'] AND $vbulletin->input->clean_gpc('r', 'explain', TYPE_UINT))
{
switch (strtolower($vbulletin->config['Database']['dbtype']))
{
case 'mysql':
case '':
{
require_once(DIR . '/includes/class_database_explain.php');
$newdb =& new vB_Database_Explain($vbulletin);
break;
}
case 'mysqli':
{
require_once(DIR . '/includes/class_database_explain.php');
$newdb =& new vB_Database_MySQLi_Explain($vbulletin);
break;
}
}
if (!empty($newdb))
{
$newdb->appname = $db->appname;
$newdb->appshortname = $db->appshortname;
$newdb->database = $db->database;
$newdb->connection_master = $db->connection_master;
$newdb->connection_slave =& $newdb->connection_master;
$newdb->connection_recent = $db->connection_recent;
$newdb->multiserver = $db->multiserver;
$newdb->shutdownqueries = $db->shutdownqueries;
$newdb->sql = $db->sql;
$newdb->reporterror = $db->reporterror;
$newdb->error = $db->error;
$newdb->errno = $db->errno;
$newdb->maxpacket = $db->maxpacket;
$newdb->locked = $db->locked;
$newdb->querycount = $db->querycount;
$db = $newdb;
$vbulletin->db =& $db;
}
}
HTML Code:
<form action="private.php?do=managepm&dowhat=delete&pmid=$pm[pmid]" method="post">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('pm_delete')"><img id="collapseimg_pm_delete" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_pm_delete].gif" alt="" border="0" /></a>
$vbphrase[delete_this_message]
</td>
</tr>
</thead>
<tbody id="collapseobj_pm_delete" style="$vbcollapse[collapseobj_pm_delete]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>$vbphrase[delete_message]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>$vbphrase[delete_message_click_button]</td>
</tr>
<tr>
<td><label for="deletepm"><input type="checkbox" name="pm[$pm[pmid]]" id="deletepm" value="true" />$vbphrase[delete_this_message]</label></td>
</tr>
</table>
</fieldset>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="managepm" />
<input type="hidden" name="dowhat" value="delete" />
<input type="hidden" name="folderid" value="$pm[folderid]" />
<input type="submit" class="button" value="$vbphrase[delete_this_message]" />
</div>
</td>
</tr>
</tbody>
</table>
</form>