$bbcode_tpl['iphone_case'] = <<<HTML
	<div id="iphone_container">
		<img style="width: 163px; height: 374px;" src="$1">
		<div id="iphone_case"></div>
	</div>
HTML;

"#\[iphone\]($img_url_exp)\[/iphone\]s*#i"                     => $tpl['iphone_case'],


<input type="button" value="iphone_case" name="codeiphone_case" title="iPhone" />

bbcode.addTag("codeiphone_case", "iphone", null, "", ctrl);

div#iphone_container { width: 310px; float: right; }
div#iphone_container img { position: absolute; margin: 9px 0 0 40px; }
div#iphone_case {background: url(/images/iphone.png);
position: relative;z-index: 5;width: 220px;height: 400px;}