$objLayer = new layer(); $objLayer->position = 'absolute; top: 60px; right: 10px; bottom: 110px; left: 10px'; $objLayer->zIndex = '2; overflow-y:scroll; overflow-x:hidden'; $objLayer->addToStr($string); $str .= $objLayer->show(); $objHeading = new htmlheading(); $objHeading->str = $uploadFile; $objHeading->type = 1; $string = $objHeading->show(); $this->objUpload->formaction = $this->uri(array('action' => 'selectfileuploads')); $this->objUpload->numInputs = 1; $mode = new hiddeninput('mode', 'selectimagewindow'); $name = new hiddeninput('name', $this->getParam('name')); $context = new hiddeninput('context', $this->getParam('context')); $workgroup = new hiddeninput('workgroup', $this->getParam('workgroup')); $restrict = new hiddeninput('restrict', $this->getParam('restrict')); $value = new hiddeninput('value', $this->getParam('value')); $this->objUpload->formExtra = $mode->show() . $name->show() . $context->show() . $workgroup->show() . $value->show() . $restrict->show(); $string .= $this->objUpload->show(); $objLayer = new layer(); $objLayer->position = 'absolute; left: 10px; right: 10px; bottom: 10px'; $objLayer->height = '105px'; $objLayer->zIndex = '3'; $objLayer->addToStr($string); $str .= $objLayer->show(); $objLayer = new layer(); $objLayer->cssClass = "featurebox"; $objLayer->position = 'absolute; top: 0px; right: 0px; bottom: 0px; left: 0px'; $objLayer->zIndex = '100'; $objLayer->addToStr($str); echo $objLayer->show();