لقد قمت بسحب سكربت منتديات بليارد اون لاين رغم انة لايشتغل فحبيت ان اعدل علية لغرض تشغيلة وبالفعل عدلت على بعض الملفات حسب المعلومات البسيطة لدي ولكن هنالك خطأ في صفحة الادارة admin وهو في الكود 63 حيث هو حسب علمي اقفال صفحة html ارجوا من اخواني بيان هل كود الملف صحيح أو لا وكيفية معالجتة لغرض تشغيلة
والملف الأصلي في المرفقات
<?php
include("../config_ini.php");
if(empty($_SESSION['type']) && $_SESSION['type']!="admin"){
?>
<script>
window.location.href=('login.php');
</script>
<?
die();
}
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<HTML lang=AR-SA dir=rtl>
<HEAD>
<TITLE>Admin Cpanel Power by SPSLink.net</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1256">
<META http-equiv=Content-Language content=ar-sa>
<META content="bme desing , Powered by SPSLink.net" name=description>
<LINK href="images/style.css" type=text/css rel=stylesheet>
<STYLE>
.sec_head {
FONT-WEIGHT: bold; FONT-SIZE: 12pt; CURSOR: hand; COLOR: #fdfdfd; FONT-FAMILY: Arial; BACKGROUND-COLOR: #ffffff
}
.sec_block {
PADDING-RIGHT: 5px; FONT-SIZE: 10pt; COLOR: #993333; FONT-FAMILY: Tahoma
}
</STYLE>
<script type=text/javascript>
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);
}
function block_switsh(bid){
if (bid.style.display=='none'){
bid.style.display='';
}else{
bid.style.display='none';
}
}
function checkAll(field)
{
for(i = 0; i < field.elements.length; i++)
field.checked = true ;
}
function uncheckAll(field)
{
for(i = 0; i < field.elements.length; i++)
field.checked = false ;
}
</SCRIPT>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
</HEAD>
<FRAMESET border=0 frameSpacing=0 frameBorder=0 cols=*,195>
<FRAMESET border=0 frameSpacing=0 rows=20,* frameBorder=0>
<FRAME border=no name=top marginWidth=10 marginHeight=0 src="top.php" frameBorder=0 noResize scrolling=no>
<FRAME border=no name=admin marginWidth=10 marginHeight=10 src="main.php" frameBorder=0 scrolling=yes>
</FRAMESET>
<FRAME border=no name=nav marginWidth=0 marginHeight=0 src="right.php" frameBorder=0 scrolling=yes>
</FRAMESET>
هنا الخطأ </HTML>