--- admin/Public/dashboard.php	2010-04-07 14:32:20.000000000 +0400
+++ vt_simplified_gui_1.7.0/admin/Public/dashboard__vt.php	2010-04-08 20:04:29.000000000 +0400
@@ -32,14 +32,14 @@
 **/
 
 
-include ("../lib/admin.defines.php");
-include_once ("../lib/admin.module.access.php");
-include ("../lib/admin.smarty.php");
+include ("../lib/admin.defines__vt.php");
+include_once ("../lib/admin.module.access__vt.php");
+include ("../lib/admin.smarty__vt.php");
 
 
 if (!has_rights(ACX_DASHBOARD)) {
 	Header("HTTP/1.0 401 Unauthorized");
-	Header("Location: PP_error.php?c=accessdenied");
+	Header("Location: PP_error__vt.php?c=accessdenied");
 	die();
 }
 
@@ -74,23 +74,28 @@
 if( !empty($A2B->config["dashboard"]["customer_info_enabled"]) && $A2B->config["dashboard"]["customer_info_enabled"]!="NONE"){
 	put_dislay($A2B->config["dashboard"]["customer_info_enabled"],gettext("ACCOUNTS INFO"),array("./modules/customers_numbers.php","./modules/customers_lastmonth.php"));
 }
+
+if (!VT_DEMO) {
 if( !empty($A2B->config["dashboard"]["refill_info_enabled"]) && $A2B->config["dashboard"]["refill_info_enabled"]!="NONE"){
 	put_dislay($A2B->config["dashboard"]["refill_info_enabled"],gettext("REFILLS INFO"),array("./modules/refills_lastmonth.php"));
 }
 if( !empty($A2B->config["dashboard"]["payment_info_enabled"]) && $A2B->config["dashboard"]["refill_info_enabled"]!="NONE"){
 	put_dislay($A2B->config["dashboard"]["payment_info_enabled"],gettext("PAYMENTS INFO"),array("./modules/payments_lastmonth.php"));
 }
+}
+
 if( !empty($A2B->config["dashboard"]["call_info_enabled"]) && $A2B->config["dashboard"]["refill_info_enabled"]!="NONE"){
 	put_dislay($A2B->config["dashboard"]["call_info_enabled"],gettext("CALLS INFO TODAY"),array("./modules/calls_counts.php","./modules/calls_lastmonth.php"));
 }
 if( !empty($A2B->config["dashboard"]["system_info_enable"]) && $A2B->config["dashboard"]["system_info_enable"]!="NONE"){
 	put_dislay($A2B->config["dashboard"]["system_info_enable"],gettext("SYSTEM INFO"),array("./modules/system_info.php"));
 }
+if (!VT_DEMO) {
 if( !empty($A2B->config["dashboard"]["news_enabled"]) && $A2B->config["dashboard"]["news_enabled"]!="NONE"){
 	put_dislay($A2B->config["dashboard"]["news_enabled"],gettext("NEWS"),array("./modules/news.php"));
 }
-
-$smarty->display('main.tpl');
+}
+$smarty->display('main__vt.tpl');
 
 ?>
 <center>
