Source

myswap / 1 / code / App / Tpl / default / Public / swap.html

Full commit
<html>
<head>
<include file="Public:css" />
  <title>myswap</title>

</head>
<body>
<include file="Public:header" />


<div class="container">

<if condition="$friends[0] ">
<div class="span-3 box left">
<h2>Friends</h2>
<foreach name="friends" item="friend" >
	<a class="button" href="/{$friend}">{$friend}</a>
	<br />
</foreach>
</div>
</if>

<div class="span-15">
<form action="/{$settings.username}/addswap" class="new_note" method="post">
<fieldset>
<legend class="alt">myswap</legend> 
    <textarea class=" span-15" cols="50" rows="20"  id="note_body" name="content" ></textarea>
    <div class="span-5 colborder "><span >password</span></div>
    <div class="span-5 colborder "><span >alias</span></div>
    <div class="span-5 colborder"><input  type="password"   name="password"   /></div>
    <div class="span-5 colborder"><input  type="text"   name="alias"   /></div>

    <div class="span-5 colborder">
      <button type="submit" class="btn primary">提交</button>
    </div>


</fieldset>
</form>

<foreach name="SWAPS" item="SWAP " >
	<fieldset>
		<legend>
			<h2>
				<a class=" " href="/{$settings.username}/swap/id/{$SWAP.swap_id}">
					{$SWAP.swap_id}
				</a>
			</h2>
			<h2>
				<a class=" " href="/{$settings.username}/swap/id/{$SWAP.swap_id}/texarea/true">
					{$SWAP.swap_id}|textarea
				</a>
			</h2>
		</legend>
	<pre class="">{$SWAP.content|htmlspecialchars=###}</pre>
	</fieldset>
</foreach>
</div>


</div>
<include file="Public:footer" />

</body>
</html>