# REVISIONDATA

ACTIONTIME: 2022-02-19 10:59:40
PARAMS: {"action":"t"}
SOURCE:
if( $_SESSION["UserID"]!="Guest" && $_SESSION["UserID"]!="")
	header("Location:jobsjobs_list.php?page=list1");
else
	header("Location:jobsjobs_list.php");

exit();
// Place event code here.
// Use "Add Action" button to add code snippets.


ACTIONTIME: 2022-02-19 10:59:40
PARAMS: {"action":"t"}
SOURCE:
$(document).ready(function() {
	if( $("[data-itemid='username_button'] .glyphicon-user").size() > 0 )
		$("body").addClass("loginUser");
if( $("[data-itemid='menu'] li").size() == 0 )
		$("body").addClass("emptyMenu");
});


ACTIONTIME: 2022-02-19 10:59:40
PARAMS: {"action":"t"}
SOURCE:
if( $_SESSION["UserID"]!="Guest" && $_SESSION["UserID"]!="" && !postvalue("page") && postvalue("a")!="page"){
	header("Location:jobsjobs_list.php?page=list1");
	exit();
}


ACTIONTIME: 2022-02-19 10:59:40
PARAMS: {"action":"t"}
SOURCE:
if($pageObject->pageName!=="list1")
	$xt->assign("stylename","jobslist");
$_SESSION["active_category"] = "";
$_SESSION["active_category_name"] = "";
$find = array();
preg_match_all("/\(TypeID~equals~(.+)\)/U",postvalue("f"),$find,PREG_PATTERN_ORDER);
if(count($find[1]) > 0 && $find[1][0]){
	$_SESSION["active_category"] = $find[1][0];
	$_SESSION["active_category_name"] = DBLookup("select sType from jobsjobtype where ID=".$find[1][0]);
	$xt->assign( "breadcrumbs", true );
	$xt->assign( "breadcrumb", true );
	
	$breadcrumb[0] = array("crumb_attrs"=> 'href="'.GetTableLink("jobsjobs","list").'"' ,"crumb_title_link"=> true, "crumb_title"=> "All Jobs");
	$breadcrumb[1] = array("crumb_attrs" => "", "crumb_title_span"=> true,"crumb_title" => $_SESSION["active_category_name"] );
	$xt->assign_loopsection("crumb", $breadcrumb);
}


ACTIONTIME: 2022-02-19 10:59:40
PARAMS: {"action":"t"}
SOURCE:
$(".r-record-body").click(function(){
	console.log("click");
	$(this).find(".glyphicon-search").click();
});


