www.gusucode.com > Tatter Tools 0.961 SE GB2312 简体中文版 > upload/admin/reader_setting.php
<? include("../inc_global.php"); include("../inc_function.php"); check_authority(); if ($mode == "update") { put_query(" update t3_".$dbid."_setting set read_cycle = '$read_cycle' , delete_cycle = '$delete_cycle' , show_member = '$show_member' , rssp_type = '$rssp_type' , rssp_limit = '$rssp_limit' , rssv_type = '$rssv_type' "); ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <script type="text/javascript"> alert('Rss2.0 相关设置修改完毕!\t'); location.href = 'reader_setting.php'; </script> <? exit; } admin_header(""); ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="keywords" content="TT,TatterTools,Skin,php"> <meta name="description" content="Meyu,梦游,华人中文网"> <meta name="generator" content="TatterTools中文BLOG"> <meta name="MSSmartTagsPreventParsing" content="TRUE"> <meta http-equiv="MSThemeCompatible" content="Yes"> </head> <form method=post name=reader_setting action="<?=$PHP_SELF?>"> <input type=hidden name=mode value="update"> <table cellpadding=0 cellspacing=0><tr> <td width=453 valign=top style=padding:5;padding-top:10> <table width=100% style=margin-bottom:3><tr> <td width=24 align=right><img src=../images/num_34.gif height=17></td> <td width=9><img src=../images/ver_01.gif width=9 height=17></td> <td><img src=../images/cap_34.gif height=17></td> </tr></table> <? print_content_line(); ?> <table class=content_back1 cellpadding=0 cellspacing=0 width=100%><tr> <td style=padding-top:10;padding-bottom:10> <table><tr> <td style=padding-top:2;padding-left:20>:: 各个 RSS 位址资讯</td> <td> <select name=read_cycle> <option value=0 <? if ($p_read_cycle==0) print "selected"; ?> >[取消]</option> <option value=60 <? if ($p_read_cycle==60) print "selected"; ?> >1小时</option> <option value=120 <? if ($p_read_cycle==120) print "selected"; ?> >2小时 [推荐]</option> <option value=180 <? if ($p_read_cycle==180) print "selected"; ?> >3小时</option> <option value=240 <? if ($p_read_cycle==240) print "selected"; ?> >4小时</option> <option value=300 <? if ($p_read_cycle==300) print "selected"; ?> >5小时</option> <option value=360 <? if ($p_read_cycle==360) print "selected"; ?> >6小时</option> <option value=720 <? if ($p_read_cycle==720) print "selected"; ?> >12小时</option> <option value=1440 <? if ($p_read_cycle==1440) print "selected"; ?> >24小时</option> </select> </td> <td style=padding-top:2>循环更新.</td> </tr></table> <table style=margin-top:5><tr> <td style=padding-top:2;padding-left:20>:: 所订阅的网志超过</td> <td> <select name=delete_cycle> <option value=10 <? if ($p_delete_cycle==10) print "selected"; ?> >10</option> <option value=20 <? if ($p_delete_cycle==20) print "selected"; ?> >20</option> <option value=30 <? if ($p_delete_cycle==30) print "selected"; ?> >30</option> <option value=40 <? if ($p_delete_cycle==40) print "selected"; ?> >40</option> <option value=50 <? if ($p_delete_cycle==50) print "selected"; ?> >50</option> <option value=60 <? if ($p_delete_cycle==60) print "selected"; ?> >60</option> <option value=70 <? if ($p_delete_cycle==70) print "selected"; ?> >70</option> <option value=80 <? if ($p_delete_cycle==80) print "selected"; ?> >80</option> <option value=90 <? if ($p_delete_cycle==90) print "selected"; ?> >90</option> <option value=100 <? if ($p_delete_cycle==100) print "selected"; ?> >100</option> <option value=-1 <? if ($p_delete_cycle==-1) print "selected"; ?> >∧</option> </select> </td> <td style=padding-top:2>天后自动删除.</td> </tr></table> <table style="margin:5 0 0 0"><tr> <td style="padding:2 0 0 20">:: RSS 网志清单列表 (第24项)</td> <td> <select name="show_member"> <option value="1" <? if ($p_show_member==1) print "selected"; ?> >总显示.</option> <option value="0" <? if ($p_show_member==0) print "selected"; ?> >不显示.</option> </select> </td> </tr></table> <table style="margin:5 0 10 0"><tr> <td style="padding:2 0 0 20">:: 阅读文章 (第25项) 以</td> <td> <select name="rssv_type"> <option value="1" <? if ($p_rssv_type==1) print "selected"; ?> >文章形式</option> <option value="2" <? if ($p_rssv_type==2) print "selected"; ?> >全文网页</option> </select> </td> <td style="padding:2 0 0 0">方式显示.</td> </tr></table> <table style="margin:5 0 10 0"><tr> <td style="padding:2 0 0 20">:: 前台订阅的RSS清单</td> <td> <select name="rssp_type"> <option value="0" <? if ($p_rssp_type==0) print "selected"; ?> >禁止显示(限管理员)</option> <option value="1" <? if ($p_rssp_type==1) print "selected"; ?> >部分显示(后台选定)</option> <option value="2" <? if ($p_rssp_type==2) print "selected"; ?> >完全显示(不限游客)</option> </select> </td> <td style="padding:2 0 0 0">方式显示.</td> </tr></table> <table style="margin:5 0 0 0"><tr> <td style=padding-top:2;padding-left:20>:: 前台 RSS清单页 设定选项.</td> <td> <select name=rssp_limit> <option value=1 <? if ($p_rssp_limit==1) print "selected"; ?> >一天</option> <option value=2 <? if ($p_rssp_limit==2) print "selected"; ?> >两天</option> <option value=3 <? if ($p_rssp_limit==3) print "selected"; ?> >三天</option> <option value=4 <? if ($p_rssp_limit==4) print "selected"; ?> >四天</option> <option value=5 <? if ($p_rssp_limit==5) print "selected"; ?> >五天</option> <option value=6 <? if ($p_rssp_limit==6) print "selected"; ?> >六天</option> <option value=7 <? if ($p_rssp_limit==7) print "selected"; ?> >七天</option> <option value=15 <? if ($p_rssp_limit==15) print "selected"; ?> >十五天</option> </select> </td> <td style=padding-top:2> 内的订阅网志文章资讯.</td> </tr></table> <div align=center style=margin-top:10><img class=ib src=../images/b_save.gif width=53 height=17 onclick="reader_setting.submit();"></div> </td> </tr></table> <center> <table style="margin:20 0 0 0"><tr> <td><img src="../images/sc.gif" width="16" height="16" alt=""></td> <td style="padding:2 0 0 2"><a href="#" onclick="layer_toggle(document.getElementById('sc1')); return false;">本页快捷键列表</a></td> </tr></table> <div id="sc1" style="display:none;padding:10 5 5 15"> <table><tr><td> <span class="sc" style="padding:1 4 2 4;">A</span> - 网志列表 <span class="sc" style="padding:1 4 2 4;">S</span> - 下一页 <span class="sc" style="padding:1 4 2 4;">Q</span> - 不退出返回首页 <div style="margin:10 0 0 0"></div> <span class="sc" style="padding:1 4 2 5;">R</span> - 传送引用的第一页 <span class="sc" style="padding:1 5 2 5;">T</span> - 收藏文章 <span class="sc" style="padding:1 5 2 5;">F</span> - 未读的文章 <span class="sc" style="padding:1 4 2 4;">G</span> - 脚本的文章 </td></tr></table> </div> </center> </td> </tr></table> </form> <script type="text/javascript"> function shortcut_onkeydown(evt) { evt = get_event(evt); if ((set_key = evt.keyCode) && chk_event_tag_name(evt) && !(evt.altKey || evt.ctrlKey)) { if (set_key == '70') document.location.href='reader.php?nr=1'; else if (set_key == '71') document.location.href='reader.php?sc=1'; else if (set_key == '82') parent.location.href='reader.php'; else if (set_key == '84') parent.location.href='reader.php?rc=1'; else if (set_key == '81') parent.location.href='../index.php'; } } document.onkeydown = shortcut_onkeydown; </script> <? admin_footer("") ?>