Merhaba acaba hata nerede tam olarak yardımcı olurmusunuz
if($getitemid >= 0) { } else {
$query1 = sprintf("SELECT a_texture_id, a_texture_row, a_texture_col, a_index, a_name, a_descr FROM %s.t_item WHERE a_index = :item1", $dbs["data"]);
$dbh1 = $db->prepare( $query1 );
$dbh1->execute( array( ':item1' => $getitemid ));
$fetch1 = $dbh1->fetch();
$icon_index1 = $fetch1['a_texture_id'];
$icon_row1 = $fetch1['a_texture_row'];
$icon_col1 = $fetch1['a_texture_col'];
$item_name1 = $fetch1['a_name'];
$item_descr1 = $fetch1['a_descr'];
$item_amount1 = $shop1['a_item1_amount'];
$tpl->Assign('item1' , "$item_name1
Amount: $item_amount1
Item Description:
$item_descr1" );
}}
} else { $tpl->newBlock('market_none'); }}
}
else
{
$tpl->newBlock('error');
$tpl->Assign('msg' , 'Please Login');
}
$tpl->printToScreen();
credit();
} else {
echo"";
}
?>