forked from dfar2008/c3crm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathleftmenu.php
70 lines (62 loc) · 2.28 KB
/
leftmenu.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
$root_directory = dirname(__FILE__)."/";
require($root_directory.'include/init.php');
$current_user = new Users();
$use_current_login = false;
$current_user->id = $_SESSION['authenticated_user_id'];
$app_strings = return_application_language($current_language);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD id=Head1><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<LINK href="include/mainresource/style.css" type='text/css' rel='stylesheet' charset="gb2312">
<META content="MSHTML 6.00.6000.17092" name=GENERATOR>
<script type="text/javascript" src="include/mainresource/leftMenuOp.js"></script>
<script type="text/javascript" src="include/mainresource/js.js" charset="gb2312"></script>
<script type="text/javascript">
function show_confirm(){
if(confirm("确认清空缓存?")){
return true;
}else{
return false;
}
}
</script>
</HEAD>
<BODY class=menuBody>
<DIV>
</DIV>
<TABLE id=tbBody cellSpacing=0 cellPadding=0 width='172px' border=0>
<TBODY>
<TR>
<TD style="VERTICAL-ALIGN: top; WIDTH: 169px">
<?php
$header_array = getHeaderArray();
$index=1;
foreach($header_array as $parenttab=>$detail){
if($index==1) $dislpaystyle="block";
else $dislpaystyle="none";
?>
<DIV class='header' id='div<?php echo $index;?>_1' onClick="displayDiv(0,<?php echo $index;?>);"><?php echo $app_strings[$parenttab];?></DIV>
<DIV id=div<?php echo $index;?>_2 class=itemStyle style="DISPLAY: <?php echo $dislpaystyle;?>;">
<?php
foreach($detail as $modules){
if($modules[0] =='Caches'){
?>
<A title="<?php echo $app_strings[$modules[0]];?>" target="main" href="index.php?module=<?php echo $modules[0]?>&action=index" onClick="return show_confirm();">·<SPAN> </SPAN><?php echo $app_strings[$modules[0]];?></A>
<?php
}else{
?>
<A title="<?php echo $app_strings[$modules[0]];?>" target="main" href="index.php?module=<?php echo $modules[0]?>&action=index">·<SPAN> </SPAN><?php echo $app_strings[$modules[0]];?></A>
<?php
}
}
$index+=1;
?>
</DIV>
<?php
}
?>
</TD>
<TD class=left_BorderColor style="CURSOR: pointer" onClick=""></TD></TR></TBODY></TABLE>
</BODY></HTML>