Source

myswap / 1 / code / App / Runtime / Cache / 743656c5e3b5f8b2a2dbd6adfde48a72.php

Full commit
<?php if (!defined('THINK_PATH')) exit();?><html>
<head>
<link rel="stylesheet" href="/Public/css/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="/Public/css/print.css" type="text/css" media="print">
<link rel="stylesheet" href="/Public/css/plugins/buttons/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="/Public/css/coustom.css" type="text/css" media="screen, projection">

  <title>myswap</title>

</head>
<body>

<hr class="space"/>

<div class="span-4 ">
<a href="/<?php echo ($settings["username"]); ?>">
  <h1>myswap</h1>
</a>
</div>
<div class="span-9 ">
	<?php if(($msg_error) ): ?><h1 class="error"><?php echo ($msg_error); ?></h1><?php endif; ?>
	<?php if(($msg_success) ): ?><h1 class="success"><?php echo ($msg_success); ?></h1><?php endif; ?>
	<?php if(($msg_added) ): ?><h1 class="added"><?php echo ($msg_added); ?></h1><?php endif; ?>
</div>
</div>

<?php if(($settings) ): ?><div class="span-3  right ">
	<a class="button" href="/<?php echo ($settings["username"]); ?>/setting">setting</a>
</div><?php endif; ?>
<div class="span-3  right ">
	<a class="button" href="/signup">signup</a>
</div>


<hr />
<hr class="space"/>



<div class="container">

<?php if($friends[0] ): ?><div class="span-3 box left">
<h2>Friends</h2>
<?php if(is_array($friends)): foreach($friends as $key=>$friend): ?><a class="button" href="/<?php echo ($friend); ?>"><?php echo ($friend); ?></a>
	<br /><?php endforeach; endif; ?>
</div><?php endif; ?>

<div class="span-15">
<form action="/<?php echo ($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>

<?php if(is_array($SWAPS)): foreach($SWAPS as $key=>$SWAP ): ?><fieldset>
		<legend>
			<h2>
				<a class=" " href="/<?php echo ($settings["username"]); ?>/swap/id/<?php echo ($SWAP["swap_id"]); ?>">
					<?php echo ($SWAP["swap_id"]); ?>
				</a>
			</h2>
			<h2>
				<a class=" " href="/<?php echo ($settings["username"]); ?>/swap/id/<?php echo ($SWAP["swap_id"]); ?>/texarea/true">
					<?php echo ($SWAP["swap_id"]); ?>|textarea
				</a>
			</h2>
		</legend>
	<pre class=""><?php echo (htmlspecialchars($SWAP["content"])); ?></pre>
	</fieldset><?php endforeach; endif; ?>
</div>


</div>


</body>
</html>