a2b_entity_charge.php

来自「asterisk用 的voip记费软件」· PHP 代码 · 共 68 行

PHP
68
字号
<?phpinclude_once ("../lib/defines.php");include_once ("../lib/module.access.php");include_once ("../lib/Form/Class.FormHandler.inc.php");include_once ("../lib/smarty.php");include_once ("./form_data/FG_var_charge.inc");if (! has_rights (ACX_BILLING)){ 	Header ("HTTP/1.0 401 Unauthorized");	Header ("Location: PP_error.php?c=accessdenied");	   	die();	   }/***********************************************************************************/$HD_Form_c -> setDBHandler (DbConnect());$HD_Form_c -> init();// To fix internal links due $_SERVER["PHP_SELF"] from parent include that fakes themif ($wantinclude==1){	$HD_Form_c -> FG_EDITION_LINK = "A2B_entity_charge.php?form_action=ask-edit&id=";	$HD_Form_c -> FG_DELETION_LINK  = "A2B_entity_charge.php?form_action=ask-delete&id=";}		if ($id!="" || !is_null($id)){		$HD_Form_c -> FG_EDITION_CLAUSE = str_replace("%id", "$id", $HD_Form_c -> FG_EDITION_CLAUSE);	}if (!isset($form_action))  $form_action="list"; //ask-addif (!isset($action)) $action = $form_action;$list = $HD_Form_c -> perform_action($form_action);if ($wantinclude!=1){	// #### HEADER SECTION	$smarty->display('main.tpl');	// #### HELP SECTION	echo $CC_help_edit_charge;}// #### TOP SECTION PAGE$HD_Form_c -> create_toppage ($form_action);// #### CREATE FORM OR LIST//$HD_Form_c -> CV_TOPVIEWER = "menu";if (strlen($_GET["menu"])>0) $_SESSION["menu"] = $_GET["menu"];$HD_Form_c -> create_form ($form_action, $list, $id=null) ;if ($wantinclude!=1){	// #### FOOTER SECTION	$smarty->display('footer.tpl');}	?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?