add priceanons in textareatiny"
This commit is contained in:
@@ -10,7 +10,8 @@
|
|||||||
"АН-онлайн": "anonline",
|
"АН-онлайн": "anonline",
|
||||||
"АН-онлайн(полная версия)": "anonline_all",
|
"АН-онлайн(полная версия)": "anonline_all",
|
||||||
"Быстроновости": "quickredaktor",
|
"Быстроновости": "quickredaktor",
|
||||||
"Благотворительность": "charity"
|
"Благотворительность": "charity",
|
||||||
|
"news130": "lentaredaktor_130"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -70,9 +70,9 @@
|
|||||||
<item>
|
<item>
|
||||||
<column>priceanons</column>
|
<column>priceanons</column>
|
||||||
<title>Анонс</title>
|
<title>Анонс</title>
|
||||||
<type>textarea</type>
|
<type>textareatiny</type>
|
||||||
<col>100</col>
|
<col>100</col>
|
||||||
<row>10</row>
|
<row>30</row>
|
||||||
<view>
|
<view>
|
||||||
<table>False</table>
|
<table>False</table>
|
||||||
<form>True</form>
|
<form>True</form>
|
||||||
|
|||||||
5
vendor/akdelf/akdmin/lib/akdmin.php
vendored
5
vendor/akdelf/akdmin/lib/akdmin.php
vendored
@@ -41,10 +41,9 @@ function history_db( $table, $data, $conn = '' ){
|
|||||||
|
|
||||||
$find = db_get($find_sql, 'db2');
|
$find = db_get($find_sql, 'db2');
|
||||||
|
|
||||||
// print_r($data);
|
|
||||||
|
|
||||||
if (isset($find[$inc])) {
|
if (isset($find[$inc])) {
|
||||||
$result = dbl_update( $table, $data, $inc, $inc_value, 'db2' );
|
$result = dbl_update( $table, $data, $inc, $inc_value, 'db2' );
|
||||||
|
//var_dump($result);
|
||||||
//$result = history_update ( $table, $data, 'db2' );
|
//$result = history_update ( $table, $data, 'db2' );
|
||||||
} else {
|
} else {
|
||||||
$result = dbl_insert($table, $data, 'db2');
|
$result = dbl_insert($table, $data, 'db2');
|
||||||
@@ -1400,7 +1399,7 @@ $order = (isset($_GET['order'])) ? strip_tags(trim($_GET['order'])) : '';
|
|||||||
$result = ($sql_active) ? 1 : 0;
|
$result = ($sql_active) ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo (int)$result ;
|
//echo (int)$result ;
|
||||||
|
|
||||||
write_log($_SERVER['PHP_AUTH_USER'].': '.'table='.$maintable.':action=active:value='.$newactive.':id='.$increment_value, 'log/edition.log');
|
write_log($_SERVER['PHP_AUTH_USER'].': '.'table='.$maintable.':action=active:value='.$newactive.':id='.$increment_value, 'log/edition.log');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user