
INSERT INTO admin_users (Username,Password,Email) VALUES ("admin","private-909!","");
INSERT INTO webbuilder (ProjectName,ImagesDirectory,ImageUploadURL,ImageUploadName) VALUES ("project_1","assets","other/request.php","upload_image");

INSERT INTO managed_settings (RegistrationEmailFrom,ContactEmailFrom,RegistrationEmailTemplate,ContactEmailTemplate) VALUES ("registration","contact","index.html","index.html");

INSERT INTO contact (type,email,phone,address) VALUES ("contact_us","contact@cradle2careertx.xyz","000-000-000","24301 Brazos Town Crossing #500, PMB #318 Rosenberg, TX 77471");
INSERT INTO contact (type,email,phone,address) VALUES ("support","support@cradle2careertx.xyz","000-000-000","24301 Brazos Town Crossing #500, PMB #318 Rosenberg, TX 77471");


INSERT INTO application_settings (category,json) VALUES ("sponsorships",'{"name":"sponsorship_1","displayName":"Sponsor Level 1","type":"level","available":true,"canAdjust":true,"basePrice":"25","maxPrice":"10000","description":"By becoming a sponsor today youll have thhe oppertinuty to support a great orginazation and have your name or company logo displayed in our sponsors area. Once again thank you for your support.","image":""}');

INSERT INTO application_settings (category,json) VALUES ("sponsorships",'');

INSERT INTO sponsorships (Name,Type,BasePrice,CanAdjust,Description) VALUES ("Sponsorship 1",1,"one","10.00","Become a sponsor have your name or company logo displayed");

INSERT INTO subdomain_properties (SubDomain) VALUES ("www");
INSERT INTO subdomain_properties (SubDomain) VALUES ("www12");

INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","Domain",                 "cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","EmailUrl",               "https://www.cradle2careertx.xyz/portal/validation/email_account/normal/index.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","EmailServer",            "server1.cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","AutoEmailLoginUrl",      "https://www.cradle2careertx.xyz/portal/mailclient/1/RoundcubeAutoLogin.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","PaypalServiceUrl",       "https://www.cradle2careertx.xyz:9001/get_token");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","AppfactoryUrl",          "http://live1.appfactory.studio/plugins/app/php/server/request.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","Address",                "https://www.cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","PayPalPort",             "9455");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","PayPalEndPoint",         "paypal_checkout");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","CertPrivateKeyLocation", "/etc/letsencrypt/live/www.cradle2careertx.xyz/privkey.pem");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","CertPublicKeyLocation",  "/etc/letsencrypt/live/www.cradle2careertx.xyz/cert.pem");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","PaypalClientId",         "AbehsBM-Cg5UwIx6pAWObkiltltLPwN82QlhN-u4qwYMD7Fzly_mDmUGYnSJqHuMLIWjhBk9I5iKsvIN");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","PaypalAppSecret",        "EIMOBpKnMGNlgaofARDgpuigkvpoSilNUJQSXSmXhNRwxrVosOVp1DCpb7Ky2OfjX7rR0SqszgRMyg1-");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","facebook-link",          "https://www.facebook.com/Cradle2CareerTX");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","twitter-link",           "https://twitter.com/Cradle2CareerTx");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www","instagram-link",         "https://www.instagram.com/cradle2careertx/");


INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","Domain",                 "cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","EmailUrl",               "https://www10.cradle2careertx.xyz/portal/validation/email_account/normal/index.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","EmailServer",            "server1.cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","AutoEmailLoginUrl",      "https://www10.cradle2careertx.xyz/portal/mailclient/1/RoundcubeAutoLogin.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","PaypalServiceUrl",       "https://www10.cradle2careertx.xyz:9001/get_token");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","AppfactoryUrl",          "http://live1.appfactory.studio/plugins/app/php/server/request.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","Address",               "https://www10.cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","PayPalPort",             "9455");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","PayPalEndPoint",         "paypal_checkout");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","CertPrivateKeyLocation", "/etc/letsencrypt/live/www10.cradle2careertx.xyz/privkey.pem");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","CertPublicKeyLocation",  "/etc/letsencrypt/live/www10.cradle2careertx.xyz/cert.pem");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","PaypalClientId",         "AbehsBM-Cg5UwIx6pAWObkiltltLPwN82QlhN-u4qwYMD7Fzly_mDmUGYnSJqHuMLIWjhBk9I5iKsvIN");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","PaypalAppSecret",        "EIMOBpKnMGNlgaofARDgpuigkvpoSilNUJQSXSmXhNRwxrVosOVp1DCpb7Ky2OfjX7rR0SqszgRMyg1-");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","facebook-link",          "https://www.facebook.com/Cradle2CareerTX");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","twitter-link",           "https://twitter.com/Cradle2CareerTx");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www10","instagram-link",         "https://www.instagram.com/cradle2careertx/");




INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","Domain",                 "cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","EmailUrl",               "https://www12.cradle2careertx.xyz/portal/validation/email_account/normal/index.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","EmailServer",            "server1.cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","AutoEmailLoginUrl",      "https://www12.cradle2careertx.xyz/portal/mailclient/1/RoundcubeAutoLogin.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","PaypalServiceUrl",       "https://www12.cradle2careertx.xyz:9001/get_token");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","AppfactoryUrl",          "http://live1.appfactory.studio/plugins/app/php/server/request.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","Address",               "https://www12.cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","PayPalPort",             "9456");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","PayPalEndPoint",         "paypal_checkout");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","CertPrivateKeyLocation", "/etc/letsencrypt/live/www11.cradle2careertx.xyz/privkey.pem");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","CertPublicKeyLocation",  "/etc/letsencrypt/live/www11.cradle2careertx.xyz/cert.pem");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","PaypalClientId",         "AbehsBM-Cg5UwIx6pAWObkiltltLPwN82QlhN-u4qwYMD7Fzly_mDmUGYnSJqHuMLIWjhBk9I5iKsvIN");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","PaypalAppSecret",        "EIMOBpKnMGNlgaofARDgpuigkvpoSilNUJQSXSmXhNRwxrVosOVp1DCpb7Ky2OfjX7rR0SqszgRMyg1-");

INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","facebook-link",          "https://www.facebook.com/Cradle2CareerTX");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","twitter-link",           "https://twitter.com/Cradle2CareerTx");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www11","instagram-link",         "https://www.instagram.com/cradle2careertx/");


INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","Domain",                 "cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","EmailUrl",               "https://www12.cradle2careertx.xyz/portal/validation/email_account/normal/index.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","EmailServer",            "server1.cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","AutoEmailLoginUrl",      "https://www12.cradle2careertx.xyz/portal/mailclient/1/RoundcubeAutoLogin.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","PaypalServiceUrl",       "https://www12.cradle2careertx.xyz:9001/get_token");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","AppfactoryUrl",          "http://live1.appfactory.studio/plugins/app/php/server/request.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","Address",               "https://www12.cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","PayPalPort",             "9457");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","PayPalEndPoint",         "paypal_checkout");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","CertPrivateKeyLocation", "/etc/letsencrypt/live/www12.cradle2careertx.xyz/privkey.pem");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","CertPublicKeyLocation",  "/etc/letsencrypt/live/www12.cradle2careertx.xyz/cert.pem");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","PaypalClientId",         "AbehsBM-Cg5UwIx6pAWObkiltltLPwN82QlhN-u4qwYMD7Fzly_mDmUGYnSJqHuMLIWjhBk9I5iKsvIN");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www12","PaypalAppSecret",        "EIMOBpKnMGNlgaofARDgpuigkvpoSilNUJQSXSmXhNRwxrVosOVp1DCpb7Ky2OfjX7rR0SqszgRMyg1-");

INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","Domain",                 "cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","EmailUrl",               "https://www15.cradle2careertx.xyz/portal/validation/email_account/normal/index.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","EmailServer",            "server1.cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","AutoEmailLoginUrl",      "https://www15.cradle2careertx.xyz/portal/mailclient/1/RoundcubeAutoLogin.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","PaypalServiceUrl",       "https://www15.cradle2careertx.xyz:9001/get_token");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","AppfactoryUrl",          "http://live1.appfactory.studio/plugins/app/php/server/request.php");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","Address",               "https://www15.cradle2careertx.xyz");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","PayPalPort",             "9991");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","PayPalEndPoint",         "paypal_checkout");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","CertPrivateKeyLocation", "/etc/letsencrypt/live/www15.cradle2careertx.xyz/privkey.pem");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","CertPublicKeyLocation",  "/etc/letsencrypt/live/www15.cradle2careertx.xyz/cert.pem");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","PaypalClientId",         "AbehsBM-Cg5UwIx6pAWObkiltltLPwN82QlhN-u4qwYMD7Fzly_mDmUGYnSJqHuMLIWjhBk9I5iKsvIN");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","PaypalAppSecret",        "EIMOBpKnMGNlgaofARDgpuigkvpoSilNUJQSXSmXhNRwxrVosOVp1DCpb7Ky2OfjX7rR0SqszgRMyg1-");


INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","facebook-link",          "https://www.facebook.com/Cradle2CareerTX");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","twitter-link",           "https://twitter.com/Cradle2CareerTx");
INSERT INTO subdomain_properties (SubDomain,PropertyName,PropertyValue) VALUES ("www15","instagram-link",         "https://www.instagram.com/cradle2careertx/");





CREATE TABLE IF NOT EXISTS managed_settings (
	id INT AUTO_INCREMENT PRIMARY KEY,
	RegistrationEmailFrom VARCHAR(255) NULL,
	ContactEmailFrom VARCHAR(255) NULL,
	RegistrationEmailTemplate VARCHAR(255) NULL,
	ContactEmailTemplate VARCHAR(255) NULL,
	date TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
);
INSERT INTO managed_settings (RegistrationEmailFrom,ContactEmailFrom,RegistrationEmailTemplate,ContactEmailTemplate) VALUES ("registration","contact","index.html","index.html");

UPDATE managed_settings SET SponsorshipEmailFrom="sponsorships", SponsorshipEmailTemplate="" WHERE id=1;



INSERT INTO admin_users (Username,Password,Email) VALUES ("admin","private-909!","");
INSERT INTO webbuilder (ProjectName,ImagesDirectory,ImageUploadURL,ImageUploadName) VALUES ("project_1","assets","other/request.php","upload_image");

INSERT INTO managed_settings (RegistrationEmailFrom,ContactEmailFrom,RegistrationEmailTemplate,ContactEmailTemplate) VALUES ("registration","contact","index.html","index.html");





