causefx 8 سال پیش
والد
کامیت
96d8191d9a
3فایلهای تغییر یافته به همراه8 افزوده شده و 8 حذف شده
  1. 4 4
      functions.php
  2. 3 3
      index.php
  3. 1 1
      settings.php

+ 4 - 4
functions.php

@@ -1675,11 +1675,11 @@ function qualifyUser($type, $errOnFail = false) {
 	
 	if (!$authorized && $errOnFail) {
 		if ($GLOBALS['USER']->authenticated) {
-			header('Location: '.dirname($_SERVER['SCRIPT_NAME']).'error.php?error=401');
-			echo '<script>window.location.href = \''.dirname($_SERVER['SCRIPT_NAME']).'error.php?error=401\'</script>';
+			header('Location: '.dirname($_SERVER['SCRIPT_NAME']).'\error.php?error=401');
+			echo '<script>window.location.href = \''.dirname($_SERVER['SCRIPT_NAME']).'\error.php?error=401\'</script>';
 		} else {
-			header('Location: '.dirname($_SERVER['SCRIPT_NAME']).'error.php?error=999');
-			echo '<script>window.location.href = \''.dirname($_SERVER['SCRIPT_NAME']).'error.php?error=999\'</script>';
+			header('Location: '.dirname($_SERVER['SCRIPT_NAME']).'\error.php?error=999');
+			echo '<script>window.location.href = \''.dirname($_SERVER['SCRIPT_NAME']).'\error.php?error=999\'</script>';
 		}
 
 		debug_out('Not Authorized' ,1);

+ 3 - 3
index.php

@@ -1265,7 +1265,7 @@ if(file_exists("images/settings2.png")) : $iconRotate = "false"; $settingsIcon =
 												</div>
 											</div>
 											<?php } ?>
-											<div id="weather" class="content-box ultra-widget yellow-bg"></div>
+											<div id="weather" class="gray"></div>
 										</div>
 									</div>
 									<!-- END EDIT USER -->
@@ -1469,8 +1469,8 @@ if(file_exists("images/settings2.png")) : $iconRotate = "false"; $settingsIcon =
 				unit: 'f',
 				success: function(weather) {
 					//html = '<h5 class="text-uppercase text-center">Weather For '+weather.city+', '+weather.region+'</h5>';
-					html = '<h6 class="text-center">Current Weather</h6>';
-					html += '<div class="w-content content-box">';
+					html = '<h6 class="text-center yellow">Current Weather</h6>';
+					html += '<div class="content-box ultra-widget yellow-bg">';
 					html += '<div class="w-icon right pull-right">'+setWeatherIcon(weather.code)+'</div>';
 					html += '<div class="w-descr left pull-left text-center">';
 					html += '<span class="w-name">'+weather.temp+'&deg;'+weather.units.temp+' / '+weather.alt.temp+'&deg;C</span><br>';

+ 1 - 1
settings.php

@@ -1944,7 +1944,7 @@ echo buildSettings(
                                                 <div class="w-content big-box">
                                                     <div class="w-progress">
                                                         <span class="w-amount">BitCoin</span>
-                                                        <small class="text-uppercase">1NDy1Su6izmwkcFZaZuMWDYrFFUNv3FQCN</small>
+                                                        <small class="text-uppercase">1JLWKsSgDDKdnLjPWbnxfQmCxi8uUohzVv</small>
                                                     </div>
                                                     <span class="w-refresh w-p-icon">
                                                         <span class="fa-stack fa-lg">