This commit is contained in:
wangjinlei
2023-05-18 09:42:12 +08:00
commit 6e7ee3dd44
1214 changed files with 103535 additions and 0 deletions

252
footer.html Normal file
View File

@@ -0,0 +1,252 @@
<link href="js/jquerycheckbox/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
<link href="js/jquerycheckbox/combox.css" rel="stylesheet">
<script src="js/jquerycheckbox/combox.js"></script>
<div class="daohang">
<div class="dh_du">
<!--底部列表-->
<br clear="both">
</div>
<!-- <div class="dh_by">-->
<!-- <p>Latest Research and News</p>-->
<!-- <input id="combox1" autocomplete="off" placeholder="Please choose topics">-->
<!-- <input type="text" id="emaplf" value="" placeholder="Please enter a valid email address"/>-->
<!-- <br>-->
<!-- <span class="spa spa145"></span>-->
<!-- <input type="submit" value="Subscribe" class="yue_addf"/>-->
<!-- <i class="icon"></i>-->
<!-- </div>-->
<!-- <br clear="both">-->
</div>
<div class="bianma">
<div>
Copyright © <b class="time_year"></b> TMR Publishing Group Limited.
<div class="mianZe">
Disclaimer
<div class="delog_tc">
<p>
Disclaimer: All publications' positions, perspectives, and data are solely those of the authors and
contributors. TMR Publishing Group disclaims no liability for any injury to any person or property resulting
from any position, idea, method, description, or product mentioned in the publication. In addition, TMR
Publishing Group stays neutral with regard to jurisdictional claims in published maps, online maps, and
institutional affiliations.
</p>
<div class="triacoud"></div>
</div>
</div>
</div>
<p style="padding-bottom: 20px;">E-mail: publisher@tmrjournals.com | https://www.tmrjournals.com</p>
</div>
<script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>
<script>
$(function () {
// footer
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getAllFooter',
data: {},
success: function (result) {
if (result.code == 0) {
var arr = result.data.footers;
var str = "";
for (var i in arr) {
if (i == 'Guidelines') {
str += '<ul style="width: 285px"><h3>' + i + '</h3>'
for (var j = 0; j < arr[i].length; j++) {
str += '<li><a href="afoor_text.html?&footer_id=' + arr[i][j].footer_id + '" target="_blank">' + arr[i][j].footer_title + '</a></li>'
}
str += '</ul>'
}else if (i == 'Publisher Information') {
str += '<ul style="width: 290px"><h3>' + i + '</h3>'
for (var j = 0; j < arr[i].length; j++) {
str += '<li><a href="afoor_text.html?&footer_id=' + arr[i][j].footer_id + '" target="_blank">' + arr[i][j].footer_title + '</a></li>'
}
str += '</ul>'
}else if (i == 'Products') {
str += '<ul style="width: 295px"><h3>' + i + '</h3>'
str += '<li><a href="atr_wisdom.html?&wis_dom=0" target="_blank">Journals</a></li>' +
'<li><a href="booker_list.html?bo_id=0" target="_blank">Books</a></li>' +
'<li><a href="https://submission.tmrjournals.com" target="_blank">TMR submission and tracking system</a></li>' +
'<li><a href="atr_wisdom.html?&wis_dom=0" target="_blank">Intelligent journal selection system</a></li>'+
'<li><a href="rev_ver.html" target="_blank">Scientist community</a></li>' +
'<li><a href="/tmrde" target="_blank">TMRDE</a></li>'
for (var j = 0; j < arr[i].length; j++) {
if (arr[i][j].footer_title == 'Co-submission' || arr[i][j].footer_title == 'Transfer-submission' || arr[i][j].footer_title == 'Quick track') {
str += '<li><a href="afoor_text.html?&footer_id=' + arr[i][j].footer_id + '" target="_blank">' + arr[i][j].footer_title + '</a></li>'
}
}
str += '</ul>'
}
}
str += '<ul style="width: 110px"><h3>Partnerships</h3>' +
'<li><a href="https://orcid.org/" target="_blank">ORCID</a></li>' +
'<li><a href="https://www.crossref.org/" target="_blank">Crossref</a></li>' +
'<li><a href="https://www.portico.org/" target="_blank">Portico</a></li>' +
'<li><a href="https://www.trendmd.com/" target="_blank">TrendMD</a></li></ul>'
$('.daohang .dh_du').html(str + '<br clear="both">');
var data= new Date
$('.time_year').html(data.getFullYear())
// 获取地址判断国家跳转
$.ajax({
type: 'post', url: apiUrl + 'api/Main/getIpLocation',
data: {
"ip": returnCitySN["cip"]
},
success: function (result) {
if (result.code == 0) {
// console.log(returnCitySN["cip"]+','+returnCitySN["cname"])
// console.log(returnCitySN["cip"].split('.')[0])
// console.log(returnCitySN["cname"])
var loca_ip = window.location.href.split('/')[2].match(/www.tmrjournals.(.*)/)[1]
if (result.data.country == 'gn') {
if (loca_ip != 'cn') {
var loca_zd = window.location.href.match(/https:\/\/www.tmrjournals.com(.*)/)[1]
if (window.location.href.split('/')[3].indexOf('journals') != -1) {
window.parent.location.href = "https://www.tmrjournals.cn/" + localStorage.Journals_usx
} else {
window.parent.location.href = "https://www.tmrjournals.cn" + loca_zd
}
}
}
if (result.data.country == 'gw') {
if (loca_ip != 'com') {
var loca_zd = window.location.href.match(/https:\/\/www.tmrjournals.cn(.*)/)[1]
if (window.location.href.split('/')[3].indexOf('journals') != -1) {
window.parent.location.href = "https://www.tmrjournals.com/" + localStorage.Journals_usx
} else {
window.parent.location.href = "https://www.tmrjournals.com" + loca_zd
}
}
}
if (result.data.country == 'jyw') {
}
} else {
// ShowDanger("请求失败!");
}
},
error: function () {
ShowDanger("error");
}
})
} else {
// ShowDanger("请求失败!");
}
},
error: function () {
ShowDanger("error");
}
})
// 下面话题订阅下拉
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/getTopicForSubscribe',
data: {
"journal_id": Jour_num
},
success: function (result) {
if (result.code == 0) {
var arr = result.data.topics;
var data_1 = [];
for (var i = 0; i < arr.length; i++) {
data_1.push({
id: arr[i].journal_topic_id,
text: arr[i].title
});
}
$("#combox1").combox({
id: "id",
name: "text",
data: data_1,
valueChange: function (data) {
// debugger
//返回datafilterDataselectData
}
})
var cb1 = $("#combox1").data('combox');
// 订阅期刊(提交新的)
$(".yue_addf").click(function () {
$(".spa145").text('');
var add_mess = {};
add_mess.email = $('#emaplf').val();
add_mess.topic_ids = [];
var ar_mes = cb1.options.selectData
for (var i = 0; i < ar_mes.length; i++) {
add_mess.topic_ids.push(ar_mes[i]['id']);
}
var S_Dan = '0';
var reg = /^[-.-_A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/
if (cb1.options.selectData == "") {
$(".spa145").text('Please choose topic');
S_Dan = '1';
} else if ($("#emaplf").val() == "") {
$(".spa145").text('Please fill in E-mail');
S_Dan = '1';
} else if (!(reg.test($("#emaplf").val()))) {
$(".spa145").text('Please fill in properly formatted E-mail');
S_Dan = '1';
}
if (S_Dan == '1') {
ShowDanger("Incomplete information");
} else {
$(".yue_addf").addClass("disable");
$.ajax({
type: 'post', url: apiUrl + 'api/Journal/addSubscribeTopics',
data: add_mess,
success: function (result) {
if (result.code == 0) {
// $(".dh_by input[type='text']").val('');
$(".yue_addf").removeClass("disable");
$(".jour_ts").fadeIn();
$(".dh_by input.tishi_author").click(function () {
$(".jour_ts").fadeOut();
});
} else {
ShowDanger(result.msg);
$(".yue_addf").removeClass("disable");
}
},
error: function () {
ShowDanger("error");
$(".yue_addf").removeClass("disable");
}
})
}
})
} else {
ShowDanger("请求失败!");
}
},
error: function () {
ShowDanger("error");
}
});
});
</script>