Skip to content

Instantly share code, notes, and snippets.

@xiangzhuyuan
Created April 3, 2013 10:40
Show Gist options
  • Save xiangzhuyuan/5300136 to your computer and use it in GitHub Desktop.
Save xiangzhuyuan/5300136 to your computer and use it in GitHub Desktop.
html
<html><head>
<meta charset="utf-8&quot;"> <title>
CakePHP: the rapid development php framework:
Posts </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"><link rel="stylesheet" type="text/css" href="/css/cake.generic.css"><link type="text/css" rel="stylesheet" href="chrome-extension://imamemhokkdleoelohnmkimbmpfglcil/css/capture.css"></head>
<body huaban_screen_capture_injected="true">
<div id="container" style="
">
<div id="header">
<h1>CakePHP 学习demo</h1>
</div>
<div id="content" style="
height: 660px;
position: relative;
">
<div id="left" style="
width: 250px;
position: absolute;
">
<h3>日常基本操作</h3>
<ul>
<li><a href="">新购设备录入</a></li>
<li><a href="">电脑设备浏览</a></li>
<li><a href="">电脑设备报修</a></li>
<li><a href="">设备维修结单</a></li>
<li><a href="">维修详细情况</a></li>
<li><a href="">电脑设备报废</a></li>
<li><a href="">电脑转科调配</a></li>
<li><a href="">电脑调配查询</a></li>
<li><a href="">电脑维修统计</a></li>
<li><a href="">电脑设备统计</a></li>
<li><a href="">设备汇总统计</a></li>
<li><a href="">设备台帐打印</a></li>
</ul>
 
<h3>系统维护操作</h3>
<ul>
<li><a href="">品牌数据维护</a></li>
<li><a href="">设备类型维护</a></li>
<li><a href="">使用单位维护</a></li>
<li><a href="">使用部门维护</a></li>
<li><a href="">已经报废设备</a></li>
<li><a href="">设备数据导出</a></li>
<li><a href="">修改用户密码</a></li>
<li><a href="">修改用户资料 </a></li>
 
</ul>
 
<ul>
<li><a href="">
退出本系统 </a></li>
 
</ul>
 
</div>
<div id="right" style="
margin-left: 260px;
position: absolute;
width: 800px;
">
<!-- File: /app/View/Posts/index.ctp -->
<h1>Blog posts</h1>
<p><a href="/posts/add">Add Post</a></p>
<table>
<tbody><tr>
<th>Id</th>
<th>Title</th>
<th>Actions</th>
<th>Created</th>
</tr>
<!-- Here's where we loop through our $posts array, printing out post info -->
<tr>
<td>1</td>
<td>
<a href="/posts/view/1">The title</a> </td>
<td>
<form action="/posts/delete/1" name="post_515bfb9f7550a" id="post_515bfb9f7550a" style="display:none;" method="post"><input type="hidden" name="_method" value="POST"></form><a href="#" onclick="if (confirm('Are you sure?')) { document.post_515bfb9f7550a.submit(); } event.returnValue = false; return false;">Delete</a> <a href="/posts/edit/1">Edit</a> </td>
<td>
2013-04-02 13:58:02 </td>
</tr>
<tr>
<td>2</td>
<td>
<a href="/posts/view/2">A title once again</a> </td>
<td>
<form action="/posts/delete/2" name="post_515bfb9f756ab" id="post_515bfb9f756ab" style="display:none;" method="post"><input type="hidden" name="_method" value="POST"></form><a href="#" onclick="if (confirm('Are you sure?')) { document.post_515bfb9f756ab.submit(); } event.returnValue = false; return false;">Delete</a> <a href="/posts/edit/2">Edit</a> </td>
<td>
2013-04-02 13:58:02 </td>
</tr>
<tr>
<td>3</td>
<td>
<a href="/posts/view/3">Title strikes back</a> </td>
<td>
<form action="/posts/delete/3" name="post_515bfb9f757f9" id="post_515bfb9f757f9" style="display:none;" method="post"><input type="hidden" name="_method" value="POST"></form><a href="#" onclick="if (confirm('Are you sure?')) { document.post_515bfb9f757f9.submit(); } event.returnValue = false; return false;">Delete</a> <a href="/posts/edit/3">Edit</a> </td>
<td>
2013-04-02 13:58:02 </td>
</tr>
<tr>
<td>4</td>
<td>
<a href="/posts/view/4">a?</a> </td>
<td>
<form action="/posts/delete/4" name="post_515bfb9f7595d" id="post_515bfb9f7595d" style="display:none;" method="post"><input type="hidden" name="_method" value="POST"></form><a href="#" onclick="if (confirm('Are you sure?')) { document.post_515bfb9f7595d.submit(); } event.returnValue = false; return false;">Delete</a> <a href="/posts/edit/4">Edit</a> </td>
<td>
2013-04-02 17:28:15 </td>
</tr>
</tbody></table> </div>
</div>
<div id="footer">
<a href="http://www.cakephp.org/" target="_blank"><img src="/img/cake.power.gif" alt="CakePHP: the rapid development php framework" border="0"></a> </div>
</div>
<table class="cake-sql-log" id="cakeSqlLog_1364982687515bfb9f7ffea7_68328283" summary="Cake SQL Log" cellspacing="0"><caption>(default) 1 query took 0 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>SELECT `Post`.`id`, `Post`.`title`, `Post`.`body`, `Post`.`created`, `Post`.`modified` FROM `shuhuaku`.`posts` AS `Post` WHERE 1 = 1</td><td></td><td style="text-align: right">4</td><td style="text-align: right">4</td><td style="text-align: right">0</td></tr>
</tbody></table>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment