j ai trouve un theme dj mais quand je met les thème j'obtiens une page de bugg
Access Denied
mince
voila ce que contient mon thème que j'appel DJ :
- un dossier "forum" avec image et un fichier "index.php" lorsque j'ouvre ce dernier avec bloc note il est vide
- un dossier "images" avec des images et un fichier "index.php" vide aussi
- un fichier index.php vide aussi
- - un fichier "styles" qui contient
#full{min-width:1006px;max-width:95%;width: expression(95 + "%");margin:0 auto;}
#Lbkg{background: url(images/Lbkg.jpg) repeat-y left;top:0;left:0;width: 50%;height: 100%;position: fixed;}
#Rbkg{background: url(images/Rbkg.jpg) repeat-y right;top:0;right:0;width: 50%;height: 100%;position: fixed;}
#pagec{z-index:1;position:relative;}
#subfooter {width: 50%;color: #fff;text-align: center;margin: 15px auto;padding: 4px;font-size: 10px;}
#footer {width:80%;color: #fff;padding:10px;clear: both;margin:15px auto;border: 1px solid #0ef;height:100px;background:#011;}
.banner{margin: 15px auto;}
#naviL{height:42px;width:66px;background: url(images/naviL.gif) no-repeat top;}
#naviR{height:42px;width:66px;background: url(images/naviR.gif) no-repeat top;}
#navibkg{height:42px;background: url(images/navi.gif) repeat-x top;}
#navi {height: 42px;margin: 0 auto;background: url(images/navi.gif) repeat-x top;}
#navi ul {margin: 0;padding: 0 0 0 0;}
#navi ul li {overflow: hidden;background-image: none;float: left;margin: 0;line-height: 42px;white-space: nowrap;}
#navi ul li a {display: block;width: 100px;height: 42px;margin-top: 0;font-size: 9px;font-family: Arial;font-weight: bold;color: #011;text-decoration: none;background: url(images/button.gif) no-repeat;background-position: 0 0;text-align: center;}
#navi ul li a:hover {width: 100px;height: 42px;background-position: -100px 0;color: #08a;}
.floatR{float:right;line-height: 42px;}
.floatL{float:left;}
#logojpg{height:240px;width:1000px;background: url(images/logo.jpg) no-repeat top;}
#logo{margin: 15px auto;}
a {color: #fff; text-decoration: none;}
a:hover {color: #08a; text-decoration: underline;}
a.side {color: #fff; text-decoration: none;}
a:hover.side {color: #08a; text-decoration: underline;}
a.white, li.white a {color: #fff; text-decoration: none;}
a:hover.white, li.white a:hover {color: #08a; text-decoration: underline;}
.bullet{border:0;}
body {margin: 0px;background: url(images/pbkg.jpg) repeat-y top center;background-color: #011;font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 11px;color: #FFF;}
hr {height: 1px;border: 1px solid #045;}
hr.side-hr {height: 1px;border: 1px solid #045;}
td {font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 11px;}
pre {font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 11px;}
.alt {color: #045;}
.spacer { margin-bottom: 15px;}
.admin-message {font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 11px;text-align: center;color: #fff;background:#045;border: 1px solid #000;padding: 3px 4px 5px 4px;margin-bottom: 5px;}
form {margin: 0px;}
.button {font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10px;color: #fff;background-color: #011;height: 20px;border: 1px solid;border-color:#045 #000 #000 #045;margin-top: 2px;}
.bbcode {font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10px;color: #fff;background-color: #011;border: 1px solid;border-color:#000 #045 #045 #000;margin-top: 2px;}
.textbox {font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10px;color: #fff;background-color: #011;border: 1px solid;border-color:#000 #045 #045 #000;}
.main-body {font-size: 11px;color: #fff;padding: 4px;}
.side-left .side-border-right {display: none;}
.side-right .side-border-left {display: none;}
.side-border-left {color: #fff;padding-top:4px;width: 175px;}
.side-border-right {color: #fff;padding-top:4px;width: 175px;}
.bt {font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 12px;font-weight: bold;color: #fff;text-align:center;}
.side-border-right .btop{width:175px;height:55px;background-image: url(images/Rbt.gif);text-align:center;}
.side-border-right .bm{width:175px;background: url(images/Rbm.gif) repeat-y;padding:7px;}
.side-border-right .bb{width:175px;height:38px;background: url(images/Rbb.gif);}
.side-border-left .btop{width: 175px;height: 55px;background-image: url(images/Lbt.gif);text-align:center;}
.side-border-left .bm{width: 175px;background: url(images/Lbm.gif) repeat-y;padding:7px;}
.side-border-left .bb{width: 175px;height: 44px;background-image: url(images/Lbb.gif);}
.ttop{height:49px;background: url(images/tt.gif) repeat-x top;}
.tt {font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 12px;font-weight: bold;color: #fff;background: url(images/ttc.gif) no-repeat top left;text-align:center;}
.ttl {width:17px;height:49px;background-image: url(images/ttl.gif);}
.ttr {width:16px;height:49px;background-image: url(images/ttr.gif);}
.tsl {width:7px;height:60px;background-image: url(images/tl.gif);}
.tsr {width:7px;height:100%;background: url(images/tr.gif) repeat-y top;}
.tb {height:32px;background: url(images/tb.gif) repeat-x center;}
.t-br {width:20px;height:32px;background-image: url(images/tbr.gif);}
.t-bl {width:20px;height:32px;background-image: url(images/tbl.gif);}
.tbody {font-size: 10px;color: #fff;background:#09171a;}
.news-category {border: 0;margin: 3px 5px 0 0;float: left;}
.news-footer {font-size: 10px;color: #fff;border: 1px solid #fff;padding: 3px 4px 4px 4px;}
.center {margin: 0 auto;}
.tbl-border {}
.tbl {font-size: 11px;color: #fff;padding: 4px;border: 1px solid #fff;}
.tbl1 {font-size: 11px;color: #fff;padding: 4px;border: 1px solid;border-color:#045 #000 #000 #045;background: #011;}
.tbl2 {font-size: 11px;color: #fff;padding: 4px;border: 1px solid;border-color:#045 #000 #000 #045;background: #011;}
.forum-caption {font-size: 11px;font-weight: bold;color: #fff;padding: 2px 4px 4px 4px;}
.quote {font-size: 11px;color: #fff;background-color: #045;padding: 4px;margin:0 auto;border: 1px solid #000;}
.comment-name {font-weight: bold;color: #fff;}
.shoutboxname {font-weight: bold;color: #fff;}
.shoutbox {color: #fff;}
.shoutboxdate {font-size: 10px;color: #fff;}
.small {font-size: 10px;font-weight: normal;}
.small2 {font-size: 10px;font-weight: normal;color: #fff;}
.side-small {font-size: 10px;font-weight: normal;color: #fff;}
.side-label {color: #fff;margin: 2px 0 2px 0;padding: 2px 2px 3px 2px;}
#navigation h2 {font-size: 10px;font-weight: normal;margin: 0;padding: 4px;}
#navigation ul {margin: 0;padding: 0;list-style-type: none;}
* html #navigation ul li{height: 1%;}
#navigation a {display: block;color: #fff;padding: 2px;text-decoration: none;}
#navigation a:hover {color: #fff;background-color: #08a;}
.pagenav {padding: 4px;}
.pagenav span {color: #fff;background-color: #08a;border: 1px solid #ddd;padding: 2px 4px 2px 4px;margin: 2px;}
.pagenav a {color: #fff;border: 1px solid #08a;padding: 2px 4px 2px 4px;margin: 2px;text-decoration: none;}
.pagenav a:hover {color: #fff;background-color: #08a;margin: 2px;text-decoration: none;}
- un fichier "thème.php" contenant
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<img class='bullet' src='".THEME."images/bullet.gif' alt='->' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $locale, $main_style, $settings, $userdata;
echo "<div id='full'><div id='Lbkg'></div><div id='Rbkg'></div><div id='pagec'>
<table cellpadding='0' cellspacing='0' border='0' width='1000' id='logo'><tr><td>
<object type='application/x-shockwave-flash' data='".THEME."images/logo.swf' width='1000' height='240'>
<param name='movie' value='".THEME."images/logo.swf' /><param name='wmode' value='transparent' /></object>
</td></tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='100%' class='spacer'><tr><td id='naviL'></td><td><div id='navi'>".showsublinks(" ")."\n";
if (iMEMBER){
echo "<div class='floatR'>".$locale['global_035']." ".$userdata['user_name']."</div>\n";
}else{
echo "<div class='floatR'><ul><li><a href='".BASEDIR."login.php'>".$locale['global_104']."</a></li>
".($settings['enable_registration'] ? "<li><a href='".BASEDIR."register.php'>".$locale['global_107']."</a></li>\n" : "");
echo"</ul></div>\n";
}
echo "</div></td><td id='naviR'></td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='$main_style'><tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo"<td class='main-body' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>\n";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo"</tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='100%' id='footer' ><tr><td><div>
".(!$license ? "<div class='floatL'>".showcopyright()."<br /> Theme conversion by <a href='http://mangee.net'>Mangee</a></div>" : "")."
<div class='floatR'>".stripslashes($settings['footer'])."</div></div>
</td></tr></table>\n";
if ($settings['sitebanner2']) { eval("?><div class='banner'>".stripslashes($settings['sitebanner2'])."</div>\n<?php ");}
echo"<table cellpadding='0' cellspacing='0' border='0' width='100%' id='subfooter'><tr>
<td><div>".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."</div>
<div class=''>".showcounter()."</div>
</td></tr></table>
</div></div>\n";
}
function render_news($subject, $news, $info) {
global $locale;
opentable($subject);
echo "<div class='floatfix'>".$news."</div>
<div class='news-footer'>
".newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']).
"</div>\n";
closetable();
}
function render_article($subject, $article, $info) {
global $locale;
opentable($subject);
echo "<div class='floatfix'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
<div class='news-footer'>
".articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']).
"</div>\n";
closetable();
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='ttop'><tr>
<td class='ttl'></td>
<td class='tt'>".$title."</td>
<td class='ttr'></td>
</tr></table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='tsl'></td><td class='tbody'>\n";
}
function closetable() {
echo "</td><td class='tsr'></td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='spacer'><tr>
<td class='t-bl'></td>
<td class='tb'> </td>
<td class='t-br'></td>
</tr></table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='100%' class='btop'><tr>
<td class='bt'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td>".panelbutton($state, $boxname)."</td>\n";
}
echo "</tr></table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='bm'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='spacer'><tr>
<td class='bb'> </td>
</tr></table>\n";
}
?>
merci je compte sur votre aide