היי,
עשיתי כך -
PHP קוד:
<?
session_start();
if (!isset($_SESSION['user'])) {
<?
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="rtl">
<head>
<title>goldsystem.co.il | פאנל ניהול אתר</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
</head>
<style type="text/css">
<!--
* { font-family: arial; }
body, table { font-size: 10pt; }
h1, h2, h3, h4, h5 { color: #909090; }
ul { color: #909090; }
a:link, a:active, a:visited { color: #909090; text-decoration: none; }
a:hover { color: #A7A7A7; text-decoration: underline; }
img { border: 0px; }
-->
</style>
<body>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="2">
<tr>
<td width="22%" valign="top"><br> <strong><font color="#000000" size="4"> ניווט ראשי</font></strong> <br>
<?php
$user = $_SESSION['user'];
echo " ברוך הבא <b>$user</b> <img src='pages/img/o.gif'> <a href='disconnect.php'>התנתק</a>";
?>
<br />
<br />
<a href="?site=none"> עמוד ראשי</a> <br /> <div align="right"> <br />
<img src="Module/img/hetz.gif"><b> <u>הגדרות ראשיות</u></b> <br />
<LIST> בחזרה לאתר <br />
<a href="?site=sitelock" target="admin">נעילת אתר</a>
<br />
<br />
<img src="Module/img/hetz.gif"><b> <u>דפים</u></b> <br />
<LIST> <a href="?site=index" target="admin">ניהול דפים</a><br />
<br />
<img src="Module/img/hetz.gif"><b> <u>מנהלים</u></b> <br />
<LIST> <a href="?site=admins" target="admin">ניהול מנהלים</a>
<br />
שינוי ססמה <br />
<br />
<img src="Module/img/hetz.gif"><b> <u>העלאת קבצים </u></b> <br />
<LIST> העלאת קבצים<br />
ניהול קבצים <br />
<br />
<img src="Module/img/hetz.gif"><b> <u>סטטיסטיקות</u></b> <br />
<LIST> סטטיסטיקות כלליות<br />
</div></td>
<td width="78%" valign="top">
<?
if(!isset($site)) $site="well";
//Sichheitslücke beheben
$invalide = array('/','/\/',':','.');
$site = str_replace($invalide,' ',$site);
if(!file_exists($site.".php")) $site = "well";
include($site.".php");
?>
</td>
</tr>
</table>
</body>
</html>
עשיתי כך, אבל זה פותח את העמודים בדף חדש עם התפריט,
איך אעשה פה שייפתח את הדפים באותו הדף?
תודה
