THE WOODLANDS, TX — The Texas Department of Family and Protective Services reported that nearly 2,000 children in Harris and Montgomery counties live in the Foster Care System. Of those, almost 1,000 will soon turn 18 and age out of the program.
These young adults may experience homelessness, unemployment or incarceration. Lone Star College has partnered with Petra Cares to offer these youths an educational opportunity that will lead to a sustainable career.
“Lone Star College is excited to work with Petra Cares on this great opportunity to help students exiting the foster system learn a trade and find a rewarding career,” said Connor O’Sullivan, LSC Continuing Education Executive Director. “Students often struggle in college due to non-academic reasons such as child care, housing and transportation costs. Petra has stepped up to help in these areas so our students can focus on learning.”
The partnership will enroll and train approximately 60 students in the LSC Automotive Lubrication Technician program each year. Additionally, Petra Cares will provide students with transportation, course materials, tools, child care assistance, technical training and life skills.
“Education breaks the cycle of poverty,” said Arnold Gacita, President of Petra Automotive Products and Petra Cares Board President. “Petra Cares wants to be a conduit of quality education and meaningful employment to this marginalized group of young people.”
The LSC and Petra Cares partnership will start its first cohort in spring 2023 with 10 to 20 students. The LSC Automotive Lubrication Technician program is a 192 hour-training, six-week course focused on teaching an introduction to automotive technology, basic service skills and an overview of electrical systems. The goal is to train students on the skills necessary to seek employment as an automotive lubrication technician handling basic preventative maintenance and other routine automotive care.
Upon completion of the LSC Automotive Lubrication Technician program, graduates will earn a certificate, and Petra Cares will provide free auto mechanic training and job placement with its industry partners.
In addition to this partnership, LSC has other programs that assist students who grew up in the Foster Care System. The Lone Star College Navigators help individuals with transportation, child care, housing assistance and other beneficial services. Visit LoneStar.edu/Navigators for more information.
Lone Star College enrolls over 80,000 students each semester providing high-quality, low-cost academic transfer and career training education. LSC is training tomorrow’s workforce today and redefining the community college experience to support student success. Stephen C. Head, Ph.D., serves as chancellor of LSC, the largest institution of higher education in the Houston area and has been named a 2022 Great Colleges to Work For® institution by the Chronicle of Higher Education, ranked 35th in Texas in the Forbes ‘America’s Best Employers By State’ list and recognized by Fortune Magazine and Great Place To Work® as one of this year’s Best Workplaces in Texas™. LSC consists of eight colleges, seven centers, eight Workforce Centers of Excellence and Lone Star Corporate College. To learn more, visit LoneStar.edu.
cm = {};
cm.locallyLoggedIn = 0;
cm.parentCommentID = 0;
cm.loginType=””;
cm.loginsValidating = 0;
cm.loginSuccess = 0;
cm.failureCount = 0;
cm.deleteFailureCount = 0;
cm.enableAtChildID = 0;
cm.state=””;
cm.comment=””;
cm.replyprepend = ”;
cm.comments;
cm.topMouseBind;
cm.auth2;
cm.locUID = -1
cm.fbUID = -1;
cm.initRefreshComplete = 0;
cm.refreshCount = 0;
cm.loginToken = 0;
cm.commentIDDelete = 0;
cm.deleteCommentID = 0;
cm.commentIDEdit = 0;
cm.isLoggedIn = function(forceValidation){
var isLoggedIn = false;
if(cm.locallyLoggedIn){
isLoggedIn = true;
}else if(!forceValidation && cm.loginType != ”){
isLoggedIn = true;
}else{
cm.loginsValidating++;
FB.getLoginStatus(function(response) {
cm.fbgetLoginStatusCB(response);
});
isLoggedIn = false;
}
return isLoggedIn
}
cm.promptLogin = function(errorText){
cm.toggleLoginBox(true);
if(errorText.length){
$(‘#cm-login-error’).html(errorText);
}
}
cm.toggleLoginBox = function(open){
if(open){
$(‘#cm-greyout’).css(‘display’,’block’);
$(‘#cm-login-wrapper’).css(‘display’,’block’);
}else{
$(‘#cm-greyout’).css(‘display’,’none’);
$(‘#cm-login-wrapper’).css(‘display’,’none’);
}
}
var lsfcount = 0;
cm.loginSuccessFunc = function(type, token){
cm.loginType = type;
cm.toggleLoginBox(false);
lsfcount++;
if(cm.loginType != ‘local’){
cm.loginToken = token;
}else{
cm.loginToken = ”;
cm.locUID = token;
}
if(cm.state == ‘post’){
cm.postComment(cm.failedCommentParentID, cm.comment, cm.failureCount, 0);
}else if(cm.state == ‘delete’){
cm.deleteComment(cm.deleteCommentID, cm.loginType, cm.loginToken, cm.deleteFailureCount);
}else if(cm.state == ‘edit’){
cm.postComment(0, cm.comment, cm.failureCount, cm.commentEditID);
}else{
cm.enableComment();
}
}
cm.loginValidated = function(success){
cm.loginsValidating += -1;
if(success){
cm.loginSuccess = 1;
}
if(cm.loginsValidating == 0){
cm.allLoginsValidated();
}
}
cm.allLoginsValidated = function(){
if(!cm.loginSuccess){
cm.promptLogin(”);
}
}
cm.validateCommentText = function(commentText){
var validTxt = 1;
if(!commentText.length){
validTxt = 0;
}
return validTxt
}
cm.resetComment = function(commentID){
if(commentID != 0){
$(‘#cm-reply-comment-‘+commentID).val(”);
}else{
$(“#cm-add-topcomment”).css(‘color’, ‘#777’);
$(‘#cm-add-topcomment’).val(‘Add a comment…’);
}
}
cm.postComment = function(parentID, commentText, retryCount, commentID){
if(commentID === undefined){
commentID = 0;
}
if(commentText.length){
if(!$(‘.cm-faded[data-id=”‘+cm.enableAtChildID+'”]’).length){
var fadeDiv = $(‘
“class”: ‘cm-faded’,
“data-id”: cm.enableAtChildID
});
if(cm.enableAtChildID != 0){
$(‘#cm-reply-container-‘+cm.enableAtChildID).append(fadeDiv);
}else{
$(‘#cm-topcomment-container’).append(fadeDiv);
}
}
$.ajax({
type: “GET”
,url: ‘https://www.woodlandsonline.com/secure_codetemps/cm/ajax_jp_postcomment.cfm’
,data: {cid:commentID,tk:escape(cm.loginToken),ltype:cm.loginType,comment:commentText,parentid:parentID,csid:2,lid:74650}
,dataType: ‘jsonp’
,jsonp: ‘jpcb_postComment’
,success: function(data){
if(data.success){
$(‘.cm-faded[data-id=”‘+cm.enableAtChildID+'”]’).remove();
cm.postCommentSuccess(data.reqapproval, data.comment, data.subject, data.parentid, data.subjectenabled);
cm.resetComment(cm.enableAtChildID);
cm.resetState();
}else{
cm.loginSuccess = 0;
if(commentID){
cm.commentEditID = commentID;
cm.state=”edit”;
}else{
cm.state=”post”;
}
switch(data.errortype){
case ‘userexpire’:
cm.comment = commentText;
cm.failedCommentParentID = parentID;
cm.promptLogin(‘Your session has expired. Please log in to post comment.’);
break;
case ‘tokeninvalid’:
cm.failureCount++;
if(retryCount == 0){
cm.comment = commentText;
cm.failedCommentParentID = parentID;
switch(data.externalFailed){
case ‘facebook’:
cm.loginsValidating = 1;
FB.getLoginStatus(function(response) {
cm.fbgetLoginStatusCB(response);
}, true);
break;
}
}else{
cm.promptLogin(”);
}
break;
default:
cm.dialogBox(data.errortxt);
$(‘.cm-faded[data-id=”‘+cm.enableAtChildID+'”]’).remove();
break;
}
}
}
});
}else{
var errorMsg = “Please enter a comment.”
}
}
var count = 0;
cm.enableComment = function(){
var curCommentID = cm.enableAtChildID;
var replytoID = cm.parentCommentID;
if(curCommentID == 0){
if($(‘#cm-add-topcomment’).val() == ‘Add a comment…’){
$(‘#cm-add-topcomment’).val(”);
}
$(“#cm-add-topcomment”).css(‘color’, ‘#000’);
$(‘#cm-add-topcomment’).focus();
$(‘#cm-topcomment-post-container’).css(‘display’,’block’);
$(‘#cm-add-topcomment-post’).off(‘click’);
cm.topMouseBind = $(‘#cm-add-topcomment-post’).click(function(){
var commentText = $(‘#cm-add-topcomment’).val();
if(cm.validateCommentText(commentText)){
cm.postComment(0, commentText, 0, 0);
}
});
}else{
if($(‘.cm-comment[data-id=”‘ + curCommentID + ‘”]’).attr(‘replyenabled’) != ‘1’){
$replyToEle = $(‘.cm-comment[data-id=”‘ + curCommentID + ‘”]’);
$replyToEle.attr(‘replyenabled’, ‘1’);
$replyToEle = $(‘
“class”: ‘cm-reply-container’,
id: ‘cm-reply-container-‘ + curCommentID
}).appendTo($replyToEle);
$replyToEle.append(‘
‘);
$replyToEle.append(‘‘);
replytextarea = $(‘‘,{
id: ‘cm-reply-comment-‘ + curCommentID,
“class”: “cm-reply-text”
}).val(cm.replyprepend).appendTo($replyToEle);
$replyToEle.append(‘
‘);
$(‘#cm-cancel-reply-post-‘ + curCommentID).click(function(){
$(‘.cm-comment[data-id=”‘ + curCommentID + ‘”]’).attr(‘replyenabled’, ‘0’);
$(‘.cm-comment[data-id=”‘ + curCommentID + ‘”] .cm-reply-container’).remove();
});
$(‘#cm-add-reply-post-‘ + curCommentID).off(‘click’);
$(‘#cm-add-reply-post-‘ + curCommentID).click(function(){
commentText = $(‘#cm-reply-comment-‘ + curCommentID).val();
if(cm.validateCommentText(commentText)){
cm.postComment(replytoID, commentText, 0, 0);
}
});
$(replytextarea).focus().val(”).val(cm.replyprepend);
}
}
}
cm.postCommentSuccess = function(reqapproval, comment, subject, parentid, subjectenabled){
if(reqapproval){
cm.dialogBox(‘Your comment has been posted and is now awaiting approval.’);
}else{
cm.refreshComments();
}
}
cm.refreshComments = function(){
cm.refreshCount++;
var initRefreshCount = cm.refreshCount;
$.ajax({
type: “GET”
,url: ‘https://www.woodlandsonline.com/secure_codetemps/cm/ajax_jp_refreshcomments.cfm’
,data: {lID:74650,csID:2}
,dataType: ‘jsonp’
,jsonp: ‘jpcb_refreshComments’
,success: function(data){
if(data.SUCCESS){
$(‘#cm-body’).html(”);
var replyele = [];
var replyeleind = 0;
var deleteele = [];
var deleteeleind = 0;
var editele = [];
var editeleind = 0;
cm.initRefreshComplete = 1;
$(‘#cm-count’).text(data.TOTALCOMMENTS);
cm.comments = data.COMMENTS;
for(i=0;i<data.COMMENTS.length;i++){
if(cm.refreshCount != initRefreshCount){
break;
}
comment = data.COMMENTS[i];
replydepth = comment.REPLYDEPTH;
if(replydepth == 0){
commentgroup = $('
}
commentcontainer = $(‘
‘,{id: ‘cm-comment-‘+i,
“class”: ‘cm-comment cm-replydepth-‘+replydepth,
“data-id”: comment.COMMENTID
});
if(data.SETTINGS.ENABLEAUTHORIMG){
posterimgspan = $(‘‘,{
id: ‘cm-comment-imgspan-‘+i,
“class”: ‘cm-poster-img’
});
posterimg = $(‘
id: ‘cm-comment-img-‘+i,
src: comment.AUTHORIMG
}).appendTo(posterimgspan);
$(posterimgspan).appendTo(commentcontainer);
}
commentsubcontainer = $(‘ ‘,{
“class”: ‘comment-module-box’
}).appendTo(commentcontainer);
postedbyrow = $(‘ ‘,{
“class”: ‘cm-title-row’
});
postedby = $(‘‘,{
“class”: ‘cm-postedby’
}).text(comment.POSTEDBYLABEL).appendTo(postedbyrow);
if(data.SETTINGS.ENABLETIMEDISPLAY){
postdate = $(‘‘,{
“class”: ‘cm-posted-date’
}).text(comment.POSTDATE);
$(postdate).appendTo(postedbyrow);
}
$(postedbyrow).appendTo(commentsubcontainer);
commenttext = $(‘ ‘,{
“class”: ‘cm-comment-text’
});
$(commenttext).text(comment.COMMENT).appendTo(commentsubcontainer);
if(comment.EDITTEDBYADMIN){
var editstring = ‘Edited by Admin’;
admineditele = $(‘ ‘,{
“class”: “cm-edited-by-admin”
}).text(editstring).appendTo(commenttext);
}
commentcontrols = $(‘ ‘,{
“class”: ‘cm-comment-controls’
});
if(data.SETTINGS.ENABLEREPLY){
replyele[replyeleind] = $(‘‘,{
href: ‘javascript:void(0)’,
“data-id”: comment.COMMENTID
}).text(‘Reply’);
$(replyele[replyeleind]).click(function(){
cmCommentInd = 0;
for(g=0;g<cm.comments.length;g++){
if(cm.comments[g].COMMENTID == $(this).attr('data-id')){
cmCommentInd = g;
break;
}
}
thiscomment = cm.comments[cmCommentInd];
if(thiscomment.PARENTID == 0){
cm.parentCommentID = thiscomment.COMMENTID;
}else{
cm.parentCommentID = thiscomment.PARENTID;
}
cm.enableAtChildID = thiscomment.COMMENTID;
cm.replyprepend = '+'+thiscomment.POSTEDBYLABEL+' ';
if(cm.isLoggedIn(false)){
cm.enableComment();
}
});
$(replyele[replyeleind]).appendTo(commentcontrols);
replyeleind++;
}
if(data.SETTINGS.ENABLEDELETE || data.SETTINGS.ENABLEEDIT){
var uidMatch = 0;
if(comment.ISEXTU){
switch(comment.LTYPE){
case 'facebook':
if(cm.fbUID == comment.FUID){
uidMatch = 1;
}
break;
}
}else{
if(comment.UID == cm.locUID){
uidMatch = 1;
}
}
if(uidMatch){
if(data.SETTINGS.ENABLEEDIT){
editele[editeleind] = $('‘,{
href: ‘javascript:void(0)’,
“data-id”: comment.COMMENTID
}).text(‘Edit’);
$(editele[editeleind]).click(function(){
commentIDToEdit = $(this).attr(‘data-id’);
cmCommentInd = 0;
for(g=0;g<cm.comments.length;g++){
if(cm.comments[g].COMMENTID == commentIDToEdit){
cmCommentInd = g;
break;
}
}
thiscomment = cm.comments[cmCommentInd];
commentParentEleToEdit = $('.cm-comment[data-id="'+commentIDToEdit+'"] .comment-module-box');
$(commentParentEleToEdit).children('.cm-comment-text, .cm-title-row').toggle();
commentTextEle = $(commentParentEleToEdit).children('.cm-comment-text');
editTextarea = $('‘,{
“class”: ‘cm-reply-text’,
id: ‘cm-edit-textarea-‘+commentIDToEdit
}).val(thiscomment.COMMENT).insertAfter(commentTextEle);
editControls = $(‘ ‘,{
“class”: ‘cm-edit-controls’,
id: ‘cm-edit-controls-‘ + commentIDToEdit
});
editPost = $(”,{
type: ‘button’,
“class”: ‘cm-add-comment-post’,
‘data-id’: commentIDToEdit,
value: ‘Edit’
}).click(function(){
commentIDToEdit = $(this).attr(‘data-id’);
var commentText = $(‘#cm-edit-textarea-‘+commentIDToEdit).val();
cm.enableAtChildID = commentIDToEdit;
if(cm.validateCommentText(commentText)){
cm.postComment(0, commentText, 0, commentIDToEdit);
}
}).appendTo(editControls);
editCancel = $(”,{
type: ‘button’,
“class”: ‘cm-cancel-comment-post’,
‘data-id’: commentIDToEdit,
value: ‘Cancel’
}).click(function(){
commentIDToEdit = $(this).attr(‘data-id’);
$(‘#cm-edit-textarea-‘+commentIDToEdit+’ , #cm-edit-controls-‘+commentIDToEdit).remove();
commentParentEleToEdit = $(‘.cm-comment[data-id=”‘+commentIDToEdit+'”] .comment-module-box’);
$(commentParentEleToEdit).children(‘.cm-comment-text, .cm-title-row’).toggle();
}).appendTo(editControls);
$(editControls).insertAfter(editTextarea);
//cm.editComment(commentIDToDelete, cm.loginType, cm.loginToken, 0);
});
$(editele[editeleind]).appendTo(commentcontrols);
editeleind++;
}
if(data.SETTINGS.ENABLEDELETE){
deleteele[deleteeleind] = $(‘‘,{
href: ‘javascript:void(0)’,
“data-id”: comment.COMMENTID
}).text(‘Delete’);
$(deleteele[deleteeleind]).click(function(){
commentIDToDelete = $(this).attr(‘data-id’);
cm.deleteComment(commentIDToDelete, cm.loginType, cm.loginToken, 0);
});
$(deleteele[deleteeleind]).appendTo(commentcontrols);
deleteeleind++;
}
}
}
$(commentcontrols).appendTo(commentsubcontainer);
$(commentgroup).append(commentcontainer);
if(i+1 == data.COMMENTS.length || data.COMMENTS[i+1].REPLYDEPTH == 0){
$(‘#cm-body’).append(commentgroup);
}
}
}else{
cm.dialogBox(‘Internal Error. Please try refreshing the page.’);
}
}
});
}
cm.deleteComment = function(commentid, logintype, logintoken, retryCount){
cm.deleteCommentID = commentid;
cm.loginToken = logintoken;
cm.loginType = logintype;
$.ajax({
type: “GET”
,url: ‘https://www.woodlandsonline.com/secure_codetemps/cm/ajax_jp_deletecomment.cfm’
,data: {tk:escape(cm.loginToken),ltype:cm.loginType,cid:cm.deleteCommentID,lID:74650,csID:2}
,dataType: ‘jsonp’
,jsonp: ‘jpcb_deleteComment’
,success: function(data){
if(data.success){
cm.refreshComments();
cm.dialogBox(‘Your comment has been deleted.’);
}else{
cm.loginSuccess = 0;
cm.state=”delete”;
cm.deleteFailureCount++;
cm.deleteCommentID = commentid;
cm.loginToken = logintoken;
cm.loginType = logintype;
switch(data.errortype){
case ‘userexpire’:
cm.promptLogin(‘Your session has expired. Please log in to delete comment.’);
break;
case ‘tokeninvalid’:
if(retryCount == 0){
switch(data.externalFailed){
case ‘facebook’:
cm.loginsValidating = 1;
FB.getLoginStatus(function(response) {
cm.fbgetLoginStatusCB(response);
}, true);
break;
}
}else{
cm.promptLogin(”);
}
break;
default:
cm.dialogBox(data.errortxt);
break;
}
}
}
});
}
cm.dialogBox = function(msg){
$(‘#cm-modal’).modal(‘show’);
$(‘#cm-modal-body’).html(‘
‘+msg+’
‘);
}
var rlcb = 0;
cm.remoteLoginCB = function(success, uid){
if(success){
cm.loginSuccessFunc(‘local’, uid);
}else{
$(‘#cm-login-internal-error’).html(‘Login Failed. Username and/or Password is Incorrect.’);
}
}
cm.resetState = function(){
cm.parentCommentID = 0;
cm.loginsValidating = 0;
cm.loginSuccess = 0;
cm.failureCount = 0;
cm.enableAtChildID = 0;
cm.state=””;
cm.comment=””;
cm.replyprepend = ”;
}
cm.refreshComments();
window.fbAsyncInit = function() {
FB.init({
appId : ‘185477682280502’,
cookie : true, // enable cookies to allow the server to access
// the session
xfbml : true, // parse social plugins on this page
version : ‘v2.5’ // use version 2.5
});
//Get ID For edit/delete
FB.getLoginStatus(function(response) {
if (response.status === ‘connected’) {
if(cm.loginType != ‘local’){
cm.loginType=”facebook”;
cm.loginToken = response.authResponse.accessToken;
}
FB.api(‘/me’, function(response) {
cm.fbUID = response.id;
if(cm.initRefreshComplete){
cm.refreshComments();
}
});
}
});
};
// Load the SDK asynchronously
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “https://connect.facebook.net/en_US/sdk.js”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));
cm.fbgetLoginStatusCB = function(response){
if (response.status === ‘connected’) {
if(cm.state == ‘post’){
cm.loginSuccessFunc(‘facebook’,response.authResponse.accessToken);
//cm.postComment(cm.failedCommentParentID, cm.comment, cm.failureCount);
}else if(cm.state == ‘delete’){
cm.loginSuccessFunc(‘facebook’,response.authResponse.accessToken);
}else if(cm.state == ‘edit’){
cm.loginSuccessFunc(‘facebook’,response.authResponse.accessToken);
}else{
cm.loginValidated(true);
cm.loginSuccessFunc(‘facebook’,response.authResponse.accessToken);
}
} else if (response.status === ‘not_authorized’) {
// The person is logged into Facebook, but not your app.
cm.loginValidated(false);
} else {
// The person is not logged into Facebook, so we’re not sure if
// they are logged into this app or not.
cm.loginValidated(false);
}
}
cm.fbloginPromptCB = function(){
FB.getLoginStatus(function(response) {
cm.fbgetLoginStatusCB(response);
});
}
$(function() {
$(‘#fb-login’).click(function(){
FB.login(function(response) {
// handle the response
cm.fbloginPromptCB(response);
}, {scope: ‘public_profile,email’});
});
});
$(function() {
$(“#cm-add-topcomment”).click(function(){
$(“#cm-add-topcomment”).blur();
cm.replyprepend = ”;
cm.parentCommentID = 0;
cm.enableAtChildID = 0;
if(cm.isLoggedIn(false)){
cm.enableComment();
}
});
$(‘#cm-cancel-topcomment-post’).click(function(){
cm.resetComment(0);
});
$(‘#cm-login-wrapper-close’).click(function(){
cm.toggleLoginBox(false);
cm.resetState();
})
//Since it’s bound to onsubmit the click function causes it to activate twice. Leave commented out so long as using onsbmit
//$(‘#cm-zkw-sub’).click(function(){
//localLoginRequest();
//});
});
function localLoginRequest(){
var username = $(‘#cm-zkw-a’).val();
var password = $(‘#cm-zkw-b’).val();
ajax_remoteLogin(username,password,cm.remoteLoginCB);
}
function submitLoginForm(){
localLoginRequest();
return false
}
0 Comments