添加泰国站点测试按钮

master
Ycc 2 months ago
parent 390422d104
commit c7eb0631aa

@ -360,6 +360,12 @@
$('#goto_test_page_button').attr("href", site_url + $('#ic_url').val());
return true;
}
//thailand 跳转测试页面
function goto_thailandtest_page() {
var site_url = 'https://proxy-www.thailandhighlights.com';
$('#goto_test_page_button').attr("href", site_url + $('#ic_url').val());
return true;
}
//GH 跳转测试页面
function goto_ghtest_page() {
@ -748,6 +754,9 @@
<?php if ($information->ic_sitecode == 'jh') {?>
<a href="javascript:void(0);" onclick="goto_jhtest_page();" id="goto_test_page_button" name="goto_test_page_button" target="_blank" title="查看测试页面"><i class="glyphicon glyphtext-muted glyphicon glyphicon-random text-muted"></i></a>
<?php }?>
<?php if ($information->ic_sitecode == 'thailand') {?>
<a href="javascript:void(0);" onclick="goto_thailandtest_page();" id="goto_test_page_button" name="goto_test_page_button" target="_blank" title="查看测试页面"><i class="glyphicon glyphtext-muted glyphicon glyphicon-random text-muted"></i></a>
<?php }?>
</div>
<input class="form-control col-xs-24" type="text" id="ic_url" name="ic_url" value="<?php echo $information->ic_url; ?>">
</div>

Loading…
Cancel
Save