Poradziłem sobie ale mam problem wyświetla mi zły wynik
nowy kod:
<?php
define("IN_MYBB", 1);
$templatelist = "myshop";
require_once "./global.php";
require_once "./inc/init.php";
$userID = $mybb->user['uid'];
if($userID == 0)
{
error_no_permission();
}
$pageTitle = "myshop";
add_breadcrumb("myshop"); // this is a forum navigation: Forum / Links
// you can change word links to any other name
$pkt = $db->query(" SELECT newpoints
FROM `mybb_users`
WHERE `uid` ={$userID}
LIMIT 0 , 30");
$pktrow = $db->fetch_array($pkt);
$iloscpkt = print ('$pktrow');
$out = "<html><head>";
eval("\$out .= \"".$templates->get("myshop")."\";");
$out .= "</body></html>";
output_page($out);
?>
Użytkownik Bielu(new) edytował ten post 27.08.2011 23:09