1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
include('.lib/common.php');
$smarty->assign('leftbar', "on");
$leftbar_menu = array();
$leftbar_submenu = array();
$smarty->assign('desc', "Manage scripts.");
#add_leftbar($leftbar_menu, "Main Settings", "settings.php");
#add_leftbar($leftbar_menu, "Clients Page", "settings.php?View=Clients");
$smarty->assign('leftbar_submenu_title', "Actions");
add_leftbar($leftbar_submenu, "Add Script", "script.php?Action=create");
$scripts = get_scire_scripts();
$smarty->assign('scripts', $scripts);
$smarty->assign('leftbar_menu', $leftbar_menu);
$smarty->assign('leftbar_submenu', $leftbar_submenu);
$smarty->assign('View', $_GET['View']);
$smarty->assign('Action', $_GET['Action']);
$smarty->assign('status', $status);
$smarty->display('script_library.tpl');
var_dump($_POST);
pre_var_dump($scripts);
?>
|