2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
|
|
|
//
|
2008-07-16 21:15:28 +08:00
|
|
|
// ZoneMinder web control function library, $Date$, $Revision$
|
2008-07-25 17:48:16 +08:00
|
|
|
// Copyright (C) 2001-2008 Philip Coombes
|
2008-07-14 21:54:50 +08:00
|
|
|
//
|
|
|
|
// 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 2
|
|
|
|
// 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, write to the Free Software
|
2016-12-26 23:23:16 +08:00
|
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2008-07-14 21:54:50 +08:00
|
|
|
//
|
|
|
|
|
|
|
|
|
2019-09-20 02:55:17 +08:00
|
|
|
function controlFocus($monitor, $cmds) {
|
|
|
|
$control = $monitor->Control();
|
2018-05-16 23:14:11 +08:00
|
|
|
ob_start();
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2008-07-16 21:15:28 +08:00
|
|
|
<div class="arrowControl focusControls">
|
2015-05-10 21:10:30 +08:00
|
|
|
<div class="arrowLabel"><?php echo translate('Near') ?></div>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="longArrowBtn upBtn" value="<?php echo $cmds['FocusNear'] ?>" data-on-click="controlCmd" data-xtell="0" data-ytell="-1"></button>
|
|
|
|
<button type="button" class="arrowCenter"<?php if ( $control->CanFocusCon() ) { ?> data-on-click="controlCmd" value="<?php echo $cmds['FocusStop'] ?>"<?php } ?>><?php echo translate('Focus') ?></button>
|
|
|
|
<button type="button" class="longArrowBtn downBtn" data-on-click="controlCmd" value="<?php echo $cmds['FocusFar'] ?>" data-xtell="0" data-ytell="1"></button>
|
2015-05-10 21:10:30 +08:00
|
|
|
<div class="arrowLabel"><?php echo translate('Far') ?></div>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->CanAutoFocus() ) {
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="ptzTextBtn" value="<?php echo $cmds['FocusAuto'] ?>" data-on-click="controlCmd"><?php echo translate('Auto') ?></button>
|
|
|
|
<button type="button" class="ptzTextBtn" value="<?php echo $cmds['FocusMan'] ?>" data-on-click="controlCmd"><?php echo translate('Man') ?></button>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
}
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
return ob_get_clean();
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
2019-09-20 02:55:17 +08:00
|
|
|
function controlZoom($monitor, $cmds) {
|
|
|
|
$control = $monitor->Control();
|
2018-05-16 23:14:11 +08:00
|
|
|
ob_start();
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2008-07-16 21:15:28 +08:00
|
|
|
<div class="arrowControl zoomControls">
|
2015-05-10 21:10:30 +08:00
|
|
|
<div class="arrowLabel"><?php echo translate('Tele') ?></div>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="longArrowBtn upBtn" data-on-click="controlCmd" value="<?php echo $cmds['ZoomTele'] ?>" data-xtell="0" data-ytell="-1"></button>
|
|
|
|
<button type="button" class="arrowCenter"<?php if ( $control->CanZoomCon() ) { ?> data-on-click="controlCmd" value="<?php echo $cmds['ZoomStop'] ?>"<?php } ?>><?php echo translate('Zoom') ?></button>
|
|
|
|
<button type="button" class="longArrowBtn downBtn" data-on-click="controlCmd" value="<?php echo $cmds['ZoomWide'] ?>" data-xtell="0" data-ytell="1"></button>
|
2015-05-10 21:10:30 +08:00
|
|
|
<div class="arrowLabel"><?php echo translate('Wide') ?></div>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2019-10-09 06:49:11 +08:00
|
|
|
if ( $control->CanAutoZoom() ) {
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2020-05-01 22:06:41 +08:00
|
|
|
<button type="button" class="ptzTextBtn" data-on-click="controlCmd" value="<?php echo $cmds['ZoomAuto'] ?>"><?php echo translate('Auto') ?></button>
|
|
|
|
<button type="button" class="ptzTextBtn" data-on-click="controlCmd" value="<?php echo $cmds['ZoomMan'] ?>"><?php echo translate('Man') ?></button>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
}
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
|
|
|
</div><?php
|
2018-05-16 23:14:11 +08:00
|
|
|
return ob_get_clean();
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
2019-09-20 02:55:17 +08:00
|
|
|
function controlIris($monitor, $cmds) {
|
|
|
|
$control = $monitor->Control();
|
2018-05-16 23:14:11 +08:00
|
|
|
ob_start();
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2008-07-16 21:15:28 +08:00
|
|
|
<div class="arrowControl irisControls">
|
2015-05-10 21:10:30 +08:00
|
|
|
<div class="arrowLabel"><?php echo translate('Open') ?></div>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="longArrowBtn upBtn" data-on-click="controlCmd" value="<?php echo $cmds['IrisOpen'] ?>" data-xtell="0" data-ytell="-1"></button>
|
|
|
|
<button type="button" class="arrowCenter"<?php if ( $control->CanIrisCon() ) { ?> data-on-click="controlCmd" value="<?php echo $cmds['IrisStop'] ?>"<?php } ?>><?php echo translate('Iris') ?></button>
|
|
|
|
<button type="button" class="longArrowBtn downBtn" data-on-click="controlCmd" value="<?php echo $cmds['IrisClose'] ?>" data-xtell="0" data-ytell="1"></button>
|
2015-05-10 21:10:30 +08:00
|
|
|
<div class="arrowLabel"><?php echo translate('Close') ?></div>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2019-10-09 06:49:11 +08:00
|
|
|
if ( $control->CanAutoIris() ) {
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2020-05-01 22:06:41 +08:00
|
|
|
<button type="button" class="ptzTextBtn" data-on-click="controlCmd" value="<?php echo $cmds['IrisAuto'] ?>"><?php echo translate('Auto') ?></button>
|
|
|
|
<button type="button" class="ptzTextBtn" data-on-click="controlCmd" value="<?php echo $cmds['IrisMan'] ?>"><?php echo translate('Man') ?></button>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
}
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
return ob_get_clean();
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
2019-09-20 02:55:17 +08:00
|
|
|
function controlWhite($monitor, $cmds) {
|
|
|
|
$control = $monitor->Control();
|
2018-05-16 23:14:11 +08:00
|
|
|
ob_start();
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2008-07-16 21:15:28 +08:00
|
|
|
<div class="arrowControl whiteControls">
|
2015-05-10 21:10:30 +08:00
|
|
|
<div class="arrowLabel"><?php echo translate('In') ?></div>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="longArrowBtn upBtn" data-on-click="controlCmd" value="<?php echo $cmds['WhiteIn'] ?>" data-xtell="0" data-ytell="-1"></button>
|
|
|
|
<button type="button" class="arrowCenter"<?php if ( $control->CanWhiteCon() ) { ?> data-on-click="controlCmd" value="<?php echo $cmds['WhiteStop'] ?>"<?php } ?>><?php echo translate('White') ?></button>
|
|
|
|
<button type="button" class="longArrowBtn downBtn" data-on-click="controlCmd" value="<?php echo $cmds['WhiteOut'] ?>" data-xtell="0" data-ytell="1)"></button>
|
2015-05-10 21:10:30 +08:00
|
|
|
<div class="arrowLabel"><?php echo translate('Out') ?></div>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2019-10-09 06:49:11 +08:00
|
|
|
if ( $control->CanAutoWhite() ) {
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2020-05-01 22:06:41 +08:00
|
|
|
<button type="button" class="ptzTextBtn" data-on-click="controlCmd" value="<?php echo $cmds['WhiteAuto'] ?>"><?php echo translate('Auto') ?></button>
|
|
|
|
<button type="button" class="ptzTextBtn" data-on-click="controlCmd" value="<?php echo $cmds['WhiteMan'] ?>"><?php echo translate('Man') ?></button>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
}
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
return ob_get_clean();
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
2019-09-20 02:55:17 +08:00
|
|
|
function controlPanTilt($monitor, $cmds) {
|
|
|
|
$control = $monitor->Control();
|
2018-05-16 23:14:11 +08:00
|
|
|
ob_start();
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2008-07-16 21:15:28 +08:00
|
|
|
<div class="pantiltControls">
|
2016-04-04 23:38:16 +08:00
|
|
|
<div class="pantiltLabel"><?php echo translate('PanTilt') ?></div>
|
2008-07-16 21:15:28 +08:00
|
|
|
<div class="pantiltButtons">
|
|
|
|
<?php
|
2019-09-20 02:55:17 +08:00
|
|
|
$hasPan = $control->CanPan();
|
|
|
|
$hasTilt = $control->CanTilt();
|
|
|
|
$hasDiag = $hasPan && $hasTilt && $control->CanMoveDiag();
|
2008-07-16 21:15:28 +08:00
|
|
|
?>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="arrowBtn upLeftBtn<?php echo $hasDiag?'':' invisible' ?>" data-on-click="controlCmd" value="<?php echo $cmds['MoveUpLeft'] ?>" data-xtell="-1" data-ytell="-1"></button>
|
|
|
|
<button type="button" class="arrowBtn upBtn<?php echo $hasTilt?'':' invisible' ?>" data-on-click="controlCmd" value="<?php echo $cmds['MoveUp'] ?>" data-xtell="0" data-ytell="-1"></button>
|
|
|
|
<button type="button" class="arrowBtn upRightBtn<?php echo $hasDiag?'':' invisible' ?>" data-on-click="controlCmd" value="<?php echo $cmds['MoveUpRight'] ?>" data-xtell="1" data-ytell="-1"></button>
|
|
|
|
<button type="button" class="arrowBtn leftBtn<?php echo $hasPan?'':' invisible' ?>" data-on-click="controlCmd" value="<?php echo $cmds['MoveLeft'] ?>" data-xtell="-1" data-ytell="0"></button>
|
2016-05-07 00:51:03 +08:00
|
|
|
<?php if ( isset($cmds['Center']) ) { ?>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="arrowBtn centerBtn" data-on-click="controlCmd" value="<?php echo $cmds['Center'] ?>"></button>
|
2016-05-07 00:51:03 +08:00
|
|
|
<?php } else { ?>
|
2019-02-22 22:23:06 +08:00
|
|
|
<button type="button" class="arrowBtn NocenterBtn"></button>
|
2016-05-07 00:51:03 +08:00
|
|
|
<?php } ?>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="arrowBtn rightBtn<?php echo $hasPan?'':' invisible' ?>" data-on-click="controlCmd" value="<?php echo $cmds['MoveRight'] ?>" data-xtell="1" data-ytell="0"></button>
|
|
|
|
<button type="button" class="arrowBtn downLeftBtn<?php echo $hasDiag?'':' invisible' ?>" data-on-click="controlCmd" value="<?php echo $cmds['MoveDownLeft'] ?>" data-xtell="-1" data-ytell="1"></button>
|
|
|
|
<button type="button" class="arrowBtn downBtn<?php echo $hasTilt?'':' invisible' ?>" data-on-click="controlCmd" value="<?php echo $cmds['MoveDown'] ?>" data-xtell="0" data-ytell="1"></button>
|
|
|
|
<button type="button" class="arrowBtn downRightBtn<?php echo $hasDiag?'':' invisible' ?>" data-on-click="controlCmd" value="<?php echo $cmds['MoveDownRight'] ?>" data-xtell="1" data-ytell="1"></button>
|
2008-07-14 21:54:50 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
return ob_get_clean();
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
2019-09-20 02:55:17 +08:00
|
|
|
function controlPresets($monitor, $cmds) {
|
|
|
|
$control = $monitor->Control();
|
2018-05-16 23:14:11 +08:00
|
|
|
// MAX_PRESETS IS PER LINE
|
2019-09-20 02:55:17 +08:00
|
|
|
define('MAX_PRESETS', '12');
|
2008-07-14 21:54:50 +08:00
|
|
|
|
2018-05-16 23:14:11 +08:00
|
|
|
$sql = 'SELECT * FROM ControlPresets WHERE MonitorId = ?';
|
|
|
|
$labels = array();
|
2020-04-10 23:30:30 +08:00
|
|
|
foreach ( dbFetchAll($sql, NULL, array($monitor->Id())) as $row ) {
|
2018-05-16 23:14:11 +08:00
|
|
|
$labels[$row['Preset']] = $row['Label'];
|
|
|
|
}
|
2008-07-14 21:54:50 +08:00
|
|
|
|
2019-09-20 02:55:17 +08:00
|
|
|
$presetBreak = (int)(($control->NumPresets()+1)/((int)(($control->NumPresets()-1)/MAX_PRESETS)+1));
|
2008-07-14 21:54:50 +08:00
|
|
|
|
2018-05-16 23:14:11 +08:00
|
|
|
ob_start();
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2008-07-16 21:15:28 +08:00
|
|
|
<div class="presetControls">
|
2015-05-10 21:10:30 +08:00
|
|
|
<!--<div><?php echo translate('Presets') ?></div>-->
|
2008-07-14 21:54:50 +08:00
|
|
|
<div>
|
|
|
|
<?php
|
2019-09-20 02:55:17 +08:00
|
|
|
for ( $i = 1; $i <= $control->NumPresets(); $i++ ) {
|
2018-05-16 23:14:11 +08:00
|
|
|
?>
|
2020-05-01 22:06:41 +08:00
|
|
|
<button type="button" class="ptzNumBtn" title="<?php echo isset($labels[$i])?htmlentities($labels[$i]):'' ?>" data-on-click="controlCmd" value="<?php echo $cmds['PresetGoto'].$i ?>"/><?php echo $i ?></button>
|
2018-05-16 23:14:11 +08:00
|
|
|
<?php
|
|
|
|
} // end foreach preset
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<?php
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->HasHomePreset() ) {
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="ptzTextBtn" data-on-click="controlCmd" value="<?php echo $cmds['PresetHome'] ?>"><?php echo translate('Home') ?></button>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
}
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( canEdit('Monitors') && $control->CanSetPresets() ) {
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2020-10-03 04:46:28 +08:00
|
|
|
<button type="button" class="ptzTextBtn" value="Set" data-toggle="modal" data-target="#ctrlPresetModal"><?php echo translate('Set') ?></button>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
}
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
return ob_get_clean();
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
2019-09-20 02:55:17 +08:00
|
|
|
function controlPower($monitor, $cmds) {
|
|
|
|
$control = $monitor->Control();
|
2018-05-16 23:14:11 +08:00
|
|
|
ob_start();
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2008-07-16 21:15:28 +08:00
|
|
|
<div class="powerControls">
|
2015-05-10 21:10:30 +08:00
|
|
|
<div class="powerLabel"><?php echo translate('Control') ?></div>
|
2008-07-14 21:54:50 +08:00
|
|
|
<div>
|
|
|
|
<?php
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->CanWake() ) {
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="ptzTextBtn" data-on-click="controlCmd" value="<?php echo $cmds['Wake'] ?>"><?php echo translate('Wake') ?></button>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
}
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->CanSleep() ) {
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="ptzTextBtn" data-on-click="controlCmd" value="<?php echo $cmds['Sleep'] ?>"><?php echo translate('Sleep') ?></button>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
}
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->CanReset() ) {
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="ptzTextBtn" data-on-click="controlCmd" value="<?php echo $cmds['Reset'] ?>"><?php echo translate('Reset') ?></button>
|
2019-03-19 02:49:05 +08:00
|
|
|
<?php
|
|
|
|
}
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->CanReboot() ) {
|
2019-03-19 02:49:05 +08:00
|
|
|
?>
|
2020-04-30 04:32:26 +08:00
|
|
|
<button type="button" class="ptzTextBtn" data-on-click="controlCmd" value="<?php echo $cmds['Reboot'] ?>"><?php echo translate('Reboot') ?></button>
|
2008-07-14 21:54:50 +08:00
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
}
|
2008-07-14 21:54:50 +08:00
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
return ob_get_clean();
|
2008-07-14 21:54:50 +08:00
|
|
|
}
|
|
|
|
|
2019-09-20 02:55:17 +08:00
|
|
|
function ptzControls($monitor) {
|
|
|
|
$control = $monitor->Control();
|
|
|
|
$cmds = $control->commands();
|
2018-05-16 23:14:11 +08:00
|
|
|
ob_start();
|
2008-07-16 21:15:28 +08:00
|
|
|
?>
|
2018-05-16 23:14:11 +08:00
|
|
|
<div class="controlsPanel">
|
2008-07-16 21:15:28 +08:00
|
|
|
<?php
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->CanFocus() )
|
2018-05-16 23:14:11 +08:00
|
|
|
echo controlFocus($monitor, $cmds);
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->CanZoom() )
|
2018-05-16 23:14:11 +08:00
|
|
|
echo controlZoom($monitor, $cmds);
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->CanIris() )
|
2018-05-16 23:14:11 +08:00
|
|
|
echo controlIris($monitor, $cmds);
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->CanWhite() )
|
2018-05-16 23:14:11 +08:00
|
|
|
echo controlWhite($monitor, $cmds);
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->CanMove() ) {
|
2008-07-16 21:15:28 +08:00
|
|
|
?>
|
2018-05-16 23:14:11 +08:00
|
|
|
<div class="pantiltPanel">
|
|
|
|
<?php echo controlPanTilt($monitor, $cmds); ?>
|
|
|
|
</div>
|
2008-07-16 21:15:28 +08:00
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
}
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->CanWake() || $control->CanSleep() || $control->CanReset() )
|
2018-05-16 23:14:11 +08:00
|
|
|
echo controlPower($monitor, $cmds);
|
2019-09-20 02:55:17 +08:00
|
|
|
if ( $control->HasPresets() )
|
2018-05-16 23:14:11 +08:00
|
|
|
echo controlPresets($monitor, $cmds);
|
2008-07-16 21:15:28 +08:00
|
|
|
?>
|
2018-05-16 23:14:11 +08:00
|
|
|
</div>
|
2008-07-16 21:15:28 +08:00
|
|
|
<?php
|
2018-05-16 23:14:11 +08:00
|
|
|
return ob_get_clean();
|
2008-07-16 21:15:28 +08:00
|
|
|
}
|
|
|
|
?>
|