Здравейте,
Исках форума ми да ползва дизайна на страницата за това го вградих с iframe. Има ли някакъв по-добър метод, защото така потребителите не могат да копират линкове на дадени теми.
Благодаря предварително....
Исках форума ми да ползва дизайна на страницата за това го вградих с iframe. Има ли някакъв по-добър метод, защото така потребителите не могат да копират линкове на дадени теми.
Благодаря предварително....
Код:
<?php
defined('_VALID_INCLUDE') or die('Direct access to this file not allowed.');
if (get_magic_quotes_gpc()) {
$_REQUEST = array_map("stripslashes", $_REQUEST);
$_GET = array_map("stripslashes", $_GET);
$_POST = array_map("stripslashes", $_POST);
}
if ($skin == 'default') {
echo "\n\n$header\n\n";
?>
<script language="javascript">
/*
Auto center window script- Eric King (http://redrival.com/eak/index.shtml)
Permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>
<meta name="Keywords" content="Гейминг, Игри, Ревюта, Скрийншоти, Видеа ">
<meta name="Description" content="Гейминг, Игри, Ревюта, Скрийншоти, Видеа ">
</head>
<body>
<div id="div"></div>
<div id="logo"></div>
<div id="log0"></div>
<?include "includes/menu.php"?>
<br><br>
<tr>
<td width="100%" colspan="3" height="36">
<table align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="99%">
<div id="search">
<form action="search.html" method="post"><input id="cx" name="1" type="hidden" />
<input id="cof" name="cof" type="hidden" value="FORID:9" />
<input id="ie" name="ie" type="hidden" value="UTF-8" />
<input id="search-q" name="search" type="text" value="" /><button type="submit" name="submitbutton1" class="search-b"> </button>
</form>
</div>
<td width="50%" align="right" style="padding-bottom: 7px;">
<SPAN class="date">
<script type="text/javascript">
//new domticker(name_of_message_array, CSS_ID, CSS_classname, pause_in_miliseconds, optionalfadeswitch)
if(domticker)
new domticker(tickercontent, "domticker", "someclass", 4500, "")
</script>
</SPAN>
</td>
</tr>
</table>
</td>
<td width="30"></td>
</tr>
</table>
<table align="center" cellpadding="0" cellspacing="0" border="0" width="994" height="103" style="margin-top:90px;">
<tr>
<td width="100%" background="images/lgad_bg.gif">
<table align="center" cellpadding="1" cellspacing="0" border="0">
<tr>
<td width="10"></td>
<td width="299"></td>
<td width="10"></td>
</tr>
</table>
<br>
<div style="float:right;">
<embed height="120" width="750" flashvars="linkfromdisplay=true&lightcolor=0x557722&searchbar=false&shuffle=true&overstretch=true&width=750&height=120" wmode="transparent" bgcolor="#FFFFFF" allowfullscreen="true" quality="high" name="mymovie" id="mymovie" style="" src="banners/1200x120new.swf" type="application/x-shockwave-flash">
</div>
<table width="200" height="125" class="opt" bgcolor="#FFFFFF">
<tr>
<td>
<div id="wizzard_box">
<h2>Предстоящи игри:</h2>
<div>
PS3: <a href="http://safasf" >Assassins Creed:Brotherhood</a><br>
X360: <a href="http://asfasfsa/game-665-Gears-of-War-3.html" >Gears of War 3</a><br>
PS3: <a href="http://gsfafasfas" >Need For Speed: Hot Pursuit</a><br>
Wii: <a href="http://fsal" >Donkey Kong Country Returns</a><br>
PS3: <a href="http://fsa/" >Call Of Duty: Modern Warfare 3</a><br> </div>
</div>
</td>
</tr>
</table>
<br>
<tr>
<td width="1000"><a href="index.php"></a></td>
</tr>
<tr>
<table cellpadding="0" cellspacing="0" border="0" width="80%">
<tr>
<td width="50%" valign="middle">
<div id="lineup"></div>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
<table align="center" cellpadding="0" cellspacing="2" border="1" width="994">
<tr>
<td width="80%" background="images/page_bg2.jpg">
<DIV style="background: url(images/page_bg.jpg) no-repeat;">
<table cellpadding="0" cellspacing="0" border="0" width="994">
<tr>
<td width="5"></td>
<td width="994">
<table cellpadding="0" cellspacing="0" border="0">
</table>
</body>
<?php
//===================================================
// END HEADER TEMPLATE
//------------------------------------------------------------------
} else {
include "skins/$skin/header.php";
}
?>
<table align="center" cellpadding="0" cellspacing="2" border="0" width="994">
<tr>
<td><iframe src ="forums/" width="985px" height="1380px" frameborder="no">
<p>Your browser does not support iframes.</p>
</iframe>
</table>
</td>
<td width="6"></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="982" align="center" cellpadding="5" cellspacing="0" border="0" style="color:#FFFFFF">
<tr>
<br>
<div id="footcom"></div>
<td width="100%" background="images/footer.gif" height="27">
<table width="100%" cellpadding="5" cellspacing="0" border="0">
<tr>
<div id="selector2"></div>
<td width="75%"><SPAN class="footer"> | <a href="index.php" class="footer">Начало</a> | <a href="system-x360" class="footer">Xbox 360</a> | <a href="system-ps3" class="footer">PS3</a> | <a href="system-wii" class="footer">Wii</a> | <a href="system-pc" class="footer">PC</a> | <a href="system-psp" class="footer">PSP</a> | <a href="system-ds" class="footer">DS</a> | <a href="system-3ds" class="footer">3DS</a> | <a href="system-iPhone" class="footer">iPhone</a> | <a href="system-tv" class="footer">TV Епизоди</a> | <a href="index.html" class="footer">Новини</a> | <a href="index.html" class="footer">Ревюта</a> | <a href="contact.html" class="footer">Контакти</a> | <a href="http://fsaf/page-7---.html" class="footer">Условия за ползване</a> |
</SPAN></td>
<td width="25%" align="right"><SPAN class="footerb"><?
echo " <strong>$lang4</strong> $generation $lang5";
?> </SPAN></td>
</tr>
</table>
</td>
</tr>
<tr> <td width="100%">
<div id="selector"></div>
<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="99%" style="padding: 20px;"><?
echo " <SPAN class=\"footerc\"><color=black>Топ игри:<br>|</color> ";
$games = mysql_query("SELECT * from ccms_gameindex order by views desc limit 5");
$c = 1;
while ($row = mysql_fetch_assoc($games)) {
$title_start = preg_replace('/[^a-zA-Z0-9 *]/', '', $row[title]);
$title_seo = str_replace(' ', '-', $title_start);
echo " <a href=\"game-$row[id]-$title_seo.html\" class=\"footerc\">$row[title]</a>"; if ($c == "5") { } else { echo " <br/>| "; }
$c++;
}
?>
<br><br>
Продължавайки след тази страница, както и ползването на нашия сайт вие се съгласявате да спазвате Условията за ползване на Games-Shadows.com
Copyright 2008-2010.
| <a href="http://www.games-shadows.com/page-7---.html" >Условия за ползване</a> | <a href="contact.html">Поддръжка</a> | <a href="rss.xml">RSS Feeds</a> |
GS's enterprise databases running SQL, MySQL и сe поддържат от екипа на GS.
</td>
</tr>
</table>
</td>
</tr>
</table>
<div id="BBS" onclick="window.location.href = 'http://hfdh';">
</div>
</div>
</div>
</body>
</html>