forked from SimplesIP/pabx-app
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
2.9 KiB
58 lines
2.9 KiB
<?php |
|
$acao = $_GET["acao"]; |
|
|
|
if ($acao == 'restart') { |
|
echo shell_exec('rasterisk'); |
|
} |
|
?> |
|
<style type="text/css"> |
|
<!-- |
|
.style3 { |
|
font-size: 16px; |
|
font-weight: bold; |
|
} |
|
--> |
|
</style> |
|
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0"> |
|
<!-- fwtable fwsrc="Untitled-1.png" fwbase="index.gif" fwstyle="Dreamweaver" fwdocid = "2027375799" fwnested="0" --> |
|
<tr> |
|
<td><img src="images/spacer.gif" width="95" height="1" border="0" alt=""></td> |
|
<td><img src="images/spacer.gif" width="117" height="1" border="0" alt=""></td> |
|
<td><img src="images/spacer.gif" width="117" height="1" border="0" alt=""></td> |
|
<td><img src="images/spacer.gif" width="451" height="1" border="0" alt=""></td> |
|
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td> |
|
</tr> |
|
|
|
<tr> |
|
<td colspan="4" rowspan="2"><?php include ('menu.php'); ?></td> |
|
<td><img src="images/spacer.gif" width="1" height="77" border="0" alt=""></td> |
|
</tr> |
|
<tr> |
|
<td><img src="images/spacer.gif" width="1" height="58" border="0" alt=""></td> |
|
</tr> |
|
<tr> |
|
<td colspan="4" rowspan="2"><BR> |
|
<table width="100%" border="1" cellspacing="0" cellpadding="0"> |
|
<tr bordercolor="#990000"> |
|
<td width="33%" class="cabecalho"><div align="center"><a href="index.php">geral</a></div></td> |
|
<td width="33%" bgcolor="#FFFFFF"><div align="center" class="style3">FUNÇÕES</div></td> |
|
<td width="33%" class="cabecalho"><div align="center"><a href="monitor_terminal.php">TERMINAL</a></div></td> |
|
</tr> |
|
<tr bordercolor="#FFFFFF"> |
|
<td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
<tr> |
|
<td></td> |
|
</tr> |
|
<tr> |
|
<td><table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
<tr class="dados"> |
|
<td width="50%" class="botoes"><div align="center" class="style4"> <a href="monitor_funcoes.php?acao=restart">Reiniciar o Servidor <img src="images/restart.gif" width="24" height="24" border="0" align="absmiddle"></a></div></td> |
|
<td width="50%" class="botoes"><div align="center" class="style4">Desligar o Servidor <img src="images/shutdown.gif" width="24" height="24" align="absmiddle"></div> <div align="center" class="style4"></div></td> |
|
</tr> |
|
</table></td> |
|
</tr> |
|
</table></td> |
|
</tr> |
|
</table> |
|
</body> |
|
</html>
|
|
|