1 Star 0 Fork 4

一方/daloradius汉化版

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config-backup-createbackups.php 24.97 KB
一键复制 编辑 原始数据 按行查看 历史
物联星空科技有限公司 提交于 2017-12-25 17:05 . no commit message
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770
<?php
/*
*********************************************************************************************************
* daloRADIUS - RADIUS Web Platform
* Copyright (C) 2007 - Liran Tal <[email protected]> All Rights Reserved.
*
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*********************************************************************************************************
*
* Authors: Liran Tal <[email protected]>
*
*********************************************************************************************************
*/
include ("library/checklogin.php");
$operator = $_SESSION['operator_user'];
include('library/check_operator_perm.php');
$logAction = "";
$logDebugSQL = "";
isset($_POST['radacct']) ? $radacctTable = $_POST['radacct'] : $radacctTable = 'yes';
isset($_POST['radcheck']) ? $radcheckTable = $_POST['radcheck'] : $radcheckTable = 'yes';
isset($_POST['radreply']) ? $radreplyTable = $_POST['radreply'] : $radreplyTable = 'yes';
isset($_POST['radgroupcheck']) ? $radgroupcheckTable = $_POST['radgroupcheck'] : $radgroupcheckTable = 'yes';
isset($_POST['radgroupreply']) ? $radgroupreplyTable = $_POST['radgroupreply'] : $radgroupreplyTable = 'yes';
isset($_POST['radusergroup']) ? $radusergroupTable = $_POST['radusergroup'] : $radusergroupTable = 'yes';
isset($_POST['radpostauth']) ? $radpostauthTable = $_POST['radpostauth'] : $radpostauthTable = 'yes';
isset($_POST['ippool']) ? $ippoolTable = $_POST['ippool'] : $ippoolTable = 'yes';
isset($_POST['nas']) ? $nasTable = $_POST['nas'] : $nasTable = 'yes';
isset($_POST['dictionary']) ? $dictionaryTable = $_POST['dictionary'] : $dictionaryTable = 'yes';
isset($_POST['radhuntgroup']) ? $radhuntgroupTable = $_POST['radhuntgroup'] : $radhuntgroupTable = 'yes';
isset($_POST['hotspots']) ? $dalohotspotsTable = $_POST['hotspots'] : $dalohotspotsTable = 'yes';
isset($_POST['operators']) ? $dalooperatorsTable = $_POST['operators'] : $dalooperatorsTable = 'yes';
isset($_POST['proxys']) ? $daloproxysTable = $_POST['proxys'] : $daloproxysTable = 'yes';
isset($_POST['realms']) ? $dalorealmsTable = $_POST['realms'] : $dalorealmsTable = 'yes';
isset($_POST['billingpaypal']) ? $dalobillingpyapalTable = $_POST['billingpaypal'] : $dalobillingpaypalTable = 'yes';
isset($_POST['userinfo']) ? $dalouserinfoTable = $_POST['userinfo'] : $dalouserinfoTable = 'yes';
isset($_POST['billing_history']) ? $dalobillinghistoryTable = $_POST['billing_history'] : $dalobillinghistoryTable = 'yes';
isset($_POST['billing_plans']) ? $dalobillingplansTable = $_POST['billing_plans'] : $dalobillingplansTable = 'yes';
isset($_POST['billing_merchant']) ? $dalobillingmerchantTable = $_POST['billing_merchant'] : $dalobillingmerchantTable = 'yes';
isset($_POST['billing_rates']) ? $dalobillingratesTable = $_POST['billing_rates'] : $dalobillingratesTable = 'yes';
isset($_POST['userbillinfo']) ? $dalouserbillinfoTable = $_POST['userbillinfo'] : $dalouserbillinfoTable = 'yes';
isset($_POST['operators_acl']) ? $dalooperatorsaclTable = $_POST['operators_acl'] : $dalooperatorsaclTable = 'yes';
isset($_POST['operators_acl_files']) ? $dalooperatorsaclfilesTable = $_POST['operators_acl_files'] : $dalooperatorsaclfilesTable = 'yes';
isset($_POST['batch_history']) ? $dalobatchhistoryTable = $_POST['batch_history'] : $dalobatchhistoryTable = 'yes';
isset($_POST['billing_plans_profiles']) ? $dalobillingplansprofilesTable = $_POST['billing_plans_profiles'] : $dalobillingplansprofilesTable = 'yes';
isset($_POST['invoice']) ? $daloinvoiceTable = $_POST['invoice'] : $daloinvoiceTable = 'yes';
isset($_POST['invoice_items']) ? $daloinvoiceitemsTable = $_POST['invoice_items'] : $daloinvoiceitemsTable = 'yes';
isset($_POST['invoice_status']) ? $daloinvoicestatusTable = $_POST['invoice_status'] : $daloinvoicestatusTable = 'yes';
isset($_POST['invoice_type']) ? $daloinvoicetypeTable = $_POST['invoice_type'] : $daloinvoicetypeTable = 'yes';
isset($_POST['payment']) ? $dalopaymentTable = $_POST['payment'] : $dalopaymentTable = 'yes';
isset($_POST['payment_type']) ? $dalopaymenttypeTable = $_POST['payment_type'] : $dalopaymenttypeTable = 'yes';
isset($_POST['node']) ? $dalonodeTable = $_POST['node'] : $dalonodeTable = 'yes';
if (isset($_POST['submit'])) {
include 'library/opendb.php';
$backupQuery = "";
$sqlQuery = "";
$isError = 0;
foreach($_POST as $element=>$value) {
if ($element == "submit")
continue;
switch ($element) {
case "radacct":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_RADACCT'];
break;
case "radreply":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_RADREPLY'];
break;
case "radcheck":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_RADCHECK'];
break;
case "radusergroup":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_RADUSERGROUP'];
break;
case "radgroupreply":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_RADGROUPREPLY'];
break;
case "radgroupcheck":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_RADGROUPCHECK'];
break;
case "radpostauth":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_RADPOSTAUTH'];
break;
case "ippool":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_RADIPPOOL'];
break;
case "radhuntgroup":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_RADHG'];
break;
case "nas":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_RADNAS'];
break;
case "hotspots":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOHOTSPOTS'];
break;
case "operators":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOOPERATORS'];
break;
case "billing_rates":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOBILLINGRATES'];
break;
case "billingpaypal":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOBILLINGPAYPAL'];
break;
case "userinfo":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOUSERINFO'];
break;
case "dictionary":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALODICTIONARY'];
break;
case "realms":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOREALMS'];
break;
case "proxys":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOPROXYS'];
break;
case "billing_history":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOBILLINGHISTORY'];
break;
case "billing_plans":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOBILLINGPLANS'];
break;
case "billing_merchant":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOBILLINGMERCHANT'];
break;
case "userbillinfo":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOUSERBILLINFO'];
break;
case "operators_acl":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOOPERATORS_ACL'];
break;
case "operators_acl_files":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOOPERATORS_ACL_FILES'];
break;
case "batch_history":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOBATCHHISTORY'];
break;
case "billing_plans_profiles":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOBILLINGPLANSPROFILES'];
break;
case "invoice":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOBILLINGINVOICE'];
break;
case "invoice_items":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOBILLINGINVOICEITEMS'];
break;
case "invoice_status":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOBILLINGINVOICESTATUS'];
break;
case "invoice_type":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOBILLINGINVOICETYPE'];
break;
case "payment":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOPAYMENTS'];
break;
case "payment_type":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALOPAYMENTTYPES'];
break;
case "node":
if ($value == "yes")
$table = $configValues['CONFIG_DB_TBL_DALONODE'];
break;
}
if (isset($table)) {
$sqlTableQuery = "INSERT INTO $table (";
$colLength = 0;
$sql = "SELECT * FROM $table";
$res = $dbSocket->query($sql);
$logDebugSQL .= $sql . "\n";
if (DB::isError ($res)) {
$isError++;
break;
}
if ($res->numRows() == 0)
continue;
$row = $res->fetchRow(DB_FETCHMODE_ASSOC);
foreach($row as $key=>$value) { // $key is the table field and $value is the field's value
$sqlTableQuery .= "$key, ";
$colLength++;
}
$sqlTableQuery = substr($sqlTableQuery,0,-2);
$sqlTableQuery .= ") VALUES ";
$sql = "SELECT * FROM $table";
$res = $dbSocket->query($sql);
$logDebugSQL .= $sql . "\n";
if (DB::isError ($res)) {
$isError++;
break;
}
$i = 0;
$currRow = "";
while($row = $res->fetchRow()) {
$currRow = " (";
for ($i = 0; $i < $colLength; $i++) {
$currRow .= "'$row[$i]',";
}
$currRow = substr($currRow,0,-1);
$currRow .= ")";
$sqlTableQuery .= "$currRow,";
}
$sqlTableQuery = substr($sqlTableQuery,0,-1);
$sqlTableQuery .= ";\n\n\n";
$sqlQuery .= $sqlTableQuery;
}
unset($table);
}
if ($isError > 0) {
$failureMsg = "Failed creating backup due to database error, check your database settings";
$logAction .= "Failed creating backup due to database error on page: ";
} else {
$filePrefix = "backup";
$fileDate = date("Ymd-His");
$filePath = $configValues['CONFIG_PATH_DALO_VARIABLE_DATA']."/backup/";
$fileName = $filePath.$filePrefix."-".$fileDate.".sql";
if ( (file_exists($filePath)) && (is_writable($filePath)) ) {
$fh = fopen($fileName, "w");
fwrite($fh, "$sqlQuery");
fclose($fh);
$successMsg = "Successfully created backup";
$logAction .= "Successfully created backup file [$fileName] on page: ";
} else {
$failureMsg = "Failed creating backup due to directory/file permissions, check that the webserver user has access ".
"to create the following file: <b>$fileName</b>";
$logAction .= "Failed creating backup due to directory/file permissions on page: ";
}
}
include 'library/closedb.php';
}
include_once('library/config_read.php');
$log = "visited page: ";
?>
<?php
include_once ("library/tabber/tab-layout.php");
?>
<?php
include ("menu-config-backup.php");
?>
<div id="contentnorightbar">
<h2 id="Intro"><a href="#" onclick="javascript:toggleShowDiv('helpPage')"><?php echo $l['Intro']['configbackupcreatebackups.php'] ?>
<h144>+</h144></a></h2>
<div id="helpPage" style="display:none;visibility:visible" >
<?php echo $l['helpPage']['configbackupcreatebackups'] ?>
<br/>
</div>
<?php
include_once('include/management/actionMessages.php');
?>
<form name="createbackups" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<div class="tabber">
<div class="tabbertab" title="<?php echo $l['title']['FreeRADIUSTables']; ?>">
<fieldset>
<h302> <?php echo $l['title']['Backups']; ?> </h302>
<br/>
<label class='form'>Select database tables to backup:</label>
<ul>
<li class='fieldset'>
<label for='backup_radacct' class='form'>radacct</label>
<select class='form' name="radacct">
<option value="<?php echo $radacctTable ?>"><?php echo $radacctTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_radcheck' class='form'>radcheck</label>
<select class='form' name="radcheck">
<option value="<?php echo $radcheckTable ?>"><?php echo $radcheckTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_radreply' class='form'>radreply</label>
<select class='form' name="radreply">
<option value="<?php echo $radreplyTable ?>"><?php echo $radreplyTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_radgroupcheck' class='form'>radgroupcheck</label>
<select class='form' name="radgroupcheck">
<option value="<?php echo $radgroupcheckTable ?>"><?php echo $radgroupcheckTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_radgroupreply' class='form'>radgroupreply</label>
<select class='form' name="radgroupreply">
<option value="<?php echo $radgroupreplyTable ?>"><?php echo $radgroupreplyTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_radusergroup' class='form'>radusergroup</label>
<select class='form' name="radusergroup">
<option value="<?php echo $radusergroupTable ?>"><?php echo $radusergroupTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_radpostauth' class='form'>radpostauth</label>
<select class='form' name="radpostauth">
<option value="<?php echo $radpostauthTable ?>"><?php echo $radpostauthTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_ippool' class='form'>ippool</label>
<select class='form' name="ippool">
<option value="<?php echo $ippoolTable ?>"><?php echo $ippoolTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_nas' class='form'>nas</label>
<select class='form' name="nas">
<option value="<?php echo $nasTable ?>"><?php echo $nasTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<br/>
<hr><br/>
<input type='submit' name='submit' value='<?php echo $l['buttons']['apply'] ?>' class='button' />
</li>
</ul>
</fieldset>
</div>
<div class="tabbertab" title="<?php echo $l['title']['daloRADIUSTables']; ?>">
<fieldset>
<h302> <?php echo $l['title']['Backups']; ?> </h302>
<br/>
<label class='form'>Select databases tables to backup:</label>
<ul>
<li class='fieldset'>
<label for='backup_dalooperators' class='form'>operators</label>
<select class='form' name="operators">
<option value="<?php echo $dalooperatorsTable ?>"><?php echo $dalooperatorsTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_dalohotspots' class='form'>hotspots</label>
<select class='form' name="hotspots">
<option value="<?php echo $dalohotspotsTable ?>"><?php echo $dalohotspotsTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_daloproxys' class='form'>proxys</label>
<select class='form' name="proxys">
<option value="<?php echo $daloproxysTable ?>"><?php echo $daloproxysTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_dalorealms' class='form'>realms</label>
<select class='form' name="realms">
<option value="<?php echo $dalorealmsTable ?>"><?php echo $dalorealmsTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_dalobilling_rates' class='form'>billing rates</label>
<select class='form' name="billing_rates">
<option value="<?php echo $dalobillingratesTable ?>"><?php echo $dalobillingratesTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_dalobillingpaypal' class='form'>billing paypal</label>
<select class='form' name="billingpaypal">
<option value="<?php echo $dalobillingpaypalTable ?>"><?php echo $dalobillingpaypalTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_dalouserinfo' class='form'>userinfo</label>
<select class='form' name="userinfo">
<option value="<?php echo $dalouserinfoTable ?>"><?php echo $dalouserinfoTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_dictionary' class='form'>userbillinfo</label>
<select class='form' name="userbillinfo">
<option value="<?php echo $dalouserbillinfoTable ?>"><?php echo $dalouserbillinfoTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_dictionary' class='form'>dictionary</label>
<select class='form' name="dictionary">
<option value="<?php echo $dictionaryTable ?>"><?php echo $dictionaryTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_billing_merchant' class='form'>billing merchant</label>
<select class='form' name="billing_merchant">
<option value="<?php echo $dalobillingmerchantTable ?>"><?php echo $dalobillingmerchantTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_billing_plans' class='form'>billing plans</label>
<select class='form' name="billing_plans">
<option value="<?php echo $dalobillingplansTable ?>"><?php echo $dalobillingplansTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_billing_history' class='form'>billing history</label>
<select class='form' name="billing_history">
<option value="<?php echo $dalobillinghistoryTable ?>"><?php echo $dalobillinghistoryTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_operators_acl' class='form'>operators_acl</label>
<select class='form' name="operators_acl">
<option value="<?php echo $dalooperatorsaclTable ?>"><?php echo $dalooperatorsaclTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_operators_acl_files' class='form'>operators_acl_files</label>
<select class='form' name="operators_acl_files">
<option value="<?php echo $dalooperatorsaclfilesTable ?>"><?php echo $dalooperatorsaclfilesTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_batch_history' class='form'>batch_history</label>
<select class='form' name="batch_history">
<option value="<?php echo $dalobatchhistoryTable ?>"><?php echo $dalobatchhistoryTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_billing_plans_profiles' class='form'>billing_plans_profiles</label>
<select class='form' name="billing_plans_profiles">
<option value="<?php echo $dalobillingplansprofilesTable ?>"><?php echo $dalobillingplansprofilesTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_invoice' class='form'>invoice</label>
<select class='form' name="invoice">
<option value="<?php echo $daloinvoiceTable ?>"><?php echo $daloinvoiceTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_invoice_items' class='form'>invoice_items</label>
<select class='form' name="invoice_items">
<option value="<?php echo $daloinvoiceitemsTable ?>"><?php echo $daloinvoiceitemsTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_invoice_status' class='form'>invoice_status</label>
<select class='form' name="invoice_status">
<option value="<?php echo $daloinvoicestatusTable ?>"><?php echo $daloinvoicestatusTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_invoice_type' class='form'>invoice_type</label>
<select class='form' name="invoice_type">
<option value="<?php echo $daloinvoicetypeTable ?>"><?php echo $daloinvoicetypeTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_payment' class='form'>payment</label>
<select class='form' name="payment">
<option value="<?php echo $dalopaymentTable ?>"><?php echo $dalopaymentTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_payment_type' class='form'>payment_type</label>
<select class='form' name="payment_type">
<option value="<?php echo $dalopaymenttypeTable ?>"><?php echo $dalopaymenttypeTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<label for='backup_node' class='form'>node</label>
<select class='form' name="node">
<option value="<?php echo $dalonodeTable ?>"><?php echo $dalonodeTable ?></option>
<option value=""> </option>
<option value="no">no</option>
<option value="yes">yes</option>
</select>
</li>
<li class='fieldset'>
<br/>
<hr><br/>
<input type='submit' name='submit' value='<?php echo $l['buttons']['apply'] ?>' class='button' />
</li>
</ul>
</fieldset>
</div>
</div>
</form>
<?php
include('include/config/logging.php');
?>
</div>
<div id="footer">
<?php
include 'page-footer.php';
?>
</div>
</div>
</div>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/fanshown/daloradiusHanHuaBan.git
[email protected]:fanshown/daloradiusHanHuaBan.git
fanshown
daloradiusHanHuaBan
daloradius汉化版
master

搜索帮助