Permalink
Browse files

Wyjątki bez head

  • Loading branch information...
Inscure committed Jul 23, 2013
1 parent 2b5222c commit 04eaf88d9b7dd61b84ba90929d928883d3689243
@@ -111,17 +111,17 @@ public function path($ret)
}
catch(optException $exception)
{
optErrorHandler($exception);
optErrorHandler($exception, FALSE);
}
catch(systemException $exception)
{
systemErrorHandler($exception);
systemErrorHandler($exception, FALSE);
}
catch(userException $exception)
{
userErrorHandler($exception);
userErrorHandler($exception, FALSE);
}
catch(PDOException $exception)
{
PDOErrorHandler($exception);
PDOErrorHandler($exception, FALSE);
}
View
@@ -63,17 +63,17 @@
}
catch(optException $exception)
{
optErrorHandler($exception);
optErrorHandler($exception, FALSE);
}
catch(systemException $exception)
{
systemErrorHandler($exception);
systemErrorHandler($exception, FALSE);
}
catch(userException $exception)
{
userErrorHandler($exception);
userErrorHandler($exception, FALSE);
}
catch(PDOException $exception)
{
PDOErrorHandler($exception);
PDOErrorHandler($exception, FALSE);
}
@@ -1 +1 @@
<?php/*********************************************************| eXtreme-Fusion 5| Content Management System|| Copyright (c) 2005-2013 eXtreme-Fusion Crew| http://extreme-fusion.org/|| This program is released as free software under the| Affero GPL license. You can redistribute it and/or| modify it under the terms of this license which you| can read by viewing the included agpl.txt or online| at www.gnu.org/licenses/agpl.html. Removal of this| copyright header is strictly prohibited without| written permission from the original author(s).|********************************************************** ORIGINALLY BASED ON---------------------------------------------------------+| PHP-Fusion Content Management System| Copyright (C) 2002 - 2011 Nick Jones| http://www.php-fusion.co.uk/+--------------------------------------------------------+| Author: Nick Jones (Digitanium)| Author: Marcus Gottschalk (MarcusG)+--------------------------------------------------------+| This program is released as free software under the| Affero GPL license. You can redistribute it and/or| modify it under the terms of this license which you| can read by viewing the included agpl.txt or online| at www.gnu.org/licenses/agpl.html. Removal of this| copyright header is strictly prohibited without| written permission from the original author(s).+--------------------------------------------------------*/try{ require_once '../../../system/sitecore.php'; $rows = $_pdo->getMatchRowsCount('SELECT * FROM [chat_messages]'); $chat_settings = $_pdo->getRow('SELECT * FROM [chat_settings]'); $_sbb = $ec->sbb; echo'<script>$(document).ready(function(){$(\'#chat_post\').html('.$rows.');});</script>'; if ($rows) { if ($chat_settings['archive_limit'] == 0) { $result = $_pdo->getData('SELECT * FROM [chat_messages] ORDER BY `id` ASC'); } else { $result = $_pdo->getData('SELECT * FROM [chat_messages] ORDER BY `id` ASC LIMIT 0,'.intval($chat_settings['archive_limit'])); } $i =0; foreach ($result as $row) { echo '<div class="'.($i % 2 == 0 ? 'tbl1' : 'tbl2').'">'.$_user->getusername($row['user_id']).': '.$_sbb->parseAllTags($row['content']).' <span class="alt">'.date('d.m.Y H:i:s', $row['datestamp']).'</span></div>'; $i++; } }}catch(optException $exception){ optErrorHandler($exception);}catch(systemException $exception){ systemErrorHandler($exception);}catch(userException $exception){ userErrorHandler($exception);}catch(PDOException $exception){ PDOErrorHandler($exception);}
<?php/*********************************************************| eXtreme-Fusion 5| Content Management System|| Copyright (c) 2005-2013 eXtreme-Fusion Crew| http://extreme-fusion.org/|| This program is released as free software under the| Affero GPL license. You can redistribute it and/or| modify it under the terms of this license which you| can read by viewing the included agpl.txt or online| at www.gnu.org/licenses/agpl.html. Removal of this| copyright header is strictly prohibited without| written permission from the original author(s).|********************************************************** ORIGINALLY BASED ON---------------------------------------------------------+| PHP-Fusion Content Management System| Copyright (C) 2002 - 2011 Nick Jones| http://www.php-fusion.co.uk/+--------------------------------------------------------+| Author: Nick Jones (Digitanium)| Author: Marcus Gottschalk (MarcusG)+--------------------------------------------------------+| This program is released as free software under the| Affero GPL license. You can redistribute it and/or| modify it under the terms of this license which you| can read by viewing the included agpl.txt or online| at www.gnu.org/licenses/agpl.html. Removal of this| copyright header is strictly prohibited without| written permission from the original author(s).+--------------------------------------------------------*/try{ require_once '../../../system/sitecore.php'; $rows = $_pdo->getMatchRowsCount('SELECT * FROM [chat_messages]'); $chat_settings = $_pdo->getRow('SELECT * FROM [chat_settings]'); $_sbb = $ec->sbb; echo'<script>$(document).ready(function(){$(\'#chat_post\').html('.$rows.');});</script>'; if ($rows) { if ($chat_settings['archive_limit'] == 0) { $result = $_pdo->getData('SELECT * FROM [chat_messages] ORDER BY `id` ASC'); } else { $result = $_pdo->getData('SELECT * FROM [chat_messages] ORDER BY `id` ASC LIMIT 0,'.intval($chat_settings['archive_limit'])); } $i =0; foreach ($result as $row) { echo '<div class="'.($i % 2 == 0 ? 'tbl1' : 'tbl2').'">'.$_user->getusername($row['user_id']).': '.$_sbb->parseAllTags($row['content']).' <span class="alt">'.date('d.m.Y H:i:s', $row['datestamp']).'</span></div>'; $i++; } }}catch(optException $exception){ optErrorHandler($exception, FALSE);}catch(systemException $exception){ systemErrorHandler($exception, FALSE);}catch(userException $exception){ userErrorHandler($exception, FALSE);}catch(PDOException $exception){ PDOErrorHandler($exception, FALSE);}
@@ -53,17 +53,17 @@
}
catch(optException $exception)
{
optErrorHandler($exception);
optErrorHandler($exception, FALSE);
}
catch(systemException $exception)
{
systemErrorHandler($exception);
systemErrorHandler($exception, FALSE);
}
catch(userException $exception)
{
userErrorHandler($exception);
userErrorHandler($exception, FALSE);
}
catch(PDOException $exception)
{
PDOErrorHandler($exception);
PDOErrorHandler($exception, FALSE);
}
@@ -45,17 +45,17 @@
}
catch(optException $exception)
{
optErrorHandler($exception);
optErrorHandler($exception, FALSE);
}
catch(systemException $exception)
{
systemErrorHandler($exception);
systemErrorHandler($exception, FALSE);
}
catch(userException $exception)
{
userErrorHandler($exception);
userErrorHandler($exception, FALSE);
}
catch(PDOException $exception)
{
PDOErrorHandler($exception);
PDOErrorHandler($exception, FALSE);
}
@@ -52,17 +52,17 @@
}
catch(optException $exception)
{
optErrorHandler($exception);
optErrorHandler($exception, FALSE);
}
catch(systemException $exception)
{
systemErrorHandler($exception);
systemErrorHandler($exception, FALSE);
}
catch(userException $exception)
{
userErrorHandler($exception);
userErrorHandler($exception, FALSE);
}
catch(PDOException $exception)
{
PDOErrorHandler($exception);
PDOErrorHandler($exception, FALSE);
}
@@ -1 +1 @@
<?php/*********************************************************| eXtreme-Fusion 5| Content Management System|| Copyright (c) 2005-2013 eXtreme-Fusion Crew| http://extreme-fusion.org/|| This program is released as free software under the| Affero GPL license. You can redistribute it and/or| modify it under the terms of this license which you| can read by viewing the included agpl.txt or online| at www.gnu.org/licenses/agpl.html. Removal of this| copyright header is strictly prohibited without| written permission from the original author(s).*********************************************************/try{ require_once '../../../system/sitecore.php'; if ($_user->isLoggedIn()) { if(isset($_GET['GetGoogleAnalitics']) && $_GET['GetGoogleAnalitics'] === 'True') { if ($_user->hasPermission('module.google_analytics.preview')) { $row = $_pdo->getRow('SELECT * FROM [google_analytics_sett]'); $google_analytics = new Gapi($row['email'], $row['password']); $dimensions = array( 'source', 'networkDomain', 'browser', 'browserVersion', 'operatingSystem', 'operatingSystemVersion', 'country' ); $metrics = array( 'pageviews', 'visits' ); $google_analytics->requestReportData($row['account_id'], $dimensions, $metrics, '-visits'); $google_analytics_list = '{"aaData":['; if ( ! is_array($google_analytics->Error)) { foreach ($google_analytics->getResults() as $result) { $google_analytics_list .= '["'.$result->networkDomain().'","'.$result->source().'","'.$result->browser().' '.$result->browserVersion().'","'.$result->operatingSystem().' '.$result->operatingSystemVersion().'","'. $result->country().'","'.number_format($result->getPageviews(), 0, '', '.').'","'.number_format($result->getVisits(), 0, '', '.').'"],'; } } $google_analytics_list .= ']}'; $google_analytics_list = str_replace(',]}', ']}', $google_analytics_list); _e($google_analytics_list); } $google_analytics_list = '{"aaData":['; $google_analytics_list .= ']}'; _e($google_analytics_list); } }}catch(optException $exception){ optErrorHandler($exception);}catch(systemException $exception){ systemErrorHandler($exception);}catch(userException $exception){ userErrorHandler($exception);}catch(PDOException $exception){ PDOErrorHandler($exception);}
<?php/*********************************************************| eXtreme-Fusion 5| Content Management System|| Copyright (c) 2005-2013 eXtreme-Fusion Crew| http://extreme-fusion.org/|| This program is released as free software under the| Affero GPL license. You can redistribute it and/or| modify it under the terms of this license which you| can read by viewing the included agpl.txt or online| at www.gnu.org/licenses/agpl.html. Removal of this| copyright header is strictly prohibited without| written permission from the original author(s).*********************************************************/try{ require_once '../../../system/sitecore.php'; if ($_user->isLoggedIn()) { if(isset($_GET['GetGoogleAnalitics']) && $_GET['GetGoogleAnalitics'] === 'True') { if ($_user->hasPermission('module.google_analytics.preview')) { $row = $_pdo->getRow('SELECT * FROM [google_analytics_sett]'); $google_analytics = new Gapi($row['email'], $row['password']); $dimensions = array( 'source', 'networkDomain', 'browser', 'browserVersion', 'operatingSystem', 'operatingSystemVersion', 'country' ); $metrics = array( 'pageviews', 'visits' ); $google_analytics->requestReportData($row['account_id'], $dimensions, $metrics, '-visits'); $google_analytics_list = '{"aaData":['; if ( ! is_array($google_analytics->Error)) { foreach ($google_analytics->getResults() as $result) { $google_analytics_list .= '["'.$result->networkDomain().'","'.$result->source().'","'.$result->browser().' '.$result->browserVersion().'","'.$result->operatingSystem().' '.$result->operatingSystemVersion().'","'. $result->country().'","'.number_format($result->getPageviews(), 0, '', '.').'","'.number_format($result->getVisits(), 0, '', '.').'"],'; } } $google_analytics_list .= ']}'; $google_analytics_list = str_replace(',]}', ']}', $google_analytics_list); _e($google_analytics_list); } $google_analytics_list = '{"aaData":['; $google_analytics_list .= ']}'; _e($google_analytics_list); } }}catch(optException $exception){ optErrorHandler($exception, FALSE);}catch(systemException $exception){ systemErrorHandler($exception, FALSE);}catch(userException $exception){ userErrorHandler($exception, FALSE);}catch(PDOException $exception){ PDOErrorHandler($exception, FALSE);}
@@ -1 +1 @@
<?php/*********************************************************| eXtreme-Fusion 5| Content Management System|| Copyright (c) 2005-2013 eXtreme-Fusion Crew| http://extreme-fusion.org/|| This program is released as free software under the| Affero GPL license. You can redistribute it and/or| modify it under the terms of this license which you| can read by viewing the included agpl.txt or online| at www.gnu.org/licenses/agpl.html. Removal of this| copyright header is strictly prohibited without| written permission from the original author(s).| ********************************************************** ORIGINALLY BASED ON---------------------------------------------------------| PHP-Fusion Content Management System| Copyright (C) 2002 - 2011 Nick Jones| http://www.php-fusion.co.uk/+-------------------------------------------------------| Author: Nick Jones (Digitanium)+-------------------------------------------------------| This program is released as free software under the| Affero GPL license. You can redistribute it and/or| modify it under the terms of this license which you| can read by viewing the included agpl.txt or online| at www.gnu.org/licenses/agpl.html. Removal of this| copyright header is strictly prohibited without| written permission from the original author(s).+-------------------------------------------------------*/require_once '../../system/sitecore.php';try{ if ($_request->post('message_subject')->show()) { $item_id = $_pdo->getField('SELECT max(`item_id`) FROM [messages]'); $subject = $_request->post('message_subject')->show(); $subject = HELP::strip($subject); } else { $item_id = $_request->post('item_id')->isNum(TRUE); $subject = ''; } if ($_request->post('send')->show() && iUSER && $_request->post('message')->show() != '' && isNum($_request->post('to')->show())) { $result = $_pdo->exec('INSERT INTO [messages] (`to`, `from`, `item_id`, `message`, `subject`, `datestamp`) VALUES (:to, :from, :item_id, :message, :subject, :datestamp)', array( array(':to', $_request->post('to')->show(), PDO::PARAM_INT), array(':from', $_user->get('id'), PDO::PARAM_INT), array(':item_id', $item_id, PDO::PARAM_INT), array(':subject', $subject, PDO::PARAM_STR), array(':message', $_request->post('message')->strip(), PDO::PARAM_STR), array(':datestamp', time(), PDO::PARAM_INT) ) ); } if ($_request->post('message_subject')->show()) { _e($item_id); }}catch(optException $exception){ optErrorHandler($exception);}catch(systemException $exception){ systemErrorHandler($exception);}catch(userException $exception){ userErrorHandler($exception);}catch(PDOException $exception){ PDOErrorHandler($exception);}
<?php/*********************************************************| eXtreme-Fusion 5| Content Management System|| Copyright (c) 2005-2013 eXtreme-Fusion Crew| http://extreme-fusion.org/|| This program is released as free software under the| Affero GPL license. You can redistribute it and/or| modify it under the terms of this license which you| can read by viewing the included agpl.txt or online| at www.gnu.org/licenses/agpl.html. Removal of this| copyright header is strictly prohibited without| written permission from the original author(s).| ********************************************************** ORIGINALLY BASED ON---------------------------------------------------------| PHP-Fusion Content Management System| Copyright (C) 2002 - 2011 Nick Jones| http://www.php-fusion.co.uk/+-------------------------------------------------------| Author: Nick Jones (Digitanium)+-------------------------------------------------------| This program is released as free software under the| Affero GPL license. You can redistribute it and/or| modify it under the terms of this license which you| can read by viewing the included agpl.txt or online| at www.gnu.org/licenses/agpl.html. Removal of this| copyright header is strictly prohibited without| written permission from the original author(s).+-------------------------------------------------------*/require_once '../../system/sitecore.php';try{ if ($_request->post('message_subject')->show()) { $item_id = $_pdo->getField('SELECT max(`item_id`) FROM [messages]'); $subject = $_request->post('message_subject')->show(); $subject = HELP::strip($subject); } else { $item_id = $_request->post('item_id')->isNum(TRUE); $subject = ''; } if ($_request->post('send')->show() && iUSER && $_request->post('message')->show() != '' && isNum($_request->post('to')->show())) { $result = $_pdo->exec('INSERT INTO [messages] (`to`, `from`, `item_id`, `message`, `subject`, `datestamp`) VALUES (:to, :from, :item_id, :message, :subject, :datestamp)', array( array(':to', $_request->post('to')->show(), PDO::PARAM_INT), array(':from', $_user->get('id'), PDO::PARAM_INT), array(':item_id', $item_id, PDO::PARAM_INT), array(':subject', $subject, PDO::PARAM_STR), array(':message', $_request->post('message')->strip(), PDO::PARAM_STR), array(':datestamp', time(), PDO::PARAM_INT) ) ); } if ($_request->post('message_subject')->show()) { _e($item_id); }}catch(optException $exception){ optErrorHandler($exception, FALSE);}catch(systemException $exception){ systemErrorHandler($exception, FALSE);}catch(userException $exception){ userErrorHandler($exception, FALSE);}catch(PDOException $exception){ PDOErrorHandler($exception, FALSE);}
Oops, something went wrong.

0 comments on commit 04eaf88

Please sign in to comment.