-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Title |
- System |
-
-
-
-
-
- 1st & 2nd Intercostal Spaces |
- Thorax |
-
-
-
- 1st, 3rd, &8th Ribs |
- Body Wall and Back |
-
-
-
- Abdomen at L5 Vertebra (Inf) |
- Abdomen |
-
-
-
- 1st & 2nd Intercostal Spaces |
- Thorax |
-
-
-
- 1st, 3rd, &8th Ribs |
- Body Wall and Back |
-
-
-
- Abdomen at L5 Vertebra (Inf) |
- Abdomen |
-
-
-
- 1st & 2nd Intercostal Spaces |
- Thorax |
-
-
-
- 1st, 3rd, &8th Ribs |
- Body Wall and Back |
-
-
-
- Abdomen at L5 Vertebra (Inf) |
- Abdomen |
-
-
-
- 1st & 2nd Intercostal Spaces |
- Thorax |
-
-
-
- 1st, 3rd, &8th Ribs |
- Body Wall and Back |
-
-
-
- Abdomen at L5 Vertebra (Inf) |
- Abdomen |
-
-
-
- 1st & 2nd Intercostal Spaces |
- Thorax |
-
-
-
- 1st, 3rd, &8th Ribs |
- Body Wall and Back |
-
-
-
- Abdomen at L5 Vertebra (Inf) |
- Abdomen |
-
-
-
-
-
-
- |
-
-
-
-
-
-
+
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist.json b/400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist.json
new file mode 100644
index 0000000..32eabbf
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist.json
@@ -0,0 +1,156 @@
+{
+ "root":{
+ "AODData":[
+ {
+ "_ImageId":"11014009",
+ "_Title":"Anatomy and Physiology of the Breast",
+ "_BodySystem":"Breast",
+ "_ThumbnailImage":"11014009.jpg"
+ },
+ {
+ "_ImageId":"02011209",
+ "_Title":"Understanding the Physiology of the Skin",
+ "_BodySystem":"Skin",
+ "_ThumbnailImage":"02011209.jpg"
+ },
+ {
+ "_ImageId":"14011109",
+ "_Title":"Understanding the Anatomy of the Urinary System",
+ "_BodySystem":"Urinary System",
+ "_ThumbnailImage":"14011109.jpg"
+ },
+ {
+ "_ImageId":"06011109",
+ "_Title":"Understanding the Anatomy of the Immune System",
+ "_BodySystem":"Immune System",
+ "_ThumbnailImage":"06011109.jpg"
+ },
+ {
+ "_ImageId":"09011209",
+ "_Title":"Understanding the Physiology of the Visual System",
+ "_BodySystem":"Visual System",
+ "_ThumbnailImage":"09011209.jpg"
+ },
+ {
+ "_ImageId":"02011109",
+ "_Title":"Understanding the Anatomy of the Skin",
+ "_BodySystem":"Skin",
+ "_ThumbnailImage":"02011109.jpg"
+ },
+ {
+ "_ImageId":"09011109",
+ "_Title":"Understanding the Anatomy of the Visual System",
+ "_BodySystem":"Visual System",
+ "_ThumbnailImage":"09011109.jpg"
+ },
+ {
+ "_ImageId":"01011209",
+ "_Title":"Understanding the Physiology of the Cardiovascular System",
+ "_BodySystem":"Cardiovascular System",
+ "_ThumbnailImage":"01011209.jpg"
+ },
+ {
+ "_ImageId":"13011209",
+ "_Title":"Understanding the Physiology of the Musculoskeletal System",
+ "_BodySystem":"Musculoskeletal System",
+ "_ThumbnailImage":"13011209.jpg"
+ },
+ {
+ "_ImageId":"04011209",
+ "_Title":"Understanding the Physiology of the Digestive System",
+ "_BodySystem":"Digestive System",
+ "_ThumbnailImage":"04011209.jpg"
+ },
+ {
+ "_ImageId":"01011109",
+ "_Title":"Understanding the Anatomy of the Cardiovascular System",
+ "_BodySystem":"Cardiovascular System",
+ "_ThumbnailImage":"01011109.jpg"
+ },
+ {
+ "_ImageId":"13011109",
+ "_Title":"Understanding the Anatomy of the Musculoskeletal System",
+ "_BodySystem":"Musculoskeletal System",
+ "_ThumbnailImage":"13011109.jpg"
+ },
+ {
+ "_ImageId":"04011109",
+ "_Title":"Understanding the Anatomy of the Digestive System",
+ "_BodySystem":"Digestive System",
+ "_ThumbnailImage":"04011109.jpg"
+ },
+ {
+ "_ImageId":"07011209",
+ "_Title":"Understanding the Physiology of the Nervous System",
+ "_BodySystem":"Nervous System",
+ "_ThumbnailImage":"07011209.jpg"
+ },
+ {
+ "_ImageId":"01011009",
+ "_Title":"Introduction to the Cardiovascular System",
+ "_BodySystem":"Cardiovascular System",
+ "_ThumbnailImage":"01011009.jpg"
+ },
+ {
+ "_ImageId":"12011209",
+ "_Title":"Understanding the Physiology of the Respiratory System",
+ "_BodySystem":"Respiratory System",
+ "_ThumbnailImage":"12011209.jpg"
+ },
+ {
+ "_ImageId":"03011209",
+ "_Title":"Understanding the Physiology of the Endocrine System",
+ "_BodySystem":"Endocrine System",
+ "_ThumbnailImage":"03011209.jpg"
+ },
+ {
+ "_ImageId":"07011109",
+ "_Title":"Understanding the Anatomy of the Nervous System",
+ "_BodySystem":"Nervous System",
+ "_ThumbnailImage":"07011109.jpg"
+ },
+ {
+ "_ImageId":"12011109",
+ "_Title":"Understanding the Anatomy of the Respiratory System",
+ "_BodySystem":"Respiratory System",
+ "_ThumbnailImage":"12011109.jpg"
+ },
+ {
+ "_ImageId":"03011109",
+ "_Title":"Understanding the Anatomy of the Endocrine System",
+ "_BodySystem":"Endocrine System",
+ "_ThumbnailImage":"03011109.jpg"
+ },
+ {
+ "_ImageId":"14011209",
+ "_Title":"Understanding the Physiology of the Urinary System",
+ "_BodySystem":"Urinary System",
+ "_ThumbnailImage":"14011209.jpg"
+ },
+ {
+ "_ImageId":"06011209",
+ "_Title":"Understanding the Physiology of the Immune System",
+ "_BodySystem":"Immune System",
+ "_ThumbnailImage":"06011209.jpg"
+ },
+ {
+ "_ImageId":"00016009",
+ "_Title":"Understanding Cell Biology",
+ "_BodySystem":"1",
+ "_ThumbnailImage":"00016009.jpg"
+ },
+ {
+ "_ImageId":"05011009",
+ "_Title":"Blood Anatomy and Physiology",
+ "_BodySystem":"2",
+ "_ThumbnailImage":"05011009.jpg"
+ },
+ {
+ "_ImageId":"07029109",
+ "_Title":"Understanding the Physiology of Pain",
+ "_BodySystem":"3",
+ "_ThumbnailImage":"07029109.jpg"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist_video.json b/400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist_video.json
new file mode 100644
index 0000000..34b1cdc
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/data/json/aod/aod_courselist_video.json
@@ -0,0 +1,156 @@
+{
+ "root":{
+ "AODData":[
+ {
+ "_id":"1",
+ "_CourseId":"11014009",
+ "_Title":"Anatomy and Physiology of the Breast",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"2",
+ "_CourseId":"02011209",
+ "_Title":"Understanding the Physiology of the Skin",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"3",
+ "_CourseId":"14011109",
+ "_Title":"Understanding the Anatomy of the Urinary System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"4",
+ "_CourseId":"06011109",
+ "_Title":"Understanding the Anatomy of the Immune System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"5",
+ "_CourseId":"09011209",
+ "_Title":"Understanding the Physiology of the Visual System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"6",
+ "_CourseId":"02011109",
+ "_Title":"Understanding the Anatomy of the Skin",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"7",
+ "_CourseId":"00016009",
+ "_Title":"Understanding Cell Biology",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"8",
+ "_CourseId":"05011009",
+ "_Title":"Blood Anatomy and Physiology",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"9",
+ "_CourseId":"09011109",
+ "_Title":"Understanding the Anatomy of the Visual System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"10",
+ "_CourseId":"01011209",
+ "_Title":"Understanding the Physiology of the Cardiovascular System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"11",
+ "_CourseId":"13011209",
+ "_Title":"Understanding the Physiology of the Musculoskeletal System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"12",
+ "_CourseId":"04011209",
+ "_Title":"Understanding the Physiology of the Digestive System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"13",
+ "_CourseId":"07029109",
+ "_Title":"Understanding the Physiology of Pain",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"14",
+ "_CourseId":"01011109",
+ "_Title":"Understanding the Anatomy of the Cardiovascular System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"15",
+ "_CourseId":"13011109",
+ "_Title":"Understanding the Anatomy of the Musculoskeletal System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"16",
+ "_CourseId":"04011109",
+ "_Title":"Understanding the Anatomy of the Digestive System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"17",
+ "_CourseId":"07011209",
+ "_Title":"Understanding the Physiology of the Nervous System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"18",
+ "_CourseId":"01011009",
+ "_Title":"Introduction to the Cardiovascular System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"19",
+ "_CourseId":"12011209",
+ "_Title":"Understanding the Physiology of the Respiratory System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"20",
+ "_CourseId":"03011209",
+ "_Title":"Understanding the Physiology of the Endocrine System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"21",
+ "_CourseId":"07011109",
+ "_Title":"Understanding the Anatomy of the Nervous System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"22",
+ "_CourseId":"12011109",
+ "_Title":"Understanding the Anatomy of the Respiratory System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"23",
+ "_CourseId":"03011109",
+ "_Title":"Understanding the Anatomy of the Endocrine System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"24",
+ "_CourseId":"14011209",
+ "_Title":"Understanding the Physiology of the Urinary System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ },
+ {
+ "_id":"25",
+ "_CourseId":"06011209",
+ "_Title":"Understanding the Physiology of the Immune System",
+ "_VideoUrl":"AodHome/CoursePlayerAIA"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/00016009.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/00016009.jpg
new file mode 100644
index 0000000..2937548
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/00016009.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/01011009.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/01011009.jpg
new file mode 100644
index 0000000..8bda336
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/01011009.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/01011109.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/01011109.jpg
new file mode 100644
index 0000000..beff9a2
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/01011109.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/01011209.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/01011209.jpg
new file mode 100644
index 0000000..0052344
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/01011209.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/02011109.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/02011109.jpg
new file mode 100644
index 0000000..911d6d5
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/02011109.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/02011209.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/02011209.jpg
new file mode 100644
index 0000000..58c5605
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/02011209.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/03011109.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/03011109.jpg
new file mode 100644
index 0000000..31c082c
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/03011109.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/03011209.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/03011209.jpg
new file mode 100644
index 0000000..708a2de
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/03011209.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/04011109.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/04011109.jpg
new file mode 100644
index 0000000..b01b6de
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/04011109.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/04011209.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/04011209.jpg
new file mode 100644
index 0000000..e747fce
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/04011209.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/05011009.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/05011009.jpg
new file mode 100644
index 0000000..181e98b
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/05011009.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/06011109.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/06011109.jpg
new file mode 100644
index 0000000..968340e
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/06011109.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/06011209.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/06011209.jpg
new file mode 100644
index 0000000..08c487d
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/06011209.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/07011109.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/07011109.jpg
new file mode 100644
index 0000000..86765fa
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/07011109.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/07011209.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/07011209.jpg
new file mode 100644
index 0000000..0af7204
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/07011209.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/07029109.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/07029109.jpg
new file mode 100644
index 0000000..a90f53d
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/07029109.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/09011109.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/09011109.jpg
new file mode 100644
index 0000000..847ae4a
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/09011109.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/09011209.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/09011209.jpg
new file mode 100644
index 0000000..62959da
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/09011209.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/11014009.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/11014009.jpg
new file mode 100644
index 0000000..a967619
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/11014009.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/12011109.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/12011109.jpg
new file mode 100644
index 0000000..f1339cd
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/12011109.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/12011209.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/12011209.jpg
new file mode 100644
index 0000000..75f8e33
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/12011209.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/13011109.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/13011109.jpg
new file mode 100644
index 0000000..c71f62f
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/13011109.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/13011209.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/13011209.jpg
new file mode 100644
index 0000000..e8f8311
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/13011209.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/14011109.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/14011109.jpg
new file mode 100644
index 0000000..576173a
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/14011109.jpg
diff --git a/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/14011209.jpg b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/14011209.jpg
new file mode 100644
index 0000000..a3cafda
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/content/images/aod/thumbnails/14011209.jpg
diff --git a/400-SOURCECODE/Admin/src/app/app.component.ts b/400-SOURCECODE/Admin/src/app/app.component.ts
index 6dcad5e..9e61f38 100644
--- a/400-SOURCECODE/Admin/src/app/app.component.ts
+++ b/400-SOURCECODE/Admin/src/app/app.component.ts
@@ -37,7 +37,7 @@ export class AppComponent implements OnInit {
constructor(private idle: Idle, private keepalive: Keepalive,private titleService: Title,private _confirmService: ConfirmService,private userservice: UserService,private _loadingService: LoadingService, public global: GlobalService, private router: Router,) {
const projectTitle= this.titleService.getTitle();
- console.log("idleTime: "+this.global.aiaIdleTime+" aiaIdleTimeOut: "+this.global.aiaIdleTimeOut+" Interval: "+this.global.aiaPingInterval);
+ //console.log("idleTime: "+this.global.aiaIdleTime+" aiaIdleTimeOut: "+this.global.aiaIdleTimeOut+" Interval: "+this.global.aiaPingInterval);
// sets an idle timeout of 20 minutes.
this.idle.setIdle(this.global.aiaIdleTime);
@@ -141,9 +141,10 @@ export class AppComponent implements OnInit {
this.userservice.ManageUserLoginStatus({
userId: this.global.UserId,
tagName: tagname,
- SessionId:this.global.SessionId
+ SessionId:this.global.SessionId,
+ isSiteUser:this.global.isSiteUser
}).subscribe(status => {
- console.log(status);
+ //console.log(status);
if(status=='False')
{
if(tagname=='logout')
diff --git a/400-SOURCECODE/Admin/src/app/components/UserEntity/user.service.ts b/400-SOURCECODE/Admin/src/app/components/UserEntity/user.service.ts
index a9b6138..8147c30 100644
--- a/400-SOURCECODE/Admin/src/app/components/UserEntity/user.service.ts
+++ b/400-SOURCECODE/Admin/src/app/components/UserEntity/user.service.ts
@@ -56,7 +56,7 @@ export class UserService {
//////////Manage UserLogin Status///////////
ManageUserLoginStatus(obj: any) {
- var jsonData = { 'userId': obj.userId, 'tagName': obj.tagName,'SessionId': obj.SessionId };
+ var jsonData = { 'userId': obj.userId, 'tagName': obj.tagName,'SessionId': obj.SessionId,'isSiteUser': obj.isSiteUser };
console.log(obj);
var headers = new Headers({
'Content-Type': 'application/json'
diff --git a/400-SOURCECODE/Admin/src/app/shared/global.ts b/400-SOURCECODE/Admin/src/app/shared/global.ts
index 7f61192..3ab3e04 100644
--- a/400-SOURCECODE/Admin/src/app/shared/global.ts
+++ b/400-SOURCECODE/Admin/src/app/shared/global.ts
@@ -28,23 +28,37 @@ export class GlobalService {
aiaIdleTimeOut:number=0;
aiaPingInterval:number=0;
SessionId:number=0;
+ isSiteUser:boolean=false;
RemoveColumns: Array
= ["Serial_No", "LicenseId","RowNum"]
error;
public href: string = "";
constructor(private csvService: CsvService, private http: Http) {
- this.loggedInUser = JSON.parse(localStorage.getItem("loggedInUserDetails"));
- if (this.loggedInUser != null) {
- this.UserId = this.loggedInUser.Id;
- this.UserType = this.loggedInUser.UserTypeId;
- this.UserTypeName = this.loggedInUser.UserType;
- this.DisplayName = this.loggedInUser.FirstName + " " + this.loggedInUser.LastName;
- this.LoginId=this.loggedInUser.LoginId;
- this.aiaIdleTime=this.loggedInUser.aiaIdleTime;
- this.aiaIdleTimeOut=this.loggedInUser.aiaIdleTimeOut;
- this.aiaPingInterval=this.loggedInUser.aiaPingInterval;
- this.SessionId=this.loggedInUser.SessionId;
+ if(window.location.host=="localhost:4200")
+ {
+ // for 'ng serve --open' command
+ //**** for localhost:4200 *****//
+ var date = new Date();
+ var newsessionid = date.getTime();//timestamp is the number of milliseconds that have passed since January 1, 1970
+ localStorage.setItem('loggedInUserDetails', JSON.stringify(
+ {
+ "Id": 1, "FirstName": "Maribel", "LastName": "sfsfsfsfsfsfs", "EmailId": "ravi.vishwakarma@ebix.com", "LoginId": "superadmin", "Password": "ebix@2016","aiaIdleTime": 300,"aiaIdleTimeOut": 30,"aiaPingInterval": 10,"SessionId":newsessionid,"isSiteUser":false, "SecurityQuestionId": 1, "SecurityAnswer": "boxer", "CreatorId": 1, "CreationDate": "2009-03-02T00:00:00", "DeactivationDate": null, "ModifierId": 1, "ModifiedDate": "2017-01-24T02:03:19", "UserType": "Super Admin", "UserTypeId": 1, "IsActive": true, "IsCorrectPassword": false, "IncorrectLoginAttemptCount": 0, "IsBlocked": false, "LicenseId": 0, "EditionId": 0, "LoginFailureCauseId": 0, "Modules": [{ "slug": "da-view-list", "name": "Dissectible Anatomy", "id": 1 }, { "slug": "tile-view-list", "name": "Atlas Anatomy", "id": 2 }, { "slug": "3d-anatomy-list", "name": "3D Anatomy", "id": 3 }, { "slug": "clinical-illustrations", "name": "Clinical Illustrations", "id": 4 }, { "slug": "clinical-animations", "name": "Clinical Animations", "id": 5 }, { "slug": "Link/encyclopedia", "name": "Encyclopedia", "id": 6 }, { "slug": "curriculum-builder", "name": "Curriculum Builder", "id": 7 }, { "slug": "anatomy-test", "name": "Anatomy Test", "id": 8 }, { "slug": "Link/IP-10", "name": "IP 10", "id": 9 }, { "slug": "lab-exercises", "name": "Lab Exercises", "id": 10 }, { "slug": "Link/indepth-reports", "name": "In-Depth Reports", "id": 11 }, { "slug": "Link/complementary-and-alternate-medicine", "name": "CAM", "id": 12 }, { "slug": "ADAM-images", "name": "A.D.A.M. Images", "id": 13 }, { "slug": "Link/bodyguide", "name": "Body Guide", "id": 14 }, { "slug": "Link/health-navigator", "name": "Symptom Navigator", "id": 15 }, { "slug": "Link/wellness-tools", "name": "The Wellness Tools", "id": 16 }, { "slug": "Link/aod", "name": "A.D.A.M. OnDemand", "id": 1017 }], "LicenseInfo": { "Id": 0, "AccountNumber": "AIAS000319" }, "LicenseSubscriptions": null, "IsSubscriptionExpired": false, "SubscriptionExpirationDate": null, "TermsAndConditionsTitle": null, "TermsAndConditionsText": null
+ }));
+ }
+
+ this.loggedInUser = JSON.parse(localStorage.getItem("loggedInUserDetails"));
+ if (this.loggedInUser != null) {
+ this.UserId = this.loggedInUser.Id;
+ this.UserType = this.loggedInUser.UserTypeId;
+ this.UserTypeName = this.loggedInUser.UserType;
+ this.DisplayName = this.loggedInUser.FirstName + " " + this.loggedInUser.LastName;
+ this.LoginId=this.loggedInUser.LoginId;
+ this.aiaIdleTime=this.loggedInUser.aiaIdleTime;
+ this.aiaIdleTimeOut=this.loggedInUser.aiaIdleTimeOut;
+ this.aiaPingInterval=this.loggedInUser.aiaPingInterval;
+ this.SessionId=this.loggedInUser.SessionId;
+ this.isSiteUser=this.loggedInUser.isSiteUser;
- }
+ }
this.NoRecords = 'No Record Found.';
@@ -69,20 +83,8 @@ export class GlobalService {
}
- if (this.resourceBaseUrl == this.ProtocolType+"localhost/API/Adminapi/") {
- if(window.location.host=="localhost:4200")
- {
- // for 'ng serve --open' command
- //**** for localhost:4200 *****//
- var date = new Date();
- var newsessionid = date.getTime();//timestamp is the number of milliseconds that have passed since January 1, 1970
- localStorage.setItem('loggedInUserDetails', JSON.stringify(
- {
- "Id": 1, "FirstName": "Maribel", "LastName": "sfsfsfsfsfsfs", "EmailId": "ravi.vishwakarma@ebix.com", "LoginId": "superadmin", "Password": "ebix@2016","aiaIdleTime": 300,"aiaIdleTimeOut": 30,"aiaPingInterval": 10,"SessionId":newsessionid, "SecurityQuestionId": 1, "SecurityAnswer": "boxer", "CreatorId": 1, "CreationDate": "2009-03-02T00:00:00", "DeactivationDate": null, "ModifierId": 1, "ModifiedDate": "2017-01-24T02:03:19", "UserType": "Super Admin", "UserTypeId": 1, "IsActive": true, "IsCorrectPassword": false, "IncorrectLoginAttemptCount": 0, "IsBlocked": false, "LicenseId": 0, "EditionId": 0, "LoginFailureCauseId": 0, "Modules": [{ "slug": "da-view-list", "name": "Dissectible Anatomy", "id": 1 }, { "slug": "tile-view-list", "name": "Atlas Anatomy", "id": 2 }, { "slug": "3d-anatomy-list", "name": "3D Anatomy", "id": 3 }, { "slug": "clinical-illustrations", "name": "Clinical Illustrations", "id": 4 }, { "slug": "clinical-animations", "name": "Clinical Animations", "id": 5 }, { "slug": "Link/encyclopedia", "name": "Encyclopedia", "id": 6 }, { "slug": "curriculum-builder", "name": "Curriculum Builder", "id": 7 }, { "slug": "anatomy-test", "name": "Anatomy Test", "id": 8 }, { "slug": "Link/IP-10", "name": "IP 10", "id": 9 }, { "slug": "lab-exercises", "name": "Lab Exercises", "id": 10 }, { "slug": "Link/indepth-reports", "name": "In-Depth Reports", "id": 11 }, { "slug": "Link/complementary-and-alternate-medicine", "name": "CAM", "id": 12 }, { "slug": "ADAM-images", "name": "A.D.A.M. Images", "id": 13 }, { "slug": "Link/bodyguide", "name": "Body Guide", "id": 14 }, { "slug": "Link/health-navigator", "name": "Symptom Navigator", "id": 15 }, { "slug": "Link/wellness-tools", "name": "The Wellness Tools", "id": 16 }, { "slug": "Link/aod", "name": "A.D.A.M. OnDemand", "id": 1017 }], "LicenseInfo": { "Id": 0, "AccountNumber": "AIAS000319" }, "LicenseSubscriptions": null, "IsSubscriptionExpired": false, "SubscriptionExpirationDate": null, "TermsAndConditionsTitle": null, "TermsAndConditionsText": null
- }));
- }
-
- this.loggedInUser = JSON.parse(localStorage.getItem("loggedInUserDetails"));
+ if (this.resourceBaseUrl == this.ProtocolType+"localhost/API/Adminapi/") {
+
if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") {
this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber
}