<?php

// ENGLISH TRANSLATION FILE

// GENERAL PURPOSE
$ndesc 		= "Description";
$nadd_new	= "Add New";
$nadd		= "Add";
$nbrowse	= "Browse";
$nenter 	= "Enter";
$nedit 		= "Edit";
$nupdate 	= "Update";
$ndelete 	= "Delete";
$nmenu		= "Back To Menu";
$nsave		= "Save";
$nsearch	= "Search";
$nreset		= "Reset";
$nclear		= "Reset";
$naction	= "Action";
$ngroupd	= "Group";
$nsubgroupd	= "Sub Group";
$nyes		= "Yes";
$nno		= "No";
$nnot		= "Not";	$nnot1		= "Not";
$nyescap	= "YES";
$nnocap		= "NO";
$nmenu		= "Menu";
$ndeleteConfirm		= "Do you really want to delete data?";
$npid 		= "Project";
$nproject	= "Project";
$nprojects	= "Projects";
$nmid 		= "Manager";
$nmanager	= "Manager";
$nmanagers	= "Managers";
$nmanager_id	= "Manager ID";
$select_projects = "Projects";
$nselect 	= "Select";
$nlogout	= "Logout";
$ncomms		= "Comments";
$ntags		= "Tags";
$num		= "U.M.";
$numc		= "Counter";
$nexpenses	= "Expenses";
$ntotexpenses	= "Total Expenses";
$ncencat	= "Centers-Categories";
$nfrom		= "From";
$nto		= "To";		$nto1		= "To";
$nrun_report = "Run Report";
$nlang		= "Language";
$nview		= "View";
$nviews		= "Views";
$nhelp		= "Documentation";
$nmonth 	= "Month";
$nmonthly 	= "Monthly";
$nquarter 	= "Quarter";
$nfind		= "Find";
$n_adminpanel = "Dashboard";
$nfields_with = "Fields with";
$nmandatory = "are mandatory";
$recdel		= "Record deleted successfully!";
$recupd		= "Record updated successfully!";
$recnochange	= "You did not change any thing!";
$recwrong	= "There is some thing wrong";
$rectry		= "Please try again!";
$nrecords	= "Records";
$recadded	= "Record added successfully!";
$recaddedno = "Record not added";
$tryagain	= "Please try again!";
$field_mand	= "This is a mandatory field!";
$areyousure = "Are you sure to delete this record?";
$run_time	= "Run Time : ";
$ntotal		= "Total";
$ntotals	= "Totals";			$ntotals1	= "Totals";
$nmissing	= "Please add";
$nchoose	= "Choose";
$nuntil		= "Until";
$nperiod	= "Period";
$nyear		= "Year";
$nclose		= "Close";
$nend_of	= "end of";
$nof		= "of";
$no_tags	= "Add Tags";
$ninfo		= "Info";
$nusers		= "Users";
$nuser		= "User";
$nstock		= "Stock";
$nchart		= "Chart";
$nday		= "Daily";
$nweek		= "Week";
$nrunning	= "Running";
$nor		= "or";
$nregion	= "Region";
$nworld		= "Total";
$nlinear_scale	= "(Linear scale)";
$nper		= "per";
$nmillion	= "million";
$nstatistics	= "Statistics";
$nsepth		= "Thousand <br> Separator <br> ( . or , )";
$nsepdc		= "Decimal  <br> Separator <br> ( . or , )";
$ntotdc		= "Decimal Digits <br> for <br> Numbers";
$ntotdcqty	= "Decimal Digits <br> for <br> Quantities";
$numqtyuc	= "Unit Measure <br> Quantity <br> Unit Costs <br> 1 - Columns Available <br> 0 - Columns NOT Available";
$nstockrep	= "Stock Report <br> 1 - Available <br> 0 - NOT Available";
$ninvoiceon	= "Invoice Column <br> 1 - Available <br> 0 - NOT Available";
$nrole		= "Role";
$nroles		= "Roles";
$nreport	= "Report";
$ndetail	= "Detailed";
$nsummary	= "Summary";
$nrab_umc_max = "Last measure:";
$ntime		= "Time:";
$ndemo_user	= "Demo User";
$nenglish	= "English";
$ngreek		= "Greek";
$nfound		= "found";
$nserver_info	= "Server Configuration";
$nip_address	= "IP Address";
$nweb_server	= "Web Server";
$ndb			= "Database";
$napp_info		= "Application Data";
$ninthousands	= "(*) numbers in thousands";
$nrange		= "Period in";		
$n_day		= "Day";
$n_days		= "Days";
$n_week		= "Week";
$n_weeks	= "Weeks";	
$n_month	= "Month";
$n_months	= "Months";
$n_year		= "Year";	
$n_years	= "Years";
$n_quarter	= "Quarter";	
$n_quarters	= "Quarters";
$n_suggested	= "Suggested";

// LOGIN FORM
$enter_username	=	"Username";
$enter_password	=	"Password";
$enter_result	=	"Result";
$wrong_password	=	"You have entered valid user name and password";
$main_message 	=	"Enter Username and Password";
$login_button	=	"Login";
$sec_wrong		= "The security code entered was incorrect.<br /><br />";
$sec_back 		=   "Please go <a href='index.php'>back</a> and try again.";


// MENU
$menu_title = "Rapid Business Information Organizer";
$forms_name	= "FORMS";
$reps_name	= "REPORTS";
$views_name	= "VIEWS";
$structure_name	= "STRUCTURE";
$n_calendar	= "Calendar Report";
$n_geochart	= "Geo Chart";

// CENTERS

// CENTERS GROUPS FORM & START MENU

$n_centers_groups 		= "Center Groups";
$n_center_group 		= "Center Group";
$n_center_groupid 		= "Center Group ID";


// CENTERS FORM & START MENU

$n_centers 		= "Centers";		$n_centers1 		= "Centers";
$n_centers_progress 		= "Centers Progress";
$n_center 		= "Center";			$n_center1 		= "Center";
$n_centerid 	= "Center ID";
$n_centers_totals 		= "Centers Totals";


// CATEGORIES

// CATEGORIES_GROUPS FORM & START MENU

$n_categs_groups 	= "Category Groups";
$n_categ_group		= "Category Group";
$n_categ_groupid 	= "Category Group ID";


// CATEGORIES FORM & START MENU

$n_categs 	= "Gategories";		$n_categs1 	= "Gategories";
$n_categs_progress 		= "Categories Progress";
$n_categ 	= "Category";		$n_categ1 	= "Category";
$n_categid 	= "Category ID";
$n_categs_totals 	= "Gategories Totals";


// CLASSES FORM & START MENU

$n_expenses 	= "Expenses or Costs 1-Yes <br> Earned Value 2 <br> Planned 3 <br> 0-No";
$n_rep_column 	= "Report Column Order";
$n_desc_rep 	= "Report Description";
$n_desc_rep_stock	= "Stock Report Description";
$n_delta_col 	= "Calculation Column 1-Yes 0-No";
$n_delta_pm 	= "Calculation M-Minus P-Plus E-Equal";
$n_delta_calc 	= "Columns for Calculation";
$n_delta_perc 	= "Percentage Column 1-Yes 0-No";
$n_menu_order 	= "Main Menu Order";
$n_budget 		= "Budget 1-Yes 0-No";

// MANAGER FORM & START Menu

$n_manager		= "Manager";
$n_rab_date		= "Date";
$n_rab_number	= "Ammount";
$n_crdate		= "Recored Saved";
$n_rab_qty		= "Qty";
$n_rab_uc		= "Unit Cost";
$n_addtag		= "Add Tags";
$n_tag			= "Tag";
$n_tags			= "Tags";
$n_addnewtag	= "Add New Tag";
$n_deltag		= "Delete Tag";
$n_tagrecs		= "Records";
$n_invoice		= "Invoice";	
$n_invoices		= "Invoices";
$n_comms		= "Comments";

// CENTERS REPORT
$title_centers	= "Centers Report";
$title_center_report 		= "Center Report";
$title_centers_progress		= "Centers Progress Report";

// CATEGORIES REPORT
$title_categs	= "Categories Report";
$title_categ_report 		= "Category Report";
$title_categs_progress		= "Categories Progress Report";
$title_qtys					= "Quantities";

// CALENDAR REPORT
$title_calendar	= "Calendar Report";

// STOCK VIEW
$n_delivery	= "In";
$n_sold		= "Out";
$n_stock	= "Remaining";

// Dashboard
$title_dashboard = "Dashboard";

$n_today_recs = "Daily Activity";
$n_month_recs = "Monthly Activity";

$n_today_exps = "Daily";
$n_week_exps = "Weekly";
$n_month_exps = "Monthly";
$n_quarter_exps = "Quarter";
$n_year_exps = "Year";

$n_today_exps_sum = "Daily Sum";
$n_week_exps_sum = "Weekly Sum";
$n_month_exps_sum = "Monthly Sum";
$n_quarter_exps_sum = "Quarter Sum";
$n_year_exps_sum = "Year Sum";

$title_chart_line1_daily = "Daily Total Summaries";
$title_chart_line1_weekly = "Weekly Total Summaries";
$title_chart_line1_monthly = "Monthly Total Summaries";
$title_chart_line1_quarter = "Quarter Total Summaries";
$title_chart_line1_year = "Year Total Summaries";

$title_chart_pie_center = "Top 10 Group Center Summaries";
$title_chart_pie_categ = "Top 10 Group Category Summaries";

$title_chart_bar_center = "Top 10 Center Summaries";
$title_chart_bar_categ = "Top 10 Category Summaries";

// Views Report
$title_views 		= "Analytics";
$n_total_views 		= "Total Views";
$n_total_views24h 	= "Last 24 Hours Views";
$n_total_views30d 	= "Last 30 Days Views";
$n_user 			= "User ID";
$n_platfromb 		= "Platform - Browser";
$n_ips 				= "IP Stats";

// Admin View
$n_admin_view		= "Admin Report";
$n_super_admin_view		= "Super Admin Report";

// EXPORT VIEWS
$n_export_rep	= "Data Export";
$n_export		= "Export";
$n_data			= "Data";	$n_data1			= "Data";
$n_excel		= "Excel";
$n_xml			= "XML";

// Project Info Report
$n_project_info		= "Monthly Report";

// USERS FORMS
$n_username			= "Username";
$n_user_role		= "User Role";
$n_user_projects	= "User Projects";

// GANTT CHART
$title_gantt_centers	= "Gantt Chart";

// DEMO USER MODALS
$modal_projects_title	= "Welcome User ";
$modal_projects_body	= "This is the Projects list page. <br> Form here you can select a project to continue on the main menu.";

$modal_menu_title		= "Main Menu";
$modal_menu_body1		= "This is the main menu of the system. <br> You have selected project";
$modal_menu_body2		= "<br>From here you can navigate to : 
							<ul>
								<li>Forms</li>
								<li>Reports</li>
								<li>Views</li>
								<li>Structure</li>
							</ul>
						";


$r_center_totals = $n_center." ".$ntotals;
$r_categ_totals = $n_categ." ".$ntotals;

$z_r_centers	= $n_centers."-".$n_categs." ".$ntotals1;
$z_r_categs		= $n_categs."-".$n_centers." ".$ntotals1;

?>


<?php

// EXTERNAL FIELD NAMES FILE FOR PROJECT 701
if ($pid == 701) {
include("field_names_en_701.php");
}

?>

<?php
// UPDATE SYSTEM WITH DESC MANAGER_REPS WICH COMES FROM EXPENSES COLUMN
include('r_dbc.php');

$mixcnt = 0;
$sql = "SELECT mid,desc_manager
			from ccmanager_id where pid = '".$pid."' 
			and expenses = 1";

$result = mysqli_query($conn, $sql);

if (mysqli_num_rows($result) > 0) {
      while($row = mysqli_fetch_assoc($result)) {
		$desc_manager_reps 	= $row["desc_manager"];

		}
} 
mysqli_close($conn);

?>
