Location: PHPKode > projects > Uchome and Discuz > template/default/magic_gift.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>
	<div class="toolly popupmenu_inner" 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 class="magic_info">
				<p class="gray">$magic[description]</p>
				<p>Remaining Props: $usermagic[count]</p>
					<h4>Credit Setting</h4>
						At present You have£º$space[credit] Credit
					<label for="credit">Total Credit£º</label>
					<input type="text" name="credit" id="credit" size="4" maxlength="4">
					<font class="gray">should be more then preset credits</font>
					<br />
					<label for="chunk">Detailed credit for each part£º</label>
					<input type="text" name="chunk" id="chunk" size="4" maxlength="3">
					<font class="gray">should not exceed $magic[custom][maxchunk]</font>
					<!--{if $leftcredit}-->
					<p style="color:#00663A; font-size:11px; padding:10px 0;">
						Notice£ºYour buried/missing packet still have $leftcredit credit£¬after this stting you will get back the credits
				<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="button" name="usesubmit_btn" value="Use" class="submit" onclick="ajaxpost('magicuse_form_$mid', '', 1000)" />


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