 s t a u r a r   e l   e q u i p o   a   u n   p u n t o   a n t e r i o r   e n   e l   t i e m p o         U   1SPS7x|!Ciq9             M i c r o s o f t . R e c o v e r y                 9   	  -   1SPSU(Ly9K-                                                                                 L              F                                                      @  ph&
DqdɆ  !9     q          :YDu8Ia  9   	  -   1SPSU(Ly9K-                                                  >?WiwS : : { 2 6 E E 0 6 6 8 - A 0 0 A - 4 4 D 7 - 9 3 7 1 - B E B 0 6 4 C 9 8 6 8 3 } \ 3 \ : : { 6 7 C A 7 6 5 0 - 9 6 E 6 - 4 F D D - B B 4 3 - A 8 E 7 7 4 F 7 3 A 5 7 } 綪eu                                                                                       >?Ǥ0uS : : { 2 6 E E 0 6 6 8 - A 0 0 A - 4 4 D 7 - 9 3 7 1 - B E B 0 6 4 C 9 8 6 8 3 } \ 0 \ : : { C 5 8 C 4 8 9 3 - 3 B E 0 - 4 B 4 5 - A B B 5 - A 6 3 E 4 B 8 C 8 6 5 1 } >y*;                                                                  L              F                                                      @  ph&
DqdɆ  !9    q          W9P RAS  9   	  -   1SPSU(Ly9K-                                                                             L              F                                                      @  ph&
DqdɆ  !9    q          dN}s  9   	  -   1SPSU(Ly9K-                                                                                           	       >?8s|0uS : : { 2 6 E E 0 6 6 8 - A 0 0 A - 4 4 D 7 - 9 3 7 1 - B E B 0 6 4 C 9 8 6 8 3 } \ 8 \ : : { 7 B 8 1 B E 6 A - C E 2 B - 4 6 7 6 - A 2 9 E - E B 9 0 7 A 5 1 2 6 C 5 } <)                                                                                       >?VRڦPtz : : { 2 6 E E 0 6 6 8 - A 0 0 A - 4 4 D 7 - 9 3 7 1 - B E B 0 6 4 C 9 8 6 8 3 } \ 0 \ : : { E D 7 B A 4 7 0 - 8 E 5 4 - 4 6 5 E 2 7                                                                                                             2 8                                                              (                                                                                                                                                                                                                                                                                                                                                            L              F                                                      @  ph&
DqdɆ  !9    q          +B}XEу/A  9   	  -   1SPSU(Ly9K-                                                                                                                                                                                                                                                                             - 8 2 5 C - 9 9 7 1 2 0 4 3 E 0 1 C } \ { 5 5 E A 0 2 3 B - F 9 6 1 - 4 C 4 B - 8 D 9 2 - 4 F 1 0 9 1 5 6 4 6 6 E }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             <?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin Blog 4.0.1 - Licence Number [#]DGT-LICENCE[#]
|| # ---------------------------------------------------------------- # ||
|| # Copyright 2000-2010 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('VB_PRODUCT', 'vbblog');
define('THIS_SCRIPT', 'blog_report');
define('CSRF_PROTECTION', true);
define('VBBLOG_PERMS', true);
define('VBBLOG_STYLE', true);
define('VBBLOG_SCRIPT', true);

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
	'vbblogglobal',
	'vbblogcat',
	'messaging',
	'postbit',
);

// get special data templates from the datastore
$specialtemplates = array('blogcategorycache');

// pre-cache templates used by all actions
$globaltemplates = array(
	'BLOG',
	'blog_css',
	'blog_usercss',
	'blog_header_custompage_link',
	'blog_sidebar_calendar',
	'blog_sidebar_calendar_day',
	'blog_sidebar_category_link',
	'blog_sidebar_comment_link',
	'blog_sidebar_custompage_link',
	'blog_sidebar_entry_link',
	'blog_sidebar_user_block_archive',
	'blog_sidebar_user_block_category',
	'blog_sidebar_user_block_comments',
	'blog_sidebar_user_block_entries',
	'blog_sidebar_user_block_search',
	'blog_sidebar_user_block_tagcloud',
	'blog_sidebar_user_block_visitors',
	'blog_sidebar_user_block_custom',
	'blog_reportitem',
	'blog_sidebar_user',
	'blog_tag_cloud_link',
	'memberinfo_visitorbit',
	'newpost_usernamecode',
	'ad_blog_sidebar_start',
	'ad_blog_sidebar_middle',
	'ad_blog_sidebar_end',
);

// pre-cache templates used by specific actions
$actiontemplates = array();

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once(DIR . '/includes/blog_init.php');
require_once(DIR . '/includes/class_reportitem.php');
require_once(DIR . '/includes/class_reportitem_blog.php');

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################

//check usergroup of user to see if they can use this
if (!$vbulletin->userinfo['userid'])
{
	print_no_permission();
}

$reportthread = ($rpforumid = $vbulletin->options['rpforumid'] AND $rpforuminfo = fetch_foruminfo($rpforumid));
$reportemail = ($vbulletin->options['enableemail'] AND $vbulletin->options['rpemail']);

if (!$reportthread AND !$reportemail)
{
	standard_error(fetch_error('emaildisabled'));
}

$navbits = array();
if ($blogid)
{
	$bloginfo = verify_blog($blogid);

	if ($blogtextinfo AND $blogtextinfo['blogtextid'] != $bloginfo['firstblogtextid'])
	{
		if (!fetch_comment_perm('canviewcomments', $bloginfo, $blogtextinfo))
		{
			print_no_permission();
		}

		$reportobj = new vB_ReportItem_Blog_Comment($vbulletin);
		$reportobj->set_extrainfo('blog', $bloginfo);
		$forminfo = $reportobj->set_forminfo($blogtextinfo);
	}
	else
	{
		$blogtextinfo = array();
		$bloginfo['blogtextid'] = $bloginfo['firstblogtextid'];
		$reportobj = new vB_ReportItem_Blog_Entry($vbulletin);
		$forminfo = $reportobj->set_forminfo($bloginfo);
	}

	if ($bloginfo['state'] == 'draft' OR $bloginfo['pending'])
	{
		standard_error(fetch_error('invalidid', $vbphrase['blog'], $vbulletin->options['contactuslink']));
	}

	$bloginfo['title_trimmed'] = fetch_trimmed_title($bloginfo['title']);

	// draw nav bar
	if ($blogtextinfo)
	{
		$navbits['blog.php?' . $vbulletin->session->vars['sessionurl'] . "bt=$blogtextinfo[blogtextid]"] = $bloginfo['title'];
	}
	else
	{
		$navbits['blog.php?' . $vbulletin->session->vars['sessionurl'] . "b=$bloginfo[blogid]"] = $bloginfo['title'];
	}
	$navbits[''] = $vbphrase['report_blog_entry'];
}
else
{
	$vbulletin->input->clean_array_gpc('r', array(
		'cp' => TYPE_UINT,
	));

	require_once(DIR . '/includes/blog_functions_usercp.php');
	$blockinfo = verify_blog_customblock($vbulletin->GPC['cp'], 'page');

	if (
			(
				$blockinfo['type'] == 'block'
					AND
				!$blockinfo['userinfo']['permissions']['vbblog_customblocks']
			)
				OR
			(
				$blockinfo['type'] == 'page'
					AND
				!$blockinfo['userinfo']['permissions']['vbblog_custompages']
			)
	)
	{
		print_no_permission();
	}

	$blockinfo['title_trimmed'] = fetch_trimmed_title($blockinfo['title']);

	$navbits['blog.php?' . $vbulletin->session->vars['sessionurl'] . "u={$blockinfo[userinfo][userid]}"] = $blockinfo['userinfo']['blog_title'];
	$navbits['blog.php?' . $vbulletin->session->vars['sessionurl'] . "cp=$blockinfo[customblockid]"] = $blockinfo['title'];
	$navbits[] = $vbphrase['report_custom_page'];

	$reportobj = new vB_ReportItem_Blog_Custom_Page($vbulletin);
	$reportobj->set_extrainfo('user', $blockinfo['userinfo']);
	$forminfo = $reportobj->set_forminfo($blockinfo);
}

($hook = vBulletinHook::fetch_hook('blog_report_start')) ? eval($hook) : false;

$perform_floodcheck = $reportobj->need_floodcheck();

if ($perform_floodcheck)
{
	$reportobj->perform_floodcheck_precommit();
}

if (empty($_POST['do']))
{
	$usernamecode = vB_Template::create('newpost_usernamecode')->render();

	($hook = vBulletinHook::fetch_hook('blog_report_form_start')) ? eval($hook) : false;

	$url = $vbulletin->url;
	$templater = vB_Template::create('blog_reportitem');
		$templater->register('forminfo', $forminfo);
		$templater->register('url', $url);
		$templater->register('usernamecode', $usernamecode);
	$content = $templater->render();
}

if ($_POST['do'] == 'sendemail')
{
	$vbulletin->input->clean_array_gpc('p', array(
		'reason'	=> TYPE_STR,
	));

	if ($vbulletin->GPC['reason'] == '')
	{
		standard_error(fetch_error('noreason'));
	}

	// trim the reason so it's not too long
	if ($vbulletin->options['postmaxchars'] > 0)
	{
		$trimmed_reason = substr($vbulletin->GPC['reason'], 0, $vbulletin->options['postmaxchars']);
	}
	else
	{
		$trimmed_reason = $vbulletin->GPC['reason'];
	}

	if ($perform_floodcheck)
	{
		$reportobj->perform_floodcheck_commit();
	}

	if ($blogid)
	{
		if ($blogtextinfo AND $blogtextinfo['blogtextid'] != $bloginfo['firstblogtextid'])
		{
			$reportobj->do_report($trimmed_reason, $blogtextinfo);
		}
		else
		{
			$reportobj->do_report($trimmed_reason, $bloginfo);
		}
	}
	else
	{
		$reportobj->do_report($trimmed_reason, $blockinfo);
	}

	eval(print_standard_redirect('redirect_reportthanks'));
}

($hook = vBulletinHook::fetch_hook('blog_report_complete')) ? eval($hook) : false;

// build navbar
if (empty($navbits))
{
	$navbits[] = $vbphrase['blogs'];
}
else
{
	$navbits = array_merge(array('blog.php' . $vbulletin->session->vars['sessionurl_q'] => $vbphrase['blogs']), $navbits);
}

if ($blockinfo)
{
	$sidebar =& build_user_sidebar($blockinfo['userinfo']);
}
else
{
	$sidebar =& build_user_sidebar($bloginfo);
}

$navbits = construct_navbits($navbits);

$navbar = render_navbar_template($navbits);
$headinclude .= vB_Template::create('blog_css')->render();
$templater = vB_Template::create('BLOG');
	$templater->register_page_templates();
	$templater->register('abouturl', $abouturl);
	$templater->register('blogheader', $blogheader);
	$templater->register('bloginfo', $bloginfo);
	$templater->register('blogrssinfo', $blogrssinfo);
	$templater->register('bloguserid', $bloguserid);
	$templater->register('content', $content);
	$templater->register('navbar', $navbar);
	$templater->register('onload', $onload);
	$templater->register('pagetitle', $pagetitle);
	$templater->register('pingbackurl', $pingbackurl);
	$templater->register('sidebar', $sidebar);
	$templater->register('trackbackurl', $trackbackurl);
	$templater->register('usercss_profile_preview', $usercss_profile_preview);
print_output($templater->render());

/*======================================================================*\
|| ####################################################################
|| # Downloaded: [#]DGT-DATE[#]
|| # SVN: $Revision: 32878 $
|| ####################################################################
\*======================================================================*/
?>     :	A 

   7 
D 
ө R- Ƈ, ),7&h "W"As1 &/2!^ *wBT .RFp 2a b@  쯪 6i/% : >" #
ުt BQ`5uP F-KAZ J&\6 N)"wH R/bm VF$ Z'& ^5A"  Rbbн fʫ jAӫ nk"1/ݫ rs;8A凮 g`  	r u` U 	Qm ʖ*q" W4y 'X%``M jwUU$K  % ZG/puw` UP UY'U@@Vo? UPUp!d -(`Un^ !PT0QU CP L!8 ,*8UA *` 9gJCP:s`! TGpLL%+`	pYP U`]i0^ ХE _[J4a0@Ae -wj 'd g.` V@ ة/z`J cТ 	a-	@U@  $ G1` *w82 Հ =0	msƮ aY	qAsԮ st r3e  ]aA@  I}лP  wn0 d  Q p8	 `* H ^P @ A W p 	-  R Г!" " &# #	^) &p(+  'ݱ  0 8   r8 +i  < C   |y ;	B>  k ><	>4< >   ^z =	>?   
>	x  0p{ ?
_ ˣ @	|?   | A	6 5 Oك D@ ???????????????????????????????         H#!?7 IJ"I KU2LBk MR NUbOKr PaQ/! RA p TM0  p `T U1~ W19   B XPnY b k gqq   ؂ o%ac s~a0	 ȃ },P5  
ɨ ~&AUWLVxp
=ʃ -`	7"˃ gT 	mU@	0̃ `M.`J*{A2̓ U U0
/	@X΃ Jv U %Bσ q-4R66`&Ѓ  7u  у 1`0qLP
p҃ `R2	U4GPӃ [U 8ԃ Ud3	`*Ypը Z*P9Aփ 2a)pce
B׃ 5:= %؃ 
