Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: klausimas

Parašė ChecK· 2008 Rugp. 21 13:08:46
#1

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."&amp;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."&amp;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."&amp;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."&amp;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";
?>



Parašė robert· 2008 Rugp. 21 13:08:36
#2

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."&amp;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."&amp;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."&amp;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."&amp;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

Parašė ChecK· 2008 Rugp. 21 13:08:46
#3

upsss.... kai spaudžiau CTRL+F Nemačiau sorry Glušėjo nuo to kompo :s

Redagavo ChecK· 2008 Rugp. 21 13:08:19

Parašė ChecK· 2008 Rugp. 21 14:08:35
#4

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

Parašė kugeliux· 2008 Rugp. 21 15:08:43
#5

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 ?

Redagavo kugeliux· 2008 Rugp. 21 15:08:00

Parašė ChecK· 2008 Rugp. 21 15:08:08
#6

abc.txt bandžiau kelti ir į adminstrations katalogą ir ne vistiek tas pats.. ;(

Redagavo ChecK· 2008 Rugp. 21 15:08:23

Parašė kugeliux· 2008 Rugp. 21 15:08:23
#7

tai gal tavo dinaminis ip

Redagavo kugeliux· 2008 Rugp. 21 15:08:25

Parašė ChecK· 2008 Rugp. 21 15:08:38
#8

išorinis.. ;(

Parašė kugeliux· 2008 Rugp. 21 15:08:02
#9

daryk per nauja....

Parašė ChecK· 2008 Rugp. 21 15:08:21
#10

į abc.txt rašyt $leistini = "78.61.190.130"; ?