diff options
author | Chris Xiong <chirs241097@gmail.com> | 2024-02-17 20:58:22 -0500 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2024-02-17 20:58:22 -0500 |
commit | 9631f84cb335c9b2ca01f9ee1ba7a8d4d6858972 (patch) | |
tree | f42092d00cb5f483879b57bc0824eac6cf019b45 /blog/sbs_1/dbloglist.php | |
parent | 0c83b0e9dd125e0d4565af85317fff6cee7b4428 (diff) | |
download | web-9631f84cb335c9b2ca01f9ee1ba7a8d4d6858972.tar.xz |
Drop deprecated stuff in the blog directory.
Diffstat (limited to 'blog/sbs_1/dbloglist.php')
-rw-r--r-- | blog/sbs_1/dbloglist.php | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/blog/sbs_1/dbloglist.php b/blog/sbs_1/dbloglist.php deleted file mode 100644 index c2bd137..0000000 --- a/blog/sbs_1/dbloglist.php +++ /dev/null @@ -1,75 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -<meta http-equiv="expires" content="Friday 24 October 1997 09:30 GMT"> -<meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Chrisoft::Development Blog</title> - <link rel=stylesheet href='../common.css' type='text/css'> - <link rel=stylesheet href='extras.css' type='text/css'> - <script type="text/javascript"> -function ol() -{ -if( navigator.userAgent.match(/Android/i) - || navigator.userAgent.match(/webOS/i) - || navigator.userAgent.match(/iPhone/i) - || navigator.userAgent.match(/iPad/i) - || navigator.userAgent.match(/iPod/i) - || navigator.userAgent.match(/BlackBerry/i) - || navigator.userAgent.match(/Windows Phone/i) - ) - document.getElementById("tab").style.width="96%"; -} - </script> -</head> -<body onload="ol()"> - <table id="tab" border="0" style="width:70%;margin:auto;"> - <tr> - <td class="CTitle" style="font-size:2em;" colspan="2"> - <a href="../">Chrisoft</a>::Development Blog - </td> - </tr> - <tr> - <td class="TText" colspan="2" style="padding:10px;"> - <div style="font-size:200%">Deprecated. The new blog system is available <a href="/blog">here</a>.</div> - Development blog.<br> - Most posts here are in English... - </td> - </tr> - <tr><td class="TText" colspan="2"> - <?php - $files=scandir("/var/www/html/blog/content",1); - for($i=0,$c=count($files);$i<$c;$i++) - { - if(!(strstr($files[$i],"txt")))continue; - if(strstr($files[$i],"swp"))continue; - $fn=sprintf("/var/www/html/blog/content/%s",$files[$i]); - $handle=fopen($fn, "r"); - $title="";$date="";$tags=""; - if($handle) - { - $title=fgets($handle,4096); - $date=fgets($handle,4096); - $tags=fgets($handle,4096); - fclose($handle); - } - if(strstr($tags,"devel")) - { - echo "<tr><td class=\"TText\" style=\"width:50%;\">"; - $cur=sprintf("<a href=\"./dblogreader.php?p=%s\">%s</a>",substr($files[$i],0,strlen($files[$i])-4),$title); - echo $cur; - echo "</td><td class=\"TText\" style=\"width:50%;\">"; - echo $date; - echo "</td></tr>"; - } - } - ?> - </td></tr> - <tr> - <td class="TText" colspan="2" style="padding:10px;text-align:center;"> - Proudly powered by SBS <reduced>(the stupid blogging system)</reduced>.<br> - Content licensed under CC BY-SA 4.0. - </td> - </tr> - </table> -</body> |