[Notice] Undefined index: obrazek_2_sciezka (@line 22 in file /home/dm70952/a13.pl/protected/pages/Bombka.php).
/home/dm70952/a13.pl/protected/pages/Bombka.php (22)
0011: $this->GorneMenu->SetOferta();
0012:
0013: $session = $this->Application->getSession();
0014: $session['nr'] = urldecode($this->Request['nr']);
0015: $session['tekst'] = '';
0016:
0017: $db = $this->Application->getModule('dane');
0018: $this->dane = $db->getProduct($session);
0019:
0020: if (! $this->IsPostBack && ! $this->IsCallBack)
0021: {
0022: $this->huge_image->Visible = $this->dane['obrazek_2_sciezka'] != 'themes/obrazki/prod/pusty.gif';
0023: $this->miniature_2->Visible = $this->dane['obrazek_2_sciezka'] != 'themes/obrazki/prod/pusty.gif';
0024: $this->miniature_3->Visible = $this->dane['obrazek_3_sciezka'] != 'themes/obrazki/prod/pusty.gif';
0025: $this->miniature_4->Visible = $this->dane['obrazek_4_sciezka'] != 'themes/obrazki/prod/pusty.gif';
0026: $this->miniature_5->Visible = $this->dane['obrazek_5_sciezka'] != 'themes/obrazki/prod/pusty.gif';
0027:
0028: $this->huge_image->ImageUrl = $this->dane['obrazek_2_sciezka'];
0029:
0030: }
0031: }
0032:
0033: public function onPreRender($param)
0034: {
#0 /home/dm70952/a13.pl/protected/pages/Bombka.php(22): PradoBase::phpErrorHandler(8, 'Undefined index...', '/home/dm70952/a...', 22, Array)
#1 /home/dm70952/a13.pl/protected/framework/pradolite.php(4187): Bombka->onInit(NULL)
#2 /home/dm70952/a13.pl/protected/framework/pradolite.php(5558): TControl->initRecursive(NULL)
#3 /home/dm70952/a13.pl/protected/framework/pradolite.php(5674): TCompositeControl->initRecursive(NULL)
#4 /home/dm70952/a13.pl/protected/framework/pradolite.php(6208): TTemplateControl->initRecursive()
#5 /home/dm70952/a13.pl/protected/framework/pradolite.php(6203): TPage->processNormalRequest(Object(THtmlWriter))
#6 /home/dm70952/a13.pl/protected/framework/pradolite.php(8323): TPage->run(Object(THtmlWriter))
#7 /home/dm70952/a13.pl/protected/framework/pradolite.php(8289): TPageService->runPage(Object(Bombka), Array)
#8 /home/dm70952/a13.pl/protected/framework/pradolite.php(9269): TPageService->run()
#9 /home/dm70952/a13.pl/protected/framework/pradolite.php(8871): TApplication->runService()
#10 /home/dm70952/a13.pl/index.php(22): TApplication->run()
#11 {main}