Add php files

This commit is contained in:
2025-05-12 15:44:39 +00:00
parent c951760058
commit 82d5804ac4
9534 changed files with 2638137 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?
session_start();
include("../../config.php");
$sql=mysql_connect($sugar_config['dbconfig']['db_host_name'],$sugar_config['dbconfig']['db_user_name'],$sugar_config['dbconfig']['db_password']);
mysql_select_db($sugar_config['dbconfig']['db_name']);
if($_GET['what']=="firstblock")$set="show_details='".$_GET['value']."'";
if($_GET['what']=="uploadblock")$set="show_upload='".$_GET['value']."'";
if($_GET['what']=="optionsblock")$set="show_options='".$_GET['value']."'";
if($_GET['what']=="searchblock")$set="show_search='".$_GET['value']."'";
if($_GET['what']=="ListViewSmb")$set="show_smb='".$_GET['value']."'";
$z="update ecmdocuments set ".$set." where id='".$_GET['record']."'";
mysql_query($z);
mysql_close($sql);
?>