From 6179d79c3b1b8444f9e810da9d3d3a2a95de26f9 Mon Sep 17 00:00:00 2001 From: e3betht Date: Sun, 26 Apr 2015 20:06:29 -0500 Subject: [PATCH] Removing closing PHP tags --- cronjobs/blockupdate.php | 1 - cronjobs/cron_end.inc.php | 1 - cronjobs/findblock.php | 1 - cronjobs/notifications.php | 1 - cronjobs/pplns_payout.php | 1 - cronjobs/pps_payout.php | 1 - cronjobs/proportional_payout.php | 1 - cronjobs/shared.inc.php | 2 -- cronjobs/statistics.php | 1 - cronjobs/tables_cleanup.php | 1 - cronjobs/tickerupdate.php | 1 - include/admin_checks.php | 2 -- include/autoloader.inc.php | 2 -- include/bootstrap.php | 2 -- include/classes/base.class.php | 1 - include/classes/coins/coin_base.class.php | 2 -- include/classes/coins/coin_scrypt.class.php | 2 -- include/classes/coins/coin_scryptn.class.php | 2 -- include/classes/coins/coin_sha256d.class.php | 2 -- include/classes/coins/coin_x11.class.php | 2 -- include/classes/csrftoken.class.php | 1 - include/classes/debug.class.php | 1 - include/classes/invitation.class.php | 1 - include/classes/logger.class.php | 1 - include/classes/mail.class.php | 1 - include/classes/memcache_ad.class.php | 2 -- include/classes/news.class.php | 1 - include/classes/notification.class.php | 1 - include/classes/payout.class.php | 2 -- include/classes/statistics.class.php | 1 - include/classes/strict.class.php | 2 -- include/classes/transaction.class.php | 1 - include/classes/worker.class.php | 1 - include/config/error_codes.inc.php | 1 - include/config/global.inc.dist.php | 2 -- include/config/memcache_keys.inc.php | 1 - include/config/monitor_crons.inc.php | 2 -- include/config/security.inc.dist.php | 2 -- include/pages/account.inc.php | 1 - include/pages/account/earnings.inc.php | 2 -- include/pages/account/edit.inc.php | 1 - include/pages/account/invitations.inc.php | 1 - include/pages/account/notifications.inc.php | 2 -- include/pages/account/qrcode.inc.php | 1 - include/pages/account/reset_failed.inc.php | 1 - include/pages/account/transactions.inc.php | 1 - include/pages/account/unlock.inc.php | 2 -- include/pages/account/workers.inc.php | 3 --- include/pages/admin/news_edit.inc.php | 1 - include/pages/admin/newsletter.inc.php | 1 - include/pages/admin/poolworkers.inc.php | 2 -- include/pages/admin/registrations.inc.php | 1 - include/pages/admin/reports.inc.php | 1 - include/pages/admin/settings.inc.php | 1 - include/pages/admin/transactions.inc.php | 1 - include/pages/admin/user.inc.php | 1 - include/pages/admin/userdetails.inc.php | 1 - include/pages/admin/wallet.inc.php | 1 - include/pages/api/gettimesincelastblock.inc.php | 1 - include/pages/api/gettopcontributors.inc.php | 1 - include/pages/api/getuserbalance.inc.php | 1 - include/pages/api/getuserhashrate.inc.php | 1 - include/pages/api/getusersharerate.inc.php | 1 - include/pages/api/getuserstatus.inc.php | 1 - include/pages/api/getusertransactions.inc.php | 1 - include/pages/api/getuserworkers.inc.php | 1 - include/pages/api/public.inc.php | 1 - include/pages/contactform.inc.php | 1 - include/pages/contactform/contactform.inc.php | 2 -- include/pages/error/404.inc.php | 1 - include/pages/error/ratelimit.inc.php | 1 - include/pages/gettingstarted.inc.php | 1 - include/pages/home.inc.php | 1 - include/pages/login.inc.php | 2 -- include/pages/logout.inc.php | 1 - include/pages/news.inc.php | 1 - include/pages/password.inc.php | 2 -- include/pages/password/change.inc.php | 2 -- include/pages/password/reset.inc.php | 1 - include/pages/register.inc.php | 1 - include/pages/register/register.inc.php | 2 -- include/pages/statistics.inc.php | 1 - include/pages/statistics/graphs.inc.php | 1 - include/pages/tac.inc.php | 1 - include/pages/tacpop.inc.php | 1 - include/smarty.inc.php | 1 - include/smarty/libs/plugins/modifier.relative_date.php | 2 -- include/smarty_globals.inc.php | 1 - public/index.php | 2 -- scripts/51_percent_check.php | 1 - scripts/shared.inc.php | 1 - scripts/validate_blocks.php | 1 - 92 files changed, 120 deletions(-) diff --git a/cronjobs/blockupdate.php b/cronjobs/blockupdate.php index c1ef23b51..99b24d5b4 100755 --- a/cronjobs/blockupdate.php +++ b/cronjobs/blockupdate.php @@ -80,4 +80,3 @@ } require_once('cron_end.inc.php'); -?> diff --git a/cronjobs/cron_end.inc.php b/cronjobs/cron_end.inc.php index f0b9fd8a0..460e49c00 100644 --- a/cronjobs/cron_end.inc.php +++ b/cronjobs/cron_end.inc.php @@ -22,4 +22,3 @@ $monitoring->endCronjob($cron_name, 'OK', 0, false, false); $monitoring->setStatus($cron_name . "_runtime", "time", microtime(true) - $cron_start[$cron_name]); $monitoring->setStatus($cron_name . "_endtime", "date", time()); -?> diff --git a/cronjobs/findblock.php b/cronjobs/findblock.php index 3516fe2c6..75991e943 100755 --- a/cronjobs/findblock.php +++ b/cronjobs/findblock.php @@ -178,4 +178,3 @@ } require_once('cron_end.inc.php'); -?> diff --git a/cronjobs/notifications.php b/cronjobs/notifications.php index ffbc69431..6d590d77a 100755 --- a/cronjobs/notifications.php +++ b/cronjobs/notifications.php @@ -75,4 +75,3 @@ } require_once('cron_end.inc.php'); -?> diff --git a/cronjobs/pplns_payout.php b/cronjobs/pplns_payout.php index 832f6e59d..00c8fc926 100755 --- a/cronjobs/pplns_payout.php +++ b/cronjobs/pplns_payout.php @@ -289,4 +289,3 @@ } require_once('cron_end.inc.php'); -?> diff --git a/cronjobs/pps_payout.php b/cronjobs/pps_payout.php index f35f15605..7fd7e1382 100755 --- a/cronjobs/pps_payout.php +++ b/cronjobs/pps_payout.php @@ -200,4 +200,3 @@ $log->logInfo("Completed PPS Payout"); require_once('cron_end.inc.php'); -?> diff --git a/cronjobs/proportional_payout.php b/cronjobs/proportional_payout.php index faf4e53ae..98911bc2f 100755 --- a/cronjobs/proportional_payout.php +++ b/cronjobs/proportional_payout.php @@ -169,4 +169,3 @@ } require_once('cron_end.inc.php'); -?> diff --git a/cronjobs/shared.inc.php b/cronjobs/shared.inc.php index f26e692bc..1794f76bb 100644 --- a/cronjobs/shared.inc.php +++ b/cronjobs/shared.inc.php @@ -87,5 +87,3 @@ function cfip() { return (@defined('SECURITY')) ? 1 : 0; } $log->logFatal('Cronjob is currently disabled due to required upgrades. Import any outstanding SQL files and check your configuration file.'); $monitoring->endCronjob($cron_name, 'E0075', 0, true, false); } - -?> diff --git a/cronjobs/statistics.php b/cronjobs/statistics.php index eb564c1a8..4f2103d7d 100755 --- a/cronjobs/statistics.php +++ b/cronjobs/statistics.php @@ -55,4 +55,3 @@ $log->logInfo(sprintf($strLogMask, 'getTopContributors(shares)', number_format(microtime(true) - $start, 3), $status)); require_once('cron_end.inc.php'); -?> diff --git a/cronjobs/tables_cleanup.php b/cronjobs/tables_cleanup.php index 42189f2f2..b47918ae2 100755 --- a/cronjobs/tables_cleanup.php +++ b/cronjobs/tables_cleanup.php @@ -89,4 +89,3 @@ // Cron cleanup and monitoring require_once('cron_end.inc.php'); -?> diff --git a/cronjobs/tickerupdate.php b/cronjobs/tickerupdate.php index 0075a2607..7c2ea789a 100755 --- a/cronjobs/tickerupdate.php +++ b/cronjobs/tickerupdate.php @@ -76,4 +76,3 @@ $log->logInfo(sprintf($strLogMask, 'Uptime Robot', 'n/a', number_format(microtime(true) - $start, 3), $status, $message)); require_once('cron_end.inc.php'); -?> diff --git a/include/admin_checks.php b/include/admin_checks.php index 27e7011a8..3ab431f9f 100644 --- a/include/admin_checks.php +++ b/include/admin_checks.php @@ -148,5 +148,3 @@ } } } - -?> diff --git a/include/autoloader.inc.php b/include/autoloader.inc.php index 8f0e6e6e4..a46c4dde5 100644 --- a/include/autoloader.inc.php +++ b/include/autoloader.inc.php @@ -80,5 +80,3 @@ require_once(CLASS_DIR . '/api.class.php'); require_once(INCLUDE_DIR . '/lib/Michelf/Markdown.php'); require_once(INCLUDE_DIR . '/lib/scrypt.php'); - -?> diff --git a/include/bootstrap.php b/include/bootstrap.php index 0e286a534..5225a96e4 100644 --- a/include/bootstrap.php +++ b/include/bootstrap.php @@ -43,5 +43,3 @@ // Load Classes, they name defines the $ variable used // We include all needed files here, even though our templates could load them themself require_once(INCLUDE_DIR . '/autoloader.inc.php'); - -?> diff --git a/include/classes/base.class.php b/include/classes/base.class.php index d9f950add..de77b23dd 100644 --- a/include/classes/base.class.php +++ b/include/classes/base.class.php @@ -284,4 +284,3 @@ public function getParam() { return $array; } } -?> diff --git a/include/classes/coins/coin_base.class.php b/include/classes/coins/coin_base.class.php index ab84c311a..035939d1e 100644 --- a/include/classes/coins/coin_base.class.php +++ b/include/classes/coins/coin_base.class.php @@ -85,5 +85,3 @@ public function calcExpectedNextDifficulty($dDifficulty, $dNetworkHashrate) { } } } - -?> diff --git a/include/classes/coins/coin_scrypt.class.php b/include/classes/coins/coin_scrypt.class.php index bf829ab1d..152dfa9fb 100644 --- a/include/classes/coins/coin_scrypt.class.php +++ b/include/classes/coins/coin_scrypt.class.php @@ -9,5 +9,3 @@ class Coin extends CoinBase { protected $target_bits = 16; } - -?> diff --git a/include/classes/coins/coin_scryptn.class.php b/include/classes/coins/coin_scryptn.class.php index db588f61b..02c36ec28 100644 --- a/include/classes/coins/coin_scryptn.class.php +++ b/include/classes/coins/coin_scryptn.class.php @@ -12,5 +12,3 @@ class Coin extends CoinBase { protected $target_bits = 16; } - -?> diff --git a/include/classes/coins/coin_sha256d.class.php b/include/classes/coins/coin_sha256d.class.php index 2b8302636..a3f135579 100644 --- a/include/classes/coins/coin_sha256d.class.php +++ b/include/classes/coins/coin_sha256d.class.php @@ -10,5 +10,3 @@ class Coin extends CoinBase { protected $target_bits = 32; protected $coin_value_precision = 20; } - -?> diff --git a/include/classes/coins/coin_x11.class.php b/include/classes/coins/coin_x11.class.php index 60c14f630..91cc4aec5 100644 --- a/include/classes/coins/coin_x11.class.php +++ b/include/classes/coins/coin_x11.class.php @@ -10,5 +10,3 @@ class Coin extends CoinBase { protected $target_bits = 24; protected $share_difficulty_precision = 4; } - -?> diff --git a/include/classes/csrftoken.class.php b/include/classes/csrftoken.class.php index 4a3c8269f..373a1210a 100644 --- a/include/classes/csrftoken.class.php +++ b/include/classes/csrftoken.class.php @@ -104,4 +104,3 @@ private function getHash($string) { $csrftoken->setToken($oToken); $csrftoken->setConfig($config); $csrftoken->setErrorCodes($aErrorCodes); -?> diff --git a/include/classes/debug.class.php b/include/classes/debug.class.php index 72a9f5106..03a8f1405 100644 --- a/include/classes/debug.class.php +++ b/include/classes/debug.class.php @@ -111,4 +111,3 @@ function printDebugInfo() { // Instantiate this class $debug = new Debug($log, $config['DEBUG']); -?> diff --git a/include/classes/invitation.class.php b/include/classes/invitation.class.php index 2d0c68965..b4cc11648 100644 --- a/include/classes/invitation.class.php +++ b/include/classes/invitation.class.php @@ -139,4 +139,3 @@ public function sendInvitation($account_id, $aData) { $invitation->setToken($oToken); $invitation->setConfig($config); $invitation->setErrorCodes($aErrorCodes); -?> diff --git a/include/classes/logger.class.php b/include/classes/logger.class.php index 0283798db..37cb96a17 100644 --- a/include/classes/logger.class.php +++ b/include/classes/logger.class.php @@ -57,4 +57,3 @@ public function log($strType, $strMessage) { } } $log = new Logger($config); -?> diff --git a/include/classes/mail.class.php b/include/classes/mail.class.php index a60359bd0..4d5e5c6cb 100644 --- a/include/classes/mail.class.php +++ b/include/classes/mail.class.php @@ -117,4 +117,3 @@ public function sendMail($template, $aData, $throttle=false) { $mail->setConfig($config); $mail->setSetting($setting); $mail->setErrorCodes($aErrorCodes); -?> diff --git a/include/classes/memcache_ad.class.php b/include/classes/memcache_ad.class.php index 447e0118a..f704bea6b 100644 --- a/include/classes/memcache_ad.class.php +++ b/include/classes/memcache_ad.class.php @@ -81,5 +81,3 @@ public function getRequestBase() { return $new; } } - -?> diff --git a/include/classes/news.class.php b/include/classes/news.class.php index b4de57e24..d98fdec85 100644 --- a/include/classes/news.class.php +++ b/include/classes/news.class.php @@ -101,4 +101,3 @@ public function addNews($account_id, $aData, $active=false) { $news->setMysql($mysqli); $news->setUser($user); $news->setErrorCodes($aErrorCodes); -?> diff --git a/include/classes/notification.class.php b/include/classes/notification.class.php index 448602819..afe2d0699 100644 --- a/include/classes/notification.class.php +++ b/include/classes/notification.class.php @@ -195,4 +195,3 @@ public function cleanupNotifications($days=7) { $notification->setConfig($config); $notification->setSetting($setting); $notification->setErrorCodes($aErrorCodes); -?> diff --git a/include/classes/payout.class.php b/include/classes/payout.class.php index 68058802d..44b041d64 100644 --- a/include/classes/payout.class.php +++ b/include/classes/payout.class.php @@ -67,5 +67,3 @@ public function setProcessed($id) { $oPayout->setConfig($config); $oPayout->setToken($oToken); $oPayout->setErrorCodes($aErrorCodes); - -?> diff --git a/include/classes/statistics.class.php b/include/classes/statistics.class.php index 4a9c36f3e..777fe3200 100644 --- a/include/classes/statistics.class.php +++ b/include/classes/statistics.class.php @@ -927,4 +927,3 @@ public function purgeUserStats($days = 1) { $statistics->setBitcoin($bitcoin); $statistics->setErrorCodes($aErrorCodes); $statistics->setCoin($coin); -?> diff --git a/include/classes/strict.class.php b/include/classes/strict.class.php index 26576bd18..db417ea25 100644 --- a/include/classes/strict.class.php +++ b/include/classes/strict.class.php @@ -35,5 +35,3 @@ public function bind_param($paramTypes) { } } } - -?> \ No newline at end of file diff --git a/include/classes/transaction.class.php b/include/classes/transaction.class.php index 5ad9e44eb..b2d30b597 100644 --- a/include/classes/transaction.class.php +++ b/include/classes/transaction.class.php @@ -488,4 +488,3 @@ public function getMPQueue($limit=250) { $transaction->setUser($user); $transaction->setPayout($oPayout); $transaction->setErrorCodes($aErrorCodes); -?> diff --git a/include/classes/worker.class.php b/include/classes/worker.class.php index 3f9569f92..5d6cfb523 100644 --- a/include/classes/worker.class.php +++ b/include/classes/worker.class.php @@ -313,4 +313,3 @@ public function deleteWorker($account_id, $id) { $worker->setUser($user); $worker->setErrorCodes($aErrorCodes); $worker->setCoin($coin); -?> diff --git a/include/config/error_codes.inc.php b/include/config/error_codes.inc.php index 36a40b0f7..c668b5658 100644 --- a/include/config/error_codes.inc.php +++ b/include/config/error_codes.inc.php @@ -78,4 +78,3 @@ $aErrorCodes['E0080'] = 'No new unaccounted shares since last run'; $aErrorCodes['E0081'] = 'Failed to insert new block into database'; $aErrorCodes['E0082'] = 'Block does not supply any usable confirmation information'; -?> diff --git a/include/config/global.inc.dist.php b/include/config/global.inc.dist.php index 464759a73..5d240a7e3 100644 --- a/include/config/global.inc.dist.php +++ b/include/config/global.inc.dist.php @@ -298,5 +298,3 @@ * https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-system-load **/ $config['system']['load']['max'] = 10.0; - -?> diff --git a/include/config/memcache_keys.inc.php b/include/config/memcache_keys.inc.php index 1f4e30e76..b40d5e729 100644 --- a/include/config/memcache_keys.inc.php +++ b/include/config/memcache_keys.inc.php @@ -4,4 +4,3 @@ define('STATISTICS_ALL_USER_SHARES', 'STATISTICS_ALL_USER_SHARES'); define('STATISTICS_ALL_USER_HASHRATES', 'STATISTICS_ALL_USER_HASHRATES'); define('STATISTICS_ROUND_SHARES', 'STATISTICS_ROUND_SHARES'); -?> diff --git a/include/config/monitor_crons.inc.php b/include/config/monitor_crons.inc.php index d3726539a..c5b8dbfa3 100644 --- a/include/config/monitor_crons.inc.php +++ b/include/config/monitor_crons.inc.php @@ -11,5 +11,3 @@ } $aMonitorCrons = array('statistics','tickerupdate','notifications','tables_cleanup','findblock',$sPayoutSystem,'blockupdate','payouts'); - -?> diff --git a/include/config/security.inc.dist.php b/include/config/security.inc.dist.php index 2ff1a1880..fed5ac351 100644 --- a/include/config/security.inc.dist.php +++ b/include/config/security.inc.dist.php @@ -59,5 +59,3 @@ **/ $config['maxfailed']['login'] = 3; $config['maxfailed']['pin'] = 3; - -?> diff --git a/include/pages/account.inc.php b/include/pages/account.inc.php index f3ce16c55..44d3c45d8 100644 --- a/include/pages/account.inc.php +++ b/include/pages/account.inc.php @@ -5,4 +5,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); } -?> diff --git a/include/pages/account/earnings.inc.php b/include/pages/account/earnings.inc.php index 51453b5a1..f8470cb2d 100644 --- a/include/pages/account/earnings.inc.php +++ b/include/pages/account/earnings.inc.php @@ -19,5 +19,3 @@ } else { $smarty->assign('CONTENT', 'disabled.tpl'); } - -?> diff --git a/include/pages/account/edit.inc.php b/include/pages/account/edit.inc.php index 7c1ea9623..230941229 100644 --- a/include/pages/account/edit.inc.php +++ b/include/pages/account/edit.inc.php @@ -206,4 +206,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/account/invitations.inc.php b/include/pages/account/invitations.inc.php index 627b4f46b..052733c39 100644 --- a/include/pages/account/invitations.inc.php +++ b/include/pages/account/invitations.inc.php @@ -24,4 +24,3 @@ } } $smarty->assign('CONTENT', 'default.tpl'); -?> diff --git a/include/pages/account/notifications.inc.php b/include/pages/account/notifications.inc.php index f06c796a6..2b5c850e4 100644 --- a/include/pages/account/notifications.inc.php +++ b/include/pages/account/notifications.inc.php @@ -35,5 +35,3 @@ $smarty->assign('CONTENT', 'default.tpl'); } } - -?> diff --git a/include/pages/account/qrcode.inc.php b/include/pages/account/qrcode.inc.php index 6e30b898b..d6ff76a0d 100644 --- a/include/pages/account/qrcode.inc.php +++ b/include/pages/account/qrcode.inc.php @@ -12,4 +12,3 @@ $smarty->assign("CONTENT", ""); break; } -?> diff --git a/include/pages/account/reset_failed.inc.php b/include/pages/account/reset_failed.inc.php index 4d9935bcf..7ac0cda0d 100644 --- a/include/pages/account/reset_failed.inc.php +++ b/include/pages/account/reset_failed.inc.php @@ -11,4 +11,3 @@ } // Somehow we still need to load this empty template $smarty->assign("CONTENT", "empty"); -?> diff --git a/include/pages/account/transactions.inc.php b/include/pages/account/transactions.inc.php index afe405ac3..7f0953622 100644 --- a/include/pages/account/transactions.inc.php +++ b/include/pages/account/transactions.inc.php @@ -15,4 +15,3 @@ $smarty->assign('DISABLE_TRANSACTIONSUMMARY', $setting->getValue('disable_transactionsummary')); } $smarty->assign('CONTENT', 'default.tpl'); -?> diff --git a/include/pages/account/unlock.inc.php b/include/pages/account/unlock.inc.php index 1aa83fcac..51bc9d36c 100644 --- a/include/pages/account/unlock.inc.php +++ b/include/pages/account/unlock.inc.php @@ -15,5 +15,3 @@ } } $smarty->assign('CONTENT', 'default.tpl'); - -?> diff --git a/include/pages/account/workers.inc.php b/include/pages/account/workers.inc.php index a672e11c0..c98ca1b80 100644 --- a/include/pages/account/workers.inc.php +++ b/include/pages/account/workers.inc.php @@ -55,6 +55,3 @@ $smarty->assign('CONTENT', 'default.tpl'); } } - - -?> diff --git a/include/pages/admin/news_edit.inc.php b/include/pages/admin/news_edit.inc.php index 07c472b8d..9ed45ad77 100644 --- a/include/pages/admin/news_edit.inc.php +++ b/include/pages/admin/news_edit.inc.php @@ -24,4 +24,3 @@ $aNews = $news->getEntry($_REQUEST['id']); $smarty->assign("NEWS", $aNews); $smarty->assign("CONTENT", "default.tpl"); -?> \ No newline at end of file diff --git a/include/pages/admin/newsletter.inc.php b/include/pages/admin/newsletter.inc.php index fed4f3428..e856525f2 100644 --- a/include/pages/admin/newsletter.inc.php +++ b/include/pages/admin/newsletter.inc.php @@ -38,4 +38,3 @@ } $smarty->assign("CONTENT", "default.tpl"); } -?> diff --git a/include/pages/admin/poolworkers.inc.php b/include/pages/admin/poolworkers.inc.php index 8d80314ad..1aced86ad 100644 --- a/include/pages/admin/poolworkers.inc.php +++ b/include/pages/admin/poolworkers.inc.php @@ -19,5 +19,3 @@ $smarty->assign('LIMIT', $iLimit); $smarty->assign('WORKERS', $aWorkers); $smarty->assign('CONTENT', 'default.tpl'); - -?> diff --git a/include/pages/admin/registrations.inc.php b/include/pages/admin/registrations.inc.php index 8c760ea75..5f50528c3 100644 --- a/include/pages/admin/registrations.inc.php +++ b/include/pages/admin/registrations.inc.php @@ -18,4 +18,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/admin/reports.inc.php b/include/pages/admin/reports.inc.php index 1723fd2fa..ec5804600 100644 --- a/include/pages/admin/reports.inc.php +++ b/include/pages/admin/reports.inc.php @@ -81,4 +81,3 @@ } else { $smarty->assign("CONTENT", "empty"); } -?> diff --git a/include/pages/admin/settings.inc.php b/include/pages/admin/settings.inc.php index dcb749d33..9df0006d5 100644 --- a/include/pages/admin/settings.inc.php +++ b/include/pages/admin/settings.inc.php @@ -27,4 +27,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?> \ No newline at end of file diff --git a/include/pages/admin/transactions.inc.php b/include/pages/admin/transactions.inc.php index 3ff3b6261..6f4db73f2 100644 --- a/include/pages/admin/transactions.inc.php +++ b/include/pages/admin/transactions.inc.php @@ -37,4 +37,3 @@ $smarty->assign('FILTERS', $strFilters); } $smarty->assign('CONTENT', 'default.tpl'); -?> diff --git a/include/pages/admin/user.inc.php b/include/pages/admin/user.inc.php index 8f0dfa837..eb7f1e377 100644 --- a/include/pages/admin/user.inc.php +++ b/include/pages/admin/user.inc.php @@ -83,4 +83,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?> \ No newline at end of file diff --git a/include/pages/admin/userdetails.inc.php b/include/pages/admin/userdetails.inc.php index 4bac75f4b..09e6aecca 100644 --- a/include/pages/admin/userdetails.inc.php +++ b/include/pages/admin/userdetails.inc.php @@ -21,4 +21,3 @@ } $smarty->assign('CONTENT', 'default.tpl'); -?> diff --git a/include/pages/admin/wallet.inc.php b/include/pages/admin/wallet.inc.php index 66c11ebe7..ddbe081d1 100644 --- a/include/pages/admin/wallet.inc.php +++ b/include/pages/admin/wallet.inc.php @@ -71,4 +71,3 @@ } $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/api/gettimesincelastblock.inc.php b/include/pages/api/gettimesincelastblock.inc.php index e586beacc..e2981cbcf 100644 --- a/include/pages/api/gettimesincelastblock.inc.php +++ b/include/pages/api/gettimesincelastblock.inc.php @@ -19,4 +19,3 @@ // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/gettopcontributors.inc.php b/include/pages/api/gettopcontributors.inc.php index e5bc7e6f1..e35d3e338 100644 --- a/include/pages/api/gettopcontributors.inc.php +++ b/include/pages/api/gettopcontributors.inc.php @@ -60,4 +60,3 @@ // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getuserbalance.inc.php b/include/pages/api/getuserbalance.inc.php index e46901bb5..f73209aca 100644 --- a/include/pages/api/getuserbalance.inc.php +++ b/include/pages/api/getuserbalance.inc.php @@ -12,4 +12,3 @@ // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getuserhashrate.inc.php b/include/pages/api/getuserhashrate.inc.php index e19700306..ed83b3dd1 100644 --- a/include/pages/api/getuserhashrate.inc.php +++ b/include/pages/api/getuserhashrate.inc.php @@ -22,4 +22,3 @@ // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getusersharerate.inc.php b/include/pages/api/getusersharerate.inc.php index 996500859..90e55638b 100644 --- a/include/pages/api/getusersharerate.inc.php +++ b/include/pages/api/getusersharerate.inc.php @@ -22,4 +22,3 @@ // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getuserstatus.inc.php b/include/pages/api/getuserstatus.inc.php index 03b4053c3..6ada148d8 100644 --- a/include/pages/api/getuserstatus.inc.php +++ b/include/pages/api/getuserstatus.inc.php @@ -28,4 +28,3 @@ // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getusertransactions.inc.php b/include/pages/api/getusertransactions.inc.php index 3903deba4..62f60e19f 100644 --- a/include/pages/api/getusertransactions.inc.php +++ b/include/pages/api/getusertransactions.inc.php @@ -27,4 +27,3 @@ // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/getuserworkers.inc.php b/include/pages/api/getuserworkers.inc.php index 69a8122ad..5b071da97 100644 --- a/include/pages/api/getuserworkers.inc.php +++ b/include/pages/api/getuserworkers.inc.php @@ -15,4 +15,3 @@ // Supress master template $supress_master = 1; -?> diff --git a/include/pages/api/public.inc.php b/include/pages/api/public.inc.php index 6446b5e51..324e405ac 100644 --- a/include/pages/api/public.inc.php +++ b/include/pages/api/public.inc.php @@ -27,4 +27,3 @@ // Supress master template $supress_master = 1; -?> diff --git a/include/pages/contactform.inc.php b/include/pages/contactform.inc.php index 7cf7c021b..7566bec8d 100644 --- a/include/pages/contactform.inc.php +++ b/include/pages/contactform.inc.php @@ -15,4 +15,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); } -?> diff --git a/include/pages/contactform/contactform.inc.php b/include/pages/contactform/contactform.inc.php index 9c2738036..0f352c7b8 100644 --- a/include/pages/contactform/contactform.inc.php +++ b/include/pages/contactform/contactform.inc.php @@ -32,5 +32,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); - -?> diff --git a/include/pages/error/404.inc.php b/include/pages/error/404.inc.php index ac4117c04..957a62c66 100644 --- a/include/pages/error/404.inc.php +++ b/include/pages/error/404.inc.php @@ -3,4 +3,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/error/ratelimit.inc.php b/include/pages/error/ratelimit.inc.php index 89cd2920f..957a62c66 100644 --- a/include/pages/error/ratelimit.inc.php +++ b/include/pages/error/ratelimit.inc.php @@ -3,4 +3,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?> \ No newline at end of file diff --git a/include/pages/gettingstarted.inc.php b/include/pages/gettingstarted.inc.php index b6f63bc77..cf722e8bf 100644 --- a/include/pages/gettingstarted.inc.php +++ b/include/pages/gettingstarted.inc.php @@ -8,4 +8,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/home.inc.php b/include/pages/home.inc.php index 72a29af77..137d37058 100644 --- a/include/pages/home.inc.php +++ b/include/pages/home.inc.php @@ -22,4 +22,3 @@ } // Load news entries for Desktop site and unauthenticated users $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/login.inc.php b/include/pages/login.inc.php index 8d4a05df0..a40541a7b 100644 --- a/include/pages/login.inc.php +++ b/include/pages/login.inc.php @@ -46,5 +46,3 @@ } // Load login template $smarty->assign('CONTENT', 'default.tpl'); - -?> diff --git a/include/pages/logout.inc.php b/include/pages/logout.inc.php index 9b6e12a63..5f3a7cfea 100644 --- a/include/pages/logout.inc.php +++ b/include/pages/logout.inc.php @@ -4,4 +4,3 @@ $user->logoutUser(); $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/news.inc.php b/include/pages/news.inc.php index 51630e9ba..d09659edc 100644 --- a/include/pages/news.inc.php +++ b/include/pages/news.inc.php @@ -17,4 +17,3 @@ $smarty->assign("HIDEAUTHOR", $settings->getValue('acl_hide_news_author')); $smarty->assign("NEWS", $aNews); $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/password.inc.php b/include/pages/password.inc.php index 8ce59fe1a..957a62c66 100644 --- a/include/pages/password.inc.php +++ b/include/pages/password.inc.php @@ -3,5 +3,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); - -?> \ No newline at end of file diff --git a/include/pages/password/change.inc.php b/include/pages/password/change.inc.php index 1fefc6a2e..ae81b624d 100644 --- a/include/pages/password/change.inc.php +++ b/include/pages/password/change.inc.php @@ -15,5 +15,3 @@ // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); - -?> diff --git a/include/pages/password/reset.inc.php b/include/pages/password/reset.inc.php index 71478ae8a..7bad3cff3 100644 --- a/include/pages/password/reset.inc.php +++ b/include/pages/password/reset.inc.php @@ -14,4 +14,3 @@ // Tempalte specifics, user default template by parent page $smarty->assign("CONTENT", "../default.tpl"); -?> diff --git a/include/pages/register.inc.php b/include/pages/register.inc.php index 2dc4516d6..4fa81e766 100644 --- a/include/pages/register.inc.php +++ b/include/pages/register.inc.php @@ -15,4 +15,3 @@ // Load news entries for Desktop site and unauthenticated users $smarty->assign("CONTENT", "default.tpl"); } -?> diff --git a/include/pages/register/register.inc.php b/include/pages/register/register.inc.php index 87f856ee3..ef294cb9e 100644 --- a/include/pages/register/register.inc.php +++ b/include/pages/register/register.inc.php @@ -44,5 +44,3 @@ // We load the default registration template instead of an action specific one $smarty->assign("CONTENT", "../default.tpl"); - -?> diff --git a/include/pages/statistics.inc.php b/include/pages/statistics.inc.php index 501259935..ac2c5089d 100644 --- a/include/pages/statistics.inc.php +++ b/include/pages/statistics.inc.php @@ -18,4 +18,3 @@ } $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/statistics/graphs.inc.php b/include/pages/statistics/graphs.inc.php index a212e941d..11ce7cf72 100644 --- a/include/pages/statistics/graphs.inc.php +++ b/include/pages/statistics/graphs.inc.php @@ -25,4 +25,3 @@ $smarty->assign("CONTENT", ""); break; } -?> diff --git a/include/pages/tac.inc.php b/include/pages/tac.inc.php index cdd3e92d2..348eaf72e 100644 --- a/include/pages/tac.inc.php +++ b/include/pages/tac.inc.php @@ -2,4 +2,3 @@ $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; $smarty->assign("CONTENT", "default.tpl"); -?> diff --git a/include/pages/tacpop.inc.php b/include/pages/tacpop.inc.php index 16ae6777a..531b8af31 100644 --- a/include/pages/tacpop.inc.php +++ b/include/pages/tacpop.inc.php @@ -2,4 +2,3 @@ $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; $master_template = 'tac/default.tpl'; -?> diff --git a/include/smarty.inc.php b/include/smarty.inc.php index ac2935d98..2a5cba417 100644 --- a/include/smarty.inc.php +++ b/include/smarty.inc.php @@ -29,4 +29,3 @@ // Load custom smarty plugins require_once(INCLUDE_DIR . '/lib/smarty_plugins/function.acl.php'); -?> diff --git a/include/smarty/libs/plugins/modifier.relative_date.php b/include/smarty/libs/plugins/modifier.relative_date.php index 96186266e..cb802ef7e 100644 --- a/include/smarty/libs/plugins/modifier.relative_date.php +++ b/include/smarty/libs/plugins/modifier.relative_date.php @@ -75,5 +75,3 @@ function smarty_modifier_relative_date($timestamp, $days = false, $format = "M j return @date($format, $timestamp); } - -?> \ No newline at end of file diff --git a/include/smarty_globals.inc.php b/include/smarty_globals.inc.php index 8cd45a776..bf0cd8f76 100644 --- a/include/smarty_globals.inc.php +++ b/include/smarty_globals.inc.php @@ -260,4 +260,3 @@ $smarty->assign('PATH', 'site_assets/' . THEME); $smarty->assign('GLOBALASSETS', 'site_assets/global'); $smarty->assign('GLOBAL', $aGlobal); -?> diff --git a/public/index.php b/public/index.php index d169fff9e..1725eea2e 100644 --- a/public/index.php +++ b/public/index.php @@ -175,5 +175,3 @@ function cfip() { return (@defined('SECURITY')) ? 1 : 0; } // Unset any temporary values here unset($_SESSION['POPUP']); - -?> diff --git a/scripts/51_percent_check.php b/scripts/51_percent_check.php index 3ac0be3e6..66043a48e 100755 --- a/scripts/51_percent_check.php +++ b/scripts/51_percent_check.php @@ -41,4 +41,3 @@ } else { $setting->setValue('lock_registration', 0); } -?> diff --git a/scripts/shared.inc.php b/scripts/shared.inc.php index 96ad444b0..cde736c04 100644 --- a/scripts/shared.inc.php +++ b/scripts/shared.inc.php @@ -51,4 +51,3 @@ function cfip() { return (@defined('SECURITY')) ? 1 : 0; } // switch ($option) { // } // } -?> diff --git a/scripts/validate_blocks.php b/scripts/validate_blocks.php index eed93e43c..3dc0308da 100755 --- a/scripts/validate_blocks.php +++ b/scripts/validate_blocks.php @@ -45,4 +45,3 @@ } echo "Done..". PHP_EOL; -?> \ No newline at end of file