<script src="../js/integration/jquery.min.js"></script> <script src="../js/integration/bootstrap.min.js"></script> <script src="../js/integration/jquery.form.js"></script> <script src="../js/integration/json2.js"></script> <script src="js/all.js"></script> <script src="js/theme_edit.js"></script> <title>探庐者后台-编辑主题</title> </head> <?php include_once $_SERVER['DOCUMENT_ROOT'] . '/casarover/application/controllers/check_admin_login_action.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/casarover/application/models/ThemeDao.php'; $id = $_GET['id']; $row = null; if (!empty($id)) { $themeDao = new ThemeDao(); $row = $themeDao->getById($id); } ?> <body> <div id="container"> <!-- nav bar start --> <?php include 'navigator.php'; ?> <input type="hidden" id="page" value="home"/> <!-- nav bar end --> <h3>主题编辑</h3> <form id="theme_form" method="post" action="../../application/controllers/theme_action.php?action=edit"> <input type="hidden" id="id" name="id" value="<?php
</a> <a href="theme_list.php?deleted=1"> <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>回收站 </a> </div> <table class="table table-hover"> <tr> <th>序号</th> <th>名称</th> <th>简介</th> <th>更新者</th> <th>更新时间</th> <th>操作</th> </tr> <?php $themeDao = new ThemeDao(); $query = $themeDao->getAll($_GET['deleted']); $number = 0; while ($row = mysql_fetch_array($query)) { $number++; ?> <tr> <td><?php echo $number; ?> </td> <td><?php echo $row['name']; ?> </td> <td><?php