Nejste přihlášeni
Stránky 1
Potřeboval bych pomoc... Vše na webu probíhalo v pohodě, než se tam kámoš registroval, stisknul "register" a hodilo ho to do zapomenutého hesla, pak dal "Loss pass" a hodilo ho to do registrace... Takže je to obráceně, ale nikde jsem nenašel, kde to mám změnit.. Prosím pomůžete mi ?
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>·</span>");
require_once INCLUDES."theme_functions_include.php";function render_page($license = false) {
global $settings, $main_style, $locale, $mysql_queries_time;//menu
echo "<div id='menu'>
<a class='menu_button' href='index.php'>Home</a>
<a class='menu_button' href='http://drift-donuts.4fan.cz/viewpage.php?page_id=1'>Members</a>
<a class='menu_button' href='http://drift-donuts.4fan.cz/forum/index.php'>Forum</a>
<a class='menu_button' href='http://drift-donuts.4fan.cz/viewpage.php?page_id=2'>Drifts</a>
<a class='menu_button' href='#'>Downloads</a>
<a class='menu_button' href='http://drift-donuts.4fan.cz/contact.php'>Kontakt</a>
</div>";
//Header
echo "<div id='wrapper'>";
echo "<div id='header'>";
echo "</div>";
//panel pod headerem
echo "<div id='panel_ph'>
<div id='dwn_area'>
<div class='dwn_area_left'>
<a href='http://www.gta.cz/san-andreas/download/modely-zbrani' class='Zbraně'></a>
<a href='http://www.gta.cz/san-andreas/clanek/skiny' class='Skiny'></a>
<a href='http://www.gta.cz/san-andreas/clanek/modely-aut' class='Auta'></a>
</div>
<div class='dwn_area_right'>
<a href='http://img96.imageshack.us/img96/9136/y20o.png' class='logo'></a>
<a href='http://ulozto.cz/xGd7SQXu/gta-san-andreas-rar' class='GTA Singleplayer'></a>
<a href='http://www.gta-multiplayer.cz/cz/downloads/' class='GTA Multiplayer'></a>
</div>
</div>
<div id='nabidka'></div>
<div id='login'>";
include THEME.'login.php';
echo"</div>
</div>";//Content
echo "<div id='content'>";
echo "<div class='menu-stin'></div>";
echo "<div id='left'>".LEFT.RIGHT."</div>";
echo "<div id='right'>".U_CENTER.CONTENT.L_CENTER."</div>";
echo "</div>";
//Footer
echo "<div id='footer'>";
echo "<div class='copyright'>".showcopyright()." Webdesign create <a href='http://www.net-core.eu'>www.net-core.cz</a></div>";
echo "<a href='http://www.toplist.cz/' target='_top'><img src='http://toplist.cz/' border='0' alt='TOPlist' width='88' height='60' class='toplist'/></a>";echo "</div>";
//end wrapper
echo "</div>";
/*foreach ($mysql_queries_time as $query) {
echo $query[0]." QUERY: ".$query[1]."<br />";
}*/}
/* New in v7.02 - render comments */
function render_comments($c_data, $c_info){
global $locale, $settings;
opentable($locale['c100']);
if (!empty($c_data)){
echo "<div class='comments floatfix'>\n";
$c_makepagenav = '';
if ($c_info['c_makepagenav'] !== FALSE) {
echo $c_makepagenav = "<div style='text-align:center;margin-bottom:5px;'>".$c_info['c_makepagenav']."</div>\n";
}
foreach($c_data as $data) {
$comm_count = "<a href='".FUSION_REQUEST."#c".$data['comment_id']."' id='c".$data['comment_id']."' name='c".$data['comment_id']."'>#".$data['i']."</a>";
echo "<div class='tbl2 clearfix floatfix'>\n";
if ($settings['comments_avatar'] == "1") { echo "<span class='comment-avatar'>".$data['user_avatar']."</span>\n"; }
echo "<span style='float:right' class='comment_actions'>".$comm_count."\n</span>\n";
echo "<span class='comment-name'>".$data['comment_name']."</span>\n<br />\n";
echo "<span class='small'>".$data['comment_datestamp']."</span>\n";
if ($data['edit_dell'] !== false) { echo "<br />\n<span class='comment_actions'>".$data['edit_dell']."\n</span>\n"; }
echo "</div>\n<div class='tbl1 comment_message'>".$data['comment_message']."</div>\n";
}
echo $c_makepagenav;
if ($c_info['admin_link'] !== FALSE) {
echo "<div style='float:right' class='comment_admin'>".$c_info['admin_link']."</div>\n";
}
echo "</div>\n";
} else {
echo $locale['c101']."\n";
}
closetable();
}function render_news($subject, $news, $info) {
echo "<div class='novinky'>";
echo "<div class='capmain'><div class='capmain-title'>".$subject."</div></div>";
echo "<div class='main-body'><div class='news-text'>".$info['cat_image'].$news."</div>";
echo "<div class='news-read'><a href='news.php?readmore=".$info['news_id']."'><img src='".THEME."images/read.png' alt='read' /></a></div>";
echo "</div></div>";
}function render_article($subject, $article, $info) {
echo "<div class='novinky'>";
echo "<div class='capmain'><div class='capmain-title'>".$subject."</div></div>";
echo "<div class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>";
echo articleposter($info," ·").articlecat($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</div></div>";}
function opentable($title) {
echo "<div class='novinky'>";
echo "<div class='capmain'><div class='capmain-title'>".$title."</div></div>";
echo "<div class='main-body'><div class='news-text'>";}
function closetable() {
echo "</div></div>";
echo "</div>";}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<div class='panel'>";
echo "<div class='scapmain'><div class='scapmain-title'>".$title."</div></div>";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<div class='scapmain' align='right'>".panelbutton($state, $boxname)."</div>";
}echo "<div class='side-body'><div class='side-body-obsah'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }}
function closeside() {
global $panel_collapse;if ($panel_collapse == true) { echo "</div>"; }
echo "</div></div><div class='panel-spodek'></div></div>";}
?>
Offline
v tomhle souboru to není
<div id='login'>";
include THEME.'login.php';
echo"</div>
W3C validator | Performance tools | Stavové kódy HTTP | Fiddle | Codepen | Ideone | XAMPP
Offline
Doména? Nejspíše tam máte v kódu trochu přeházené odkazy, tak proto to přesměruje na jiný.
Kontaktujte nás | FAQ
Email: fk@endora.cz
Offline
osobně jsem to hádal podle
<a class='menu_button' href='http://drift-donuts.4fan.cz/viewpage.php?page_id=1'>Members</a>
W3C validator | Performance tools | Stavové kódy HTTP | Fiddle | Codepen | Ideone | XAMPP
Offline
Tam vše funguje, ale vpravo má být zapomenuté heslo a vlevo registrace. Až si ty odkazy změníte, tak to bude fungovat.
Kontaktujte nás | FAQ
Email: fk@endora.cz
Offline
Stránky 1