<?php
/* --------------------------------------------------------------
admin_lang_edit.php 2009-07-15 gambio
Gambio GmbH
http://www.gambio.de
Copyright (c) 2009 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
*/
?><?php
if(defined('_GM_VALID_CALL') === false) die('x0');
if($_SESSION['customers_status']['customers_status_id'] != 0) die('x0');
$act = addslashes($_GET['act']);
$needle = addslashes(rawurldecode($_GET['needle']));
switch($act)
{
case 'search':
$result = xtc_db_query('
SELECT *
FROM gm_lang_files_content
WHERE
constant_value LIKE "%'.$needle.'%" OR constant_name LIKE "%'.$needle.'%"
');
$out = '';
if(xtc_db_num_rows($result) > 0){
while(($row = xtc_db_fetch_array($result) ))
{
$out .= '<div style="padding:0px" class="gm_border dataTableRow">';
$out .= '<div class="result_constant_name">'. $row['constant_name'] .': </div>';
$out .= '<div class="result_constant_value" id="id'.$row['lang_files_content_id'].'">'. htmlentities($row['constant_value']) .'</div>';
$out .= '</div>';
}
} else {
$out .= '<div style="padding:5px" class="gm_border dataTableRow">';
$out .= GM_MESSAGE_NO_RESULT;
$out .= '</div>';
}
echo $out;
break;
case 'save_content':
$content = addslashes(urldecode($_GET['content']));
$content_id = addslashes(substr($_GET['content_id'], 2) );
xtc_db_query('
UPDATE gm_lang_files_content
SET
constant_value = "'.$content.'"
WHERE
lang_files_content_id = "'.$content_id.'"
');
break;
default:
}
?>| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| admin_fav_master.php | 2013-11-12 21:02 | 1.63 KB | 76129f60960:kunden | -xw-x----- | |
| admin_lang_edit.php | 2013-11-12 21:02 | 1.72 KB | 76129f60960:kunden | -xw-x----- | |
| admin_leftboxes.php | 2013-11-12 21:02 | 1.74 KB | 76129f60960:kunden | -xw-x----- | |
| attribute_images.php | 2013-11-12 21:02 | 2.06 KB | 76129f60960:kunden | -xw-x----- | |
| attributes_calculator.php | 2013-11-12 21:02 | 4.75 KB | 76129f60960:kunden | -xw-x----- | |
| attributes_weight_calculator.php | 2013-11-12 21:02 | 1.56 KB | 76129f60960:kunden | -xw-x----- | |
| callback_service.php | 2013-11-12 21:02 | 2.03 KB | 76129f60960:kunden | -xw-x----- | |
| guestbook.php | 2013-11-12 21:02 | 7.63 KB | 76129f60960:kunden | -xw-x----- | |
| live_search.php | 2013-11-12 21:02 | 3.58 KB | 76129f60960:kunden | -xw-x----- | |
| mega_flyover.php | 2013-11-12 21:02 | 1.66 KB | 76129f60960:kunden | -xw-x----- | |
| order_quantity_checker.php | 2013-11-12 21:02 | 1.52 KB | 76129f60960:kunden | -xw-x----- | |
| product_images.php | 2013-11-12 21:02 | 3.82 KB | 76129f60960:kunden | -xw-x----- | |
| products_images_popup.php | 2013-11-12 21:02 | 3.16 KB | 76129f60960:kunden | -xw-x----- | |
| tell_a_friend.php | 2013-11-12 21:02 | 577 B | 76129f60960:kunden | -xw-x----- | |