Lines Matching refs:this

214 		$this->_fullwidth = $maxwidth;
215 $this->_padding = $padding;
216 if ($imagetemplate != '') $this->_imagetemplate = $imagetemplate;
250 (strtolower($this->_getFileExt($filename)) != "jpg") &&
251 (strtolower($this->_getFileExt($filename)) != "jpeg") &&
252 (strtolower($this->_getFileExt($filename)) != "gif") &&
253 (strtolower($this->_getFileExt($filename)) != "png")
273 $this->_numimages++;
288 $this->images[] = $opts;
296 return str_replace('[image]',$name,str_replace('[size]',$size,$this->_imagetemplate));
338 $i['style'] = "margin: ".$this->_padding."px padding: 0px;";
391 $s = floor($this->_fullwidth - ($this->_padding * 2));
394 if ( !$this->Img )
395 …$html .= "<div style=\"float: left; clear: both;\">".$this->insertImage(''.$s,$this->images[$i1]['…
397 …$html .= "<div style=\"float: left; clear: both;\">".$this->insertImg(''.$s,$this->images[$i1])."<…
410 $a = $this->images[$i1]['ratio'];
411 $b = $this->images[$i2]['ratio'];
412 $t = $this->_fullwidth;
413 $p = $this->_padding;
419 if ( !$this->Img ) {
420 …$html .= "<div style=\"float: left; clear: both;\">".$this->insertImage('h'.$h1,$this->images[$i1]…
421 …$html .= "<div style=\"float: left;\">".$this->insertImage('h'.$h1,$this->images[$i2]['url'])."</d…
423 …$html .= "<div style=\"float: left; clear: both;\">".$this->insertImg('h'.$h1,$this->images[$i1]).…
424 $html .= "<div style=\"float: left;\">".$this->insertImg('h'.$h1,$this->images[$i2])."</div>\n";
438 $a = $this->images[$i3]['ratio'];
439 $b = $this->images[$i1]['ratio'];
440 $c = $this->images[$i2]['ratio'];
441 $t = $this->_fullwidth;
442 $p = $this->_padding;
455 if ( !$this->Img )
457 …$html .= "<div style=\"float: left; clear: both;\">".$this->insertImage('h'.$h1,$this->images[$i1]…
458 …$html .= "<div style=\"float: left;\">".$this->insertImage('h'.$h1,$this->images[$i3]['url'])."</d…
459 …$html .= "<div style=\"float: left;\">".$this->insertImage('h'.$h1,$this->images[$i2]['url'])."</d…
461 …$html .= "<div style=\"float: left; clear: both;\">".$this->insertImg('h'.$h1,$this->images[$i1]).…
462 $html .= "<div style=\"float: left;\">".$this->insertImg('h'.$h1,$this->images[$i3])."</div>\n";
463 …$html .= "<div style=\"float: left;\">".$this->insertImg('h'.$h1,$this->images[$i2])."</div>\n"; …
476 $a = $this->images[$i3]['ratio'];
477 $b = $this->images[$i1]['ratio'];
478 $c = $this->images[$i2]['ratio'];
479 $t = $this->_fullwidth;
480 $p = $this->_padding;
509 if ( !$this->Img )
511 …$html .= "<div style=\"float: right; clear: both;\">".$this->insertImage('w'.$w2,$this->images[$i3…
512 …$html .= "<div style=\"float: left;\">".$this->insertImage('w'.$w1,$this->images[$i1]['url'])."</d…
513 …$html .= "<div style=\"float: left;\">".$this->insertImage('w'.$w1,$this->images[$i2]['url'])."</d…
515 …$html .= "<div style=\"float: right; clear: both;\">".$this->insertImg('w'.$w2,$this->images[$i3])…
516 $html .= "<div style=\"float: left;\">".$this->insertImg('w'.$w1,$this->images[$i1])."</div>\n";
517 …$html .= "<div style=\"float: left;\">".$this->insertImg('w'.$w1,$this->images[$i2])."</div>\n"; …
530 $a = $this->images[$i1]['ratio'];
531 $b = $this->images[$i2]['ratio'];
532 $c = $this->images[$i3]['ratio'];
533 $d = $this->images[$i4]['ratio'];
534 $t = $this->_fullwidth;
535 $p = $this->_padding;
554 if ( !$this->Img )
556 …$html .= "<div style=\"float: left; clear: both;\">".$this->insertImage('h'.$h1,$this->images[$i1]…
557 …$html .= "<div style=\"float: left;\">".$this->insertImage('h'.$h1,$this->images[$i2]['url'])."</d…
558 …$html .= "<div style=\"float: left;\">".$this->insertImage('h'.$h1,$this->images[$i3]['url'])."</d…
559 …$html .= "<div style=\"float: left;\">".$this->insertImage('h'.$h1,$this->images[$i4]['url'])."</d…
561 …$html .= "<div style=\"float: left; clear: both;\">".$this->insertImg('h'.$h1,$this->images[$i1]['…
562 $html .= "<div style=\"float: left;\">".$this->insertImg('h'.$h1,$this->images[$i2])."</div>\n";
563 $html .= "<div style=\"float: left;\">".$this->insertImg('h'.$h1,$this->images[$i3])."</div>\n";
564 $html .= "<div style=\"float: left;\">".$this->insertImg('h'.$h1,$this->images[$i4])."</div>\n";
579 $a = $this->images[$i4]['ratio'];
580 $b = $this->images[$i1]['ratio'];
581 $c = $this->images[$i2]['ratio'];
582 $d = $this->images[$i3]['ratio'];
583 $t = $this->_fullwidth;
584 $p = $this->_padding;
615 if ( !$this->Img )
617 …$html .= "<div style=\"float: right; clear: both;\">".$this->insertImage('w'.$w2,$this->images[$i4…
618 …$html .= "<div style=\"float: left;\">".$this->insertImage('w'.$w1,$this->images[$i1]['url'])."</d…
619 …$html .= "<div style=\"float: left;\">".$this->insertImage('w'.$w1,$this->images[$i2]['url'])."</d…
620 …$html .= "<div style=\"float: left;\">".$this->insertImage('w'.$w1,$this->images[$i3]['url'])."</d…
622 …$html .= "<div style=\"float: right; clear: both;\">".$this->insertImg('w'.$w2,$this->images[$i4])…
623 $html .= "<div style=\"float: left;\">".$this->insertImg('w'.$w1,$this->images[$i1])."</div>\n";
624 …$html .= "<div style=\"float: left;\">".$this->insertImg('w'.$w1,$this->images[$i2])."</div>\n"; …
625 $html .= "<div style=\"float: left;\">".$this->insertImg('w'.$w1,$this->images[$i3])."</div>\n";
634 $this->images = $this->_transpose($this->images);
635 …ray_multisort($this->images['format'], SORT_STRING, SORT_ASC, $this->images['img'], $this->images[…
636 $this->images = $this->_transpose($this->images);
640 foreach ($this->images as $i) {
646 …style=\"width: ".$this->_fullwidth."px;" . (!empty($this->images[$this->_numimages-1]['img']['floa…
651 if ($this->_numimages == 1) {
652 $html .= $this->get1a(0);
656 if ($this->_numimages == 2) {
657 $html .= $this->get2a(0,1);
661 if ($this->_numimages == 3) {
663 $html .= $this->get3b(0,1,2);
667 $html .= $this->get3b(0,1,2);
672 if ($this->_numimages == 4) {
675 $html .= $this->get4b(0,1,2,3);
677 $html .= $this->get3a(1,2,3);
678 $html .= $this->get1a(0);
680 $html .= $this->get2a(2,0);
681 $html .= $this->get2a(1,3);
686 if ($this->_numimages == 5) {
688 $html .= $this->get3a(0,1,2);
689 $html .= $this->get2a(3,4);
691 $html .= $this->get3b(0,1,4);
692 $html .= $this->get2a(2,3);
694 $html .= $this->get3b(0,1,4);
695 $html .= $this->get2a(2,3);
697 $html .= $this->get3b(2,3,4);
698 $html .= $this->get2a(0,1);
700 $html .= $this->get3b(2,3,4);
701 $html .= $this->get2a(0,1);
703 $html .= $this->get2a(4,0);
704 $html .= $this->get3a(1,2,3);
709 if ($this->_numimages == 6) {
711 $html .= $this->get2a(0,1);
712 $html .= $this->get2a(2,3);
713 $html .= $this->get2a(4,5);
715 $html .= $this->get4b(0,1,2,5);
716 $html .= $this->get2a(3,4);
718 $html .= $this->get3b(0,1,4);
719 $html .= $this->get3b(2,3,5);
721 $html .= $this->get3b(0,1,5);
722 $html .= $this->get3b(2,3,4);
724 $html .= $this->get3b(0,2,4);
725 $html .= $this->get3b(1,3,5);
727 $html .= $this->get3b(0,1,5);
728 $html .= $this->get3a(2,3,4);
730 $html .= $this->get3a(3,4,5);
731 $html .= $this->get3a(0,1,2);
736 if ($this->_numimages == 7) {
738 $html .= $this->get3a(0,1,2);
739 $html .= $this->get2a(3,4);
740 $html .= $this->get2a(5,6);
742 $html .= $this->get4b(0,1,2,6);
743 $html .= $this->get3a(3,4,5);
745 $html .= $this->get4b(0,1,2,5);
746 $html .= $this->get3b(3,4,6);
748 $html .= $this->get3b(0,1,5);
749 $html .= $this->get4b(2,3,4,6);
751 $html .= $this->get3b(0,1,5);
752 $html .= $this->get4b(2,3,4,6);
754 $html .= $this->get3a(4,5,6);
755 $html .= $this->get2a(0,1);
756 $html .= $this->get2a(2,3);
758 $html .= $this->get3a(0,1,2);
759 $html .= $this->get4b(3,4,5,6);
761 $html .= $this->get4a(0,1,2,3);
762 $html .= $this->get3b(4,5,6);
767 if ($this->_numimages >= 8) {
774 $html .= $this->get3a(0,1,2);
775 $html .= $this->get2a(3,4);
776 $html .= $this->get3a(5,6,7);
778 $html .= $this->get4b(0,1,2,7);
779 $html .= $this->get2a(3,4);
780 $html .= $this->get2a(5,6);
782 $html .= $this->get4b(0,1,2,6);
783 $html .= $this->get4b(3,4,5,7);
785 $html .= $this->get4b(0,1,2,6);
786 $html .= $this->get4b(3,4,5,7);
788 $html .= $this->get4b(0,1,2,6);
789 $html .= $this->get4b(3,4,5,7);
791 $html .= $this->get3a(4,5,6);
792 $html .= $this->get2a(0,1);
793 $html .= $this->get3a(2,3,7);
795 $html .= $this->get3b(5,6,7);
796 $html .= $this->get2a(0,1);
797 $html .= $this->get3b(2,3,4);
799 $html .= $this->get3b(5,6,7);
800 $html .= $this->get2a(0,1);
801 $html .= $this->get3b(2,3,4);
803 $html .= $this->get4a(0,1,2,3);
804 $html .= $this->get4a(4,5,6,7);
806 $html .= $this->get3b(5,4,7);
807 $html .= $this->get2a(1,0);
808 $html .= $this->get3b(2,3,6);