📄 maintain_blog.tpl.php
字号:
<?php// -----------------------------------------------------------------------// This file is part of AROUNDMe// // Copyright (C) 2003-2007 Barnraiser// http://www.barnraiser.org/// info@barnraiser.org// // This program is free software: you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation, either version 3 of the License, or// (at your option) any later version.// // This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.// // You should have received a copy of the GNU General Public License// along with this program; see the file COPYING.txt. If not, see// <http://www.gnu.org/licenses/>// -----------------------------------------------------------------------?><form action="index.php?t=maintain_blog&c=blog&ws=<?php echo $_REQUEST['ws']; ?>&wp=<?php echo $_REQUEST['wp']; ?>" method="POST"><div id="am_core_area"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td width="240" valign="top"> <div class="box"> <h1><?php echo $lang['hdr_archived'];?></h1> <p> <?php echo $lang['txt_archived'];?><br /> </p> </div> <div class="box"> <h1><?php echo $lang['hdr_webpages'];?></h1> <p> <?php echo $lang['txt_webpages'];?><br /> </p> </div> </td> <td width="30" style="border-right: 1px solid #333"> <img src="<?php echo $template_path_core_core;?>img/pixel.png" width="30" height="1" border="0" alt="" /><br /> </td> <td width="40"> <img src="<?php echo $template_path_core_core;?>img/pixel.png" width="40" height="1" border="0" alt="" /><br /> </td> <td valign="top"> <h1><?php echo $lang['hdr_maintain_blogs'];?></h1> <?php if (isset($blogs)) { ?> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td valign="top"> <b><?php echo $lang['txt_label_title'];?></b><br /> </td> <td valign="top"> <b><?php echo $lang['txt_label_created'];?></b><br /> </td> <td valign="top"> <b><?php echo $lang['txt_label_webpage'];?></b><br /> </td> <td valign="top"> <b><?php echo $lang['txt_label_archived'];?></b><br /> </td> </tr> <?php foreach ($blogs as $key => $i): ?> <tr> <td valign="top"> <a href="<?php echo $i['link'];?>"><?php echo $i['blog_title'];?></a><br /> </td> <td valign="top"> <?php echo am_strftime($i['blog_create_datetime']);?><br /> </td> <td valign="top"> <?php if (isset($pages)) { ?> <select name="blog_webpage_id[<?php echo $i['blog_id'];?>]"> <?php foreach ($pages as $pkey => $p): $selected = ""; if ($p['webpage_id'] == $i['webpage_id']) { $selected = " selected=\"selected\""; } ?> <option value="<?php echo $p['webpage_id'];?>"<?php echo $selected;?>><?php echo $p['webpage_name'];?></option> <?php endforeach; ?> </select> <?php }?> </td> <td valign="top"> <?php $selected = ""; if (!empty($i['blog_archived'])) { $selected = " checked=\"checked\""; } ?> <input type="checkbox" name="blog_archived[<?php echo $i['blog_id'];?>]" value="1"<?php echo $selected;?> /><br /> <input type="hidden" name="blog_ids[]" value="<?php echo $i['blog_id'];?>" /> </td> </tr> <?php endforeach; ?> </table> <p align="right"> <input type="submit" name="update_blogs" value="<?php echo $lang['sub_save'];?>" class="input_submit" /><br /> </p> <?php }?> </td> </tr> </table></div></form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -