Location: PHPKode > projects > Uchome and Discuz > template/default/magic_superstar.htm
<!--{template header}-->

<!--{if $op == "use"}-->

	<!--{if !$frombuy}-->
	<h1>The use of props</h1>
	<a class="float_del" title="Close" href="javascript:hideMenu();">Close</a>
	<!--{/if}-->
	<div class="toolly" id="__magicuse_form_$mid">
		<form method="post" id="magicuse_form_$mid" action="magic.php?mid=$mid&idtype=$idtype&id=$id">
			<div class="magic_img">
				<img src="image/magic/{$mid}.gif" alt="$magic[name]" />
			</div>
			<div class="magic_info">
				<h3>$magic[name]</h3>
				<p class="gray">$magic[description]</p>
				<p>Remaining Props: $usermagic[count]</p>
				<div id="superstar" class="magicstar">
					<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="200" height="250">
					<param name="movie" value="image/magic/star/1.swf" />
					<param name="quality" value="high" />
					<param NAME="wmode" value="transparent">
					<embed src="image/magic/star/1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"  wmode="transparent" width="200" height="250"></embed>
					</object>
				</div>
			
				<div class="magicavatar"><!--{avatar($space[uid],big)}--></div>
				
				<br />
				
				<div>
					<h4>Select Style</h4>
					<ul>
						<li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar1').innerHTML;$('star1').click();">
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/1.preview.gif" /></div>
							<input id="star1" type="radio" name="star" value="1" checked />
							Select
						</li>
						<li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar2').innerHTML;$('star2').click();">
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/2.preview.gif" /></div>
							<input id="star2" type="radio" name="star" value="2" />
							Select
						</li>
						<li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar3').innerHTML;$('star3').click();">
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/3.preview.gif" /></div>
							<input id="star3" type="radio" name="star" value="3" />
							Select
						</li>
						<li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar4').innerHTML;$('star4').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/4.preview.gif" /></div>
							<input id="star4" type="radio" name="star" value="4" />
							Select
						</li>
					</ul>
					<br style="clear:both;"/>
				</div>
				<p class="btn_line">
					<input type="hidden" name="formhash" value="<!--{eval echo formhash()}-->" />
					<input type="hidden" name="refer" value="$_SGLOBAL[refer]"/>
					<input type="hidden" name="usesubmit" value="1" />
					<input type="submit" name="usesubmit_btn" value="Use" class="submit" />
				</p>
			</div>
		</form>
	</div>
	<div id="superstar1" style="display:none;">
	<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="200" height="250">
		<param name="movie" value="image/magic/star/1.swf" />
		<param name="quality" value="high" />
		<param NAME="wmode" value="transparent">
		<embed src="image/magic/star/1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"  wmode="transparent" width="200" height="250"></embed>
	</object>
	</div>
	<div id="superstar2" style="display:none;">
	<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="200" height="250">
		<param name="movie" value="image/magic/star/2.swf" />
		<param name="quality" value="high" />
		<param NAME="wmode" value="transparent">
		<embed src="image/magic/star/2.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"  wmode="transparent" width="200" height="250"></embed>
	</object>
	</div>
	<div id="superstar3" style="display:none;">
	<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="200" height="250">
		<param name="movie" value="image/magic/star/3.swf" />
		<param name="quality" value="high" />
		<param NAME="wmode" value="transparent">
		<embed src="image/magic/star/3.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"  wmode="transparent" width="200" height="250"></embed>
	</object>
	</div>
	<div id="superstar4" style="display:none;">
	<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="200" height="250">
		<param name="movie" value="image/magic/star/4.swf" />
		<param name="quality" value="high" />
		<param NAME="wmode" value="transparent">
		<embed src="image/magic/star/4.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"  wmode="transparent" width="200" height="250"></embed>
	</object>
	</div>
<!--{/if}-->

<!--{template footer}-->
Return current item: Uchome and Discuz