📄 content.php
字号:
<?phpinclude_once("config.php");$query = $_SERVER['PHP_SELF'];//gzs/content.php/2006/06/03/40294-0.html $query = explode("content.php/",$query); //2006/06/03/40294-0.html $query = explode(".",$query[1]); //2006/06/03/40294-0$fileroot = str_replace("/","_",$query[0]);$filetitlename = $fileroot.".php";$filecontent = $fileroot.".txt";if(!file_exists("data/content/title/$filetitlename")){get_content_title($fileroot);}include_once("data/content/title/$filetitlename");include_once("header.php");?><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable"> <tr> <td width="70%" height="393" valign="top" class="Main"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="guide"> <tr> <td><a href='<?=$webroot?>' class='guide_menu'>>首页</a> -> <?=$nav?> <?=$content_title?></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="dragTable" id="viewarticle"> <tr> <td class="middle"> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:8px;"> <tr> <td style="color:#990000;font-weight:bold;font-size:14px;" align="center"><?=$content_title?></td> </tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:8px;border-bottom:1px solid #ccc;"> <tr> <td align="center"> [ 录入者:笨小孩 | | 作者:未知 | 来源:网络 ] </td> </tr> </table> <table class="content" width="100%" cellspacing="0" cellpadding="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'> <tr> <td align="left" class="content_word"> <span style="float:right"> <script type="text/javascript"><!--google_ad_client = "pub-5963083799350359";//336x280, 创建于 07-11-14google_ad_slot = "0433714711";google_ad_width = 336;google_ad_height = 280;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> </span> <?php if(!file_exists("data/content/data/$filecontent")){get_content($fileroot);} include_once("data/content/data/$filecontent"); ?> </td> </tr> <tr> <td align="left"> <hr> <font color="red"><?=$content_title?></font>的相关信息 <hr> <a href="http://www.baidu.com/s?wd=<?=$content_title?>" target="_blank">在百度中查找更多关于<b><?=$content_title?></b>的信息</a></br> <a href="http://www.yahoo.cn/s?p=<?=$content_title?>&v=web" target="_blank">在雅虎全能搜索中查找更多关于<b><?=$content_title?></b>的信息</a></br> <a href="http://www.google.cn/search?hl=zh-CN&q=<?=$content_title?>" target="_blank">在谷歌中查找更多关于<b><?=$content_title?></b>的信息</a></br> <hr> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word;'> <tr> <td width="98%" class="head"style="margin-bottom:8px;border-bottom:1px solid #ccc;" align="left"> 最近更新 </td> </tr> <tr> <td width="98%" align="left"> <ul> <?php if(!file_exists("data/10new.txt")){get_lastnew(10);} include_once("data/10new.txt"); ?> </ul> </td> </tr> </table> </td> </tr> <tr> <td class="foot"> <h3 class="L"></h3> <h3 class="R"></h3> </td> </tr> </table> </td> <td width="30%" height="393" valign="top" class="Side" align="right"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable" id="sonSortName"> <tr> <td class="head" height="19"> <h3 class="L"></h3> <span class="TAG">近期热点</span> <h3 class="R"></h3> </td> </tr> <tr> <td class="middle" align="left"> <ul> <?php if(!file_exists("data/13jqrd.txt")){get_jqrd(13);} include_once("data/13jqrd.txt"); ?></ul> </td> </tr> <tr> <td class="foot"> <h3 class="L"></h3> <h3 class="R"></h3> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable"> <tr> <td class="head" height="19"> <h3 class="L"></h3> <span class="TAG">今日热点</span> <h3 class="R"></h3> </td> </tr> <tr> <td class="middle" align="left"> <ul> <?php if(!file_exists("data/13jrrd.txt")){get_jrrd(13);} include_once("data/13jrrd.txt"); ?></ul> </td> </tr> <tr> <td class="foot"> <h3 class="L"></h3> <h3 class="R"></h3> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable"> <tr> <td class="head"> <h3 class="L"></h3> <span class="TAG">昨日热点</span> <h3 class="R"></h3> </td> </tr> <tr> <td class="middle" valign="top" align="left"> <ul> <?php if(!file_exists("data/13zrrd.txt")){get_zrrd(13);} include_once("data/13zrrd.txt"); ?></ul> </td> </tr> <tr> <td class="foot"> <h3 class="L"></h3> <h3 class="R"></h3> </td> </tr> </table> </td> </tr></table></td> </tr></table><?phpinclude_once("footer.html");?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -