<fieldset class="cbi-section">
	  <p width="100%" align="center"><font color="blue"><b><%:CONFIG IN USE%>:</b> <b id="_conf_path"></b></font></p>
</fieldset>
<script type="text/javascript">//<![CDATA[
	var conf_path = document.getElementById('_conf_path');
	XHR.poll(1, '<%=luci.dispatcher.build_url("admin", "services", "clash", "conf")%>', null, function(x, status) {
		if ( x && x.status == 200 ) {
		
			if(status.typeconf==1){
				conf_path.innerHTML = status.conf_path ? '<b><font color="green"><%:SUBSCRIBE%> 【'+status.conf_path+'】</font></b>' : '<b><font color="red"><%:NOT SELECTED%></font></b>';
			}
			if(status.typeconf==2){
				conf_path.innerHTML = status.conf_path ? '<b><font color="green"><%:UPLOAD%> 【'+status.conf_path+'】</font></b>' : '<b><font color="red"><%:NOT SELECTED%></font></b>';
			}
			if(status.typeconf==3){
				conf_path.innerHTML = status.conf_path ? '<b><font color="green"><%:CUSTOM%> 【'+status.conf_path+'】</font></b>' : '<b><font color="red"><%:NOT SELECTED%></font></b>';
			}
			
			 
		} 
	});

//]]></script>	