Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Koks kodas?

Parašė And2s· 2009 Rugp. 17 12:08:17
#8

ŠeLMiz parašė:
And2s parašė:
Keris parašė:
Ieskojau radau bet kai idedu meta

Notice: Undefined index: global_182 in /home/Hardsk/domains/hsk.wmw.lt/public_html/administration/panel_editor.php on line 136



echo "<table width='100%'>
<tr>
<td width='33%'>";
openside("Naujausia muzika");
echo "<div class='side-label'><b></b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 100");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 40)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
<td width='33%'>";
openside("Top 100 muzika");
echo "<div class='side-label'><b></b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 100");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 40);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
echo "</tr>
</table>";




Va kodas kury as dedu


ivesk admin pass


Prie ko čia admin pass nesupratau ?


English php fusion kalboje, global.php faile yra eilutė:

$locale['global_182'] = "<strong>Notice:</strong> Admin Password not entered or incorrect.";

o Lithuanian kalboje global.php faile kažkodėl nėra šios eilutės. Todėl jam ir rodo tą errora kad nerastas kintamasis.

Redagavo And2s· 2009 Rugp. 17 12:08:57