View Single Post
ישן 01-05-07, 16:01   # 1
Gold-System
Permanently Banned
 
מיני פרופיל
תאריך הצטרפות: Mar 2007
הודעות: 401

Gold-System לא מחובר  

עזרה בפתיחת דפים..

היי,
עשיתי כך -
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">&nbsp;&nbsp;ניווט ראשי</font></strong> <br>
      <?php 
        $user 
$_SESSION['user'];
        echo 
"&nbsp;&nbsp;&nbsp;ברוך הבא <b>$user</b> <img src='pages/img/o.gif'> <a href='disconnect.php'>התנתק</a>";
        
?>
      <br />
      <br />
      &nbsp;&nbsp;<a href="?site=none">&nbsp;עמוד ראשי</a> <br /> <div align="right"> <br />
        <img src="Module/img/hetz.gif"><b>&nbsp;<u>הגדרות ראשיות</u></b> <br />
        <LIST> &nbsp;&nbsp;בחזרה לאתר <br />
        &nbsp;&nbsp;<a href="?site=sitelock" target="admin">נעילת אתר</a> 
        <br />
        <br />
        <img src="Module/img/hetz.gif"><b>&nbsp;<u>דפים</u></b> <br />
        <LIST> &nbsp;&nbsp;<a href="?site=index" target="admin">ניהול דפים</a><br />
        <br />
        <img src="Module/img/hetz.gif"><b>&nbsp;<u>מנהלים</u></b> <br />
        <LIST> &nbsp;&nbsp;<a href="?site=admins" target="admin">ניהול מנהלים</a> 
        <br />
        &nbsp;&nbsp;שינוי ססמה <br />
        <br />
        <img src="Module/img/hetz.gif"><b>&nbsp;<u>העלאת קבצים </u></b> <br />
        <LIST> &nbsp;&nbsp;העלאת קבצים<br />
        &nbsp;&nbsp;ניהול קבצים <br />
        <br />
        <img src="Module/img/hetz.gif"><b>&nbsp;<u>סטטיסטיקות</u></b> <br />
        <LIST> &nbsp;&nbsp;סטטיסטיקות כלליות<br />
      </div></td>
    <td width="78%" valign="top">
      <?
      
if(!isset($site)) $site="well";
      
//Sichheitsl&uuml;cke beheben
      
$invalide = array('/','/\/',':','.');
      
$site str_replace($invalide,' ',$site);
      if(!
file_exists($site.".php")) $site "well";
      include(
$site.".php");
      
?>
      </td>
  </tr>
</table>

</body>
</html>
עשיתי כך, אבל זה פותח את העמודים בדף חדש עם התפריט,
איך אעשה פה שייפתח את הדפים באותו הדף?

תודה
  Reply With Quote