{=var-set:x_gbox={=script:Y_Tools is_exec gbox=}=}
{=var-set:x_oscam={=script:Y_Tools is_exec oscam=}=}
{=var-set:x_osmod={=script:Y_Tools is_exec osmod=}=}
{=var-set:x_ncam={=script:Y_Tools is_exec ncam=}=}
{=var-set:x_cccam={=script:Y_Tools is_exec cccam=}=}
{=var-set:x_doscam={=script:Y_Tools is_exec doscam=}=}
{=var-set:x_mgcamd={=script:Y_Tools is_exec mgcamd=}=}

{=var-set:r_gbox={=script:Y_Tools is_running gbox=}=}
{=var-set:r_oscam={=script:Y_Tools is_running oscam=}=}
{=var-set:r_osmod={=script:Y_Tools is_running osmod=}=}
{=var-set:r_ncam={=script:Y_Tools is_running ncam=}=}
{=var-set:r_cccam={=script:Y_Tools is_running cccam=}=}
{=var-set:r_doscam={=script:Y_Tools is_running doscam=}=}
{=var-set:r_mgcamd={=script:Y_Tools is_running mgcamd=}=}

{=var-set:oscamport={=script:Y_Tools get_oscam_webif_port=}=}
{=var-set:osmodport={=script:Y_Tools get_osmod_webif_port=}=}
{=var-set:ncamport={=script:Y_Tools get_ncam_webif_port=}=}
{=var-set:cccamport={=script:Y_Tools get_cccam_webif_port=}=}
{=var-set:doscamport={=script:Y_Tools get_doscam_webif_port=}=}

{=include-block:Y_Blocks.txt;head=}
<script src="/Y_Baselib.js"></script>
<style>
input[type="button"], .tools select {
	width: 100%;
}
</style>
{=include-block:Y_Blocks.txt;head_close=}
<body>
{=var-set:wait_text={=L:set.camds.title=}<br/>=}{=include-block:Y_Blocks.txt;snip_wait=}
<div class="work_box">
	<div class="work_box_head"><div class="work_box_head_h2">
	{=var-set:menu={=L:set.camds.title=}=}{=include-block:Y_Blocks.txt;work_menu=}
	</div></div>
	<div class="work_box_body">
	<form action="">
		<table class="y_invisible_table" cellpadding="5">
			<tr>
				<td class="y_form_header">{=L:set.camds=}</td>
				<td class="y_form_header">&nbsp;</td>
				<td class="y_form_header">&nbsp;</td>
				<td class="y_form_header">
					<input type="button" value="{=L:reset=}" title="{=L:reset=}" onclick='Y_Tools("softcamreset", 10000);' />
				</td>
				<td class="y_form_header">&nbsp;</td>
			</tr>
			<tr class="list">
			{=var-set:camd=gbox=}
				<td>
					<img src="images/{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~check_green~x_red=}.png" class="status">
					{=var-get:camd=}
				</td>
				<td>
					<span class="vinfo">{=script:Y_Tools vinfo {=var-get:camd=}=}</span>
				</td>
			{=if-equal:{=var-get:x_{=var-get:camd=}=}~true~
				{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
				<td>
					<input type="button" value="{=L:stop=}"  title="{=L:stop=} {=var-get:camd=}"  onclick='Y_Tools("{=var-get:camd=}stop", 10000);' />
				</td>
				<td>	
					<input type="button" value="{=L:reset=}" title="{=L:reset=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}reset", 10000);' />
				</td>
				~
				<td>
					<input type="button" value="{=L:start=}" title="{=L:start=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}start", 10000);' />
				</td>
				<td>
				</td>
				=}
			~
				<td>
				</td>
				<td>
				</td>
			=}
				<td>
					<span class="tools">
					<select name="{=var-get:camd=}_tools" size="1" onchange="this.options[this.selectedIndex].onclick();">
						<option onclick='return false;' selected>{=L:set.camd-tools=} {=var-get:camd=}</option>
						<option onclick='return false;'> {=L:set.camd-tools.line=} </option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/gbox_cfg","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: gbox_cfg
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/conax","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: conax
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/constcw","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: constcw
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/crypto","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: crypto
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/cwshare.cfg","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: cwshare.cfg
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/ignore.list","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: ignore.list
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/irdeto","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: irdeto
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/nagra","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: nagra
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/nds","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: nds
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/seca","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: seca
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/softcam.cfg","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: softcam.cfg
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/via","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: via
						</option>
						{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
						<option> {=L:set.camd-tools.line=} </option>
						<option onclick='Y_Tools("ecminfo");'>
							{=L:set.camd-tools.ecminfo=}
						</option>
						<option onclick='Y_Tools("pidinfo");'>
							{=L:set.camd-tools.pidinfo=}
						</option>
						<option onclick='Y_Tools("sc01info");'>
							{=L:set.camd-tools.sc01info=}
						</option>
						<option onclick='Y_Tools("sc02info");'>
							{=L:set.camd-tools.sc02info=}
						</option>
						<option onclick='Y_Tools("shareinfo");'>
							{=L:set.camd-tools.shareinfo=}
						</option>
						<option onclick='Y_Tools("shareonl");'>
							{=L:set.camd-tools.shareonl=}
						</option>
						<option onclick='Y_Tools("countcards&amp;/tmp/share.info");'>
							{=L:set.camd-tools.countcards=}
						</option>
						~
						=}
					</select>
					</span>
				</td>
			</tr>
			<tr class="list">
			{=var-set:camd=oscam=}
				<td>
					<img src="images/{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~check_green~x_red=}.png" class="status">
					{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
					<u><a href="#" onclick='goPort("{=var-get:oscamport=}");'>{=var-get:camd=}</a></u>
					~
					{=var-get:camd=}
					=}
				</td>
				<td>
					<span class="vinfo">{=script:Y_Tools vinfo {=var-get:camd=}=}</span>
				</td>
			{=if-equal:{=var-get:x_{=var-get:camd=}=}~true~
				{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
				<td>
					<input type="button" value="{=L:stop=}"  title="{=L:stop=} {=var-get:camd=}"  onclick='Y_Tools("{=var-get:camd=}stop", 10000);' />
				</td>
				<td>	
					<input type="button" value="{=L:reset=}" title="{=L:reset=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}reset", 10000);' />
				</td>
				~
				<td>
					<input type="button" value="{=L:start=}" title="{=L:start=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}start", 10000);' />
				</td>
				<td>
				</td>
				=}
			~
				<td>
				</td>
				<td>
				</td>
			=}
				<td>
					<span class="tools">
					<select name="{=var-get:camd=}_tools" size="1" onchange="this.options[this.selectedIndex].onclick();">
						<option onclick='return false;' selected>{=L:set.camd-tools=} {=var-get:camd=}</option>
						<option onclick='return false;'> {=L:set.camd-tools.line=} </option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.conf","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.conf
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.dvbapi","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.dvbapi
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.server","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.server
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.services","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.services
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.srvid","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.srvid
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.user","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.user
						</option>
						{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
						<option> {=L:set.camd-tools.line=} </option>
						<option onclick='Y_Tools("ecminfo");'>
							{=L:set.camd-tools.ecminfo=}
						</option>
						<option onclick='Y_Tools("oscamversion");'>
							{=L:set.camd-tools.oscamversion=}
						</option>
						~
						=}
					</select>
					</span>
				</td>
			</tr>
			<tr class="list">
			{=var-set:camd=osmod=}
				<td>
					<img src="images/{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~check_green~x_red=}.png" class="status">
					{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
					<u><a href="#" onclick='goPort("{=var-get:osmodport=}");'>{=var-get:camd=}</a></u>
					~
					{=var-get:camd=}
					=}
				</td>
				<td>
					<span class="vinfo">{=script:Y_Tools vinfo {=var-get:camd=}=}</span>
				</td>
			{=if-equal:{=var-get:x_{=var-get:camd=}=}~true~
				{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
				<td>
					<input type="button" value="{=L:stop=}"  title="{=L:stop=} {=var-get:camd=}"  onclick='Y_Tools("{=var-get:camd=}stop", 10000);' />
				</td>
				<td>
					<input type="button" value="{=L:reset=}" title="{=L:reset=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}reset", 10000);' />
				</td>
				~
				<td>
					<input type="button" value="{=L:start=}" title="{=L:start=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}start", 10000);' />
				</td>
				<td>
				</td>
				=}
			~
				<td>
				</td>
				<td>
				</td>
			=}
				<td>
					<span class="tools">
					<select name="{=var-get:camd=}_tools" size="1" onchange="this.options[this.selectedIndex].onclick();">
						<option onclick='return false;' selected>{=L:set.camd-tools=} {=var-get:camd=}</option>
						<option onclick='return false;'> {=L:set.camd-tools.line=} </option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.conf","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.conf
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.dvbapi","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.dvbapi
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.server","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.server
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.services","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.services
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.srvid","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.srvid
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/oscam.user","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: oscam.user
						</option>
						{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
						<option> {=L:set.camd-tools.line=} </option>
						<option onclick='Y_Tools("ecminfo");'>
							{=L:set.camd-tools.ecminfo=}
						</option>
						<option onclick='Y_Tools("oscamversion");'>
							{=L:set.camd-tools.oscamversion=}
						</option>
						~
						=}
					</select>
					</span>
				</td>
			</tr>
			<tr class="list">
			{=var-set:camd=ncam=}
				<td>
					<img src="images/{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~check_green~x_red=}.png" class="status">
					{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
					<u><a href="#" onclick='goPort("{=var-get:oscamport=}");'>{=var-get:camd=}</a></u>
					~
					{=var-get:camd=}
					=}
				</td>
				<td>
					<span class="vinfo">{=script:Y_Tools vinfo {=var-get:camd=}=}</span>
				</td>
			{=if-equal:{=var-get:x_{=var-get:camd=}=}~true~
				{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
				<td>
					<input type="button" value="{=L:stop=}"  title="{=L:stop=} {=var-get:camd=}"  onclick='Y_Tools("{=var-get:camd=}stop", 10000);' />
				</td>
				<td>
					<input type="button" value="{=L:reset=}" title="{=L:reset=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}reset", 10000);' />
				</td>
				~
				<td>
					<input type="button" value="{=L:start=}" title="{=L:start=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}start", 10000);' />
				</td>
				<td>
				</td>
				=}
			~
				<td>
				</td>
				<td>
				</td>
			=}
				<td>
					<span class="tools">
					<select name="{=var-get:camd=}_tools" size="1" onchange="this.options[this.selectedIndex].onclick();">
						<option onclick='return false;' selected>{=L:set.camd-tools=} {=var-get:camd=}</option>
						<option onclick='return false;'> {=L:set.camd-tools.line=} </option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/ncam.conf","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: ncam.conf
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/ncam.dvbapi","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: ncam.dvbapi
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/ncam.server","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: ncam.server
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/ncam.services","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: ncam.services
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/ncam.srvid","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: ncam.srvid
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/ncam.user","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: ncam.user
						</option>
						{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
						<option> {=L:set.camd-tools.line=} </option>
						<option onclick='Y_Tools("ecminfo");'>
							{=L:set.camd-tools.ecminfo=}
						</option>
						<option onclick='Y_Tools("ncamversion");'>
							{=L:set.camd-tools.ncamversion=}
						</option>
						~
						=}
					</select>
					</span>
				</td>
			</tr>
			<tr class="list">
			{=var-set:camd=cccam=}
				<td>
					<img src="images/{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~check_green~x_red=}.png" class="status">
					{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
					<u><a href="#" onclick='goPort("{=var-get:cccamport=}");'>{=var-get:camd=}</a></u>
					~
					{=var-get:camd=}
					=}
				</td>
				<td>
					<span class="vinfo">{=script:Y_Tools vinfo {=var-get:camd=}=}</span>
				</td>
			{=if-equal:{=var-get:x_{=var-get:camd=}=}~true~
				{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
				<td>
					<input type="button" value="{=L:stop=}"  title="{=L:stop=} {=var-get:camd=}"  onclick='Y_Tools("{=var-get:camd=}stop", 10000);' />
				</td>
				<td>
					<input type="button" value="{=L:reset=}" title="{=L:reset=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}reset", 10000);' />
				</td>
				~
				<td>
					<input type="button" value="{=L:start=}" title="{=L:start=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}start", 10000);' />
				</td>
				<td>
				</td>
				=}
			~
				<td>
				</td>
				<td>
				</td>
			=}
				<td>
					<span class="tools">
					<select name="{=var-get:camd=}_tools" size="1" onchange="this.options[this.selectedIndex].onclick();">
						<option onclick='return false;' selected>{=L:set.camd-tools=} {=var-get:camd=}</option>
						<option onclick='return false;'> {=L:set.camd-tools.line=} </option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/etc/CCcam.cfg","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: CCcam.cfg
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/etc/CCcam.channelinfo","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: CCcam.channelinfo
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/etc/CCcam.prio","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: CCcam.prio
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/etc/CCcam.providers","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: CCcam.providers
						</option>
						{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
						<option> {=L:set.camd-tools.line=} </option>
						<option onclick='Y_Tools("ecminfo");'>
							{=L:set.camd-tools.ecminfo=}
						</option>
						<option onclick='Y_Tools("cccamversion");'>
							{=L:set.camd-tools.cccamversion=}
						</option>
						~
						=}
					</select>
					</span>
				</td>
			</tr>
			<tr class="list">
			{=var-set:camd=doscam=}
				<td>
					<img src="images/{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~check_green~x_red=}.png" class="status">
					{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
					<u><a href="#" onclick='goPort("{=var-get:doscamport=}");'>{=var-get:camd=}</a></u>
					~
					{=var-get:camd=}
					=}
				</td>
				<td>
					<span class="vinfo">{=script:Y_Tools vinfo {=var-get:camd=}=}</span>
				</td>
			{=if-equal:{=var-get:x_{=var-get:camd=}=}~true~
				{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
				<td>
					<input type="button" value="{=L:stop=}"  title="{=L:stop=} {=var-get:camd=}"  onclick='Y_Tools("{=var-get:camd=}stop", 10000);' />
				</td>
				<td>
					<input type="button" value="{=L:reset=}" title="{=L:reset=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}reset", 10000);' />
				</td>
				~
				<td>
					<input type="button" value="{=L:start=}" title="{=L:start=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}start", 10000);' />
				</td>
				<td>
				</td>
				=}
			~
				<td>
				</td>
				<td>
				</td>
			=}
				<td>
					<span class="tools">
					<select name="{=var-get:camd=}_tools" size="1" onchange="this.options[this.selectedIndex].onclick();">
						<option onclick='return false;' selected>{=L:set.camd-tools=} {=var-get:camd=}</option>
						<option onclick='return false;'> {=L:set.camd-tools.line=} </option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/doscam.cfg","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: doscam.cfg
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/doscam.ac","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: doscam.ac
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/doscam.dvbapi","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: doscam.dvbapi
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/doscam.guess","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: doscam.guess
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/doscam.provid","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: doscam.provid
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/doscam.services","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: doscam.services
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/doscam.srvid","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: doscam.srvid
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/doscam.tiers","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: doscam.tiers
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/tuxbox/config/doscam.whitelist","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: doscam.whitelist
						</option>
						{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
						<option> {=L:set.camd-tools.line=} </option>
						<option onclick='Y_Tools("ecminfo");'>
							{=L:set.camd-tools.ecminfo=}
						</option>
						<option onclick='Y_Tools("doscamversion");'>
							{=L:set.camd-tools.doscamversion=}
						</option>
						~
						=}
					</select>
					</span>
				</td>
			</tr>
			<tr class="list">
			{=var-set:camd=mgcamd=}
				<td>
					<img src="images/{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~check_green~x_red=}.png" class="status">
					{=var-get:camd=}
				</td>
				<td>
					<span class="vinfo">{=script:Y_Tools vinfo {=var-get:camd=}=}</span>
				</td>
			{=if-equal:{=var-get:x_{=var-get:camd=}=}~true~
				{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
				<td>
					<input type="button" value="{=L:stop=}"  title="{=L:stop=} {=var-get:camd=}"  onclick='Y_Tools("{=var-get:camd=}stop", 10000);' />
				</td>                                                                                                                                               
				<td>	                                                                                                                                            
					<input type="button" value="{=L:reset=}" title="{=L:reset=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}reset", 10000);' />
				</td>                                                                                                                                               
				~                                                                                                                                                   
				<td>                                                                                                                                                
					<input type="button" value="{=L:start=}" title="{=L:start=} {=var-get:camd=}" onclick='Y_Tools("{=var-get:camd=}start", 10000);' />
				</td>
				<td>
				</td>
				=}
			~
				<td>
				</td>
				<td>
				</td>
			=}
				<td>
					<span class="tools">
					<select name="{=var-get:camd=}_tools" size="1" onchange="this.options[this.selectedIndex].onclick();">
						<option onclick='return false;' selected>{=L:set.camd-tools=} {=var-get:camd=}</option>
						<option onclick='return false;'> {=L:set.camd-tools.line=} </option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/mg_cfg","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: mg_cfg
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/AutoRoll.Key","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: AutoRoll.Key
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/cccamd.list","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: cccamd.list
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/ignore.list","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: ignore.list
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/newcamd.list","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: newcamd.list
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/peer.cfg","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: peer.cfg
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/priority.list","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: priority.list
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/replace.list","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: replace.list
						</option>
						<option class="e" onclick='window.open("/Y_Filemgr_Edit.yhtm?file=/var/keys/SoftCam.Key","edit", "width=800,height=600,resizable=yes");'>
							{=L:edit=}: SoftCam.Key
						</option>
						{=if-equal:{=var-get:r_{=var-get:camd=}=}~true~
						<option> {=L:set.camd-tools.line=} </option>
						<option onclick='Y_Tools("ecminfo");'>
							{=L:set.camd-tools.ecminfo=}
						</option>
						<option onclick='Y_Tools("pidinfo");'>
							{=L:set.camd-tools.pidinfo=}
						</option>
						<option onclick='Y_Tools("mginfo");'>
							{=L:set.camd-tools.mginfo=}
						</option>
						<option onclick='Y_Tools("cccamdinfo");'>
							{=L:set.camd-tools.cccamdinfo=}
						</option>
						<option onclick='Y_Tools("mgshareinfo");'>
							{=L:set.camd-tools.mgshareinfo=}
						</option>
						<option onclick='Y_Tools("countcards /tmp/mg.info");'>
							{=L:set.camd-tools.countcards=}
						</option>
						~
						=}
					</select>
					</span>
				</td>
			</tr>
		</table>
	</form>
	</div>
</div>
<div class="work_box">
	<div class="work_box_head"><div class="work_box_head_h2">
	{=var-set:menu={=L:answer=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
	<div class="work_box_body">
		<div id="out"></div>
	</div>
</div>
</body>
</html>
