Гледах че има доста сайтове с фреймовете който създадох като идея само с HTML но станаха много кражби
И ето направих 1 на PHP със админ панел и SQL
Ще помоля само да не ми пипате авторските права
Така и ето го скриптчето 
Онлайн Демо
SQL.sql
config.php
index.php
info.php
/admin
index.php
add.php
dell.php
/imgs
background.png
header.png
up.ico
Та това е цялата философия
Очаквам коментарчета 
Онлайн Демо
SQL.sql
Код:
CREATE TABLE `iframes` (
`id` int(255) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`mail` varchar(255) NOT NULL,
`site` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
config.php
Код:
<?
$username = "Username";
$pass = "Password";
$host = "Host";
$db = "DataBase";
$conn = mysql_connect($host, $username, $pass);
mysql_select_db($db, $conn);
$admin="admin";
$admin_pass="admin";
?>
index.php
Код:
<!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">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<link rel="shortcut icon" href="imgs/up.ico">
<title>Яко Ифреймове :D</title>
<style type="text/css">
</style>
</head>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2" style="margin-top:10px;">
<tr>
<td align="left">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<?php include('info.php'); ?>
</td>
</tr>
</table></center>
<center><img src="imgs/header.png" border="0" title="Яко Ифреймове :D"></center>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2">
<tr>
<td align="center">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<a href="index.php"><font color="#407DC3"><b>Начало</b></font></a> ¦ <a href="admin"><font color="#407DC3"><b>Админ Панел</b></font></a>
</td>
</tr>
</table></center>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2" style="margin-top:-4px;">
<tr>
<td align="left">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<?
include("config.php");
echo '<table border="1" width="484"><tr><td><font color=#407DC3><b><center>ИФРЕЙМОВЕ</center></b></font></td><td><font color=#407DC3><b><center>САЙТ НА ИФРЕЙМА</center></b></font></td></tr>';
$sql = mysql_query("SELECT * from iframes");
while($row = mysql_fetch_array($sql)) {
echo '<tr><td width="115" height="31"><iframe src="'.$row['site'].'" name="'.$row['name'].'" width="115" height="31" frameborder="0" allowtransparency="true"></iframe></td><td><center><a href="'.$row['site'].'" target="_blank"><font color=#407DC3><b>ЦЪКНИ ЗА ДА ОТВОРИШ В НОВ ПРОЗОРЕЦ</b></font></a></center></td></tr>';
}
?>
</td>
</tr>
</table></center>
info.php
Код:
<!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">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<link rel="shortcut icon" href="imgs/up.ico">
<title>Яко Ифреймове :D</title>
<style type="text/css">
</style>
</head>
<?
include("config.php");
$count = mysql_result(mysql_query("SELECT COUNT(id) FROM iframes"),0);
echo" <center><font color=#407DC3><b>Добавени Са Общо $count Ифрейма!<b></font></center>";
?>
/admin
index.php
Код:
<?php
session_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">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<link rel="shortcut icon" href="../imgs/up.ico">
<title>Яко Ифреймове :D</title>
<style type="text/css">
</style>
</head>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2" style="margin-top:10px;">
<tr>
<td align="left">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<?php include('../info.php'); ?>
</td>
</tr>
</table></center>
<center><img src="../imgs/header.png" border="0" title="Яко Ифреймове :D"></center>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2">
<tr>
<td align="center">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<a href="../index.php"><font color="#407DC3"><b>Главна Страница</b></font></a> ¦ <a href="dell.php"><font color="#407DC3"><b>Изтрий Ифрейм</b></font></a> ¦ <a href="add.php"><font color="#407DC3"><b>Добави Ифрейм</b></font></a>
</td>
</tr>
</table></center>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2" style="margin-top:-4px;">
<tr>
<td align="left">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<center><b><?php
include("../config.php");
$config = explode ("|",$faila[0]);
$dostap=$HTTP_SESSION_VARS['dostap'];
if ($dostap == 1)
{
if(!isset($_POST['submit2'])) {
echo 'Добре дошли в админският панел!<br>От тук ще можете да добавяте и изтривате Ифреймове!';
?>
<?php
}
if(!isset($_POST['submit3'])) {
?><br>
<?php
}
else
{
$HTTP_SESSION_VARS['dostap'] = 0;
?>
<META HTTP-EQUIV="refresh" CONTENT="0;URL=index.php" >
<?php
}
}
else
{
if(!isset($_POST['submit'])) {
?>
<FORM ACTION="" METHOD="POST">
<b>Админ</b><br /><input type="text" name="admin5"><br />
<b>Парола</b><br /><input type="password" name="admin_pass5"><br />
<input type="submit" name="submit" value="ВЛЕЗ">
</FORM>
<?php
}
else
{
if (($admin == $_POST['admin5']) && ($admin_pass == $_POST['admin_pass5']))
{
$HTTP_SESSION_VARS['dostap'] = 1;
?>
<META HTTP-EQUIV="refresh" CONTENT="0;URL=add.php" >
<?php
}
else
{
?>
<FORM ACTION="" METHOD="POST">
<b>Админ</b><br /><input type="text" name="admin5"><br />
<b>Парола</b><br /><input type="password" name="admin_pass5"><br />
<input type="submit" name="submit" value="ВЛЕЗ">
</FORM>
<b>Грешно Админско име или Парола!</b>
<?php
}
}
}
?></b></center>
</td>
</tr>
</table></center>
add.php
Код:
<?php
session_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">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<link rel="shortcut icon" href="../imgs/up.ico">
<title>Яко Ифреймове :D</title>
<style type="text/css">
</style>
</head>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2" style="margin-top:10px;">
<tr>
<td align="left">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<?php include('../info.php'); ?>
</td>
</tr>
</table></center>
<center><img src="../imgs/header.png" border="0" title="Яко Ифреймове :D"></center>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2">
<tr>
<td align="center">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<a href="../index.php"><font color="#407DC3"><b>Главна Страница</b></font></a> ¦ <a href="dell.php"><font color="#407DC3"><b>Изтрий Ифрейм</b></font></a> ¦ <a href="add.php"><font color="#407DC3"><b>Добави Ифрейм</b></font></a>
</td>
</tr>
</table></center>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2" style="margin-top:-4px;">
<tr>
<td align="left">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<center><b><?php
include("../config.php");
$config = explode ("|",$faila[0]);
$dostap=$HTTP_SESSION_VARS['dostap'];
if ($dostap == 1)
{
if(!isset($_POST['submit2'])) {
include("../config.php");
if (!isset($_POST['submit'])) {
echo '<form action="" method="post">
<font color="#407DC3"><b>Име На Ифрейма </b></font><br><input type="text" size="50" name="name" /><br />
<font color="#407DC3"><b>Вашият И-Мейл </b></font><br><input type="text" size="50" name="mail" /><br />
<font color="#407DC3"><b>URL На Ифрейма <br>[ Пример: http://yoursite.com ] </b></font><br><input type="text" size="50" name="site" /><br />
<font color="#407DC3"><b>Условия За Ползване </b></font><br><textarea name="message" cols="37" rows="5" class="inputs" readonly="readonly" />Тук може би ще има някакви условия каквито да спазвате :D</textarea><br />
<font color="#407DC3"><b>Приемам Условията? </b></font><input type="checkbox" name="priemam" id="cbox" />
<input type="submit" name="submit" value="ДОБАВИ" />';
}
else if ($_POST['name'] == NULL)
{
echo "<b><font color=#407DC3>Моля, въведете Име на Ифрейма! </font></b>";
}
else if ($_POST['mail'] == NULL)
{
echo "<b><font color=#407DC3>Моля, въведете Си И-Мейла! </b>";
}
else if ($_POST['site'] == NULL)
{
echo "<b><font color=#407DC3>Моля, въведете URL на Ифрейма! </b>";
}
else if ($_POST['priemam'] == NULL)
{
echo "<b><font color=#407DC3>Моля, приемете условията за ползване! </b>";
}
else {
function secure($var) {
return addslashes(htmlspecialchars($var));
}
$name = secure($_POST['name']); $mail = secure($_POST['mail']); $site = secure($_POST['site']);
$insert = mysql_query("INSERT into iframes(`id`,`name`,`mail`,`site`) VALUES ('','$name','$mail','$site')") or die(mysql_error());
if ($insert) { echo '<b><font color=#407DC3>Довавихте Своя Ифрейм! Моля, изчакайте...</font></b> <meta http-equiv="refresh" content="2;url=index.php">'; }
}
?>
<?php
}
if(!isset($_POST['submit3'])) {
?><br>
<?php
}
else
{
$HTTP_SESSION_VARS['dostap'] = 0;
?>
<META HTTP-EQUIV="refresh" CONTENT="0;URL=index.php" >
<?php
}
}
else
{
if(!isset($_POST['submit'])) {
?>
<FORM ACTION="" METHOD="POST">
<b>Админ</b><br /><input type="text" name="admin5"><br />
<b>Парола</b><br /><input type="password" name="admin_pass5"><br />
<input type="submit" name="submit" value="ВЛЕЗ">
</FORM>
<?php
}
else
{
if (($admin == $_POST['admin5']) && ($admin_pass == $_POST['admin_pass5']))
{
$HTTP_SESSION_VARS['dostap'] = 1;
?>
<META HTTP-EQUIV="refresh" CONTENT="0;URL=add.php" >
<?php
}
else
{
?>
<FORM ACTION="" METHOD="POST">
<b>Админ</b><br /><input type="text" name="admin5"><br />
<b>Парола</b><br /><input type="password" name="admin_pass5"><br />
<input type="submit" name="submit" value="ВЛЕЗ">
</FORM>
<b>Грешно Админско име или Парола!</b>
<?php
}
}
}
?></b></center>
</td>
</tr>
</table></center>
dell.php
Код:
<?php
session_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">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<link rel="shortcut icon" href="../imgs/up.ico">
<title>Яко Ифреймове :D</title>
<style type="text/css">
</style>
</head>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2" style="margin-top:10px;">
<tr>
<td align="left">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<?php include('../info.php'); ?>
</td>
</tr>
</table></center>
<center><img src="../imgs/header.png" border="0" title="Яко Ифреймове :D"></center>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2">
<tr>
<td align="center">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<a href="../index.php"><font color="#407DC3"><b>Главна Страница</b></font></a> ¦ <a href="dell.php"><font color="#407DC3"><b>Изтрий Ифрейм</b></font></a> ¦ <a href="add.php"><font color="#407DC3"><b>Добави Ифрейм</b></font></a>
</td>
</tr>
</table></center>
<center><table class="small" width="508" align="center" cellspacing="2" cellpadding="2" style="margin-top:-4px;">
<tr>
<td align="left">
<div style='color: #407DC3; background: #BBDC73; border: 3px solid #3C3C3C; border-top: 3px solid #3C3C3C; border-bottom: 3px solid #3C3C3C; padding: 5px;'>
<center><b><?php
include("../config.php");
$config = explode ("|",$faila[0]);
$dostap=$HTTP_SESSION_VARS['dostap'];
if ($dostap == 1)
{
if(!isset($_POST['submit2'])) {
if (!isset($_POST['deltable'])) {
echo '<form action="" method="post">
<b>URL На Ифрейма</b><br /><b>[ Пример: http://yoursite.com ] </b><br /><input type="text" name="site" size="32" /> <br />
<input type="submit" name="deltable" value="ИЗТРИЙ" /> </form>';
} else {
include("../config.php");
$site = htmlspecialchars(addslashes($_POST['site']));
$insert = mysql_query("DELETE FROM iframes WHERE site='$site'")or die(mysql_error());
if ($insert) { echo '<b><font color=#407DC3>Успешно изтрит Ифрейм! Моля, изчакайте...</font></b> <meta http-equiv="refresh" content="2;url=index.php">'; }
}
?>
<?php
}
if(!isset($_POST['submit3'])) {
?><br>
<?php
}
else
{
$HTTP_SESSION_VARS['dostap'] = 0;
?>
<META HTTP-EQUIV="refresh" CONTENT="0;URL=index.php" >
<?php
}
}
else
{
if(!isset($_POST['submit'])) {
?>
<FORM ACTION="" METHOD="POST">
<b>Админ</b><br /><input type="text" name="admin5"><br />
<b>Парола</b><br /><input type="password" name="admin_pass5"><br />
<input type="submit" name="submit" value="ВЛЕЗ">
</FORM>
<?php
}
else
{
if (($admin == $_POST['admin5']) && ($admin_pass == $_POST['admin_pass5']))
{
$HTTP_SESSION_VARS['dostap'] = 1;
?>
<META HTTP-EQUIV="refresh" CONTENT="0;URL=add.php" >
<?php
}
else
{
?>
<FORM ACTION="" METHOD="POST">
<b>Админ</b><br /><input type="text" name="admin5"><br />
<b>Парола</b><br /><input type="password" name="admin_pass5"><br />
<input type="submit" name="submit" value="ВЛЕЗ">
</FORM>
<b>Грешно Админско име или Парола!</b>
<?php
}
}
}
?></b></center>
</td>
</tr>
</table></center>
/imgs
background.png
header.png
up.ico
Код:
Свали: http://rapidshare.com/files/172747795/imgs.rar.html
Та това е цялата философия