Tons of additions

This commit is contained in:
Andrew Nagy 2013-06-02 20:58:03 -04:00 committed by root
parent b100a20f2d
commit 983f6870ad
2 changed files with 10 additions and 2 deletions

View File

@ -24,11 +24,12 @@ $variables = array(
'astmanconnected' => $astman->connected(),
'listcommands' => $astman->ListCommands(),
'astdatabase' => $astman->database_show(),
'ds' => drawselects('',1,false,false)
'ds' => drawselects('',1,false,false),
'amp_conf' => $amp_conf
);
$html = load_view(dirname(__FILE__).'/views/main.tpl', $variables);
echo $html;
$astman->database_put('family','key','valuer');
$out = $astman->database_get('family','key');
echo $out;
//echo $out;

View File

@ -14,4 +14,11 @@
<?php foreach($astdatabase as $family => $value) {?>
<?php echo $family?>=><?php echo $value . "\n"?>
<?php } ?>
</textarea>
<h5>Available AMP Configuration Globals?<hr></h5>
<textarea rows="20" cols="180">
<?php foreach($amp_conf as $command => $description) {?>
<?php echo $command?>=><?php echo $description . "\n"?>
<?php } ?>
</textarea>