diff --git a/js/js.js b/js/js.js
index 3289434..ab7e78b 100644
--- a/js/js.js
+++ b/js/js.js
@@ -9,6 +9,7 @@
var apiUrl = "/";
var apiUrlTG = "/";
var apiUrlImg = "/public/";
+var apiSubmission = "https://submission.tmrjournals.com/";
// var apiUrlImg = "http://journalapi.tmrjournals.com/public/";
diff --git a/js/not_map.js b/js/not_map.js
index 1495e58..afe95ae 100644
--- a/js/not_map.js
+++ b/js/not_map.js
@@ -205,7 +205,7 @@ if (footer_map_ID == '125') {
'
The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.
');
$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
+ type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -320,7 +320,7 @@ if (footer_map_ID == '125') {
'The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.
');
$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
+ type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -431,7 +431,7 @@ if (footer_map_ID == '125') {
'The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.
');
$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
+ type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -540,7 +540,7 @@ if (footer_map_ID == '125') {
'The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.
');
$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
+ type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -649,7 +649,7 @@ if (footer_map_ID == '125') {
'The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.
');
$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
+ type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -758,7 +758,7 @@ if (footer_map_ID == '125') {
'The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.
');
$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
+ type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -867,7 +867,7 @@ if (footer_map_ID == '125') {
'The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.
');
$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
+ type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
@@ -976,7 +976,7 @@ if (footer_map_ID == '125') {
'The geographic diversity of the Editorial Board is marked on the world map. All members of the Editorial Board have identified their affiliated institutions and academic titles, along with the corresponding country or geographic region. TMR Publishing Group remains neutral with regard to any jurisdictional claims.
');
$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getBWGJH',
+ type: 'post', url: apiUrl + 'api/Journal/getBWGJH1',
data: {
"journal_id": Jour_num
},
diff --git a/js/notice.js b/js/notice.js
index dcee672..8a33aaa 100644
--- a/js/notice.js
+++ b/js/notice.js
@@ -181,13 +181,17 @@ function notice_con() {
if (arr.title == 'Editorial Board') {
$.ajax({
- type: 'post', url: apiUrl + 'api/Journal/getBoard',
+ type: 'post', url: apiUrl + 'api/Journal/getBoard1',
data: {
"journal_id": Jour_num
},
success: function (result) {
if (result.code == 0) {
- var arg = result.data.boards;
+ // 编委会成员
+ var arg = result.data.data.boards;
+ // 期刊委员会
+ var committees = result.data.data.committees;
+ var editors = result.data.data.editors;
var str = '';
if (arg.main == undefined) {
@@ -195,20 +199,27 @@ function notice_con() {
} else {
str += 'Editor-in-Chief
'
for (var i = 0; i < arg.main.length; i++) {
- if (arg.main[i].board_icon == '') {
- var icon_img = '
'
+ if (arg.main[i].icon == '') {
+ var icon_img = '
'
} else {
- var icon_img = '
'
+ var icon_img = '
'
}
- if (arg.main[i].field == '') {
+ if (arg.main[i].research_areas == '') {
var dis_line = ''
} else {
- var dis_line = 'Research areas: ' + arg.main[i].field
+ var dis_line = 'Research areas: ' + arg.main[i].research_areas
}
+ if(arg.main[i].website != ''){
str += '' +
- '' + arg.main[i].name + ', '
- + arg.main[i].dr + ' ' + arg.main[i].title + '
' + arg.main[i].email + '
'
- + arg.main[i].address + ' ' + arg.main[i].country + '
' + dis_line + icon_img + '
'
+ '' + arg.main[i].realname + ', Ph.D. '
+ + arg.main[i].technical + '
' + arg.main[i].email + '
'
+ + arg.main[i].company + '
' + dis_line + icon_img + '
'
+ }else{
+ str += '' +
+ arg.main[i].realname + ', Ph.D. '
+ + arg.main[i].technical + '
' + arg.main[i].email + '
'
+ + arg.main[i].company + '
' + dis_line + icon_img + '
'
+ }
}
}
if (arg.remain == undefined) {
@@ -216,20 +227,27 @@ function notice_con() {
} else {
str += 'Vice Editor-in-Chief
'
for (var i = 0; i < arg.remain.length; i++) {
- if (arg.remain[i].board_icon == '') {
- var icon_img = '
'
+ if (arg.remain[i].icon == '') {
+ var icon_img = '
'
} else {
- var icon_img = '
'
+ var icon_img = '
'
}
- if (arg.remain[i].field == '') {
+ if (arg.remain[i].research_areas == '') {
var dis_line = ''
} else {
- var dis_line = 'Research areas: ' + arg.remain[i].field
+ var dis_line = 'Research areas: ' + arg.remain[i].research_areas
}
+ if(arg.remain[i].website != ''){
str += '' +
- '' + arg.remain[i].name + ', '
- + arg.remain[i].dr + ' ' + arg.remain[i].title + '
' + arg.remain[i].email + '
'
- + arg.remain[i].address + ' ' + arg.remain[i].country + '
' + dis_line + icon_img + '
'
+ '' + arg.remain[i].realname + ', Ph.D. '
+ + arg.remain[i].technical + '
' + arg.remain[i].email + '
'
+ + arg.remain[i].company + '
' + dis_line + icon_img + '
'
+ }else{
+ str += '' +
+ arg.remain[i].realname + ', Ph.D. '
+ + arg.remain[i].technical + '
' + arg.remain[i].email + '
'
+ + arg.remain[i].company + '
' + dis_line + icon_img + '
'
+ }
}
str += '
'
}
@@ -237,52 +255,154 @@ function notice_con() {
str += ''
} else {
str += 'Editorial Board Members
'
+ // 未分组
$.each(arg.member, function (key, value) { //遍历键值对
if ($.isArray(arg.member[key]) == true) {
+ if(key == 'nogroup'){
+ for (var j = 0; j < arg.member[key].length; j++) {
+ if (arg.member[key][j].icon == '') {
+ var icon_img = '
'
+ } else {
+ var icon_img = '
'
+ }
+ if (arg.member[key][j].research_areas == '') {
+ var dis_line = ''
+ } else {
+ var dis_line = 'Research areas: ' + arg.member[key][j].research_areas
+ }
+ if (arg.member[key][j].realname == 'Jian Hao' || arg.member[key][j].realname == 'Mathew Goss' || arg.member[key][j].realname == 'Lucy Pi (Nuo-Xi Pi)' || arg.member[key][j].realname == 'Richard Shane Palmer' || arg.member[key][j].realname == 'Xin-Yun Zhang') {
+ if(arg.member[key][j].website != ''){
+ str += '' +
+ '' + arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ }else{
+ str += '' +
+ arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ }
+ } else {
+ if(arg.member[key][j].website != ''){
+ str += '' +
+ '' + arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ }else{
+ str += '' +
+ arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ }
+ }
+ }
+ }
+ }
+ })
+ // 有分组
+ $.each(arg.member, function (key, value) { //遍历键值对
+ if ($.isArray(arg.member[key]) == true) {
+ if(key != 'nogroup'){
str += '' + key + '
'
for (var j = 0; j < arg.member[key].length; j++) {
- if (arg.member[key][j].board_icon == '') {
- var icon_img = '
'
+ if (arg.member[key][j].icon == '') {
+ var icon_img = '
'
} else {
- var icon_img = '
'
+ var icon_img = '
'
}
- if (arg.member[key][j].field == '') {
+ if (arg.member[key][j].research_areas == '') {
var dis_line = ''
} else {
- var dis_line = 'Research areas: ' + arg.member[key][j].field
+ var dis_line = 'Research areas: ' + arg.member[key][j].research_areas
}
- if (arg.member[key][j].name == 'Jian Hao' || arg.member[key][j].name == 'Mathew Goss' || arg.member[key][j].name == 'Lucy Pi (Nuo-Xi Pi)' || arg.member[key][j].name == 'Richard Shane Palmer' || arg.member[key][j].name == 'Xin-Yun Zhang') {
+ if (arg.member[key][j].realname == 'Jian Hao' || arg.member[key][j].realname == 'Mathew Goss' || arg.member[key][j].realname == 'Lucy Pi (Nuo-Xi Pi)' || arg.member[key][j].realname == 'Richard Shane Palmer' || arg.member[key][j].realname == 'Xin-Yun Zhang') {
+ if(arg.member[key][j].website != ''){
str += '' +
- '' + arg.member[key][j].name + ', '
- + arg.member[key][j].dr + ' ' + arg.member[key][j].title + '
' + arg.member[key][j].email + '
'
- + arg.member[key][j].address + '
' + dis_line + icon_img + '
'
+ '' + arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ }else{
+ str += '' +
+ arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ }
} else {
+ if(arg.member[key][j].website != ''){
str += '' +
- '' + arg.member[key][j].name + ', '
- + arg.member[key][j].dr + ' ' + arg.member[key][j].title + '
' + arg.member[key][j].email + '
'
- + arg.member[key][j].address + ' ' + arg.member[key][j].country + '
' + dis_line + icon_img + '
'
+ '' + arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ }else{
+ str += '' +
+ arg.member[key][j].realname + ', Ph.D. '
+ + arg.member[key][j].technical + '
' + arg.member[key][j].email + '
'
+ + arg.member[key][j].company + '
' + dis_line + icon_img + '
'
+ }
}
- }
- } else {
- if (arg.member[key].board_icon == '') {
- var icon_img = '
'
- } else {
- var icon_img = '
'
- }
- if (arg.member[key].field == '') {
- var dis_line = ''
- } else {
- var dis_line = 'Research areas: ' + arg.member[key].field
- }
- str += '' +
- '' + arg.member[key].name + ', '
- + arg.member[key].dr + ' ' + arg.member[key].title + '
' + arg.member[key].email + '
'
- + arg.member[key].address + ' ' + arg.member[key].country + '
' + dis_line + icon_img + '
'
+ }}
}
})
str += '
'
}
+ // 期刊委员会
+ if(committees && committees.length > 0){
+ str += 'Academic Integrity Committee
'
+ for (var i = 0; i < committees.length; i++) {
+ if (committees[i].icon == '') {
+ var icon_img = '
'
+ } else {
+ var icon_img = '
'
+ }
+ if (committees[i].research_areas == '') {
+ var dis_line = ''
+ } else {
+ var dis_line = 'Research areas: ' + committees[i].research_areas
+ }
+ if(committees[i].website != ''){
+ str += '' +
+ '' + committees[i].realname + ', Ph.D. '
+ + committees[i].technical + '
' + committees[i].email + '
'
+ + committees[i].company + '
' + dis_line + icon_img + '
'
+ }else{
+ str += '' +
+ committees[i].realname + ', Ph.D. '
+ + committees[i].technical + '
' + committees[i].email + '
'
+ + committees[i].company + '
' + dis_line + icon_img + '
'
+ }
+ }
+ }else{
+ str += '';
+ }
+
+ // 期刊编辑
+ if(editors && editors.length > 0){
+ str += 'Editors & Staff
'
+ for (var i = 0; i < editors.length; i++) {
+ if (editors[i].icon == '') {
+ var icon_img = '
'
+ } else {
+ var icon_img = '
'
+ }
+ if(editors[i].website != ''){
+ str += '' +
+ '' + editors[i].realname + ','
+ + editors[i].editor_title + '
' + editors[i].email + '
'
+ + icon_img + ''
+ }else{
+ str += '' +
+ editors[i].realname + ', '
+ + editors[i].editor_title + '
' + editors[i].email + '
'
+ + icon_img + ''
+ }
+ }
+ str += '';
+
+ }else{
+ str += ''
+ }
+
$('.topics>div').append('');
diff --git a/js/scientist.js b/js/scientist.js
index c58eb03..dc0b284 100644
--- a/js/scientist.js
+++ b/js/scientist.js
@@ -97,7 +97,7 @@ function sy_index() {
if (result.code == 0) {
var arr = result.data.specials;
var str = "";
- for (var i = 0; i < 2; i++) {
+ for (var i = 0; i < 1; i++) {
if ($.cookie("username") != undefined && $.cookie("user_id") != undefined) {
var co_sp_user = 'contribu_list.html?J_num=' + arr[i].journal_id + '&&special_id=' + arr[i].journal_special_id;
} else {