﻿// Module ID & link definitions
// Format:
// moduleId:{l:"url_of_this_module",
// 			 t:"title_for_this_module",
// 			 c:"optional color definition for title bar"}
var _modules={

	supportdeskhome:{l:"home/supportdeskhome.php",t:"Server Queue / Live Chat ", c:"white"},
	updates:{l:"home/updates.php",	t:"Consumption", c:"blue"},
	today:{l:"home/today.php",t:"Today"},
	tillDate:{l:"home/tilldate.php",t:"Till Date"},
	todayr:{l:"home/todayr.php",t:"Today"},
	tillDater:{l:"home/tilldater.php",t:"Till Date"},
		pollsHome:{l:"home/updates/pollshome.php",t:"Polls Home", c:"blue"},
		ratingsHome:{l:"home/updates/ratingshome.php",	t:"Ratings Home", c:"blue"},
		sponsorLikesHome:{l:"home/updates/sponsorlikeshome.php",	t:"Sponsor Likes Home", c:"blue"},
		reportsHome:{l:"home/updates/reportshome.php",	t:"Reports Home", c:"blue"},
	activities:{l:"home/activities.php",	t:"Latest Announcements/Offers", c:"green"},

     
        
	subEventsMenu:{l:"subevents/subeventsmenu.php",	t:"Reports"},
	subEventsHomePage:{l:"subevents/subeventshomepage.php",	t:"Reports Home"},	
		createSubEvents:{l:"subevents/createsubevents.php",	t:"Create Sub-Events"},
		viewEditDeleteSubevents:{l:"subevents/vieweditdeletesubevents.php",	t:"View/Edit/Delete Sub-Events"},
		createSubTeams:{l:"subevents/createsubteams.php",	t:"Create Sub-Teams"},
		viewEditDeleteSubteams:{l:"subevents/vieweditdeletesubteams.php",	t:"View/Edit/Delete Sub-Teams"},

	
	groupMenu:{l:"group/groupmenu.php",	t:"Groups"},
        groupHomePage:{l:"group/grouphomepage.php",	t:"Group Home"},
		createGroup:{l:"group/creategroup.php",	t:"Create Group"},
       		viewEditDeleteGroup:{l:"group/vieweditdeletegroup.php",	t:"View/Edit/Delete Groups"},
       		addContactstoGroups:{l:"group/addcontactstogroups.php",	t:"Add Contacts to Groups"},
		setGroupid:{l:"group/setgroupid.php",	t:"Set Groupid"},
		viewEditDeleteGroupid:{l:"group/vieweditdeletegroupid.php",	t:"View/Edit/Delete Groupid"},
		checkGroupSmsReports:{l:"group/checkgroupsmsreports.php",	t:"Check Group Sms Reports"},
		createSessions:{l:"group/createsessions.php",	t:"Create Sessions"},
		viewEditDeleteSessions:{l:"group/vieweditdeletesessions.php",	t:"View/Edit/Delete Sessions"},
		assignGroupstoSessions:{l:"group/assigngroupstosessions.php",	t:"Assign Group to Sessions"},
		

	

 	pushSmsMenu:{l:"pushsms/pushsmsmenu.php",	t:"Push SMS"},
	pushSmsHomePage:{l:"pushsms/instantsms.php",	t:"Push SMS Home"},	
 		instantSMS:{l:"pushsms/instantsms.php",	t:"Instant SMS"},	 
                singleSMS:{l:"pushsms/singlesms.php",	t:"Single Instant SMS"},	 
                groupSMS:{l:"pushsms/groupsms.php",	t:"Group Instant SMS"},	 
		singleScheduleSMS:{l:"pushsms/singleschedulesms.php",	t:"Single Instant  SMS"},	 
                groupScheduleSMS:{l:"pushsms/groupschedulesms.php",	t:"Group Instant SMS"},	 
		file2SmsStatic:{l:"pushsms/file2smsstatic.php",	t:"File 2 SMS Static"},	 
		file2SmsDynamic:{l:"pushsms/file2smsdynamic.php",	t:"File 2 SMS Dynamic"},	
        csvFile2SmsStatic:{l:"pushsms/csvfile2smsstatic.php",	t:"CSV File 2 SMS Static"},	 		
	 	scheduleSMS:{l:"pushsms/schedulesms.php",	t:"Schedule SMS"},
	 	viewEditDeleteScheduledSMS:{l:"pushsms/vieweditdeletescheduledsms.php",	t:"View/Edit/Delete Scheduled SMS"},
 		addSenderid:{l:"pushsms/addsenderid.php",	t:"Add Senderid"},
 		viewEditDeleteSenderid:{l:"pushsms/vieweditdeletesenderid.php",	t:"View/Edit/Delete Senderid"},
 		setDefaultSenderid:{l:"pushsms/setdefaultsenderid.php",	t:"Set Default Senderid"},
 		manageGroup:{l:"pushsms/managegroup.php",	t:"Manage Groups"},
		checkGroup:{l:"pushsms/checkgroup.php",	t:"Check if a Number exists in Group"},
 		manageContacts:{l:"pushsms/managecontact.php",	t:"Manage Contacts"},
		smsReports:{l:"pushsms/smsreports.php",	t:"Sms Reports by Excel"},
smsPanelReports:{l:"pushsms/smspanelreports.php",	t:"Sms Reports"},
     deliveryReports:{l:"pushsms/deliveryreports.php",	t:"Delivery Reports"},
		scheduledSmsReports:{l:"pushsms/scheduledsmsreports.php",	t:"Scheduled Sms Reports"},
		addTemplates:{l:"pushsms/addtemplates.php",	t:"Add Templates"},
		transactions:{l:"pushsms/transactions.php",	t:"Transactions"},
		viewEditDeleteTemplates:{l:"pushsms/vieweditdeletetemplates.php",	t:"View/Edit/Delete Templates"},
		httpApi:{l:"pushsms/httpapi.php",	t:"HTTP API"},
		xmlApi:{l:"pushsms/xmlapi.php",	t:"XML API"},

	pullSmsMenu:{l:"pullsms/pullsmsmenu.php",	t:"Pull SMS"},
	pullSmsHomePage:{l:"pullsms/pullsmshomepage.php",	t:"Pull SMS Home"},	
		supportDeskMain:{l:"pullsms/supportdeskmain.php",	t:"Support Desk"},
			inboxSupportDesk:{l:"pullsms/inboxsupportdesk.php",	t:"Support Desk"},
			sentMessageSupportDesk:{l:"pullsms/sentmessagesupportdesk.php",	t:"Support Desk"},
        	getFeedback:{l:"pullsms/getfeedback.php",	t:"Get Feedback "},
		getSponsorLikes:{l:"pullsms/getsponsorlikes.php",	t:"Get Sponsor Likes "},
		conductPoll:{l:"pullsms/conductpoll.php",	t:"Conduct Poll"},
		smsRegistration:{l:"pullsms/smsregistration.php",	t:"SMS Registrations "},
		shortCode:{l:"pullsms/shortcode.php",	t:"Short Code "},
		longCode:{l:"pullsms/longcode.php",	t:"Long Code "},
		addnewShortCodeKeyword:{l:"pullsms/addnewshortcodekeyword.php", t:" Add New Keyword"},
		manageKeywordShortCode:{l:"pullsms/managekeywordshortcode.php", t:" Manage Keyword"},
		shortCodeAnalysis:{l:"pullsms/shortcodeanalysis.php", t:"Short Code Analysis"},
		addnewLongCodeKeyword:{l:"pullsms/addnewlongcodekeyword.php", t:" Add New Keyword"},
		manageKeywordLongCode:{l:"pullsms/managekeywordlongcode.php", t:" Manage Keyword"},
		longCodeAnalysis:{l:"pullsms/longcodeanalysis.php", t:"Long Code Analysis"},

       complaintBoxMenu:{l:"raisecomplaint/complaintboxmenu.php",t:"Complaint Box Menu"},
       complaintBoxHomePage:{l:"raisecomplaint/complaintboxhomepage.php",t:"Complaint Box Home Page"},
	   raiseComplaint:{l:"raisecomplaint/raisecomplaint.php",t:"Raise Complaint"},
	   viewUsersComplaint:{l:"raisecomplaint/viewuserscomplaint.php",t:"View Users Complaints"},
	   viewYourComplaint:{l:"raisecomplaint/viewyourcomplaint.php",t:"View Your Complaints"},
	   closedComplaints:{l:"raisecomplaint/closedcomplaints.php",t:"Closed Complaints"},
	   faq:{l:"faq/faq.php",t:" FAQ "},
       
		
		createFeedbackGroup:{l:"pullsms/feedback/createfeedbackgroup.php",	t:"Create Feedback Group"},
		viewEditDeleteFeedbackGroup:{l:"pullsms/feedback/vieweditdeletefeedbackgroup.php",	t:"View/Edit/Delete Feedback Group"},
		pushFeedbackSms:{l:"pullsms/feedback/pushfeedbacksms.php",	t:"Push Feedback SMS"},
		feedbackReports:{l:"pullsms/feedback/feedbackreports.php",	t:"Feedback Reports"},
		setDefaultFeedbackGroup:{l:"pullsms/feedback/setdefaultfeedbackgroup.php",	t:"Set Default Feedback Group"},

		createPollGroup:{l:"pullsms/poll/createpollgroup.php",	t:"Create Poll Group"},
		viewEditDeletePollGroup:{l:"pullsms/poll/vieweditdeletepollgroup.php",	t:"View/Edit/Delete Poll Group"},
		pushPollSms:{l:"pullsms/poll/pushpollsms.php",	t:"Push Poll SMS"},
		pollReports:{l:"pullsms/poll/pollreports.php",	t:"Poll Reports"},
		setDefaultPollGroup:{l:"pullsms/poll/setdefaultpollgroup.php",	t:"Set Default Poll Group"},

		sendRegistrationSms:{l:"pullsms/registration/sendregistrationsms.php",	t:"Send Registration SMS "},
		viewRegistrationReports:{l:"pullsms/registration/viewregistrationreports.php",	t:"View Registration Reports"},
		createRegistrationGroup:{l:"pullsms/registration/createregistrationgroup.php",	t:"Create New Registration Group"},
		viewEditDeleteRegistrationGroup:{l:"pullsms/registration/vieweditdeleteregistrationgroup.php",	t:"View/Edit/Delete Registration Group"},
		setDefaultRegistrationGroup:{l:"pullsms/registration/setdefaultregistrationgroup.php",	t:"Set Default Registration Group"},

       	sponsorsConnectMenu:{l:"sponsorsconnect/sponsorsconnectmenu.php",	t:"Sponsor's Connect Menu"},
	       	addSponsor:{l:"sponsorsconnect/addsponsor.php",	t:"Add Sponsor"},
	       	viewEditDeleteSponsor:{l:"sponsorsconnect/vieweditdeletesponsor.php",	t:"View/Edit/Delete Sponsor"},
	       	addCampaign:{l:"sponsorsconnect/addcampaign.php",	t:"Add Campaign"},	
		manageCampaign:{l:"sponsorsconnect/managecampaign.php",	t:"Manage Scheduled Campaign"},
	       	sponsorsConnectReports:{l:"sponsorsconnect/sponsorsconnectreports.php",	t:"Sponsor's Connect Reports"},
	       	sendReportstoSponsors:{l:"sponsorsconnect/sendreportstosponsors.php",	t:"Send Reports to Sponsors"},
       	sponsorsConnectHomePage:{l:"sponsorsconnect/sponsorsconnecthomepage.php",	t:"Sponsor's Connect Home"},

	resellersMenu:{l:"resellers/resellersmenu.php",	t:"Resellers Menu"},
	resellersHomePage:{l:"resellers/resellershomepage.php",	t:"Resellers Home Page "},
	addNewUser:{l:"resellers/addnewuser.php",	t:"Add New User"},
	addDeductCredits:{l:"resellers/adddeductcredits.php",	t:"Add/Deduct Credits"},
	approveSenderId:{l:"resellers/approvesenderid.php",	t:"Approve Sender ID"},
	logologo:{l:"resellers/logo.php",	t:"Upload Logo"},
	homePageContent:{l:"resellers/homepagecontent.php",	t:"Home Page Content"},
	notificationContent:{l:"resellers/announcements.php",	t:"Notification Page Content"},
	pricingPageContent:{l:"resellers/pricingpagecontent.php",	t:"Pricing Content"},
	aboutUsContent:{l:"resellers/aboutuscontent.php",	t:"About Us Content"},
	contactUsContent:{l:"resellers/contactuscontent.php",	t:"Contact Us Content "},
	campaignReports:{l:"resellers/campaignreports.php",	t:"Campaign Reports"},
	sendReportstoSponsors:{l:"resellers/sendreportstosponsors.php",	t:"Send Reports to Sponsors"},
	manageUsers:{l:"resellers/manageusers.php",	t:"Manage Users"},
	addEnquiry:{l:"resellers/addenquiry.php",	t:"Add Enquiry"},
	viewEnquiries:{l:"resellers/viewenquiries.php",	t:"View Enquiries"},
	sendSmsToAllCustomers:{l:"resellers/sendsmstoallcustomers.php",	t:"Send SMS to All Customers"},
       
	smsFormatHomePage:{l:"smsformat/smsformathomepage.php",	t:"SMS Format Home"},	

	settingsMenu:{l:"settings/settingsmenu.php",	t:"Profile"},
	settingsHomePage:{l:"settings/settingshomepage.php",	t:"Profile Home"},		
		profile:{l:"settings/profile.php",	t:"Profile"},
		changePassword:{l:"settings/changepassword.php",	t:"Change Password"},
		smsSettings:{l:"settings/smssettings.php",	t:"SMS Settings"},
       signOutPage:{l:"<?php  header('Location: login.php'); ?>",	t:"Sign Out"},


	financeAccountMenu:{l:"financeaccount/financeaccountmenu.php",	t:"Finance Account Menu"},
	financeAccountHomePage:{l:"financeaccount/financeaccounthomepage.php",	t:"Finance Account Home Page"},
	addTransaction:{l:"financeaccount/addtransaction.php",	t:"Add Transaction"},
	viewTransaction:{l:"financeaccount/viewtransaction.php",	t:"View Your Reseller Transaction"},
	viewYourTransaction:{l:"financeaccount/viewyourtransaction.php",	t:"View Your Transaction"},
	viewBalance:{l:"financeaccount/viewbalance.php",	t:"View Balance"},
	addEnquiry:{l:"financeaccount/addenquiry.php",	t:"Add Enquiry"},
	viewClosedDeals:{l:"financeaccount/viewcloseddeals.php",	t:"View Closed Deals"},
	viewOpenDeals:{l:"financeaccount/viewopendeals.php",	t:"View Open Deals"},

	


        videoTutorialMenu:{l:"videotutorial/videotutorialmenu.php",	t:"Video Tutorial Menu"},
	videoTutorialHomePage:{l:"videotutorial/videotutorialhomepage.php",	t:"Video Tutorial Home Page"},
	manualUploadTutorial:{l:"videotutorial/manualuploadtutorial.php",	t:"Manual Upload Tutorial"},
	excelFileUploadTutorial:{l:"videotutorial/excelfileuploadtutorial.php",	t:"Excel File Upload Tutorial"},
	dynamicMessagingTutorial:{l:"videotutorial/dynamicmessagingtutorial.php",	t:"Dynamic Messaging Tutorial"},
	creatingUserTutorial:{l:"videotutorial/creatingusertutorial.php",	t:"Create User Tutorial"},
	creatingResellerTutorial:{l:"videotutorial/creatingresellertutorial.php",	t:"Create Reseller Tutorial"},
	addApproveSenderIdTutorial:{l:"videotutorial/addapprovesenderidtutorial.php",	t:"Add/Approve Sender ID Tutorial"},
	convertToResellerTutorial:{l:"videotutorial/converttoresellertutorial.php",	t:"Convert to Reseller Tutorial"},
        addEnquiryTutorial:{l:"videotutorial/addenquirytutorial.php",	t:"Add Enquiry Tutorial"},
	addTransactionTutorial:{l:"videotutorial/addtransactiontutorial.php",	t:"Add Transaction Tutorial"}




  
         
/*
	m201:{l:"m201.html",	t:"Module:m201"},
	m202:{l:"m202.html",	t:"Module:m202"},
	m203:{l:"m203.html",	t:"Module:m203"},
	m204:{l:"m204.html",	t:"Module:m204"},
	m205:{l:"m205.html",	t:"Module:m205"},
	m206:{l:"m206.html",	t:"Module:m206"},

	m301:{l:"m301.html",	t:"Module Definition (m301)"},
	m302:{l:"m302.html",	t:"Layout Definition (m302)"},
	m303:{l:"m303.html",	t:"Column Width Definition (m303)", c:"green"},

	m400:{l:"m400.html",	t:"Side Menu (m400)"},
	m401:{l:"m401.html",	t:"Tabs Control (m401)"},
	m402:{l:"m402.html",	t:"Accordion Control (m402)"},
	
	m500:{l:"m500.html",	t:"Some Goodies (m500)"},
	m501:{l:"m501.html",	t:"Local Link (m501)"},
	m502:{l:"m502.html",	t:"Ajax Forms (m502)"},
	m503:{l:"m503.html",	t:"Tab Link (m503)"},
	m504:{l:"m504.html",	t:"Thick Box (m504)"},

	m700:{l:"m700.html",	t:"RSSLi Menu (m700)"},
	m701:{l:"m701.html",	t:"RSS Reader (m701)"},
	m702:{l:"rss.php?q=http%3A%2F%2Frss.msnbc.msn.com%2Fid%2F3032091%2Fdevice%2Frss%2Frss.xml",	t:"MSNBC - Static RSS Module (m702)"},

	m601:{l:"m601.html",	t:"Resources & Credit"},
	m602:{l:"m602.html",	t:"License"}

*/
};

// Layout definitions for each tab, aka, which modules go to which columns under which tab
// Format:
//	{i:"id_of_the_module	(refer to _modules)",
//	c:"column_it_belongs_to	(c1, c2, c3)"
//	t:"tab_it_belongs_to	(t1, t2, ...)"}
var _layout=[
	{i:'supportdeskhome',c:'c1',t:'t1'},{i:'updates',c:'c2',t:'t1'},{i:'activities',c:'c3',t:'t1'},{i:'subEventsHomePage',c:'c4',t:'t1'},

	{i:'subEventsMenu',c:'c1',t:'t2'},{i:'subEventsHomePage',c:'c2',t:'t2'},

	{i:'pullSmsMenu',c:'c1',t:'t3'},{i:'pullSmsHomePage',c:'c2',t:'t3'},

	{i:'pushSmsMenu',c:'c1',t:'t4'},{i:'pushSmsHomePage',c:'c2',t:'t4'},

	{i:'videoTutorialMenu',c:'c1',t:'t5'},{i:'videoTutorialHomePage',c:'c2',t:'t5'},


        {i:'financeAccountMenu',c:'c1',t:'t6'},	{i:'financeAccountHomePage',c:'c2',t:'t6'},
		{i:'complaintBoxMenu',c:'c1',t:'t0'},	{i:'complaintBoxHomePage',c:'c2',t:'t0'},
	{i:'signOutPage',c:'c1',t:'t8'},

        {i:'settingsMenu',c:'c1',t:'t7'},{i:'settingsHomePage',c:'c2',t:'t7'},
		
			{i:'faq',c:'c1',t:'t10'},

//	{i:'sponsorsConnectMenu',c:'c1',t:'t9'},	{i:'sponsorsConnectHomePage',c:'c2',t:'t9'}
	{i:'resellersMenu',c:'c1',t:'t9'},	{i:'resellersHomePage',c:'c2',t:'t9'}
	
	/* {i:'m301',c:'c1',t:'t3'},{i:'m302',c:'c2',t:'t3'},{i:'m303',c:'c3',t:'t3'},

	{i:'m400',c:'c1',t:'t4'},{i:'m401',c:'c2',t:'t4'},

	{i:'m500',c:'c1',t:'t5'},{i:'m501',c:'c2',t:'t5'},

	{i:'m700',c:'c1',t:'t7'},{i:'m701',c:'c2',t:'t7'},
							 {i:'m702',c:'c2',t:'t7'},

	{i:'m601',c:'c1',t:'t6'},
	{i:'m602',c:'c1',t:'t6'} */
];

// Column width definitions for each tab
// Valid values are pixel, % or auto
// Currently, "auto" is only valid on column2
// You can support more features by refining function HeaderTabClick()
var _tabs={
	t1:{c1:"33.3%",c2:"33.3%",c3:"33.3%",c4:"auto",helper:true},
	t2:{c1:"270px",c2:"auto",c3:0},
	t3:{c1:"270px",c2:"auto",c3:0},
	t4:{c1:"270px",c2:"auto",c3:0},
	t5:{c1:"270px",c2:"auto",c3:0},
	t6:{c1:"270px",c2:"auto",c3:0},
	t8:{c1:"100%",c2:0,c3:0},
	t7:{c1:"270px",c2:"auto",c3:0},
	t9:{c1:"270px",c2:"auto",c3:0},
	t0:{c1:"270px",c2:"auto",c3:0},
	t10:{c1:"100%",c2:0,c3:0}
     
};

