<% if luci.sys.exec("echo -n `uci -q get base_config.@status[0].links`") ~= "0" then %>
<script>
		var links = document.createElement('div');
		links.innerHTML ='<div class="table"><div class="tr"><div class="td left"><a href="https://openwrt.ai/" target="_blank">固件下载与定制</a></div><div class="td left" width="25%"><a href="https://openwrt.ai/fadian/" target="_blank" style="color:orangered">赞助</a></div><div class="td left" width="25%"><a href="https://t.me/opwrt" target="_blank">TG频道</a></div><div class="td left" width="25%"><a href="https://github.com/kiddin9/OpenWrt_x86-r2s-r4s" target="_blank">源码与反馈</a></div></div></div>';
		setTimeout(function(){
		var telegram = document.querySelectorAll(".cbi-section")[0];
		telegram.appendChild(links);
		}, 1500);
		setTimeout(function(){
		var telegram = document.querySelectorAll(".cbi-section")[0];
		telegram.appendChild(links);
		}, 2400);
</script>
<%end%>
