PDA

View Full Version : test code, php and html bbcodes



napy8gen
02-12-2016, 11:19 AM
RewriteEngine OnRewriteBase /

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


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"><tr>
<td class="tcat">
<div class="normal" style="float:$stylevar[right]">
<if condition="$show['reportlink']"><a href="private.php?$session[sessionurl]do=report&amp;pmid=$pm[pmid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_private_message]" border="0" /></a> &nbsp;</if>
</div>
$vbphrase[private_message]<span class="normal">: $pm[original_title]</span>
</td>
</tr>
<if condition="$show['recipients']">
<tr>
<td class="alt1"><if condition="$ccrecipients"><strong>$vbphrase[recipients]</strong>: $ccrecipients<br /></if><if condition="$bccrecipients"><strong>$vbphrase[recipients] <span class="smallfont">($vbphrase[bcc])</span></strong>: $bccrecipients</if></td>
</tr>
</if> </table>


$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;
} }