<?php ob_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
<title>פאנל ניהול פלייבקים</title>
<style type="text/css">
<!--
input {
border: 1px solid black; font-family: Arial;color:black; background-color: white;
}
body,table {
font-family: Arial, Helvetica, sans-serif;
color: #000000;
text-decoration: none;
}
-->
</style>
<script language=JavaScript>
function openWin(my_var) {
window.open(my_var,'CatDelete','menubar=no,resizab le=no,scrollbars=yes,width=600,height=400');
}
</script>
</head>
<body>
<br><br>
<center><font size="3">
<table dir="rtl" width="100%"><tr bgcolor="#F0F0F0"><td><a href="admin.php">ניהול ראשי</a> | <a href="javascript: openWin('admin.php?act=add')">הוסף פלייבק</a> | <a href="javascript: openWin('admin.php?act=search')">חפש פלייבק</a> | <a href="admin.php?act=showheb">הצג קטגוריה עברי</a> | <a href="admin.php?act=showen">הצג קטגוריה לועזי</a></td></tr></table></font>
<?php
session_start();
if($_SESSION['admin']=='true'){
include 'db.php';
$act=$_GET['act'];
switch($act) {
case "view":
include 'act/view.php';
break;
case "add":
include 'act/add.php';
break;
case "showheb":
include 'act/showheb.php';
break;
case "showen":
include 'act/showen.php';
break;
case "deletesong":
include 'act/deletesong.php';
break;
case "search":
include 'act/search.php';
break;
case "editsong":
include 'act/editsong.php';
break;
case "mail":
include 'act/mail.php';
break;
default:
header("Location: admin.php?act=view");
break;
}
}else header('Location: login.php');
?>
</center>
</body>
</html>
תעשה לי טובה, תגיד לי שאתה לא מרוויח כסף מתיכנות, כי זה רוע ללקוחות.
|