Location: PHPKode > projects > Openology PHP Application Integration > openology/backend/index_left.php
<?php
/***************************************************************************
 *   copyright            : (C) 2006 The openology Group
 *   email                : hide@address.com
 *
 *   $Id
 *
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

include('config.php');
//include('language.php');
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>dir</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<SCRIPT language=javascript1.2>
function showsubmenu(ss,ii,aa,openimg,closeimg,count)
{
var submenu;
var subimg = document.getElementsByName("subimg");
var aimg = document.getElementsByName("aimg");
var i = 0;
	for (i=0;i<count;i++){
		submenu = "submenuboard" + i;
		if (ss!=submenu){
		document.getElementById("submenuboard" + i).style.display = "none";
		subimg[i].src="img/plus.gif";
		subimg[i].alt="";
		aimg[i].src=""+closeimg;
		aimg[i].alt="";
		}
	}
	submenu = document.getElementById(ss);
	 if (submenu.style.display=="none") 
	  {submenu.style.display="";
	   ii.src="img/nofollow.gif";
	   ii.alt="";
	   aa.src=""+openimg;
	   aa.alt="";
	}
	 else
	  {submenu.style.display="none"; 
		ii.src="img/plus.gif";
		ii.alt="";
		aa.src=""+closeimg;
		aa.alt="";
	}
}
function reloadpage(){
	parent.window_left.location.reload();
}
</SCRIPT>
</head>

<body id="body">
<br />
<table cellpadding=0 cellspacing=0 width="100%">
   <tr>
    <td width=100% onClick="showsubmenu('submenuboard0',subimgboard0,aimgboard0,3)">
	<img src=img/plus.gif alt="展开菜单" name="subimg" width="13" height="14" id="subimgboard0">
	<img width="0" height="0" name="aimg" id="aimgboard0" alt=""><?=$TEXT['frontManage']?></td>
  </tr>
  <tr style="display:none" name="submenu" id='submenuboard0'>
	<td>
		<table cellpadding=0 cellspacing=0 align=center width="100%">
		<tr>
		<td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png width="13" height="14" border=0><a href=file_edit.php?action=creat target=window_main><?=$TEXT['createZH']; ?></a></td>
		</tr>
		<!--<tr>
		<td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png width="19" height="16" border=0><a href=../backend/edit/_samples/php/sample03.php target=window_main><?=$TEXT['createEN']; ?></a></td>
		</tr>-->
<?php
    if(file_exists('backend/index.php')) {
?>
        <tr>
		<td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png width="13" height="14" border=0><a href=../index.php target=window_main><?=$TEXT['preview']; ?></a></td>
		</tr>
		<!--<tr>
		<td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png width="19" height="16" border=0><a href=edit/_samples/php/sample03.php target=window_main><?=$TEXT['editPage']; ?></a></td>
		</tr>-->
<?php
    }
	else {
?>
		</table>
	</td>
  </tr>

  <tr>
    <td width=100% onClick="showsubmenu('submenuboard1',subimgboard1,aimgboard1,3)">
	<img src=img/plus.gif alt="展开菜单" name="subimg" width="13" height="14" id="subimgboard1">
	<img width="0" height="0" name="aimg" id="aimgboard1" alt=""><?=$TEXT['filemanage']?></td>
  </tr>
  <tr style="display:none" name="submenu" id='submenuboard1'>
	<td>
		<table cellpadding=0 cellspacing=0 align=center width="100%">
		<tr>
		<td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png width="13" height="14" border=0><a href=../file_view.php target=window_main><?=$TEXT['fileDir']; ?></a></td>
		</tr>
		<tr>
		<td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png width="13" height="14" border=0><a href=file_pic.php target=window_main><?=$TEXT['picDir']; ?></a></td>
		</tr>
		
		</table>
	</td>
  </tr>

  <tr>
    <td width=100% onClick="showsubmenu('submenuboard2',subimgboard2,aimgboard2,3)">
	<img src=img/plus.gif alt="展开菜单" name="subimg" width="13" height="14" id="subimgboard2">
	<img width="0" height="0" name="aimg" id="aimgboard2" alt=""><?=$TEXT['datamanage']?></td>
  </tr>
  <tr style="display:none" name="submenu" id='submenuboard2'>
	<td>
		<table cellpadding=0 cellspacing=0 align=center width="100%">
	    <!--<tr>
		<td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png border=0><a href=# target=window_main>浏览数据</a></td></tr>
		
		-->
		
		<tr>
		<td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png width="13" height="14" border=0><a href=sys_back_data.php target=window_main><?=$TEXT['backStore']; ?></a></td>
		</tr>
		</table>
</td>
</tr>
<tr>
    <td width=100% onClick="showsubmenu('submenuboard3',subimgboard3,aimgboard3,3)">
	<img src=img/plus.gif alt="展开菜单" name="subimg" width="13" height="14" id="subimgboard3">
	<img width="0" height="0" name="aimg" id="aimgboard3" alt=""><?=$TEXT['users']?></td>
  </tr>
  <tr style="display:none" name="submenu" id='submenuboard3'>
	<td>
		<table cellpadding=0 cellspacing=0 align=center width="100%">
		
		<tr>
		<td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png width="13" height="14" border=0><a href=sys_manager.php target=window_main><?=$TEXT['adminusers']; ?></a></td>
		</tr>

		
		</table>
	</td>
  </tr>
<?php
    }
	if(file_exists('../backend/index.php')) {
?>
  <tr>
    <td width=100% onClick="showsubmenu('submenuboard4',subimgboard4,aimgboard4,3)">
	<img src=img/plus.gif alt="展开菜单" name="subimg" width="13" height="14" id="subimgboard4">
	<img width="0" height="0" name="aimg" id="aimgboard4" alt=""><?=$TEXT['install']?></td>
  </tr>
  <tr style="display:none" name="submenu" id='submenuboard4'>
	<td>
		<table cellpadding=0 cellspacing=0 align=center width="100%">		
		<tr>
		<td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png width="13" height="14" border=0><a href=../blog/wp-admin/index.php target=window_main><?php 
		if (!file_exists('../blog/wp-config.php')) echo '<a  href=../blog/wp-admin/install.php target=_blank>'.$TEXT['installwp'];
		else echo '<a href=../blog/wp-admin/index.php target=window_main>'.$TEXT['wpmanage'];
		?></a></td>
		</tr>
		<tr>
		<td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png width="13" height="14" border=0><a href=../forum/index.php target=window_main><?php 
		if (!file_exists('../forum/index.php')) echo '<a href=../forum/install.php target=_blank>'.$TEXT['installfud'];
		else echo '<a href=../forum/index.php target=window_main>'.$TEXT['fudmanage'];
		?></a></td>
		</tr>
        <tr>
	    <td class=tablebody1 width=15>&nbsp;</td>
		<td class=tablebody1 align=left vAlign=top><img src=img/Tminus.png width="13" height="14"border=0><a href=# target=window_main><?php
		if (!file_exists('../wikki/wakka.config.php')) echo '<a href=../wikki/index.php target=_blank>'.$TEXT['installwiki'];
		else echo '<a href=# target=window_main>'.$TEXT['wikimanage'];
		?></a></td>
		</tr>
		</table>
	</td>
  </tr>
</table>
<?php
    }
	else {
?>
</body>
</html>
<?php 
    }
?>
Return current item: Openology PHP Application Integration