Top
Careers

In this section you will discover the range of career opportunities available in the sector. Our Career Explorer tool will give you insights into roles across the sector, including average salaries, typical entry routes and much much more...

Skills

  • negotiation
  • social media
  • visual media
  • design
  • research & development
  • communication
  • languages
  • teamwork
  • leadership
  • time management
  • adaptability
  • attention to detail
  • data analysis & statistics
  • critical thinking
  • recording information
  • developing relationships
  • sales & marketing
  • communication

In this section you will discover the range of career opportunities available in the sector. Our Career Explorer tool will give you insights into roles across the sector, including average salaries, typical entry routes and much much more...

Skills

  • negotiation
  • social media
  • visual media
  • design
  • research & development
  • communication
  • languages
  • teamwork
  • leadership
  • time management
  • adaptability
  • attention to detail
  • data analysis & statistics
  • critical thinking
  • recording information
  • developing relationships
  • sales & marketing
  • communication

A Day In The Life:

  • Margaret Reilly, Wood Manufacturing / Finisher - Design & Crafts Council Ireland
  • Rachael, Insurance Practitioner Apprentice - The Insurance Institute
  • Sinead Ni Ghairbhith, Cheese Maker - Languages Connect
  • HSE Webinar, Children’s Disability Network Teams - Health Service Executive
  • Stephen, Assurance Consultant - EY
  • Career Sector, Public Administration, Politics & EU -

Explore Careers

Explore Apprenticeships

Close
//Include Common Files @1-BC6874CB define("RelativePath", ".."); define("PathToCurrentPage", "/sectors/"); define("FileName", "careers.php"); include_once(RelativePath . "/Common.php"); include_once(RelativePath . "/Template.php"); include_once(RelativePath . "/Sorter.php"); include_once(RelativePath . "/Navigator.php"); //End Include Common Files //Include Page implementation @4-CBEF15B4 include_once(RelativePath . "/includes/footer1.php"); //End Include Page implementation class clsRecordsector_tbl1 { //sector_tbl1 Class @74-6C86F8D2 //Variables @74-9E315808 // Public variables public $ComponentType = "Record"; public $ComponentName; public $Parent; public $HTMLFormAction; public $PressedButton; public $Errors; public $ErrorBlock; public $FormSubmitted; public $FormEnctype; public $Visible; public $IsEmpty; public $CCSEvents = ""; public $CCSEventResult; public $RelativePath = ""; public $InsertAllowed = false; public $UpdateAllowed = false; public $DeleteAllowed = false; public $ReadAllowed = false; public $EditMode = false; public $ds; public $DataSource; public $ValidatingControls; public $Controls; public $Attributes; // Class variables //End Variables //Class_Initialize Event @74-58A0189F function clsRecordsector_tbl1($RelativePath, & $Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent = & $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record sector_tbl1/Error"; $this->DataSource = new clssector_tbl1DataSource($this); $this->ds = & $this->DataSource; $this->ReadAllowed = true; if($this->Visible) { $this->ComponentName = "sector_tbl1"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if(sizeof($CCSForm) == 1) $CCSForm[1] = ""; list($FormName, $FormMethod) = $CCSForm; $this->EditMode = ($FormMethod == "Edit"); $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = ($FormName == $this->ComponentName); $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->sector_name = new clsControl(ccsLabel, "sector_name", "sector_name", ccsText, "", CCGetRequestParam("sector_name", $Method, NULL), $this); $this->Label1 = new clsControl(ccsLabel, "Label1", "Label1", ccsText, "", CCGetRequestParam("Label1", $Method, NULL), $this); $this->Label2 = new clsControl(ccsLabel, "Label2", "Label2", ccsInteger, "", CCGetRequestParam("Label2", $Method, NULL), $this); $this->sector_name1 = new clsControl(ccsLabel, "sector_name1", "sector_name1", ccsText, "", CCGetRequestParam("sector_name1", $Method, NULL), $this); } } //End Class_Initialize Event //Initialize Method @74-BC93C010 function Initialize() { if(!$this->Visible) return; $this->DataSource->Parameters["urlsector_id"] = CCGetFromGet("sector_id", NULL); } //End Initialize Method //Validate Method @74-367945B8 function Validate() { global $CCSLocales; $Validation = true; $Where = ""; $this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnValidate", $this); return (($this->Errors->Count() == 0) && $Validation); } //End Validate Method //CheckErrors Method @74-036A36C6 function CheckErrors() { $errors = false; $errors = ($errors || $this->sector_name->Errors->Count()); $errors = ($errors || $this->Label1->Errors->Count()); $errors = ($errors || $this->Label2->Errors->Count()); $errors = ($errors || $this->sector_name1->Errors->Count()); $errors = ($errors || $this->Errors->Count()); $errors = ($errors || $this->DataSource->Errors->Count()); return $errors; } //End CheckErrors Method //Operation Method @74-17DC9883 function Operation() { if(!$this->Visible) return; global $Redirect; global $FileName; $this->DataSource->Prepare(); if(!$this->FormSubmitted) { $this->EditMode = $this->DataSource->AllParametersSet; return; } $Redirect = $FileName . "?" . CCGetQueryString("QueryString", array("ccsForm")); if ($Redirect) $this->DataSource->close(); } //End Operation Method //Show Method @74-597E5BC2 function Show() { global $CCSUseAmp; $Tpl = CCGetTemplate($this); global $FileName; global $CCSLocales; $Error = ""; if(!$this->Visible) return; $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this); $RecordBlock = "Record " . $this->ComponentName; $ParentPath = $Tpl->block_path; $Tpl->block_path = $ParentPath . "/" . $RecordBlock; $this->EditMode = $this->EditMode && $this->ReadAllowed; if($this->EditMode) { if($this->DataSource->Errors->Count()){ $this->Errors->AddErrors($this->DataSource->Errors); $this->DataSource->Errors->clear(); } $this->DataSource->Open(); if($this->DataSource->Errors->Count() == 0 && $this->DataSource->next_record()) { $this->DataSource->SetValues(); $this->sector_name->SetValue($this->DataSource->sector_name->GetValue()); $this->Label1->SetValue($this->DataSource->Label1->GetValue()); $this->Label2->SetValue($this->DataSource->Label2->GetValue()); $this->sector_name1->SetValue($this->DataSource->sector_name1->GetValue()); } else { $this->EditMode = false; } } if($this->FormSubmitted || $this->CheckErrors()) { $Error = ""; $Error = ComposeStrings($Error, $this->sector_name->Errors->ToString()); $Error = ComposeStrings($Error, $this->Label1->Errors->ToString()); $Error = ComposeStrings($Error, $this->Label2->Errors->ToString()); $Error = ComposeStrings($Error, $this->sector_name1->Errors->ToString()); $Error = ComposeStrings($Error, $this->Errors->ToString()); $Error = ComposeStrings($Error, $this->DataSource->Errors->ToString()); $Tpl->SetVar("Error", $Error); $Tpl->Parse("Error", false); } $CCSForm = $this->EditMode ? $this->ComponentName . ":" . "Edit" : $this->ComponentName; $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $CCSForm); $Tpl->SetVar("Action", !$CCSUseAmp ? $this->HTMLFormAction : str_replace("&", "&", $this->HTMLFormAction)); $Tpl->SetVar("HTMLFormName", $this->ComponentName); $Tpl->SetVar("HTMLFormEnctype", $this->FormEnctype); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this); $this->Attributes->Show(); if(!$this->Visible) { $Tpl->block_path = $ParentPath; return; } $this->sector_name->Show(); $this->Label1->Show(); $this->Label2->Show(); $this->sector_name1->Show(); $Tpl->parse(); $Tpl->block_path = $ParentPath; $this->DataSource->close(); } //End Show Method } //End sector_tbl1 Class @74-FCB6E20C class clssector_tbl1DataSource extends clsDBConnection1mysql { //sector_tbl1DataSource Class @74-D368F5BF //DataSource Variables @74-B89FD1EB public $Parent = ""; public $CCSEvents = ""; public $CCSEventResult; public $ErrorBlock; public $CmdExecution; public $wp; public $AllParametersSet; // Datasource fields public $sector_name; public $Label1; public $Label2; public $sector_name1; //End DataSource Variables //DataSourceClass_Initialize Event @74-99000B21 function clssector_tbl1DataSource(& $Parent) { $this->Parent = & $Parent; $this->ErrorBlock = "Record sector_tbl1/Error"; $this->Initialize(); $this->sector_name = new clsField("sector_name", ccsText, ""); $this->Label1 = new clsField("Label1", ccsText, ""); $this->Label2 = new clsField("Label2", ccsInteger, ""); $this->sector_name1 = new clsField("sector_name1", ccsText, ""); } //End DataSourceClass_Initialize Event //Prepare Method @74-AB6C82FB function Prepare() { global $CCSLocales; global $DefaultDateFormat; $this->wp = new clsSQLParameters($this->ErrorBlock); $this->wp->AddParameter("1", "urlsector_id", ccsInteger, "", "", $this->Parameters["urlsector_id"], "", false); $this->AllParametersSet = $this->wp->AllParamsSet(); $this->wp->Criterion[1] = $this->wp->Operation(opEqual, "sector_tbl.sector_id", $this->wp->GetDBValue("1"), $this->ToSQL($this->wp->GetDBValue("1"), ccsInteger),false); $this->Where = $this->wp->Criterion[1]; } //End Prepare Method //Open Method @74-C6052709 function Open() { $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildSelect", $this->Parent); $this->SQL = "SELECT sector_name, sector_id \n\n" . "FROM sector_tbl {SQL_Where} {SQL_OrderBy}"; $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteSelect", $this->Parent); $this->PageSize = 1; $this->query($this->OptimizeSQL(CCBuildSQL($this->SQL, $this->Where, $this->Order))); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteSelect", $this->Parent); } //End Open Method //SetValues Method @74-66C51139 function SetValues() { $this->sector_name->SetDBValue($this->f("sector_name")); $this->Label1->SetDBValue($this->f("sector_name")); $this->Label2->SetDBValue(trim($this->f("sector_id"))); $this->sector_name1->SetDBValue($this->f("sector_name")); } //End SetValues Method } //End sector_tbl1DataSource Class @74-FCB6E20C class clsRecordsector_tbl { //sector_tbl Class @1071-190EE787 //Variables @1071-9E315808 // Public variables public $ComponentType = "Record"; public $ComponentName; public $Parent; public $HTMLFormAction; public $PressedButton; public $Errors; public $ErrorBlock; public $FormSubmitted; public $FormEnctype; public $Visible; public $IsEmpty; public $CCSEvents = ""; public $CCSEventResult; public $RelativePath = ""; public $InsertAllowed = false; public $UpdateAllowed = false; public $DeleteAllowed = false; public $ReadAllowed = false; public $EditMode = false; public $ds; public $DataSource; public $ValidatingControls; public $Controls; public $Attributes; // Class variables //End Variables //Class_Initialize Event @1071-4EBCE878 function clsRecordsector_tbl($RelativePath, & $Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->Visible = true; $this->Parent = & $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Record sector_tbl/Error"; $this->DataSource = new clssector_tblDataSource($this); $this->ds = & $this->DataSource; $this->ReadAllowed = true; if($this->Visible) { $this->ComponentName = "sector_tbl"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2); if(sizeof($CCSForm) == 1) $CCSForm[1] = ""; list($FormName, $FormMethod) = $CCSForm; $this->EditMode = ($FormMethod == "Edit"); $this->FormEnctype = "application/x-www-form-urlencoded"; $this->FormSubmitted = ($FormName == $this->ComponentName); $Method = $this->FormSubmitted ? ccsPost : ccsGet; $this->SectorID = new clsControl(ccsLabel, "SectorID", "SectorID", ccsInteger, "", CCGetRequestParam("SectorID", $Method, NULL), $this); $this->Category = new clsControl(ccsLabel, "Category", "Category", ccsInteger, "", CCGetRequestParam("Category", $Method, NULL), $this); } } //End Class_Initialize Event //Initialize Method @1071-BC93C010 function Initialize() { if(!$this->Visible) return; $this->DataSource->Parameters["urlsector_id"] = CCGetFromGet("sector_id", NULL); } //End Initialize Method //Validate Method @1071-367945B8 function Validate() { global $CCSLocales; $Validation = true; $Where = ""; $this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnValidate", $this); return (($this->Errors->Count() == 0) && $Validation); } //End Validate Method //CheckErrors Method @1071-C3AA1E76 function CheckErrors() { $errors = false; $errors = ($errors || $this->SectorID->Errors->Count()); $errors = ($errors || $this->Category->Errors->Count()); $errors = ($errors || $this->Errors->Count()); $errors = ($errors || $this->DataSource->Errors->Count()); return $errors; } //End CheckErrors Method //Operation Method @1071-17DC9883 function Operation() { if(!$this->Visible) return; global $Redirect; global $FileName; $this->DataSource->Prepare(); if(!$this->FormSubmitted) { $this->EditMode = $this->DataSource->AllParametersSet; return; } $Redirect = $FileName . "?" . CCGetQueryString("QueryString", array("ccsForm")); if ($Redirect) $this->DataSource->close(); } //End Operation Method //Show Method @1071-33C8DDE9 function Show() { global $CCSUseAmp; $Tpl = CCGetTemplate($this); global $FileName; global $CCSLocales; $Error = ""; if(!$this->Visible) return; $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this); $RecordBlock = "Record " . $this->ComponentName; $ParentPath = $Tpl->block_path; $Tpl->block_path = $ParentPath . "/" . $RecordBlock; $this->EditMode = $this->EditMode && $this->ReadAllowed; if($this->EditMode) { if($this->DataSource->Errors->Count()){ $this->Errors->AddErrors($this->DataSource->Errors); $this->DataSource->Errors->clear(); } $this->DataSource->Open(); if($this->DataSource->Errors->Count() == 0 && $this->DataSource->next_record()) { $this->DataSource->SetValues(); $this->SectorID->SetValue($this->DataSource->SectorID->GetValue()); $this->Category->SetValue($this->DataSource->Category->GetValue()); } else { $this->EditMode = false; } } if($this->FormSubmitted || $this->CheckErrors()) { $Error = ""; $Error = ComposeStrings($Error, $this->SectorID->Errors->ToString()); $Error = ComposeStrings($Error, $this->Category->Errors->ToString()); $Error = ComposeStrings($Error, $this->Errors->ToString()); $Error = ComposeStrings($Error, $this->DataSource->Errors->ToString()); $Tpl->SetVar("Error", $Error); $Tpl->Parse("Error", false); } $CCSForm = $this->EditMode ? $this->ComponentName . ":" . "Edit" : $this->ComponentName; $this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $CCSForm); $Tpl->SetVar("Action", !$CCSUseAmp ? $this->HTMLFormAction : str_replace("&", "&", $this->HTMLFormAction)); $Tpl->SetVar("HTMLFormName", $this->ComponentName); $Tpl->SetVar("HTMLFormEnctype", $this->FormEnctype); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this); $this->Attributes->Show(); if(!$this->Visible) { $Tpl->block_path = $ParentPath; return; } $this->SectorID->Show(); $this->Category->Show(); $Tpl->parse(); $Tpl->block_path = $ParentPath; $this->DataSource->close(); } //End Show Method } //End sector_tbl Class @1071-FCB6E20C class clssector_tblDataSource extends clsDBConnection1mysql { //sector_tblDataSource Class @1071-6986B129 //DataSource Variables @1071-21877E2F public $Parent = ""; public $CCSEvents = ""; public $CCSEventResult; public $ErrorBlock; public $CmdExecution; public $wp; public $AllParametersSet; // Datasource fields public $SectorID; public $Category; //End DataSource Variables //DataSourceClass_Initialize Event @1071-8A28B329 function clssector_tblDataSource(& $Parent) { $this->Parent = & $Parent; $this->ErrorBlock = "Record sector_tbl/Error"; $this->Initialize(); $this->SectorID = new clsField("SectorID", ccsInteger, ""); $this->Category = new clsField("Category", ccsInteger, ""); } //End DataSourceClass_Initialize Event //Prepare Method @1071-E946E78D function Prepare() { global $CCSLocales; global $DefaultDateFormat; $this->wp = new clsSQLParameters($this->ErrorBlock); $this->wp->AddParameter("1", "urlsector_id", ccsInteger, "", "", $this->Parameters["urlsector_id"], "", false); $this->AllParametersSet = $this->wp->AllParamsSet(); $this->wp->Criterion[1] = $this->wp->Operation(opEqual, "sector_id", $this->wp->GetDBValue("1"), $this->ToSQL($this->wp->GetDBValue("1"), ccsInteger),false); $this->Where = $this->wp->Criterion[1]; } //End Prepare Method //Open Method @1071-6138EF46 function Open() { $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildSelect", $this->Parent); $this->SQL = "SELECT sector_id, sector_name, subject_group, category \n\n" . "FROM sector_tbl {SQL_Where} {SQL_OrderBy}"; $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteSelect", $this->Parent); $this->PageSize = 1; $this->query($this->OptimizeSQL(CCBuildSQL($this->SQL, $this->Where, $this->Order))); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteSelect", $this->Parent); } //End Open Method //SetValues Method @1071-9D38F8E7 function SetValues() { $this->SectorID->SetDBValue(trim($this->f("sector_id"))); $this->Category->SetDBValue(trim($this->f("category"))); } //End SetValues Method } //End sector_tblDataSource Class @1071-FCB6E20C //Include Page implementation @40-B4D9D272 include_once(RelativePath . "/includes/url_a_link.php"); //End Include Page implementation //Include Page implementation @3134-C991C026 include_once(RelativePath . "/includes/cpbulba_sector__navigation1.php"); //End Include Page implementation //Include Page implementation @3136-6C43A2E6 include_once(RelativePath . "/includes/cpbulba_sector__skills.php"); //End Include Page implementation //Include Page implementation @3140-D9367468 include_once(RelativePath . "/includes/cpbulba_sector__complimentary.php"); //End Include Page implementation //Include Page implementation @3143-321DCCF9 include_once(RelativePath . "/includes/cpbulba_sector__videos__interviews.php"); //End Include Page implementation //Include Page implementation @3146-CC9FAE7D include_once(RelativePath . "/includes/cpbulba_sector__articles.php"); //End Include Page implementation //Include Page implementation @3149-864A947B include_once(RelativePath . "/includes/cpbulba_sector__sample__occupations.php"); //End Include Page implementation //Include Page implementation @3133-1FA17FF5 include_once(RelativePath . "/includes/cpbulba_sector__header.php"); //End Include Page implementation //Include Page implementation @3150-494530E0 include_once(RelativePath . "/includes/header1_head.php"); //End Include Page implementation //Include Page implementation @3151-11E19918 include_once(RelativePath . "/includes/header1_body.php"); //End Include Page implementation //Include Page implementation @3153-1665FAE7 include_once(RelativePath . "/includes/cpbulba_sector__sticky.php"); //End Include Page implementation //Include Page implementation @3154-05836F2B include_once(RelativePath . "/includes/cpbulba_sector__about__careers.php"); //End Include Page implementation //Include Page implementation @3158-FD8B2306 include_once(RelativePath . "/includes/cpbulba_sector__interviews.php"); //End Include Page implementation //Include Page implementation @3159-1C2B9431 include_once(RelativePath . "/includes/cpbulba_sector__sample__apprenticeships.php"); //End Include Page implementation //Include Page implementation @3161-9C2F7982 include_once(RelativePath . "/includes/fb_pixel.php"); //End Include Page implementation class clsGridvideos { //videos class @3162-22E47654 //Variables @3162-6E51DF5A // Public variables public $ComponentType = "Grid"; public $ComponentName; public $Visible; public $Errors; public $ErrorBlock; public $ds; public $DataSource; public $PageSize; public $IsEmpty; public $ForceIteration = false; public $HasRecord = false; public $SorterName = ""; public $SorterDirection = ""; public $PageNumber; public $RowNumber; public $ControlsVisible = array(); public $CCSEvents = ""; public $CCSEventResult; public $RelativePath = ""; public $Attributes; // Grid Controls public $StaticControls; public $RowControls; //End Variables //Class_Initialize Event @3162-E9FD32B3 function clsGridvideos($RelativePath, & $Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->ComponentName = "videos"; $this->Visible = True; $this->Parent = & $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Grid videos"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $this->DataSource = new clsvideosDataSource($this); $this->ds = & $this->DataSource; $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if(!is_numeric($this->PageSize) || !strlen($this->PageSize)) $this->PageSize = 10; else $this->PageSize = intval($this->PageSize); if ($this->PageSize > 100) $this->PageSize = 100; if($this->PageSize == 0) $this->Errors->addError("

Form: Grid " . $this->ComponentName . "
Error: (CCS06) Invalid page size.

"); $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); if ($this->PageNumber <= 0) $this->PageNumber = 1; $this->youtube_id = new clsControl(ccsLabel, "youtube_id", "youtube_id", ccsText, "", CCGetRequestParam("youtube_id", ccsGet, NULL), $this); } //End Class_Initialize Event //Initialize Method @3162-90E704C5 function Initialize() { if(!$this->Visible) return; $this->DataSource->PageSize = & $this->PageSize; $this->DataSource->AbsolutePage = & $this->PageNumber; $this->DataSource->SetOrder($this->SorterName, $this->SorterDirection); } //End Initialize Method //Show Method @3162-56DE851A function Show() { $Tpl = CCGetTemplate($this); global $CCSLocales; if(!$this->Visible) return; $this->RowNumber = 0; $this->DataSource->Parameters["urlsector_id"] = CCGetFromGet("sector_id", NULL); $this->DataSource->Parameters["expr3221"] = 11532; $this->DataSource->Parameters["expr3222"] = 11530; $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this); $this->DataSource->Prepare(); $this->DataSource->Open(); $this->HasRecord = $this->DataSource->has_next_record(); $this->IsEmpty = ! $this->HasRecord; $this->Attributes->Show(); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this); if(!$this->Visible) return; $GridBlock = "Grid " . $this->ComponentName; $ParentPath = $Tpl->block_path; $Tpl->block_path = $ParentPath . "/" . $GridBlock; if (!$this->IsEmpty) { $this->ControlsVisible["youtube_id"] = $this->youtube_id->Visible; while ($this->ForceIteration || (($this->RowNumber < $this->PageSize) && ($this->HasRecord = $this->DataSource->has_next_record()))) { $this->RowNumber++; if ($this->HasRecord) { $this->DataSource->next_record(); $this->DataSource->SetValues(); } $Tpl->block_path = $ParentPath . "/" . $GridBlock . "/Row"; $this->youtube_id->SetValue($this->DataSource->youtube_id->GetValue()); $this->Attributes->SetValue("rowNumber", $this->RowNumber); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShowRow", $this); $this->Attributes->Show(); $this->youtube_id->Show(); $Tpl->block_path = $ParentPath . "/" . $GridBlock; $Tpl->parse("Row", true); } } $errors = $this->GetErrors(); if(strlen($errors)) { $Tpl->replaceblock("", $errors); $Tpl->block_path = $ParentPath; return; } $Tpl->parse(); $Tpl->block_path = $ParentPath; $this->DataSource->close(); } //End Show Method //GetErrors Method @3162-08F93C49 function GetErrors() { $errors = ""; $errors = ComposeStrings($errors, $this->youtube_id->Errors->ToString()); $errors = ComposeStrings($errors, $this->Errors->ToString()); $errors = ComposeStrings($errors, $this->DataSource->Errors->ToString()); return $errors; } //End GetErrors Method } //End videos Class @3162-FCB6E20C class clsvideosDataSource extends clsDBConnection1mysql { //videosDataSource Class @3162-31BDA1CE //DataSource Variables @3162-EF2169E0 public $Parent = ""; public $CCSEvents = ""; public $CCSEventResult; public $ErrorBlock; public $CmdExecution; public $CountSQL; public $wp; // Datasource fields public $youtube_id; //End DataSource Variables //DataSourceClass_Initialize Event @3162-F4E76CA0 function clsvideosDataSource(& $Parent) { $this->Parent = & $Parent; $this->ErrorBlock = "Grid videos"; $this->Initialize(); $this->youtube_id = new clsField("youtube_id", ccsText, ""); } //End DataSourceClass_Initialize Event //SetOrder Method @3162-9E1383D1 function SetOrder($SorterName, $SorterDirection) { $this->Order = ""; $this->Order = CCGetOrder($this->Order, $SorterName, $SorterDirection, ""); } //End SetOrder Method //Prepare Method @3162-6B4221B3 function Prepare() { global $CCSLocales; global $DefaultDateFormat; $this->wp = new clsSQLParameters($this->ErrorBlock); $this->wp->AddParameter("1", "urlsector_id", ccsInteger, "", "", $this->Parameters["urlsector_id"], "", false); $this->wp->AddParameter("2", "expr3221", ccsInteger, "", "", $this->Parameters["expr3221"], "", false); $this->wp->AddParameter("3", "expr3222", ccsInteger, "", "", $this->Parameters["expr3222"], "", false); $this->wp->Criterion[1] = $this->wp->Operation(opEqual, "sector_id", $this->wp->GetDBValue("1"), $this->ToSQL($this->wp->GetDBValue("1"), ccsInteger),false); $this->wp->Criterion[2] = $this->wp->Operation(opEqual, "video_id", $this->wp->GetDBValue("2"), $this->ToSQL($this->wp->GetDBValue("2"), ccsInteger),false); $this->wp->Criterion[3] = $this->wp->Operation(opEqual, "video_id", $this->wp->GetDBValue("3"), $this->ToSQL($this->wp->GetDBValue("3"), ccsInteger),false); $this->Where = $this->wp->opAND( false, $this->wp->Criterion[1], $this->wp->opOR( true, $this->wp->Criterion[2], $this->wp->Criterion[3])); } //End Prepare Method //Open Method @3162-BEC3E878 function Open() { $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildSelect", $this->Parent); $this->CountSQL = "SELECT COUNT(*)\n\n" . "FROM videos"; $this->SQL = "SELECT youtube_id, video_id \n\n" . "FROM videos {SQL_Where} {SQL_OrderBy}"; $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteSelect", $this->Parent); if ($this->CountSQL) $this->RecordsCount = CCGetDBValue(CCBuildSQL($this->CountSQL, $this->Where, ""), $this); else $this->RecordsCount = "CCS not counted"; $this->query($this->OptimizeSQL(CCBuildSQL($this->SQL, $this->Where, $this->Order))); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteSelect", $this->Parent); } //End Open Method //SetValues Method @3162-9F445711 function SetValues() { $this->youtube_id->SetDBValue($this->f("youtube_id")); } //End SetValues Method } //End videosDataSource Class @3162-FCB6E20C //Initialize Page @1-BFA41C94 // Variables $FileName = ""; $Redirect = ""; $Tpl = ""; $TemplateFileName = ""; $BlockToParse = ""; $ComponentName = ""; $Attributes = ""; // Events; $CCSEvents = ""; $CCSEventResult = ""; $TemplateSource = ""; $FileName = FileName; $Redirect = ""; $TemplateFileName = "careers.html"; $BlockToParse = "main"; $TemplateEncoding = "ISO-8859-1"; $ContentType = "text/html"; $PathToRoot = "../"; $PathToRootOpt = "../"; $Scripts = "|"; //End Initialize Page //Before Initialize @1-E870CEBC $CCSEventResult = CCGetEvent($CCSEvents, "BeforeInitialize", $MainPage); //End Before Initialize //Initialize Objects @1-DFB4210A $DBConnection1mysql = new clsDBConnection1mysql(); $MainPage->Connections["Connection1mysql"] = & $DBConnection1mysql; $Attributes = new clsAttributes("page:"); $Attributes->SetValue("pathToRoot", $PathToRoot); $MainPage->Attributes = & $Attributes; // Controls $footer = new clsfooter1("../includes/", "footer", $MainPage); $footer->Initialize(); $sector_tbl1 = new clsRecordsector_tbl1("", $MainPage); $sector_tbl = new clsRecordsector_tbl("", $MainPage); $url_a_link = new clsurl_a_link("../includes/", "url_a_link", $MainPage); $url_a_link->Initialize(); $cpbulba_sector__navigation = new clscpbulba_sector__navigation1("../includes/", "cpbulba_sector__navigation", $MainPage); $cpbulba_sector__navigation->Initialize(); $cpbulba_sector__skills = new clscpbulba_sector__skills("../includes/", "cpbulba_sector__skills", $MainPage); $cpbulba_sector__skills->Initialize(); $cpbulba_sector__complimentary = new clscpbulba_sector__complimentary("../includes/", "cpbulba_sector__complimentary", $MainPage); $cpbulba_sector__complimentary->Initialize(); $cpbulba_sector__videos__interviews = new clscpbulba_sector__videos__interviews("../includes/", "cpbulba_sector__videos__interviews", $MainPage); $cpbulba_sector__videos__interviews->Initialize(); $cpbulba_sector__articles = new clscpbulba_sector__articles("../includes/", "cpbulba_sector__articles", $MainPage); $cpbulba_sector__articles->Initialize(); $cpbulba_sector__sample__occupations = new clscpbulba_sector__sample__occupations("../includes/", "cpbulba_sector__sample__occupations", $MainPage); $cpbulba_sector__sample__occupations->Initialize(); $cpbulba_sector__header = new clscpbulba_sector__header("../includes/", "cpbulba_sector__header", $MainPage); $cpbulba_sector__header->Initialize(); $header1_head = new clsheader1_head("../includes/", "header1_head", $MainPage); $header1_head->Initialize(); $header1_body = new clsheader1_body("../includes/", "header1_body", $MainPage); $header1_body->Initialize(); $cpbulba_sector__sticky = new clscpbulba_sector__sticky("../includes/", "cpbulba_sector__sticky", $MainPage); $cpbulba_sector__sticky->Initialize(); $cpbulba_sector__about__careers = new clscpbulba_sector__about__careers("../includes/", "cpbulba_sector__about__careers", $MainPage); $cpbulba_sector__about__careers->Initialize(); $cpbulba_sector__interviews = new clscpbulba_sector__interviews("../includes/", "cpbulba_sector__interviews", $MainPage); $cpbulba_sector__interviews->Initialize(); $cpbulba_module__sector_apprentices = new clscpbulba_sector__sample__apprenticeships("../includes/", "cpbulba_module__sector_apprentices", $MainPage); $cpbulba_module__sector_apprentices->Initialize(); $fb_pixel1 = new clsfb_pixel("../includes/", "fb_pixel1", $MainPage); $fb_pixel1->Initialize(); $videos = new clsGridvideos("", $MainPage); $MainPage->footer = & $footer; $MainPage->sector_tbl1 = & $sector_tbl1; $MainPage->sector_tbl = & $sector_tbl; $MainPage->url_a_link = & $url_a_link; $MainPage->cpbulba_sector__navigation = & $cpbulba_sector__navigation; $MainPage->cpbulba_sector__skills = & $cpbulba_sector__skills; $MainPage->cpbulba_sector__complimentary = & $cpbulba_sector__complimentary; $MainPage->cpbulba_sector__videos__interviews = & $cpbulba_sector__videos__interviews; $MainPage->cpbulba_sector__articles = & $cpbulba_sector__articles; $MainPage->cpbulba_sector__sample__occupations = & $cpbulba_sector__sample__occupations; $MainPage->cpbulba_sector__header = & $cpbulba_sector__header; $MainPage->header1_head = & $header1_head; $MainPage->header1_body = & $header1_body; $MainPage->cpbulba_sector__sticky = & $cpbulba_sector__sticky; $MainPage->cpbulba_sector__about__careers = & $cpbulba_sector__about__careers; $MainPage->cpbulba_sector__interviews = & $cpbulba_sector__interviews; $MainPage->cpbulba_module__sector_apprentices = & $cpbulba_module__sector_apprentices; $MainPage->fb_pixel1 = & $fb_pixel1; $MainPage->videos = & $videos; $sector_tbl1->Initialize(); $sector_tbl->Initialize(); $videos->Initialize(); $ScriptIncludes = ""; $SList = explode("|", $Scripts); foreach ($SList as $Script) { if ($Script != "") $ScriptIncludes = $ScriptIncludes . "\n"; } $Attributes->SetValue("scriptIncludes", $ScriptIncludes); $CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize", $MainPage); if ($Charset) { header("Content-Type: " . $ContentType . "; charset=" . $Charset); } else { header("Content-Type: " . $ContentType); } //End Initialize Objects //Initialize HTML Template @1-11091961 $CCSEventResult = CCGetEvent($CCSEvents, "OnInitializeView", $MainPage); $Tpl = new clsTemplate($FileEncoding, $TemplateEncoding); if (strlen($TemplateSource)) { $Tpl->LoadTemplateFromStr($TemplateSource, $BlockToParse, "ISO-8859-1"); } else { $Tpl->LoadTemplate(PathToCurrentPage . $TemplateFileName, $BlockToParse, "ISO-8859-1"); } $Tpl->SetVar("CCS_PathToRoot", $PathToRoot); $Tpl->block_path = "/$BlockToParse"; $CCSEventResult = CCGetEvent($CCSEvents, "BeforeShow", $MainPage); $Attributes->SetValue("pathToRoot", "../"); $Attributes->Show(); //End Initialize HTML Template //Execute Components @1-6CF97A4C $fb_pixel1->Operations(); $cpbulba_module__sector_apprentices->Operations(); $cpbulba_sector__interviews->Operations(); $cpbulba_sector__about__careers->Operations(); $cpbulba_sector__sticky->Operations(); $header1_body->Operations(); $header1_head->Operations(); $cpbulba_sector__header->Operations(); $cpbulba_sector__sample__occupations->Operations(); $cpbulba_sector__articles->Operations(); $cpbulba_sector__videos__interviews->Operations(); $cpbulba_sector__complimentary->Operations(); $cpbulba_sector__skills->Operations(); $cpbulba_sector__navigation->Operations(); $url_a_link->Operations(); $sector_tbl->Operation(); $sector_tbl1->Operation(); $footer->Operations(); //End Execute Components //Go to destination page @1-69409B2B if($Redirect) { $CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage); $DBConnection1mysql->close(); header("Location: " . $Redirect); $footer->Class_Terminate(); unset($footer); unset($sector_tbl1); unset($sector_tbl); $url_a_link->Class_Terminate(); unset($url_a_link); $cpbulba_sector__navigation->Class_Terminate(); unset($cpbulba_sector__navigation); $cpbulba_sector__skills->Class_Terminate(); unset($cpbulba_sector__skills); $cpbulba_sector__complimentary->Class_Terminate(); unset($cpbulba_sector__complimentary); $cpbulba_sector__videos__interviews->Class_Terminate(); unset($cpbulba_sector__videos__interviews); $cpbulba_sector__articles->Class_Terminate(); unset($cpbulba_sector__articles); $cpbulba_sector__sample__occupations->Class_Terminate(); unset($cpbulba_sector__sample__occupations); $cpbulba_sector__header->Class_Terminate(); unset($cpbulba_sector__header); $header1_head->Class_Terminate(); unset($header1_head); $header1_body->Class_Terminate(); unset($header1_body); $cpbulba_sector__sticky->Class_Terminate(); unset($cpbulba_sector__sticky); $cpbulba_sector__about__careers->Class_Terminate(); unset($cpbulba_sector__about__careers); $cpbulba_sector__interviews->Class_Terminate(); unset($cpbulba_sector__interviews); $cpbulba_module__sector_apprentices->Class_Terminate(); unset($cpbulba_module__sector_apprentices); $fb_pixel1->Class_Terminate(); unset($fb_pixel1); unset($videos); unset($Tpl); exit; } //End Go to destination page //Show Page @1-D3B58295 $footer->Show(); $sector_tbl1->Show(); $sector_tbl->Show(); $url_a_link->Show(); $cpbulba_sector__navigation->Show(); $cpbulba_sector__skills->Show(); $cpbulba_sector__complimentary->Show(); $cpbulba_sector__videos__interviews->Show(); $cpbulba_sector__articles->Show(); $cpbulba_sector__sample__occupations->Show(); $cpbulba_sector__header->Show(); $header1_head->Show(); $header1_body->Show(); $cpbulba_sector__sticky->Show(); $cpbulba_sector__about__careers->Show(); $cpbulba_sector__interviews->Show(); $cpbulba_module__sector_apprentices->Show(); $fb_pixel1->Show(); $videos->Show(); $Tpl->block_path = ""; $Tpl->Parse($BlockToParse, false); if (!isset($main_block)) $main_block = $Tpl->GetVar($BlockToParse); $CCSEventResult = CCGetEvent($CCSEvents, "BeforeOutput", $MainPage); if ($CCSEventResult) echo $main_block; //End Show Page //Unload Page @1-23A39BA4 $CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage); $DBConnection1mysql->close(); $footer->Class_Terminate(); unset($footer); unset($sector_tbl1); unset($sector_tbl); $url_a_link->Class_Terminate(); unset($url_a_link); $cpbulba_sector__navigation->Class_Terminate(); unset($cpbulba_sector__navigation); $cpbulba_sector__skills->Class_Terminate(); unset($cpbulba_sector__skills); $cpbulba_sector__complimentary->Class_Terminate(); unset($cpbulba_sector__complimentary); $cpbulba_sector__videos__interviews->Class_Terminate(); unset($cpbulba_sector__videos__interviews); $cpbulba_sector__articles->Class_Terminate(); unset($cpbulba_sector__articles); $cpbulba_sector__sample__occupations->Class_Terminate(); unset($cpbulba_sector__sample__occupations); $cpbulba_sector__header->Class_Terminate(); unset($cpbulba_sector__header); $header1_head->Class_Terminate(); unset($header1_head); $header1_body->Class_Terminate(); unset($header1_body); $cpbulba_sector__sticky->Class_Terminate(); unset($cpbulba_sector__sticky); $cpbulba_sector__about__careers->Class_Terminate(); unset($cpbulba_sector__about__careers); $cpbulba_sector__interviews->Class_Terminate(); unset($cpbulba_sector__interviews); $cpbulba_module__sector_apprentices->Class_Terminate(); unset($cpbulba_module__sector_apprentices); $fb_pixel1->Class_Terminate(); unset($fb_pixel1); unset($videos); unset($Tpl); //End Unload Page