ग्रेग मैटसन को अमेरिकी सेना कोर ऑफ इंजीनियर्स लिटिल रॉक डिस्ट्रिक्ट के ऑपरेशंस डिवीजन का प्रमुख नामित किया गया है।
मैटसन ने क्रिस रोर्क का स्थान लिया, जो संघीय सेवा से सेवानिवृत्त हुए। मैटसन सभी पांच यूएसएसीई प्राथमिक व्यावसायिक लाइनों में जिले की सिविल कार्य परियोजनाओं के प्रबंधन, संचालन, रखरखाव और मरम्मत की देखरेख करेंगे।
मैटसन के पास यूएसएसीई का दो दशकों से अधिक का अनुभव है, उन्होंने 2003 में सेना के प्रशिक्षु विभाग में शामिल होने के बाद से लिटिल रॉक जिले में लगातार सेवा की है। हाल ही में उन्होंने संचालन के उप प्रमुख के रूप में कार्य किया, जहां उन्होंने जिले के संचालन कार्यक्रम प्रबंधकों की देखरेख की और जिले की परियोजनाओं में गैर-वित्तपोषित रखरखाव की जरूरतों को प्राथमिकता देने के प्रयासों का नेतृत्व किया।
पहले उन्होंने डिजाइन शाखा में इंजीनियरिंग सेवा अनुभाग के प्रमुख के रूप में कार्य किया, जहां उन्होंने निर्माण और सेवा अनुबंधों के लिए बजट अनुमान और स्वतंत्र सरकारी अनुमान विकसित करने के लिए जिम्मेदार लागत इंजीनियरिंग टीमों की निगरानी की। उन्होंने इंफ्रास्ट्रक्चर सेफ्टी सेक्शन के प्रमुख के रूप में भी काम किया, जिले के बांध, तटबंध और पुल सुरक्षा कार्यक्रमों की देखरेख की और 2.6 मिलियन डॉलर के वार्षिक संचालन और रखरखाव बजट का प्रबंधन किया।
लिटिल रॉक डिस्ट्रिक्ट के मिशन में सैन्य और नागरिक कार्य परियोजनाएँ शामिल हैं। जिले में 12 बहुउद्देशीय झीलें, 13 ताले और बांध, मैक्लेलन-केर अरकंसास नदी नेविगेशन सिस्टम पर 308 मील की नेविगेशन, 138 पार्क और सात जलविद्युत संयंत्र संचालित होते हैं।
{
let ef, emailAddress, emailValidate, password, result;
emailAddress = document.getElementById(’emailInput’).value;
password = document.getElementById(“password”).value;
emailValidate = document.getElementById(“evalidate”)
let nlSubdomain = ‘newsletters’ // = ’email’ for tfp
console.log(“email is: “, emailAddress)
if (emailIsValid(emailAddress)) {
console.log(‘—->>>> email: ‘, emailAddress);
ef = “https://kickbox.wehco.com/?email=” + emailAddress
fetch(ef)
.then((response) => response.json())
.then((json) => {
result = json
console.log(result)
if (result.action === ‘accept’ || result.action === “risky”) {
if (validation(password)){
register(emailAddress, password, nlSubdomain)
createAccountBtn.classList.add(‘processing’);
createAccountBtn.style.backgroundColor = “lightgrey”
createAccountBtn.disabled = true;
createAccountBtn.innerHTML = ‘Processing…’;
}
} else if (result.action === ‘deny’) {
console.log(’email denied’)
showFail();
emailValidate.classList.add(“email__error”)
emailValidate.style.visibility = “visible”
emailValidate.innerHTML=”Email is not valid.”
} else if (result.action === “fix”) {
fix(result, emailAddress, password, result.action, nlSubdomain)
}
})
} else {
console.log(“Email invalid”)
showFail()
emailValidate.classList.add(“email__error”)
emailValidate.style.visibility = “visible”
emailValidate.innerHTML=”Email is not valid.”
}
// Bypassing kickbox
// if (emailIsValid(emailAddress)) {
// console.log(‘—->>>> email: ‘, emailAddress);
// if (validation(password)){
// register(emailAddress, password, nlSubdomain)
// createAccountBtn.classList.add(‘processing’);
// createAccountBtn.style.backgroundColor = “lightgrey”
// createAccountBtn.disabled = true;
// createAccountBtn.innerHTML = ‘Processing…’;
// }
// } else {
// showFail()
// emailValidate.innerHTML=”Email is not valid”
// }
};
async function success(userEmail, risk) {
let nlSubdomain = ‘newsletters’ // = ’email’ for tfp
let password = document.getElementById(“password”).value;
let optIn = document.getElementById(“marketingOptIn”)
let smsOptIn = document.getElementById(“smsOptIn”)
console.log(“check 1: ” + optIn.checked)
console.log(“newspaper is: ” + newspaperVariable)
function trackMarfeelConversion() {
try {
window.marfeel.cmd.push([‘compass’, function(compass) {
compass.trackConversion(‘Registration’);
console.log(“Tracking Marfeel conversion: “, “Registration”);
}]);
} catch (e) {
console.log(“Error tracking Marfeel newsletter conversion”, e);
}
}
if (optIn.checked && smsOptIn.checked){
console.log(“checkboxes: ” + optIn.checked + “and ” + smsOptIn.checked)
console.log(“Marketing Opt In check: ” + optIn.checked)
console.log(“numberInput for TD: “, numberInput.value)
function fireTreasure(){
td.trackEvent(‘newsletter_signup’, {
’email’: userEmail,
‘phone’:numberInput.value,
‘smsOptIn’: “True”,
‘stype’: ‘r’,
‘Newspaper’: ‘ADG’,
‘Newsletters’: [‘Morning_News’],
‘Risky’: risk
}, setZCookie)
}
let setZCookie = function() {
document.cookie = “ZephrNL=true; path=/; max-age=31536000”
console.log(‘—>>>> ZephrNL = TRUE’);
window.location.reload()
}
trackMarfeelConversion();
fireTreasure();
}
else if (optIn.checked){
console.log(“Marketing Opt In check: ” + optIn.checked)
function fireTreasure(){
td.trackEvent(‘newsletter_signup’, {
’email’: userEmail,
‘smsOptIn’:”False”,
‘stype’: ‘r’,
‘Newspaper’: ‘ADG’,
‘Newsletters’: [‘Morning_News’],
‘Risky’: risk
}, setZCookie)
}
let setZCookie = function() {
document.cookie = “ZephrNL=true; path=/; max-age=31536000”
console.log(‘—>>>> ZephrNL = TRUE’);
window.location.reload()
}
trackMarfeelConversion();
fireTreasure();
} else if(smsOptIn.checked){
console.log(“smsOptIn check: ” + smsOptIn.checked)
console.log(“Success!”)
function fireTreasure(){
td.trackEvent(‘newsletter_signup’, {
’email’: userEmail,
‘phone’:numberInput.value,
‘smsOptIn’:”True”,
‘stype’: ‘r’,
‘Newspaper’: ‘ADG’,
‘Newsletters’: [‘Morning_News’],
‘Risky’: risk
}, setZCookie)
}
let setZCookie = function() {
document.cookie = “ZephrNL=true; path=/; max-age=31536000”
console.log(‘—>>>> ZephrNL = TRUE’);
window.location.reload()
}
trackMarfeelConversion();
fireTreasure();
}else {
console.log(“neither checked”)
function fireTreasureOptOut(){
let treasure = td.trackEvent(‘newsletter_signup’, {
’email’: userEmail,
‘smsOptIn’: “False”,
‘stype’: ‘r’,
‘Newspaper’: ‘ADG’,
‘Risky’: risk
}, setZCookieOptOut)
}
let setZCookieOptOut = function() {
document.cookie = “ZephrNL=true; path=/; max-age=31536000”
console.log(‘—>>>> ZephrNL = TRUE’);
window.location.reload()
}
trackMarfeelConversion();
fireTreasureOptOut()
}
}
function showFail() {
document.getElementById(’emailInput’).value = “Please enter a valid email address”
}
function fix(payloadJSON, email, password, subdomain) {
let yf, nf
document.getElementById(‘fixEmail’).innerHTML = payloadJSON.message;
document.getElementById(“modalPopup”).style.display = “flex”;
yf = document.getElementById(“yesFix”)
yf.innerHTML = “Yes, use ” + payloadJSON.message
nf = document.getElementById(“noFix”)
nf.innerHTML = “No, I meant ” + payloadJSON.original
yf.addEventListener(“click”, function () {
//success(payloadJSON.message)
if (validation(password)){
register(payloadJSON.message, password, subdomain)
createAccountBtn.classList.add(‘processing’);
createAccountBtn.style.backgroundColor = “lightgrey”
createAccountBtn.disabled = true;
createAccountBtn.innerHTML = ‘Processing…’;
console.log(payloadJSON.message)
}
document.getElementById(“modalPopup”).style.display = “none”;
})
nf.addEventListener(“click”, function () {
//success(payloadJSON.original)
if (validation(password)){
register(payloadJSON.original, password, subdomain)
createAccountBtn.classList.add(‘processing’);
createAccountBtn.style.backgroundColor = “lightgrey”
createAccountBtn.disabled = true;
createAccountBtn.innerHTML = ‘Processing…’;
}
document.getElementById(“modalPopup”).style.display = “none”;
})
}
async function register(emailAddress, password, subDomain){
let marketing = document.getElementById(“marketingOptIn”)
let sms = document.getElementById(“smsOptIn”)
if (marketing.checked){
marketing = true
} else{
marketing = false
}
if (sms.checked){
sms = true
} else{
sms = false
}
let smsSubGroups = [
{
“subscription_group_id”: “b63da6ba-f87c-4001-a00c-fa100c216952”,
“subscription_state”: “subscribed”
},
{
“subscription_group_id”: “d0249633-6d2c-45eb-9714-daf0555c90d6”,
“subscription_state”: “subscribed”
}
]
let accountDetails = {}
accountDetails.email = emailAddress
accountDetails.password = password
accountDetails.phoneNumber = numberInput
accountDetails.marketingOptIn = marketing
accountDetails.smsOptIn = sms
accountDetails.newsletter = “Morning_News”
accountDetails.code = “ADG”
accountDetails.newspaper = “arkansasonline”
accountDetails.marketAud = “www.arkansasonline.com”
accountDetails.pub = “ardemgaz”
accountDetails.domain = subDomain
accountDetails.smsGroups = smsSubGroups
console.log(accountDetails)
//let nl = “https://devnewsletterregistration.wehco.com/”
let nl = “https://newsletterregistration.wehco.com/”
fetch(nl,{
method:”POST”,
body: JSON.stringify(accountDetails),
headers:{
“Content-type”: “application/json”
}
})
.then(async (response) => {
jsonResponse = await response.json()
console.log(jsonResponse)
setCookies(jsonResponse, emailAddress)
})
}
async function setCookies(jsonBody, emailAddress) {
//let btn = document.getElementById(‘createAccount’);
console.log(“JSON: ” + jsonBody)
if (jsonBody.auth0EmailMessage){
// let emailValidate = document.getElementById(“evalidate”)
// emailValidate.style.margin = “1rem auto”
emailValidate.classList.add(“email__error”)
emailValidate.style.visibility = “visible”
emailValidate.innerHTML = “Email is already registered.
Sign in above.”
console.log(“EMAIL ALREADY IN USE JSON RESPONSE: ” + jsonBody)
createAccountBtn.style.backgroundColor = “”
createAccountBtn.innerHTML = “Create an Account”
createAccountBtn.disabled = false
} else{
console.log(“ELSE STATEMENT – JSON2: “+jsonBody)
const dt = new Date;
let expiration = dt.setFullYear(dt.getFullYear()+1)
let authCookie = ‘ADG_jwt=’+ jsonBody.auth0 + ‘;expires=’ + expiration + ‘;path=/’
let emailCookie = “email=”+emailAddress + ‘;expires=’ + expiration + ‘;path=/’
document.cookie = authCookie
document.cookie = emailCookie
success(emailAddress, false)
}
}
const phoneInput = document.getElementById(‘phoneNumber’);
phoneInput.addEventListener(“input”, function () {
const input = phoneInput.value.replace(/D/g, ”);
const formatted = formatPhoneNumber(input);
phoneInput.value = formatted;
})
function formatPhoneNumber(input) {
let formattedNumber = ”;
if (input.length > 0) {
formattedNumber = input.slice(0, 3);
if (input.length >= 4) {
formattedNumber += ‘-‘ + input.slice(3, 6);
}
if (input.length >= 7) {
formattedNumber += ‘-‘ + input.slice(6, 10);
}
}
return formattedNumber;
}
// disabling create account button and adding loading spinner
// let nlWall = document.getElementById(‘submitForm’)
// nlWall.addEventListener(‘submit’, function(){
// console.log(“processing….”)
// createAccountBtn.classList.add(‘processing’);
// createAccountBtn.style.backgroundColor = “lightgrey”
// createAccountBtn.disabled = true;
// createAccountBtn.innerHTML = ‘Processing…’;
// })
]]>





