📄 display_action.php3
字号:
<?################################################################## DISPLAY ACTION#################################################################/* init */$access_level = 100;include ("../include/config.php3");$title= "Display action";Include "../include/header.inc"; if ($mode=='del' && isset($act_id)) { $res=SQL_DELETE_ACTION($dbproc,$act_id); if ($res==0) echo $msg_deleted; else if($res==-1) { echo "Action doesn't exists"; } else if($res>0) echo "Child actions still exist!"; } else { $datas=SQL_READ_ACTION($dbproc, $act_id); if (is_array($datas)) {DSP_ACTION($datas, $msg_child_found);?>[<a href="add_action.php3?mode=edit&act_id=<? echo $datas[0]['act_id']?>"><? echo $msg_edit_action;?></a>][<a href="display_action.php3?mode=del&act_id=<? echo $datas[0]['act_id']?>"><img border=0 src='../images/garbage.gif' alt="<? echo $msg_del_action;?>"><? echo $msg_del_action;?></a>]<? $datas[0]['act_hier_id']=$datas[0]['act_id']; $res=SQL_SEARCH_ACTIONS($dbproc,$datas); DSP_LIST_ACTIONS($res, "short", $msg_child_found, "");?>[<a href="add_action.php3?act_hier_id=<? echo $datas[0]['act_id']?>&ent_id=<? echo $datas[0]['ent_id']?>"><img border=0 src='../images/select.gif' alt="<? echo $msg_add_child_action;?>"><? echo $msg_add_child_action;?></a>] <? }else echo "No action o display";} include "../include/footer.inc";?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -