ChecK
VIP narys
Generolas

Pranešimai: 1074
Įstojęs: 2008 Kov. 20 16:03:50
|
tai va yra tokia pamoka , kad kiti negalėtų įlysti į administratoriaus nicką ten yra toks sakinys :
Uždarome ir išsaugojame.
Po to atidarome administration/navigation.php ir iškarto ieškom šių eilučių:
if ($page4) echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."&pagenum=4' class='side'>".$locale['ac04']."</a><br>\n";
echo "<hr class='side-hr'>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."index.php' class='side'>".$locale['151']."</a>";
}
Bet aps mane nėra tokių eilučių štai mano navigation.php :
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("location: ../index.php"); exit; }
include LOCALE.LOCALESET."admin/main.php";
echo "<td width='$theme_width_l' valign='top' class='side-border-left'>\n";
include INFUSIONS."user_info_panel/user_info_panel.php";
openside($locale['001']);
// Find out which panels and pages the admin can access
$usr_rghts = " (admin_rights='".str_replace(".", "' OR admin_rights='", $userdata['user_rights'])."')";
$page1 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='1'");
$page2 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='2'");
$page3 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='3'");
$page4 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='4'");
if (iMEMBER) {
if ($page1) echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."&pagenum=1' class='side'>".$locale['ac01']."</a><br>\n";
if ($page2) echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."&pagenum=2' class='side'>".$locale['ac02']."</a><br>\n";
if ($page3) echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."&pagenum=3' class='side'>".$locale['ac03']."</a><br>\n";
if ($page4) echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."&pagenum=4' class='side'>".$locale['ac04']."</a><br>\n";
echo "<hr class='side-hr'>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."index.php' class='side'>".$locale['151']."</a>\n";
}
closeside();
echo "</td>\n<td valign='top' class='main-bg'>\n";
?>
|
robert
Narys
Tankas

Pranešimai: 1946
Įstojęs: 2006 Gru. 18 16:12:57
|
Paryskinau .. :[
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("location: ../index.php"); exit; }
include LOCALE.LOCALESET."admin/main.php";
echo "<td width='$theme_width_l' valign='top' class='side-border-left'>\n";
include INFUSIONS."user_info_panel/user_info_panel.php";
openside($locale['001']);
// Find out which panels and pages the admin can access
$usr_rghts = " (admin_rights='".str_replace(".", "' OR admin_rights='", $userdata['user_rights'])."')";
$page1 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='1'");
$page2 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='2'");
$page3 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='3'");
$page4 = dbcount("(*)", "admin", $usr_rghts." AND admin_link!='reserved' AND admin_page='4'");
if (iMEMBER) {
if ($page1) echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."&pagenum=1' class='side'>".$locale['ac01']."</a><br>\n";
if ($page2) echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."&pagenum=2' class='side'>".$locale['ac02']."</a><br>\n";
if ($page3) echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."&pagenum=3' class='side'>".$locale['ac03']."</a><br>\n";
if ($page4) echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."&pagenum=4' class='side'>".$locale['ac04']."</a><br>\n";
echo "<hr class='side-hr'>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."index.php' class='side'>".$locale['151']."</a>\n";
}
closeside();
echo "</td>\n<td valign='top' class='main-bg'>\n";
?>
Redagavo robert 2008 Rugp. 21 13:08:52 |
ChecK
VIP narys
Generolas

Pranešimai: 1074
Įstojęs: 2008 Kov. 20 16:03:50
|
upsss.... kai spaudžiau CTRL+F Nemačiau sorry Glušėjo nuo to kompo 
Redagavo ChecK 2008 Rugp. 21 13:08:19 |
ChecK
VIP narys
Generolas

Pranešimai: 1074
Įstojęs: 2008 Kov. 20 16:03:50
|
Gal žionote ką rašyti abc.txt štai šioje pamokoje : https://webdnd.com/readarticle.p...cle_id=118
P.S Aš nieko nerašiau abc.txt ikėliau į ftp, parašiau savo ip'ą bet neina į adminkę įeiti. Gal žinote kame čia replės ?
Redagavo ChecK 2008 Rugp. 21 15:08:49 |
kugeliux
Narys
Buldozeris
Pranešimai: 281
Įstojęs: 2008 Vas. 12 11:02:51
|
Ten rasyk tai
$leistini = "ce tavo ip ";
jei nezinai savo ip eik i ce http://www.ip-adress.com/
Ikeles ji suCHMODink 777
Ko dar nezinai ?
Atsigavom
Redagavo kugeliux 2008 Rugp. 21 15:08:00 |
ChecK
VIP narys
Generolas

Pranešimai: 1074
Įstojęs: 2008 Kov. 20 16:03:50
|
abc.txt bandžiau kelti ir į adminstrations katalogą ir ne vistiek tas pats.. ;(
Redagavo ChecK 2008 Rugp. 21 15:08:23 |
kugeliux
Narys
Buldozeris
Pranešimai: 281
Įstojęs: 2008 Vas. 12 11:02:51
|
tai gal tavo dinaminis ip
Atsigavom
Redagavo kugeliux 2008 Rugp. 21 15:08:25 |
ChecK
VIP narys
Generolas

Pranešimai: 1074
Įstojęs: 2008 Kov. 20 16:03:50
|
išorinis.. ;(
|
kugeliux
Narys
Buldozeris
Pranešimai: 281
Įstojęs: 2008 Vas. 12 11:02:51
|
daryk per nauja....
Atsigavom |
ChecK
VIP narys
Generolas

Pranešimai: 1074
Įstojęs: 2008 Kov. 20 16:03:50
|
į abc.txt rašyt $leistini = "78.61.190.130"; ?
|