Go to the source code of this file.
Functions | |
low_daemon ($v) | |
parse_array ($element) | |
Variables | |
$reload = false | |
$prompt_filename = $_POST['prompt_filename'] | |
$cmd_pipe = "/var/state/camogm_cmd" | |
$mode = 0777 | |
$p = (array_filter($arr, "low_daemon")) | |
$check = implode("<br />",$p) | |
else | $camogm_running = false |
exit | |
$prefix = $_POST['prefix'] | |
$max_size = 2*1024*1024*1024 | |
$xml_status = file_get_contents($pipe) | |
$parser = & new xml_simple('UTF-8') | |
$request = $parser->parse($xml_status) | |
$error_code = 0 | |
$logdata = array() | |
$logindex = 0 | |
$xml_format = substr($logdata[0]['format'], 1, strlen($logdata[0]['format'])-2) | |
$xml_state = substr($logdata[0]['state'], 1, strlen($logdata[0]['state'])-2) | |
$xml_directory = substr($logdata[0]['prefix'], 1, strlen($logdata[0]['prefix'])-2) | |
$xml_compressor_state = substr($logdata[0]['compressor_state'], 1, strlen($logdata[0]['compressor_state'])-2) | |
$xml_file_length = substr($logdata[0]['file_length'], 0, strlen($logdata[0]['file_length'])) | |
$xml_file_duration = substr($logdata[0]['file_duration'], 0, strlen($logdata[0]['file_duration'])) | |
$xml_frame_number = substr($logdata[0]['frame_number'], 0, strlen($logdata[0]['frame_number'])) | |
$xml_res_x = substr($logdata[0]['frame_width'], 0, strlen($logdata[0]['frame_width'])) | |
$xml_res_y = substr($logdata[0]['frame_height'], 0, strlen($logdata[0]['frame_height'])) | |
$xml_timescale = substr($logdata[0]['timescale'], 0, strlen($logdata[0]['timescale'])) | |
$xml_frameskip = substr($logdata[0]['frames_skip'], 0, strlen($logdata[0]['frames_skip'])) | |
$xml_timelapse = substr($logdata[0]['seconds_skip'], 0, strlen($logdata[0]['seconds_skip'])) | |
$xml_exif = substr($logdata[0]['exif'], 0, strlen($logdata[0]['exif'])) | |
$xml_split_size = substr($logdata[0]['max_length'], 0, strlen($logdata[0]['max_length'])) | |
$xml_split_length = substr($logdata[0]['max_duration'], 0, strlen($logdata[0]['max_duration'])) | |
< divid="sitecoloumn">< divid="header"> HDD CF Recorder< /div >< divid="files">< divid="files_header"> | device |
< imgsrc="images/reload.png"border="0"style="bottom:-2px;position:relative;"> reload</a ></td >< tdwidth="105">< ahref="#"id="mount_hdd_button"onClick="mount_hdd();"> mount</a ></td >< tdwidth="105">< ahref="#"id="create_webshare_button"onClick="create_webshare();"> create webshare</a ></td ></tr ></table ></div ></div >< spanid="filelist"> nothing mounted</span >< br >< divid="files_footer"> remaining free | space |
< spanid="record_text">< imgsrc="images/record.gif"style="position:relative;bottom:-5px;"> RECORD</span ></a ></div >< divid="TabbedPanels1"class="TabbedPanels">< ulclass="TabbedPanelsTabGroup"><?if(($xml_compressor_state!="running")||(!$camogm_running)) echo"<liclass=\"TabbedPanelsTabAlert\"tabindex=\"0\"> | Status</li > |
else | |
else | |
else | |
else |
low_daemon | ( | $ | v | ) |
parse_array | ( | $ | element | ) |
else $camogm_running = false |
Definition at line 81 of file camogmgui2.php.
$check = implode("<br />",$p) |
Definition at line 76 of file camogmgui2.php.
$cmd_pipe = "/var/state/camogm_cmd" |
Definition at line 52 of file camogmgui2.php.
$error_code = 0 |
Definition at line 177 of file camogmgui2.php.
$logdata = array() |
$logindex = 0 |
$max_size = 2*1024*1024*1024 |
Definition at line 141 of file camogmgui2.php.
$mode = 0777 |
Definition at line 53 of file camogmgui2.php.
$p = (array_filter($arr, "low_daemon")) |
Definition at line 75 of file camogmgui2.php.
$parser = & new xml_simple('UTF-8') |
Definition at line 173 of file camogmgui2.php.
$prefix = $_POST['prefix'] |
$prompt_filename = $_POST['prompt_filename'] |
Definition at line 44 of file camogmgui2.php.
$reload = false |
*************************************************************************** ! FILE NAME : camogmgui.php ! DESCRIPTION: GUI for the camogm recorder ! Copyright (C) 2008 Elphel, Inc ! -----------------------------------------------------------------------------** ! ! This program is free software: you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation, either version 3 of the License, or ! (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program. If not, see <http://www.gnu.org/licenses/>. ! -----------------------------------------------------------------------------** !
Definition at line 39 of file camogmgui2.php.
$request = $parser->parse($xml_status) |
Definition at line 174 of file camogmgui2.php.
$xml_compressor_state = substr($logdata[0]['compressor_state'], 1, strlen($logdata[0]['compressor_state'])-2) |
Definition at line 191 of file camogmgui2.php.
$xml_directory = substr($logdata[0]['prefix'], 1, strlen($logdata[0]['prefix'])-2) |
Definition at line 190 of file camogmgui2.php.
Definition at line 203 of file camogmgui2.php.
$xml_file_duration = substr($logdata[0]['file_duration'], 0, strlen($logdata[0]['file_duration'])) |
Definition at line 193 of file camogmgui2.php.
$xml_file_length = substr($logdata[0]['file_length'], 0, strlen($logdata[0]['file_length'])) |
Definition at line 192 of file camogmgui2.php.
$xml_format = substr($logdata[0]['format'], 1, strlen($logdata[0]['format'])-2) |
Definition at line 188 of file camogmgui2.php.
$xml_frame_number = substr($logdata[0]['frame_number'], 0, strlen($logdata[0]['frame_number'])) |
Definition at line 194 of file camogmgui2.php.
$xml_frameskip = substr($logdata[0]['frames_skip'], 0, strlen($logdata[0]['frames_skip'])) |
Definition at line 201 of file camogmgui2.php.
$xml_res_x = substr($logdata[0]['frame_width'], 0, strlen($logdata[0]['frame_width'])) |
Definition at line 195 of file camogmgui2.php.
$xml_res_y = substr($logdata[0]['frame_height'], 0, strlen($logdata[0]['frame_height'])) |
Definition at line 196 of file camogmgui2.php.
$xml_split_length = substr($logdata[0]['max_duration'], 0, strlen($logdata[0]['max_duration'])) |
Definition at line 205 of file camogmgui2.php.
$xml_split_size = substr($logdata[0]['max_length'], 0, strlen($logdata[0]['max_length'])) |
Definition at line 204 of file camogmgui2.php.
Definition at line 189 of file camogmgui2.php.
$xml_status = file_get_contents($pipe) |
Definition at line 154 of file camogmgui2.php.
$xml_timelapse = substr($logdata[0]['seconds_skip'], 0, strlen($logdata[0]['seconds_skip'])) |
Definition at line 202 of file camogmgui2.php.
Definition at line 200 of file camogmgui2.php.
<divid="sitecoloumn"><divid="header"> HDD CF Recorder</div><divid="files"><divid="files_header"> device |
Definition at line 235 of file camogmgui2.php.
Referenced by arping(), GetLocalEthAddr(), net_init(), ParseArgs(), SendToDevice(), and snd_func_pcm_id().
Definition at line 312 of file camogmgui2.php.
Definition at line 308 of file camogmgui2.php.
Definition at line 304 of file camogmgui2.php.
Definition at line 255 of file camogmgui2.php.
Definition at line 87 of file camogmgui2.php.
Referenced by _returnXML(), CreateBootLoader(), CreateNewBootPacket(), die(), do_accept(), do_one_xcvr(), error_msg_and_die(), F_check_memory(), find_string(), getDescription(), GetLocalEthAddr(), GetNextPacket(), GetNumberOption(), GetRegisterOption(), GetStringOption(), handle_labels(), incref_object(), InitSendSocket(), main(), net_init(), NetBoot(), opt_parse(), parse_cmd(), parse_image(), ParseArgs(), parseGetNames(), perror_msg_and_die(), printUsage(), processGet(), processPost(), read_SOF(), read_SOS(), rflflash_mark_bad(), rflflash_nand_do_erase(), rflflash_nand_rw(), sendImage(), SendToDevice(), and usage().
<imgsrc="images/reload.png"border="0"style="bottom:-2px;position:relative;"> reload</a></td><tdwidth="105"><ahref="#"id="mount_hdd_button"onClick="mount_hdd();"> mount</a></td><tdwidth="105"><ahref="#"id="create_webshare_button"onClick="create_webshare();"> create webshare</a></td></tr></table></div></div><spanid="filelist"> nothing mounted</span><br><divid="files_footer"> remaining free space |
<spanid="record_text"><imgsrc="images/record.gif"style="position:relative;bottom:-5px;"> RECORD</span></a></div><divid="TabbedPanels1"class="TabbedPanels"><ulclass="TabbedPanelsTabGroup"><?if(($xml_compressor_state!="running")||(!$camogm_running))echo"<liclass=\"TabbedPanelsTabAlert\"tabindex=\"0\"> Status</li > |
Definition at line 253 of file camogmgui2.php.